1 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3 * text.C (rowBreakPoint): fix breaking before displayed insets
5 2004-03-01 André Pönitz <poenitz@gmx.net>
7 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
9 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
21 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
27 * BufferView_pimpl.C: rename textwidth -> maxwidth,
28 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
30 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
32 * Bidi.[Ch] (computeTables): const correctness
33 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
34 fill_hfill, fill_label_hfill and x from Row
35 * lyxtext.h: prepareToPrint returns a RowMetrics
36 * rowPainter.C: adjust
37 * text.C (prepareToPrint): use width, not textWidth. adjust
38 (redoParagraphInternal, cursorX): adjust
39 * text2.C (getColumnNearX): adjust
40 (init): put a default value to the top LyXText::width
42 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
44 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
46 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
48 * lyxtext.h: add FontIterator class
50 * text.C (FontIterator, operator*, operator->, operator++): add
51 (rowBreakPoint, setRowWidth): adjust (fixing a
54 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
56 * BufferView_pimpl.C (workAreaDispatch): allow also
57 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
59 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
61 * text.C (rowBreakPoint): fix a bug showing with very large insets
63 2004-02-25 André Pönitz <poenitz@gmx.net>
66 * cursor.[Ch]: move some mathed specific code to mathed
68 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
70 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
71 use_tempdir in preferences
72 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
74 * lyx_main.C: ensure that tempdir is valid
75 * lyxlex.h: correct typo
76 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
77 * paragraph.[Ch] (isMultiLingual): make const
78 * cursor.[Ch] (openable): make const
80 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
82 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
84 2004-02-20 André Pönitz <poenitz@gmx.net>
86 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
88 * cursor.[Ch]: prepare for localized getStatus()
94 * text3.C: streamlines the LyXText cursor movement handlers a bit.
96 2004-02-20 André Pönitz <poenitz@gmx.net>
98 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
100 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
102 * text2.C (setCursorFromCoordinates): switch to absolute coords
105 * text3.C (dispatch): adjust
107 2004-02-16 André Pönitz <poenitz@gmx.net>
109 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
112 * cursor_slice.[Ch]: remove unneeded acessor function
114 * lyxtext.h: rename rtl() to isRTL()
122 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
124 * rowpainter.C (paintSelection): coord fix
126 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
128 * Spacing.C: compile fix
130 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
132 * cursor.C (dispatch): restore current_ before returning
134 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
136 * text2.C (cursorUp, cursorDown): fix coords
139 2004-02-12 André Pönitz <poenitz@gmx.net>
144 * text3.C: add LCursor & parameter to most cursor movement functions
145 remove usage of LyXText::cursorRow() and cursorPar()
147 * cursor.[Ch]: add textRow() needed members
150 * BufferView_pimpl.C:
153 * BufferView_pimpl.C: adjust
155 2004-02-11 André Pönitz <poenitz@gmx.net>
159 * BufferView_pimpl.C: shift undo/redo handling
161 * cursor.[Ch]: fix mathed crash
164 * lyxtext.h: move selectionAsText to LCursor
172 * rowpainter.C: fix excessive drawing
174 2004-02-06 André Pönitz <poenitz@gmx.net>
177 * BufferView_pimpl.[Ch]:
178 * text3.C: move some text specific LFUN handling
180 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
182 * text3.C (checkInsetHit): adjust coords
183 * text2.C (getColumnNearX): adjust coords
184 (edit): adjust coords
185 * text.C (getRowNearY): add two asserts
187 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
190 * format.C: add using std::distance to compile on gcc 2.95/stlport
192 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
194 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
196 2004-02-04 André Pönitz <poenitz@gmx.net>
198 * BufferView.[Ch] (insertInset):
199 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
204 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
206 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
207 on the default clause of the switch
208 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
209 wasn't catched by LCursor::dispatch
211 2004-02-03 André Pönitz <poenitz@gmx.net>
214 * cursor.[Ch]: some additional asserts
216 * undo.[Ch]: remove LyXText dependency in interface
220 * lyxtext.h (firstPar, lastPar): remove dead functions
225 * paragraph.[Ch]: adjust
227 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
229 * lyxfind.C (find): fix argument order in call to ::find
231 2004-02-02 André Pönitz <poenitz@gmx.net>
233 * cursor.[Ch]: remove direct access to anchor
235 * text.C: remove findText() hack
237 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
239 * iterators.[Ch] (lockPath): remove in favour of...
240 * BufferView.[Ch] (setCursor): this addition
241 * BufferView.C (putSelectionAt): adjust
242 * undo.C (performUndoOrRedo): adjust
243 * lyxfunc.C (dispatch): adjust
245 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
247 * iterators.C (lockPath): add a missing slice
248 * undo.C (performUndoOrRedo): remove redundant positioning code
250 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
252 * vc-backend.C (scanMaster): ";" -> ';'
254 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
256 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
259 * lyxtextclass.C (compare_name): rename to...
260 (LayoutNamesEqual): ...this
262 * lyxlex_pimpl.C (compare_tags): inherit from
263 std::binary_function, put back into anon namespace
265 * lyxfind.C (MatchString): inherig from std::binary_function
266 (findChange): use empty() istead of !size()
268 * format.C (FormatNamesEqual): new functor
275 * converter.C (compare_Converter): rename to...
276 (ConverterEqual): ...this, and fixup a bit.
277 (getConverter): use it, and make function const
278 (getNumber): use it, and make function const
282 * bufferlist.C: add using boost::bind
284 * MenuBackend.C (MenuNamesEqual): new functor
285 (hasMenu): use it, and make function const
286 (hasSubmenu): use nested bind to get rid of compare_memfun.
288 2004-01-30 André Pönitz <poenitz@gmx.net>
290 * BufferView_pimpl.C:
301 * text3.C: move some of the edit(x,y) handling to the insets
302 some coordinate changes.
304 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
306 * text.C: add using statements for std::advance and std::distance
308 * paragraph.C: add using statement for std::distance
310 * lyxfind.C: add using statement for std::advance
312 * cursor.C (region): remove std:: from swap
313 (openable): use nucleus in stead of operator->
315 * BufferView.C: add using statements for std::distance and std::swap
317 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
319 * iterators.C: Remove the pimple, move the needed structures to
320 the header file. Create accessor for the positions stack.
321 (asPosIterator): remove function
323 * PosIterator.C (PosIterator): move constructors to top of file
324 (PosIterator): reimplement the constructor taking a ParIterator in
326 (setFrom): new function
327 (operator!=): inline it
329 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
331 * lyxfind.C (replaceAll): use std::advance
333 * iterators.h: inherit from std::iterator.
335 * PosIterator.C (advance, distance): remove
336 * PosIterator.h: interit from std::iterator.
338 2004-01-26 André Pönitz <poenitz@gmx.net>
341 * BufferView_pimpl.[Ch]:
345 * bufferview_funcs.C:
356 * output_plaintext.C:
358 * paragraph_funcs.[Ch]:
359 * paragraph_pimpl.[Ch]:
365 * text3.C: more IU: dumps most of the rest of the mathcursor
366 implementation into cursor.[Ch]; "globalize" a bit of it.
368 2004-01-25 Angus Leeming <leeming@lyx.org>
370 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
372 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
374 * LaTeXFeatures.h: add nice_ and nice() const
375 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
377 2004-01-20 André Pönitz <poenitz@gmx.net>
380 * BufferView_pimpl.C:
382 * bufferview_funcs.C:
395 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
396 LCursor and mathcursor parts to LCursor and InsetBase.
398 2004-01-15 André Pönitz <poenitz@gmx.net>
400 * cursor_slice.[Ch]: add a few covienience functions
402 * funcrequest.[Ch]: remove BufferView * member
404 * BufferView_pimpl.C:
411 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
413 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
415 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
416 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
418 2004-01-13 André Pönitz <poenitz@gmx.net>
421 * lyxtext.h: hide cursor and selection anchor behind accessor function
424 * BufferView_pimpl.[Ch]:
426 * bufferview_funcs.C:
436 * cursor_slice.[Ch]: some integer type changes for inset unification
438 * lyxcursor.[hC]: remove, it's CursorSlice now.
441 * BufferView_pimpl.[Ch]:
442 * bufferview_funcs.C:
448 * textcursor.[Ch]: adjust
450 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
452 * text2.C (undoSpan): add and use
453 * text.C (breakParagraph): use undoSpan (fix bug 578)
456 2004-01-08 Angus Leeming <leeming@lyx.org>
458 * BufferView_pimpl.C (MenuInsertLyXFile):
459 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
460 * lyxfunc.C (menuNew, open, doImport):
461 FileFilterList change to the FileDialog open and save functions.
463 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
465 * ShareContainer.h: make isEqual and isUnique adaptable
467 * CutAndPaste.C: make resetOwnerAndChanges adaptable
469 2004-01-07 Angus Leeming <leeming@lyx.org>
472 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
474 * BufferView_pimpl.C (dispatch): act on these LFUNs.
476 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
477 functions replacing find, replace and replaceAll.
479 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
480 LFUN_WORDFIND(FORWARD|BACKWARD).
482 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
484 * text.C (breakParagraph): remove an outdated #warning
486 2004-01-07 André Pönitz <poenitz@gmx.net>
488 * lyxfind.C: somewhat clearer logic
490 * text.C: prevent crash in cursorX on unitialized row cache
492 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
494 * lyxcursor.[Ch] (operator>): add
495 * textcursor.C (selStart, selEnd): use std::min and std::max
497 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
499 * Chktex.C: include boost/format.hpp
501 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
503 * InsetList.C: replace functor MathcIt with adaptable functor
505 (insetIterator): modify accordingly
507 * BranchList.h: move the BranchNamesEqual functor here from...
508 * BranchList.C: ... to here
510 * BranchList.C: new BranchListEqual fuctor, use it. Remove
512 (add): replace a finding loop with std::find_if.
514 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
516 * output_docbook.C: moving LatexParam functionality into
519 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
521 * buffer.C: increment format to 229.
523 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
526 * lyx_sty.[Ch]: remove minipageindent_def
532 * text3.C: remove LFUN_INSET_MINIPAGE
534 2003-12-28 Angus Leeming <leeming@lyx.org>
536 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
538 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
540 * text2.C (setParagraph): fix off-by-one crash
542 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
544 * output_docbook.C: header stuff for AGU
546 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
548 * text2.C (redoCursor): remove
551 * BufferView_pimpl.C: remove calls to redoCursor and
552 setCursor(cursor.par(), cursor.pos()) all around
554 2003-12-15 Angus Leeming <leeming@lyx.org>
556 * buffer.C: up the format to 228.
558 2003-12-15 André Pönitz <poenitz@gmx.net>
560 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
565 * BufferView_pimpl.C:
574 2003-12-15 Angus Leeming <leeming@lyx.org>
576 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
577 than getFromGUIName to manipulate the color.
579 2003-12-14 Angus Leeming <leeming@lyx.org>
581 * BranchList.[Ch]: minimize the API.
582 (Branch::getBranch, getColor): now return a 'const &'.
583 (Branch::setSelected) now returns a bool set to true if the
584 selection status changes.
585 (BranchList::clear, size, getColor, setColor, setSelected,
586 allBranches, allSelected, separator): removed.
587 (BranchList::find): new functions, returning the Branch with
589 (BranchList::add, remove): return a bool indicating that
590 the operation was successful.
592 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
593 new InsetBranch::isBranchSlected member function.
595 * LColor.[Ch]: mimimize the API.
596 (fill): renamed as addColor and made private.
597 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
598 versions of these functions taking a string arg have been removed.
600 * bufferparams.C (readToken):
601 * lyxfunc.C (dispatch):
602 * lyxrc.C (read): changes due to the altered BranchList and
605 * factory.C (createInset, readInset): changes due to altered
608 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
611 * lyxfunc.C: remove insetminipage. "minipage-insert"
612 now produces a frameless minipage box inset.
614 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
616 * textcursor.[Ch] (selStart,selEnd): add new methods
617 remove selection::start, end, use LyXCursor::operator<
618 * lyxcursor.[Ch] (operator<): add
619 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
620 * BufferView.[Ch] (unsetXSel): add
621 * text2.C (clearSelection): use unsetXSel,adjust
624 * rowpainter.C: adjust
625 * bufferview_funcs.C (put_selection_at): adjust
627 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
629 * BufferView_pimpl.C: small coord. correction
631 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
633 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
634 dragging over the splash screen.
636 2003-12-11 Angus Leeming <leeming@lyx.org>
638 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
639 as it is now handled in LyXText::dispatch.
641 * text3.C (doInsertInset): remove a level of nesting.
643 2003-12-11 Angus Leeming <leeming@lyx.org>
645 * factory.C (createInset): changes due to the changed interface to
646 InsetCommandMailer::string2params.
648 2003-12-10 Angus Leeming <leeming@lyx.org>
650 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
651 'dialog-show-new-inset <inset name>'
653 2003-12-10 Angus Leeming <leeming@lyx.org>
655 * buffer.C: up the format to 227.
657 * factory.C: the box inset is now identified simply by 'Box'.
659 2003-12-10 Angus Leeming <leeming@lyx.org>
661 * buffer.C: up the format to 226.
663 * factory.C: the note inset is now identified simply by 'Note'.
665 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
667 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
668 when a pit is enough. Standarize a couple of loops.
670 2003-12-05 Angus Leeming <leeming@lyx.org>
672 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
673 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
674 data to the re-worked "log" dialog.
676 2003-12-03 André Pönitz <poenitz@gmx.net>
684 * text2.C: use Inset::getText instead of Inset::getParagraph
686 2003-12-03 André Pönitz <poenitz@gmx.net>
690 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
691 InsetText::read() as LyXText::read()
693 2003-12-02 Angus Leeming <leeming@lyx.org>
695 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
696 type. Add a comment in the implementation that the function uses
697 the stream's bad() function rather than fail() as the std::streams
700 2003-12-02 André Pönitz <poenitz@gmx.net>
702 * lyxlex.[Ch]: make interface more similar to std::stream
704 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
706 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
708 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
710 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
712 * vspace.[Ch]: remove VSpace::NONE
714 2003-12-01 André Pönitz <poenitz@gmx.net>
717 * lyxtext.h: move ParagraphList member to LyXText
718 rename LyXText::ownerParagraphs to LyXText::paragraph
721 * bufferview_funcs.C:
731 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
733 * undo.C: fix cursor positioning
735 2003-12-01 John Levon <levon@movementarian.org>
737 * BufferView_pimpl.C: fix a crash on exit with
740 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
742 * BranchList.C: fix setSelected() method.
744 2003-11-28 André Pönitz <poenitz@gmx.net>
746 * ParagraphParameters.[Ch]:
747 * ParameterStruct.h: remove space above/below from Paragraph to
750 * BufferView_pimpl.C:
762 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
764 * factory.C: Syntax change for CharStyles
766 2003-11-28 André Pönitz <poenitz@gmx.net>
771 * buffer.[Ch]: move LyXText member
773 2003-11-28 André Pönitz <poenitz@gmx.net>
775 * BufferView.[Ch]: make LyXText * text a private member
777 * BufferView_pimpl.C:
788 * output_plaintext.C: cleanup
790 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
793 * lyxtextclass.[Ch]: parametrize SGML document header
795 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
798 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
801 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
803 * text2.C (setFont): rework using PosIterator (no more recursive)
804 (setCharFont): no more needed
805 (setLayout): no more selection cursors fiddling (done by redoCursor)
806 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
807 destroy remaining ones)
809 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
811 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
813 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
816 * text3.C: adjust + re-allow multi par depth changes
817 * textcursor.C: simplify a bit
819 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
825 * src/output_docbook.C:
826 * src/output_latex.C:
831 * src/text2.C: Introducing a number of tags parametrizing various
832 XML formats that we may want to support
834 2003-11-25 André Pönitz <poenitz@gmx.net>
836 * InsetList.[Ch] (begein, end): inline as suggested by profiler
838 * lyxtext.h (leftMargin/rightMargin): simplify interface
845 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
847 * lyxfunc.C (dispatch): propogate the bibtex databases from the
848 master file to any child files. Fixes bug 546.
850 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
852 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
854 2003-11-24 André Pönitz <poenitz@gmx.net>
856 * rowpainter.C: simplification
858 * text2.C (updateCounters): remove call to redoParagraph on
859 changed labels as this is far too expensive.
861 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
863 * converter.C (convert): fix a crash: this function gets
864 called with buffer == 0 from importer code.
866 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
868 * text3.C (cursorPrevious): make sure that we do not compare
869 iterators form different containers.
872 * rowpainter.C (paintSelection): make sure that we do not compare
873 iterators from different containers.
875 * text3.C (dispatch): [PRIOR] make sure that we do not compare
876 iterators from different ParagraphList containers.
879 * text2.C (LyXText): change order of initialization slightly
880 (operator=): new function. copy all variables except cache_par_
881 (moveUp): make sure that we do not compare iterators from
882 different ParagraphList constainers.
885 * text.C (firstPar): new function
886 (lastPar): new function
887 (endPar): new function
889 * lyxtext.h: move things around and group public functions, public
890 variables, private functions, private variables
892 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
894 * factory.C: change call to InsetERT constructor to avoid
895 additional invocation of method status
896 * text2.C (toggleInset): remove redundant update() call
897 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
898 instead of a Bufferview pointer
900 2003-11-21 André Pönitz <poenitz@gmx.net>
902 * rowpainter.C: simplification
904 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
906 * text3.C (dispatch): make possible to extend a word/row selection
909 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
911 * lyxtext.h: x0_,y0_ -> xo_,yo_
912 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
913 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
914 * rowpainter.C (paintRows): paint full paragraphs
916 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
918 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
921 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
923 * lyxtext.h: add x0_, y0_
924 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
925 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
927 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
929 * text2.C (setCursorIntern): move the x_target update here *
930 * text3.C: change some bv() to true/false in calls to
931 cursorUp/Down/Right/Left
932 * cursor.C: use helper function.
934 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
936 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
937 * paragraph_funcs.[Ch]: correct comment
938 * rowpainter.C: do not paint selections away from bv->cursor()
939 Fix a long standing selection painting bug.
940 * text3.C: generalize mouse-selection code to LyXTexts other that
942 * textcursor.C: do not use y coords if we can use par offsets
944 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
946 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
947 cursor position after e.g. inset insert)
949 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
951 * lyxfind.C (replace): adjust to locking removal + some
954 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
956 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
959 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
962 * output_docbook.C: XML sanitation: new layout
963 parameters InnerTag and CommandDepth
965 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
967 * BufferView_pimpl.C:
969 * text3.C: Fix the insertion and modification of button-style
972 2003-11-13 André Pönitz <poenitz@gmx.net>
974 * InsetList.[Ch]: remove deleteLyXText
976 * paragraph.[Ch]: cache beginOfBody position
981 * text3.C: remove superfluous update() calls
985 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
987 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
988 * BufferView.C (fitLockedInsetCursor): remove
989 * cursor.[Ch] (getDim): add
990 * text.C (getRowNearY): add faster version
991 * text3.C: remove some update calls
993 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1005 * text3.C: The Character Style /XML short element patch.
1007 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1010 * factory.C: Small step to solving 'unable to insert some insets'
1013 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1015 * cursor.[Ch] (updatePos): new function for updating the y
1016 position of the tip inset
1017 * bufferview_funcs.C (put_selection_at):
1018 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1020 2003-11-11 André Pönitz <poenitz@gmx.net>
1022 * text.C: remove big comment on invalid Paragraph pointers as it is
1025 2003-11-11 André Pönitz <poenitz@gmx.net>
1027 * text_funcs.[Ch]: merge with ...
1035 * Makefile.am: remove text_funcs.[Ch]
1037 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1039 * cursor.C (getPos): return absolute cached y coord
1041 * BufferView_pimpl.C (fitCursor): new simplistic code
1042 (workAreaDispatch): add a fitCursor call
1044 2003-11-10 André Pönitz <poenitz@gmx.net>
1047 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1049 2003-11-10 André Pönitz <poenitz@gmx.net>
1051 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1052 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1053 indicate that the cursor needs to leave an inset
1055 * lyxtext.h: remove inset locking
1057 * cursor.[Ch]: re-implement functionality provided by inset locking
1060 * BufferView_pimpl.[Ch]:
1062 * bufferview_funcs.[Ch]:
1074 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1076 * PosIterator.[Ch]: replace the stack with a vector, add inset
1078 * iterators.[C]: adjust
1080 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1082 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1084 * paragraph_funcs.C (readParToken): put the correct id in the
1085 error item, not the id of the top paragraph
1087 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1089 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1090 * bufferview_funcs.C (put_selection_at): use the above
1092 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1094 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1096 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1098 * output_linuxdoc.h:
1099 * output_plaintext.h:
1101 * output_docbook.h: add #include statements
1103 2003-11-05 José Matos <jamatos@lyx.org>
1105 * output_docbook.[Ch]:
1106 * output_latex.[Ch]:
1107 * output_linuxdoc.[Ch]:
1108 * output_plaintext.[Ch]: New files for output formats.
1109 * output.[Ch]: New file for helper functions.
1112 * paragraph_funcs.[Ch]: output functions moved to new files.
1114 * outputparams.h: rename of latexrunparams.h
1122 * paragraph_funcs.[Ch]:
1123 * paragraph_pimpl.[Ch]:
1124 * tabular.[Ch]: rename ascii to plaintext
1125 and LatexRunParams to OutputParams.
1127 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1129 * iterators.[Ch] (text): require bv argument
1130 * undo.C (recordUndo):
1131 * lyxfunc.C (dispatch):
1132 * bufferview_funcs.C (put_selection_at): adjust
1134 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1136 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1138 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1140 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1143 2003-11-04 André Pönitz <poenitz@gmx.net>
1145 * cursor.[Ch]: restructure
1148 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1150 * iterators.[Ch] (asCursor): remove
1152 * lfuns.h: remove LFUN_INSET_EDIT
1158 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1160 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1162 * lyxfind.[Ch]: complete overhaul
1163 * BufferView_pimpl.C:
1165 * paragraph.[Ch] (insert): add
1167 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1171 * text.C: remove dead spellcheck code
1173 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1175 * dispatchresult.h: add a val setter
1177 * cursor.C (dispatch): use a tempvar for data_[i]
1179 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1181 * PosIterator.[Ch]: compile fix
1183 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1185 * text.C (cursorPar): deactivate the cursor cache
1187 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1189 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1191 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1193 * text3.C (dispatch): adjust for new DisptchResult semantics.
1195 * lyxfunc.C (dispatch): handle update when return from
1196 Cursor::dispatch, adjust for new DispatchResult semantics.
1198 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1199 DispatchResult(true) mean to not update. Add class functions for
1200 setting dispatched and update, as well as reading.
1202 * cursor.C (dispatch): don't handle update here
1204 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1206 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1207 * trans_mgr.C: adjust
1209 * paragraph_funcs.C (readParToken): exception safety
1211 * lyxvc.h: store the vcs pointer in a scoped_ptr
1214 * lyxsocket.C (serverCallback): exception safety
1216 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1218 * ispell.C (clone): make it return a auto_ptr
1220 * factory.C (createInset): exception safety
1221 (readInset): exception safety
1223 * bufferlist.C (newBuffer): exception safety
1225 * Thesaurus.C (Thesaurus): use initialization for aik_
1227 * MenuBackend.C (expandToc): exception safety.
1229 2003-11-03 André Pönitz <poenitz@gmx.net>
1233 * bufferview_funcs.C: remove getInsetFromId()
1236 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1242 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1244 * PosIterator.C (distance, advance): new
1245 * bufferview_funcs.[Ch] (put_selection_at): new
1246 * iterators.[Ch] (lockPath): new
1248 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1250 * iterators.[Ch] (asPosIterator): added
1251 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1252 * PosIterator.[Ch]: added
1254 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1258 * cursor.C (dispatch):
1259 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1261 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1262 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1263 contructor, add a class function dispatched. Remove operator>=
1265 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1267 * debug.C: only use the default constructor for debugstream
1270 * main.C (main): include debug.h and setup the lyxerr streambuf
1273 2003-10-31 José Matos <jamatos@lyx.org>
1275 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1277 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1278 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1279 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1280 * paragraph_pimpl.C (simpleTeXSpecialC):
1281 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1282 add LatexRunParams argument.
1284 * exporter.C (Export): change call accordingly.
1286 * latexrunparams.h: add new member to take care of the other backends.
1287 2003-10-30 José Matos <jamatos@lyx.org>
1289 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1290 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1291 factorise code for paragraph output.
1293 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1296 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1298 * text3.C (dispatch):
1299 * lyxfunc.C (dispatch):
1300 * cursor.C (dispatch):
1301 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1303 * dispatchresult.h: make the dispatch_result_t ctor explicit
1305 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1308 * buffer.C: small refactoring of docbook stuff
1310 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1312 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1315 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1317 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1318 operator dispatch_result_t, and operators for == != and >=
1320 * cursor.C (dispatch): adjust for operator dispatch_result_t
1321 removal. comment out call to update
1323 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1325 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1333 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1336 * dispatchresult.h: new file, DispatchResult broken out of
1339 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1341 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1343 * text.C (rowBreakPoint): put a hack inside #if 0
1345 2003-10-28 André Pönitz <poenitz@gmx.net>
1349 * paragraph_funcs.C:
1352 * text2.C: general cleanup (lots of small stuff)
1354 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1356 * text2.C (cursorEnd): simple fix to the "end key goes to one
1357 before the end on last row" bug
1359 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1361 * text.C (backspace): fix the "zombie characters"
1363 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1365 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1367 2003-10-27 André Pönitz <poenitz@gmx.net>
1369 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1371 * factory.C: handle new InsetPagebreak, InsetLine
1373 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1374 and move handling into new InsetPagebreak, InsetLine
1376 * BufferView_pimpl.C:
1378 * ParagraphParameters.C:
1379 * ParameterStruct.h:
1384 * paragraph_funcs.C:
1385 * paragraph_pimpl.C:
1391 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1394 * lyxrow_funcs.[Ch]:
1400 * text3.C: remove lastPos uses in favour of Row::endpos
1402 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1404 * undo.C (performUndoOrRedo): fix two crashes by setting a
1405 cursor by hand and reordering some calls. Use bv->lockInset instead
1406 of inset->edit because the latter loses cursor information
1408 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1410 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1412 (rowBreakPoint): fix width. change point to point + 1.
1413 Add a missing check.
1415 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1418 * lyxfunc.C: fix (at least partly) the problems
1419 with the Nav menu and headers inside branch insets
1422 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1424 * paragraph.C (getChar): add strong asserts
1426 * lyxrow_funcs.C (lastPos): remove hideous hack
1428 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1429 (fill): adjust to that (avoid an infinite loop)
1431 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1433 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1435 2003-10-23 André Pönitz <poenitz@gmx.net>
1437 * RowList_fwd.h: change list<> to vector<> to gain speed
1438 after suggestion from Alfredo
1440 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1442 * lyxtext.h: move the bidi stuff from here...
1445 * Bidi.[Ch]: ... to here
1447 2003-10-23 André Pönitz <poenitz@gmx.net>
1450 * text.C (isLastRow, isFirstRow): new functions
1452 * paragraph.h: new width cache member
1454 * rowpainter.C: replace RowList::iterator with Row & where possible
1456 * lyxfunc.C: replace several view()->text with a single call
1458 * toc.C: fix 'unused' warning
1460 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1462 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1463 when woring with stream::pos_type
1464 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1466 2003-10-22 André Pönitz <poenitz@gmx.net>
1469 * text.C: use Row & instead of RowList::iterator
1471 * lyxrow.h: rename end() to endpos()
1477 2003-10-22 Angus Leeming <leeming@lyx.org>
1479 * buffer.[Ch] (fully_loaded): new member function, returning true
1480 only when the file has been loaded fully.
1481 Used to prevent the premature generation of previews and by the
1482 citation inset to prevent computation of the natbib-style label.
1484 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1485 templates are all set up.
1487 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1489 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1491 * text.C: fixed an "oops" in the "is a bit silly"
1494 2003-10-21 André Pönitz <poenitz@gmx.net>
1496 * FuncStatus.[Ch]: small stuff, whitespace
1498 * lyxfont.[Ch]: operator<<() for debug reasons
1502 * lyxtext.h: whitespace, spelling
1504 * paragraph.C: naming of variables
1507 * text2.C: small stuff
1510 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1512 * text.C: (1) finish off the inset display() work;
1513 (2) fix the "is a bit silly" bug (accessing char
1516 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1518 * text.C: re-introduce display() for insets, fixing the
1519 various bugs (stretch of line above, math inset
1522 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1524 * text.C (rightMargin): remove spurious semicolon
1526 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1529 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1531 * text3.C: fix one crash due to wrong cursor def
1533 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1535 * vc-backend.C (scanMaster): make the regex static
1537 * LaTeX.C (scanAuxFile): make the regexs static
1539 * text3.C (doInsertInset, dispatch, dispatch):
1540 * text2.C (cursorUp, cursorDown):
1541 * text.C (selectNextWordToSpellcheck):
1542 * BufferView_pimpl.C (dispatch):
1543 * lyxfunc.C (dispatch): localDispatch -> dispatch
1545 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1547 * lyxsocket.C: include <cerrno>
1549 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1551 * lyxfunc.C (dispatch): remove textcache stuff
1553 * bufferlist.C (release): remove textcache stuff
1556 * TextCache.C: delete file
1557 * TextCache.h: delete file
1559 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1561 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1562 delete of the bv_->text.
1563 (resizeCurrentBuffer): remove texcache stuff
1564 (workAreaResize): ditto
1566 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1568 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1571 2003-10-16 André Pönitz <poenitz@gmx.net>
1578 * text3.C: speed up by storing y positions per paragraph plus per-row
1579 offset instead of having a 'full' y position in the row.
1581 2003-10-15 André Pönitz <poenitz@gmx.net>
1585 * undo.[Ch]: make undo aware of inner insets
1587 2003-10-14 Angus Leeming <leeming@lyx.org>
1589 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1590 static member functions LyX::ref() and LyX::cref.
1591 (lastfiles): new accessor functions for the new lastfiles_ member var.
1592 (addLyXView, views_): add a new LyXView to the list of views_.
1593 (updateInset): loop over all LyXViews to call their own updateInset
1594 member function, returning a pointer to the Buffer owning the inset.
1596 * BufferView_pimpl.C (loadLyXFile):
1597 * MenuBackend.C (expandLastfiles):
1598 * bufferlist.C (MenuWrite, QuitLyX):
1599 lastfiles is no longer a global variable.
1600 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1602 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1603 static function. Access through LyX::cref().emergencyCleanup().
1605 2003-10-14 André Pönitz <poenitz@gmx.net>
1607 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1609 * undo.[Ch]: restoring part of 'undo in insets'
1612 * undo_funcs.[Ch]: merge with undo.[Ch]
1614 * tabular.C: small cleansing stuff
1616 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1618 * paragraph_funcs.C (readParToken): report unknown insets as error
1619 boxes. Use the outer paragraph as location (also for unknown
1622 * factory.C (readInset): do not abort on reading an unknown inset.
1623 Eat it and return 0.
1625 2003-10-13 Angus Leeming <leeming@lyx.org>
1627 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1629 * lyxrc.C: displayTranslator is now a function,
1630 declared in GraphicsTypes.h.
1632 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1634 * format.C: new placeholder $$a to pass the socket address.
1636 * bufferlist.[Ch]: new function getBufferFromTmp.
1638 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1639 files in the temporary dir.
1641 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1643 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1645 * Makefile.am: add lyxsocket.[Ch].
1647 * lyx_main.C (error_handler): handle SIGPIPE.
1649 2003-10-13 André Pönitz <poenitz@gmx.net>
1651 * BufferView_pimpl.C:
1656 * undo_funcs.[Ch]: use paroffset_type instead of
1657 ParagraphList::iterators to prevent multiple conversion
1658 (and get a more robust interface)
1660 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1662 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1664 * text3.C (dispatch): ditto
1666 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1668 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1669 move the onlyfile, use onlyfile instead of foundfile in a couple
1672 * DepTable.C (update): flush the error stream a bit more
1674 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1676 * lyxserver.C (callback): adjust
1678 * lyxfunc.C (getStatus): add a missing brace in commented code
1679 (ensureBufferClean): reindent
1680 (dispatch): delete version taking a string
1682 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1684 * LaTeX.C (deplog): move found file handlig from here...
1685 (handleFoundFile): .. to new function here.
1686 (deplog): make sure to discover several files mentioned on the
1689 2003-10-10 André Pönitz <poenitz@gmx.net>
1696 * text3.C: fix some of the tabular crashes
1698 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1700 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1702 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1704 2003-10-09 André Pönitz <poenitz@gmx.net>
1706 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1709 * BufferView_pimpl.C:
1710 * bufferview_funcs.C:
1721 * undo_funcs.C: adjust
1723 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1725 * text2.C (incrementItemDepth): new function, use a backtracking
1726 algorithm to discover the correct item depth.
1727 (resetEnumCounterIfNeeded): new function, use a backtracking
1728 algorithm to discover if counter reset is needed.
1729 (setCounter): use them. Simplify a bit. Add different labels for
1730 different item depths for itemize.
1732 * paragraph.C (Paragraph): remove initialization of enumdepth
1735 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1736 enumerate and itemize. Change the type of itemdepth to signed char.
1738 2003-10-08 André Pönitz <poenitz@gmx.net>
1740 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1745 * tabular.[Ch]: fix crash after 'row-insert'
1747 2003-10-08 Angus Leeming <leeming@lyx.org>
1749 Fix doxygen warnings.
1751 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1752 Remove CutAndPaste:: prefix from header file declaration.
1754 * LColor.h (fill): remove LColor:: prefix from declaration.
1756 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1757 use lyx::depth_type rather than Paragraph::depth_type so that
1758 header file and .C file match.
1760 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1762 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1763 * aspell.C: \file aspell_local.C -> \file aspell.C
1764 * gettext.C: \file gettext.C -> \file src/gettext.C
1765 * gettext.h: \file gettext.h -> \file src/gettext.h
1766 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1767 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1768 * text.C: \file text.C -> \file src/text.C
1770 * toc.C: move comment so that doxygen is not confused.
1772 2003-10-07 Angus Leeming <leeming@lyx.org>
1774 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1776 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1779 * aspell_local.h: add forgotten std::string's.
1781 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1788 * text3.C: The Box patch. Fancybox support, minipage, parbox
1790 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1796 * ParagraphParameters.h:
1806 * lyxtextclasslist.h:
1809 * paragraph_pimpl.C:
1810 * textcursor.h: add <string> and other small fixes to make Lars'
1811 std::string patch compile with STLport.
1813 2003-10-06 Angus Leeming <leeming@lyx.org>
1815 * LColor.h: Add missing #include <string>.
1817 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1819 * All most all file in all subdirs: Make <string> be the prefered
1820 way of getting to std::string, add using declarations.
1822 2003-10-06 André Pönitz <poenitz@gmx.net>
1824 * metricsinfo.C: initialize LyXFont before changing attribute.
1825 (fixes the 'math in \emph is upright' bug)
1827 2003-10-06 André Pönitz <poenitz@gmx.net>
1829 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1831 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1834 * paragraph_pimpl.C: Small fixes to build using STLport
1836 2003-10-02 André Pönitz <poenitz@gmx.net>
1839 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1841 2003-10-01 André Pönitz <poenitz@gmx.net>
1843 * factory.C: assert early
1845 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1847 * lyx_main.C: remove the global debug object
1849 * debug.h: adjust for new debugstream
1851 * debug.C: adjust for new debugstream and keep the global debug
1854 2003-09-22 Angus Leeming <leeming@lyx.org>
1856 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1857 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1858 an incomplete class LyXFont.
1860 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1862 * factory.C: bug fix in branches
1864 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1866 * lyxfunc.C (processKeySym): adjust
1868 (dispatch): change arg name from ev to func, adjust
1869 (sendDispatchMessage): ditto
1871 * lyx_main.C (defaultKeyBindings): adjust keybindings
1872 (deadKeyBindings): ditto
1874 * kbsequence.C (addkey): return a FuncRequest
1876 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1878 * kbmap.C (bind): take a FuncRequest as arg, adjust
1881 (defkey): change to take a FuncRequest as arg, adjust
1882 (findbinding): take a FuncRequest as arg, adjust.
1884 * funcrequest.h (operator=): added
1886 * funcrequest.C (FuncRequest): default kb_action changed from
1887 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1889 * buffer.C (dispatch): simplify
1890 (dispatch): adjust to take a FuncRequest as arg, adjust
1892 * boost.C (assertion_failed): change assertion message slightly
1894 * ToolbarBackend.C (read): simplify
1896 * MenuBackend.C (binding): adjust call to findbinding, add a
1897 message if no binding is found.
1899 (expandToc): correct by adding a empty FuncRequest
1901 * LyXAction.C: include <boost/assert.hpp>
1902 (isPseudoAction): delete function
1903 (LookupFunc): change name to...
1904 (lookupFunc): this. change return type to FuncRequest.
1905 (getActionName): take kb_action as arg, simplify
1906 (funcHasFlag): add an assert, simplify.
1908 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1910 * toc.C (action): return a FuncRequest, simplify
1912 * lyxfunc.C (processKeySym): adjust
1913 (getStatus): delete version that takes an int.
1915 (dispatch): delete version that takes action as int
1917 (sendDispatchMessage): simplify and adjust
1919 * funcrequest.C (getArg): take unsigned int as arg
1921 * ToolbarBackend.C (read): adjust
1922 (add): delete version that takes func as a string.
1923 (getIton): take a FuncRequest as arg
1925 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1928 * MenuBackend.C (MenuItem): add a new construct that only takes a
1929 Kind, simplify the constructor use for submenus.
1931 (expandLastfiles): adjust
1932 (expandDocuments): adjust
1933 (expandFormats): adjust
1934 (expandFloatListInsert): adjust
1935 (expandFloatInsert): adjust
1936 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1938 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1939 Remove class variables lyx_pseudo_map and lyx_arg_map
1941 * LyXAction.C (searchActionArg): delete function
1942 (getPseudoAction): delete function
1943 (retrieveActionArg): delete function
1944 (LookupFunc): make it return kb_action, simplify.
1945 (getActionName): simplify
1947 * factory.C (createInset): fix new bug
1949 2003-09-19 Angus Leeming <leeming@lyx.org>
1951 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1952 masterFilename_ parameter in the include inset.
1954 * factory.C (createInset): changes due to the changes to InsetInclude.
1956 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1958 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1960 2003-09-18 Angus Leeming <leeming@lyx.org>
1963 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1964 Inset::fillWithBibKeys.
1965 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1967 2003-09-18 Angus Leeming <leeming@lyx.org>
1969 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1971 (ctor): pass and store a 'Buffer const &'
1972 (buffer): new member function.
1974 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1975 '*this' to the LaTeXFeatures ctor.
1977 2003-09-18 Angus Leeming <leeming@lyx.org>
1983 * text.C: rename EnumLColor as LColor_color.
1985 2003-09-18 Angus Leeming <leeming@lyx.org>
1987 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1988 remove #include "insets/insetbase.h" from cursor.h.
1990 2003-09-18 Angus Leeming <leeming@lyx.org>
1992 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1993 InsetOld_code to remove #include "inset.h".
1995 * iterators.C: add #include "insets/inset.h"
1997 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1999 * BufferView.C: remove more locking stuff that apparently doesn't
2000 do anything sensible.
2002 2003-09-16 André Pönitz <poenitz@gmx.net>
2005 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2008 2003-09-16 Angus Leeming <leeming@lyx.org>
2010 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2012 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2015 * paragraph.h: remove #include "lyxfont.h". Forward declare
2018 2003-09-16 Angus Leeming <leeming@lyx.org>
2020 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2021 of support/textutils.h.
2022 (isWord): move the contents of support/textutils.h's IsWordChar here.
2028 * text2.C: add #include "paragraph.h".
2031 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2033 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2039 * LaTeX.C: use namespace alias for lyx::support::os
2041 2003-09-16 Angus Leeming <leeming@lyx.org>
2044 * bufferview_funcs.C:
2047 * paragraph_pimpl.C:
2049 * text.C: add #include "LColor.h".
2051 2003-09-16 Angus Leeming <leeming@lyx.org>
2053 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2054 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2056 Store the FontBits::color variable as an int rather than as an
2057 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2060 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2061 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2062 string calls together.
2064 * lyxrc.C: add #include "LColor.h".
2066 2003-09-15 Angus Leeming <leeming@lyx.org>
2068 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2071 2003-09-15 Angus Leeming <leeming@lyx.org>
2073 * LColor.h: add an EnumLColor wrapper for LColor::color.
2075 * lyxfont.[Ch] (color, setColor, realColor):
2076 * lyxtext.h, text.C (backgroundColor):
2077 pass EnumLColor args to/from the functions, rather than LColor::color
2081 * lyxtext.h: forward declare EnumLColor.
2083 * lyx_main.C: add #include "LColor.h".
2085 2003-09-15 Angus Leeming <leeming@lyx.org>
2087 * .cvsignore: add lyx-gtk.
2089 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2094 * ParagraphParameters.C
2098 * bufferview_funcs.C
2108 * vc-backend.C: remove usage of STRCONV
2110 2003-09-15 Angus Leeming <leeming@lyx.org>
2112 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2113 explicitly define the color passed to the painter.
2115 2003-09-15 Angus Leeming <leeming@lyx.org>
2117 * bufferparams.C (BufferParams): reorder member initializers to avoid
2120 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2122 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2123 * text.C (updateRowPositions): remove an unusual nop
2125 2003-09-12 André Pönitz <poenitz@gmx.net>
2127 * BufferView_pimpl.C:
2136 * Counters.[Ch]: finish the 'automatic counters' job
2138 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2140 * aspell.C: include <boost/assert.cpp> (compile fix)
2142 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2144 * boost.C (assertion_failed): use lyx::support::abort instead of
2147 2003-09-10 Angus Leeming <leeming@lyx.org>
2149 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2150 with their _fwd progeny.
2152 2003-09-09 Angus Leeming <leeming@lyx.org>
2154 134 files throughtout the source tree: replace 'using namespace abc;'
2155 directives with the appropriate 'using abc::xyz;' declarations.
2157 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2159 * boost.C (emergencyCleanup): moved here from LAssert.c
2160 (assertion_failed): new function, called by BOOST_ASSERT
2162 * several files: change Assert to BOOST_ASSERT
2164 2003-09-09 Angus Leeming <leeming@lyx.org>
2166 * buffer.[Ch]: Add an Impl class and move Buffer's member
2167 variables into it. As a result move several header files out of
2170 Add header files to lots of .C files all over the tree as a result.
2172 2003-09-09 Angus Leeming <leeming@lyx.org>
2174 * buffer.[Ch]: make Buffer's member variables private. Add
2177 Lots of changes all over the tree as a result.
2179 2003-09-08 Angus Leeming <leeming@lyx.org>
2181 * graph.C: #include <config.h>.
2183 2003-09-08 Angus Leeming <leeming@lyx.org>
2187 * BufferView_pimpl.C:
2216 * toc.C: remove redundant using directives.
2218 2003-09-07 Angus Leeming <leeming@lyx.org>
2220 * LaTeXFeatures.h: remove #include "support/types.h".
2221 * ToolbarBackend.h: remove #include <algorithm>.
2222 * changes.h: remove #include <ctime>.
2223 * debug.h: remove #include <iosfwd>.
2224 * graph.h: remove #include "support/std_string.h".
2225 * lyx_main.h: remove #include <csignal>.
2226 * lyxlex_pimpl.h: remove #include <fstream>.
2227 * sgml.h: remove #include <algorithm>, <utility>.
2228 * toc.h: remove #include "support/std_ostream.h".
2229 Add #include <iosfwd>.
2231 2003-09-07 Angus Leeming <leeming@lyx.org>
2233 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2235 * converter.h: forward declare LatexRunParams.
2236 * encoding.h: remove #include "lyxrc.h".
2237 * lyxtext.h: remove #include "LColor.h".
2238 * lyxtextclass.h: remove #include "support/types.h".
2239 * trans.h: remove #include "tex-accent.h".
2240 * trans_mgr.h: remove #include "tex-accent.h".
2241 * insets/inset.h: remove #include "support/types.h", <vector>.
2242 * insets/insetcollapsable.h: remove #include "LColor.h".
2243 * insets/insetinclude.h: remove #include "dimension.h".
2244 * insets/insetlatexaccent.h: remove #include "dimension.h".
2245 * insets/insetoptarg.h:: remove #include "insettext.h".
2246 * insets/insettext.h: remove #include "dimension.h",
2247 <boost/shared_ptr.hpp>
2249 * insets/renderers.h: add #include "dimension.h".
2250 * insets/updatableinset.h: add #include "support/types.h".
2252 * many .C files: Associated changes.
2254 2003-09-06 Angus Leeming <leeming@lyx.org>
2256 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2257 one, inside testInvariant.
2259 * PrinterParams.C: new file.
2260 * PrinterParams.[Ch]: move the function bodies out of line.
2262 2003-09-06 Angus Leeming <leeming@lyx.org>
2264 * ParagraphParameters.h: forward declare ParameterStruct rather than
2265 including its header file.
2266 (depth): moved out-of-line.
2268 2003-09-06 Angus Leeming <leeming@lyx.org>
2270 * BufferView_pimpl.h:
2273 * lyxfunc.h: forward declare LyXKeySym rather than
2274 #include "frontends/LyXKeySym.h".
2276 * BufferView_pimpl.C:
2279 * lyxfunc.C: associated changes.
2281 2003-09-06 Angus Leeming <leeming@lyx.org>
2283 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2284 As a result, can remove the #include "insets/inset.h" from BufferView.h
2286 2003-09-06 Angus Leeming <leeming@lyx.org>
2288 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2289 As a result, can remove the #include "insets/inset.h" from BufferView.h
2291 2003-09-06 Angus Leeming <leeming@lyx.org>
2297 * bufferview_funcs.C:
2298 * BufferView_pimpl.C:
2303 * ParagraphParameters.C:
2308 * frontends/controllers/ControlDocument.C:
2309 * insets/insetcaption.C: rearrange the #includes into some sort of
2312 * buffer.h: remove #includes ErrorList.h, undo.h
2314 2003-09-06 Angus Leeming <leeming@lyx.org>
2316 * support/types.h: add a 'depth_type' typedef, used to store the
2317 nesting depth of a paragraph.
2320 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2321 defining explicitly.
2324 * paragraph_funcs.h:
2325 * ParagraphParameters.h:
2326 * sgml.h: use lyx::depth_type rather than Paragraph or
2327 ParameterStruct's depth_type.
2330 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2333 * BufferView_pimpl.C:
2335 * ParagraphParameters.C:
2338 * bufferview_funcs.C:
2345 * frontends/LyXView.C:
2346 * frontends/controllers/ControlDocument.C:
2347 * frontends/controllers/ControlErrorList.C:
2348 * insets/insetbibitem.C:
2349 * insets/insetbranch.C:
2350 * insets/insetcaption.C:
2351 * insets/insetcollapsable.C:
2352 * insets/insetenv.C:
2353 * insets/insetert.C:
2354 * insets/insetfloat.C:
2355 * insets/insetfoot.C:
2356 * insets/insetfootlike.C:
2357 * insets/insetnewline.C:
2358 * insets/insetquotes.C:
2359 * insets/insettabular.C:
2360 * insets/insettext.C:
2361 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2363 * frontends/controllers/ControlChanges.C: #include "changes.h".
2365 2003-09-06 Angus Leeming <leeming@lyx.org>
2367 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2368 than #including paragraph.h.
2371 * RowList.h: deleted. Superfluous.
2381 * insets/insettext.h: use ParagraphList_fwd.h rather than
2384 * paragraph.h: don't forward declare ParagraphList.
2387 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2388 rather than ParagraphList.h. paragraph.h is still needed for the
2389 Paragraph::depth_type parameters.
2391 * textcursor.h: enable it to compile stand-alone in light of the
2394 * bufferview_funcs.C:
2406 * frontends/controllers/ControlParagraph.C:
2407 * frontends/controllers/ControlTabular.C:
2408 * insets/insetmarginal.C:
2409 * insets/insetminipage.C:
2410 * insets/insetnote.C:
2411 * insets/insetoptarg.C: add header files needed to compile again.
2413 2003-09-06 Angus Leeming <leeming@lyx.org>
2415 * RowList_fwd.h: new file, forward-declaring Row rather than
2416 #including lyxrow.h.
2421 * insets/insettext.h: use it instead of RowList.h
2423 * bufferview_funcs.C:
2430 * text3.C: #include "RowList.h".
2432 2003-09-05 Angus Leeming <leeming@lyx.org>
2434 * factory.C (createInset):
2435 * vspace.C (c-tor): replace sscanf call with an istringstream.
2436 * ispell.C: re-add missing HP/UX headers.
2437 * lyxserver.C: re-add missing os2 headers.
2439 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2448 * text3.C: re-add missing system headers, needed for 2.95.2.
2450 2003-09-05 Angus Leeming <leeming@lyx.org>
2452 Changes most place everywhere due to the removal of using directives
2453 from support/std_sstream.h.
2455 2003-09-05 Angus Leeming <leeming@lyx.org>
2457 Replace LString.h with support/std_string.h,
2458 Lsstream.h with support/std_sstream.h,
2459 support/LIstream.h with support/std_istream.h,
2460 support/LOstream.h with support/std_ostream.h.
2462 Changes resulting throughout the tree.
2464 2003-09-05 Angus Leeming <leeming@lyx.org>
2466 * sgml.h: ensure that the header file can be compiled stand-alone.
2467 * *.C: strip out redundant #includes. (320 in total.)
2469 2003-09-04 Angus Leeming <leeming@lyx.org>
2471 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2472 here (from getPackages).
2474 * debug.[Ch]: add a new EXTERNAL tag.
2476 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2478 * text2.C (cursorEnd): simplify
2480 (getColumnNearX): adjust
2482 * text.C (computeBidiTables): adjust
2485 * rowpainter.C (paintChars): adjust
2486 (paintSelection): adjust
2487 (paintChangeBar): adjust
2490 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2492 (numberOfSeparators): adjust
2494 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2500 * text3.C: Restricts the mouse click functionality
2501 of insets like bibtex, include, toc and floatlist to the visible
2502 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2503 up the dialogs. Cursor has to be in front of the inset (i.e.
2504 start of row) for this to function.
2506 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2508 * bufferview_funcs.C (currentState): output row information
2510 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2512 * bufferview_funcs.C (currentState): output paragraph position
2514 2003-09-04 Angus Leeming <leeming@lyx.org>
2516 * FloatList.h: move out #include "Floating.h".
2517 * LaTeX.h: move out #include "DepTable.h".
2518 * LyXAction.h: move out #include "funcrequest.h".
2519 * buffer.h: move out #include "author.h", "iterators.h".
2520 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2521 * lyx_main.h: move out #include "errorlist.h".
2522 * lyxfunc.h: move out #include "FuncStatus.h".
2523 * lyxtext: move out #include "lyxcursor.h".
2524 * paragraph_pimpl.h: move out #include "counters.h".
2526 2003-09-03 Angus Leeming <leeming@lyx.org>
2528 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2529 preamble_snippets list, enabling us to add snippets to the preamble
2530 only if the snippet was not there already.
2532 2003-09-04 Angus Leeming <leeming@lyx.org>
2534 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2536 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2538 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2541 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2543 * BranchList.C: point fix, earlier forgotten
2545 2003-09-02 Angus Leeming <leeming@lyx.org>
2547 * box.C (contains): renamed from 'contained' after a fantastic
2550 2003-09-02 John Levon <levon@movementarian.org>
2556 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2558 2003-09-02 John Levon <levon@movementarian.org>
2560 * text2.C: simplification of cursorEnd(), including partial
2563 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2565 * buffer.C (readFile): add a space
2567 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2569 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2571 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2573 * buffer.C (readFile): new function, take a filename and a
2574 ParagraphList::iterator
2576 (readFile): adjust, make it private. don't use setStream, make
2577 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2578 always contain the filename.
2580 * BufferView.C (insertLyXFile): simplify and make it work for
2583 2003-08-30 John Levon <levon@movementarian.org>
2585 * Makefile.am: fix dist (from Kayvan)
2587 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2589 * most files: change to use const Buffer refs
2591 2003-08-27 André Pönitz <poenitz@gmx.net>
2593 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2594 on top of ownerPar().
2596 2003-08-27 John Levon <levon@movementarian.org>
2598 * funcrequest.C: properly initialise POD members
2600 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2602 * lyxtext.h (top_y): move top_y from here
2607 * BufferView_pimpl.[Ch]: to here
2608 * frontends/screen.C:
2609 * insets/insettabular.C:
2610 * insets/insettext.C: adjust
2611 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2613 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2616 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2618 2003-08-26 André Pönitz <poenitz@gmx.net>
2620 * paragraph_func.[Ch] (outerPar): new function
2623 * paragraph_funcs.C:
2624 * paragraph_funcs.h:
2625 * paragraph_pimpl.C:
2626 * text2.C: remove Inset::par_owner
2628 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2633 * text2.C: eliminates the needFullRow/display() stuff
2634 altogether, putting the logic in metrics/draw in the insets.
2636 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2638 * text2.C (redoParagraphInternal, redoParagraphs):
2639 * text.C (redoParagraph): add a call to updateRowPositions at the
2640 end of each 'metrics-like' call. Remove all others.
2641 (getRow): remove the 'y-computing' version.
2642 (getRowNearY): do not compute nor return the real y. Solve the
2643 'y < 0' problem and simplify.
2645 2003-08-22 Angus Leeming <leeming@lyx.org>
2647 * *.[Ch]: clean-up of licence and author blurbs.
2648 Also move config.h out of a few .h files and into a few .C files.
2650 2003-08-22 André Pönitz <poenitz@gmx.net>
2652 * lyxrow.[Ch]: add x_ and *fill_ members
2657 * text2.C: adjust/remove prepareToPrint() calls
2659 2003-08-22 André Pönitz <poenitz@gmx.net>
2661 * lyxrow.[Ch]: add end_ member
2663 * lyxrow_funcs.C: use LyXRow::end_
2665 * lyxtext.h (singleWidth): add LyXFont parameter
2668 * text2.C: adjust LyXText::singleWidth() calls
2670 * text.C (redoParagraph): simplify row breaking logic
2673 2003-08-19 André Pönitz <poenitz@gmx.net>
2675 * funcrequest.C: initialize button_ member
2678 * rowpainter.[Ch]: interface consolidation
2680 2003-08-18 André Pönitz <poenitz@gmx.net>
2683 * BufferView_pimpl.C:
2685 * paragraph_funcs.C:
2687 * text3.C: remove LyXScreen::draw() and fitCursor calls
2689 * BranchList.h: remove spurious semicolons
2691 * MenuBackend.C: fix branchlist related crash
2693 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2701 * bufferparams.[Ch]:
2705 * text3.C: implements the 'branch inset'
2706 idea. This allows the output of various versions of a document
2707 from a single source version, selectively outputing or suppressing
2708 output of parts of the text.
2709 This implementation contains a 'branch list editor' in a separate
2710 tab of the document settings dialog. Branches are user definable
2711 and have a "display colour" to distinguish them on-screen.
2713 ColorHandler was somewhat cleaned up.
2714 (1) make possible a dynamically growing LColor list by allowing
2715 the graphic context cache to grow along (vector);
2716 (2) eliminate an IMHO unnecessary step in colour allocation.
2718 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2720 * BufferView_pimpl.C: compile fix
2722 2003-08-15 André Pönitz <poenitz@gmx.net>
2724 * rowpainter.C: remove extra metrics calls
2726 * lyxtext.h: merge the two constructors into a single one,
2727 pass reference to owner's par list
2729 * BufferView_pimpl.C:
2733 2003-08-15 André Pönitz <poenitz@gmx.net>
2735 * lyxrow_funcs.[Ch]:
2738 * paragraph_funcs.C:
2743 * text_funcs.C: split LyXText::rowlist_ into individual
2744 Paragraph::rows_ chunks
2747 * BufferView_pimpl.[Ch]:
2750 * text3.C: remove toggleSelection()
2752 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2754 * bufferlist.C: beautify two alerts (shorter text of buttons)
2755 * buffer.C: Remove redundant ' ' from message
2757 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2758 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2759 rename VALIGN_CENTER to VALIGN_MIDDLE
2761 2003-08-11 André Pönitz <poenitz@gmx.net>
2763 * lyxtext.h (getPar):
2764 * text.C: new function
2766 2003-08-11 André Pönitz <poenitz@gmx.net>
2769 * tracer.[Ch]: remove unneeded files
2771 * InsetList.[Ch]: remove resizeInsetsLyXText()
2776 * text3.C: merge insertParagraphs() and appendParagraph()
2777 remove breakAgain(), update()
2779 * BufferView_pimpl.[Ch]:
2780 * bufferview_funcs.[Ch]:
2784 * tabular.C: adjust after text & InsetList changes.
2786 2003-08-08 André Pönitz <poenitz@gmx.net>
2788 * text.C (insertChar, backspace): replace rowlist fiddling
2789 with rebreak of full par
2792 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2793 checkParagraph, updateInset): removed
2795 2003-08-07 André Pönitz <poenitz@gmx.net>
2798 * text3.C: merge some LFUN handlers, remove dead code
2800 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2802 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2804 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2806 * text2.C (DEPM): fix part of bug 1255 and 1256
2808 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2810 * BufferView_pimpl.C (workAreaDispatch): change to use
2811 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2812 that are no mouse related.
2814 2003-08-05 André Pönitz <poenitz@gmx.net>
2817 * BufferView_pimpl.[Ch]:
2818 * bufferview_funcs.C:
2820 * text3.C: rip out "deep update"
2822 * textcursor.[Ch] (last_sel_cursor): remove unused member
2824 2003-08-04 André Pönitz <poenitz@gmx.net>
2827 * BufferView_pimpl.[Ch]:
2828 * ParagraphParameters.C:
2829 * bufferview_funcs.C:
2835 * text3.C: replace "complicated" BufferView::update(...) calls with
2838 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2840 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2842 * Makefile.am (lyx_SOURCES): add paper.h
2844 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2846 * Makefile.am: move things around so that both lyx-qt and
2847 lyx-xforms can be built (according to --with-frontend). Then lyx
2848 is a symbolic link to lyx-[firstfrontend]
2850 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2852 * Always use std::endl with lyxerr
2854 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2856 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2858 2003-08-01 André Pönitz <poenitz@gmx.net>
2861 * BufferView_pimpl.[Ch]:
2863 * text3.C: merge BufferView::repaint() and BufferView::update()
2865 2003-08-01 José Matos <jamatos@lyx.org>
2867 * buffer.[Ch]: file_format is no longer a buffer data element.
2869 2003-08-01 André Pönitz <poenitz@gmx.net>
2874 * text2.C: make redoParagraph more independent of current cursor
2876 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2878 * text2.C: remove unneeded members
2880 2003-07-30 André Pönitz <poenitz@gmx.net>
2882 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2884 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2885 create a single function...
2887 * paragraph_funcs.C (moveItem): ... here.
2890 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2892 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2894 * LColor.[Ch]: Add comment and greyedout logical colors.
2896 2003-07-30 André Pönitz <poenitz@gmx.net>
2898 * tabular.C: don't use Assert too heavily. This crashes where it
2901 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2903 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2904 is disabled (bug 1232)
2906 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2908 * factory.C: limited 'arg' scope
2910 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2912 * factory.C: fixed Note submenu issues
2914 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2916 * factory.C: submenu for Note/Comment/Greyedout
2918 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2921 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2923 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2926 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2927 greyedout. Patch provided by Jürgen Spitzmüller.
2929 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2931 * kbmap.C (read): fix error message when reading bind files
2933 2003-07-29 Angus Leeming <leeming@lyx.org>
2935 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2936 certainly does not do what it purports to do. I am doing it, and
2937 us, a favour by killing it.
2939 2003-07-28 José Matos <jamatos@lyx.org>
2941 * buffer.C (readBody, do_writeFile):
2942 * paragraph.C(readParagraph): \end_document replaces \the_end.
2944 2003-07-29 André Pönitz <poenitz@gmx.net>
2947 * BufferView_pimpl.[Ch]:
2951 * textcursor.[Ch]: remove toggleToggle & Co
2953 2003-07-28 José Matos <jamatos@fep.up.pt>
2955 * buffer.C (readParagraph):
2956 * params_func (readParToken, readParagraph):
2957 * paragraph.C (write): \layout -> \begin_layout.
2959 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2961 * lyxlex_pimpl.C (setFile): clean up slightly.
2963 * bufferparams.h: add compressed var
2965 * buffer_funcs.C (readFile): adjust for LyXLex change
2966 (newFile): ditto + simplify
2968 * buffer.C (writeFile): handle writing of compressed files
2970 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2971 Check if the file is compressed and set a bufferparm if so.
2973 * Makefile.am (lyx_LDADD): remove explicit -lz
2975 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2977 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2978 makeDocBookFile): put the real LyX version in the first line of
2982 * version.C.in: remove lyx_docversion
2984 * tabular.C (write_attribute): add a template-based version to
2985 write enums properly
2987 2003-07-28 André Pönitz <poenitz@gmx.net>
2992 * text3.C: use doubles again for x-coordinates. They are needed.
2994 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2996 * messages.C (getLocaleDir): use lyx_localedir()
2998 * lyxlex_pimpl.C (setFile): compress stuff
3000 * buffer.C (writeFile): add some compression stuff
3001 (do_writeFile): new func, dont call expliti close... will this
3004 * Makefile.am (lyx_LDADD): add -lz
3006 2003-07-28 José Matos <jamatos@fep.up.pt>
3008 * buffer.C: increment file format.
3009 * paragraph_funcs (readParagraph, readParToken):
3010 * paragraph.C (readParagraph): add \end_layout.
3012 2003-07-27 Angus Leeming <leeming@lyx.org>
3014 * Makefile.am: remove special casing for configure-time setting of
3015 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3017 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3018 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3020 2003-07-26 André Pönitz <poenitz@gmx.net>
3022 * paragraph_func.[Ch]:
3023 * paragraph.C (realizeFont): inline it whereever it is used
3028 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3031 2003-07-26 André Pönitz <poenitz@gmx.net>
3035 * text2.C: get rid of LyXText::need_break_row
3037 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3039 * toc.[Ch]: put namespace toc inside namespace lyx
3041 * MenuBackend.C (expandToc2): adjust for lyx::toc
3044 * lyxfunc.C (dispatch): adjust for lyx::find
3046 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3047 lyx::find instead. Reorganize a bit.
3048 (LyXReplace): rename to replace
3049 (LyXFind): rename to find
3051 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3054 2003-07-26 André Pönitz <poenitz@gmx.net>
3056 * text.C (setHeightOfRow): restrict scope of temporary variable
3058 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3059 code (never has been used?)
3061 2003-07-27 Asger Alstrup <alstrup@local>
3063 * text.C (fill): Optimise algorithm to exploit that we can reuse
3064 the LyXFont for many characters.
3065 (setHeightOfRow): Same thing.
3066 (rowBreakPoint): Same thing.
3068 2003-07-26 Asger Alstrup <alstrup@local>
3070 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3072 * text.C (singleWidth): Spurious font copying in hot-spot
3073 singleWidth avoided. Reorder tests for arabic for efficiency.
3075 * text.C (fill): handle empty paragraphs better.
3077 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3080 * encoding.h: add includes
3082 * lyxrc.C: remove reading of bind files
3084 * lyx_main.C (init): setup bindings and menus only if we have a
3087 * kbmap.C (read): new method. Do the actual reading of bind
3090 * converter.C (dvipdfm_options):
3093 (output): adapt PAPER_* enums.
3095 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3097 * bufferparams.h: remove paper-related enums from there
3099 * paper.h: New file. A trivial header file to hold paper-related
3100 enums. It should later expand to contain many paper-related
3103 * lyxrc.C: declare extern displayTranslator
3105 2003-07-27 José Matos <jamatos@fep.up.pt>
3107 * tabular.[Ch] (linuxdoc): add support for tables and figures
3110 2003-07-27 José Matos <jamatos@fep.up.pt>
3112 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3113 consistency in both functions.
3114 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3116 2003-07-26 Asger Alstrup <alstrup@local>
3118 * rowpainter.C (paintRows): Change algorithm to work directly on
3119 the insets rather than asking every character in the document
3120 whether its an inset.
3122 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3124 * buffer.C (openFileWrite): factorize some code
3126 2003-07-26 Angus Leeming <leeming@lyx.org>
3129 * lyx_main.[Ch]: replace occurances of system_tempdir with
3132 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3134 * rename Inset to InsetOld
3136 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3138 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3139 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3140 which I think is a bit clearer. EDIT is gone, since it was
3141 premature optimisation, and broken for mathed anyway.
3142 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3143 with cursor positioning in insets as well (math insets still do not
3144 work, but that's a different story anyway.) It mysteriously
3145 crashes sometimes with undo in the first paragraph, but I'm fairly
3146 confident that this is a compiler bug.
3148 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3150 * paragraph.C (Paragraph): adjust for new clone return type
3152 (copyIntoMinibuffer): ditto
3154 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3156 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3157 by not having a special case, and always doing a full rebreak of
3158 the document after undo.
3160 2003-07-23 Angus Leeming <leeming@lyx.org>
3162 * factory.C (createInset): InsetExternal::setParams now takes a
3165 2003-07-23 Angus Leeming <leeming@lyx.org>
3167 * factory.C (createInset): changed interface to the external and
3168 graphics mailers' string2params functions.
3170 2003-07-23 Angus Leeming <leeming@lyx.org>
3172 * factory.C (createInset): pass a
3173 Buffer const * parameter to InsetExternalMailer's string2params.
3175 2003-07-22 John Levon <levon@movementarian.org>
3177 * Thesaurus.h: include the right aiksaurus header
3179 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3181 * MenuBackend.C (expand): check menu shortcuts unconditionally
3183 2003-07-21 Angus Leeming <leeming@lyx.org>
3185 * factory.C (createInset): pass a
3186 buffer_path parameter to InsetGraphicsMailer's string2params.
3188 2003-07-21 Angus Leeming <leeming@lyx.org>
3190 * BufferView_pimpl.C (buffer):
3193 * lyxfunc.C (dispatch):
3194 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3195 rather than the grfx shortcut.
3197 2003-07-21 André Pönitz <poenitz@gmx.net>
3199 * rowpainter.C: remove unused variables
3202 * tabular_funcs.h: move to tabular.C
3203 * Makefile.am: adjust
3205 * tabular.[Ch]: basic optical cleaning
3207 * author.h: pass references, not values
3209 2003-07-18 André Pönitz <poenitz@gmx.net>
3217 * text3.C: two-phase drawing for InsetText and InsetTabular
3218 some float -> int changes.
3220 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3222 * lyx_main.C: fix the fix
3224 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3226 * lyx_main.C: fix a crash in batch mode if no files specified
3229 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3231 * format.[Ch] (papersize): moved to BufferParams
3232 * converter.[Ch] (dvips_options): moved to BufferParams
3233 (dvipdfm_options): moved to anon namespace
3234 * bufferparams.[Ch]: added above functions.
3236 2003-07-17 André Pönitz <poenitz@gmx.net>
3240 * text2.C: don't call inset->update() anymore
3242 * metricsinfo.[Ch]: add convenience constructor
3244 2003-07-16 André Pönitz <poenitz@gmx.net>
3249 * text2.C: replace the LyXCursor::irow_ member with
3250 on-demand computation of the value
3252 2003-07-16 John Levon <levon@movementarian.org>
3254 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3256 2003-07-15 André Pönitz <poenitz@gmx.net>
3259 * text2.C: remove no more needed refresh_row
3261 2003-07-15 André Pönitz <poenitz@gmx.net>
3266 * text3.C: refresh_status tristate -> need_update bool
3268 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3270 * lyxtext.h (init): remove reinit argument (act as if always true)
3271 * text2.C: adjust to that
3273 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3275 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3276 * text3.C: use it to delete selections in some cases
3277 (bugs 441, 673, 702, 954).
3279 2003-07-14 André Pönitz <poenitz@gmx.net>
3281 * rowpainter.[Ch]: reduce interface
3283 2003-07-14 André Pönitz <poenitz@gmx.net>
3285 * BufferView_pimpl.C:
3286 * text2.C: adjust after removing unused BufferView * argument
3288 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3290 * text2.C (init): fix a crash fired on resize
3292 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3294 * buffer.[Ch]: added new closing signal
3295 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3296 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3297 BufferView::Pimpl via the closing the signal
3299 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3301 * buffer.[Ch]: take out all bv-related from buffer
3303 * BufferView_pimpl.[Ch]: connect to new signals
3304 * CutAndPaste.C: removed useless asserts
3305 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3308 * lyxfunc.C: moved view-related funciontality from vc here
3309 * paragraph.C: removed outdated comments
3312 2003-07-10 André Pönitz <poenitz@gmx.net>
3314 * BufferView_pimpl.C:
3318 * text2.C: remove InsetText::InnerCache, clean up consequences
3320 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3322 * ispell.C: fix two typos in error messages
3324 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3326 * Extend Note inset to other forms of annotation like Comment
3327 and Greyedout. Right button click gives dialog.
3329 Files modified or added (+):
3333 * ControlNote.[Ch] +
3335 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3336 frontends/controllers
3340 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3342 * aspell.C: add missing namespace lyx::support
3344 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3346 * BufferView.[Ch] (newFile): Add
3347 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3348 * LaTeX.[Ch] (message): added this signal and use it
3349 * buffer.[Ch] (busy, message): added these signals and use them
3350 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3354 * importer.C: use buffer signals instead of direct bv calling
3355 * lyx_cb.[Ch] (ShowMessage): removed
3358 * paragraph_funcs.C:
3359 * text2.C: use buffer signals
3361 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3363 * introduce namespace lyx::graphics
3365 2003-07-02 André Pönitz <poenitz@gmx.net>
3367 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3369 2003-07-01 André Pönitz <poenitz@gmx.net>
3376 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3377 text*.C to text_func.C
3379 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3381 * introduce namespace lyx::support
3383 2003-06-30 André Pönitz <poenitz@gmx.net>
3388 * text.C: re-enable --with-included-string
3390 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3392 * textcursor.C: add <config.h>
3394 * text.C (getWord): remove const from word_location arg
3396 * lyxvc.C (getLogFile): fix const type order
3398 * lyxtext.h: remove const from word_location arg, add arg name
3400 * lyxlayout.h: currect type on labeltype.
3402 * importer.C: correct \file
3404 * converter.C (intToFormat): use std:: on ret val, ws changes
3406 * bufferlist.h: correct \file
3408 * buffer.C (makeLinuxDocFile): fix const type order
3409 (makeDocBookFile): ditto
3410 (fillWithBibKeys): use std:: on stdlib args.
3412 * CutAndPaste.C: fix authors.
3413 (availableSelections): use std:: on return vector
3415 2003-06-27 André Pönitz <poenitz@gmx.net>
3417 * BufferView_pimpl.C:
3418 * bufferview_funcs.C:
3426 * text3.C: remove LyXCursor::row_ member
3429 * text.C: rename fullRebreak() to partialRebreak() and implement
3430 a fullRebreak() that really bereks fully
3432 * textcursor.h: new struct for cursor-related data
3434 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3436 * lyx_main.C (LyX): get full path of document loaded on the
3439 2003-06-26 André Pönitz <poenitz@gmx.net>
3441 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3442 remove unused/broken operator>,<,>=.
3444 * text.C: remove only use of broken operator<= in an Assert().
3446 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3448 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3449 moved errorlist_.clear to showErrorList
3451 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3453 * converter.C (scanLog, runLaTeX):
3454 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3455 move the bv->showErrorList call to the callers
3456 * lyxfunc.C: i.e. here...
3458 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3459 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3460 namespace, the second to...
3461 * buffer_funcs (BufferFormat, parseErrors): added
3462 * errorlist.C (ErrorList(TeXErrors const &)): removed
3464 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3466 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3468 2003-06-24 "Garst R. Reese" <reese@isn.net>
3472 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3474 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3476 * version.C.in: change docversion to 1.4
3478 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3480 * buffer.C: fix a bug just introduced
3482 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3484 * buffer.[Ch]: added the parseError signal and use it, removed
3486 * BufferView.[Ch] (addError): moved to ...
3487 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3488 to the Buffer::parseError signal to catch (guess what) parse errors
3489 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3491 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3493 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3494 ability to create a buffer and to return an existing one from
3495 the list. Moved these functions to...
3496 * buffer_funcs.[Ch]: added
3497 * BufferView.[Ch] (loadLyXFile): added
3498 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3499 job removed from bufferlist::loadLyXFile.
3500 * buffer.C (setReadOnly): make it work without view
3501 (i.e added an if (users))
3503 2003-06-19 Angus Leeming <leeming@lyx.org>
3506 * LyXAction.C (init):
3507 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3508 with LFUN_DIALOG_SHOW <name> <data>.
3510 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3512 * CutAndPaste.C (availableSelections): small compilation fix for
3513 ancient (gcc 2.9x) compilers
3515 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3517 * text3.C (cursorNext): add tmp var
3519 * text2.C (updateCounters): for function calling out of for clause
3520 (replaceSelectionWithString): ditto
3521 (insertStringAsParagraphs): ditto
3522 (getColumnNearX): add tmp var
3523 (setCursorFromCoordinates): add tmp var
3524 (cursorDownParagraph): add tmp var
3525 (deleteEmptyParagraphMechanism): add tmp var
3527 * text.C (insertChar): add tmp var
3529 * rowpainter.C (paintDepthBar): add tmp var
3531 * CutAndPaste.C (availableSelections): potentially check all
3532 paragraphs in a cut to fill the shown strings.
3534 2003-06-18 André Pönitz <poenitz@gmx.net>
3536 * kbmap.[Ch]: use vector<> instead of list<>
3538 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3540 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3541 pasteSelection with index
3543 * text2.C (pasteSelection): modify, call pasteSelection with index
3545 * paragraph.C (asString): reimplement version with no interval to
3546 call the one with interval.
3548 * lyxtext.h: add index arg to pasteSelection
3550 * MenuBackend.C (MenuItem): handle PasteRecent
3551 (Menu::read::Menutags): add md_pasterecent
3553 (expandPasteRecent): new function
3556 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3558 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3560 (availableSelections): new function
3562 2003-06-17 Angus Leeming <leeming@lyx.org>
3564 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3566 2003-06-17 Angus Leeming <leeming@lyx.org>
3569 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3571 * lyxfunc.C (dispatch): invoke it.
3573 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3575 * iterators.C (operator++, ParPosition): reintroduce some
3576 const_cast for the benefit of older compilers.
3578 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3580 * text3.C (dispatch): do not modify clipboard when doing
3581 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3582 LFUN_DELETE_SKIP on a selection selection
3584 2003-06-16 André Pönitz <poenitz@gmx.net>
3590 * tabular.[Ch]: IU of clone() and getLabelList();
3592 2003-06-13 André Pönitz <poenitz@gmx.net>
3594 * tabular.h: compactification
3596 2003-06-12 André Pönitz <poenitz@gmx.net>
3600 * tabular_funcs.h: some renaming plus whitespace
3602 2003-06-12 André Pönitz <poenitz@gmx.net>
3605 * BufferView_pimpl.C:
3611 * toc.C: Return a Paragraph & for ParIterator::operator*()
3613 2003-06-11 John Levon <levon@movementarian.org>
3617 * ToolbarBackend.C: add "Toolbars" section and
3620 2003-06-10 Angus Leeming <leeming@lyx.org>
3623 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3625 * lyxfunc.C (dispatch): invoke it.
3627 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3629 * main.C: protect <ios> with HAVE_IOS
3630 (main): protect sync_with_stdio with HAVE_IOS
3632 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3634 * text2.C (cutSelection): adjust
3635 (pasteSelection): adjust
3637 * messages.C: handle get of empty string
3639 * main.C (main): use sync_with_stdio(false)
3641 * lyxfunc.C (dispatch): adjust
3643 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3644 (WriteAs): remove unneeded BufferView arg.
3646 * bufferparams.h: use correct types on papersize, papersize2 and
3649 * bufferparams.C (readToken): adjust for type
3650 (writeLaTeX): add missing cases to switch.
3652 * bufferlist.C (quitWriteBuffer): adjust
3655 * buffer.C (asciiParagraph): remove some commented code.
3657 * CutAndPaste.C: remove current_view extern variable.
3658 (cutSelection): add BufferParams arg.
3659 (eraseSelection): add BufferParams arg.
3660 (pasteSelection): add Buffer const & arg
3662 2003-06-07 John Levon <levon@movementarian.org>
3665 * paragraph_funcs.C:
3666 * paragraph_pimpl.C:
3670 * paragraph.C: allow InsetERT to freely space lines,
3671 and some consolidation of code
3673 2003-06-06 José Matos <jamatos@fep.up.pt>
3675 * buffer.C (makeDocBookFile): fix bug #821
3677 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3679 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3681 2003-06-04 Angus Leeming <leeming@lyx.org>
3683 * buffer.C: bump format to 224.
3685 2003-06-05 André Pönitz <poenitz@gmx.net>
3687 * text2.C (redoParagraphs): remove two const_cast<>
3689 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3691 * ParagraphList.h: remove last remnants of NO_STD_LIST
3693 2003-06-03 Angus Leeming <leeming@lyx.org>
3695 * factory.C (createInset): small change to the way InsetExternal's params
3698 2003-06-04 André Pönitz <poenitz@gmx.net>
3700 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3702 * paragraph_pimpl.h:
3703 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3705 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3707 * undo_funcs.C: make some simple cases of undo work again
3709 2003-06-03 John Levon <levon@movementarian.org>
3711 * ispell.C: HPUX doesn't have sys/select.h
3714 2003-06-03 John Levon <levon@movementarian.org>
3716 * CutAndPaste.C: update tabular and include inset
3721 * paragraph.C: remove owningBuffer(), don't pass Buffer
3724 * factory.C: insetGraphicsParams changed
3726 2003-06-02 John Levon <levon@movementarian.org>
3732 * text3.C: remove insetparent
3734 2003-06-02 John Levon <levon@movementarian.org>
3737 * buffer.C: fix inset_iterator.end(), move out of line
3740 2003-06-01 John Levon <levon@movementarian.org>
3742 * text3.C: use a proper cut/paste when doing inset
3743 insert (from Jürgen Spitzmüller)
3745 2003-06-01 John Levon <levon@movementarian.org>
3747 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3749 2003-05-30 André Pönitz <poenitz@gmx.net>
3751 * rowpainter.C: unify second drawing phase
3753 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3755 * trans_mgr.C: remove one case of current_view
3757 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3759 * paragraph_funcs.h: remove paragraph.h include
3761 * paragraph.h: delete NO_STD_LIST stuff
3763 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3765 * buffer.h: remove paragraph.h include
3767 * ParagraphList.C: delete file
3769 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3771 * toc.C (getTocList): adjust
3773 * paragraph_pimpl.C (validate): adjust
3775 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3777 * paragraph.C (Paragraph): adjust
3778 (getPositionOfInset): use const_iterator, adjust
3779 (bibitem): use const_iterator, adjust
3780 (setInsetOwner): adjust
3782 * iterators.C (operator++): adjust
3784 * InsetList.[Ch]: Replace selfmade iterator with standard
3785 vector::iterator also introduce const_iterator. Remove getPos,
3786 getInset and setInset from InsetTable. Adjust accordingly.
3788 * BufferView.C (lockInset): adjust
3789 (ChangeInsets): adjust
3791 * tabular.[Ch]: delete commented same_id functions
3793 2003-05-28 John Levon <levon@movementarian.org>
3795 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3797 2003-05-28 André Pönitz <poenitz@gmx.net>
3799 * metricsinfo.[Ch]: remove 'fullredraw' member
3801 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3803 * lyxtextclass.C (operator): remove caching.
3805 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3809 * text2.C (cursorBottom): adjust
3810 (setCounter): use ParagraphList::find, adjust
3812 * text.C (workWidth): use ParagraphList::find, adjust
3814 * lyxcursor.C (LyXCursor): adjust
3816 * buffer.C (inset_iterator): adjust
3818 * ParagraphList.h: make iterator(value_type) private, make
3819 ParagraphList a friend of iterator.
3821 * ParagraphList.C (find): new function
3823 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3825 2003-05-27 André Pönitz <poenitz@gmx.net>
3827 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3829 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3831 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3833 2003-05-26 John Levon <levon@movementarian.org>
3835 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3837 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3839 * remove same_id from function signatures, adjust.
3841 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3843 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3845 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3847 * paragraph.C (Paragraph): get rid of same_ids parameter
3849 * ParagraphList.C (insert): adjust
3852 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3854 * paragraph_funcs.C (breakParagraph): adjust
3855 (breakParagraphConservative): adjust
3857 * buffer.C (readParagraph): adjust
3859 * ParagraphList.C (insert): take a reference instead of a pointer
3862 * paragraph.[Ch] (id): new function
3864 * bufferlist.C (newFile): adjust
3866 * ParagraphList.C (ParagraphList): adjust
3868 (push_back): take a reference instead of a pointer.
3870 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3872 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3875 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3876 set else use old code.
3878 * ParagraphList.C: remove all NO_NEXT code and only compile this
3879 code of NO_STD_LIST is set.
3881 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3883 * BufferView_pimpl.C:
3893 * graphics/GraphicsConverter.C:
3894 * graphics/PreviewLoader.C: header adjustment
3896 2003-05-23 Angus Leeming <leeming@lyx.org>
3898 * LaTeXFeatures.[Ch] (useBabel): new method.
3899 * bufferparams.C (writeLaTeX): use it.
3901 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3903 * ParagraphList.h (set): remove unused function.
3905 2003-05-23 André Pönitz <poenitz@gmx.net>
3908 * BufferView_pimpl.C:
3912 * undo_funcs.C: setUndo reworked
3914 * iterators.[Ch]: add access to topmost ParagraphList
3916 * lyxtext.[Ch] (workWidth): add a const
3918 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3920 * texrow.[Ch] (increasePos): remove function
3921 * exporter.C (export): removed unused var and outdated comment
3923 2003-05-23 Angus Leeming <leeming@lyx.org>
3925 * latexrunparams.h: rename fragile as moving_arg.
3926 * paragraph.C (simpleTeXOnePar): ditto.
3927 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3929 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3931 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3933 (textUndoOrRedo): comment out a currently unused var.
3935 * paragraph.h (NO_NEXT): enable NO_NEXT
3937 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3939 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3941 * exporter.C (Export): adjust for removeAutoInsets removal.
3943 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3945 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3947 * BufferView.[Ch] (removeAutoInsets): delete function
3949 2003-05-22 Angus Leeming <leeming@lyx.org>
3951 * latexrunparams.h: add a free_spacing variable.
3953 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3954 to pass moving_arg, as the data is stored in runparams.fragile.
3956 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3957 to Inset::latexOptional or to simpleTeXOnePar.
3959 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3960 free_spacing arg to Inset::latexOptional.
3962 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3965 2003-05-22 Angus Leeming <leeming@lyx.org>
3967 * latexrunparams.h: add fragile and use_babel variables.
3969 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3970 * buffer.C (makeLaTeXFile): store this returned value in
3971 runparams.use_babel, thus passing it to the inset::latex methods.
3973 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3974 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3976 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3977 longer has a fragile arg, as it is stored in runparams.fragile.
3979 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3980 moving_arg parameter as the data is stored in runparams.fragile.
3982 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3983 a fragile parameter as the data is stored in runparams.fragile.
3985 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3987 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3989 2003-05-22 Angus Leeming <leeming@lyx.org>
3991 * latexrunparams.h: add a 'bool nice' which defaults to false.
3993 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3994 now encapsulated within runparams.
3996 * bufferlist.C (updateIncludedTeXfiles):
3997 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3999 2003-05-22 Angus Leeming <leeming@lyx.org>
4001 * latexrunparams.h: new file containing struct LatexRunParams.
4002 * Makefile.am: add new file.
4004 * LaTeX.[Ch] (c-tor, run):
4005 * buffer.[Ch] (makeLaTeXFile):
4006 * bufferlist.[Ch] (updateIncludedTeXfiles):
4007 * converter.C (convert, scanLog):
4008 * converter.[Ch] (runLaTeX):
4009 * exporter.C (Export):
4010 * paragraph.[Ch] (simpleTeXOnePar):
4011 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4012 * paragraph_funcs.[Ch] (latexParagraphs):
4013 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4014 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4015 pass around a LatexRunParams parameter.
4017 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4019 * paragraph.[Ch]: remove unused constructor
4021 * ParagraphList.C (erase): new function, taking two iterators
4023 2003-05-22 André Pönitz <poenitz@gmx.net>
4025 * undo_funcs.C: remove duplicated code
4027 * iterator.[Ch]: operator=
4029 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4031 * tabular.C (SetMultiColumn): ws changes
4033 * rowpainter.C (paintFirst): get rid of a ->previous
4035 * lyx_cb.C (getPossibleLabel): parlist simplification
4037 * BufferView.C (ChangeInsets): simplify slightly.
4039 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4041 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4042 * lfuns.h: new LFUN_SPACE
4043 * lyxfunc.C: protected space has a new lfun
4044 * paragraph_funcs.C: read new space insets
4046 * factory.C: handle new space insets
4048 2003-05-22 André Pönitz <poenitz@gmx.net>
4051 * BufferView_pimpl.C:
4054 * undo_funcs.C: return a ParIterator from getParFromID.
4056 * iterators.[Ch]: add two const's
4058 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4060 * toc.C (getTocList): adjust
4062 * iterators.[Ch]: rework for parlist
4064 * buffer.C (par_iterator_begin): adjust
4065 (par_iterator_end): adjust
4067 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4069 * BufferView.C (removeAutoInsets): adjust
4070 (ChangeInsets): adjust
4072 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4074 * text.C (top_y): fix bug 1110
4076 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4078 * errorlist.[Ch]: added
4081 * BufferView_pimpl.C:
4082 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4085 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4087 * Makefile.am: ensure that lyx is relinked upon changes to the
4088 various "convenience" libs.
4090 2003-05-20 Angus Leeming <leeming@lyx.org>
4092 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4093 files are compiled in alphabetical order again.
4095 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4097 2003-05-19 Angus Leeming <leeming@lyx.org>
4099 * gettext.[Ch]: remove "char const * _(char const *)".
4101 2003-05-19 André Pönitz <poenitz@gmx.net>
4103 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4112 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4114 2003-05-19 André Pönitz <poenitz@gmx.net>
4118 * lyxtextclass.[Ch]:
4120 * paragraph_funcs.[Ch]:
4122 * text3.C: more insetenv work
4124 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4126 * ParagraphParameters.C (params2string): small bug fixed
4128 2003-05-16 André Pönitz <poenitz@gmx.net>
4131 * bufferview_funcs.C: patch from Kornel Benko to prevent
4132 crash when _(...) is called twice in a statement
4134 2003-05-16 André Pönitz <poenitz@gmx.net>
4141 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4143 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4145 * lyx_main.C (init): remove spurious static_cast
4147 2003-05-14 André Pönitz <poenitz@gmx.net>
4149 * BufferView.C: fix format string
4151 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4153 * BufferView.[Ch] (insertErrors): removed
4154 * BufferView.[Ch] (showErrorList): added
4155 * buffer.C (runChkTeX):
4156 * converter.C (scanLog): call showErrorList instead of inserterrors
4158 2003-05-13 André Pönitz <poenitz@gmx.net>
4160 * BufferView_pimpl.C:
4162 * bufferview_func.C:
4169 * tabular_funcs.h: tostr() from its own header
4171 * ParagraphParameters.C:
4176 * text3.C: STRCONV()
4178 2003-05-12 André Pönitz <poenitz@gmx.net>
4181 * BufferView_pimpl.C:
4185 * ParagraphParameters.C:
4189 * bufferview_funcs.C:
4202 * paragraph_funcs.C:
4206 * text3.C: boost::format -> bformat all over the place
4209 2003-05-09 André Pönitz <poenitz@gmx.net>
4211 * LColor.[Ch]: Pimpl the #include <map> away
4213 2003-05-09 John Levon <levon@movementarian.org>
4215 * bufferlist.C: never remove emergency saves
4217 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4219 * Makefile.am: better lib building
4221 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4223 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4225 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4226 (simpleTeXSpecialChars): adjust
4227 (simpleTeXSpecialChars): adjust
4228 * paragraph.C (simpleTeXOnePar): adjust
4229 * buffer.C (makeLaTeXFile): adjust
4231 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4233 * text2.C (changeDepth): parlist cleanup
4234 (getColumnNearX): ditto
4236 * rowpainter.C (getLabelFont): parlist cleanup
4238 * bufferlist.C (newFile): parlist cleanup
4240 * CutAndPaste.C (eraseSelection): parlist cleanup
4242 * BufferView_pimpl.C (trackChanges): parlist cleanup
4245 * BufferView.C (lockInset): parlist cleanup.
4246 (ChangeInsets): ditto
4248 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4250 * CutAndPaste.h: Update file header.
4252 * CutAndPaste.C: Update file header.
4253 Store the parts cut out of the Document in a limited_stack.
4254 (copySelection): adjust
4255 (pasteSelection): new function, takes the index in the limited stack.
4256 (nrOfParagraphs): adjust
4257 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4258 simplify error inset insertion.
4259 (checkPastePossible): adjust
4261 2003-05-06 John Levon <levon@movementarian.org>
4263 * text2.C: don't cast wrap inset to float
4265 2003-05-05 André Pönitz <poenitz@gmx.net>
4268 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4270 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4271 few naked Paragraph *.
4273 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4275 * bufferparams.C: Output warning if a document with missing
4276 TeX document class is loaded
4277 * exporter.C: Disable TeX exports if the document class is missing
4280 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4281 isTeXClassAvailable()
4283 2003-05-03 John Levon <levon@movementarian.org>
4286 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4287 explicit cursor show/hide
4289 * BufferView_pimpl.h:
4290 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4291 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4293 * lyxfunc.C: hide cursor before dispatching.
4298 * text3.C: remove explicit cursor hides
4300 2003-05-02 André Pönitz <poenitz@gmx.net>
4302 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4305 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4308 * text2.C: tiny whitespace
4310 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4312 * undo_funcs.C: almost only ws changes.
4314 * ParagraphList.C (splice): just return if pl is empty.
4316 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4318 * ParagraphList.C (splice): new function.
4320 * CutAndPaste.C (pasteSelection): use it
4322 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4324 * CutAndPaste.C (pasteSelection): remove the last next and
4325 previous from this file.
4327 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4329 * CutAndPaste.C (pasteSelection): more clean up, user proper
4330 ParagraphList functions for pasteing.
4332 * ParagraphList.C (insert): new function, three arg insert
4334 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4336 * ParagraphList.C (insert): new function, three arg insert
4338 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4341 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4343 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4345 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4347 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4349 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4351 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4352 (copySelection): clean up a bit.
4353 (pasteSelection): use make_pair
4355 * ParagraphList.C (ParagraphList): implement copy constructor
4356 (operator=): implement, base on copy constructor.
4359 * paragraph.C (erase): return a bool
4361 * paragraph_pimpl.C (erasePos): remove function, move contents...
4362 (erase): ... here. Return a bool.
4363 (erase): call erase instead of erasePos.
4365 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4367 * ParagraphList.h: define PitPosPair
4368 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4369 ParagraphList, fix a bug on pasting multiple pars
4370 * text2.C: change interface to C&P
4372 2003-04-30 André Pönitz <poenitz@gmx.net>
4374 * undo_func.C: revert part of yesterday's patch 2
4376 2003-04-30 John Levon <levon@movementarian.org>
4378 * LColor.C: s/tabular/table/
4380 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4382 * text3.C (dispatch): do not convert iterator -> pointer
4383 * undo_funcs.C (setCursorParUndo): ditto
4384 * text_funcs.C (transposeChars): ditto
4386 * text2.C (setLayout): ws changes only
4388 * text.C (breakParagraph): do not convert iterator -> pointer
4390 (acceptChange): ditto
4391 (rejectChange): ditto
4396 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4399 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4401 * text3.C (gotoInset): YABG (yet another bad getChar)
4403 2003-04-29 André Pönitz <poenitz@gmx.net>
4405 * paragraph.h: make operator= private unimplemented as long as
4408 * ParagraphList.C: whitespace
4411 * paragraph_pimpl.[Ch]:
4412 * paragraph_funcs.C:
4414 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4417 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4419 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4421 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4422 * paragraph.[Ch] (erase):
4423 * paragraph_pimpl.[Ch] (erase): change return type and value
4424 * text2.C (cutSelection): some rework
4426 2003-04-28 John Levon <levon@movementarian.org>
4428 * bufferlist.C: changes for unsaved changes dialog
4430 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4432 * bufferlist.C (newFile): set language (messages_) for new
4435 * buffer.C (readFile): ws changes only.
4437 2003-04-28 André Pönitz <poenitz@gmx.net>
4442 * BufferView_pimpl.C:
4443 * BufferView.C: getParFromID related ParagraphList::iterator changes
4445 2003-04-28 André Pönitz <poenitz@gmx.net>
4447 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4450 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4452 * messages.C: remove one more localedir class variable.
4454 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4456 * messages.C (getLocaleDir): singleton generation function
4458 (Messages): add a default constructor.
4460 * main.C (main): do not setup localedir here, do not call
4463 * gettext.C (_): use it.
4464 (gettext_init): delete funciton
4466 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4468 * gettext.C (getLyXMessages): new singleton generating function.
4470 * buffer.C (updateDocLang): adjust
4472 * Makefile.am (messages.o): add target
4473 (main.o): remove target
4475 2003-04-27 John Levon <levon@movementarian.org>
4480 * lyxvc.C: specify cancel button in Alert::prompt
4482 2003-04-26 John Levon <levon@movementarian.org>
4487 * LyXAction.C: add LFUN_INSET_SETTINGS
4489 * lyxfunc.C: don't enable tabular-feature when there's
4490 just any locking inset
4492 2003-04-26 John Levon <levon@movementarian.org>
4494 * bufferlist.C: re-add Cancel to buffer close question
4496 * lyxfunc.C: fix import UI a bit
4498 2003-04-25 John Levon <levon@movementarian.org>
4500 * gettext.C: remove the broken asserts for now
4502 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4504 * messages.C: make case where setlocale cannot comply work better.
4506 * buffer.C (updateDocLang): new function
4507 (changeLanguage): use it
4510 * text2.C (setCounter): use B_ a bit.
4512 * lyxlayout.C (Read): be sure to trim the label strings.
4514 * messages.C (Messages): fix typo in comment
4516 * buffer.C (readFile): set message_ after file is loaded.
4517 (makeDocBookFile): remove double return
4518 (changeLanguage): reset message_ upon language change.
4519 (B_): new func, use this to get translated buffer strings.
4521 * main.C: add myself and Jean Marc as authors.
4523 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4525 * messages.[hC]: pimplify Messages, and three different pimpls to be
4526 used in different circumstances.
4528 * gettext.[Ch]: change for use with new message code.
4530 2003-04-24 André Pönitz <poenitz@gmx.net>
4532 * factory.C: support for eqref
4534 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4536 * messages.[Ch]: add missing char
4538 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4540 * messages.[Ch]: New files
4542 2003-04-18 John Levon <levon@movementarian.org>
4546 * BufferView_pimpl.C:
4550 * text2.C: remove layout-copy/paste (bug 778)
4552 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4554 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4556 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4558 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4559 if they succeed. Act accordingly.
4561 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4563 * text2.C (setCharFont): adjust
4564 (setCounter): adjust
4565 (insertStringAsLines): adjust
4567 * text.C (leftMargin): adjust
4568 (setHeightOfRow): adjust
4570 * rowpainter.C (paintFirst): adjust
4573 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4575 (isFirstInSequence): ditto
4576 (getEndLabel): ditto
4579 * paragraph.C (getParLanguage): comment out some hard stuff.
4581 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4583 (simpleDocBookOnePar): ditto
4584 (makeDocBookFile): use ParagraphList::iterator
4586 * CutAndPaste.C (pasteSelection): adjust
4588 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4590 * text2.C (getFont): adjust
4591 (getLayoutFont): adjust
4592 (getLabelFont): adjust
4594 * paragraph_funcs.C (TeXOnePar): adjust
4596 * buffer.C (simpleLinuxDocOnePar): adjust
4597 (simpleDocBookOnePar): adjust
4599 * CutAndPaste.C (pasteSelection): adjust
4601 * BufferView.C (getEncoding): adjust
4603 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4605 2003-04-16 John Levon <levon@movementarian.org>
4607 * lyxfind.C: use parlist stuff for search/changes
4609 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4611 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4613 * text2.C (deleteEmptyParagraphMechanism): adjust
4615 * text2.[Ch] (ownerParagraph): delete func (both of them
4617 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4619 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4621 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4623 * ParagraphList.C: prepare for NO_NEXT
4625 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4627 * text2.C (getFont): adjust
4628 (getLayoutFont): adjust
4629 (getLabelFont): adjust
4631 * paragraph.C (getFont): adjust
4632 (getLabelFont): adjust
4633 (getLayoutFont): adjust
4635 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4637 2003-04-15 John Levon <levon@movementarian.org>
4641 * lyx_main.C: handle Include in .ui files
4643 2003-04-15 John Levon <levon@movementarian.org>
4645 * MenuBackend.C: make the doc files length shorter
4648 * ToolbarBackend.C: handle toolbar placement flags,
4651 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4653 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4656 * paragraph_funcs.C (TeXOnePar): adjust
4658 * paragraph.C (getLabelFont): add outerfont arg, adjust
4659 (getLayoutFont): ditto
4660 (simpleTeXOnePar): adjust
4662 * paragraph_pimpl.C (realizeFont): delete func
4664 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4666 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4667 row argument, constify cur argument.
4669 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4671 * text2.C (getFont): adjust
4672 (getLayoutFont): adjust
4673 (getLabelFont): adjust
4675 * paragraph_funcs.C (TeXOnePar): adjust
4676 (outerFont): new func...
4677 (realizeFont): ...moved out from here, changed this to facilitate
4680 * paragraph.C (getFont): take outerfont as arg, adjust
4681 (simpleTeXOnePar): add outerfont arg, adjust
4683 * buffer.C (simpleLinuxDocOnePar): adjust
4684 (simpleDocBookOnePar): adjust
4686 * CutAndPaste.C (pasteSelection): adjust
4688 * BufferView.C (getEncoding): adjust
4690 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4692 * text2.C (setCharFont): adjust
4693 (setCounter): adjust
4695 * text.C (leftMargin): adjust
4696 (setHeightOfRow): adjust
4698 * rowpainter.C (paintFirst): adjust
4701 * paragraph_pimpl.C (realizeFont): adjust
4703 * paragraph.C (isFirstInSequence): move from here...
4704 * paragraph_funcs.C (isFirstInSequence): ...to here
4706 * paragraph.C (outerHook): move from here...
4707 * paragraph_funcs.C (outerHook): ...to here
4709 * paragraph.C (depthHook): move from here...
4710 * paragraph_funcs.C (depthHook): ...to here
4712 * paragraph.C (getEndLabel): move from here...
4713 * paragraph_funcs.C (getEndLabel): ...to here
4715 * text2.C (realizeFont): move from here...
4716 * paragraph_funcs.C (realizeFont): ...to here
4718 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4720 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4722 2003-04-14 Angus Leeming <leeming@lyx.org>
4724 * LColor.[Ch]: scrap LColor mathcursor.
4726 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4728 * lyxlex.[Ch] (text): delete function
4729 * trans.C (Load): adjust
4730 * paragraph_funcs.C (readParToken): adjust
4732 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4734 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4735 vector<char> instead of a char[].
4737 * lyxlex_pimpl.C (getString): adjust
4739 (lex): use getString
4743 * lyxlex.C (text): use pimpl_->getString()
4747 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4749 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4750 (makeFontEntriesLayoutSpecific): temp var for par.size()
4751 (setLayout): temp var for ownerParagraphs().end()
4752 (fullRebreak): temp var for rows().end()
4753 (selectionAsString): temp var for boost::next(startpit), realize
4754 that the while really is a regular for loop.
4755 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4756 setCursor in one place.
4757 (setParagraph): temp vr for ownerParagraphs().end()
4758 (updateCounters): make the while loop a for loop
4759 (cutSelection): temp var for ownerParagraphs().end()
4760 (updateInset): make the do {} while() a regular for loop
4761 (getCursorX): use temp vars
4762 (setCurrentFont): use temp vars
4763 (getColumnNearX): use temp vars
4765 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4767 * text.C (transformChar): use temp var for getChar
4768 (computeBidiTables): use temp var for row->par()
4769 (fill): move temp vars for row->par() and pit->layout() earlier in
4771 (labelFill): use temp var for row->par()
4772 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4773 asc and desc, realize that pit never changes and that firstpit is
4774 just a duplicate and not needed. Exchange rit->par() with pit in a
4776 (breakAgain): use a temp var for boost::next(rit)
4777 (breakAgainOneRow): ditto
4778 (breakParagraph): use a temp var for rows().begin()
4779 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4780 (cursorRightOneWord): use temp var for cursor.par() and
4781 cursor.pos(), remove usage of tmpcursor.
4782 (cursorLeftOneWord): use temp var for cursor.par() and
4783 cursor.pos() only set cur at end of function.
4785 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4787 * text.C, text2.C: exchange all usage of Paragraph::next with
4788 boost::next(ParagraphList::iterator)
4790 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4792 * text2.C (cursorTop): simplify implementation
4793 (cursorBottom): ditto
4794 (setParagraph): use ParagraphList::iterator
4795 (setCurrentFont): adjust
4796 (getColumnNearX): adjust
4797 (cursorRight): adjust
4798 (cursorLeft): remove usage of Paragraph::previous
4799 (cursorUpParagraph): ditto
4800 (deleteEmptyParagraphMechanism): slight cleanup
4802 * text.C (isBoundary): take a Paragraph const & instead of a
4804 (addressBreakPoint): ditto
4805 (leftMargin): remove usage of Paragraph::previous.
4806 (setHeightOfRow): ditto
4807 (cursorLeftOneWord): ditto
4808 (selectNextWordToSpellcheck): ditto
4811 (breakParagraph): remove one usage of Paragraph::next
4812 (redoParagraph): ditto
4813 (acceptChange): ditto
4814 (insertChar): adjust
4815 (rowBreakPoint): adjust
4817 * bufferview_funcs.C (toggleAndShow): adjust
4819 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4821 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4822 methods to access it.
4824 * text.C: Added updateRowPositions to compute all row positions.
4825 Make top_y and getRowNearY() to use the cached y position
4827 2003-04-11 John Levon <levon@movementarian.org>
4829 * text.C (rowBreakPoint): reintroduce the labelEnd
4830 checks, code copied from the row fill stuff. Deep voodoo.
4832 * text.C (fill): add a comment and debugging for the
4835 2003-04-11 John Levon <levon@movementarian.org>
4837 * text.C: make sure fullrow insets get wrapped to the next line,
4838 even when they're in a manual label
4840 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4842 * text2.C (insertParagraph): make it take ParagraphList::iterator
4844 (setLayout): make it return ParagraphList::iterator
4845 (redoParagraphs): ditto
4847 (checkParagraph): ditto
4849 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4851 * text2.C: adjust several funcs.
4852 (realizeFont): take a ParagraphList::iterator as arg.
4853 (getLayoutFont): ditto
4854 (getLabelFont): ditto
4855 (setCharFont): ditto
4857 * text.C: adjust several funcs.
4859 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4861 * text.C (selectNextWordToSpellcheck): don't accidentally
4864 2003-04-10 John Levon <levon@movementarian.org>
4866 * ToolbarBackend.C (getIcon): special handling for
4869 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4871 * text2.C (cursorRight): a getChar assert fixed
4873 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4875 * text2.C (getFont): change to take a ParagraphList::iterator
4876 instead of Paragraph*
4877 Adjust several functions.
4879 * text.C (transformChar): change to take a ParagraphList::iterator
4880 instead of Paragraph*
4881 (singleWidth): ditto
4882 Adjust several functions.
4884 * rowpainter.C: adjust several functions
4885 * rowpainter.h:store a ParagraphList::iterator and not a
4889 2003-04-09 John Levon <levon@movementarian.org>
4894 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4895 and the "help" bits as well
4897 2003-04-09 John Levon <levon@movementarian.org>
4900 * ToolbarBackend.C: allow multiple toolbars
4902 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4904 * undo_funcs.C (setCursorParUndo): adjust
4906 * text_funcs.C (transposeChars): adjust
4908 * text3.C (gotoNextInset): adjust
4911 * text2.C (setLayout): adjust
4912 (changeDepth): adjust
4914 (redoParagraphs): adjust
4915 (selectionAsString): adjust
4916 (setParagraph): adjust
4917 (insertInset): adjust
4918 (cutSelection): adjust
4919 (copySelection): adjust
4920 (pasteSelection): adjust
4921 (insertStringAsLines): adjust
4922 (updateInset): adjust
4923 (setCursor): change to take a ParagraphList::iterator parameter
4924 (setCursorIntern): change to take a ParagraphList::iterator parameter
4925 (setCurrentFont): adjust
4926 (cursorLeft): adjust
4927 (cursorRight): adjust
4928 (deleteEmptyParagraphMechanism): adjust
4930 * text.C (breakParagraph): adjust
4931 (insertChar): adjust
4932 (acceptChange): adjust
4933 (rejectChange): adjust
4934 (selectNextWordToSpellcheck): adjust
4935 (changeCase): adjust
4939 * lyxfind.C (SearchForward): adjust
4940 (SearchBackward): adjust
4941 (nextChange): adjust
4943 * lyxcursor.C (par): adjust
4945 * lyxcursor.h: store a ParagraphList::iterator instead of a
4948 * lyx_cb.C (getPossibleLabel): adjust
4950 * bufferview_funcs.C (toggleAndShow): adjust
4952 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4955 * BufferView.C (removeAutoInsets): adjust
4956 (lockedInsetStoreUndo): adjust
4958 2003-04-09 John Levon <levon@movementarian.org>
4960 * ToolbarBackend.C: try icon without argument
4961 if with argument fails
4963 2003-04-08 John Levon <levon@movementarian.org>
4966 * ToolbarBackend.C: add getIcon(), handle tooltip,
4967 and change from "Icon" to "Item".
4969 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4971 * BufferView.C (lockInset): another bad getchar crunched
4973 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4975 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4978 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4980 * lyxfind.C (searchForward, searchBackwards): bug 782
4982 2003-04-07 John Levon <levon@movementarian.org>
4984 * paragraph.C: remove dead comment
4986 * text.C: remove troublesome depth-fiddling code
4987 in leftMargin() and rightMargin() (bug 1017)
4989 * text.C: fix breaking of rows in nested lists
4992 * text2.C (updateCounters): fix up depth values
4995 2003-04-07 John Levon <levon@movementarian.org>
4997 * BufferView_pimpl.C: clear message when doc finishes resizing,
4998 and after a mouse event
5000 * lyxfunc.C: clear message after exiting inset
5002 2003-04-07 John Levon <levon@movementarian.org>
5004 * bufferview_funcs.C: show math status not outside
5005 status in the statusbar
5007 2003-04-07 John Levon <levon@movementarian.org>
5009 * lyxfunc.C: note status changed after a depth change
5011 2003-04-04 Angus Leeming <leeming@lyx.org>
5013 * LaTeX.h: move AuxInfo operator==, != out of line.
5014 Remove LaTeX virtual destructor; nothing derives from it.
5015 Move operator()() out of public area and rename it startscript().
5016 Change protected for private.
5018 2003-04-04 Angus Leeming <leeming@lyx.org>
5021 * text2.C: remove unneeded #includes.
5023 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5025 * text2.C (dEPM): fix the heigth of the next row
5027 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5029 * text.C: squashed an invalid getChar requester + some ws changes
5031 2003-04-03 John Levon <levon@movementarian.org>
5033 * bufferview_funcs.h:
5034 * bufferview_funcs.C:
5037 * text2.C: make getStatus work for the env depth lfuns
5039 2003-04-03 John Levon <levon@movementarian.org>
5041 * bufferview_funcs.h:
5042 * bufferview_funcs.C:
5045 * text2.C: parlistize decDepth(), by merging it with incDepth()
5047 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5049 * lyxrow.h: store a ParagraphList::iterator instead of a
5050 Paragraph* and adjust other class functions to suit.
5052 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5055 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5057 * text2.C (setCursor): do not anchor to cursor row for the time being
5059 2003-04-02 John Levon <levon@movementarian.org>
5066 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5068 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5070 * paragraph.h: make ParagraphList and ParagraphList::iterator
5071 friends of Paragraph.
5073 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5075 * ParagraphList.C: Use the private next_ and previous_ from
5078 2003-04-01 John Levon <levon@movementarian.org>
5082 * Makefile.am: rename, remove defaults gunk
5085 * MenuBackend.C: remove defaults gunk
5088 * Languages.C: remove defaults gunk
5091 * lyx_main.C: error out if files couldn't be found.
5093 2003-04-02 John Levon <levon@movementarian.org>
5095 * text2.C: make incDepth() use parlist
5097 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5099 * undo_funcs.C (firstUndoParagraph): adjust
5101 * text3.C (gotoInset): adjust
5102 (dispatch): adjust, and rewrite loop.
5104 * text2.C (init): adjust, and rewrite loop.
5105 (redoParagraphs): adjust
5106 (updateInset): adjust, and rewrite loop.
5107 (deleteEmptyParagraphMechanism): adjust
5109 * tabular.C (LyXTabular): adjust
5110 (SetMultiColumn): adjust
5113 * lyxtext.[Ch] (ownerParagraph): delete function
5114 (ownerParagraphs): new function returns a ParagraphList.
5116 * BufferView.C (removeAutoInsets): adjust
5117 (insertErrors): adjust
5118 (setCursorFromRow): adjust
5120 2003-04-01 Angus Leeming <leeming@lyx.org>
5122 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5125 2003-04-02 John Levon <levon@movementarian.org>
5131 * text_funcs.C: make transposeChars a free function
5133 * lyxrow_funcs.C: remove wrong comment
5135 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5138 * rowpainter.C: adjust
5143 * lyxrow_funcs. [Ch]: new files
5145 * lyxrow.[Ch]: remove next and previous pointers
5146 (next,previous): remove accessor functions
5147 (isParEnd): move to lyxrow_funcs
5148 (lastPos): move to lyxrow_funcs
5149 (nextRowIsAllInset): move to lyxrow_funcs
5150 (lastPrintablePos): move to lyxrow_funcs
5151 (numberOfSeparators): move to lyxrow_funcs
5152 (numberOfHfills): move to lyxrow_funcs
5153 (numberOfLabelHfills): move to lyxrow_funcs
5154 (hfillExpansion): move to lyxrow_funcs
5158 * bufferview_funcs.C (toggleAndShow): adjust
5160 * RowList.h: Remove class RowList from file leave just a
5163 * RowList.C: delete file
5165 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5168 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5170 * text3.C (cursorPrevious): adjust
5171 (cursorNext): adjust
5174 * text2.C (redoHeightOfParagraph): adjust
5175 (redoDrawingOfParagraph): adjust
5178 * text.C (breakParagraph): adjust
5179 (insertChar): adjust
5182 * rowpainter.C (RowPainter): adjust
5183 (leftMargin): simplify and adjust
5184 (most rowpainter functions): adjust.
5186 * rowpainter.h: store the row as RowList::iterator not as Row*
5188 * lyxcursor.C (row): taka RowList::iterator as arg
5191 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5194 2003-04-01 Angus Leeming <leeming@lyx.org>
5196 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5197 stuff like bool Bool.
5199 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5201 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5204 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5206 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5209 * lyxtext.h (rows): drop one version and leve a const variant that
5210 returns a RowList::iterator.
5212 2003-03-31 Angus Leeming <leeming@lyx.org>
5214 * text.C (fill): ensure that the signature is the same as that in the
5217 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5219 * text2.C (redoParagraphs): adjust
5220 (updateCounters): adjust
5221 (checkParagraph): adjust
5222 (getColumnNearX): adjust and reformat a bit.
5224 * text.C (top_y): adjust
5226 (leftMargin): adjust
5227 (prepareToPrint): adjust
5229 (getRowNearY): adjust
5231 * lyxtext.h: make rowlist_ mutable.
5233 * RowList.h: add const_iterator
5234 * RowList.C: adjust for RowList::const_iterator.
5236 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5239 2003-03-31 John Levon <levon@movementarian.org>
5242 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5244 * lyx_main.C: set default fonts from using lyx_gui funcs
5246 * exporter.C: pdf_mode moved from lyxrc
5249 * lyxfunc.C: changes from above
5251 2003-03-31 John Levon <levon@movementarian.org>
5253 * lyx_main.C: fix to the last fix
5255 2003-03-31 John Levon <levon@movementarian.org>
5257 * bufferlist.C: "Load original" -> "Load Original"
5263 * format.C: more Alert cleanups
5265 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5267 * text2.C (removeParagraph): make it take a RowList::iterator as
5269 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5270 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5272 * text.C (anchor_row): make it take a RowList::iterator as arg,
5274 (computeBidiTables): make it take a const reference to Row instead
5275 of Row pointer, adjust.
5276 (leftMargin): make it take a RowList::iterator as arg, adjust.
5277 (rowBreakPoint): adjust
5278 (breakAgainOneRow): make it take a RowList::iterator as arg,
5280 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5282 * bufferview_funcs.C (toggleAndShow): adjust
5284 2003-03-30 John Levon <levon@movementarian.org>
5288 * boost-inst.C: moved to support
5290 * several files: changes as a result
5292 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5294 * text2.C (LyXText): adjust.
5296 (removeRow): make it take a RowList::iterator as arg, adjust.
5297 (fullRebreak): adjust
5298 (deleteEmptyParagraphMechanism): adjust
5299 (clearPaint): adjust
5302 * text.C (top_y): adjust
5303 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5304 (breakAgain): make it take a RowList::iterator as arg, adjust.
5305 (breakParagraph): adjust
5306 (insertChar): adjust
5309 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5310 need_break_row, and refresh_row.
5312 * text3.C (dispatch): adjust
5314 * text2.C (checkParagraph): adjust
5316 (setCursorFromCoordinates): adjust
5318 * text.C (top_y): adjust
5320 (getRow): make it return a RowList::iterator, adjust
5321 (getRowNearY): make it return a RowList::iterator, adjust
5323 * text2.C (init): adjust
5324 (insertRow): remove function
5325 (insertParagraph): adjust
5326 (redoParagraphs): adjust
5327 (fullRebreak): adjust
5328 (updateCounters): adjust
5330 * text.C (top_y): rewrite to use RowList iterators.
5332 (setHeightOfRow): rewrite to sue RowList iterators.
5333 (appendParagraph): adjust
5334 (breakAgain): adjust
5335 (breakAgainOneRow): adjust
5336 (breakParagraph): adjust
5338 (getRowNearY): adjust, and remove commented code.
5340 * lyxtext.h (firstRow): delete function
5341 (lastRow): delete function
5342 (rows): new function (const and non-const versions.)
5343 (insertRow): delete function
5345 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5347 2003-03-29 John Levon <levon@movementarian.org>
5349 * BufferView_pimpl.C: always update scrollbar top
5350 because pasting text when we're anchored could mean we
5351 miss an update altogether
5353 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5355 * text2.C (init): use rowlist_.end() and not 0.
5356 (insertRow): change to take a RowList::iterator as arg, adjust
5358 (insertParagraph): change to take a RowList::iterator as arg,
5360 (redoParagraphs): remove some debug msgs.
5362 * text.C (appendParagraph): change to take a RowList::iterator
5363 arg, adjust for this.
5364 (breakAgain): add an assert
5365 (breakAgainOneRow): ditto
5367 2003-03-29 John Levon <levon@movementarian.org>
5369 * text2.C: do not clear selection after inc/decDepth
5372 2003-03-29 John Levon <levon@movementarian.org>
5375 * buffer.C: fix broken strerrors according to Lars
5377 2003-03-29 John Levon <levon@movementarian.org>
5379 * converters.C: more Alert cleanups
5381 2003-03-29 John Levon <levon@movementarian.org>
5383 * bufferview_funcs.C: remove pointless Alert
5385 * buffer.C: fix confusing error message when
5386 a template is chmoded 000
5388 2003-03-29 John Levon <levon@movementarian.org>
5392 * BufferView_pimpl.C: Alert fixes
5396 * tabular-old.C: remove unused table compat reading
5398 2003-03-29 John Levon <levon@movementarian.org>
5403 * lyx_cb.C: more Alert cleanups
5405 * lyxfunc.C: don't allow chktex if not latex document
5407 2003-03-29 John Levon <levon@movementarian.org>
5411 * buffer.C: warnings pushed down from support/,
5414 2003-03-29 John Levon <levon@movementarian.org>
5416 * lyxfunc.C: safety check for C-r (revert)
5418 2003-03-29 John Levon <levon@movementarian.org>
5421 * bufferlist.C: several UI fixes using Alert::prompt.
5422 Fix the pointless looping quit code. Fix stupid revert
5427 * lyx_cb.C: use Alert::prompt
5429 * lyx_main.C: remove a silly question
5431 * lyxfunc.C: remove a couple of silly questions,
5434 2003-03-28 John Levon <levon@movementarian.org>
5436 * text2.C: fix bug 974 (End on empty par)
5438 2003-03-28 John Levon <levon@movementarian.org>
5440 * BufferView_pimpl.C:
5442 * lfuns.h: remove do-nothing math greek lfuns
5444 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5446 * lyxgluelength.h (isValidGlueLength): add default arg on
5447 parameter 2. Remove default arg from friend in class.
5449 * lyxlength.h (isValidLength): add default arg on parameter 2.
5450 Remove default arg from friend in class.
5452 * text2.C (LyXText): adjust, initialize refresh_row.
5456 (insertParagraph): adjst
5457 (redoParagraphs): adjust
5458 (fullRebreak): adjust
5459 (updateCounters): adjust
5460 (deleteEmptyParagraphMechanism): first attempt at fixing a
5463 * text.C (top_y): adjust
5464 (setHeightOfRow): adjust
5466 (getRowNearY): adjust
5468 * lyxtext.h: include RowList.h
5469 (~LyXText): not needed anymore, deleted.
5470 (firstRow): modify for RowList
5471 (lastRow): new function
5472 Delete firstrow and lastrow class variables, add a Rowlist
5473 rowlist_ class variable.
5475 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5478 * RowList.C (insert): fix case where it == begin().
5480 2003-03-26 Angus Leeming <leeming@lyx.org>
5482 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5483 the thesaurus dialog.
5485 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5487 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5489 * RowList.[Ch]: new files
5491 * ParagraphList.C (erase): handle the case where it == begin
5494 2003-03-25 John Levon <levon@movementarian.org>
5498 * aspell.C: add new aspell support
5501 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5504 2003-03-25 Angus Leeming <leeming@lyx.org>
5507 * LyXAction.C (init): new LFUN_INSET_INSERT.
5509 * BufferView_pimpl.C (dispatch): split out part of the
5510 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5512 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5515 2003-03-25 Angus Leeming <leeming@lyx.org>
5517 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5519 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5522 * text3.C: remove useless row->height(0)
5524 2003-03-25 John Levon <levon@movementarian.org>
5528 * text3.C: rename the refreshing stuff to better names
5530 2003-03-24 John Levon <levon@movementarian.org>
5532 * BufferView_pimpl.h:
5533 * BufferView_pimpl.C: update layout choice on a mouse
5536 2003-03-23 John Levon <levon@movementarian.org>
5538 * Makefile.am: fix commandtags.h reference
5540 2003-03-22 John Levon <levon@movementarian.org>
5542 * BufferView_pimpl.C:
5547 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5549 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5552 * text.C: take the rtl methods out of line
5554 2003-03-21 André Pönitz <poenitz@gmx.net>
5556 * metricsinfo.[Ch]: new files containing structures to be passed around
5557 during the two-phase-drawing...
5559 2003-03-21 André Pönitz <poenitz@gmx.net>
5561 * lyxtextclass.C: read 'environment' tag.
5563 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5565 * text2.C (removeRow): fix bug 964
5567 2003-03-20 John Levon <levon@movementarian.org>
5571 * text2.C: paint cleanups. Inset::update() dropped font
5574 2003-03-19 John Levon <levon@movementarian.org>
5576 * lyxfunc.C: only fitcursor/markDirty if available()
5578 2003-03-19 John Levon <levon@movementarian.org>
5580 * commandtags.h: rename to ...
5582 * lfuns.h: ... this, and renumber / cleanup
5584 2003-03-19 John Levon <levon@movementarian.org>
5586 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5587 fit the cursor after an lfun
5591 * BufferView_pimpl.h:
5592 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5594 * LyXAction.C: layout-character should have ReadOnly
5596 * ParagraphParameters.C:
5598 * bufferview_funcs.C:
5605 * undo_funcs.C: changes from above
5607 2003-03-18 John Levon <levon@movementarian.org>
5609 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5610 remove it from update()
5612 * lyxfunc.C: update layout choice after an lfun
5614 * text3.C: remove extra updateLayoutChoice()s
5616 2003-03-18 John Levon <levon@movementarian.org>
5618 * text.C: top_y change means full repaint, fix
5619 a drawing bug with cursor movement
5621 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5625 * text2.C: anchor row on setCursor
5627 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5629 * lyxtext.h: remove almost all mutable keywords
5632 * text3.C: remove const keywords accordingly
5634 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5636 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5638 (TeXEnvironment): ditto
5641 2003-03-17 John Levon <levon@movementarian.org>
5643 * text.C (rowBreakPoint): remove attempt to fix displayed
5644 math insets inside a manual label
5646 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5648 * lyxtext.h: remove BufferView* as first arg from almost all class
5650 * other files: adjust.
5652 2003-03-17 John Levon <levon@movementarian.org>
5656 * text2.C: more paint cleanups
5658 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5661 * rowpainter.C: remove "smart" background painting code
5663 2003-03-16 John Levon <levon@movementarian.org>
5668 * text3.C: add helper functions for setting refresh_row/y
5670 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5672 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5673 newline inset which *can* get inserted in the pass_thru layouts.
5674 This is primarily for literate documents.
5676 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5678 * buffer.C: increment LYX_FORMAT to 223
5680 2003-03-14 André Pönitz <poenitz@gmx.net>
5682 * textclass.h: prepare for environment handling, ws changes
5683 * lyxlayout.C: read latexheader and latexfooter tags
5685 2003-03-14 John Levon <levon@movementarian.org>
5687 * text2.C: rewrite ::status() a bit
5689 2003-03-13 John Levon <levon@movementarian.org>
5691 * lyxtext.h: add some docs
5693 2003-03-13 John Levon <levon@movementarian.org>
5698 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5700 2003-03-13 John Levon <levon@movementarian.org>
5702 * text3.C: fix appendix redrawing
5704 2003-03-13 John Levon <levon@movementarian.org>
5706 * text.C (setHeightOfRow):
5708 * rowpainter.C: make appendix mark have the text
5709 "Appendix" so the user knows what it is
5712 * LColor.C: s/appendixline/appendix/ from above
5714 2003-03-13 John Levon <levon@movementarian.org>
5716 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5718 * text.C: fix a getChar(pos) bug properly
5720 2003-03-13 Angus Leeming <leeming@lyx.org>
5723 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5724 Probably only temporary. Let's see how things pan out.
5726 * BufferView.C (unlockInset):
5727 * BufferView_pimpl.C (fitCursor):
5728 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5730 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5731 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5733 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5734 new functions that convert ParagraphParameters to and from a string.
5736 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5737 BufferView::Pimpl's dispatch.
5738 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5740 2003-03-13 André Pönitz <poenitz@gmx.net>
5744 * factory.C: make it aware of InsetEnv
5746 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5748 * text2.C (setCursor): never ask for one past last
5749 (setCursor): add some debugging messages.
5751 * text.C (singleWidth): never ask for one past last
5752 (singleWidth): ditto
5754 (rightMargin): ditto
5755 (rowBreakPoint): ditto
5756 (setHeightOfRow): ditto
5757 (prepareToPrint): ditto
5759 * rowpainter.C (paintBackground): never ask for one past last
5760 (paintText): never ask for one past last
5762 * paragraph_pimpl.C (getChar): make the assert stricter, never
5763 allow the one past last pos to be taken
5765 * paragraph.C (getChar): ws changes only
5767 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5768 (numberOfSeparators): ditto
5769 (numberOfHfills): ditto
5771 2003-03-12 John Levon <levon@movementarian.org>
5777 * paragraph_funcs.C: fix per-buffer authorlists
5779 2003-03-12 John Levon <levon@movementarian.org>
5781 * text.C: fix newline in right address
5783 2003-03-12 Angus Leeming <leeming@lyx.org>
5785 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5786 duplicate those in LyXFunc::dispatch.
5790 * ToolbarDefaults.C:
5791 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5792 Add LFUN_FONTFREE_UPDATE.
5794 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5795 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5797 * bufferview_func.[Ch]: several new functions to facilliate
5798 transfer of data to and from the character dialog.
5800 2003-03-12 John Levon <levon@movementarian.org>
5805 * paragraph_funcs.C:
5806 * paragraph_pimpl.C:
5810 * text3.C: remove META_NEWLINE in favour of an inset
5813 * rowpainter.C: remove paintNewline (done by inset)
5815 2003-03-12 John Levon <levon@movementarian.org>
5817 * paragraph_pimpl.C: complain about bad getChar()s
5818 for a while at least
5820 2003-03-12 John Levon <levon@movementarian.org>
5823 * buffer.C: move paragraph read into a separate function,
5824 a little renaming to reflect that.
5827 * bufferparams.C: remove the author_ids map, not necessary now
5830 * factory.C: moved Buffer::readInset to here
5832 * paragraph_funcs.h:
5833 * paragraph_funcs.C: readParagraph free function moved from
5836 * tabular.C: name change
5838 2003-03-12 John Levon <levon@movementarian.org>
5841 * ParagraphParameters.C: move par params input to
5844 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5845 behave like a normal read from the stream wrt reading
5846 a line vs. a \\token
5848 2003-03-12 John Levon <levon@movementarian.org>
5851 * ParagraphParameters.h:
5852 * ParagraphParameters.C: move output code to a
5855 2003-03-12 John Levon <levon@movementarian.org>
5857 * BufferView.C (insertLyXFile):
5860 * tabular.C: use a parlist iterator for creating the
5863 2003-03-12 John Levon <levon@movementarian.org>
5865 * buffer.C: make current_change static local not
5868 2003-03-12 John Levon <levon@movementarian.org>
5870 * buffer.C: fix insertStringAsLines for change tracking
5872 2003-03-12 John Levon <levon@movementarian.org>
5879 * bufferparams.C: move author list into params. Rename some
5880 functions. Move the header reading into a separate token
5881 loop. Move the header token reading into BufferParams.
5883 2003-03-12 John Levon <levon@movementarian.org>
5885 * changes.C: put debug inside lyxerr.debugging() checks
5887 2003-03-11 André Pönitz <poenitz@gmx.net>
5889 * factory.C: make it aware of InsetHFill
5891 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5893 * buffer.C (latexParagraphs): move function from here...
5894 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5897 2003-03-10 Angus Leeming <leeming@lyx.org>
5899 * LyXAction.C (init): fix bug in poplating array with multiple entries
5900 with the same LFUN (spotted by JMarc).
5902 2003-03-10 John Levon <levon@movementarian.org>
5905 * text2.C: move getColumnNearX() near its
5908 2003-03-10 John Levon <levon@movementarian.org>
5910 * text.C: fix break before a minipage
5912 2003-03-10 John Levon <levon@movementarian.org>
5914 * text.C: fix the last commit
5916 2003-03-09 John Levon <levon@movementarian.org>
5920 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5921 bug 365 (don't break before insets unless needed). Don't
5922 return a value > last under any circumstances.
5924 2003-03-09 Angus Leeming <leeming@lyx.org>
5926 * BufferView_pimpl.C (trackChanges, dispatch): call
5927 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5929 2003-03-09 Angus Leeming <leeming@lyx.org>
5931 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5932 than Dialogs::showAboutlyx().
5934 2003-03-09 Angus Leeming <leeming@lyx.org>
5936 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5937 than Dialogs::showTabularCreate().
5939 2003-03-09 John Levon <levon@movementarian.org>
5943 * text2.C: 3rd arg to nextBreakPoint was always the same.
5946 2003-03-08 John Levon <levon@movementarian.org>
5953 * text2.C: Remove the "main" bit from the "main body"
5956 2003-03-08 John Levon <levon@movementarian.org>
5958 * text.C (leftMargin): The left margin of an empty
5959 manual label paragraph should not include the label width
5962 * text.C (prepareToPrint): don't attempt to measure hfills
5963 for empty manual label paragraphs - the answer should be 0
5965 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5967 * CutAndPaste.C: remove commented code and reindent.
5969 2003-03-08 John Levon <levon@movementarian.org>
5972 * lyxfunc.C: move reloadBuffer()
5975 * BufferView.C: to here
5977 * lyxvc.C: add comment
5980 * vc-backend.C: call bv->reload() to avoid
5981 getStatus() check on MENURELOAD
5983 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5985 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5986 to an old format .dep file.
5988 2003-03-07 Angus Leeming <leeming@lyx.org>
5990 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5991 when the LFUN_MOUSE_RELEASE should have been handled by
5992 inset->localDispatch.
5994 2003-03-07 Angus Leeming <leeming@lyx.org>
5996 * BufferView_pimpl.C (dispatch):
5997 * LyXAction.C (init):
5998 * ToolbarDefaults.C (init):
6000 * lyxfunc.C (getStatus):
6001 remove LFUN_INSET_GRAPHICS.
6003 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6005 2003-03-07 Angus Leeming <leeming@lyx.org>
6008 * LyXAction.C (init):
6009 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6011 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6014 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6016 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6017 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6019 2003-03-07 Angus Leeming <leeming@lyx.org>
6021 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6024 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6026 * ParagraphList.C (front): new function
6029 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6031 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6032 and top_row_offset_. removed var first_y.
6034 * text2.C (LyXText, removeRow):
6036 * BufferView_pimpl.C:
6037 use these methods instead of using first_y
6039 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6041 * text2.C (pasteSelection): adjust for checkPastePossible
6043 * CutAndPaste.C: remove Paragraph * buf and replace with
6044 ParagraphList paragraphs.
6045 (DeleteBuffer): delete
6046 (cutSelection): change the tc type to textclass_type
6047 (copySelection): change the tc type to textclass_type
6048 (copySelection): adjust for ParagraphList
6049 (pasteSelection): change the tc type to textclass_type
6050 (pasteSelection): adjust for Paragraphlist
6051 (nrOfParagraphs): simplify for ParagraphList
6052 (checkPastePossible): simplify for ParagraphList
6053 (checkPastePossible): remove unused arg
6055 * ParagraphList.C (insert): handle the case where there are no
6058 * CutAndPaste.h: make CutAndPaste a namespace.
6060 * text3.C (dispatch): adjust
6062 * text.C (breakParagraph): add a ParagraphList as arg
6064 * paragraph_funcs.C (breakParagraph): change to take a
6065 BufferParams and a ParagraphList as args.
6066 (breakParagraphConservative): ditto
6067 (mergeParagraph): ditto
6068 (TeXDeeper): add a ParagraphList arg
6069 (TeXEnvironment): ditto
6072 * buffer.C (readLyXformat2): adjust
6073 (insertStringAsLines): adjust
6074 (latexParagraphs): adjust
6076 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6077 (cutSelection): adjust
6078 (pasteSelection): adjust
6080 * BufferView_pimpl.C (insertInset): adjust
6082 2003-03-05 Angus Leeming <leeming@lyx.org>
6085 * LyXAction.C (init):
6086 * BufferView_pimpl.C (dispatch):
6087 * lyxfunc.C (getStatus):
6088 remove LFUN_CHILD_INSERT.
6090 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6092 2003-03-05 Angus Leeming <leeming@lyx.org>
6095 * LyXAction.C (init):
6096 * src/factory.C (createInset):
6097 * lyxfunc.C (getStatus):
6098 * text3.C (dispatch):
6099 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6101 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6103 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6105 * ParagraphList.C (insert): handle insert right before end()
6106 (erase): fix cases where it can be first or last paragraph.
6108 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6110 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6111 Paragraph::next and Paragraph::previous
6114 * text.C (breakParagraph): adjust
6116 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6117 BufferParams& as arg.
6118 (breakParagraph): use ParagraphList::insert
6119 (breakParagraphConservative): take a Buffer* instead of a
6120 BufferParams& as arg.
6121 (breakParagraphConservative): use ParagraphList::insert.
6123 * buffer.C (insertStringAsLines): un-const it
6124 (insertStringAsLines): adjust
6126 * ParagraphList.C (insert): new function
6128 * CutAndPaste.C (pasteSelection): adjust
6130 * text.C (backspace): adjust
6132 * tabular.C (SetMultiColumn): adjust
6134 * CutAndPaste.C (cutSelection): adjust
6135 (pasteSelection): adjust
6137 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6138 Buffer const * as arg
6140 * ParagraphList.C (erase): new function
6141 * paragraph_funcs.C (mergeParagraph): use it
6142 (mergeParagraph): make it take a Buffer* instead of a
6143 BufferParams* as arg
6145 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6147 (breakParagraphConservative): ditto
6149 * paragraph.h: remove the breakParagraph friend
6151 * paragraph.C (eraseIntern): new function
6152 (setChange): new function
6154 * paragraph_funcs.C (mergeParagraph): make it take a
6155 ParagraphList::iterator instead of a Paragraph *, adjust
6158 * paragraph.h: move an #endif so that the change tracking stuff
6159 also works in the NO_NEXT case.
6161 2003-03-04 Angus Leeming <leeming@lyx.org>
6164 * LyXAction.C: new LFUN_INSET_MODIFY.
6166 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6167 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6169 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6171 * several files: ws changes only
6173 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6174 (TeXEnvironment): ditto
6177 * buffer.C (makeLaTeXFile): adjust
6178 (latexParagraphs): make it take ParagraphList::iterator as args
6180 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6182 * buffer.C (latexParagraphs): adjust
6184 * paragraph.C (TeXOnePar): move function...
6185 (optArgInset): move function...
6186 (TeXEnvironment): move function...
6187 * paragraph_pimpl.C (TeXDeeper): move function...
6188 * paragraph_funcs.C: ...here
6190 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6192 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6194 * buffer.C (readInset): remove compability code for old Figure and
6197 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6199 * buffer.C: ws changes
6202 * BufferView_pimpl.C: ditto
6205 * bufferlist.h: ditto
6209 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6211 * converter.[Ch]: split into itself +
6214 * Makefile.am: += graph.[Ch] + format.[Ch]
6221 * lyxrc.C: added #include "format.h"
6223 2003-02-27 Angus Leeming <leeming@lyx.org>
6225 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6228 * factory.C (createInset): add "label" to the factory.
6230 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6231 string and do no more.
6233 2003-02-27 Angus Leeming <leeming@lyx.org>
6236 * LyXAction.C (init):
6237 * factory.C (createInset):
6238 * BufferView_pimpl.C (dispatch):
6239 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6241 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6243 * lyxfunc.C (dispatch):
6244 * text3.C (dispatch): pass name to params2string.
6246 2003-02-26 Angus Leeming <leeming@lyx.org>
6248 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6250 Rearrange the ~includes. Strip out the unnecessary ones.
6252 * factory.C (createInset): reformat.
6253 create new insets for the various LFUN_XYZ_APPLY lfuns.
6255 2003-02-26 John Levon <levon@movementarian.org>
6258 * lyxrow.C: add isParStart,isParEnd helpers
6260 * paragraph.h: make isInserted/DeletedText take refs
6262 * paragraph_funcs.h:
6263 * paragraph_funcs.C: remove #if 0'd code
6268 * text.C: use lyxrow helpers above.
6269 Move draw and paint routines to RowPainter.
6270 Make several methods use refs not pointers.
6271 Make backgroundColor() const.
6272 Add markChangeInDraw(), isInInset().
6273 Merge changeRegionCase into changeCase.
6274 Make workWidth() shouldn't-happen code into an Assert.
6277 * rowpainter.C: new class for painting a row.
6280 * vspace.C: make inPixels take a ref
6282 2003-02-26 Angus Leeming <leeming@lyx.org>
6284 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6287 2003-02-25 John Levon <levon@movementarian.org>
6289 * ispell.C: give the forked command a more accurate name
6291 2003-02-22 John Levon <levon@movementarian.org>
6294 * toc.C: make TocItem store an id not a Paragraph *
6297 2003-02-21 Angus Leeming <leeming@lyx.org>
6299 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6300 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6301 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6302 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6303 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6304 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6306 * BufferView_pimpl.C (dispatch):
6307 * LyXAction.C (init):
6308 * factory.C (createInset):
6309 * lyxfunc.C (getStatus, dispatch):
6310 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6312 2003-02-21 Angus Leeming <leeming@lyx.org>
6314 * BufferView_pimpl.C (MenuInsertLyXFile):
6315 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6316 * lyxfunc.C (menuNew, open, doImport):
6317 no longer pass a LyXView & to fileDlg.
6319 2003-02-21 Angus Leeming <leeming@lyx.org>
6321 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6322 * LyXAction.C: change, BIBKEY to BIBITEM.
6323 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6324 Change InsetBibKey to InsetBibitem.
6325 Change BIBKEY_CODE to BIBITEM_CODE.
6326 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6327 * factory.C: replace insetbib.h with insetbibitem.h.
6328 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6329 * paragraph.C: replace insetbib.h with insetbibitem.h.
6330 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6331 Change bibkey() to bibitem().
6332 * text.C: remove insetbib.h.
6333 * text2.C: replace insetbib.h with insetbibitem.h.
6334 change bibkey() to bibitem().
6335 * text3.C: remove insetbib.h.
6336 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6338 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6340 * lyxrc.C (output): enclose user email in quotes (in case there are
6343 2003-02-18 John Levon <levon@movementarian.org>
6345 * buffer.h: add std::
6347 2003-02-17 John Levon <levon@movementarian.org>
6353 * pspell.C: reworking. Especially in ispell, a large
6354 number of clean ups and bug fixes.
6356 * lyxfunc.C: fix revert to behave sensibly
6358 2003-02-17 André Pönitz <poenitz@gmx.net>
6361 * commandtags.h: new LFUN_INSERT_BIBKEY
6371 * paragraph_func.C: remove special bibkey handling
6373 2003-02-17 John Levon <levon@movementarian.org>
6375 * text.C (Delete): fix case where delete at the end of
6376 the very first paragraph would not merge the pars
6378 2003-02-17 John Levon <levon@movementarian.org>
6380 * lyxrow.C: fix lastPrintablePos()
6382 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6384 * bufferparams.C (writeLaTeX): add a std:here
6386 * buffer.C: and remove a using directive there
6388 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6390 * buffer.C (makeLaTeXFile): move the code that generates the
6393 * bufferparams.C (writeLaTeX): ... in this new method
6395 * LaTeXFeatures.C (getEncodingSet): make const
6396 (getLanguages): make const
6398 * MenuBackend.C (binding): returns the binding associated to this
6400 (add): sets the status of each item by calling getStatus. Adds
6402 (read): add support for OptSubMenu
6403 (expand): remove extra separator at the end of expanded menu
6405 2003-02-15 John Levon <levon@movementarian.org>
6408 * BufferView_pimpl.C:
6410 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6411 inset code that had no actual effect. Remove unneeded status
6414 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6416 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6419 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6421 * text.C (drawLengthMarker): also draw an arrow marker for
6422 symbolic lengths (medskip...)
6424 2003-02-14 John Levon <levon@movementarian.org>
6427 * tabular.C: better method names
6429 2003-02-14 John Levon <levon@movementarian.org>
6431 * BufferView_pimpl.C:
6436 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6437 it's a more accurate name. Remove some pointless uses.
6439 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6441 * text2.C (LyXText): change order of initilizers to shut off
6444 2003-02-14 John Levon <levon@movementarian.org>
6446 * buffer.C: use ParIterator for getParFromID()
6450 * paragraph_pimpl.h:
6451 * paragraph_pimpl.C: remove unused getParFromID()
6453 2003-02-14 John Levon <levon@movementarian.org>
6455 * buffer.C: remove some very old #if 0'd parse code
6457 2003-02-13 John Levon <levon@movementarian.org>
6461 * text2.C: move hfillExpansion(), numberOfSeparators(),
6462 rowLast(), rowLastPrintable(), numberofHfills(),
6463 numberOfLabelHfills() ...
6466 * lyxrow.C: ... to member functions here.
6471 * text.C: remove LyXText::beginningOfMainBody(), and call
6472 p->beginningOfMainBody() directly. Move the check for
6473 LABEL_MANUAL into the latter.
6480 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6486 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6487 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6489 2003-02-13 John Levon <levon@movementarian.org>
6491 * CutAndPaste.C: remove debug
6493 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6495 * paragraph.C (asString): remove two unused variables
6497 * lyxtextclass.C (readTitleType):
6499 (LyXTextClass): handle new members titletype_ and titlename_
6501 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6503 2003-02-09 John Levon <levon@movementarian.org>
6506 * buffer.C: replace hand-coded list with a map for the dep clean
6508 2003-02-08 John Levon <levon@movementarian.org>
6510 * LaTeX.C: consolidate code into showRunMessage() helper
6512 2003-02-08 John Levon <levon@movementarian.org>
6517 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6518 and pass the size in explicitly
6520 * BufferView_pimpl.h:
6521 * BufferView_pimpl.C:
6523 * BufferView.C: add getCurrentChange()
6525 * BufferView_pimpl.h:
6526 * BufferView_pimpl.C: handle change lfuns
6528 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6529 for changes. Mark pasted paragraphs as new.
6531 * support/lyxtime.h:
6532 * support/lyxtime.C:
6533 * DepTable.C: abstract time_t as lyx::time_type
6536 * LColor.C: add colours for new text, deleted text, changebars
6538 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6539 package use "usenames" option.
6543 * LyXAction.C: add change lfuns
6547 * author.C: author handling
6550 * buffer.C: add a per-buffer author list, with first entry as
6551 current author. Handle new .lyx tokens for change tracking. Output
6552 author list to .lyx file. Output dvipost stuff to .tex preamble.
6553 Bump lyx format to 222.
6556 * bufferlist.C: add setCurrentAuthor() to reset current author details
6560 * bufferparams.C: add param for tracking
6562 * bufferview_funcs.C: output change info in minibuffer
6566 * changes.C: add change-tracking structure
6569 * debug.C: add CHANGES debug flag
6572 * lyxfind.C: add code for finding the next change piece
6575 * lyxrc.C: add user_name and user_email
6578 * lyxrow.C: add a metric for the top of the text line
6581 * text.C: implement accept/rejectChange()
6584 * text.C: paint changebars. Paint new/deleted text in the chosen
6585 colours. Strike through deleted text.
6589 * paragraph_pimpl.h:
6590 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6591 in the current change to the insert functions. Rework erase to
6592 mark text as deleted, adding an eraseIntern() and a range-based
6593 erase(). Implement per-paragraph change lookup and
6596 * paragraph_funcs.C: Fixup paste for change tracking.
6598 * tabular.C: mark added row/columns as new.
6600 * text.C: fix rowLast() to never return -1. Don't allow
6601 spellchecking of deleted text. Track transpose changes. Don't
6602 allow paragraph break or merge where appropriate.
6604 * text2.C: leave cursor at end of selection after a cut.
6606 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6608 * text.C (getLengthMarkerHeight):
6609 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6610 visible on screen too.
6612 2003-02-07 John Levon <levon@movementarian.org>
6614 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6616 2003-02-05 Angus Leeming <leeming@lyx.org>
6618 * lyxserver.C (read_ready): revert my patch of 11 September last year
6619 as it sends PC cpu through the roof. Presumably this means that
6620 the lyxserver will no longer run on an Alpha...
6622 2003-01-30 Angus Leeming <leeming@lyx.org>
6624 * factory.C (createInset): create an InsetCommandParam of type "index"
6625 and use it to 'do the right thing'.
6627 * text2.C (getStringToIndex): ensure that cursor position is always
6628 reset to the reset_cursor position.
6630 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6632 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6635 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6639 * lyxfunc.C: Output messages with identical spelling, punctuation,
6642 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6644 * MenuBackend.C (expandFormats): List only viewable export formats
6647 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6650 * lyxfunc.C (getStatus): Make sure that formats other than
6651 "fax" can also be disabled
6653 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6655 * text3.C (dispatch): put the lfuns that insert insets in 3
6656 groups, and call doInsertInset with appropriate arguments.
6657 (doInsertInset): new function, that creates an inset and inserts
6658 it according to some boolean parameters.
6660 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6662 * buffer.C (readFile): remember to pass on 'par' when calling
6663 readFile recursively.
6665 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6667 * MenuBackend.C (expandFormats): add "..." to import formats.
6669 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6671 * paragraph.C (asString): Remove XForms RTL hacks.
6673 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6674 * buffer.C: fix typo
6676 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6678 * Makefile.am (LIBS): delete var
6679 (lyx_LDADD): add @LIBS@ here instead.
6681 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6683 * Clarify the meaning of "wheel mouse jump"
6685 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6687 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6690 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6692 * importer.C (Loaders): do not preallocate 3 elements in the
6693 vector, since one ends up with 6 elements otherwise
6695 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6697 * DepTable.C (write): write the file name as last element of the
6698 .dep file (because it may contain spaces)
6699 (read): read info in the right order
6701 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6703 * paragraph_pimpl.C (simpleTeXBlanks):
6704 (simpleTeXSpecialChars):
6705 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6707 * tabular.C (latex): add some missing case statements. Reindent.
6709 * MenuBackend.C (expandToc): remove unused variable.
6711 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6720 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6723 2003-01-05 John Levon <levon@movementarian.org>
6726 * BufferView.C: add getEncoding()
6729 * kbsequence.C: do not store last keypress
6732 * lyxfunc.C: store last keypress here instead. Pass encoding
6735 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6737 * lyx_main.C (init): remove annoying error message when following
6738 symbolic links (bug #780)
6740 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6742 * text.C (insertChar):
6743 * lyxrc.C (getDescription): remove extra spaces
6745 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6747 * lyxrc.C (getDescription): remove extra spaces
6749 2002-12-20 John Levon <levon@movementarian.org>
6751 * text3.C: hack fix for page up/down across tall rows
6753 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6755 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6758 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6760 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6761 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6762 thesaurus is not compiled in
6764 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6766 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6768 2002-12-16 Angus Leeming <leeming@lyx.org>
6771 * lyx_main.C (init): remove override_x_deadkeys stuff.
6773 2002-12-12 John Levon <levon@movementarian.org>
6775 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6776 insert. Only remove shift modifier under strict
6779 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6781 * MenuBackend.C (expandToc): fix crash.
6783 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6785 * MenuBackend.C (expandToc): gettext on float names.
6787 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6789 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6790 implement bool empty() [bug 490]
6792 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6794 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6796 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6798 * several files: ws changes
6800 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6802 * text2.C (setCounter): clean up a bit, use boost.format.
6803 (updateCounters): initialize par upon declaration.
6805 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6806 if the layout exists. We do not just store the layout any more.
6807 (SwitchLayoutsBetweenClasses): use boost.format
6809 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6811 * converter.C (convert): if from and to files are the same, use a
6812 temporary files as intermediary
6814 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6817 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6819 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6821 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6823 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6825 * tabular.C (asciiPrintCell): use string(size, char) instead of
6828 * sgml.C (openTag): fix order of arguments to string constructor
6831 * lyxfunc.C (dispatch): use boost.format
6833 * lots of files: change "c" -> 'c'
6835 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6837 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6839 2002-11-25 Angus Leeming <leeming@lyx.org>
6841 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6843 * lyx_main.C (init): compile fix.
6845 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6847 * lyx_cb.C (start): boost.formatify
6848 do not include <iostream>
6850 * lengthcommon.C: ws only
6852 * boost-inst.C,BoostFormat.h: add more explict instantations
6854 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6856 * lots of files: handle USE_BOOST_FORMAT
6858 2002-11-21 John Levon <levon@movementarian.org>
6860 * pspell.C: fix compile
6862 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6864 * lyxfunc.C (dispatch): use boost::format
6868 * lyxfont.C (stateText): use boost::format
6870 * lyx_main.C (LyX): use boost::format
6872 (queryUserLyXDir): ditto
6875 (typedef boost::function): use the recommened syntax.
6877 * importer.C (Import): use boost::format
6879 * debug.C (showLevel): use boost::format
6881 * converter.C (view): use boost::format
6886 * bufferview_funcs.C (currentState): use boost::format
6888 * bufferlist.C (emergencyWrite): use boost::format
6890 * buffer.C (readLyXformat2): use boost::format
6891 (parseSingleLyXformat2Token): ditto
6893 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6895 * LaTeX.C (run): use boost::format
6897 * Chktex.C (scanLogFile): use boost::format
6899 * BufferView_pimpl.C (savePosition): use boost::format
6900 (restorePosition): ditto
6901 (MenuInsertLyXFile): ditto
6903 * BoostFormat.h: help file for explicit instation.
6905 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6907 * tabular.C (latex): Support for block alignment in fixed width
6910 2002-11-17 John Levon <levon@movementarian.org>
6912 * BufferView_pimpl.C:
6914 * lyxfunc.C: split filedialog into open/save
6916 2002-11-08 Juergen Vigna <jug@sad.it>
6918 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6919 by my last patch (hopefully).
6921 2002-11-08 John Levon <levon@movementarian.org>
6930 * toc.C: ParConstIterator, and use it (from Lars)
6932 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6934 * lyxtextclass.[Ch]: revise and add doxygen comments
6936 2002-11-07 John Levon <levon@movementarian.org>
6938 * text.C: fix progress value for spellchecker
6940 * toc.C: fix navigate menu for insetwrap inside minipage
6942 * paragraph_funcs.C: added FIXME for suspect code
6944 2002-11-07 John Levon <levon@movementarian.org>
6946 * BufferView_pimpl.C: fix redrawing of insets
6949 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6951 * text2.C (updateCounters): fix bug 668
6953 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6955 * text3.C (dispatch): Do not make the buffer dirty when moving the
6958 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6960 * vc-backend.C: STRCONV
6963 * text2.C (setCounter): STRCONV
6965 * paragraph.C (asString): STRCONV
6967 * lyxlength.C (asString): STRCONV
6968 (asLatexString): ditto
6970 * lyxgluelength.C (asString): STRCONV
6971 (asLatexString): ditto
6973 * lyxfunc.C (dispatch): STRCONV
6976 * lyxfont.C (stateText): STRCONV
6978 * importer.C (Import): STRCONV
6980 * counters.C (labelItem): STRCONV
6981 (numberLabel): ditto
6982 (numberLabel): remove unused ostringstream o
6987 * bufferview_funcs.C (currentState): STRCONV
6989 * buffer.C (readFile): STRCONV
6990 (asciiParagraph): ditto
6991 (makeLaTeXFile): ditto
6993 * Spacing.C (writeEnvirBegin): STRCONV
6995 * LaTeXFeatures.C (getLanguages): STRCONV
6996 (getPackages): ditto
6998 (getBabelOptions): ditto
6999 (getTClassPreamble): ditto
7000 (getLyXSGMLEntities): ditto
7001 (getIncludedFiles): ditto
7005 (scanAuxFile): ditto
7008 * LString.h: add the STRCONV macros
7010 * BufferView_pimpl.C (savePosition): STRCONV
7011 (restorePosition): ditto
7012 (MenuInsertLyXFile): ditto
7014 * vc-backend.C (scanMaster): change from submatch[...] to
7017 * funcrequest.C: include config.h
7019 * factory.C: include config.h
7021 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7023 * box.C: include config.h
7025 * LaTeX.C (scanAuxFile): change from submatch[...] to
7029 2002-10-25 Angus Leeming <leeming@lyx.org>
7031 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7033 * ispell.[Ch] (setError): new method.
7034 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7035 Use setError() insetead of goto END.
7037 * lyx_cb.C (AutoSave): move out child process into new class
7040 2002-10-30 John Levon <levon@movementarian.org>
7042 * text3.C: make start appendix undoable
7044 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7046 * lyxlength.C (inPixels): Fix returned value.
7048 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7051 2002-10-24 Angus Leeming <leeming@lyx.org>
7053 * lyxgluelength.h: no need to forward declare BufferParams
7054 or BufferView, so don't.
7056 2002-10-21 John Levon <levon@movementarian.org>
7058 * BufferView.C: menuUndo ->undo, redo
7060 * BufferView.h: document, remove dead, make some methods private
7062 * paragraph_funcs.h:
7063 * paragraph_funcs.C:
7064 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7069 * sgml.C: move sgml open/close tag into sgml.C
7071 * bufferview_funcs.h: unused prototype
7074 * lyxfunc.C: remove unused
7077 * text.C: remove unused
7079 2002-10-21 John Levon <levon@movementarian.org>
7083 * BufferView_pimpl.h:
7084 * BufferView_pimpl.C: fix mouse wheel handling based on
7085 patch from Darren Freeman
7087 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7089 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7091 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7093 * lyxlength.C (inPixels): Fix hanfling of negative length.
7094 Fix LyXLength::MU case.
7096 2002-10-16 John Levon <levon@movementarian.org>
7098 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7100 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7102 * converter.C (view): add support for $$i (file name) and $$p
7103 (file path) for the viewer command. If $$i is not specified, then
7104 it is appended to the command (for compatibility with old syntax)
7106 2002-10-14 Juergen Vigna <jug@sad.it>
7108 * undo_funcs.C (textHandleUndo): alter the order in which the
7109 new undopar is added to the LyXText, as we have to set first
7110 the right prev/next and then add it as otherwise the rebuild of
7111 LyXText is not correct. Also reset the cursor to the right paragraph,
7112 with this IMO we could remove the hack in "redoParagraphs()".
7114 2002-10-09 Angus Leeming <leeming@lyx.org>
7116 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7117 to turn off an optimisation if a new inset is to be inserted.
7119 2002-10-11 André Pönitz <poenitz@gmx.net>
7121 * lyxtext.h: make some functions public to allow access
7122 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7124 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7126 * text3.C (dispatch): when changing layout, avoid an infinite loop
7129 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7131 * lyxrc.C (read): treat a viewer or converter command of "none" as
7134 * MenuBackend.C (expandFormats): for an update, also allow the
7135 formats that are not viewable
7137 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7138 script if it is newer than the lyxrc.defaults in user directory
7140 2002-10-07 André Pönitz <poenitz@gmx.net>
7142 * text.C: Vitaly Lipatov's small i18n fix
7144 2002-09-25 Angus Leeming <leeming@lyx.org>
7146 * ispell.h: doxygen fix.
7148 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7150 * buffer.h (readFile): Add a new argument to the method, to allow
7151 reading of old-format templates.
7153 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7155 * toc.C (getTocList): Get TOC from InsetWrap.
7157 2002-09-16 John Levon <levon@movementarian.org>
7159 * lyxfunc.C: check tabular for cut/copy too
7161 2002-09-12 John Levon <levon@movementarian.org>
7166 * factory.C: add header
7168 * paragraph_funcs.h:
7169 * paragraph_funcs.C: cleanup
7171 2002-09-11 John Levon <levon@movementarian.org>
7173 * PrinterParams.h: odd/even default to true
7175 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7177 * PrinterParams.h: update printer parameters for new xforms dialog
7179 2002-09-11 Angus Leeming <leeming@lyx.org>
7181 * lyxserver.C (read_ready): re-write to make it more transparent
7182 and to make it work in coherent fashion under Tru64 Unix.
7184 2002-09-11 André Pönitz <poenitz@gmx.net>
7188 * text3.C: implement LFUN_WORDSEL
7190 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7192 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7193 make floatlist_ a boost::shared_ptr<FloatList>
7195 * lyxtextclass.C: include FloatList.h
7196 (LyXTextClass): initialize floatlist_
7197 (TextClassTags): add TC_NOFLOAT
7198 (Read): match "nofloat" to TC_NOFLOAT and use it.
7199 (readFloat): modify call to floatlist_
7203 * FloatList.[Ch] (FloatList): remove commented out float
7205 (erase): new function
7207 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7209 * MenuBackend.C (expandToc): fix crash when there is no document
7212 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7214 * many files: Add insetwrap.
7216 2002-09-09 John Levon <levon@movementarian.org>
7218 * text2.C: remove confusing and awkward depth wraparound
7220 2002-09-09 John Levon <levon@movementarian.org>
7222 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7225 * buffer.C: remove getIncludeonlyList()
7228 * lyxfunc.C: remove headers
7230 2002-09-09 Juergen Vigna <jug@sad.it>
7232 * text.C (getColumnNearX): fix form Michael this is most
7233 probably a cut&paste bug.
7235 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7237 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7239 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7240 references, ws changes.
7242 * text2.C (init): update counters after init
7243 (insertParagraph): no need to set counter on idividual paragraphs.
7244 (setCounter): access the counters object in the textclass object
7245 on in the buffer object.
7246 (updateCounters): ditto
7248 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7249 shared_ptr<Counters> to avoid loading counters.h in all
7251 (LyXTextClass): initialize ctrs_
7252 (TextClassTags): add TC_COUNTER, and ...
7253 (Read): use it here.
7254 (CounterTags): new tags
7255 (readCounter): new function
7256 (counters): new funtion
7257 (defaultLayoutName): return a const reference
7259 * counters.C (Counters): remove contructor
7260 (newCounter): remove a couple of unneeded statements.
7261 (newCounter): simplify a bit.
7262 (numberLabel): some small formatting changes.
7264 * buffer.[Ch]: remove all traces of counters, move the Counters
7265 object to the LyXTextClass.
7267 2002-09-06 Alain Castera <castera@in2p3.fr>
7269 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7270 package to set the horizontal alignment on fixed width columns.
7273 * lyx_sty.h: added tabularnewline macro def.
7275 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7277 2002-09-06 John Levon <levon@movementarian.org>
7279 * LyXAction.C: tooltips for sub/superscript
7281 * MenuBackend.C: a bit more verbose
7283 * lyxfunc.C: tiny clean
7285 * undo_funcs.C: document undo_frozen
7287 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7289 * counters.C (Counters): add missing algorithm counter.
7291 * text2.C (setCounter): lookup the counter with layouts latexname
7292 instead of by section number.
7293 (setCounter): use a hackish way to lookup the correct enum
7295 a float name->type change
7296 reset enum couners with counter name directly instead of depth value.
7298 * counters.C (Counters): remove the push_backs, change to use the
7299 float type not the float name.
7300 (labelItem): remove unused string, float name->type change
7302 * counters.h: don't include vector, loose the enums and sects vectors
7304 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7306 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7307 (Read): add float->TC_FLOAT to textclassTags
7308 (Read): and handle it in the switch
7309 (readFloat): new function
7311 * FloatList.C (FloatList): comment out the hardcoded float
7314 * lyxlayout.h: ws change.
7316 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7318 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7320 2002-09-03 Angus Leeming <leeming@lyx.org>
7322 * BufferView_pimpl.h: qualified name is not allowed in member
7323 declaration: WorkArea & Pimpl::workarea() const;
7325 * factory.C: added using std::endl directive.
7327 * text3.C: added using std::find and std::vector directives.
7329 2002-08-29 André Pönitz <poenitz@gmx.net>
7332 * text2.C: remove unused member number_of_rows
7335 * BufferView2.C: remove file, move contents to...
7336 * BufferView.C: ... here
7338 * BufferView_pimpl.C:
7339 * factory.C: move more inset creation to factory
7341 * vspace.C: avoid direct usage of LyXText, ws changes
7344 don't provide direct access to WorkArea, use two simple
7345 acessors haveSelction() and workHeight() instead
7348 2002-08-29 John Levon <levon@movementarian.org>
7350 * BufferView_pimpl.C (dispatch): do not continue when
7353 2002-08-28 André Pönitz <poenitz@gmx.net>
7355 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7358 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7360 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7362 * buffer.C: increment LYX_FORMAT to 221
7364 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7365 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7367 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7369 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7371 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7373 * factory.C (createInset): use LyXTextClass::floats
7375 * MenuBackend.C (expandFloatListInsert):
7376 (expandFloatInsert):
7379 * text2.C (setCounter):
7381 * LaTeXFeatures.C (useFloat):
7382 (getFloatDefinitions):
7384 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7386 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7387 floatlist_, with accessor floats().
7389 * FloatList.h: remove global FloatList
7391 2002-08-26 André Pönitz <poenitz@gmx.net>
7393 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7397 * BufferView_pimpl.C:
7398 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7400 2002-08-25 John Levon <levon@movementarian.org>
7402 * LyXAction.C: fix margin note description
7404 2002-08-24 John Levon <levon@movementarian.org>
7408 * bufferview_funcs.C:
7410 * undo_funcs.C: cleanups
7412 * lyxfunc.C: disable CUT/COPY when no selection
7414 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7416 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7417 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7419 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7420 Add backward compatibility to "mono", "gray" and "no".
7422 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7424 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7425 (and file_format >= 200).
7427 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7429 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7431 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7433 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7435 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7437 * BufferView_pimpl.C:
7444 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7445 inset and code to make it work with the paragraph code. The inset
7446 can be anywhere in the paragraph, but will only do the expected
7447 thing in LaTeX if the layout file contains the parameter line
7449 (or more generally, a nonzero value) for that layout.
7451 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7453 * paragraph.h: remove the declaration of undefined counters class
7456 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7458 * text2.C (setCounter): fixed enumeration mis-count as reported by
7459 Dr. Richard Hawkins.
7461 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7463 * paragraph_funcs.h: remove some unneeded includes
7465 * text.C (backspace): pasteParagraph now in global scipe
7467 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7468 (pasteSelection): ditto
7470 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7471 * paragraph_funcs.C (pasteParagraph): ... here
7473 2002-08-20 André Pönitz <poenitz@gmx.net>
7475 * commandtags.h: new LFUNs for swapping/copying table row/colums
7478 * lyxfunc.C: support for new lfuns
7480 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7483 * buffer.[Ch]: remove NO_COMPABILITY stuff
7485 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7487 * boost.C (throw_exception): new file, with helper function for
7488 boost compiled without exceptions.
7493 * ParameterStruct.h:
7494 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7496 * bufferlist.C (emergencyWriteAll): use boost bind
7498 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7500 * text.C: include paragraph_funcs.h
7501 (breakParagraph): breakParagraph is now in global scope
7503 * paragraph_funcs.[Ch]: new files
7505 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7508 * buffer.C: include paragraph_funcs.h
7509 (insertStringAsLines): breakParagraph is now in global scope
7511 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7514 * CutAndPaste.C: include paragraph_funcs.h
7515 (cutSelection): breakParagraphConservative is now in global scope
7516 (pasteSelection): ditto
7518 * buffer.h: declare oprator== and operator!= for
7519 Buffer::inset_iterator
7521 * bufferlist.C (emergencyWrite): don't use fmt(...)
7523 * text3.C: add using std::endl
7525 * BufferView.C (moveCursorUpdate): remove default arg
7527 2002-08-20 André Pönitz <poenitz@gmx.net>
7529 * buffer.[Ch]: move inline functions to .C
7532 * BufferView_pimpl.C:
7534 * buffer.[Ch]: use improved inset_iterator
7537 * paragraph.[Ch]: write one paragraph at a time
7539 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7541 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7542 style if style is not specified.
7544 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7546 * text2.C (setCounter): when searching for right label for a
7547 caption, make sure to recurse to parent insets (so that a caption
7548 in a minipage in a figure float works) (bug #568)
7550 2002-08-20 André Pönitz <poenitz@gmx.net>
7552 * text3.C: new file for LyXText::dispatch() and helpers
7554 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7556 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7558 2002-08-19 André Pönitz <poenitz@gmx.net>
7561 * text.C: new LyXText::dispatch()
7563 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7565 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7567 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7569 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7572 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7574 * Makefile.am: use $(variables) instead of @substitutions@
7576 2002-08-15 André Pönitz <poenitz@gmx.net>
7579 * BufferView_pimpl.C: streamlining mathed <-> outer world
7583 * LyXAction.C: remove unused LFUN_MATH
7585 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7587 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7589 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7591 * paragraph.C (Paragraph): reformat a bit
7592 (cutIntoMinibuffer): use builtin InsetList function instad of
7596 * buffer.C: include boost/bind.hpp, add using std::for_each
7597 (writeFileAscii): use ParagraphList iterators
7598 (validate): use for_each for validate traversal of paragraphs
7599 (getBibkeyList): use ParagraphList iterators
7600 (resizeInsets): use for_each to resizeInsetsLyXText for all
7602 (getParFromID): use ParagraphList iterators
7604 * BufferView2.C (lockInset): use paragraph list and iterators
7606 2002-08-14 John Levon <levon@movementarian.org>
7608 * lyxserver.C: remove spurious xforms include
7610 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7612 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7614 2002-08-13 André Pönitz <poenitz@gmx.net>
7617 * lyxfunc.C: further cleaning
7619 2002-08-13 André Pönitz <poenitz@gmx.net>
7621 * funcrequest.h: new constructor
7623 * funcrequest.C: move stuff here from .h
7626 * BufferView_pimpl.C:
7629 * lyxfunc.C: subsequent changes
7631 * lyxfunc.h: new view() member function
7633 * lyxfunc.C: subsequent changes
7635 2002-08-13 Angus Leeming <leeming@lyx.org>
7638 * BufferView_pimpl.C:
7646 changes due to the changed LyXView interface that now returns references
7647 to member variables not pointers.
7649 2002-08-13 Angus Leeming <leeming@lyx.org>
7651 * WordLangTuple (word, lang_code): return references to strings,
7656 * lyxtext.h: forward-declare WordLangTuple.
7661 * text.C: #include "WordLangTuple.h".
7664 * text.C: (selectNextWordToSpellcheck): constify return type.
7666 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7672 * paragraph_pimpl.h:
7675 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7677 Made updateCounter always count from start of buffer, and removed
7678 second argument (par).
7679 Reverted floats number display to '#'. Perhaps I'll try again when the
7680 code base is sanitized a bit.
7682 2002-08-12 Angus Leeming <leeming@lyx.org>
7684 * buffer.[Ch] (getLabelList): constify.
7686 2002-08-07 André Pönitz <poenitz@gmx.net>
7688 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7690 * funcrequest.h: extension to keep mouse (x,y) position
7692 2002-08-12 Juergen Vigna <jug@sad.it>
7694 * BufferView2.C (insertErrors): forbid undo when inserting error
7697 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7699 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7701 * ParagraphList.[Ch]: new files
7703 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7705 * BufferView2.C (lockInset): ParagraphList changes
7708 * bufferlist.C: ditto
7712 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7714 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7715 unused class variable counter_,
7717 * paragraph.[Ch] (getFirstCounter): delete unused function
7719 * counters.C: include LAssert.h
7720 (reset): add a new function with no arg, change other version to
7721 not have def. arg and to not allow empty arg.
7723 * text2.C (setCounter): remove empty arg from call to Counters::reset
7725 2002-08-11 John Levon <levon@movementarian.org>
7727 * Makefile.am: add WordLangTuple.h
7729 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7731 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7732 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7734 * insets/insettext.C: InsetList changes
7736 * graphics/GraphicsSupport.C (operator()): InsetList changes
7738 * toc.C (getTocList): InsetList changes
7740 * paragraph_pimpl.[Ch]: InsetList changes
7742 * paragraph.[Ch]: InsetList changes
7744 * buffer.C (inset_iterator): InsetList changes
7745 (setParagraph): ditto
7746 * buffer.h (inset_iterator): ditto
7747 * iterators.C (operator++): ditto
7748 * iterators.h: ditto
7750 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7752 * InsetList.[Ch]: new files, most InsetList handling moved out of
7755 * BufferView2.C (removeAutoInsets): InsetList changes
7757 (ChangeInsets): ditto
7759 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7761 * paragraph_pimpl.h (empty): new function
7763 * paragraph.[Ch] (empty): new function
7765 * other files: use the new Paragraph::empty function
7767 2002-08-09 John Levon <levon@movementarian.org>
7769 * lyxtext.h: remove unused refresh_height
7771 2002-08-09 John Levon <levon@movementarian.org>
7778 * paragraph.C: move sgml char escaping out of paragraph
7781 * paragraph.C: remove id setter
7785 * paragraph_pimpl.C: remove dead tex_code_break_column
7787 * bufferview_funcs.C: small cleanup
7789 * lyxfunc.C: remove dead proto
7791 * lyxtext.h: make some stuff private. Remove some dead stuff.
7793 * lyxgluelength.C: make as[LyX]String() readable
7795 2002-08-08 John Levon <levon@movementarian.org>
7800 * ToolbarDefaults.C:
7803 * toc.C: lyxaction cleanup
7805 2002-08-08 John Levon <levon@movementarian.org>
7807 * BufferView2.C: small cleanup
7810 * lyxfind.C: move unnecessary header into the .C
7812 2002-08-08 John Levon <levon@movementarian.org>
7814 * funcrequest.h: just tedious nonsense
7817 * lyx_main.C: cleanups
7820 * vspace.C: remove dead header lyx_main.h
7822 2002-08-07 Angus Leeming <leeming@lyx.org>
7825 * paragraph_pimpl.h:
7826 Forward declare class Counters in paragraph.h by moving the ctrs member
7827 variable into Paragraph::Pimpl.
7828 (counters): new method, returning a reference to pimpl_->ctrs.
7830 * text2.C: ensuing changes.
7832 2002-08-07 John Levon <levon@movementarian.org>
7834 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7836 * BufferView_pimpl.C: announce X selection on double/triple
7839 * lyx_main.C: use correct bool in batch dispatch
7841 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7843 2002-08-07 André Pönitz <poenitz@gmx.net>
7845 * funcrequest.h: new class to wrap a kb_action and its argument
7848 * BufferView_pimpl[Ch]:
7852 * lyxrc.C: subsequent changes
7855 2002-08-07 John Levon <levon@movementarian.org>
7857 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7858 document options change.
7860 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7865 * makefile.am: move counters functionality over from
7866 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7868 2002-08-06 John Levon <levon@movementarian.org>
7870 * WordLangTuple.h: new file for word + language code tuple
7881 * BufferView2.C: use WordLangTuple
7884 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7886 2002-08-06 John Levon <levon@movementarian.org>
7888 * lyx_main.C: fix cmdline batch handling
7890 2002-08-06 André Pönitz <poenitz@gmx.net>
7892 * lyxrc.C: set default for show_banner to true
7894 2002-08-06 John Levon <levon@movementarian.org>
7896 * pspell.C: fix a crash, and allow new aspell to work
7898 2002-08-06 John Levon <levon@movementarian.org>
7901 * kbmap.C: small cleanup
7904 * vspace.C: add const
7906 2002-08-05 John Levon <levon@movementarian.org>
7908 * LyXAction.C: back to tabular-insert
7910 2002-08-04 John Levon <levon@movementarian.org>
7913 * BufferView.C: cosmetic change
7915 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7925 * BufferView2.C: purge all "Lyx" not "LyX" strings
7928 * lyxcursor.C: attempt to add some documentation
7933 * ToolbarDefaults.C:
7934 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7935 merge with LFUN_TABULAR_INSERT
7942 * pspell.C: split up i/pspell implementations into separate
7943 files, many cleanups
7945 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7947 * text2.C: some cleanup
7949 * lyxfunc.C: don't check for isp_command == "none" any more, it
7950 didn't make any sense
7952 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7957 * makefile.am: move counters functionality over
7958 from text2.C/paragraph.[Ch] to counters.[Ch], and
7960 2002-08-02 John Levon <levon@movementarian.org>
7962 * buffer.C: s/lyxconvert/lyx2lyx/
7964 2002-08-02 Angus Leeming <leeming@lyx.org>
7966 * lyxlex.C: revert John's change as it breaks reading of the user
7969 2002-08-02 Angus Leeming <leeming@lyx.org>
7971 * importer.C (Import):
7972 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7973 changes due to LyXView::view() now returning a boost::shared_ptr.
7975 2002-08-02 John Levon <levon@movementarian.org>
7977 * lyxlex.C: small cleanup
7979 2002-08-02 John Levon <levon@movementarian.org>
7981 * text2.C (status): small cleanup, no logic change
7983 2002-08-01 John Levon <levon@movementarian.org>
7986 * buffer.C (writeFile): don't output alerts, caller
7990 * lyx_cb.C: from above
7992 * lyxfunc.C: allow to open non-existent files
7994 2002-07-31 John Levon <levon@movementarian.org>
7996 * lyxserver.C: don't let incidental errors get
7999 2002-07-30 John Levon <levon@movementarian.org>
8001 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8003 2002-07-30 John Levon <levon@movementarian.org>
8006 * lyxserver.C: remove I/O callback too
8008 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8010 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8013 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8015 * many files: strip,frontStrip -> trim,ltrim,rtrim
8017 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8019 * PrinterParams.h: remove extern containsOnly, and include
8020 support/lstrings.h instead.
8022 * LaTeX.C (scanAuxFile): modify because of strip changes
8024 * buffer.C (makeLaTeXFile): ditto
8025 * bufferparams.C (writeFile): ditt
8026 * lyxfont.C (stateText): ditto
8027 * lyxserver.C (read_ready): ditto
8028 * vc-backend.C (scanMaster): ditto
8030 * BufferView_pimpl.h: ws changes
8032 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8034 2002-07-26 André Pönitz <poenitz@gmx.net>
8036 * kb_sequence.C: remove unnedred usings
8038 2002-07-26 Juergen Vigna <jug@sad.it>
8040 * lyxfind.C (LyXReplace): we have to check better if the returned
8041 text is not of theLockingInset()->getLockingInset().
8043 2002-07-25 Juergen Vigna <jug@sad.it>
8045 * lyxfind.C (LyXReplace): don't replace if we don't get the
8048 * undo_funcs.C (createUndo): remove debugging code.
8050 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8052 * buffer.C (parseSingleLyXformat2Token): Use default placement
8053 when reading old floats.
8055 * FloatList.C (FloatList): Change the default placement of figure
8056 and tables to "tbp".
8058 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8060 * MenuBackend.C: using std::max
8062 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8064 * MenuBackend.C (expandToc):
8065 (expandToc2): code moved from xforms menu frontend. It is now
8066 generic and TOCs are transparent to menu frontends.
8068 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8070 * toc.C (getTocList): protect against buf=0
8072 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8073 Menu as first parameter. Now, this calls itself recursively to
8074 expand a whole tree (this will be useful for TOC handling)
8075 (expandFloatInsert): remove 'wide' version of floats
8077 * MenuBackend.h (submenuname): returns the name of the submenu.
8078 (submenu): returns the submenu itself, provided it has been
8079 created by MenuBackend::expand
8081 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8083 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8084 insets which have noFontChange == true. (bug #172)
8086 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8088 * BufferView_pimpl.C: add connection objects and use them...
8091 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8093 * MenuBackend.C (expandLastfiles):
8096 (expandFloatListInsert):
8097 (expandFloatInsert):
8098 (expand): split expand in parts
8100 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8102 * lyx_gui.C: use lyx_gui::exit()
8104 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8106 * LyXAction.C: show the failing pseudo action
8108 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8110 * buffer.C (readFile): Run the lyxconvert script in order to read
8113 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8117 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8119 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8123 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8125 2002-07-22 Herbert Voss <voss@lyx.org>
8128 * lyxlength.[Ch]: add support for the vertical lengths
8130 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8132 * toc.[Ch]: std:: fixes
8134 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8136 * lyxrc.C: do not include lyx_main.h
8138 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8144 * BufferView2.C: include "lyxlex.h"
8147 * bufferparams.h: do not #include "lyxlex.h"
8149 * lyxtextclasslist.C (Add): remove method
8150 (classlist): renamed to classlist_
8152 * paragraph_pimpl.C:
8156 * bufferview_funcs.C:
8161 * toc.C (getTocList): use BufferParams::getLyXTextClass
8163 * toc.C (getTocList): use InsetFloat::addToToc
8165 * toc.[Ch]: new files, containing helper functions to handle table
8168 * lyxfunc.C (dispatch): no need to remove spaces around command
8170 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8171 first command of the sequence; it is not very clever, but I do not
8172 have a better idea, actually
8174 * LyXAction.C (LookupFunc): make sure to remove space at the
8175 beginning and end of the command
8177 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8179 * MenuBackend.C (getMenubar): new method: return the menubar of
8181 (read): treat differently reading of menu and menubar (in
8182 particular, the menubar has no name now)
8183 (Menu::menubar): remove
8185 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8188 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8190 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8191 a bibitem inset in a RTL paragraph.
8193 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8195 * paragraph_pimpl.C: constify
8197 * BufferView_pimpl.C:
8199 * lyxfunc.C: fix dispatch in a nicer way
8201 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8203 * lyxfunc.C (dispatch):
8204 * BufferView_pimpl.C:
8205 * BufferView_pimpl.h:
8207 * BufferView.h: rename Dispatch() to dispatch()
8209 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8211 * lyxlayout.C (Read): honor DependsOn tag
8213 * lyxlayout.[Ch] (depends_on): new method
8215 * version.C.in: update lyx_docversion
8217 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8219 * paragraph.C (validate): remove from here...
8220 * paragraph_pimpl.C (validate): ... and move here
8221 (isTextAt): make it const
8223 * buffer.C (getLists): ws cleanup
8225 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8227 * language.C (read): Use iso8859-1 encoding in latex_lang
8228 (this prevents LyX from crashing when using iso10646-1 encoding).
8230 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8232 * text2.C (toggleInset): if cursor is inside an inset, close the
8233 inset and leave cursor _after_ it
8235 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8237 * lyxfunc.C: move minibuffer completion handling out of here
8239 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8241 * BufferView_pimpl.C:
8242 * LaTeX.C: fix dispatch calls
8244 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8246 * text.C (drawChars): Fix Arabic text rendering.
8248 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8252 * lyxfunc.C: remove message-push/pop
8256 * lyxfunc.C: rationalise some code by removing verboseDispatch
8257 in favour of a bool argument to dispatch()
8259 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8261 * lyx_main.C (init): make sure to read symlinks as absolute paths
8263 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8266 * lyxfunc.C: no need for commandshortcut to be a member
8268 2002-07-15 André Pönitz <poenitz@gmx.net>
8270 * converter.C: add support for $$s (scripts from lib/scripts dir)
8271 * lyx_main.C: white space
8273 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8277 * lyxrc.C: remove second exit confirmation
8279 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8284 * BufferView_pimpl.h:
8285 * BufferView_pimpl.C:
8286 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8288 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8290 * MenuBackend.C (expand): add numeric shortcuts to document menu
8292 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8294 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8296 * lyxfont.C (setLyXFamily):
8303 * buffer.C (asciiParagraph): use ascii_lowercase
8305 2002-07-15 Mike Fabian <mfabian@suse.de>
8307 * lyxlex_pimpl.C (search_kw):
8308 * lyxlex.C (getLongString):
8309 * converter.h (operator<):
8310 * converter.C (operator<):
8311 * buffer.C (parseSingleLyXformat2Token):
8313 * ToolbarDefaults.C (read):
8314 * MenuBackend.C (checkShortcuts):
8316 * LColor.C (getFromGUIName):
8317 (getFromLyXName): use the compare_ascii_no_case instead of
8318 compare_no_case, because in turkish, 'i' is not the lowercase
8319 version of 'I', and thus turkish locale breaks parsing of tags.
8321 2002-07-16 Angus Leeming <leeming@lyx.org>
8323 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8324 now takes a Buffer const & argument.
8326 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8328 * BufferView.C (resize): check there's a buffer to resize
8330 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8332 * lyxfunc.C: remove dead code
8335 * lyxserver.C: use lyx_guii::set_read_callback
8337 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8339 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8340 an inset in a RTL paragraph.
8342 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8344 * lyxfunc.C: repaint after a font size update
8346 2002-07-15 André Pönitz <poenitz@gmx.net>
8348 * lyxlength.C: inBP should be able to return negative values
8350 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8352 * lyxfunc.C: use lyx_gui::update_fonts()
8354 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8356 * lyxfunc.C: use lyx_gui::update_color()
8358 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8364 * lyxrc.C: remove file->new asks for name option, and let
8365 buffer-new take an argument
8367 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8369 * BufferView_pimpl.C: remove unneeded extra repaint()
8371 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8373 * LyXAction.C: allow command-sequence with NoBuffer
8375 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8377 2002-07-10 Angus Leeming <leeming@lyx.org>
8379 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8381 2002-07-09 Angus Leeming <leeming@lyx.org>
8383 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8385 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8387 * lengthcommon.h: whitespace
8389 * lyxfunc.C: update scrollbar after goto paragraph
8391 * lyxtext.h: factor out page break drawing, and fix it so
8392 page break/added space paints as selected nicely
8394 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8396 * BufferView_pimpl.C: add FIXMEs, clean up a little
8398 2002-07-09 André Pönitz <poenitz@gmx.net>
8400 * lyxfont.[Ch]: support for wasy symbols
8402 2002-07-08 André Pönitz <poenitz@gmx.net>
8404 * BufferView_pimpl.C: apply John's patch for #93.
8406 2002-07-05 Angus Leeming <leeming@lyx.org>
8408 * BufferView_pimpl.C (buffer): generate previews if desired.
8410 * LColor.h: add "preview" to the color enum.
8412 * LColor.C (LColor): add a corresponding entry to the items array.
8414 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8417 2002-07-05 Angus Leeming <leeming@lyx.org>
8419 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8420 The body of the code is now in the method that is passed an ostream &
8421 rather than a file name.
8422 Pass an additional only_preamble parameter, useful for the forthcoming
8425 2002-07-03 André Pönitz <poenitz@gmx.net>
8427 * lyxfunc.C: simplify getStatus() a bit for math stuff
8429 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8431 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8433 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8435 * text.C (changeRegionCase): do not change case of all the
8436 document when region ends at paragraph end (bug #461)
8438 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8440 * paragraph.C (startTeXParParams):
8441 (endTeXParParams): add \protect when necessary
8443 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8445 * BufferView_pimpl.C (workAreaExpose): remove warning
8447 2002-06-27 Angus Leeming <leeming@lyx.org>
8449 * Makefile.am: add lyxlayout_ptr_fwd.h.
8451 2002-06-26 André Pönitz <poenitz@gmx.net>
8453 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8455 2002-06-25 Angus Leeming <leeming@lyx.org>
8457 * lyxfunc.C (dispatch): Comment out the call to
8458 grfx::GCache::changeDisplay. The method no longer exists now that the
8459 pixmap generation part of the graphics loader has been moved into
8462 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8464 * text2.C: layout as layout
8466 * text.C: layout as layout
8468 * tabular.C (OldFormatRead): layout as layout
8470 * paragraph_pimpl.C (TeXDeeper): layout as layout
8471 (realizeFont): layout as layout
8473 * paragraph.C (writeFile): layout as layout
8474 (validate): layout as layout
8475 (getFont): layout as layout
8476 (getLabelFont): layout as layout
8477 (getLayoutFont): layout as layout
8478 (breakParagraph): layout as layout
8479 (stripLeadingSpaces): layout as layout
8480 (getEndLabel): layout as layout
8481 (getMaxDepthAfter): layout as layout
8482 (applyLayout): layout as layout
8483 (TeXOnePar): layout as layout
8484 (simpleTeXOnePar): layout as layout
8485 (TeXEnvironment): layout as layout
8486 (layout): layout as layout
8487 (layout): layout as layout
8489 * lyxtextclass.C (compare_name): new functor to work with
8490 shared_ptr, layout as layout
8491 (Read): layout as layout
8492 (hasLayout): layout as layout
8493 (operator): layout as layout
8494 (delete_layout): layout as layout
8495 (defaultLayout): layout as layout
8497 * lyxlayout_ptr_fwd.h: new file
8499 * lyxlayout.C (Read): layout as layout
8501 * lyx_cb.C (MenuInsertLabel): layout as layout
8503 * bufferlist.C (newFile): layout as layout
8505 * buffer.C (readLyXformat2): layout as layout
8506 (parseSingleLyXformat2Token): layout as layout
8507 (insertStringAsLines): layout as layout
8508 (asciiParagraph): layout as layout
8509 (latexParagraphs): layout as layout
8510 (makeLinuxDocFile): layout as layout
8511 (simpleLinuxDocOnePar): layout as layout
8512 (makeDocBookFile): layout as layout
8513 (simpleDocBookOnePar): layout as layout
8514 (getLists): layout as layout
8516 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8518 * CutAndPaste.C (cutSelection): layout as layout
8519 (pasteSelection): layout as layout
8520 (SwitchLayoutsBetweenClasses): layout as layout
8522 * BufferView_pimpl.C (Dispatch): layout as layout
8523 (smartQuote): layout as layout
8525 * BufferView2.C (unlockInset): layout as layout
8527 2002-06-24 André Pönitz <poenitz@gmx.net>
8529 * lyxfunc.C: fix #487
8531 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8535 * lyxfunc.C: remove display_shortcuts, show_banner
8537 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8539 * Buffer_pimpl.C: oops, update on resize
8541 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8548 * BufferView.C: use repaint()
8550 * BufferView_pimpl.h:
8551 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8552 as it's a clearer description. Remove superfluous
8555 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8557 * text.C: fix bug 488. Not ideal, but getting
8558 getWord() to work properly for the insets that
8559 matter is more difficult ...
8561 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8563 * BufferView_pimpl.C:
8566 * lyxfunc.C: remove the six million index lyxfuncs to just
8567 one, and DTRT (bug 458)
8569 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8573 * BufferView_pimpl.h:
8574 * BufferView_pimpl.C: clean up resize() stuff,
8575 and unnecessary updateScreen()s
8577 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8581 * BufferView_pimpl.h:
8582 * BufferView_pimpl.C:
8585 * minibuffer.C: remove focus management of workarea,
8586 not needed. Use screen's greyOut()
8588 2002-06-17 Herbert Voss <voss@lyx.org>
8590 * converter.C: (convert) do not post a message, when converting
8591 fails, let the calling function decide what to do in this case
8593 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8595 * lyxfunc.C: tidy up a little
8597 2002-06-16 <alstrup@diku.dk>
8599 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8600 Got rid of FORMS_H_LOCATION include. Now we are
8603 2002-06-15 LyX Development team <lyx@rilke>
8605 * buffer.[Ch] (sgmlOpenTag):
8606 (sgmlCloseTag): Added support for avoiding pernicious mixed
8607 content. Return number of lines written.
8610 (makeDocBookFile): Fixed calls to sgml*Tag.
8611 Simple white space clean.
8613 (simpleDocBookOnePar): Simple white space clean.
8615 * tabular.[Ch] (docBook): Renamed to docbook and got another
8616 argument to related with the pernicious mixed content.
8618 (docbookRow): Fixed calls for docbook inset method.
8620 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8622 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8623 so it's X11 independent.
8627 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8629 2002-06-15 Lyx Development team <lyx@electronia>
8631 * intl.h: Renamed getTrans to getTransManager.
8633 2002-06-14 Angus Leeming <leeming@lyx.org>
8635 * Makefile.am: nuke forgotten stl_string_fwd.h.
8637 2002-06-12 Angus Leeming <leeming@lyx.org>
8639 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8641 2002-06-13 Angus Leeming <leeming@lyx.org>
8644 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8646 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8648 * kbmap.C (getiso): add support for cyrillic and greek
8650 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8654 * BufferView_pimpl.h:
8655 * BufferView_pimpl.C: move bogus scrolling logic
8658 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8661 * BufferView_pimpl.C: view->resize() change
8663 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8665 * BufferView_pimpl.C: topCursorVisible
8668 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8672 * lyx_gui.C: move to frontends/
8676 * lyx_main.C: changes from above
8678 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8685 * lyx_main.C: minor tidy
8687 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8689 * BufferView_pimpl.h:
8690 * BufferView_pimpl.C:
8692 * BufferView.C: make painter() const,
8695 * BufferView2.C: use screen() accessor
8698 * lyx_main.C: some minor cleanup
8700 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8702 * BufferView_pimpl.h:
8703 * BufferView_pimpl.C: remove enter/leaveView,
8706 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8711 * BufferView_pimpl.h:
8712 * BufferView_pimpl.C: only construct screen once,
8715 * lyxrc.C: remove pointless comment
8717 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8720 * BufferView.C: remove active() and belowMouse()
8722 * BufferView_pimpl.h:
8723 * BufferView_pimpl.C: use workarea() not workarea_,
8724 and make it use a scoped_ptr instead
8726 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8728 * lyx_gui.C: add debug message on BadWindow
8730 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8732 * sp_spell.C: fdopen is not part of the C++ standard.
8734 * paragraph.C (InsetIterator): use >= instead of ==
8736 2002-06-07 Angus Leeming <leeming@lyx.org>
8738 Fixes needed to compile with Compaq cxx 6.5.
8739 * BufferView_pimpl.C:
8746 * lyxtextclasslist.C:
8751 all c-library variables have been moved into namespace std. Wrap
8752 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8757 Add a using std::abs declaration.
8759 * kbmap.h (modifier_pair):
8760 * paragraph.h (InsetTable, InsetList):
8761 * lyxfont.h (FontBits):
8762 type definition made public.
8764 * bufferlist.C (emergencyWriteAll): the compiler complains that
8765 there is more than one possible lyx::class_fun template to choose from.
8766 I re-named the void specialisation as lyx::void_class_fun.
8768 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8770 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8771 the compiler is is unable to find tostr in write_attribute.
8773 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8775 * buffer.C (sgmlError): hide #warning
8777 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8779 * xtl/*: get rid of xtl, which is not in use anyway
8781 * LyXAction.C (init):
8782 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8783 were unimplemented xtl experimentation
8785 2002-06-04 André Pönitz <poenitz@gmx.net>
8787 * lyxfunc.C: disable array operation on simple formulae
8789 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8791 * converter.C: constify a bit
8793 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8795 * lyx_gui.C: check xforms version correctly
8797 2002-04-30 Herbert Voss <voss@lyx.org>
8799 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8802 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8804 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8805 attempt to register it with a VCS)
8807 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8809 * lyx_main.C (init): honor variables LYX_DIR_13x and
8812 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8816 * lyx_main.C: fix a crash on bad command line,
8817 and give a useful exit status on error
8819 * lyxfunc.C (doImport): allow -i lyx to work
8821 2002-03-30 André Pönitz <poenitz@gmx.net>
8823 * lyxfunc.C: mathed font changes
8825 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8840 * trans_mgr.h: srcdocs, and some minor cleanups
8842 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8844 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8845 call getFont all the time)
8847 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8849 * switch from SigC signals to boost::signals
8851 2002-05-29 André Pönitz <poenitz@gmx.net>
8853 * paragraph_pimpl.C (getChar): don't call size() too often...
8855 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8857 * paragraph_pimpl.C (insertChar): do not try to update tables when
8858 appending (pos == size())
8860 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8861 in order to reduce drastically the number of comparisons needed to
8862 parse a large document
8864 2002-05-29 André Pönitz <poenitz@gmx.net>
8870 * textclasslist.[Ch]:
8871 * sp_ispell.h: whitespace change
8873 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8875 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8876 lyxaction directly now.
8878 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8882 * lyxvc.C: remove unused headers
8884 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8891 * undo_funcs.C: some cleanups. Use shared_ptr
8892 and a template for the undo stacks.
8894 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8896 * BufferView_pimpl.h:
8897 * BufferView_pimpl.C:
8904 * text2.C: use key_state/mouse_state
8906 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8908 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8911 * chset.C: change include order
8912 (loadFile): use boost regex and get rid of LRegex and LSubstring
8914 * Makefile.am (BOOST_LIBS): new variable
8917 * LaTeX.C: change include order.
8918 (scanAuxFile): use boost regex and get rid of LRegex and
8922 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8927 * FontInfo.C: moved to frontends/xforms/
8930 * FontLoader.C: moved into frontends for GUIIzation
8935 * lyxfunc.C: changes from above
8937 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8939 * LColor.C: remove spurious X include
8941 * BufferView_pimpl.C:
8946 * text2.C: move font metrics to frontends/
8948 2002-05-24 Juergen Vigna <jug@sad.it>
8950 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8951 setting the undo_cursor.
8953 * ParagraphParameters.h: include local includes first.
8955 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8957 * BufferView_pimpl.C:
8958 * BufferView_pimpl.h:
8962 * screen.C: move WorkArea into frontends/
8968 * BufferView2.C: move LyXScreen into frontends/
8972 * lyx_gui.C: move lyxlookup into frontends/xforms/
8974 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8977 * BufferView_pimpl.C:
8987 * bufferview_funcs.C:
9000 * vc-backend.C: move LyX/XFormsView into frontends/
9002 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9014 * text2.C: move Painter to frontends/
9016 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9018 * buffer.C: comment out some some code that depend upon lyx_format
9021 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9022 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9024 * buffer.h (NO_COMPABILITY): turn off compability
9026 * ColorHandler.C: include scoped_array.hpp
9028 * font.C: Use more specific smart_ptr header.
9031 * ShareContainer.h: ditto
9035 * BufferView_pimpl.h: ditto
9036 * ColorHandler.h: ditto
9038 * kbmap.C (defkey): change call to shared_ptr::reset
9040 2002-05-21 Juergen Vigna <jug@sad.it>
9042 * buffer.C (insertErtContents): fix to insert ert asis if it is
9043 non empty. Skip it completely if it contains only whitespaces.
9045 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9047 * BufferView_pimpl.C:
9048 * BufferView2.C: clear selection on paste (bug 393)
9050 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9052 * DepTable.C: include ctime
9054 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9056 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9058 2002-05-14 Juergen Vigna <jug@sad.it>
9060 * text.C (breakParagraph): fixed function to honor the keepempty
9061 layout in the right maner and also to permit the right breaking
9062 algorithm on empty or non empyt keepempty paragraphs.
9064 * paragraph.C (breakParagraph): we have to check also if the par
9065 is really empty (!size()) for isempty otherwise we do the wrong
9068 2002-05-10 Juergen Vigna <jug@sad.it>
9070 * buffer.[Ch] : The following are only changes to the ert
9071 compatibility read reading old LaTeX layout and font stuff and
9072 convert it to ERTInsets.
9074 * buffer.h: added isErtInset().
9076 * buffer.C (struct ErtComp): add a fromlayout bool to check
9077 if we're inside a LaTeX layout.
9078 (isErtInset): new helper function.
9079 (insertErtContents): look for other ert insets before this one
9080 and insert the contents there, so that we don't have subsequent
9081 ERT insets with nothing between them. This way we create only one
9082 inset with multiple paragraphs. Also check if we don't insert only
9083 spaces ' ' as they are ignored anyway afterwards in the .tex file
9084 so if we have only spaces we will ignore this latex part in the
9086 (parseSingleLyXformat2Token \\layout): better compatibility when
9087 reading layout-latex stuff.
9088 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9090 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9091 stuff after reading the inset only get the information back from
9094 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9096 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9098 * LaTeXFeatures.C (getBabelOptions): New method.
9100 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9102 * BufferView_pimpl.C (Dispatch): work around missing argument for
9105 2002-05-08 Juergen Vigna <jug@sad.it>
9107 * text.C (leftMargin): handle paragraph leftindent.
9109 * paragraph.C (writeFile): write the new \\leftindent tag.
9110 (validate): handle leftindent code.
9111 (TeXEnvironment): handle paragraphleftindent code again.
9113 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9115 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9116 for paragrap_extra indent code and new token \\leftindent.
9117 (latexParagraphs): handle the leftindent as environment.
9119 * ParameterStruct.h: added leftindent support.
9121 * ParagraphParameters.C (leftIndent): added support functions for
9122 the paragraph left indent.
9124 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9127 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9129 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9132 * text.C (computeBidiTables): No bidi in insetERT.
9134 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9137 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9139 * version.C.in: pre 5
9141 2002-05-02 José Matos <jamatos@fep.up.pt>
9142 * buffer.C (makeDocBookFile): white space changes, add newline to
9144 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9146 * tabular.C (docBook): fix typo.
9148 2002-05-03 Juergen Vigna <jug@sad.it>
9150 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9151 change in LyXText as we can not be sure it was not freed.
9152 (drawOneRow): remove unused code.
9154 * text.C (drawInset): redo the calculation of the need_break_row as
9155 it could have a row which was already freed.
9156 (draw): look at the return value of drawInset and return false if
9157 it also returned false.
9158 (paintRowText): look at the return value of draw and return false if
9159 it also returned false.
9161 * lyxtext.h: added bool return type to drawInset() and draw() so that
9162 if we have a change in the row so that the rowbreak has to be redone
9163 we abort drawing as it will be called again.
9165 2002-05-02 Juergen Vigna <jug@sad.it>
9167 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9168 a change in the maintext also if we're inside an inset.
9169 (Dispatch): set the cursor again after a break line and after the
9170 screen has been updated as it could be we're in a different row.
9172 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9173 to set the cursor behind the pargraph with > size().
9174 (setCursor): check also for the same paragraph when checking where
9175 to put the cursor if we have a NFR inset.
9177 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9178 parts of layout read further up as it still was in the wrong
9181 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9183 * screen.C (drawFromTo): change sine fullRebreak always return
9186 * buffer.C (parseSingleLyXformat2Token): reindent some
9188 * BufferView_pimpl.C (update): change since fullRebreak always
9190 (Dispatch): git rid of the last hardcoded "Standard"s.
9192 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9194 * text2.[Ch] (fullRebreak): make it return void now that we always
9197 2002-04-30 Juergen Vigna <jug@sad.it>
9199 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9200 ert compatibility check for "latex" layout.
9202 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9204 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9205 minipages: use col% instead of p%, and also use the current font.
9206 (makeLaTeXFile): Fix use babel condition.
9207 (parseSingleLyXformat2Token): Correct font when reading old floats.
9209 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9211 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9212 inserting list of floats.
9214 2002-04-25 Herbert Voss <voss@lyx.org>
9216 * MenuBackend.C (expand): don't add the graphics extensions to the
9219 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9221 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9222 non-existing layout, do not complain if it was the default layout
9223 of the original class (bug #342)
9225 2002-04-24 Juergen Vigna <jug@sad.it>
9227 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9228 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9230 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9232 * buffer.C (getBibkeyList): If using \bibliography, return the
9233 option field with the reference itself. Enables us to provide natbib
9234 support when using \bibliography.
9236 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9238 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9240 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9241 natbib is provided by the LaTeX class.
9243 2002-04-23 Juergen Vigna <jug@sad.it>
9245 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9248 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9250 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9252 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9254 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9255 ensuremath around textordmasculine, textordfeminine and
9258 2002-04-19 Juergen Vigna <jug@sad.it>
9260 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9261 reinitializing the buffer otherwise row-dimensions may be wrong.
9262 (update): reset also the selection cursors if they do exits otherwise
9263 their x/y positions may be wrong.
9265 * text2.C (cursorDown): don't enter the inset if we came from a row
9266 above and are one row over the inset.
9268 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9269 really leaving an inset.
9271 2002-04-18 Juergen Vigna <jug@sad.it>
9273 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9274 of the selected paragraph does not have the selected layout also if
9277 * text2.C (setLayout): fixed bug which did not change last selected
9280 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9281 changed the read and substituted \\end_float with \\end_inset!
9283 * BufferView_pimpl.C (cursorPrevious):
9284 (cursorNext): fixed to make it work with rows heigher than the work
9285 area without moving the cursor only the draw of the row.
9286 (workAreaMotionNotify): fix jumping over high rows.
9288 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9290 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9293 2002-04-16 Juergen Vigna <jug@sad.it>
9295 * text2.C (setCursor): set also the irow().
9296 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9298 (cursorDown): support for locking an inset if the x_fix value goes
9299 inside it. That way I can transverse insets too with cursor up/down.
9301 * lyxrow.h: added irow helper function same as other (i) functions.
9303 * BufferView_pimpl.C (cursorPrevious):
9304 (cursorNext): fixed for insets!
9306 2002-04-15 Juergen Vigna <jug@sad.it>
9308 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9309 position otherwise it is wrong in some cases.
9311 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9312 inside the inset before the call.
9314 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9316 * buffer.[Ch] (getBibkeyList): make it const.
9318 2002-04-12 Juergen Vigna <jug@sad.it>
9320 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9322 * text2.C (getCursorX): new helper function
9323 (setCursor): compute also ix_
9324 (setCursorFromCoordinates): set also ix.
9326 * lyxcursor.h: added ix_ and helper functions.
9328 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9330 * buffer.C (insertStringAsLines): dont break paragraph if the this
9331 paragraph is inside an inset which does not permit it!
9333 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9334 also with no chars on this paragraph.
9335 (paintRowText): only paint stuff if it's inside the workarea!
9337 * paragraph.C (breakParagraph): honor keepempty flag and break the
9338 paragraph always below not above.
9340 * BufferView2.C (unlockInset): update the paragraph layout on inset
9341 unlock as we changed paragraph in such a case.
9343 * lyxfind.C (LyXFind): clear the former selection if not found!
9345 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9346 again called in insertChar().
9348 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9349 an inset which uses the whole row!
9350 (rightMargin): ditto.
9351 (insertChar): force a rebreak if we inserted an inset!
9353 2002-03-28 Herbert Voss <voss@lyx.org>
9355 * lyxlength.[Ch]: add inBP() to get the right PS-point
9356 units (BigPoint). With inPixels we have rounding errors
9358 2002-04-11 Juergen Vigna <jug@sad.it>
9360 * text2.C (setCursorFromCoordinates): set iy to the right value.
9361 (setCursor): add check if row->previous exists!
9363 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9364 an old float_type as this was the case in the old code!
9366 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9368 * BufferView2.C (showLockedInsetCursor): use iy
9369 (fitLockedInsetCursor): ditto
9371 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9372 locked insets as there we have the right value now.
9374 * lyxcursor.C: added iy_ variable and iy functions to set to the
9375 baseline of cursor-y of the locked inset.
9377 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9378 (setCursor): fixed for insets which need a full row.
9380 * text.C (rowLastPrintable): don't ignore the last space when before
9381 an inset which needs a full row.
9382 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9383 as last character of a row when before a inset which needs a full row.
9385 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9387 * version.C.in: update date
9389 * text2.C (fullRebreak): try to always return true and see what
9392 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9394 * MenuBackend.C (expand): use Floating::listName
9396 * FloatList.C (FloatList): add listName argument to the built-in
9399 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9400 text associated with the float.
9402 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9404 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9406 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9408 * ShareContainer.h: add a couple of missing typenames.
9410 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9412 * lyxrc.C (getDescription): use _() correctly rather than N_().
9414 2002-03-28 Herbert Voss <voss@lyx.org>
9416 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9417 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9419 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9421 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9422 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9424 2002-03-29 Juergen Vigna <jug@sad.it>
9426 * lyxfunc.C (dispatch): add a missing fitCursor call.
9428 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9429 it was scrolled by a cursor move, so return the bool status.
9431 * BufferView.C (fitCursor): return the bool flag also to the outside
9432 world as this is needed.
9434 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9436 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9437 call the edit() as it is not needed (and wrong) IMO.
9438 (workAreaButtonPress): set the screen_first variable before evt.
9439 unlock the inset as this may change screen_first and then we have
9440 a wrong y position for the click!
9442 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9444 * MenuBackend.C (expand): another translation that I missed
9446 2002-03-28 Juergen Vigna <jug@sad.it>
9448 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9450 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9452 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9454 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9456 * MenuBackend.C (expand): fix export/view/update when there is no
9459 2002-03-27 Herbert Voss <voss@lyx.org>
9461 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9464 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9466 * bufferview_funcs.C (currentState): only show paragraph number
9467 for is DEVEL_VERSION is set.
9469 * lyxfunc.C (dispatch): put warning in INFO channel
9471 * MenuBackend.C (expand): translate the name of floats
9473 * FloatList.C (FloatList): mark the float names for translation
9475 * converter.C (convert): use LibScriptSearch
9477 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9479 * MenuBackend.C (defaults): fix default menu (we might as well get
9482 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9484 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9487 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9489 * lyxvc.C: reorder includes.
9491 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9493 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9496 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9498 * CutAndPaste.C: change layouts earlier on paste
9499 to avoid crashing when calling getFont()
9501 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9503 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9506 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9508 * WorkArea.C: remove 'Pending' debug message.
9510 * most files: ws cleanup
9512 * buffer.[Ch]: ws changes
9514 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9516 2002-03-21 Juergen Vigna <jug@sad.it>
9518 * tabular.C (SetMultiColumn): collapse also the contents of the
9519 cells and set the last border right. Added a Buffer const * param.
9521 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9523 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9526 2002-03-19 Juergen Vigna <jug@sad.it>
9528 * text2.C (clearSelection): reset also xsel_cache.
9530 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9531 where it needs to be called (John tells us to do so too :)
9532 (selectionLost): reset sel_cache.
9534 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9536 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9538 * text2.C (setCursorIntern): put debuging code in INSETS channel
9540 2002-03-19 André Pönitz <poenitz@gmx.net>
9542 * lyxfunc.C: tiny whitespace change
9544 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9546 * ToolbarDefaults.C (init):
9547 * LyXAction.C (init):
9549 * BufferView_pimpl.C (Dispatch):
9550 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9552 2002-03-19 Allan Rae <rae@lyx.org>
9554 * exporter.C (Export): removeAutoInsets before doing anything else.
9555 While I've just introduced a dependency on BufferView this really is
9556 the best place to clean the buffer otherwise you need to cleanup in
9557 a dozen places before calling export or cleanup in a dozen functions
9560 * converter.C (runLaTeX):
9561 (scanLog): Better handling of removeAutoInsets and screen updates.
9563 * lyxfunc.C (dispatch): small whitespace changes
9565 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9567 * WorkArea.C (C_WorkAreaEvent): return a value.
9568 (event_cb): return 1 if we handled the event, 0 otherwise.
9570 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9572 2002-03-18 Juergen Vigna <jug@sad.it>
9574 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9575 (GetAdditionalWidth): ditto.
9579 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9580 inset if we're there actually (probably not used right now but this
9581 is the direction to go for unifying code).
9582 (paste): disable code to clear the selection.
9584 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9585 inside an InsetText and move the check further up as it is in the
9588 * text2.C (pasteSelection): set a selection over the pasted text.
9590 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9592 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9593 and libgraphics to build on Cygwin.
9595 2002-03-15 Juergen Vigna <jug@sad.it>
9597 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9598 inserting an Inset into the paragraph. I know this is not the best
9599 fix but we already use current_view in CutAndPaste so we will remove
9600 all of it's using at the same time.
9602 * buffer.C (sgmlError): deactivated function till it is rewritten in
9603 the right mode, now it can create problems.
9605 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9606 before accessing it.
9608 2002-03-14 Juergen Vigna <jug@sad.it>
9610 * undo_funcs.C (textHandleUndo): do the right thing when updating
9611 the inset after the undo/redo.
9613 * text2.C (setCursor): just some testcode for #44 not ready yet.
9615 * undo_funcs.C (textHandleUndo): set the next() and previous()
9616 pointers of the paragraph to 0 before deleting otherwise we have
9617 problems with the Paragraph::[destructor].
9619 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9620 on a paragraph insertion.
9622 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9624 * buffer.C (asciiParagraph): use += operator for char append to
9627 * paragraph.C (getFontSettings): compare >= not just >
9628 (highestFontInRange): ditto
9631 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9633 * paragraph.C: change several algorithm to be more appripriate for
9634 the problem domain. This is lookip in FontList and in the InsetList.
9636 2002-03-13 André Pönitz <poenitz@gmx.net>
9639 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9641 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9646 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9648 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9650 * Painter.C (display): anon helper function, adjust code for this
9652 (pixmap): remove function.
9654 * Painter.h: remove private display variable.
9656 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9658 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9660 * WorkArea.[Ch]: remove figinset_canvas cruft.
9662 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9664 * lyxtextclass.C (operator): add one item cache optimization.
9666 * bufferlist.h: doxy changes
9668 * bufferlist.C: ws changes
9670 * DepTable.[Ch] (ext_exist): place const in the right spot.
9672 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9674 (workAreaExpose): call resizeInsets when the with BufferView changes.
9675 (Dispatch): adjust for protectedBlank removal
9676 (specialChar): call updateInset if the insert went ok.
9678 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9679 specialChar instead.
9681 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9683 * BufferView.h: doxy change
9685 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9687 * lyxtextclass.C (operator[]): remove non-const version
9688 (defaultLayout): remove non-const version
9690 2002-03-12 Juergen Vigna <jug@sad.it>
9692 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9693 did resize the LyXText too.
9695 * buffer.C (readLyXformat2): set layout information on newly allocated
9698 * tabular.C (OldFormatRead): set layout information on the paragraph.
9700 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9702 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9704 2002-03-11 Juergen Vigna <jug@sad.it>
9706 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9708 (resizeCurrentBuffer): force also the insets to resize themselfes.
9709 (moveCursorUpdate): fixed up for InsetText.
9711 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9714 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9715 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9716 value of Dialogs::tooltipsEnabled().
9717 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9719 2002-03-08 Juergen Vigna <jug@sad.it>
9721 * BufferView_pimpl.C (updateInset): update inset inside inset also
9722 if it isn't inside theLockingInset().
9724 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9726 * buffer.C (asciiParagraph): redo some of the word and line length
9728 (getLists): look for Caption instead of caption.
9730 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9732 * buffer.C (Buffer): initialize niceFile to true
9735 (makeDocBookFile): make sure niceFile is true on exit
9737 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9739 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9741 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9743 * LyXSendto.C: remove.
9744 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9745 * lyx_gui.C: remove now-redundant comment.
9746 * ColorHandler.h: remove forward declaration of class WorkArea.
9747 * lyxfunc.C: remove #include "WorkArea.h".
9749 2002-03-07 Juergen Vigna <jug@sad.it>
9751 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9752 got moved away with the DEPM and also set the inset_owner always
9753 right which before could have been omitted.
9755 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9757 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9758 wanted layout is not found.
9760 2002-03-07 Juergen Vigna <jug@sad.it>
9762 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9764 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9766 * paragraph.C (breakParagraph): use default layout not layout of
9768 (Paragraph): clear ParagraphParameters.
9770 2002-03-06 Juergen Vigna <jug@sad.it>
9772 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9773 otherwise it would not be a valid lenght. Fixed a special case in
9774 the minipage compatibility read where we end the document with a
9777 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9778 was set as it could be 0 for InsetTexts first entry.
9780 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9782 * paragraph.C (writeFile): if layout is empty write out
9783 defaultLayoutName().
9785 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9786 file without named layout we set layout to defaultLayoutName().
9788 2002-03-06 Juergen Vigna <jug@sad.it>
9790 * CutAndPaste.C (copySelection): set layout for new paragraph.
9792 * text.C (prepareToPrint): leave ERT inset left aligned
9793 (leftMargin): don't indent paragraphs inside ERT insets
9795 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9797 * paragraph.C (breakParagraph): dont call clear do the work manually
9799 * paragraph.[Ch] (clear): remove function
9801 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9803 * paragraph.C (Paragraph): dont call clear, the work has already
9806 * lyxtextclass.C (operator): assert if n is empty
9808 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9809 work manually instead.
9811 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9813 * BufferView_pimpl.C: protect selectionLost against text == 0
9815 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9817 * text.C (breakParagraph): fix a setting layout to '0' problem.
9819 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9821 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9822 final location of file, for the included files, and graphics.
9824 2002-03-05 Juergen Vigna <jug@sad.it>
9826 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9828 2002-03-04 Juergen Vigna <jug@sad.it>
9830 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9832 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9833 last column of multicolumn cells.
9834 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9836 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9838 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9839 file if it doesn't go to a temporary file.
9841 * buffer.C (sgmlOpenTag):
9842 (sgmlCloseTag): remove extra newline insertion.
9844 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9846 * text.C (getRowNearY): comment out debug msg
9848 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9850 * text2.C: first -> first_y
9852 * text.C (getRowNearY): add some attemts at a possible
9853 optimization, not working.
9855 * tabular.[Ch]: add BufferParams to several function so that newly
9856 created paragraph can be initialized to he default layotu for the
9859 * tabular-old.C (ReadOld): add buf->params to call of Init
9861 * screen.C: rename text->first to text->first_y
9863 * paragraph.C (breakParagraph): always set layout in the broken
9866 * lyxtextclass.C (Read): remove lowercase
9869 (delete_layout): ditto
9871 * lyxtext.h: rename first -> first_y
9873 * lyxlayout.C (Read): remove lowercase
9876 (obsoleted_by): ditto
9878 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9880 * buffer.C (insertErtContents): add params are to InsetERT
9881 (parseSingleLyXformat2Token): add code to check if a paragraphs
9882 layout really exist.
9883 (parseSingleLyXformat2Token): add params to several inset
9885 (asciiParagraph): remove lowercase, do the layout comparisons with
9888 * BufferView_pimpl.C (cursorNext): first -> first_y
9889 (resizeCurrentBuffer): first -> first_y
9890 (updateScrollbar): first -> first_y
9891 (scrollCB): first -> first_y
9892 (workAreaMotionNotify): first -> first_y
9893 (workAreaButtonPress): first -> first_y
9894 (checkInsetHit): first -> first_y
9895 (cursorPrevious): first -> first_y
9896 (cursorNext): first -> first_y
9897 (Dispatch): add buffer_->params to severl inset contructors
9899 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9901 * lyxlayout.C (Read): remove some debug info that I forgot.
9903 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9904 clean up the code slightly.
9905 (makeLinuxDocFile): ditto
9906 (makeDocBookFile): ditto
9908 * text2.C: layout as string
9910 * text.C: layout as string
9912 * paragraph_pimpl.C: layout as string
9914 * paragraph.[Ch]: layout as string
9916 * lyxtextclasslist.[Ch]: layout as string
9918 * lyxtextclass.[Ch]: layout as string
9920 * lyxtext.h: layout as string
9922 * lyxlayout.[Ch]: layout as string
9924 * lyx_cb.C: layout as string
9926 * bufferview_funcs.C: layout as string
9928 * bufferparams.C: layout as string
9930 * buffer.C: layout as string
9932 * LyXView.[Ch]: layout as string
9934 * LaTeXFeatures.[Ch]: layout as string
9936 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9938 * BufferView_pimpl.C: change current_layout to string, remove
9943 (workAreaButtonRelease): layout as string
9945 * BufferView2.C (unlockInset): adjust
9947 * vspace.C (asLatexCommand): use an explict temp variable.
9949 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9951 * Makefile.am: use FRONTEND_*
9953 2002-03-01 Juergen Vigna <jug@sad.it>
9955 * tabular.C (SetWidthOfMulticolCell): changed to something better
9956 I hope but still work in progress.
9957 (recalculateMulticolumnsOfColumn): renamed function from
9958 recalculateMulticolCells as it is more appropriate now.
9959 (SetWidthOfCell): calculate multicols better.
9961 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9963 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9965 * lyxfunc.C (processKeySym): print sequence also if it is
9966 `deleted' (complete)
9968 * kbsequence.C (print): print sequence even if it is deleted
9969 (complete would be a better word, actually).
9971 * lyxfunc.C (dispatch): print complete options after a prefix key
9973 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9975 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9977 * text2.C (setCharFont): eliminate setCharFont code duplication.
9979 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9981 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9982 LFUN_TABULAR_FEATURE (bug #177)
9984 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9986 * Makefile.am: remove figure.h
9988 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9990 * Bufferview_pimpl.C:
10002 * text2.C: remove #include "lyx_gui_misc.h".
10004 * LaTeX.C: added #include <cstdio>
10006 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10008 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10009 that the paragraph following this one can have.
10011 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10013 * vspace.C (asLatexCommand): fix bogus gcc warning
10015 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10017 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10019 * text2.C (setLayout): get rid of redundant code
10021 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10023 * text2.C (incDepth): make sure depth cannot be increased beyond
10026 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10028 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10029 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10031 * PainterBase.h (image):
10032 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10033 a LyXImage const *.
10035 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10039 * BufferView_pimpl.C:
10040 * BufferView_pimpl.h:
10060 * sp_spell.C: remove fig inset, and the crap house of
10061 cards that follows it
10063 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10068 * os2_errortable.h:
10069 * nt_defines.h: move .h into support/
10071 * vms_defines.h: remove
10073 * WorkArea.C: add space in debug output
10077 * buffer.C: add WITH_WARNINGS
10081 * bufferlist.C: s/retrive/retrieve/, add docs
10090 * chset.C: add docs
10092 * lyxgui.C: add ID to X error handler
10094 * lyxtestclass.c: fix typo
10096 2002-02-26 Juergen Vigna <jug@sad.it>
10098 * tabular_funcs.C (write_attribute): changed so that some default
10099 attributes are not written at all.
10100 (getTokenValue): set default values before trying to read the
10101 value so we have the return value always set as default if we don't
10102 find the token we search for.
10104 * tabular.C (Write): write bools as bools not as strings!
10106 2002-02-22 Juergen Vigna <jug@sad.it>
10108 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10109 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10111 * text.C (leftMargin): don't add an indent for paragraphs inside
10112 tabular cells (fix #208).
10114 2002-02-21 José Matos <jamatos@fep.up.pt>
10116 * tabular.C (docBook): fixed support for long tables.
10118 2002-02-20 Juergen Vigna <jug@sad.it>
10120 * text2.C (getFont): get the drawing font of the Inset if this
10121 paragraph is inside an inset (only important for InsetERT for now).
10123 * buffer.C (insertErtContents): use new lanugage params in ERT
10126 * CutAndPaste.C: commenting out seemingly uneeded code.
10128 2002-02-19 Allan Rae <rae@lyx.org>
10130 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10131 Iterators might be simple to use but they also get invalidated.
10132 (removeAutoInsets): renamed saved cursor tracking variables and added
10133 some comments to clarify what everything does.
10135 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10142 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10143 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10146 * vc-backend.h: remove #include "support/syscall.h"
10150 * converter.C: rearrange #includes in Lars' approved fashion.
10152 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10153 forward declare class Timeout in the header file.
10155 * XFormsView.C: changes due to the above.
10157 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10158 similar to LyXView.
10160 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10161 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10163 2002-02-18 José Matos <jamatos@fep.up.pt>
10165 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10168 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10170 * a lot of small ws changes
10171 * add a lot of using std::XXX
10172 * use std construcs some places where approp.
10173 * use some exisint stuff from lyxfunctional where approp.
10174 * Make file changes to use partial linking (lets test this now...)
10176 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10180 remove #include "support/syscontr.h" as it's redundant. Always has been.
10188 change Systemcalls::System to Systemcalls::Wait and
10189 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10190 No change of functionality, just reflects the stripped down Systemcalls
10193 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10195 * debug.[Ch]: add a GRAPHICS type to the enum.
10197 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10199 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10201 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10204 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10206 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10207 match the changes below.
10209 * text2.C (toggleInset): if there is not editable inset at cursor
10210 position, try to see if cursor is _inside_ a collapsable inset
10213 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10215 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10216 document menu has a nice checkbox
10218 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10220 * lyxlength.C (asLatexString): change PW to output as percent of
10223 * lengthcommon.C: change '%' to 't%'
10225 * lyxfunc.C (dispatch): a few comments from Martin
10227 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10231 * BufferView_pimpl.h:
10232 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10235 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10237 * vspace.C (inPixels): fix compiler warning
10239 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10241 * lyxfunc.C (getStatus): fix status message for disabled commands.
10243 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10245 * BufferView_pimpl.C: fix crash on close buffer
10246 during selection (#227)
10248 2002-01-27 Herbert Voss <voss@lyx.org>
10250 * buffer.C: link old Figure to new graphic inset
10252 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10254 * FontLoader.C (getFontinfo): Change the latex font names in order
10255 to match the names of type1inst.
10257 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10259 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10261 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10262 (extchanged): ditto
10264 (remove_files_with_extension): ditto
10265 (remove_file): ditto
10268 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10269 document is smaller than the work area height. Do not initialize
10270 static variables to 0.
10272 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10274 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10276 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10277 LFUN_LAYOUT_PARAGRAPHS.
10279 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10280 tabular. It is possible to provide a possible cell, which will
10281 typically be the actcell from the corresponding insettabular
10283 * lyxfunc.C (getStatus): small cleanup; disable
10284 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10287 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10289 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10291 * paragraph.C (startTeXParParams):
10292 (endTeXParParams): new methods. The LaTeX code to
10293 start/end paragraph formatting
10294 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10295 empty (fixes bug #200)
10297 * vspace.C (inPixels): adapt to the change below
10298 (inPixels): [later] more cleanups (remove unused variables)
10300 * lyxlength.C (inPixels): change to use a width and a height as
10303 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10305 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10306 Replaced with \paperwidth
10308 * DepTable.C (insert): add std:: qualifier
10310 2002-01-18 Allan Rae <rae@lyx.org>
10312 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10315 * text.C (drawInset): Turned out I didn't know enough about how
10316 rebreaking worked. This fixes most of the redraw problems. I see
10317 an occasional cursor trail when a line is broken now and the cursor
10318 placement can seem out by a few pixels also after a rebreak.
10320 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10322 * buffer.C (parseSingleLyXformat2Token): update because minipage
10323 width is now a LyXLength
10325 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10327 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10330 2002-01-17 Juergen Vigna <jug@sad.it>
10332 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10334 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10335 is set correctly and the inset is updated correctly.
10337 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10339 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10340 the beginning of the loop.
10342 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10344 * lyxrc.C: improve help for use_scalable_fonts
10346 2002-01-17 Allan Rae <rae@lyx.org>
10348 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10350 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10352 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10353 make sure to set their inset_owner to the right value (bug #171)
10355 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10358 * DepTable.C: Implement mtime checking to reduce time spent doing
10361 2002-01-16 Juergen Vigna <jug@sad.it>
10363 * tabular.C (GetAdditionalHeight): one of error fixed.
10365 * lyxrc.C (output): small fix in writing use_pspell.
10367 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10369 * sp_base.h: #include LString.h
10371 2002-01-16 Allan Rae <rae@lyx.org>
10373 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10374 Can someone check this please?
10376 * text.C (drawInset): It was possible that p.row would be removed by
10377 breakAgainOneRow upsetting a few other settings. There may be another
10378 small tweak possible by setting need_break_row = 0 when p.row has been
10379 removed but I don't know enough about the logic here.
10381 2002-01-15 Allan Rae <rae@lyx.org>
10383 * text.C (insertChar): removed conditional truism.
10385 * BufferView2.C (removeAutoInsets): More tweaks.
10386 cur_par_prev could be a stray pointer. Check for trailing empty line
10387 in case last line was cur_par and only had an error inset on it.
10389 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10391 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10394 * vc-backend.C (most methods):
10395 * exporter.C (Export):
10396 * converter.C (convert):
10398 * LyXSendto.C (SendtoApplyCB):
10399 * lyxfunc.C (dispatch):
10403 * lyx_cb.C (AutoSave):
10405 * BufferView_pimpl.C (MenuInsertLyXFile):
10406 * buffer.C (runChktex): use Buffer::filePath().
10408 * buffer.h: rename filename to filename_; rename filepath to
10409 filepath_ and make it private
10410 (filePath): new method
10412 * buffer.C (writeFile): use fileName()
10415 * lyx_main.C (init): fix starting of LyX when the binary is a
10416 link from so,ewhere else.
10418 * minibuffer.C: include <cctype> for isprint
10420 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10422 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10423 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10424 name clash with InsetCollapsable's width function.
10426 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10428 * lastfiles.C: include <iterator>
10430 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10432 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10435 * buffer.C (makeLaTeXFile): ditto.
10436 Also make loop operation more transparent.
10438 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10440 * ToolbarDefaults.C: remove trailing comma closing namespace.
10442 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10444 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10447 * trans.C (Load): comment out unused variable, allowed.
10449 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10451 * minibuffer.[Ch] (append_char): new method to recieve input from the
10452 drop-down completion browser. If a key was pressed, then recieve this
10453 char and append it to the existing string.
10454 (peek_event): modify the positioning data passed to the completion
10455 browser so that it can be placed above the minibuffer rather than below.
10456 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10458 * LyXAction.C (init): alloe error-next for readonly documents.
10460 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10463 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10465 * bufferlist.C (readFile): create the buffer _after_ checking that
10468 * lyxfunc.C (verboseDispatch): fix handling of arguments
10470 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10472 * lyxrc.C: use string::erase() instead of initializing to "".
10475 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10477 * BufferView_pimpl.h:
10478 * BufferView_pimpl.C:
10481 * text2.C: tell X when we have made a selection for copying
10483 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10485 * BufferView_pimpl.C (MenuInsertLyXFile):
10486 * lyxfunc.C (menuNew):
10488 (doImport): add shortcuts to directory buttons
10490 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10493 * lyxfunc.C (setStatusMessage):
10494 (getStatusMessage): new methods
10495 (getStatus):use setStatusMessage instead of setErrorMessage
10496 (dispatch): when function is disabled, set error message here
10497 [instead of in getStatus previously]
10499 * BufferView_pimpl.C (workAreaButtonRelease): update
10500 toolbar/menubar here too.
10502 2002-01-13 Allan Rae <rae@lyx.org>
10504 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10505 Now seems indestructible. Remaining task is to audit all other
10506 code affected by deleteEmptyParagraphMechanism. One small quirk
10507 left is that an empty document with an error in the preamble can
10508 be made to report an error but no error box appears. I don't know
10510 (removeAutoInsets): Improved comments.
10512 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10515 * Thesaurus.C: update for Aiksaurus 0.14
10517 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10519 * text2.C (firstParagraph): removed member function, all uses
10520 replaces with ownerParagraph
10521 (redoParagraphs): here
10522 (updateInset): here
10523 (toggleAppendix): here
10524 * BufferView2.C (insertErrors): here
10525 (setCursorFromRow): here
10527 2002-01-13 Allan Rae <rae@lyx.org>
10529 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10530 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10531 There is still a way to segfault this although you may have to do this
10532 multiple times: Have an InsetERT with an unknown command in it.
10533 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10534 <down-arrow>, <Enter> again, View->DVI, BANG!
10536 * text2.C (setCursor):
10537 (deleteEmptyParagraphMechanism):
10538 * lyxtext.h (setCursor):
10539 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10540 Making use of the return value may help fix other bugs.
10542 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10544 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10546 * LyXView.C (updateMenubar): call MenuBar::update here
10547 (updateToolbar): but not here
10548 (showState): do not update toolbar/menubar
10550 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10551 should need to care about that.
10553 * lyxfunc.C (verboseDispatch): simplify a bit
10554 (getStatus): have a version which takes a pseudoaction, and
10555 another which requires a (kb_action,string).
10557 * LyXAction.C (retrieveActionArg): make it work also when action
10558 is not a pseudo-action.
10559 (getActionName): simplify a bit
10562 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10564 * lyxfunc.C (verboseDispatch): new families of methods with
10565 several ways to specify a command and a bool to indicate whether
10566 the command name and shortcut should be displayed in minibuffer
10567 (eventually, we could extend that to a finer bitmask like
10568 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10569 (dispatch): the pristine dispatch command which just, well,
10570 dispatchs! Note it still sets its result to minibuffer; I'm not
10573 * lyxfunc.h: remove setHintMessage
10575 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10577 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10579 * BufferView_pimpl.C (specialChar): delete new inset if we have
10580 not been able to insert it.
10582 * kbmap.C: revert to using int instead of kb_action, since all we
10583 are dealing with is pseudo-actions.
10585 * LyXAction.C (searchActionArg): change to return int instead of
10586 kb_action, since the result is a pseudoaction.
10588 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10590 * buffer.C (insertErtContents): Fix (partially) the font bug.
10592 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10594 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10595 as the other one is broken on my machine!
10597 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10600 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10602 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10604 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10605 reflect their actual use. Provide compatibility code for older lyxrc
10608 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10610 change names of popup font variables in line with the changes to lyxrc.C
10612 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10614 * buffer.C (asciiParagraph): avoid outputing a word twice after
10617 * lyxrc.C (getDescription): document that document_path and
10618 template_path can be empty.
10620 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10622 * LaTeXFeatures.C (getMacros):
10623 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10625 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10627 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10629 (getPackages): rename feature "floats" to "float". Use an array to
10630 iterate over 'simple' features (i.e. just a \usepackage). Add
10631 handling of "amsmath" (renamed from "amsstyle").
10633 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10635 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10638 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10640 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10641 FuncStaus::FuncStatus & FuncStaus::some_method().
10643 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10645 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10646 of the func_satus stuff. Edited and massaged in various ways by
10649 * lyxfunc.C (getStatus): use FuncStatus
10651 2002-01-08 Juergen Vigna <jug@sad.it>
10653 * text.C (nextBreakPoint): use function Inset::isChar().
10655 * paragraph.C (TeXOnePar): use function
10656 Inset::forceDefaultParagraphs.
10658 * buffer.C (latexParagraphs): use function
10659 Inset::forceDefaultParagraphs.
10661 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10663 * lyx_gui.C (init): set the style of the menu popups to
10664 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10666 2002-01-07 Juergen Vigna <jug@sad.it>
10668 * text.C (setHeightOfRow): small fix
10669 (prepareToPrint): don't look at alignment if we don't have the place
10672 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10674 * box.C: New file. Move the Box methods and functions out of box.h,
10675 following Lars' suggestion.
10677 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10679 * box.h: #include "support/LOstream.h", needed for inlined function.
10682 * lyxtextclasslist.C: added some using std declarations.
10684 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10686 * box.h: make signed dimensions to allow insets wider than
10687 the screen (bug #162)
10689 * BufferView_pimpl.C: add some insetHit debug
10691 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10693 * vc-backend.C: add FIXME
10695 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10697 * lyxfunc.C (getStatus): enable code for showing math font status
10700 2002-01-07 Juergen Vigna <jug@sad.it>
10702 * text.C (nextBreakPoint): removed debug output not needed anymore.
10704 2002-01-06 Juergen Vigna <jug@sad.it>
10706 * text.C (nextBreakPoint): fixed up this function we had this bug
10707 since ever but now hopefully we break row better.
10708 (insertChar): we have to check if an inset is the next char as it
10709 could now happen that a large inset is causing a break.
10711 2002-01-05 Juergen Vigna <jug@sad.it>
10713 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10714 if it doesn't like to be drawed.
10716 2002-01-04 Juergen Vigna <jug@sad.it>
10718 * BufferView2.C (lockInset): forgot to set a cursor.
10720 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10722 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10724 * FormMathsPanel.C:
10727 * form_maths_panel.C:
10728 * form_maths_panel.h:
10729 * form_maths_panel.fd: implemented sub- and super- buttons in math
10732 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10733 (or ^ space) to be used as in TeX (req'd by André).
10735 * lyxfunc.C: Allow ^ and _ again to be used both as
10736 super/subscript (mathed) and as themselves (in text).
10738 2002-01-03 Allan Rae <rae@lyx.org>
10740 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10741 "LyX" or the filename of the current buffer if it has one. This is a
10742 modified form of John Levon's patch.
10744 * XFormsView.C (setWindowTitle): also set icon title.
10746 * LyXView.h (setWindowTitle): signature changed.
10747 * XFormsView.h (setWindowTitle): ditto.
10749 2002-01-02 Juergen Vigna <jug@sad.it>
10751 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10753 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10755 * screen.C (topCursorVisible): introduce a temp var for
10756 text->cursor.row(), handle the case where this row is null. (kindo
10759 * text2.C (setCursor): add a couple of asserts.
10761 * paragraph.h (inset_iterator): add -> operator
10763 * paragraph.[Ch] (autoDeleteInsets): remove member function
10765 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10766 cursor pos correctly and handle inset deletion by itself.
10767 (insertErrors): move iterator declaration out of for expression
10769 * lyxtextclass.C: add <algorithm>
10771 * Makefile.am: added the new files to sources, removed layout.C
10773 * layout.C: removed file
10775 * layout.h: remove LYX_DUMMY_LAYOUT
10777 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10781 * lyxtextclass.[Ch]:
10782 * lyxtextclasslist.[Ch]: new files
10784 * include order changes to a lot of files, also changes because of
10787 2001-12-27 Juergen Vigna <jug@sad.it>
10789 * buffer.C (asciiParagraph): more fixes.
10791 * tabular.C (ascii): make ascii export support export of only the
10792 data separated by a column-delimiter.
10793 (ascii): better support for ascii export.
10795 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10797 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10799 * tabular_funcs.C: use a "using std::getline" instead of the
10800 previous fix from Angus (necessary for cxx + lyxstring)
10802 2001-12-24 Juergen Vigna <jug@sad.it>
10804 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10806 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10807 problems. First check a minipage also if we have some ert-contents
10808 (not only on par->size(), second set the right depth of the paragraph
10809 on the relink to the root-paragraph-list!
10811 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10812 which then did not anymore update the main paragraphs on undo/redo!
10814 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10816 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10817 code. Support all font-changing funcs (even those which are not in
10818 menu currently). Support for reporting font settings in
10819 mathed (disabled until Andre provides a function on mathed's side).
10821 * func_status.h (toggle): small helper function to set toggle
10824 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10826 * tabular_funcs.C: getline -> std::getline
10828 2001-12-21 Juergen Vigna <jug@sad.it>
10830 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10831 accessed and could be 0 (I couldn't generate this but it seems
10834 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10836 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10837 * tabular_funcs.h: here and include iosfwd
10839 2001-12-20 Juergen Vigna <jug@sad.it>
10841 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10842 inside inset but undo_par was.
10844 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10846 * Thesaurus.C: always include <config.h> in sources.
10850 * box.h: do not include <config.h> in header files
10852 * text.C (paintLastRow): remove unused variable
10854 * text.C (transformChar):
10856 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10858 * Painter.C (text):
10859 * font.C (width): rewrite to use uppercase() instead of
10862 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10864 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10866 * lyxfind.C: clean up of find failure position change
10868 2001-12-20 Juergen Vigna <jug@sad.it>
10870 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10872 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10873 (TeXRow): added to LaTeX a single tabular row.
10874 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10875 (Latex): simplified and finally good LT-h/f support.
10876 (various_functions): just small adaptions for LT-h/f support.
10878 * tabular_funcs.[hC]: added and moved here all not classfunctions
10881 2001-12-19 Juergen Vigna <jug@sad.it>
10883 * tabular.[Ch]: better support for longtabular options (not finished
10886 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10888 * text.C (paintLastRow): use the label font instead of the font of
10889 the last character to compute the size of *_BOX. This makes more
10890 sense and avoids a crash with empty paragraphs.
10891 Use Painter::rectangle to draw EMPTY_BOX.
10893 2001-12-19 Juergen Vigna <jug@sad.it>
10895 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10896 the paragraphs if the replaced paragraph is not the first one!
10897 Tried to delete not used paragraphs but does not work yet so for
10898 now it's inside #ifdef's and by default off!
10900 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10902 * MenuBackend.C: include "lyx_main.h" instead of declaring
10903 lastfiles (actually was declared as LastFiles* instead of a
10906 2001-12-17 Juergen Vigna <jug@sad.it>
10908 * tabular.C (AppendColumn): applied John's fix
10910 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10914 * BufferView_pimpl.h:
10915 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10918 * box.h: new start of class for above
10920 * lyxfunc.C: ignore space-only minibuffer dispatches.
10921 Show the command name when it doesn't exist
10923 * minibuffer.C: don't add empty lines to the history
10925 * minibuffer.C: add a space on dropdown completion
10927 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10929 * text.C: fix line above/below drawing in insets
10931 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10933 * lyxlength.C (LyXLength): Initialize private variables.
10935 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10937 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10938 when inserting error insets.
10940 2001-12-13 Juergen Vigna <jug@sad.it>
10942 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10943 actually sometimes the before-paragraph.
10944 (setUndo): don't clear the redostack if we're not actually undoing!
10946 2001-12-06 Juergen Vigna <jug@sad.it>
10948 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10949 and fixed redoing of main paragraph, so we can use it now ;)
10951 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10953 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10955 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10958 2001-12-13 André Pönitz <poenitz@gmx.net>
10961 * undo_func.C: minor cleanup
10963 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10965 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10966 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10967 font in urw-fonts package which is marked as -urw-fontspecific and
10968 does not work (incidentally, changing the encoding in the
10969 fonts.dir of this package to -adobe-fontspecific fixes the
10972 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10973 is a crash when undoing first paragraph (Juergen, please take a
10974 look). THis does not mean the undo fix is wrong, just that it
10977 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10978 the (Paragraph*) version when needed instead of duplicating the
10981 * text.C (workWidth): use Inset::parOwner to find out where the
10982 inset has been inserted. This is a huge performance gain for large
10983 documents with lots of insets. If Inset::parOwner is not set, fall
10984 back on the brute force method
10986 * paragraph_pimpl.C (insertInset):
10987 * paragraph.C (Paragraph):
10988 (cutIntoMinibuffer): set parOwner of insets when
10989 inserting/removing them
10991 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10993 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10999 * mathed/formulabase.C:
11000 * mathed/math_cursor.[Ch]:
11001 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11004 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11006 * lyxlength.[Ch] (operator!=): new function
11008 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11010 * text.C (workWidth): use Inset::parOwner to find out where the
11011 inset has been inserted. This is a huge performance gain for large
11012 documents with lots of insets. If Inset::parOwner is not set, fall
11013 back on the brute force method
11015 * paragraph_pimpl.C (insertInset):
11016 * paragraph.C (Paragraph):
11017 (cutIntoMinibuffer): set parOwner of insets when
11018 inserting/removing them
11020 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11022 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11024 * tabular-old.C (getTokenValue):
11025 * tabular.C (getTokenValue):
11026 (write_attribute): new versions for LyXLength
11027 (everywhere): adjust the use of widths
11029 * tabular.h: change the type of widths from string to LyXLength
11031 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11033 * paragraph.C: fixed missing line number count when exporting
11034 Environments to LaTeX file
11036 * buffer.C: added informational message for checking line numbers.
11038 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11040 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11041 paragraph, do the 'double space' part, but not the 'empty
11044 * text.C (workWidth): small optimization
11045 (getLengthMarkerHeight): use minimal size for negative lengths.
11047 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11049 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11051 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11053 2001-12-11 André Pönitz <poenitz@gmx.net>
11056 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11058 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11060 * text2.C: keep selection on a setFont()
11062 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11064 * lyx_cb.C: another bv->text misuse, from insert label
11066 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11069 * kbsequence.C: re-instate nmodifier mask
11071 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11073 * lyx_main.h: make lyxGUI private.
11075 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11077 * lyxfind.C: place the cursor correctly on failed search
11079 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11081 * text.C (getLengthMarkerHeight): for small heights, the arrows
11082 are not always on top/bottom of the text
11083 (drawLengthMarker): smaller arrows; take the left margin in
11084 account; draw also vfills.
11086 (paintLastRow): remove special code for vfill and standard spaces,
11087 since everything is handled in drawLengthMarker now.
11089 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11091 * buffer.C (insertErtContents): try to handle font and language
11092 interaction a bit better.g
11094 * ColorHandler.C (updateColor): change the hash to cover the whole
11095 LColor enum, ws cleanup
11096 (getGCLinepars): ditto
11097 (getGCLinepars): only lookup in the linecache once.
11099 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11101 * iterators.C (operator++): Make the iterator more robust
11103 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11105 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11107 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11110 * text.C: better added space drawing
11112 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11115 * BufferView2.C: fix layout combo update on inset unlock
11117 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11119 * Makefile.am: don't compile unused files
11121 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11125 * LyXAction.C: remove old LFUN_LAYOUTNO
11127 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11129 * paragraph_pimpl.h:
11130 * paragraph_pimpl.C: isTextAt() doesn't need font param
11132 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11135 * lyxlex.C: little cleanup
11137 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11139 * BufferView_pimpl.C: fix insertAscii for insets
11141 2001-12-05 Juergen Vigna <jug@sad.it>
11143 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11144 set the right font on the "multi" paragraph paste!
11146 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11152 * lyxlength.C: remove out-commented code.
11154 * BufferView_pimpl:
11168 * vc-backend.C: change "while(" to "while ("
11170 * lyxlength.[Ch]: add zero function to check if length is zero or
11172 * lyxgluelength.C: use it
11174 2001-12-05 Allan Rae <rae@lyx.org>
11176 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11177 Works for 2.95.3, from what I understand of Garst's reports this should
11178 work for other g++ versions. We're screwed if the abs(int) definition
11179 changed between bugfix releases of gcc.
11181 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11183 * text.C: fix chapter label offset !
11185 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11188 * text.C: fix hfill at end of line, clean up
11190 2001-12-04 Juergen Vigna <jug@sad.it>
11192 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11193 that we force an update of the inset and it's owners if neccessary.
11195 2001-12-03 Juergen Vigna <jug@sad.it>
11197 * text.C (rowLast): simplified code
11199 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11201 * lyxfunc.C: fix show options on timeout
11203 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11205 * screen.C (topCursorVisible): scroll half a page when the cursor
11206 reached top of bottom of screen
11208 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11210 * minibuffer.C: deactivate on loss of focus
11212 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11214 * vspace.[Ch] (operator!=): add operator.
11216 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11218 * BufferView_pimpl.C: refuse to open an inset when
11219 there's a selection.
11221 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11223 * BufferView_pimpl.C: allow to click on RHS of full row insets
11225 2001-11-30 Juergen Vigna <jug@sad.it>
11227 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11228 insets for undo reasons.
11230 2001-11-28 André Pönitz <poenitz@gmx.net>
11232 * vspace.[Ch]: cosmetical changes
11234 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11244 * kbsequence.C: part re-write of old kb code
11247 * WorkArea.C: remove Lgb_bug_find_hack
11249 2001-11-30 José Matos <jamatos@fep.up.pt>
11251 * buffer.C (makeDocBookFile): add a comment to point a hack.
11252 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11253 Fixed a double write of labels.
11255 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11258 * LaTeX.h Fixed bug in LaTeX class where it would not
11259 re-run latex if no depfiles were changed, but the .dvi was removed.
11261 2001-11-28 André Pönitz <poenitz@gmx.net>
11263 * all the files from the change on 2001/11/26:
11264 use lyx::layout_type instead of LyXTextClass::size_type
11265 use lyx::textclass_type instead of LyXTextClassList::size_type
11267 2001-11-29 Juergen Vigna <jug@sad.it>
11269 * text.C: added support for paragraph::isFreeSpacing()
11271 * buffer.C: same as above
11273 * paragraph.h: inserted isFreeSpacing() function to enable
11274 FreeSpacing inside InsetERT.
11276 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11277 of the paragraph's in the cut/copy buffer to 0!
11279 * text2.C (removeRow): remove the assert as it can!
11281 * lyxtext.h: added helper function firstRow returning firstrow and
11282 made firstrow private again.
11284 * BufferView2.C (lockInset): don't relock if we're already locked!
11286 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11287 the only paragraph.
11288 (removeRow): added Assert::(firstrow)
11290 * debug.C: forgot to add INSETTEXT here.
11292 2001-11-28 Juergen Vigna <jug@sad.it>
11294 * sp_spell.C (initialize): changed error text to more general
11295 spellchecker command use (not only ispell!)
11297 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11299 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11301 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11303 * vspace.C: initialise lyxgluelength on failure
11305 2001-11-28 Allan Rae <rae@lyx.org>
11307 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11308 declaration & definition that looks like a function declaration.
11310 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11312 * BufferView2.C (copy):
11313 (copyEnvironment): do not clear the selection when doing a copy.
11315 * text.C (paintFirstRow): compilation fix
11317 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11319 * tabular.C (Latex): correct line count when writing latex.
11321 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11323 * paragraph_pimpl.h:
11324 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11327 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11331 * LColor.C: change vfillline->added_space
11333 * text.C: add markers and text for added space
11335 * vspace.C: fix comment
11337 2001-11-28 André Pönitz <poenitz@gmx.net>
11339 * paragraph.C: whitespace changes
11340 * all the other files from the change on 2001/11/26:
11341 change *::pos_type into lyx::pos_type
11343 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11345 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11346 language of the document when inserting error insets.
11348 2001-11-26 André Pönitz <poenitz@gmx.net>
11350 * BufferView_pimpl.[Ch]:
11358 * paragraph_pimpl.[Ch]:
11361 * text2.C: reduce header dependencies, introduce type for positions
11363 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11365 * <various>: change to use Alert.h
11367 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11369 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11370 when encountering an unknown token.
11371 (readLyXformat2): Show an error message if there were unknown tokens.
11373 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11376 * BufferView_pimpl.C:
11380 * text2.C: use par->isInset()
11382 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11384 * paragraph_pimpl.h:
11385 * paragraph_pimpl.C: cleanup
11387 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11389 * text2.C (removeRow):
11390 * text.C (setHeightOfRow): remove useless (and costly) call to
11393 2001-11-20 Allan Rae <rae@lyx.org>
11395 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11396 Now need Inset*::checkInsertChar() to return true for appropriate
11397 cases so that the characters in the minibuffer will actually be
11400 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11402 * text.C: change the order of the includes.
11403 (workWidth): initialize it at once.
11404 (workWidth): make maxw unsigned
11405 (setHeightOfRow): remove unused variable (inset)
11406 (selectSelectedWord): remove unused variable (inset)
11407 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11409 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11411 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11412 server is not running.
11414 (closeConnection): add debug info when server is disabled.
11416 * ColorHandler.C (getGCForeground): send debug message to GUI
11419 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11421 * kbmap.C (bind): modify because return conventions of
11422 kb_sequence::parse have changed.
11424 * kbsequence.C (parse): only ignore spaces and not any stupid
11425 control character. This avoids tests like s[i] <= ' ', which are
11426 guaranteed to fail with 8bit characters and signed chars.
11427 Change return code to string::npos when there have been no error
11428 (0 was a bad idea when error is at first character)
11430 2001-11-14 José Matos <jamatos@fep.up.pt>
11433 * buffer.C (simpleDocBookOnePar): removed unused argument.
11435 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11437 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11438 insets which are part of a word. Paragraph::isLetter takes care of
11439 that now. Use Paragraph::isInset to identify insets.
11440 (selectSelectedWord): do not test for hyphenation break.
11442 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11443 that protected spaces are considered as spaces.
11445 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11448 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11451 * lyxserver.C: fix it. and small cleanup.
11453 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11455 * BufferView_pimpl.C: use inline helpers
11458 * LaTeXFeatures.C: fix typos
11461 * Spacing.C: move spacing_string into class
11463 * ToolbarDefaults.C: move stuff into namespace anon
11465 * layout.h: update enum
11467 * lyxfunc.C: use better debug
11469 * minibuffer.h: fix typo
11473 * WorkArea.C: add and use Debug::WORKAREA
11477 * text2.C: code re-organisation, inline helpers
11479 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11481 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11482 std::vector.empty().
11484 2001-11-09 Allan Rae <rae@lyx.org>
11486 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11487 '\n's after tables. Tabular and ERT inset work now makes this no
11490 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11493 * minibuffer.C: fix crash, improve drop-down completion
11495 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11498 * lyxserver.C: invalidate fd's when doing endPipe()
11500 2001-11-08 José Matos <jamatos@fep.up.pt>
11502 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11503 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11506 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11508 2001-11-07 José Matos <jamatos@fep.up.pt>
11511 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11514 * buffer.C (sgmlOpenTag):
11515 * buffer.C (sgmlCloseTag): removed debug info.
11517 * buffer.h (sgmlOpenTag):
11518 * buffer.h (sgmlCloseTag): made public.
11520 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11522 * buffer.C (saveParamsAsDefaults):
11523 * lyx_cb.C (MenuLayoutSave): remove
11525 * LyXAction.C (init):
11527 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11529 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11531 * buffer.C (setPaperStuff): removed from here...
11533 * bufferparams.C (setPaperStuff): ... and moved there.
11535 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11539 * XFormsView.C: add support for drop-down completion
11541 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11543 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11546 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11548 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11551 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11553 * lyx_main.C: change ref to known bugs
11555 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11557 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11558 to work around older babel problems.
11560 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11562 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11564 2001-10-24 Juergen Vigna <jug@sad.it>
11566 * tabular-old.C (ReadOld): below variable changes reflected.
11568 * tabular.[Ch]: added ltType struct for longtable header/footer
11569 defines and changed all instances where they are used. Added
11570 future support for double top/bottom rows.
11572 2001-10-24 José Matos <jamatos@fep.up.pt>
11574 * buffer.h (docbookHandleCaption):
11575 * buffer.C (docbookHandleCaption): removed unused function.
11576 (makeDocBookFile): moved docbook supported version to v4.1.
11578 2001-10-24 José Matos <jamatos@fep.up.pt>
11581 * tabular.C (docbookRow): new function to export docbook code of a row.
11582 (DocBook): now honors the longtable flags.
11584 2001-10-23 José Matos <jamatos@fep.up.pt>
11587 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11588 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11590 * buffer.C (makeLinuxDocFile):
11591 (makeDocBookFile): reworked the preamble, more clean, and with
11592 support for lyx defined entities. Changed the document declaration
11593 to be more XML friendly.
11595 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11596 if we need to output XML that should be done with a filter.
11598 2001-10-22 Juergen Vigna <jug@sad.it>
11600 * sp_pspell.h (class PSpell): add alive function needed in the
11601 controller to see if the spellchecker could be started.
11603 2001-10-22 Juergen Vigna <jug@sad.it>
11605 * buffer.C (insertStringAsLines): modify the font for inserting
11606 chars in certain conditions by calling checkInsertChar(font).
11608 2001-10-19 Juergen Vigna <jug@sad.it>
11610 * text.C (workWidth): use getRow instead of wrong algorithm.
11611 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11613 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11618 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11620 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11622 * text.C (workWidth): do not search for the exact row when
11623 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11624 optimization for big documents.
11626 2001-10-18 Juergen Vigna <jug@sad.it>
11628 * text.C (workWidth): new function with added Inset * parameter.
11630 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11632 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11634 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11635 change return type of getColumnNearX.
11638 * text.C (changeRegionCase): use uppercase/lowercase instead of
11641 (rightMargin): simplify code by factoring out the uses of
11646 (appendParagraph): use Paragraph::size_type
11648 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11650 * vspace.C (asLatexString): add a missing break
11652 2001-10-15 Herbert Voss <voss@perce.de>
11654 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11656 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11658 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11661 2001-10-10 André Pönitz <poenitz@gmx.net>
11663 * lyxfunc.C: removed greek_kb_flag.
11665 2001-10-10 Herbert Voss <voss@perce.de>
11667 * lyx_main.C: delete global string help_lyxdir.
11669 2001-10-09 Herbert Voss <voss@perce.de>
11671 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11673 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11675 * lyx_main.C: added global string help_lyxdir.
11677 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11679 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11681 * lyxrc.C (set_font_norm_type): support iso8859-4
11683 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11685 * LaTeX.C (deplog): add another regex for MikTeX
11687 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11689 * lyxrc.C (set_font_norm_type): support iso8859-3
11691 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11693 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11695 * LaTeXFeatures.C: remove special case of french and index
11697 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11698 before \begin{document}). This solves several incompatibilities.
11700 2001-10-03 Garst Reese <reese@isn.net>
11702 * lyx_cb.C: change CheckTex error msg.
11704 2001-10-03 José Matos <jamatos@fep.up.pt>
11706 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11708 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11710 * .cvsignore: update
11712 * lyx_main.C (commandLineVersionInfo): use new style version info.
11714 * buffer.C (writeFile):
11716 (makeLinuxDocFile):
11717 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11719 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11721 * version.h: update to use stuff in version.C
11723 * version.C.in: new file. Contains version information determined
11724 at compile time. This is a merging of version.h and
11727 2001-10-03 Juergen Vigna <jug@sad.it>
11729 * BufferView_pimpl.C (update): don't change "dirty" status in
11732 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11734 * WorkArea.C (c-tor): re-position version string slightly.
11736 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11738 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11739 revert to previous code.
11741 WorkArea.[Ch]: (show, destroySplash): methods removed.
11743 WorkArea.C: rework code so that it's an amalgam of the codes before and
11744 after the splash screen was moved to WorkArea.
11746 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11749 * vspace.C (inPixels):
11752 * buffer.C (insertStringAsLines):
11753 (asciiParagraph): fix types to be large enough
11755 * lyxlex_pimpl.h: change member status from short to int
11757 * layout.h: fix type of endlabeltype
11760 * kbsequence.C (parse): change return type to string::size_type
11762 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11765 * Bullet.C (bulletSize):
11766 (bulletEntry): do not use short ints as parameters
11768 * BufferView2.C (insertLyXFile): change a char to an int.
11770 * WorkArea.C (WorkArea): remove unneeded floats in computation
11772 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11774 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11776 * paragraph.C (asString): Do not ignore newline/hfill chars when
11777 copying to the clipboard.
11779 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11781 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11782 after a multi-line inset.
11784 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11786 * paragraph.C (validate): Set NeedLyXFootnoteCode
11788 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11790 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11791 and decrease-error to decrease.
11793 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11795 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11796 it more readable (should be equivalent)
11798 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11800 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11802 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11804 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11805 of a cursor (row, etc.) after a character has been deleted
11806 (deleteEmptyParagraphMechanism): call the method above on _all_
11807 cursors held by the LyXText when a double space has been
11810 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11812 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11814 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11816 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11817 background. Use greyOut() and the new show() methods to toggle between
11818 the foreground and background. Add code to remove the splash after
11819 its initial showing.
11821 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11822 (create_forms): no longer call Dialogs::showSplash.
11824 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11826 * .cvsignore: add version_info.h
11828 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11830 * version_info.h.in: new file
11832 * Makefile.am: add version_info.h.in
11834 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11835 version_info.h instead of VERSION_INFO
11837 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11839 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11840 The ERT inset now returns string().
11842 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11844 * lyxtext.h, text.C (selectNextWord): renamed as
11845 selectNextWordToSpellcheck.
11847 * text.C (selectNextWordToSpellcheck): Modified to not select
11848 words inside an ERT inset.
11850 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11852 * lyx_cb.C (MenuLayoutSave): change a bit the question
11854 * sp_base.h: include <sys/types.h>
11856 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11858 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11860 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11862 * several files: fix typos in user-visible strings
11864 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11866 * text2.C (pasteSelection): do not set the selection, since it
11867 will be cleared later. Actually, the intent was to fix the way the
11868 selection was set, but I figured rmoving the code was just as good.
11870 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11872 * FontLoader.C (available): Check if font is available without
11875 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11877 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11879 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11881 * lyxrc.[Ch]: added display_graphics variable and associated code.
11883 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11885 * bufferparams.C (hasClassDefaults): new method. Returns true if
11886 the buffer parameters correspond to known class defaults
11888 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11890 * XFormsView.C (show): set minimum size to the main window.
11892 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11894 * text2.C (copySelection):
11896 * lyxfind.C (LyXReplace):
11897 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11898 LyXText::selectionAsString.
11900 * paragraph.C (asString): add "label" argument to the second form
11902 * text2.C (selectionAsString): add "label" argument and pass it to
11903 Paragraph::asString.
11905 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11907 * lyx_main.C (commandLineHelp): remove version information
11909 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11911 * lyx_main.C: add -version commandline option
11913 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11915 * paragraph.h: make the optional constructor arg required instead.
11916 some modifications to other files because of this.
11918 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11920 * lyxserver.C (C_LyXComm_callback): make it static
11922 * lyx_main.C (error_handler): make it static
11924 * lyx_gui.C (LyX_XErrHandler): make it static
11926 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11928 * WorkArea.C: make the extern "C" methods static.
11930 * Makefile.am (lyx_LDADD): simplify
11932 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11934 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11935 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11937 * LyXAction.C (init):
11938 * lyxfunc.C (dispatch): associated code removal.
11940 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11942 * lyxfont.h (isSymbolFont): shut off warning
11944 * text.C (setHeightOfRow):
11945 (getVisibleRow): fix crash with empty paragraphs which have a
11948 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11950 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11953 2001-09-04 José Matos <jamatos@fep.up.pt>
11956 * tabular.C (docbook): rename docBook method to docbook.
11958 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11960 * Makefile.am: add dependencies to main.o.
11962 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11964 * FontLoader.C (available): Return false if !lyxrc.use_gui
11966 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11968 * FontInfo.C (query):
11969 * converter.C (view):
11970 * importer.C (Import):
11971 * exporter.C (Export): Can not -> cannot.
11973 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11975 * BufferView_pimpl.C: allow to create index inset even if
11978 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11980 * buffer.C (getLists): replace boost::tie code with an explicit pair
11981 as boost::tie can break some compilers.
11983 * iterators.h: Added a std:: declaration to the return type of
11986 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11988 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11991 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11993 * iterators.[Ch]: New files. Provide paragraph iterators.
11995 * buffer.C (changeLanguage): Use paragraph iterators.
11996 (isMultiLingual): ditto
11998 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12000 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12002 * FontLoader.C: Support for cmr font.
12004 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12006 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12007 (available): New method.
12009 * FontInfo.C (getFontname): Use scalable fonts even when
12010 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12013 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12015 * converter.C (Formats::view): reverted! Incorrect fix.
12017 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12019 * converter.C (Formats::view): only output the -paper option
12020 if the dvi viewer is xdvi, thereby fixing bug #233429.
12022 2001-08-23 Herbert Voss <voss@perce>
12024 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12026 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12028 * Spacing.h (Spacing): Set space to Default on in the default
12031 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12033 * vc-backend.h (RCS::versionString): add RCS to version
12034 (CVS::versionString): add CVS to version
12036 * vc-backend.C (scanMaster): do not add CVS to version.
12037 (scanMaster): do not add RCS to version
12039 * lyxvc.C (versionString): new method
12041 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12043 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12045 * Spacing.C (set): initialize fval
12047 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12049 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12052 2001-08-16 Juergen Vigna <jug@sad.it>
12054 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12056 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12058 * BufferView_pimpl.C:
12061 * text2.C: setParagraph takes linespacing now
12063 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12065 * LyxAction.C: add internal LFUN_CITATION_INSERT
12067 * LyXView.C: actually apply fix
12069 * bufferlist.C: fix open non-existent file
12071 * lyxfind.C: fix indentation
12073 * lyxfunc.C: remove unneeded assert, fix typo
12075 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12077 * MenuBackend.C: use "Floatname List"
12079 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12081 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12082 when converting LaTeX layout to insetERT.
12083 Generate a non-collapsed float when reading old float
12085 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12087 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12090 2001-08-13 Juergen Vigna <jug@sad.it>
12092 * text.C (fill): return 0 instead of 20 as this seems to be the more
12095 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12097 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12100 2001-08-13 Juergen Vigna <jug@sad.it>
12102 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12104 (SearchBackward): comment out the unlocking of the inset_owner this
12105 should not be needed!
12107 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12109 * Many files: Remove inherit_language, and add latex_language
12111 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12112 collapsible insets.
12114 2001-08-10 Juergen Vigna <jug@sad.it>
12116 * text.C (prepareToPrint): fixed hfill-width in draw!
12118 * BufferView2.C (selectLastWord): save the selection cursor as this
12119 now is cleared in the function LyXText::clearSelection!
12121 2001-08-08 Juergen Vigna <jug@sad.it>
12123 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12124 BACKSPACE type functions.
12126 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12127 is only cutted from the document but not put in the cut-buffer, where
12128 still the old stuff should be.
12130 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12132 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12134 * tabular.C (SetWidthOfCell): fixed special case where the width
12136 (LeftLine): handle '|' in align_special.
12138 (LeftAlreadyDrawed): ditto
12139 (SetWidthOfCell): ditto
12141 2001-08-07 Juergen Vigna <jug@sad.it>
12143 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12145 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12147 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12148 * lyxlex.[hC]: ditto
12150 2001-08-06 Juergen Vigna <jug@sad.it>
12152 * text.C (getVisibleRow): fix up row clearing a bit.
12154 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12156 * minibuffer.C: make sure the X server sees the changes in the input.
12158 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12160 * paragraph.C (getFont): split into...
12161 (getLabelFont): this
12162 (getLayoutFont): and this
12163 * paragraph_pimpl.C (realizeFont): calling this
12165 * text2.C (getFont): split into...
12166 (getLayoutFont): this
12167 (getLabelFont): and this
12168 (realizeFont): all three calling this
12170 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12173 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12175 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12177 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12179 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12180 layouts from the Quote inset insertion.
12182 2001-08-03 Juergen Vigna <jug@sad.it>
12184 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12186 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12187 only if status not is already CHANGED_IN_DRAW (second level).
12189 * text.C (draw): don't set the need_break_row when inside an
12192 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12194 * buffer.C (parseSingleLyXformat2Token): handle more latex
12197 * bufferview_funcs.[hC]: change function names to
12198 begin with small char, adjust other files.
12200 2001-08-02 André Pönitz <poenitz@gmx.net>
12203 BufferView_pimpl.C: remove broken special code for math-greek
12205 2001-08-02 Juergen Vigna <jug@sad.it>
12207 * BufferView_pimpl.C (update): redone this function so that we
12208 update the text again if there was a CHANGE_IN_DRAW.
12210 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12211 (drawFromTo): added a new internal bool which is used by draw() and
12213 (general): some cursor drawing problems fixed.
12215 2001-08-01 Juergen Vigna <jug@sad.it>
12217 * lyxfind.C (LyXFind): fixed
12218 (SearchForward): ditto
12219 (SearchBackward): ditto
12221 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12222 spurius drawing of the cursor in the main area.
12224 * text2.C (status): small fix which could lead to a segfault!
12225 (clearSelection): remove unneeded BufferView param.
12227 2001-08-01 André Pönitz <poenitz@gmx.net>
12229 * lyxfunc.C: small change due to changed mathed interface
12231 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12233 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12235 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12237 * lyxfunc.c: fail gracefully if file doesn't exist
12242 * BufferView_pimpl.C: IsDirWriteable() proto changed
12244 * LyXView.C: fix updateWindowTitle() to store the last title
12246 2001-07-31 Juergen Vigna <jug@sad.it>
12248 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12249 the font (wrong since using of Paragraph::highestFontInRange).
12251 * paragraph.C (highestFontInRange): added a default_size parameter.
12253 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12254 (setHeightOfRow): reformat
12256 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12258 * converter.[hC] + affected files: move to (inital-char)lowercase
12261 * ParagraphParameters.C (ParagraphParameters): remove commented code
12263 * PainterBase.[Ch]: remove commented code
12265 * LaTeXFeatures.h: add "bool floats" for float.sty
12267 * LaTeXFeatures.C (LaTeXFeatures): init floats
12268 (require): handle float
12269 (getPackages): do it with floats
12271 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12273 * BufferView_pimpl.C (Dispatch): improve handling of
12274 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12276 * commandtags.h: #include lyxfont.h here temporarily to avoid
12279 * bufferlist.h: include LString.h here.
12281 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12283 * text2.C (getStringToIndex): new method.
12285 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12287 * *: Reduced header file dependencies all over.
12289 2001-07-30 Baruch Even <baruch@lyx.org>
12291 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12293 2001-07-29 Baruch Even <baruch@lyx.org>
12295 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12297 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12299 * ParameterStruct.h (endif): add a default constructor to make
12300 sure that all variables is initialized.
12302 * ParagraphParameters.C (ParagraphParameters): adjust
12304 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12306 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12307 index; also, check that there is something to index, and that it
12308 does not span over several paragraphs.
12309 (doubleClick): use WHOLE_WORD_STRICT for double click.
12311 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12313 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12316 2001-07-26 Baruch Even <baruch@lyx.org>
12318 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12319 an InsetFig figure, backwards compatible reading of old figure code.
12321 2001-07-27 Juergen Vigna <jug@sad.it>
12323 * text2.C: font.realize function adaption.
12325 * text.C (draw): add a warnings lyxerr text if needed.
12327 * layout.C: font.realize function adaption.
12329 * language.C: add inherit_language and implement it's handlings
12331 * bufferview_funcs.C (StyleReset): remove language parameter from
12332 font creation (should be language_inherit now).
12334 * bufferparams.C (writeFile): handle ignore_language.
12336 * paragraph.C (getFontSettings): the language has to be resolved
12337 otherwise we have problems in LyXFont!
12339 * lyxfont.C (lyxWriteChanges): added document_language parameter
12340 (update): removed unneeded language parameter
12342 * paragraph.C (validate): fixed wrong output of color-package when
12343 using interface colors for certain fonts in certain environments,
12344 which should not seen as that on the final output.
12346 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12348 * BufferView_pimpl.C:
12353 * LyXAction.C: add thesaurus support
12356 * lyxfind.C: add "once" parameter, for thesaurus, to not
12357 move to the next match
12359 2001-07-26 Juergen Vigna <jug@sad.it>
12361 * lyxfont.C (realize): honor ignore_language too!
12364 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12366 * text.C (draw): one place more for ignore_language to not draw
12369 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12371 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12373 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12375 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12376 the minipage conversion problem.
12378 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12380 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12383 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12385 * BufferView.h: don't forward declare WorkArea
12387 * BufferView.C: don't include WorkArea.h
12389 2001-07-25 André Pönitz <poenitz@gmx.net>
12393 * lyxfunc.C: new LFUN 'math-space'
12395 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12397 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12399 * text2.C (toggleInset): call open/close
12401 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12403 * lyxfunc.C (dispatch): add debug for the disabled case
12405 * font.C (buttonText): make similar to rectText
12407 * buffer.C (readInset): comment out parsing of insetlist and
12410 * PainterBase.C (rectText): small correction
12412 * BufferView_pimpl.C: comment out insettheorem and insetlist
12413 * LyXAction.C: ditto
12414 * commandtags.h: ditto
12416 2001-07-24 Juergen Vigna <jug@sad.it>
12418 * text.C (draw): honor the ignore_language.
12420 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12422 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12424 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12427 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12429 * lyxtext.h: remove unused (and unimplemented) methods
12431 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12433 * text.C (getVisibleRow): honor background color
12436 * Painter.h: remove default color argument for fillRectangle
12438 * text.C (backgroundColor): new method
12440 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12442 * text.C (getVisibleRow): adjust
12444 * font.[Ch] (rectText): new method, metrics
12445 (buttonText): new method, metrics
12447 * PainterBase.[hC]: make rectText and buttonText always draw and take
12450 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12452 * ToolbarDefaults.C (read):
12453 * MenuBackend.C (read): allow escaping in all strings
12455 * BufferView_pimpl.C (insertAndEditInset): new method.
12456 (Dispatch): use insertAndEditInset whenever appropriate.
12458 * BufferView_pimpl.C (insertNote): removed
12460 * BufferView_pimpl.C (smartQuote): new method, moved from
12461 BufferView; if an insetquote cannot be inserted, insert a '"'
12464 * BufferView2.C: remove insertCorrectQuote();
12466 * lyxfunc.C (getStatus): Add support for all remaingin
12467 inset-insert lfuns.
12469 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12471 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12472 command (necessary to pass " as parameter of self-insert.
12474 * text.C (selectWordWhenUnderCursor):
12475 (selectWord): add word_location parameter
12476 (selectWordWhenUnderCursor): same + remove special code for word
12478 (selectNextWord): use kind() to guess type of insetspecialchar,
12481 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12482 (insertErtContents): create ert insets as collapsed.
12483 (readInset): better compatibility code for Info inset.
12485 2001-07-20 Juergen Vigna <jug@sad.it>
12487 * lyxfunc.C (dispatch): use always LyXFind now!
12489 * text2.C (init): add a reinit flag so that the LyXText can be
12490 reinited instead of deleted and reallocated (used in InsetText).
12492 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12498 2001-07-18 Juergen Vigna <jug@sad.it>
12500 * text.C (selectNextWord): handle insets inside inset by calling
12501 always the bv->text functions so that we can go up the_locking_inset!
12503 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12504 in strange locations when inside an inset!
12506 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12507 handling to include insets.
12509 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12511 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12513 * LyXAction.C (init):
12515 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12516 LIGATURE_BREAK, since the name is so stupid.
12518 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12520 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12523 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12525 * sp_form.[Ch]: remove.
12527 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12529 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12532 * src/buffer.C (readInset): ditto.
12534 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12536 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12537 menuSeparator(), endOfSentenceDot(), ldots() and
12538 hyphenationPoint(), which are therefore removed.
12539 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12541 * LyXAction.C (init):
12542 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12544 * paragraph.C (getWord): removed.
12546 * BufferView_pimpl.C (Dispatch): use last word or selection for
12547 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12549 * lyx_main.C (queryUserLyXDir): do not ask before creating
12550 user_dir, except if it has been named explicitely.
12552 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12554 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12555 a document of zero size.
12557 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12559 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12560 approriately in the c-tor and in require().
12561 (getPackages): output the appropriate LaTeX for natbib support.
12563 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12564 variables "use_natbib" and "use_numerical_citations" when reading the
12566 (readInset): read the various natbib cite commands.
12567 (validate): white-space change.
12569 * bufferparams.[Ch]: new variables "bool use_natbib" and
12570 "bool use_numerical_citations".
12571 (writeFile): output them in the LyX file.
12573 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12575 * lyxfunc.C (getStatus): add support for all the inset insertion
12578 * text2.C (insertInset):
12579 * paragraph.C (insetAllowed):
12580 * BufferView_pimpl.C (insertInset): update to take in account the
12581 renaming of insertInsetAllowed
12583 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12585 * text2.C (getInset): new method. returns inset at cursor position.
12587 * BufferView_pimpl.C (Dispatch): changes because of this.
12589 * LyXAction.C (init): rename open-stuff to inset-toggle.
12591 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12593 * text2.C (toggleInset): renamed from openStuff; use
12596 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12598 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12600 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12602 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12604 * buffer.C (readLyXformat2): Add filename to the error dialog
12606 2001-07-18 Juergen Vigna <jug@sad.it>
12608 * tabular.C (GetCellNumber): put an assert here instead of the check!
12610 2001-07-17 Juergen Vigna <jug@sad.it>
12612 * BufferView_pimpl.C (toggleSelection): adapted too.
12614 * text.C (selectNextWord): adapted for use with insets.
12615 (selectSelectedWord): ditto
12617 2001-07-17 Juergen Vigna <jug@sad.it>
12619 * sp_spell.C (PSpell): fix initialitation order.
12621 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12623 * paragraph.C: spacing
12625 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12627 * sp_spell.C: repair language selection for pspell
12629 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12631 * lyxfunc.h: change more methods to begin with lower char.
12633 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12635 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12636 for unknown layouts.
12638 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12640 * buffer.C (readLyXformat2): Generate an error dialog if there are
12643 2001-07-16 Juergen Vigna <jug@sad.it>
12645 * sp_spell.C: always compile ISpell part.
12647 * lyxrc.C: added use_pspell entry and it's handling.
12649 2001-07-13 Juergen Vigna <jug@sad.it>
12651 * sp_spell.C: removed double includes.
12653 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12655 Consistent use of Lsstream.h:
12656 * Lsstream.h: added using std::stringstream for consistencies sake.
12658 * buffer.C: removed using std::stringstream
12660 * lyxfont.C (stateText):
12661 * paragraph.C (asString):
12662 * text.C (selectNextWord, selectSelectedWord):
12663 * text2.C (setCounter):
12664 * vspace.C (asString, asLatexString):
12665 std::ostringstream -> ostringstream.
12667 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12669 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12670 * commandtags.h: add LFUN_HELP_ABOUTLYX
12671 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12673 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12675 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12677 * lyx_gui_misc.C: remove spellchecker
12678 * lyxfunc.C: showSpellchecker
12680 * sp_ispell.h: added
12681 * sp_pspell.h: added
12682 * sp_spell.C: added
12683 * sp_form.[Ch]: removed
12684 * spellchecker.[Ch]: removed
12686 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12688 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12690 (simpleTeXSpecialChars): Simply print the input character without
12691 any special translation if pass_thru is set.
12693 * layout.h: Added bool pass_thru to layout class for being able to
12694 implement pass through of a paragraph for Literate Programming.
12696 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12697 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12698 * layout.C (Read): add "passthru" to list of layout tags and add
12699 code to set the pass_thru boolean when it is read.
12701 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12703 * trans_decl.h: remove allowed from KmodInfo
12705 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12706 remove allowed code
12709 * paragraph_pimpl.C (erase): use boost::prior
12711 * Painter.C (text): use data() instead of c_str() when length is
12713 * WorkArea.C (putClipboard): ditto
12714 * font.h (width): ditto
12716 * BufferView2.C: use it-> instead of (*it). for iterators
12718 * paragraph_pimpl.C: ditto
12719 * paragraph.C: ditto
12720 * minibuffer.C: ditto
12721 * language.C: ditto
12723 * encoding.C: ditto
12724 * counters.C: ditto
12725 * converter.C: ditto
12727 * Variables.C: ditto
12728 * TextCache.C: ditto
12729 * MenuBackend.C: ditto
12730 * LyXAction.C: ditto
12732 * FloatList.C: ditto
12733 * DepTable.C: ditto
12734 * ColorHandler.C (LyXColorHandler): ditto
12736 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12738 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12740 * text2.C (openStuff): reintroduce this method (which had been
12741 nuked in NEW_INSETS frenzy).
12743 * lyxfunc.C (Dispatch): when an action has not been handled, use
12744 its name in the error message, not its number.
12746 * paragraph.C (inInset): change method name to begin with lowercase.
12749 * text2.C: updates because of this.
12751 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12753 * ToolbarDefaults.C (add): add spaces in error message
12755 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12757 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12758 (readLyXformat2): rename return_par to first_par, use lyxlex's
12759 pushToken and remove the manual push handling.
12760 (parseSingleLyXformat2Token): add another ert comp. variable:
12761 in_tabular, rename return_par to first_par. handle newlines better
12763 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12765 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12767 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12769 * text2.C (getParFromID): removed
12771 * buffer.C (getParFromID): new method moved form lyxtext.
12772 * BufferView2.C (insertErrors): adjust
12773 (setCursorFromRow): adjust
12774 * BufferView_pimpl.C (restorePosition): adjust
12775 * lyxfunc.C (Dispatch): adjust
12776 * undo_funcs.C (textUndo): adjust
12778 (textHandleUndo): adjust
12779 (textHandleUndo): adjust
12781 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12783 * buffer.C: up' the LYX_FORMAT
12785 * lyxfont.h: turn NO_LATEX on as default
12787 * buffer.C (insertErtContents): new methods of tex style compability.
12788 (parseSingleLyXformat2Token): use it several places.
12789 * tabular.C (OldFormatRead): and here
12791 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12793 * text2.C: remove some commented code.
12796 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12797 * trans.C: changes because of the above.
12799 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12801 * text2.C (setCounter): Fix counters bug with bibliography layout.
12803 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12805 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12806 own member functions
12807 (simpleTeXSpecialChars): ditto
12809 2001-07-06 Juergen Vigna <jug@sad.it>
12811 * a lot of files: changed the access to LyXText::status and the
12812 call of undo-functions.
12814 * undo.[Ch]: added a inset_id to the undo informations.
12816 * undo_funcs.[Ch]: added and moved here all undo functions.
12818 * lyxtext.h: give the status enum a weight, made status_ a private
12819 variable and made accessor functions for it, removed the whole bunch
12820 of undo-functions as they are now in their own file, make some
12821 functions publically available. Added function ownerParagraph with
12824 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12825 made InInset() a const function, added getParFromID() function.
12827 * buffer.[Ch]: added const version for inset_iterator functions,
12828 added getInsetFromID() function.
12830 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12831 changed undo functions for new version.
12833 2001-07-05 Juergen Vigna <jug@sad.it>
12835 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12836 unknow mechanism does not call the proper constructor but only this
12837 one also if I request the other!?
12839 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12841 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12843 * text2.C (LyXText): use initialization lists.
12845 * lyxtext.h (Selection): initialize set_ and mark_
12846 (init): remove method
12848 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12850 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12852 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12854 * screen.[Ch]: change method names to begin with lowercase
12856 * BufferView_pimpl.C (updateScrollbar): simplify further and
12857 hopefully make it a bit faster.
12859 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12861 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12862 calling directly xforms functions.
12864 * Painter.C (Painter):
12865 * lyx_cb.C (MenuWrite):
12866 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12869 * lyx_gui.C: remove bogus guiruntime extern declaration.
12871 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12873 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12875 (redoDrawingOfParagraph): ditto
12876 (redoParagraphs): ditto
12877 (cutSelection): don't create a object for CutAndPaste use the
12878 static method directly
12879 (pasteSelection): ditto
12881 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12884 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12886 * modifications to some other files because of this.
12888 * Makefile.am (lyx_SOURCES): add XFormsView
12890 * XFormsView.[Ch]: new files
12892 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12893 the main window. Move the gui dependent stuff to XFormsView
12895 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12897 * tabular.C (GetCellInset): update cur_cell also in the row/col
12898 version of this function.
12900 * lyxfunc.C: no need to include figure_form.h here.
12906 * lyxvc.C: no need to include forms.h here.
12908 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12910 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12912 * lyxfunc.C (Dispatch):
12914 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12915 constructor argument.
12917 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12919 * paragraph.C (Paragraph): dont't clear, and just set layout.
12920 (makeSameLayout): use params's copy contructor.
12922 * ParagraphParameters.[Ch] (makeSame): delete method
12924 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12926 * Variables.[Ch]: fix indentation, rename set to isSet
12928 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12930 * lyxfunc.C (Dispatch): fix typo
12932 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12934 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12937 * bufferlist.C: include assert.h for emergencyWrite().
12939 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12941 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12942 give up at last (bug #425202) !
12944 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12950 * spellchecker.C: strip spellchecker options and bring up
12951 preferences tab instead
12953 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12955 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12956 the istringstream constructor
12958 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12960 * paragraph.C (getLayout): fix return value
12962 * paragraph.h: do not declare getLayout as inline.
12964 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12966 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12968 * lyxcursor.h (operator<): new func
12969 (operator>): new func
12970 (operator>=): new func
12971 (operator<=): new func
12973 * text.C (changeCase): use selection.start and selection.end
12974 (changeRegionCase): require from to be <= to. Require par to be a
12977 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12979 2001-06-27 Juergen Vigna <jug@sad.it>
12981 * text.C (cursorLeftOneWord): changed to return the cursor and added
12982 overlay with BufferView * parameter which calls this one.
12984 (selectWord): use new getWord function.
12985 (changeCase): renamed from changeWordCase as and extended to work
12986 also on selections.
12988 * lyxtext.h: added enum word_location
12990 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12991 changeCase as this operates now also on selections.
12993 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12995 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12997 * many files: send debug output to Debug::INFO instead of
13000 * converter.C (View):
13002 (Move): send debug output to Debug::FILES instead of console.
13004 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13006 * lyxfunc.C (getStatus): use func_status
13008 * func_status.h: new header, describing the results of
13009 LyXFunc::getStatus;
13011 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13014 2001-06-25 The LyX Project <jug@sad.it>
13016 * buffer.C (sgmlOpenTag):
13018 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13020 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13022 * text2.C: remove some dead code
13024 * tabular.C (GetCellInset): store the last cell checked (gotten)
13026 * tabular.h: add the helper for the speedup
13028 * lyxtext.h: remove some dead code
13030 2001-06-26 The LyX Project <Asger>
13032 * paragraph.C: Change export to LaTeX of alignment to
13033 \begin{center} and family for better roundtrip work with reLyX.
13035 * Tune the math drawing a bit.
13037 2001-06-25 The LyX Project <Asger>
13039 * LColor.C (LColor): New color for math background. New color
13042 2001-06-25 The LyX Project <jug@sad.it>
13044 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13046 * lyxfunc.C (Open):
13047 * bufferlist.C (newFile): do not restrict to files ending with
13050 * BufferView_pimpl.C (MenuInsertLyXFile):
13052 2001-06-24 The LyX Project <jug@sad.it>
13054 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13057 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13059 * lyxtext.h: rename most methods to begin with a small char.
13060 Lots of changes because of this.
13062 * paragraph.C (Paragraph): do not call fitToSize
13063 (erase): call Pimpl::erase
13064 (insertChar): call Pimpl::insertChar
13065 (insertInset): call Pipl::insertInset
13066 (breakParagraph): do not call fitToSize
13067 (breakParagraphConservative): do not call fitToSize
13068 (fitToSize): remove method
13070 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13072 2001-06-24 The LyX Project <Asger>
13074 * Fix Qt compilation^2
13076 2001-06-24 The LyX Project <jug@sad.it>
13078 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13079 depthHook(getDepth()-1).
13082 * ParagraphParameters.h:
13083 * ParameterStruct.h: change type of depth to unsigned int ==
13084 depth_type. Many adaptations to other files before of that.
13086 2001-06-24 The LyX Project <Asger>
13088 * Fix Qt compilation.
13090 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13092 * paragraph.h: renamed several methods to begin with small letter.
13093 several changes to many parts of the code because of this.
13095 2001-06-23 The LyX Project <jug@sad.it>
13097 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13098 rewritten to discard all double spaces when KeepEmpty is off
13099 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13100 to only handle newlines but not fiddle with spaces and friends.
13102 * lyxfunc.C (MenuNew): when doing 'new from template', use
13103 template_path as default directory
13105 2001-06-23 The LyX Project <Asger>
13107 * Clean-up of header file includes all over
13108 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13110 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13112 * paragraph.h: renamed from lyxparagraph.h
13114 2001-06-23 Asger <lyx@violet.home.sad.it>
13116 * Buffer.h: Removed Buffer::resize
13117 * BufferList.h: Removed BufferList::resize
13118 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13119 the document lazily when we change the width, or the font settings.
13121 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13123 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13125 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13127 * buffer.h: remove out of date comment
13129 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13132 * screen.C: fix "theoretical" GC leak
13134 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13136 * LaTeX.C (scanAuxFile):
13137 (deplog): remove trailing \r when reading stream (useful under
13140 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13142 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13143 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13144 and BufferView::theLockingInset(Inset*), so should use them and not
13145 access bv_->text->the_locking_inset directly.
13147 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13149 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13152 * tex-defs.h: remove old unused file
13154 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13156 * BufferView_pimpl.C: fix typo, remove minibuffer message
13157 when buffer has loaded
13159 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13161 * lyxfunc.C (Dispatch): use stringstream
13162 (MenuNew): use stringstream
13163 (Open): use stringstream
13165 * importer.C (Import): use stringstream
13167 * bufferview_funcs.C (CurrentState): use stringstream
13169 * LaTeX.C (run): use stringstream
13171 * BufferView_pimpl.C (savePosition): use stringstream
13172 (restorePosition): use stringstream
13173 (MenuInsertLyXFile): use stringstream
13175 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13188 * vspace.C: removed // -*- C++ -*- as first line.
13191 * version.h: added // -*- C++ -*- as first line.
13193 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13195 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13197 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13200 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13202 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13205 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13207 * gettext.C: include LString.h even when --disable-nls is on.
13209 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13211 * converter.h (Get): changed argument type from int to
13212 FormatList::size_type to avoid unnecessary conversion.
13214 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13217 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13219 * gettext.h: include LString.h even when --disable-nls is on.
13221 2001-06-07 Juergen Vigna <jug@sad.it>
13223 * text.C (BreakAgain): subst spaces with tabs.
13225 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13226 (resizeInsetsLyXText): set force on resizeLyXText.
13228 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13230 * gettext.h (gettext_init):
13231 (locale_init): use a real definition instead of a macro
13233 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13235 * Bufferview_pimpl.C:
13237 * LColor.C: further lcolor tidies
13239 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13241 * BufferView_pimpl.C (updateScrollbar): simplify.
13243 * BufferView2.C: don't include insets/insetinfo.h, change
13244 prototype for insertInset and call the Pimpl version. let
13245 updateInset call Pimpl version.
13247 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13248 gotoInset to BufferView::Pimpl
13250 2001-06-01 Juergen Vigna <jug@sad.it>
13252 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13253 inside a LockingInset (is the update needed at all?).
13255 2001-05-31 Juergen Vigna <jug@sad.it>
13257 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13258 here not the old one otherwise how should we compare it afterwards
13261 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13266 * FontInfo.C: bring C functions into global namespace when
13269 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13271 * LString.h: make sure config.h has been loaded before LString.h.
13273 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13274 (one for each char read by EatLine!).
13276 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13279 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13281 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13282 to the same as the par we break from
13284 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13286 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13288 * MenuBackend.C (expand): also create menu entries for wide
13289 versions of the floats.
13291 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13293 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13295 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13296 frontends/Makefile.am
13302 * tabular.C (getTokenValue): add std::
13304 * tabular-old.C (getTokenValue): add std::
13305 (getTokenValue): ditto
13306 (getTokenValue): ditto
13308 * screen.C (ToggleSelection): adjust
13310 * lyxtext.h: put selection cursors inside a Selection struct.
13312 * lyxfunc.C (moveCursorUpdate): adjust
13314 * lyxfont.C (latexWriteStartChanges): add std::
13316 * lyxfind.C: adjust
13318 * font.h: delete with(char const *, LyXFont const &)
13320 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13322 * FontInfo.C (getFontname): add std::
13324 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13325 (workAreaButtonPress): adjust
13326 (tripleClick): adjust
13328 (moveCursorUpdate): adjust
13331 * BufferView2.C (gotoInset): adjust
13333 2001-05-30 Juergen Vigna <jug@sad.it>
13335 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13336 to check pspell I add this as default as I now have new pspell
13337 libraries and they seem to use this.
13339 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13341 * text2.C (CutSelection): make the cursor valid before the call to
13344 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13346 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13347 relied on 0 terminated strings and other horrors. Bug found due to
13348 the new assert in lyxstring!
13350 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13353 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13355 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13358 * lyxfunc.C (processKeySym): change method of getting to the
13361 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13362 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13363 * BufferView_pimpl.[Ch]: here as private methods.
13365 2001-05-28 Juergen Vigna <jug@sad.it>
13367 * text.C (SetHeightOfRow): added the update() call again as it is
13368 needed to initialize inset dimensions!
13370 2001-05-16 Juergen Vigna <jug@sad.it>
13372 * text2.C (SetCharFont): Add new function with BufferView * and
13373 bool toggleall parameters for setting insets internal fonts.
13374 (SetFont): Freeze the undo as we may change fonts in Insets and
13375 all this change should be inside only one Undo!
13377 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13378 setting font's in insets as for them we have the SetFont function!
13380 2001-05-15 Juergen Vigna <jug@sad.it>
13382 * text2.C (ClearSelection): to be sure we REALLY don't have any
13385 * tabular.C (TeXCellPreamble): fixed the left border problem for
13388 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13390 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13393 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13395 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13396 LFUN_BREAKPARAGRAPH.
13398 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13399 help test to "internal only", similar for LFUN_INSERT_URL
13401 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13402 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13403 auto_region_delete and deadkeys.
13405 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13408 * LColor.C: remove some dead entries, tidy a little
13410 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13412 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13414 (Dispatch): implement LFUN_ESCAPE
13416 * commandtags.h: add LFUN_ESCAPE
13418 * LyXAction.C (init): add entry for LFUN_ESCAPE
13420 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13421 Remove commented code.
13422 (insertNote): moved here
13423 (open_new_inset): moved here
13425 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13428 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13430 * kbmap.C (findbinding): clean it up and make it work correctly.
13432 * lyx_main.C (init): do not pass argc and argv as parameters
13434 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13436 * buffer.C: fix path for OS/2 & Win32
13440 * lyx_main.C: Added os:: class.
13442 * os2_defines.h: update
13444 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13446 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13447 better by trying again with reduced state.
13449 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13451 * lyxrc.C (read): print error about invalid key sequence only when
13452 debugging (because not all latinX keysyms are known to some X
13455 * kbsequence.C (getiso): add a few std:: qualifiers
13456 (getiso): comment out extra return statement.
13458 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13460 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13462 (Dispatch): enhance the accent inset a bit. (not perfect)
13464 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13466 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13468 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13470 * bufferlist.C (emergencyWrite): fix assert() call
13472 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13474 * text.C (InsertChar): Added trivial patch to only send the "you
13475 can not do multiple spaces this way" message once during a
13478 2001-05-08 Baruch Even <baruch@lyx.org>
13480 * Makefile.am: Changed order of libraries to get LyX to link properly
13481 with the gnome frontend.
13483 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13485 * LaTeXFeatures.h: add a std:: qualifier
13487 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13489 * paragraph.C (String): use stringstream
13491 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13493 * paragraph.C (writeFile): remove footflag arg
13495 * buffer.C (makeLaTeXFile): use stringstream
13496 (latexParagraphs): remove footnot gurba
13498 * LaTeXFeatures.C (getPackages): use stringstream
13499 (getMacros): likewise
13500 (getTClassPreamble): likewise
13501 (getFloatDefinitions): new method
13503 * paragraph.C (writeFile): reindent
13506 * WorkArea.h: revert the xpos + etc changes.
13508 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13510 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13512 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13513 (pasteSelection): likewise
13514 * text2.C (CreateUndo): likewise
13516 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13518 * minibuffer.C (peek_event): temporarily reduce the functionality
13519 of the minibuffer (to allow args on lfuns)
13521 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13522 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13524 * buffer.C (readInset): add compability reading of old float
13525 lists, add reading of new style float list.
13526 (readInset): avoid reevaluation of inscmd.getCmdName()
13527 (getLists): reindent
13529 * MenuBackend.C (MenuItem): implement parsing of
13530 md_floatlistinsert and md_floatinsert.
13531 (expand::LastFiles): move initalizaton of iterators out of loop,
13532 avoid reevaluation.
13533 (expand::Documents): introduce typdedef vector<string> Strings,
13535 (expand::ExportFormats): introduce typedef vector<Format const *>
13536 Formats, and use it.
13537 (expand): implement FloatListInsert and FloatInsert.
13539 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13540 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13541 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13543 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13545 (Dispatch::LFUN_FLOAT_LIST): implement
13547 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13549 * LaTeX.C (run): Fix problem with --export code.
13551 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13553 * BufferView.[Ch] (workarea): removed.
13554 (getClipboard) new method; wrapper for workarea()->getClipboard()
13556 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13559 * WorkArea.h (width, height, xpos, ypos): These methods all
13560 returned the dimensions of the work_area sub-area of WorkArea,
13561 resulting in a position error if the WorkArea were resized. Now
13562 return the dimensions of the entire WorkArea.
13564 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13566 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13568 * LaTeX.C (deplog): correct the syntax of regex reg1
13570 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13572 * undo.C: remove !NEW_INSETS cruft
13574 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13576 * text2.C: remove !NEW_INSETS cruft
13578 * text.C: remove !NEW_INSETS cruft
13580 * tabular.C: remove !NEW_INSETS cruft
13582 * spellchecker.C: remove !NEW_INSETS cruft
13584 * lyxtext.h: remove !NEW_INSETS cruft
13586 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13588 * lyxfunc.C: remove !NEW_INSETS cruft
13590 * lyxfind.C: remove !NEW_INSETS cruft
13592 * lyx_cb.C: remove !NEW_INSETS cruft
13594 * figureForm.C: remove !NEW_INSETS cruft
13596 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13598 * buffer.[Ch]: remove !NEW_INSETS cruft
13600 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13602 * CutAndPaste.C: remove !NEW_INSETS cruft
13604 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13606 * BufferView2.C: remove !NEW_INSETS cruft
13608 * BufferView.h: remove !NEW_INSETS cruft
13610 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13612 * Lsstream.h: include LString.h before the sstream headers to
13613 fix problem with gcc 2.95.3 and lyxstring
13615 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13617 * lyx_main.C: add using directives when needed for C functions
13618 declared in std:: namespace.
13620 2001-04-27 Juergen Vigna <jug@sad.it>
13622 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13623 (SetHeightOfRow): comment out the update call should not be needed!
13625 2001-04-13 Juergen Vigna <jug@sad.it>
13627 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13628 (LyXTabular): tried to minimize operator= operations (and realized
13629 hopfully Lars wish).
13631 2001-04-27 Juergen Vigna <jug@sad.it>
13633 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13635 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13637 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13639 * buffer.C (readInset): hack to make listof algorithm work
13641 * BufferView_pimpl.C: hack to make listof algorithm work
13643 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13645 * LyXAction.C: removed all !NEW_INSETS cruft
13646 (init): moved lfun_item in method
13648 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13650 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13652 * BufferView2.C (theLockingInset): white space.
13654 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13656 * minibuffer.C: include <iostream>
13658 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13660 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13662 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13664 * text.[Ch] (TransposeChars): new method
13666 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13668 * call message directly through LyXView instead of through LyXFunc
13669 * BufferView2.C: adjust
13670 * BufferView_pimpl.C: adjust
13671 * FontLoader.C: adjust
13673 * bufferview_funcs.C: adjust
13674 * converter.C: adjust
13675 * figureForm.C: adjust
13676 * importer.C: adjust
13678 * lyx_gui_misc.C: adjust
13679 * lyxfunc.C: adjust
13682 + more files in subdirs
13684 * lyxparagraph.h (size): move up int file
13687 * adjust all uses of Assert to lyx::Assert.
13689 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13690 lyxfunctional in namespace lyx
13691 * layout.C (hasLayout): ditto
13694 (delete_layout): ditto
13695 (NumberOfClass): ditto
13696 * converter.C (GetFormat): ditto
13701 * bufferlist.C (getFileNames): ditto
13702 (emergencyWriteAll): ditto
13705 * MenuBackend.C (hasSubmenu): ditto
13708 * BufferView_pimpl.C (getInsetByCode): ditto
13710 2001-04-18 Juergen Vigna <jug@sad.it>
13712 * vspace.C (asLatexString): fixed the 100% problem.
13714 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13716 * lyxfunc.C (Dispatch):
13718 * minibuffer.h: add a few std:: qualifiers
13720 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13722 * minibuffer.[Ch]: reimplement so that commands is initiated and
13723 run from lyxfunc, simplified som handling, and made the completion
13724 and history code for complete. wip.
13726 * lyxfunc.C (processKeySym): call message
13727 (miniDispatch): new temporary method
13728 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13729 (LFUN_MESSAGE): implement
13730 (LFUN_MESSAGE_PUSH): implement
13731 (LFUN_MESSAGE_POP): implement
13732 (initMiniBuffer): the initial/defualt minibuffer message.
13734 * lyxfont.[Ch]: inline some more getters
13736 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13738 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13740 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13741 (AutoSave): use LFUN_MESSAGE
13742 (Reconfigure): ditto
13744 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13746 * figureForm.C: use LFUN_MESSAGE
13748 * converter.C (runLaTeX): use LFUN_MESSAGE
13750 * bufferview_funcs.C: use LFUN_MESSAGE
13752 (changeDepth): ditto
13754 * bufferparams.h: use boost::
13756 * bufferlist.h: inherit privately from noncopyable
13758 * bufferlist.C (loadLyXFile): remove some commented code.
13760 * buffer.C (runChktex): use LFUN_MESSAGE
13762 * ShareContainer.h: inherit privately from noncopyable
13764 * ParagraphParameters.[hC] (depth): inline it.
13766 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13768 (message): new method
13769 (messagePush): ditto
13770 (messagePop): ditto
13771 (show): init minibuffer
13772 (showState): direct call
13774 * LaTeX.[Ch]: inherit privately from noncopyable
13775 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13776 instead of WriteStatus.
13778 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13780 * BufferView_pimpl.C (buffer): don't init minibuffer
13781 (workAreaButtonPress): use LFUN_MESSAGE
13782 (workAreaButtonRelease): ditto
13783 (savePosition): ditto
13784 (restorePosition): ditto
13785 (MenuInsertLyXFile): ditto
13786 (workAreaExpose): don't init minibuffer
13787 (update): remove commented code, simplify
13789 * BufferView2.C (openStuff): use LFUN_MESSAGE
13790 (toggleFloat): ditto
13793 (copyEnvironment): ditto
13794 (pasteEnvironment): ditto
13799 (updateInset): remove some commented code
13801 * lastfiles.h: inherit privately from noncopyable
13804 * lyx_main.h: ditto
13806 * lyxlex_pimpl.h: ditto
13808 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13809 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13810 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13812 * LyXAction.h: inherit privately from noncopyable, add methods
13813 func_begin, func_end, returning iterators to the func map.
13815 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13816 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13817 (func_begin): new method
13818 (func_end): new method
13820 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13822 (copySelection): ditto
13823 (pasteSelection): ditto
13825 * BufferView.C: whitespace change
13826 * BufferView.h: inherit privately from noncopyable
13828 2001-04-16 Allan Rae <rae@lyx.org>
13830 * tabular-old.C (l_getline):
13831 * spellchecker.C (sc_check_word):
13832 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13833 an unrecognised preprocessor directive. So ensure they're wrapped.
13835 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13837 * src/exporter.C (Export): Give an error message when path to file
13840 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13842 * LaTeX.C (deplog): Always check that foundfile exists.
13844 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13847 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13849 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13851 * tabular.[Ch] (getLabelList): implement new method
13853 * minibuffer.h: comment ouf setTiimer
13855 * minibuffer.C (ExecutingCB): constify res
13856 (peek_event): constify s
13857 (Set): constify ntext
13858 (Init): constify nicename
13860 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13862 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13863 (savePosition): use two params to Minibuffer::Set
13864 (restorePosition): ditto
13866 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13868 * lyx_main.C: include language.h
13870 * Makefile.am (lyx_main.o): add language.h
13872 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13878 * CutAndPaste.C: include gettext.h
13880 * lyxfont.h: remove old hack with ON and OFF.
13883 * lyxfont.h: do not include language.h...
13888 * bufferview_funcs.C:
13894 * paragraph.C: ... but do it here instead
13896 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13898 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13900 * tabular.C: small reformat
13902 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13905 (BreakParagraph): ditto
13906 (SetOnlyLayout): ditto
13909 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13912 * lastfiles.C: removed most using decl, add std:: where needed
13914 * buffer.C: ws changes
13916 * MenuBackend.C (class compare_format): put into anon namespace
13917 (expand): constify label, names, action, action2
13920 * text.C (SingleWidth): constify font
13921 (IsBoundary): constify rtl2
13922 (GetVisibleRow): constify ww
13924 * LaTeX.C (deplog): constify logfile
13926 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13928 (workAreaExpose): constify widthChange, heightChange
13930 * lyxrow.C (par): moved
13933 * lyxrow.h: as inlines here
13935 * lyxfont.h (shape): moved from lyxfont.C
13936 (emph): moved from lyxfont.C
13938 * lyxfont.C (LyXFont): use initialization list for all
13940 (shape): move to lyxfont.h as inline
13941 (emph): move to lyxfont.h as inline
13944 2001-04-04 Juergen Vigna <jug@sad.it>
13946 * vspace.C: had to include stdio.h for use of sscanf
13948 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13951 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13952 independent of xforms.
13954 2001-04-02 Juergen Vigna <jug@sad.it>
13956 * spellchecker.C: fixed namespace placing!
13958 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13960 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13961 the LyXParagraph * is 0.
13963 2001-03-29 Juergen Vigna <jug@sad.it>
13965 * vspace.C: added support for %, c%, p%, l%.
13966 (stringFromUnit): added helper function.
13967 (asLatexString): changed to give right results for the %-values.
13969 * buffer.C: convert the widthp in a width%.
13971 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13973 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13976 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13977 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13979 * lyx_cb.[Ch]: see above.
13981 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13985 * lyx.[Ch]: replaced by figure_form.[Ch].
13989 * lyxfunc.C: changed headers associated with above changes.
13991 2001-03-27 Juergen Vigna <jug@sad.it>
13993 * BufferView_pimpl.C: set the temporary cursor right!
13995 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13997 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13999 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14001 * LString.h: removed "using std::getline"!
14003 * BufferView_pimpl.C (Dispatch): changes due to changes in
14004 InsetInclude::Params.
14006 * buffer.C (tag_name): removed redundant break statements as they were
14007 producing lots of warnings with my compiler.
14009 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14011 * LString.h: add "using std::getline" when using the real <string>.
14013 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14015 * buffer.C: removed bitset usage.
14016 PAR_TAG moved to an anonymous name space.
14017 (tag_name): new funtion, also in the anonymous namespace.
14018 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14019 (makeDocBookFile): clean code. Completed transition from string arrays
14021 (SimpleDocBookOnePar): code clean.
14023 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14025 * tabular.C: add some comments.
14027 2001-03-22 Juergen Vigna <jug@sad.it>
14029 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14030 compatibility read a bit and fixed bug with minipage in different
14033 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14035 * buffer.C (pop_tag): removed.
14036 (push_tag): removed.
14037 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14038 array replaced with vector. Added support for CDATA sections.
14039 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14041 (makeDocBookFile): XML conformant declaration of CDATA section,
14042 fixed bug related to <emphasis> in the first paragraph char.
14043 (sgmlOpenTag): exclude empty tags.
14044 (sgmlCloseTag): ditto.
14046 * buffer.h (pop_tag): removed.
14047 (push_tag): removed.
14049 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14051 * language.h (Languages): added size_type and size().
14053 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14055 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14056 response on compability reading of minipages. One probliem is that
14057 the old usage of minipages was «flertydig»
14059 * several files here and in subdirs: don't use static at file
14060 scope use anon namespaces instead.
14062 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14064 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14065 LaTeX output. This is necessary for Literate document
14068 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14070 * buffer.C: insert hfill when needed.
14072 * tabular.C (l_getline): use string::erase, small whitespace change.
14074 * BufferView_pimpl.C: try the anon namespace.
14075 * WorkArea.C: ditto
14077 2001-03-16 Juergen Vigna <jug@sad.it>
14079 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14080 otherwise it won't open options-dialogs.
14082 * buffer.C: honor pextraWidth(p) on converting minipages.
14084 * tabular.C (l_getline): changed the functions to strip trailing \r.
14086 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14088 * BufferView_pimpl.C:
14089 * minibuffer..C: added "using SigC::slot" declaration.
14091 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14093 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14099 * paragraph.C: ditto
14101 * lyxtext.h: NO_PEXTRA
14103 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14105 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14106 * ParameterStruct.h: ditto
14107 * ParagraphParameters.h: ditto
14108 * lyxparagraph.h: ditto
14110 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14112 * buffer.C: add compability for minipage alignment.
14113 (latexParagraphs): remove unwanted pextra check.
14115 * several files: remove CXX_WORKING_NAMESPACES
14117 * buffer.C (pop_tag): tie is in namespace boost
14119 * BufferView.h: noncopyable is in namespace boost
14121 * lyx_main.h: ditto
14124 * lastfiles.h: ditto
14125 * bufferlist.h: ditto
14126 * ShareContainer.h: ditto
14128 * LyXAction.h: ditto
14131 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14133 * Merging changes from BRANCH_MVC back into HEAD.
14135 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14137 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14139 * BufferView_pimpl.C: change from intl.C
14143 * Makefile.am: move combox.*
14149 * intl.C: remove dialog (covered by prefs)
14151 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14153 * lyxfunc.C (Dispatch): removed redundant break statement.
14155 2001-03-14 Juergen Vigna <jug@sad.it>
14157 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14159 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14161 * buffer.C: add hack to fix compability reading of minipages.
14163 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14165 * buffer.C (getLists): Cleanup.
14167 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14169 * lyxfont.C (update): don't honor toggleall on font size.
14171 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14175 * Makefile.am: moved to frontends/xforms/
14179 * BufferView_pimpl.C: changes for moved mathpanel
14181 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14183 * gettext.h: fix gettext_init() in --disable-nls
14185 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14187 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14189 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14192 * lyx.h: strip external form
14194 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14196 * BufferView_pimpl.C: add comment, destroySplash()
14198 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14200 * BufferView_pimpl.C:
14204 * lyxfunc.C: use re-worked insetinclude
14206 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14208 * buffer.C: add using std::stringstream.
14210 * lyx_cb.C: readd using std::ios.
14212 * buffer.C: add using std::map.
14214 * BufferView_pimpl.C: add using std::vector.
14216 * ShareContainer.h: add std:: to swap.
14218 * buffer.h: add some typedefs
14219 * buffer.C (getLists): use them
14220 (getLists): renamed from getTocList.
14221 add a counter for the different float types and use it in the
14223 (getLists): use the same counter for the NEW_INSETS and the "non"
14226 * lyx_cb.h: remove unused items, includes, using etc.
14228 * ShareContainer.h: remove some commented code, add more comments
14229 and "documentation".
14231 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14233 * buffer.C (getTocList): make the list also when NEW_INSETS is
14236 * buffer.h: remove TocType
14238 * buffer.C (getTocList): change to return a map<string,
14239 vector<TocItem> >, implement for dynamic number of list.
14241 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14242 * text2.C (PasteSelection): adjust
14243 * CutAndPaste.C (pasteSelection): adjust
14245 * FloatList.C (FloatList): update from the new_insets branch.
14246 * Floating.[Ch]: ditto
14247 * LaTeXFeatures.C: ditto
14249 * lyxlex_pimpl.C: ditto
14251 * paragraph.C (Last): remove when NEW_INSETS is defined.
14253 * other file: changes because of the above.
14255 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14257 * lyxparagraph.h: rename next to next_, previous to previous_,
14258 make them private for NEW_INSETS. Rename Next() to next(),
14259 Previous() to previous().
14261 * other files: changes because of the above.
14263 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14266 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14269 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14271 * main.C (main): pass lyx_localedir to gettext_init().
14273 * gettext.h: remove locale_init and gettext_init macros
14275 * gettext.C (locale_init): new function
14276 (gettext_init): new function
14278 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14281 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14283 * Moved credits to frontends:
14284 * credits.[Ch]: removed
14285 * credits_form.[Ch]: removed
14286 * lyx_gui_misc.C: remove credits stuff
14289 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14291 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14293 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14294 unneeded destructor.
14296 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14297 a standalone pointer again.
14299 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14301 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14307 * ToolbarDefaults.C:
14316 * BufferView_pimpl.C: use new file dialog in GUII
14319 * lyx_cb.C: remove LayoutsCB to Toolbar
14321 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14323 * ShareContainer.h (get): add std:: qualifier
14325 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14327 * ShareContainer.h: define a proper ShareContainer::value_type
14328 type (and use typename to please compaq cxx)
14330 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14332 * lyxparagraph.h: move serveral local vars to
14333 ParameterStruct/ParagraphParameters., use ShareContainer in
14334 FontTable., make vars in FontTable private and add getter and
14337 * paragraph.C: changes because of the above.
14339 * lyxfont.h: remove copy constructor and copy assignment. (the
14340 default ones is ok), move number inside FontBits. move inlines to
14343 * lyxfont.C: add number to initializaton of statics, move several
14344 inlines here. constify several local vars. some whitespace
14345 cleanup. Dont hide outerscope variables.
14347 * Spacing.h: add two new constructors to match the set methods.
14349 * ShareContainer.h: new file, will perhaps be moved to support
14351 * ParameterStruct.h: new file
14353 * ParagraphParameters.h: new file
14355 * ParagraphParameters.C: new file
14357 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14358 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14360 * BufferView_pimpl.C: ParagraphParameter changes.
14361 * buffer.C: Likewise.
14362 * bufferview_funcs.C: Likewise.
14363 * text.C: Likewise.
14364 * text2.C: Likewise.
14366 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14368 * lyxfind.C (LyXReplace): do not redefine default argument in
14370 (IsStringInText): ditto
14371 (SearchForward): ditto
14372 (SearchBackward): ditto
14374 2001-03-06 Juergen Vigna <jug@sad.it>
14376 * lyxfind.C (IsStringInText): put parentes around expressions.
14378 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14380 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14382 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14384 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14386 * stl_string_fwd.h: add comment
14388 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14391 * tabular.C: remove unused DocBook methods
14397 killed DO_USE_DEFAULT_LANGUAGE
14399 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14401 * lyx_gui.C: do not include language.h.
14403 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14404 arguments in function implementation.
14406 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14408 * BufferView_pimpl.C: add <ctime>
14410 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14412 * BufferView_pimpl.C: add using std::find_if
14414 2001-02-27 José Matos <jamatos@fep.up.pt>
14416 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14419 2001-02-11 José Matos <jamatos@fep.up.pt>
14421 * buffer.C (makeDocBookFile): command styles now have a parameter as
14422 "title" by default.
14424 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14426 * layout_forms.[Ch]: removed
14427 * lyx_cb.[Ch]: out character
14428 * lyx_gui.C: out character
14429 * lyx_gui_misc.C: out character
14430 * bufferview_funcs.C: : out character,
14431 added toggleall as parameter in ToggleAndShow
14433 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14435 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14437 * text2.C (SetCurrentFont): Disable number property at boundary.
14439 2001-02-26 Juergen Vigna <jug@sad.it>
14441 * lyxfunc.C (getStatus): added a string argument override function so
14442 that this is correctly called from LyXFunc::Dispatch if it contains a
14443 do_not_use_argument which is used!
14444 (Dispatch): added check for "custom" export and call appropriate func.
14446 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14448 * lyxrc.C: Add language_command_local, language_use_babel and
14449 language_global_options.
14451 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14453 * buffer.C (makeLaTeXFile): Use language_use_babel and
14454 language_global_options.
14456 2001-02-23 Juergen Vigna <jug@sad.it>
14458 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14459 which works with LyXText and putted it inside BufferView. Here now we
14460 only call for that part the BufferView::Dispatch() function.
14462 * BufferView.C (Dispatch): added.
14464 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14465 functions which needs to use a LyXText over from LyXFunc.
14466 (MenuInsertLyXFile): added
14467 (getInsetByCode): added
14468 (moveCursorUpdate): added
14469 (static TEXT): added
14471 2001-02-22 Juergen Vigna <jug@sad.it>
14473 * BufferView_pimpl.C (update): call a status update to see if LyXText
14476 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14478 * vc-backend.C (revert): implement for CVS
14479 (getLog): implement for CVS
14481 2001-02-20 Juergen Vigna <jug@sad.it>
14483 * text2.C (ClearSelection): added BufferView param for inset_owner call
14485 * lyxfunc.C (TEXT): added this function and use it instead of
14486 directly owner->view()-text of getLyXText().
14488 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14490 * src/layout_forms.C: out preamble
14491 * src/layout_forms.h: out preamble
14492 * src/lyx_cb.C: out preamble
14493 * src/lyx_cb.h: out preamble
14494 * src/lyx_gui.C: out preamble
14495 * src/lyx_gui_misc.C: out preamble
14496 * src/lyxfunc.C: connect with guii preamble
14498 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14500 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14502 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14504 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14505 whether to run bibtex.
14507 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14509 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14511 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14513 * Makefile.am (lyx_SOURCES): removed bibforms.h
14515 * vspace.h: doxygen
14517 * text.C (GetVisibleRow): make several local vars const
14519 * tabular.C: small cleanup.
14521 * lyxserver.C (callback): use compare instead of strncmp
14523 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14524 inlines to after class or to paragraph.C
14526 * lyxfont.h: remove friend operator!=
14528 * converter.h: move friend bool operator< to non friend and after
14531 * combox.h: small cleanup
14533 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14534 to inlines after class def.
14536 * buffer.C (pop_tag): use string operations instead of strcmp
14538 * bmtable.c: doxygen, small cleanup
14540 * LaTeX.h: remove friend operator==
14542 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14554 * BufferView_pimpl.C:
14555 * BufferView.[Ch]: remove cruft
14557 2001-02-14 Juergen Vigna <jug@sad.it>
14559 * lyxfunc.C: removed #if 0 unused code
14561 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14563 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14565 * text2.C (SetSelection): added a BufferView * parameter
14567 2001-02-13 Juergen Vigna <jug@sad.it>
14569 * lyxfunc.C (Dispatch): fixed protected blank problem.
14570 * BufferView2.C (protectedBlank): added LyxText * parameter.
14572 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14573 (AppendColumn): same as above for column_info.
14575 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14576 (moveCursorUpdate): use a LyXText param for support of InsetText.
14578 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14579 (tripleClick): ditto
14581 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14583 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14585 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14587 * text2.C (SetSelection): set correct update status if inset_owner
14588 (ToggleFree): ditto
14590 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14592 * tabular.C: remove some commented code.
14594 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14596 * BufferView_pimpl.C: call hideSplash()
14598 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14601 * bibforms.h: remove
14604 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14605 add LFUN_CHILD_CREATE
14607 * counters.h: fix tiny typo
14612 * lyx.C: move splash to frontends/xforms/
14614 * lyx_gui_misc.C: move Include and Bibform to frontends
14616 * lyxvc.h: clarify comment
14618 * vspace.C: tiny housekeeping
14620 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14622 * text.C (PrepareToPrint): RTL Fix.
14624 * paragraph.C (GetUChar): New method.
14625 (String): Use GetUChar.
14627 * buffer.C (asciiParagraph): Use GetUChar.
14629 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14631 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14633 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14636 * buffer.C: rename to getLogName(), handle
14637 build log / latex log nicely
14639 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14642 * MenuBackend.h: remove support for reference menuitem type.
14644 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14646 * BufferView_pimpl.C: housekeeping
14647 * BufferView_pimpl.h:
14652 * minibuffer.h: move Timeout GUI-I
14654 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14656 * lyxrc.C (read): Update converters data-structures.
14658 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14660 * LaTeX.h (operator!=): add operator != for Aux_Info
14662 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14664 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14666 * LaTeXLog.C: deleted, useful code moved to Buffer
14669 * buffer.C: new function getLatexLogName()
14675 * lyxfunc.C: use frontends for LaTeX and VC logs
14677 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14679 * LaTeX.h: yet another std:: that Allan forgot.
14681 * Variables.C (set): renamed from isset(), because this clashes
14682 with some HP-UX macros (grr).
14684 2001-02-06 Allan Rae <rae@lyx.org>
14686 * LaTeX.h: Another bug fix. Missing std:: this time.
14688 2001-02-04 Allan Rae <rae@lyx.org>
14690 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14691 floats problem. I've left it commented out because it's not quite
14692 correct. It should also test that the current object is a table or
14693 figure inset. But I haven't gotten around to figuring out how to do
14694 that. I *think* it'll be something like: "table" == inset.type()
14696 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14699 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14701 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14702 all the citation/databases/styles in the auxilary file.
14703 (run): Rerun latex if there was a babel language error.
14705 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14707 * text.C (Backspace): Preserve the font when changing newline char
14709 (BreakParagraph): If the cursor is before a space, delete the space.
14711 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14713 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14715 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14716 new argument (code).
14717 (ChangeCitationsIfUnique): New method.
14719 * paragraph.C (GetPositionOfInset): Handle bibkey.
14721 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14723 * BufferView_pimpl.h: change type of Position::par_pos to
14724 LyXParagraph::size_type.
14726 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14728 * BufferView_pimpl.C (savePosition, restorePosition): Write
14729 messages to minibuffer.
14731 2001-01-28 José Matos <jamatos@fep.up.pt>
14733 * buffer.C (makeDocBookFile): adds support for document language.
14734 A silly restriction on the name of LatexCommand types where removed.
14735 Added support for CDATA sections, allows to chars unescaped, used
14736 among others in code, to avoid escape < and >.
14738 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14740 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14741 saved positions instrad of a stack. Furthermore, a position is
14742 stored using paragraph id/paragraph position.
14744 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14745 Remove LFUN_REF_BACK.
14747 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14749 * converter.C (dvipdfm_options): New method.
14751 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14753 * vspace.C (isValidLength): Fix for empty input string.
14755 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14757 * LyXAction.C (init): change description of LFUN_FIGURE to
14760 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14762 * LaTeX.C: add using directive
14764 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14766 * MenuBackend.C (expand): Fix the sorting of the formats.
14768 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14770 * lyx_main.C: tiny error message fix
14772 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14774 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14775 calling fl_initialize(). This fixes the problem with ',' as
14776 decimal separator in text files.
14778 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14780 * trans.C (process): Fix the keymap bug.
14782 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14784 * LaTeX.C (scanAuxFiles): New method. Provides support for
14785 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14786 (scanLogFile) Scan for "run BibTeX" messages.
14788 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14789 OT1 font encoding. Also, load the aecompl package if the ae
14792 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14794 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14796 * texrow.C (increasePos): turn two error messages into debug
14799 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14801 * LaTeX.C (scanAux): Handle the \@input macro.
14802 (runBibTeX): Use scanAux().
14804 * language.C (latex_options_): New field.
14806 * LaTeXFeatures.C (getMacros): Add language macros.
14808 * buffer.C (makeLaTeXFile): Small fix.
14810 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14812 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14814 * text2.C: add a using directive.
14816 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14821 * lyxfunc.C: kill LyXBell.
14823 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14825 * text.C (IsBoundary): Remove the error message
14827 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14829 * lyxrc.C (setDefaults): Correct initialization value for
14832 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14834 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14837 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14838 and GotoNextNote().
14840 * src/LyXAction.C: Added reference-next.
14842 * text.C (InsertChar): Use contains instead of strchr.
14844 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14846 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14848 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14849 alignment commands (when needed).
14851 * text.C (InsertChar): Add ':' to number separator chars.