1 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * LColor.C (getFromLyXName): make sure that the color name is used
5 2004-03-17 Angus Leeming <leeming@lyx.org>
8 * LyXAction.C (init): remove LFUN_FORKS_KILL.
10 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
11 dialog and to kill a forked process.
13 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
15 * text2.C (setCursorFromCoordinates): fix font problem
17 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
19 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
20 bogus "rebuild cursor" code
22 2004-03-11 André Pönitz <poenitz@gmx.net>
24 * buffer.[Ch]: use InsetText instead of LyXText as container for
27 * dociterator.[Ch]: drop the BufferView * member which is not needed
28 anymore after the change to buffer.C
34 * BufferView_pimpl.[Ch]:
36 * cursor_slice.[Ch]: adjust
38 * text3.C: fix bug in mathDispatch
40 2004-03-08 André Pönitz <poenitz@gmx.net>
42 * undo.[Ch]: use 'StableDocumentIterator' as base for
45 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
48 * bufferparams.[Ch]: add jurabib support and param.
50 * LaTeX.C: add FIXME/comment.
52 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
54 * buffer.C: increment file format to 230.
56 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
58 * cursor.C (dispatch): avoid infinite loops
60 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
62 * rowpainter.C (paintSelection): fix x coordinates
64 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
66 * text.C (rowBreakPoint): fix breaking before displayed insets
68 2004-03-01 André Pönitz <poenitz@gmx.net>
70 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
72 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
84 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
90 * BufferView_pimpl.C: rename textwidth -> maxwidth,
91 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
93 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
95 * Bidi.[Ch] (computeTables): const correctness
96 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
97 fill_hfill, fill_label_hfill and x from Row
98 * lyxtext.h: prepareToPrint returns a RowMetrics
99 * rowPainter.C: adjust
100 * text.C (prepareToPrint): use width, not textWidth. adjust
101 (redoParagraphInternal, cursorX): adjust
102 * text2.C (getColumnNearX): adjust
103 (init): put a default value to the top LyXText::width
105 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
107 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
109 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
111 * lyxtext.h: add FontIterator class
113 * text.C (FontIterator, operator*, operator->, operator++): add
114 (rowBreakPoint, setRowWidth): adjust (fixing a
117 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
119 * BufferView_pimpl.C (workAreaDispatch): allow also
120 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
122 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
124 * text.C (rowBreakPoint): fix a bug showing with very large insets
126 2004-02-25 André Pönitz <poenitz@gmx.net>
129 * cursor.[Ch]: move some mathed specific code to mathed
131 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
133 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
134 use_tempdir in preferences
135 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
137 * lyx_main.C: ensure that tempdir is valid
138 * lyxlex.h: correct typo
139 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
140 * paragraph.[Ch] (isMultiLingual): make const
141 * cursor.[Ch] (openable): make const
143 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
145 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
147 2004-02-20 André Pönitz <poenitz@gmx.net>
149 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
151 * cursor.[Ch]: prepare for localized getStatus()
157 * text3.C: streamlines the LyXText cursor movement handlers a bit.
159 2004-02-20 André Pönitz <poenitz@gmx.net>
161 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
163 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
165 * text2.C (setCursorFromCoordinates): switch to absolute coords
168 * text3.C (dispatch): adjust
170 2004-02-16 André Pönitz <poenitz@gmx.net>
172 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
175 * cursor_slice.[Ch]: remove unneeded acessor function
177 * lyxtext.h: rename rtl() to isRTL()
185 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
187 * rowpainter.C (paintSelection): coord fix
189 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
191 * Spacing.C: compile fix
193 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
195 * cursor.C (dispatch): restore current_ before returning
197 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
199 * text2.C (cursorUp, cursorDown): fix coords
202 2004-02-12 André Pönitz <poenitz@gmx.net>
207 * text3.C: add LCursor & parameter to most cursor movement functions
208 remove usage of LyXText::cursorRow() and cursorPar()
210 * cursor.[Ch]: add textRow() needed members
213 * BufferView_pimpl.C:
216 * BufferView_pimpl.C: adjust
218 2004-02-11 André Pönitz <poenitz@gmx.net>
222 * BufferView_pimpl.C: shift undo/redo handling
224 * cursor.[Ch]: fix mathed crash
227 * lyxtext.h: move selectionAsText to LCursor
235 * rowpainter.C: fix excessive drawing
237 2004-02-06 André Pönitz <poenitz@gmx.net>
240 * BufferView_pimpl.[Ch]:
241 * text3.C: move some text specific LFUN handling
243 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
245 * text3.C (checkInsetHit): adjust coords
246 * text2.C (getColumnNearX): adjust coords
247 (edit): adjust coords
248 * text.C (getRowNearY): add two asserts
250 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
253 * format.C: add using std::distance to compile on gcc 2.95/stlport
255 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
257 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
259 2004-02-04 André Pönitz <poenitz@gmx.net>
261 * BufferView.[Ch] (insertInset):
262 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
267 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
269 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
270 on the default clause of the switch
271 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
272 wasn't catched by LCursor::dispatch
274 2004-02-03 André Pönitz <poenitz@gmx.net>
277 * cursor.[Ch]: some additional asserts
279 * undo.[Ch]: remove LyXText dependency in interface
283 * lyxtext.h (firstPar, lastPar): remove dead functions
288 * paragraph.[Ch]: adjust
290 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
292 * lyxfind.C (find): fix argument order in call to ::find
294 2004-02-02 André Pönitz <poenitz@gmx.net>
296 * cursor.[Ch]: remove direct access to anchor
298 * text.C: remove findText() hack
300 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
302 * iterators.[Ch] (lockPath): remove in favour of...
303 * BufferView.[Ch] (setCursor): this addition
304 * BufferView.C (putSelectionAt): adjust
305 * undo.C (performUndoOrRedo): adjust
306 * lyxfunc.C (dispatch): adjust
308 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
310 * iterators.C (lockPath): add a missing slice
311 * undo.C (performUndoOrRedo): remove redundant positioning code
313 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
315 * vc-backend.C (scanMaster): ";" -> ';'
317 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
319 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
322 * lyxtextclass.C (compare_name): rename to...
323 (LayoutNamesEqual): ...this
325 * lyxlex_pimpl.C (compare_tags): inherit from
326 std::binary_function, put back into anon namespace
328 * lyxfind.C (MatchString): inherig from std::binary_function
329 (findChange): use empty() istead of !size()
331 * format.C (FormatNamesEqual): new functor
338 * converter.C (compare_Converter): rename to...
339 (ConverterEqual): ...this, and fixup a bit.
340 (getConverter): use it, and make function const
341 (getNumber): use it, and make function const
345 * bufferlist.C: add using boost::bind
347 * MenuBackend.C (MenuNamesEqual): new functor
348 (hasMenu): use it, and make function const
349 (hasSubmenu): use nested bind to get rid of compare_memfun.
351 2004-01-30 André Pönitz <poenitz@gmx.net>
353 * BufferView_pimpl.C:
364 * text3.C: move some of the edit(x,y) handling to the insets
365 some coordinate changes.
367 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
369 * text.C: add using statements for std::advance and std::distance
371 * paragraph.C: add using statement for std::distance
373 * lyxfind.C: add using statement for std::advance
375 * cursor.C (region): remove std:: from swap
376 (openable): use nucleus in stead of operator->
378 * BufferView.C: add using statements for std::distance and std::swap
380 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
382 * iterators.C: Remove the pimple, move the needed structures to
383 the header file. Create accessor for the positions stack.
384 (asPosIterator): remove function
386 * PosIterator.C (PosIterator): move constructors to top of file
387 (PosIterator): reimplement the constructor taking a ParIterator in
389 (setFrom): new function
390 (operator!=): inline it
392 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
394 * lyxfind.C (replaceAll): use std::advance
396 * iterators.h: inherit from std::iterator.
398 * PosIterator.C (advance, distance): remove
399 * PosIterator.h: interit from std::iterator.
401 2004-01-26 André Pönitz <poenitz@gmx.net>
404 * BufferView_pimpl.[Ch]:
408 * bufferview_funcs.C:
419 * output_plaintext.C:
421 * paragraph_funcs.[Ch]:
422 * paragraph_pimpl.[Ch]:
428 * text3.C: more IU: dumps most of the rest of the mathcursor
429 implementation into cursor.[Ch]; "globalize" a bit of it.
431 2004-01-25 Angus Leeming <leeming@lyx.org>
433 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
435 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
437 * LaTeXFeatures.h: add nice_ and nice() const
438 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
440 2004-01-20 André Pönitz <poenitz@gmx.net>
443 * BufferView_pimpl.C:
445 * bufferview_funcs.C:
458 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
459 LCursor and mathcursor parts to LCursor and InsetBase.
461 2004-01-15 André Pönitz <poenitz@gmx.net>
463 * cursor_slice.[Ch]: add a few covienience functions
465 * funcrequest.[Ch]: remove BufferView * member
467 * BufferView_pimpl.C:
474 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
476 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
478 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
479 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
481 2004-01-13 André Pönitz <poenitz@gmx.net>
484 * lyxtext.h: hide cursor and selection anchor behind accessor function
487 * BufferView_pimpl.[Ch]:
489 * bufferview_funcs.C:
499 * cursor_slice.[Ch]: some integer type changes for inset unification
501 * lyxcursor.[hC]: remove, it's CursorSlice now.
504 * BufferView_pimpl.[Ch]:
505 * bufferview_funcs.C:
511 * textcursor.[Ch]: adjust
513 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
515 * text2.C (undoSpan): add and use
516 * text.C (breakParagraph): use undoSpan (fix bug 578)
519 2004-01-08 Angus Leeming <leeming@lyx.org>
521 * BufferView_pimpl.C (MenuInsertLyXFile):
522 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
523 * lyxfunc.C (menuNew, open, doImport):
524 FileFilterList change to the FileDialog open and save functions.
526 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
528 * ShareContainer.h: make isEqual and isUnique adaptable
530 * CutAndPaste.C: make resetOwnerAndChanges adaptable
532 2004-01-07 Angus Leeming <leeming@lyx.org>
535 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
537 * BufferView_pimpl.C (dispatch): act on these LFUNs.
539 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
540 functions replacing find, replace and replaceAll.
542 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
543 LFUN_WORDFIND(FORWARD|BACKWARD).
545 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
547 * text.C (breakParagraph): remove an outdated #warning
549 2004-01-07 André Pönitz <poenitz@gmx.net>
551 * lyxfind.C: somewhat clearer logic
553 * text.C: prevent crash in cursorX on unitialized row cache
555 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
557 * lyxcursor.[Ch] (operator>): add
558 * textcursor.C (selStart, selEnd): use std::min and std::max
560 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
562 * Chktex.C: include boost/format.hpp
564 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
566 * InsetList.C: replace functor MathcIt with adaptable functor
568 (insetIterator): modify accordingly
570 * BranchList.h: move the BranchNamesEqual functor here from...
571 * BranchList.C: ... to here
573 * BranchList.C: new BranchListEqual fuctor, use it. Remove
575 (add): replace a finding loop with std::find_if.
577 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
579 * output_docbook.C: moving LatexParam functionality into
582 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
584 * buffer.C: increment format to 229.
586 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
589 * lyx_sty.[Ch]: remove minipageindent_def
595 * text3.C: remove LFUN_INSET_MINIPAGE
597 2003-12-28 Angus Leeming <leeming@lyx.org>
599 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
601 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
603 * text2.C (setParagraph): fix off-by-one crash
605 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
607 * output_docbook.C: header stuff for AGU
609 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
611 * text2.C (redoCursor): remove
614 * BufferView_pimpl.C: remove calls to redoCursor and
615 setCursor(cursor.par(), cursor.pos()) all around
617 2003-12-15 Angus Leeming <leeming@lyx.org>
619 * buffer.C: up the format to 228.
621 2003-12-15 André Pönitz <poenitz@gmx.net>
623 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
628 * BufferView_pimpl.C:
637 2003-12-15 Angus Leeming <leeming@lyx.org>
639 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
640 than getFromGUIName to manipulate the color.
642 2003-12-14 Angus Leeming <leeming@lyx.org>
644 * BranchList.[Ch]: minimize the API.
645 (Branch::getBranch, getColor): now return a 'const &'.
646 (Branch::setSelected) now returns a bool set to true if the
647 selection status changes.
648 (BranchList::clear, size, getColor, setColor, setSelected,
649 allBranches, allSelected, separator): removed.
650 (BranchList::find): new functions, returning the Branch with
652 (BranchList::add, remove): return a bool indicating that
653 the operation was successful.
655 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
656 new InsetBranch::isBranchSlected member function.
658 * LColor.[Ch]: mimimize the API.
659 (fill): renamed as addColor and made private.
660 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
661 versions of these functions taking a string arg have been removed.
663 * bufferparams.C (readToken):
664 * lyxfunc.C (dispatch):
665 * lyxrc.C (read): changes due to the altered BranchList and
668 * factory.C (createInset, readInset): changes due to altered
671 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
674 * lyxfunc.C: remove insetminipage. "minipage-insert"
675 now produces a frameless minipage box inset.
677 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
679 * textcursor.[Ch] (selStart,selEnd): add new methods
680 remove selection::start, end, use LyXCursor::operator<
681 * lyxcursor.[Ch] (operator<): add
682 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
683 * BufferView.[Ch] (unsetXSel): add
684 * text2.C (clearSelection): use unsetXSel,adjust
687 * rowpainter.C: adjust
688 * bufferview_funcs.C (put_selection_at): adjust
690 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
692 * BufferView_pimpl.C: small coord. correction
694 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
696 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
697 dragging over the splash screen.
699 2003-12-11 Angus Leeming <leeming@lyx.org>
701 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
702 as it is now handled in LyXText::dispatch.
704 * text3.C (doInsertInset): remove a level of nesting.
706 2003-12-11 Angus Leeming <leeming@lyx.org>
708 * factory.C (createInset): changes due to the changed interface to
709 InsetCommandMailer::string2params.
711 2003-12-10 Angus Leeming <leeming@lyx.org>
713 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
714 'dialog-show-new-inset <inset name>'
716 2003-12-10 Angus Leeming <leeming@lyx.org>
718 * buffer.C: up the format to 227.
720 * factory.C: the box inset is now identified simply by 'Box'.
722 2003-12-10 Angus Leeming <leeming@lyx.org>
724 * buffer.C: up the format to 226.
726 * factory.C: the note inset is now identified simply by 'Note'.
728 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
730 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
731 when a pit is enough. Standarize a couple of loops.
733 2003-12-05 Angus Leeming <leeming@lyx.org>
735 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
736 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
737 data to the re-worked "log" dialog.
739 2003-12-03 André Pönitz <poenitz@gmx.net>
747 * text2.C: use Inset::getText instead of Inset::getParagraph
749 2003-12-03 André Pönitz <poenitz@gmx.net>
753 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
754 InsetText::read() as LyXText::read()
756 2003-12-02 Angus Leeming <leeming@lyx.org>
758 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
759 type. Add a comment in the implementation that the function uses
760 the stream's bad() function rather than fail() as the std::streams
763 2003-12-02 André Pönitz <poenitz@gmx.net>
765 * lyxlex.[Ch]: make interface more similar to std::stream
767 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
769 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
771 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
773 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
775 * vspace.[Ch]: remove VSpace::NONE
777 2003-12-01 André Pönitz <poenitz@gmx.net>
780 * lyxtext.h: move ParagraphList member to LyXText
781 rename LyXText::ownerParagraphs to LyXText::paragraph
784 * bufferview_funcs.C:
794 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
796 * undo.C: fix cursor positioning
798 2003-12-01 John Levon <levon@movementarian.org>
800 * BufferView_pimpl.C: fix a crash on exit with
803 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
805 * BranchList.C: fix setSelected() method.
807 2003-11-28 André Pönitz <poenitz@gmx.net>
809 * ParagraphParameters.[Ch]:
810 * ParameterStruct.h: remove space above/below from Paragraph to
813 * BufferView_pimpl.C:
825 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
827 * factory.C: Syntax change for CharStyles
829 2003-11-28 André Pönitz <poenitz@gmx.net>
834 * buffer.[Ch]: move LyXText member
836 2003-11-28 André Pönitz <poenitz@gmx.net>
838 * BufferView.[Ch]: make LyXText * text a private member
840 * BufferView_pimpl.C:
851 * output_plaintext.C: cleanup
853 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
856 * lyxtextclass.[Ch]: parametrize SGML document header
858 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
861 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
864 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
866 * text2.C (setFont): rework using PosIterator (no more recursive)
867 (setCharFont): no more needed
868 (setLayout): no more selection cursors fiddling (done by redoCursor)
869 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
870 destroy remaining ones)
872 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
874 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
876 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
879 * text3.C: adjust + re-allow multi par depth changes
880 * textcursor.C: simplify a bit
882 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
888 * src/output_docbook.C:
889 * src/output_latex.C:
894 * src/text2.C: Introducing a number of tags parametrizing various
895 XML formats that we may want to support
897 2003-11-25 André Pönitz <poenitz@gmx.net>
899 * InsetList.[Ch] (begein, end): inline as suggested by profiler
901 * lyxtext.h (leftMargin/rightMargin): simplify interface
908 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
910 * lyxfunc.C (dispatch): propogate the bibtex databases from the
911 master file to any child files. Fixes bug 546.
913 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
915 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
917 2003-11-24 André Pönitz <poenitz@gmx.net>
919 * rowpainter.C: simplification
921 * text2.C (updateCounters): remove call to redoParagraph on
922 changed labels as this is far too expensive.
924 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
926 * converter.C (convert): fix a crash: this function gets
927 called with buffer == 0 from importer code.
929 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
931 * text3.C (cursorPrevious): make sure that we do not compare
932 iterators form different containers.
935 * rowpainter.C (paintSelection): make sure that we do not compare
936 iterators from different containers.
938 * text3.C (dispatch): [PRIOR] make sure that we do not compare
939 iterators from different ParagraphList containers.
942 * text2.C (LyXText): change order of initialization slightly
943 (operator=): new function. copy all variables except cache_par_
944 (moveUp): make sure that we do not compare iterators from
945 different ParagraphList constainers.
948 * text.C (firstPar): new function
949 (lastPar): new function
950 (endPar): new function
952 * lyxtext.h: move things around and group public functions, public
953 variables, private functions, private variables
955 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
957 * factory.C: change call to InsetERT constructor to avoid
958 additional invocation of method status
959 * text2.C (toggleInset): remove redundant update() call
960 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
961 instead of a Bufferview pointer
963 2003-11-21 André Pönitz <poenitz@gmx.net>
965 * rowpainter.C: simplification
967 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
969 * text3.C (dispatch): make possible to extend a word/row selection
972 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
974 * lyxtext.h: x0_,y0_ -> xo_,yo_
975 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
976 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
977 * rowpainter.C (paintRows): paint full paragraphs
979 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
981 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
984 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
986 * lyxtext.h: add x0_, y0_
987 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
988 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
990 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
992 * text2.C (setCursorIntern): move the x_target update here *
993 * text3.C: change some bv() to true/false in calls to
994 cursorUp/Down/Right/Left
995 * cursor.C: use helper function.
997 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
999 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1000 * paragraph_funcs.[Ch]: correct comment
1001 * rowpainter.C: do not paint selections away from bv->cursor()
1002 Fix a long standing selection painting bug.
1003 * text3.C: generalize mouse-selection code to LyXTexts other that
1005 * textcursor.C: do not use y coords if we can use par offsets
1007 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1009 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1010 cursor position after e.g. inset insert)
1012 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1014 * lyxfind.C (replace): adjust to locking removal + some
1017 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1019 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1022 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1025 * output_docbook.C: XML sanitation: new layout
1026 parameters InnerTag and CommandDepth
1028 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1030 * BufferView_pimpl.C:
1032 * text3.C: Fix the insertion and modification of button-style
1035 2003-11-13 André Pönitz <poenitz@gmx.net>
1037 * InsetList.[Ch]: remove deleteLyXText
1039 * paragraph.[Ch]: cache beginOfBody position
1044 * text3.C: remove superfluous update() calls
1048 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1050 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1051 * BufferView.C (fitLockedInsetCursor): remove
1052 * cursor.[Ch] (getDim): add
1053 * text.C (getRowNearY): add faster version
1054 * text3.C: remove some update calls
1056 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1068 * text3.C: The Character Style /XML short element patch.
1070 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1073 * factory.C: Small step to solving 'unable to insert some insets'
1076 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1078 * cursor.[Ch] (updatePos): new function for updating the y
1079 position of the tip inset
1080 * bufferview_funcs.C (put_selection_at):
1081 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1083 2003-11-11 André Pönitz <poenitz@gmx.net>
1085 * text.C: remove big comment on invalid Paragraph pointers as it is
1088 2003-11-11 André Pönitz <poenitz@gmx.net>
1090 * text_funcs.[Ch]: merge with ...
1098 * Makefile.am: remove text_funcs.[Ch]
1100 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1102 * cursor.C (getPos): return absolute cached y coord
1104 * BufferView_pimpl.C (fitCursor): new simplistic code
1105 (workAreaDispatch): add a fitCursor call
1107 2003-11-10 André Pönitz <poenitz@gmx.net>
1110 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1112 2003-11-10 André Pönitz <poenitz@gmx.net>
1114 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1115 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1116 indicate that the cursor needs to leave an inset
1118 * lyxtext.h: remove inset locking
1120 * cursor.[Ch]: re-implement functionality provided by inset locking
1123 * BufferView_pimpl.[Ch]:
1125 * bufferview_funcs.[Ch]:
1137 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1139 * PosIterator.[Ch]: replace the stack with a vector, add inset
1141 * iterators.[C]: adjust
1143 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1145 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1147 * paragraph_funcs.C (readParToken): put the correct id in the
1148 error item, not the id of the top paragraph
1150 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1152 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1153 * bufferview_funcs.C (put_selection_at): use the above
1155 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1157 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1159 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1161 * output_linuxdoc.h:
1162 * output_plaintext.h:
1164 * output_docbook.h: add #include statements
1166 2003-11-05 José Matos <jamatos@lyx.org>
1168 * output_docbook.[Ch]:
1169 * output_latex.[Ch]:
1170 * output_linuxdoc.[Ch]:
1171 * output_plaintext.[Ch]: New files for output formats.
1172 * output.[Ch]: New file for helper functions.
1175 * paragraph_funcs.[Ch]: output functions moved to new files.
1177 * outputparams.h: rename of latexrunparams.h
1185 * paragraph_funcs.[Ch]:
1186 * paragraph_pimpl.[Ch]:
1187 * tabular.[Ch]: rename ascii to plaintext
1188 and LatexRunParams to OutputParams.
1190 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1192 * iterators.[Ch] (text): require bv argument
1193 * undo.C (recordUndo):
1194 * lyxfunc.C (dispatch):
1195 * bufferview_funcs.C (put_selection_at): adjust
1197 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1199 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1201 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1203 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1206 2003-11-04 André Pönitz <poenitz@gmx.net>
1208 * cursor.[Ch]: restructure
1211 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1213 * iterators.[Ch] (asCursor): remove
1215 * lfuns.h: remove LFUN_INSET_EDIT
1221 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1223 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1225 * lyxfind.[Ch]: complete overhaul
1226 * BufferView_pimpl.C:
1228 * paragraph.[Ch] (insert): add
1230 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1234 * text.C: remove dead spellcheck code
1236 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1238 * dispatchresult.h: add a val setter
1240 * cursor.C (dispatch): use a tempvar for data_[i]
1242 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1244 * PosIterator.[Ch]: compile fix
1246 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1248 * text.C (cursorPar): deactivate the cursor cache
1250 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1252 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1254 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1256 * text3.C (dispatch): adjust for new DisptchResult semantics.
1258 * lyxfunc.C (dispatch): handle update when return from
1259 Cursor::dispatch, adjust for new DispatchResult semantics.
1261 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1262 DispatchResult(true) mean to not update. Add class functions for
1263 setting dispatched and update, as well as reading.
1265 * cursor.C (dispatch): don't handle update here
1267 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1269 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1270 * trans_mgr.C: adjust
1272 * paragraph_funcs.C (readParToken): exception safety
1274 * lyxvc.h: store the vcs pointer in a scoped_ptr
1277 * lyxsocket.C (serverCallback): exception safety
1279 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1281 * ispell.C (clone): make it return a auto_ptr
1283 * factory.C (createInset): exception safety
1284 (readInset): exception safety
1286 * bufferlist.C (newBuffer): exception safety
1288 * Thesaurus.C (Thesaurus): use initialization for aik_
1290 * MenuBackend.C (expandToc): exception safety.
1292 2003-11-03 André Pönitz <poenitz@gmx.net>
1296 * bufferview_funcs.C: remove getInsetFromId()
1299 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1305 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1307 * PosIterator.C (distance, advance): new
1308 * bufferview_funcs.[Ch] (put_selection_at): new
1309 * iterators.[Ch] (lockPath): new
1311 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1313 * iterators.[Ch] (asPosIterator): added
1314 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1315 * PosIterator.[Ch]: added
1317 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1321 * cursor.C (dispatch):
1322 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1324 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1325 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1326 contructor, add a class function dispatched. Remove operator>=
1328 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1330 * debug.C: only use the default constructor for debugstream
1333 * main.C (main): include debug.h and setup the lyxerr streambuf
1336 2003-10-31 José Matos <jamatos@lyx.org>
1338 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1340 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1341 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1342 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1343 * paragraph_pimpl.C (simpleTeXSpecialC):
1344 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1345 add LatexRunParams argument.
1347 * exporter.C (Export): change call accordingly.
1349 * latexrunparams.h: add new member to take care of the other backends.
1350 2003-10-30 José Matos <jamatos@lyx.org>
1352 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1353 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1354 factorise code for paragraph output.
1356 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1359 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1361 * text3.C (dispatch):
1362 * lyxfunc.C (dispatch):
1363 * cursor.C (dispatch):
1364 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1366 * dispatchresult.h: make the dispatch_result_t ctor explicit
1368 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1371 * buffer.C: small refactoring of docbook stuff
1373 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1375 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1378 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1380 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1381 operator dispatch_result_t, and operators for == != and >=
1383 * cursor.C (dispatch): adjust for operator dispatch_result_t
1384 removal. comment out call to update
1386 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1388 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1396 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1399 * dispatchresult.h: new file, DispatchResult broken out of
1402 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1404 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1406 * text.C (rowBreakPoint): put a hack inside #if 0
1408 2003-10-28 André Pönitz <poenitz@gmx.net>
1412 * paragraph_funcs.C:
1415 * text2.C: general cleanup (lots of small stuff)
1417 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1419 * text2.C (cursorEnd): simple fix to the "end key goes to one
1420 before the end on last row" bug
1422 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1424 * text.C (backspace): fix the "zombie characters"
1426 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1428 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1430 2003-10-27 André Pönitz <poenitz@gmx.net>
1432 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1434 * factory.C: handle new InsetPagebreak, InsetLine
1436 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1437 and move handling into new InsetPagebreak, InsetLine
1439 * BufferView_pimpl.C:
1441 * ParagraphParameters.C:
1442 * ParameterStruct.h:
1447 * paragraph_funcs.C:
1448 * paragraph_pimpl.C:
1454 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1457 * lyxrow_funcs.[Ch]:
1463 * text3.C: remove lastPos uses in favour of Row::endpos
1465 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1467 * undo.C (performUndoOrRedo): fix two crashes by setting a
1468 cursor by hand and reordering some calls. Use bv->lockInset instead
1469 of inset->edit because the latter loses cursor information
1471 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1473 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1475 (rowBreakPoint): fix width. change point to point + 1.
1476 Add a missing check.
1478 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1481 * lyxfunc.C: fix (at least partly) the problems
1482 with the Nav menu and headers inside branch insets
1485 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1487 * paragraph.C (getChar): add strong asserts
1489 * lyxrow_funcs.C (lastPos): remove hideous hack
1491 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1492 (fill): adjust to that (avoid an infinite loop)
1494 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1496 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1498 2003-10-23 André Pönitz <poenitz@gmx.net>
1500 * RowList_fwd.h: change list<> to vector<> to gain speed
1501 after suggestion from Alfredo
1503 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1505 * lyxtext.h: move the bidi stuff from here...
1508 * Bidi.[Ch]: ... to here
1510 2003-10-23 André Pönitz <poenitz@gmx.net>
1513 * text.C (isLastRow, isFirstRow): new functions
1515 * paragraph.h: new width cache member
1517 * rowpainter.C: replace RowList::iterator with Row & where possible
1519 * lyxfunc.C: replace several view()->text with a single call
1521 * toc.C: fix 'unused' warning
1523 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1525 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1526 when woring with stream::pos_type
1527 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1529 2003-10-22 André Pönitz <poenitz@gmx.net>
1532 * text.C: use Row & instead of RowList::iterator
1534 * lyxrow.h: rename end() to endpos()
1540 2003-10-22 Angus Leeming <leeming@lyx.org>
1542 * buffer.[Ch] (fully_loaded): new member function, returning true
1543 only when the file has been loaded fully.
1544 Used to prevent the premature generation of previews and by the
1545 citation inset to prevent computation of the natbib-style label.
1547 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1548 templates are all set up.
1550 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1552 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1554 * text.C: fixed an "oops" in the "is a bit silly"
1557 2003-10-21 André Pönitz <poenitz@gmx.net>
1559 * FuncStatus.[Ch]: small stuff, whitespace
1561 * lyxfont.[Ch]: operator<<() for debug reasons
1565 * lyxtext.h: whitespace, spelling
1567 * paragraph.C: naming of variables
1570 * text2.C: small stuff
1573 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1575 * text.C: (1) finish off the inset display() work;
1576 (2) fix the "is a bit silly" bug (accessing char
1579 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1581 * text.C: re-introduce display() for insets, fixing the
1582 various bugs (stretch of line above, math inset
1585 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1587 * text.C (rightMargin): remove spurious semicolon
1589 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1592 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1594 * text3.C: fix one crash due to wrong cursor def
1596 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1598 * vc-backend.C (scanMaster): make the regex static
1600 * LaTeX.C (scanAuxFile): make the regexs static
1602 * text3.C (doInsertInset, dispatch, dispatch):
1603 * text2.C (cursorUp, cursorDown):
1604 * text.C (selectNextWordToSpellcheck):
1605 * BufferView_pimpl.C (dispatch):
1606 * lyxfunc.C (dispatch): localDispatch -> dispatch
1608 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1610 * lyxsocket.C: include <cerrno>
1612 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1614 * lyxfunc.C (dispatch): remove textcache stuff
1616 * bufferlist.C (release): remove textcache stuff
1619 * TextCache.C: delete file
1620 * TextCache.h: delete file
1622 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1624 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1625 delete of the bv_->text.
1626 (resizeCurrentBuffer): remove texcache stuff
1627 (workAreaResize): ditto
1629 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1631 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1634 2003-10-16 André Pönitz <poenitz@gmx.net>
1641 * text3.C: speed up by storing y positions per paragraph plus per-row
1642 offset instead of having a 'full' y position in the row.
1644 2003-10-15 André Pönitz <poenitz@gmx.net>
1648 * undo.[Ch]: make undo aware of inner insets
1650 2003-10-14 Angus Leeming <leeming@lyx.org>
1652 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1653 static member functions LyX::ref() and LyX::cref.
1654 (lastfiles): new accessor functions for the new lastfiles_ member var.
1655 (addLyXView, views_): add a new LyXView to the list of views_.
1656 (updateInset): loop over all LyXViews to call their own updateInset
1657 member function, returning a pointer to the Buffer owning the inset.
1659 * BufferView_pimpl.C (loadLyXFile):
1660 * MenuBackend.C (expandLastfiles):
1661 * bufferlist.C (MenuWrite, QuitLyX):
1662 lastfiles is no longer a global variable.
1663 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1665 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1666 static function. Access through LyX::cref().emergencyCleanup().
1668 2003-10-14 André Pönitz <poenitz@gmx.net>
1670 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1672 * undo.[Ch]: restoring part of 'undo in insets'
1675 * undo_funcs.[Ch]: merge with undo.[Ch]
1677 * tabular.C: small cleansing stuff
1679 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1681 * paragraph_funcs.C (readParToken): report unknown insets as error
1682 boxes. Use the outer paragraph as location (also for unknown
1685 * factory.C (readInset): do not abort on reading an unknown inset.
1686 Eat it and return 0.
1688 2003-10-13 Angus Leeming <leeming@lyx.org>
1690 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1692 * lyxrc.C: displayTranslator is now a function,
1693 declared in GraphicsTypes.h.
1695 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1697 * format.C: new placeholder $$a to pass the socket address.
1699 * bufferlist.[Ch]: new function getBufferFromTmp.
1701 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1702 files in the temporary dir.
1704 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1706 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1708 * Makefile.am: add lyxsocket.[Ch].
1710 * lyx_main.C (error_handler): handle SIGPIPE.
1712 2003-10-13 André Pönitz <poenitz@gmx.net>
1714 * BufferView_pimpl.C:
1719 * undo_funcs.[Ch]: use paroffset_type instead of
1720 ParagraphList::iterators to prevent multiple conversion
1721 (and get a more robust interface)
1723 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1725 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1727 * text3.C (dispatch): ditto
1729 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1731 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1732 move the onlyfile, use onlyfile instead of foundfile in a couple
1735 * DepTable.C (update): flush the error stream a bit more
1737 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1739 * lyxserver.C (callback): adjust
1741 * lyxfunc.C (getStatus): add a missing brace in commented code
1742 (ensureBufferClean): reindent
1743 (dispatch): delete version taking a string
1745 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1747 * LaTeX.C (deplog): move found file handlig from here...
1748 (handleFoundFile): .. to new function here.
1749 (deplog): make sure to discover several files mentioned on the
1752 2003-10-10 André Pönitz <poenitz@gmx.net>
1759 * text3.C: fix some of the tabular crashes
1761 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1763 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1765 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1767 2003-10-09 André Pönitz <poenitz@gmx.net>
1769 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1772 * BufferView_pimpl.C:
1773 * bufferview_funcs.C:
1784 * undo_funcs.C: adjust
1786 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1788 * text2.C (incrementItemDepth): new function, use a backtracking
1789 algorithm to discover the correct item depth.
1790 (resetEnumCounterIfNeeded): new function, use a backtracking
1791 algorithm to discover if counter reset is needed.
1792 (setCounter): use them. Simplify a bit. Add different labels for
1793 different item depths for itemize.
1795 * paragraph.C (Paragraph): remove initialization of enumdepth
1798 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1799 enumerate and itemize. Change the type of itemdepth to signed char.
1801 2003-10-08 André Pönitz <poenitz@gmx.net>
1803 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1808 * tabular.[Ch]: fix crash after 'row-insert'
1810 2003-10-08 Angus Leeming <leeming@lyx.org>
1812 Fix doxygen warnings.
1814 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1815 Remove CutAndPaste:: prefix from header file declaration.
1817 * LColor.h (fill): remove LColor:: prefix from declaration.
1819 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1820 use lyx::depth_type rather than Paragraph::depth_type so that
1821 header file and .C file match.
1823 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1825 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1826 * aspell.C: \file aspell_local.C -> \file aspell.C
1827 * gettext.C: \file gettext.C -> \file src/gettext.C
1828 * gettext.h: \file gettext.h -> \file src/gettext.h
1829 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1830 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1831 * text.C: \file text.C -> \file src/text.C
1833 * toc.C: move comment so that doxygen is not confused.
1835 2003-10-07 Angus Leeming <leeming@lyx.org>
1837 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1839 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1842 * aspell_local.h: add forgotten std::string's.
1844 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1851 * text3.C: The Box patch. Fancybox support, minipage, parbox
1853 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1859 * ParagraphParameters.h:
1869 * lyxtextclasslist.h:
1872 * paragraph_pimpl.C:
1873 * textcursor.h: add <string> and other small fixes to make Lars'
1874 std::string patch compile with STLport.
1876 2003-10-06 Angus Leeming <leeming@lyx.org>
1878 * LColor.h: Add missing #include <string>.
1880 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1882 * All most all file in all subdirs: Make <string> be the prefered
1883 way of getting to std::string, add using declarations.
1885 2003-10-06 André Pönitz <poenitz@gmx.net>
1887 * metricsinfo.C: initialize LyXFont before changing attribute.
1888 (fixes the 'math in \emph is upright' bug)
1890 2003-10-06 André Pönitz <poenitz@gmx.net>
1892 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1894 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1897 * paragraph_pimpl.C: Small fixes to build using STLport
1899 2003-10-02 André Pönitz <poenitz@gmx.net>
1902 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1904 2003-10-01 André Pönitz <poenitz@gmx.net>
1906 * factory.C: assert early
1908 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1910 * lyx_main.C: remove the global debug object
1912 * debug.h: adjust for new debugstream
1914 * debug.C: adjust for new debugstream and keep the global debug
1917 2003-09-22 Angus Leeming <leeming@lyx.org>
1919 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1920 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1921 an incomplete class LyXFont.
1923 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1925 * factory.C: bug fix in branches
1927 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1929 * lyxfunc.C (processKeySym): adjust
1931 (dispatch): change arg name from ev to func, adjust
1932 (sendDispatchMessage): ditto
1934 * lyx_main.C (defaultKeyBindings): adjust keybindings
1935 (deadKeyBindings): ditto
1937 * kbsequence.C (addkey): return a FuncRequest
1939 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1941 * kbmap.C (bind): take a FuncRequest as arg, adjust
1944 (defkey): change to take a FuncRequest as arg, adjust
1945 (findbinding): take a FuncRequest as arg, adjust.
1947 * funcrequest.h (operator=): added
1949 * funcrequest.C (FuncRequest): default kb_action changed from
1950 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1952 * buffer.C (dispatch): simplify
1953 (dispatch): adjust to take a FuncRequest as arg, adjust
1955 * boost.C (assertion_failed): change assertion message slightly
1957 * ToolbarBackend.C (read): simplify
1959 * MenuBackend.C (binding): adjust call to findbinding, add a
1960 message if no binding is found.
1962 (expandToc): correct by adding a empty FuncRequest
1964 * LyXAction.C: include <boost/assert.hpp>
1965 (isPseudoAction): delete function
1966 (LookupFunc): change name to...
1967 (lookupFunc): this. change return type to FuncRequest.
1968 (getActionName): take kb_action as arg, simplify
1969 (funcHasFlag): add an assert, simplify.
1971 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1973 * toc.C (action): return a FuncRequest, simplify
1975 * lyxfunc.C (processKeySym): adjust
1976 (getStatus): delete version that takes an int.
1978 (dispatch): delete version that takes action as int
1980 (sendDispatchMessage): simplify and adjust
1982 * funcrequest.C (getArg): take unsigned int as arg
1984 * ToolbarBackend.C (read): adjust
1985 (add): delete version that takes func as a string.
1986 (getIton): take a FuncRequest as arg
1988 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1991 * MenuBackend.C (MenuItem): add a new construct that only takes a
1992 Kind, simplify the constructor use for submenus.
1994 (expandLastfiles): adjust
1995 (expandDocuments): adjust
1996 (expandFormats): adjust
1997 (expandFloatListInsert): adjust
1998 (expandFloatInsert): adjust
1999 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2001 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2002 Remove class variables lyx_pseudo_map and lyx_arg_map
2004 * LyXAction.C (searchActionArg): delete function
2005 (getPseudoAction): delete function
2006 (retrieveActionArg): delete function
2007 (LookupFunc): make it return kb_action, simplify.
2008 (getActionName): simplify
2010 * factory.C (createInset): fix new bug
2012 2003-09-19 Angus Leeming <leeming@lyx.org>
2014 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2015 masterFilename_ parameter in the include inset.
2017 * factory.C (createInset): changes due to the changes to InsetInclude.
2019 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2021 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2023 2003-09-18 Angus Leeming <leeming@lyx.org>
2026 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2027 Inset::fillWithBibKeys.
2028 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2030 2003-09-18 Angus Leeming <leeming@lyx.org>
2032 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2034 (ctor): pass and store a 'Buffer const &'
2035 (buffer): new member function.
2037 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2038 '*this' to the LaTeXFeatures ctor.
2040 2003-09-18 Angus Leeming <leeming@lyx.org>
2046 * text.C: rename EnumLColor as LColor_color.
2048 2003-09-18 Angus Leeming <leeming@lyx.org>
2050 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2051 remove #include "insets/insetbase.h" from cursor.h.
2053 2003-09-18 Angus Leeming <leeming@lyx.org>
2055 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2056 InsetOld_code to remove #include "inset.h".
2058 * iterators.C: add #include "insets/inset.h"
2060 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2062 * BufferView.C: remove more locking stuff that apparently doesn't
2063 do anything sensible.
2065 2003-09-16 André Pönitz <poenitz@gmx.net>
2068 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2071 2003-09-16 Angus Leeming <leeming@lyx.org>
2073 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2075 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2078 * paragraph.h: remove #include "lyxfont.h". Forward declare
2081 2003-09-16 Angus Leeming <leeming@lyx.org>
2083 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2084 of support/textutils.h.
2085 (isWord): move the contents of support/textutils.h's IsWordChar here.
2091 * text2.C: add #include "paragraph.h".
2094 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2096 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2102 * LaTeX.C: use namespace alias for lyx::support::os
2104 2003-09-16 Angus Leeming <leeming@lyx.org>
2107 * bufferview_funcs.C:
2110 * paragraph_pimpl.C:
2112 * text.C: add #include "LColor.h".
2114 2003-09-16 Angus Leeming <leeming@lyx.org>
2116 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2117 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2119 Store the FontBits::color variable as an int rather than as an
2120 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2123 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2124 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2125 string calls together.
2127 * lyxrc.C: add #include "LColor.h".
2129 2003-09-15 Angus Leeming <leeming@lyx.org>
2131 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2134 2003-09-15 Angus Leeming <leeming@lyx.org>
2136 * LColor.h: add an EnumLColor wrapper for LColor::color.
2138 * lyxfont.[Ch] (color, setColor, realColor):
2139 * lyxtext.h, text.C (backgroundColor):
2140 pass EnumLColor args to/from the functions, rather than LColor::color
2144 * lyxtext.h: forward declare EnumLColor.
2146 * lyx_main.C: add #include "LColor.h".
2148 2003-09-15 Angus Leeming <leeming@lyx.org>
2150 * .cvsignore: add lyx-gtk.
2152 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2157 * ParagraphParameters.C
2161 * bufferview_funcs.C
2171 * vc-backend.C: remove usage of STRCONV
2173 2003-09-15 Angus Leeming <leeming@lyx.org>
2175 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2176 explicitly define the color passed to the painter.
2178 2003-09-15 Angus Leeming <leeming@lyx.org>
2180 * bufferparams.C (BufferParams): reorder member initializers to avoid
2183 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2185 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2186 * text.C (updateRowPositions): remove an unusual nop
2188 2003-09-12 André Pönitz <poenitz@gmx.net>
2190 * BufferView_pimpl.C:
2199 * Counters.[Ch]: finish the 'automatic counters' job
2201 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2203 * aspell.C: include <boost/assert.cpp> (compile fix)
2205 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2207 * boost.C (assertion_failed): use lyx::support::abort instead of
2210 2003-09-10 Angus Leeming <leeming@lyx.org>
2212 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2213 with their _fwd progeny.
2215 2003-09-09 Angus Leeming <leeming@lyx.org>
2217 134 files throughtout the source tree: replace 'using namespace abc;'
2218 directives with the appropriate 'using abc::xyz;' declarations.
2220 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2222 * boost.C (emergencyCleanup): moved here from LAssert.c
2223 (assertion_failed): new function, called by BOOST_ASSERT
2225 * several files: change Assert to BOOST_ASSERT
2227 2003-09-09 Angus Leeming <leeming@lyx.org>
2229 * buffer.[Ch]: Add an Impl class and move Buffer's member
2230 variables into it. As a result move several header files out of
2233 Add header files to lots of .C files all over the tree as a result.
2235 2003-09-09 Angus Leeming <leeming@lyx.org>
2237 * buffer.[Ch]: make Buffer's member variables private. Add
2240 Lots of changes all over the tree as a result.
2242 2003-09-08 Angus Leeming <leeming@lyx.org>
2244 * graph.C: #include <config.h>.
2246 2003-09-08 Angus Leeming <leeming@lyx.org>
2250 * BufferView_pimpl.C:
2279 * toc.C: remove redundant using directives.
2281 2003-09-07 Angus Leeming <leeming@lyx.org>
2283 * LaTeXFeatures.h: remove #include "support/types.h".
2284 * ToolbarBackend.h: remove #include <algorithm>.
2285 * changes.h: remove #include <ctime>.
2286 * debug.h: remove #include <iosfwd>.
2287 * graph.h: remove #include "support/std_string.h".
2288 * lyx_main.h: remove #include <csignal>.
2289 * lyxlex_pimpl.h: remove #include <fstream>.
2290 * sgml.h: remove #include <algorithm>, <utility>.
2291 * toc.h: remove #include "support/std_ostream.h".
2292 Add #include <iosfwd>.
2294 2003-09-07 Angus Leeming <leeming@lyx.org>
2296 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2298 * converter.h: forward declare LatexRunParams.
2299 * encoding.h: remove #include "lyxrc.h".
2300 * lyxtext.h: remove #include "LColor.h".
2301 * lyxtextclass.h: remove #include "support/types.h".
2302 * trans.h: remove #include "tex-accent.h".
2303 * trans_mgr.h: remove #include "tex-accent.h".
2304 * insets/inset.h: remove #include "support/types.h", <vector>.
2305 * insets/insetcollapsable.h: remove #include "LColor.h".
2306 * insets/insetinclude.h: remove #include "dimension.h".
2307 * insets/insetlatexaccent.h: remove #include "dimension.h".
2308 * insets/insetoptarg.h:: remove #include "insettext.h".
2309 * insets/insettext.h: remove #include "dimension.h",
2310 <boost/shared_ptr.hpp>
2312 * insets/renderers.h: add #include "dimension.h".
2313 * insets/updatableinset.h: add #include "support/types.h".
2315 * many .C files: Associated changes.
2317 2003-09-06 Angus Leeming <leeming@lyx.org>
2319 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2320 one, inside testInvariant.
2322 * PrinterParams.C: new file.
2323 * PrinterParams.[Ch]: move the function bodies out of line.
2325 2003-09-06 Angus Leeming <leeming@lyx.org>
2327 * ParagraphParameters.h: forward declare ParameterStruct rather than
2328 including its header file.
2329 (depth): moved out-of-line.
2331 2003-09-06 Angus Leeming <leeming@lyx.org>
2333 * BufferView_pimpl.h:
2336 * lyxfunc.h: forward declare LyXKeySym rather than
2337 #include "frontends/LyXKeySym.h".
2339 * BufferView_pimpl.C:
2342 * lyxfunc.C: associated changes.
2344 2003-09-06 Angus Leeming <leeming@lyx.org>
2346 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2347 As a result, can remove the #include "insets/inset.h" from BufferView.h
2349 2003-09-06 Angus Leeming <leeming@lyx.org>
2351 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2352 As a result, can remove the #include "insets/inset.h" from BufferView.h
2354 2003-09-06 Angus Leeming <leeming@lyx.org>
2360 * bufferview_funcs.C:
2361 * BufferView_pimpl.C:
2366 * ParagraphParameters.C:
2371 * frontends/controllers/ControlDocument.C:
2372 * insets/insetcaption.C: rearrange the #includes into some sort of
2375 * buffer.h: remove #includes ErrorList.h, undo.h
2377 2003-09-06 Angus Leeming <leeming@lyx.org>
2379 * support/types.h: add a 'depth_type' typedef, used to store the
2380 nesting depth of a paragraph.
2383 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2384 defining explicitly.
2387 * paragraph_funcs.h:
2388 * ParagraphParameters.h:
2389 * sgml.h: use lyx::depth_type rather than Paragraph or
2390 ParameterStruct's depth_type.
2393 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2396 * BufferView_pimpl.C:
2398 * ParagraphParameters.C:
2401 * bufferview_funcs.C:
2408 * frontends/LyXView.C:
2409 * frontends/controllers/ControlDocument.C:
2410 * frontends/controllers/ControlErrorList.C:
2411 * insets/insetbibitem.C:
2412 * insets/insetbranch.C:
2413 * insets/insetcaption.C:
2414 * insets/insetcollapsable.C:
2415 * insets/insetenv.C:
2416 * insets/insetert.C:
2417 * insets/insetfloat.C:
2418 * insets/insetfoot.C:
2419 * insets/insetfootlike.C:
2420 * insets/insetnewline.C:
2421 * insets/insetquotes.C:
2422 * insets/insettabular.C:
2423 * insets/insettext.C:
2424 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2426 * frontends/controllers/ControlChanges.C: #include "changes.h".
2428 2003-09-06 Angus Leeming <leeming@lyx.org>
2430 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2431 than #including paragraph.h.
2434 * RowList.h: deleted. Superfluous.
2444 * insets/insettext.h: use ParagraphList_fwd.h rather than
2447 * paragraph.h: don't forward declare ParagraphList.
2450 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2451 rather than ParagraphList.h. paragraph.h is still needed for the
2452 Paragraph::depth_type parameters.
2454 * textcursor.h: enable it to compile stand-alone in light of the
2457 * bufferview_funcs.C:
2469 * frontends/controllers/ControlParagraph.C:
2470 * frontends/controllers/ControlTabular.C:
2471 * insets/insetmarginal.C:
2472 * insets/insetminipage.C:
2473 * insets/insetnote.C:
2474 * insets/insetoptarg.C: add header files needed to compile again.
2476 2003-09-06 Angus Leeming <leeming@lyx.org>
2478 * RowList_fwd.h: new file, forward-declaring Row rather than
2479 #including lyxrow.h.
2484 * insets/insettext.h: use it instead of RowList.h
2486 * bufferview_funcs.C:
2493 * text3.C: #include "RowList.h".
2495 2003-09-05 Angus Leeming <leeming@lyx.org>
2497 * factory.C (createInset):
2498 * vspace.C (c-tor): replace sscanf call with an istringstream.
2499 * ispell.C: re-add missing HP/UX headers.
2500 * lyxserver.C: re-add missing os2 headers.
2502 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2511 * text3.C: re-add missing system headers, needed for 2.95.2.
2513 2003-09-05 Angus Leeming <leeming@lyx.org>
2515 Changes most place everywhere due to the removal of using directives
2516 from support/std_sstream.h.
2518 2003-09-05 Angus Leeming <leeming@lyx.org>
2520 Replace LString.h with support/std_string.h,
2521 Lsstream.h with support/std_sstream.h,
2522 support/LIstream.h with support/std_istream.h,
2523 support/LOstream.h with support/std_ostream.h.
2525 Changes resulting throughout the tree.
2527 2003-09-05 Angus Leeming <leeming@lyx.org>
2529 * sgml.h: ensure that the header file can be compiled stand-alone.
2530 * *.C: strip out redundant #includes. (320 in total.)
2532 2003-09-04 Angus Leeming <leeming@lyx.org>
2534 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2535 here (from getPackages).
2537 * debug.[Ch]: add a new EXTERNAL tag.
2539 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2541 * text2.C (cursorEnd): simplify
2543 (getColumnNearX): adjust
2545 * text.C (computeBidiTables): adjust
2548 * rowpainter.C (paintChars): adjust
2549 (paintSelection): adjust
2550 (paintChangeBar): adjust
2553 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2555 (numberOfSeparators): adjust
2557 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2563 * text3.C: Restricts the mouse click functionality
2564 of insets like bibtex, include, toc and floatlist to the visible
2565 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2566 up the dialogs. Cursor has to be in front of the inset (i.e.
2567 start of row) for this to function.
2569 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2571 * bufferview_funcs.C (currentState): output row information
2573 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2575 * bufferview_funcs.C (currentState): output paragraph position
2577 2003-09-04 Angus Leeming <leeming@lyx.org>
2579 * FloatList.h: move out #include "Floating.h".
2580 * LaTeX.h: move out #include "DepTable.h".
2581 * LyXAction.h: move out #include "funcrequest.h".
2582 * buffer.h: move out #include "author.h", "iterators.h".
2583 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2584 * lyx_main.h: move out #include "errorlist.h".
2585 * lyxfunc.h: move out #include "FuncStatus.h".
2586 * lyxtext: move out #include "lyxcursor.h".
2587 * paragraph_pimpl.h: move out #include "counters.h".
2589 2003-09-03 Angus Leeming <leeming@lyx.org>
2591 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2592 preamble_snippets list, enabling us to add snippets to the preamble
2593 only if the snippet was not there already.
2595 2003-09-04 Angus Leeming <leeming@lyx.org>
2597 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2599 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2601 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2604 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2606 * BranchList.C: point fix, earlier forgotten
2608 2003-09-02 Angus Leeming <leeming@lyx.org>
2610 * box.C (contains): renamed from 'contained' after a fantastic
2613 2003-09-02 John Levon <levon@movementarian.org>
2619 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2621 2003-09-02 John Levon <levon@movementarian.org>
2623 * text2.C: simplification of cursorEnd(), including partial
2626 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2628 * buffer.C (readFile): add a space
2630 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2632 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2634 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2636 * buffer.C (readFile): new function, take a filename and a
2637 ParagraphList::iterator
2639 (readFile): adjust, make it private. don't use setStream, make
2640 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2641 always contain the filename.
2643 * BufferView.C (insertLyXFile): simplify and make it work for
2646 2003-08-30 John Levon <levon@movementarian.org>
2648 * Makefile.am: fix dist (from Kayvan)
2650 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2652 * most files: change to use const Buffer refs
2654 2003-08-27 André Pönitz <poenitz@gmx.net>
2656 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2657 on top of ownerPar().
2659 2003-08-27 John Levon <levon@movementarian.org>
2661 * funcrequest.C: properly initialise POD members
2663 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2665 * lyxtext.h (top_y): move top_y from here
2670 * BufferView_pimpl.[Ch]: to here
2671 * frontends/screen.C:
2672 * insets/insettabular.C:
2673 * insets/insettext.C: adjust
2674 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2676 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2679 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2681 2003-08-26 André Pönitz <poenitz@gmx.net>
2683 * paragraph_func.[Ch] (outerPar): new function
2686 * paragraph_funcs.C:
2687 * paragraph_funcs.h:
2688 * paragraph_pimpl.C:
2689 * text2.C: remove Inset::par_owner
2691 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2696 * text2.C: eliminates the needFullRow/display() stuff
2697 altogether, putting the logic in metrics/draw in the insets.
2699 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2701 * text2.C (redoParagraphInternal, redoParagraphs):
2702 * text.C (redoParagraph): add a call to updateRowPositions at the
2703 end of each 'metrics-like' call. Remove all others.
2704 (getRow): remove the 'y-computing' version.
2705 (getRowNearY): do not compute nor return the real y. Solve the
2706 'y < 0' problem and simplify.
2708 2003-08-22 Angus Leeming <leeming@lyx.org>
2710 * *.[Ch]: clean-up of licence and author blurbs.
2711 Also move config.h out of a few .h files and into a few .C files.
2713 2003-08-22 André Pönitz <poenitz@gmx.net>
2715 * lyxrow.[Ch]: add x_ and *fill_ members
2720 * text2.C: adjust/remove prepareToPrint() calls
2722 2003-08-22 André Pönitz <poenitz@gmx.net>
2724 * lyxrow.[Ch]: add end_ member
2726 * lyxrow_funcs.C: use LyXRow::end_
2728 * lyxtext.h (singleWidth): add LyXFont parameter
2731 * text2.C: adjust LyXText::singleWidth() calls
2733 * text.C (redoParagraph): simplify row breaking logic
2736 2003-08-19 André Pönitz <poenitz@gmx.net>
2738 * funcrequest.C: initialize button_ member
2741 * rowpainter.[Ch]: interface consolidation
2743 2003-08-18 André Pönitz <poenitz@gmx.net>
2746 * BufferView_pimpl.C:
2748 * paragraph_funcs.C:
2750 * text3.C: remove LyXScreen::draw() and fitCursor calls
2752 * BranchList.h: remove spurious semicolons
2754 * MenuBackend.C: fix branchlist related crash
2756 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2764 * bufferparams.[Ch]:
2768 * text3.C: implements the 'branch inset'
2769 idea. This allows the output of various versions of a document
2770 from a single source version, selectively outputing or suppressing
2771 output of parts of the text.
2772 This implementation contains a 'branch list editor' in a separate
2773 tab of the document settings dialog. Branches are user definable
2774 and have a "display colour" to distinguish them on-screen.
2776 ColorHandler was somewhat cleaned up.
2777 (1) make possible a dynamically growing LColor list by allowing
2778 the graphic context cache to grow along (vector);
2779 (2) eliminate an IMHO unnecessary step in colour allocation.
2781 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2783 * BufferView_pimpl.C: compile fix
2785 2003-08-15 André Pönitz <poenitz@gmx.net>
2787 * rowpainter.C: remove extra metrics calls
2789 * lyxtext.h: merge the two constructors into a single one,
2790 pass reference to owner's par list
2792 * BufferView_pimpl.C:
2796 2003-08-15 André Pönitz <poenitz@gmx.net>
2798 * lyxrow_funcs.[Ch]:
2801 * paragraph_funcs.C:
2806 * text_funcs.C: split LyXText::rowlist_ into individual
2807 Paragraph::rows_ chunks
2810 * BufferView_pimpl.[Ch]:
2813 * text3.C: remove toggleSelection()
2815 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2817 * bufferlist.C: beautify two alerts (shorter text of buttons)
2818 * buffer.C: Remove redundant ' ' from message
2820 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2821 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2822 rename VALIGN_CENTER to VALIGN_MIDDLE
2824 2003-08-11 André Pönitz <poenitz@gmx.net>
2826 * lyxtext.h (getPar):
2827 * text.C: new function
2829 2003-08-11 André Pönitz <poenitz@gmx.net>
2832 * tracer.[Ch]: remove unneeded files
2834 * InsetList.[Ch]: remove resizeInsetsLyXText()
2839 * text3.C: merge insertParagraphs() and appendParagraph()
2840 remove breakAgain(), update()
2842 * BufferView_pimpl.[Ch]:
2843 * bufferview_funcs.[Ch]:
2847 * tabular.C: adjust after text & InsetList changes.
2849 2003-08-08 André Pönitz <poenitz@gmx.net>
2851 * text.C (insertChar, backspace): replace rowlist fiddling
2852 with rebreak of full par
2855 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2856 checkParagraph, updateInset): removed
2858 2003-08-07 André Pönitz <poenitz@gmx.net>
2861 * text3.C: merge some LFUN handlers, remove dead code
2863 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2865 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2867 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2869 * text2.C (DEPM): fix part of bug 1255 and 1256
2871 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2873 * BufferView_pimpl.C (workAreaDispatch): change to use
2874 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2875 that are no mouse related.
2877 2003-08-05 André Pönitz <poenitz@gmx.net>
2880 * BufferView_pimpl.[Ch]:
2881 * bufferview_funcs.C:
2883 * text3.C: rip out "deep update"
2885 * textcursor.[Ch] (last_sel_cursor): remove unused member
2887 2003-08-04 André Pönitz <poenitz@gmx.net>
2890 * BufferView_pimpl.[Ch]:
2891 * ParagraphParameters.C:
2892 * bufferview_funcs.C:
2898 * text3.C: replace "complicated" BufferView::update(...) calls with
2901 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2903 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2905 * Makefile.am (lyx_SOURCES): add paper.h
2907 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2909 * Makefile.am: move things around so that both lyx-qt and
2910 lyx-xforms can be built (according to --with-frontend). Then lyx
2911 is a symbolic link to lyx-[firstfrontend]
2913 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2915 * Always use std::endl with lyxerr
2917 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2919 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2921 2003-08-01 André Pönitz <poenitz@gmx.net>
2924 * BufferView_pimpl.[Ch]:
2926 * text3.C: merge BufferView::repaint() and BufferView::update()
2928 2003-08-01 José Matos <jamatos@lyx.org>
2930 * buffer.[Ch]: file_format is no longer a buffer data element.
2932 2003-08-01 André Pönitz <poenitz@gmx.net>
2937 * text2.C: make redoParagraph more independent of current cursor
2939 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2941 * text2.C: remove unneeded members
2943 2003-07-30 André Pönitz <poenitz@gmx.net>
2945 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2947 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2948 create a single function...
2950 * paragraph_funcs.C (moveItem): ... here.
2953 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2955 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2957 * LColor.[Ch]: Add comment and greyedout logical colors.
2959 2003-07-30 André Pönitz <poenitz@gmx.net>
2961 * tabular.C: don't use Assert too heavily. This crashes where it
2964 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2966 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2967 is disabled (bug 1232)
2969 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2971 * factory.C: limited 'arg' scope
2973 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2975 * factory.C: fixed Note submenu issues
2977 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2979 * factory.C: submenu for Note/Comment/Greyedout
2981 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2984 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2986 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2989 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2990 greyedout. Patch provided by Jürgen Spitzmüller.
2992 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2994 * kbmap.C (read): fix error message when reading bind files
2996 2003-07-29 Angus Leeming <leeming@lyx.org>
2998 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2999 certainly does not do what it purports to do. I am doing it, and
3000 us, a favour by killing it.
3002 2003-07-28 José Matos <jamatos@lyx.org>
3004 * buffer.C (readBody, do_writeFile):
3005 * paragraph.C(readParagraph): \end_document replaces \the_end.
3007 2003-07-29 André Pönitz <poenitz@gmx.net>
3010 * BufferView_pimpl.[Ch]:
3014 * textcursor.[Ch]: remove toggleToggle & Co
3016 2003-07-28 José Matos <jamatos@fep.up.pt>
3018 * buffer.C (readParagraph):
3019 * params_func (readParToken, readParagraph):
3020 * paragraph.C (write): \layout -> \begin_layout.
3022 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3024 * lyxlex_pimpl.C (setFile): clean up slightly.
3026 * bufferparams.h: add compressed var
3028 * buffer_funcs.C (readFile): adjust for LyXLex change
3029 (newFile): ditto + simplify
3031 * buffer.C (writeFile): handle writing of compressed files
3033 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3034 Check if the file is compressed and set a bufferparm if so.
3036 * Makefile.am (lyx_LDADD): remove explicit -lz
3038 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3040 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3041 makeDocBookFile): put the real LyX version in the first line of
3045 * version.C.in: remove lyx_docversion
3047 * tabular.C (write_attribute): add a template-based version to
3048 write enums properly
3050 2003-07-28 André Pönitz <poenitz@gmx.net>
3055 * text3.C: use doubles again for x-coordinates. They are needed.
3057 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3059 * messages.C (getLocaleDir): use lyx_localedir()
3061 * lyxlex_pimpl.C (setFile): compress stuff
3063 * buffer.C (writeFile): add some compression stuff
3064 (do_writeFile): new func, dont call expliti close... will this
3067 * Makefile.am (lyx_LDADD): add -lz
3069 2003-07-28 José Matos <jamatos@fep.up.pt>
3071 * buffer.C: increment file format.
3072 * paragraph_funcs (readParagraph, readParToken):
3073 * paragraph.C (readParagraph): add \end_layout.
3075 2003-07-27 Angus Leeming <leeming@lyx.org>
3077 * Makefile.am: remove special casing for configure-time setting of
3078 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3080 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3081 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3083 2003-07-26 André Pönitz <poenitz@gmx.net>
3085 * paragraph_func.[Ch]:
3086 * paragraph.C (realizeFont): inline it whereever it is used
3091 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3094 2003-07-26 André Pönitz <poenitz@gmx.net>
3098 * text2.C: get rid of LyXText::need_break_row
3100 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3102 * toc.[Ch]: put namespace toc inside namespace lyx
3104 * MenuBackend.C (expandToc2): adjust for lyx::toc
3107 * lyxfunc.C (dispatch): adjust for lyx::find
3109 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3110 lyx::find instead. Reorganize a bit.
3111 (LyXReplace): rename to replace
3112 (LyXFind): rename to find
3114 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3117 2003-07-26 André Pönitz <poenitz@gmx.net>
3119 * text.C (setHeightOfRow): restrict scope of temporary variable
3121 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3122 code (never has been used?)
3124 2003-07-27 Asger Alstrup <alstrup@local>
3126 * text.C (fill): Optimise algorithm to exploit that we can reuse
3127 the LyXFont for many characters.
3128 (setHeightOfRow): Same thing.
3129 (rowBreakPoint): Same thing.
3131 2003-07-26 Asger Alstrup <alstrup@local>
3133 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3135 * text.C (singleWidth): Spurious font copying in hot-spot
3136 singleWidth avoided. Reorder tests for arabic for efficiency.
3138 * text.C (fill): handle empty paragraphs better.
3140 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3143 * encoding.h: add includes
3145 * lyxrc.C: remove reading of bind files
3147 * lyx_main.C (init): setup bindings and menus only if we have a
3150 * kbmap.C (read): new method. Do the actual reading of bind
3153 * converter.C (dvipdfm_options):
3156 (output): adapt PAPER_* enums.
3158 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3160 * bufferparams.h: remove paper-related enums from there
3162 * paper.h: New file. A trivial header file to hold paper-related
3163 enums. It should later expand to contain many paper-related
3166 * lyxrc.C: declare extern displayTranslator
3168 2003-07-27 José Matos <jamatos@fep.up.pt>
3170 * tabular.[Ch] (linuxdoc): add support for tables and figures
3173 2003-07-27 José Matos <jamatos@fep.up.pt>
3175 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3176 consistency in both functions.
3177 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3179 2003-07-26 Asger Alstrup <alstrup@local>
3181 * rowpainter.C (paintRows): Change algorithm to work directly on
3182 the insets rather than asking every character in the document
3183 whether its an inset.
3185 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3187 * buffer.C (openFileWrite): factorize some code
3189 2003-07-26 Angus Leeming <leeming@lyx.org>
3192 * lyx_main.[Ch]: replace occurances of system_tempdir with
3195 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3197 * rename Inset to InsetOld
3199 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3201 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3202 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3203 which I think is a bit clearer. EDIT is gone, since it was
3204 premature optimisation, and broken for mathed anyway.
3205 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3206 with cursor positioning in insets as well (math insets still do not
3207 work, but that's a different story anyway.) It mysteriously
3208 crashes sometimes with undo in the first paragraph, but I'm fairly
3209 confident that this is a compiler bug.
3211 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3213 * paragraph.C (Paragraph): adjust for new clone return type
3215 (copyIntoMinibuffer): ditto
3217 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3219 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3220 by not having a special case, and always doing a full rebreak of
3221 the document after undo.
3223 2003-07-23 Angus Leeming <leeming@lyx.org>
3225 * factory.C (createInset): InsetExternal::setParams now takes a
3228 2003-07-23 Angus Leeming <leeming@lyx.org>
3230 * factory.C (createInset): changed interface to the external and
3231 graphics mailers' string2params functions.
3233 2003-07-23 Angus Leeming <leeming@lyx.org>
3235 * factory.C (createInset): pass a
3236 Buffer const * parameter to InsetExternalMailer's string2params.
3238 2003-07-22 John Levon <levon@movementarian.org>
3240 * Thesaurus.h: include the right aiksaurus header
3242 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3244 * MenuBackend.C (expand): check menu shortcuts unconditionally
3246 2003-07-21 Angus Leeming <leeming@lyx.org>
3248 * factory.C (createInset): pass a
3249 buffer_path parameter to InsetGraphicsMailer's string2params.
3251 2003-07-21 Angus Leeming <leeming@lyx.org>
3253 * BufferView_pimpl.C (buffer):
3256 * lyxfunc.C (dispatch):
3257 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3258 rather than the grfx shortcut.
3260 2003-07-21 André Pönitz <poenitz@gmx.net>
3262 * rowpainter.C: remove unused variables
3265 * tabular_funcs.h: move to tabular.C
3266 * Makefile.am: adjust
3268 * tabular.[Ch]: basic optical cleaning
3270 * author.h: pass references, not values
3272 2003-07-18 André Pönitz <poenitz@gmx.net>
3280 * text3.C: two-phase drawing for InsetText and InsetTabular
3281 some float -> int changes.
3283 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3285 * lyx_main.C: fix the fix
3287 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3289 * lyx_main.C: fix a crash in batch mode if no files specified
3292 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3294 * format.[Ch] (papersize): moved to BufferParams
3295 * converter.[Ch] (dvips_options): moved to BufferParams
3296 (dvipdfm_options): moved to anon namespace
3297 * bufferparams.[Ch]: added above functions.
3299 2003-07-17 André Pönitz <poenitz@gmx.net>
3303 * text2.C: don't call inset->update() anymore
3305 * metricsinfo.[Ch]: add convenience constructor
3307 2003-07-16 André Pönitz <poenitz@gmx.net>
3312 * text2.C: replace the LyXCursor::irow_ member with
3313 on-demand computation of the value
3315 2003-07-16 John Levon <levon@movementarian.org>
3317 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3319 2003-07-15 André Pönitz <poenitz@gmx.net>
3322 * text2.C: remove no more needed refresh_row
3324 2003-07-15 André Pönitz <poenitz@gmx.net>
3329 * text3.C: refresh_status tristate -> need_update bool
3331 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3333 * lyxtext.h (init): remove reinit argument (act as if always true)
3334 * text2.C: adjust to that
3336 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3338 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3339 * text3.C: use it to delete selections in some cases
3340 (bugs 441, 673, 702, 954).
3342 2003-07-14 André Pönitz <poenitz@gmx.net>
3344 * rowpainter.[Ch]: reduce interface
3346 2003-07-14 André Pönitz <poenitz@gmx.net>
3348 * BufferView_pimpl.C:
3349 * text2.C: adjust after removing unused BufferView * argument
3351 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3353 * text2.C (init): fix a crash fired on resize
3355 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3357 * buffer.[Ch]: added new closing signal
3358 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3359 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3360 BufferView::Pimpl via the closing the signal
3362 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3364 * buffer.[Ch]: take out all bv-related from buffer
3366 * BufferView_pimpl.[Ch]: connect to new signals
3367 * CutAndPaste.C: removed useless asserts
3368 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3371 * lyxfunc.C: moved view-related funciontality from vc here
3372 * paragraph.C: removed outdated comments
3375 2003-07-10 André Pönitz <poenitz@gmx.net>
3377 * BufferView_pimpl.C:
3381 * text2.C: remove InsetText::InnerCache, clean up consequences
3383 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3385 * ispell.C: fix two typos in error messages
3387 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3389 * Extend Note inset to other forms of annotation like Comment
3390 and Greyedout. Right button click gives dialog.
3392 Files modified or added (+):
3396 * ControlNote.[Ch] +
3398 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3399 frontends/controllers
3403 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3405 * aspell.C: add missing namespace lyx::support
3407 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3409 * BufferView.[Ch] (newFile): Add
3410 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3411 * LaTeX.[Ch] (message): added this signal and use it
3412 * buffer.[Ch] (busy, message): added these signals and use them
3413 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3417 * importer.C: use buffer signals instead of direct bv calling
3418 * lyx_cb.[Ch] (ShowMessage): removed
3421 * paragraph_funcs.C:
3422 * text2.C: use buffer signals
3424 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3426 * introduce namespace lyx::graphics
3428 2003-07-02 André Pönitz <poenitz@gmx.net>
3430 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3432 2003-07-01 André Pönitz <poenitz@gmx.net>
3439 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3440 text*.C to text_func.C
3442 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3444 * introduce namespace lyx::support
3446 2003-06-30 André Pönitz <poenitz@gmx.net>
3451 * text.C: re-enable --with-included-string
3453 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3455 * textcursor.C: add <config.h>
3457 * text.C (getWord): remove const from word_location arg
3459 * lyxvc.C (getLogFile): fix const type order
3461 * lyxtext.h: remove const from word_location arg, add arg name
3463 * lyxlayout.h: currect type on labeltype.
3465 * importer.C: correct \file
3467 * converter.C (intToFormat): use std:: on ret val, ws changes
3469 * bufferlist.h: correct \file
3471 * buffer.C (makeLinuxDocFile): fix const type order
3472 (makeDocBookFile): ditto
3473 (fillWithBibKeys): use std:: on stdlib args.
3475 * CutAndPaste.C: fix authors.
3476 (availableSelections): use std:: on return vector
3478 2003-06-27 André Pönitz <poenitz@gmx.net>
3480 * BufferView_pimpl.C:
3481 * bufferview_funcs.C:
3489 * text3.C: remove LyXCursor::row_ member
3492 * text.C: rename fullRebreak() to partialRebreak() and implement
3493 a fullRebreak() that really bereks fully
3495 * textcursor.h: new struct for cursor-related data
3497 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3499 * lyx_main.C (LyX): get full path of document loaded on the
3502 2003-06-26 André Pönitz <poenitz@gmx.net>
3504 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3505 remove unused/broken operator>,<,>=.
3507 * text.C: remove only use of broken operator<= in an Assert().
3509 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3511 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3512 moved errorlist_.clear to showErrorList
3514 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3516 * converter.C (scanLog, runLaTeX):
3517 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3518 move the bv->showErrorList call to the callers
3519 * lyxfunc.C: i.e. here...
3521 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3522 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3523 namespace, the second to...
3524 * buffer_funcs (BufferFormat, parseErrors): added
3525 * errorlist.C (ErrorList(TeXErrors const &)): removed
3527 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3529 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3531 2003-06-24 "Garst R. Reese" <reese@isn.net>
3535 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3537 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3539 * version.C.in: change docversion to 1.4
3541 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3543 * buffer.C: fix a bug just introduced
3545 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3547 * buffer.[Ch]: added the parseError signal and use it, removed
3549 * BufferView.[Ch] (addError): moved to ...
3550 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3551 to the Buffer::parseError signal to catch (guess what) parse errors
3552 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3554 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3556 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3557 ability to create a buffer and to return an existing one from
3558 the list. Moved these functions to...
3559 * buffer_funcs.[Ch]: added
3560 * BufferView.[Ch] (loadLyXFile): added
3561 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3562 job removed from bufferlist::loadLyXFile.
3563 * buffer.C (setReadOnly): make it work without view
3564 (i.e added an if (users))
3566 2003-06-19 Angus Leeming <leeming@lyx.org>
3569 * LyXAction.C (init):
3570 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3571 with LFUN_DIALOG_SHOW <name> <data>.
3573 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3575 * CutAndPaste.C (availableSelections): small compilation fix for
3576 ancient (gcc 2.9x) compilers
3578 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3580 * text3.C (cursorNext): add tmp var
3582 * text2.C (updateCounters): for function calling out of for clause
3583 (replaceSelectionWithString): ditto
3584 (insertStringAsParagraphs): ditto
3585 (getColumnNearX): add tmp var
3586 (setCursorFromCoordinates): add tmp var
3587 (cursorDownParagraph): add tmp var
3588 (deleteEmptyParagraphMechanism): add tmp var
3590 * text.C (insertChar): add tmp var
3592 * rowpainter.C (paintDepthBar): add tmp var
3594 * CutAndPaste.C (availableSelections): potentially check all
3595 paragraphs in a cut to fill the shown strings.
3597 2003-06-18 André Pönitz <poenitz@gmx.net>
3599 * kbmap.[Ch]: use vector<> instead of list<>
3601 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3603 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3604 pasteSelection with index
3606 * text2.C (pasteSelection): modify, call pasteSelection with index
3608 * paragraph.C (asString): reimplement version with no interval to
3609 call the one with interval.
3611 * lyxtext.h: add index arg to pasteSelection
3613 * MenuBackend.C (MenuItem): handle PasteRecent
3614 (Menu::read::Menutags): add md_pasterecent
3616 (expandPasteRecent): new function
3619 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3621 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3623 (availableSelections): new function
3625 2003-06-17 Angus Leeming <leeming@lyx.org>
3627 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3629 2003-06-17 Angus Leeming <leeming@lyx.org>
3632 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3634 * lyxfunc.C (dispatch): invoke it.
3636 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3638 * iterators.C (operator++, ParPosition): reintroduce some
3639 const_cast for the benefit of older compilers.
3641 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3643 * text3.C (dispatch): do not modify clipboard when doing
3644 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3645 LFUN_DELETE_SKIP on a selection selection
3647 2003-06-16 André Pönitz <poenitz@gmx.net>
3653 * tabular.[Ch]: IU of clone() and getLabelList();
3655 2003-06-13 André Pönitz <poenitz@gmx.net>
3657 * tabular.h: compactification
3659 2003-06-12 André Pönitz <poenitz@gmx.net>
3663 * tabular_funcs.h: some renaming plus whitespace
3665 2003-06-12 André Pönitz <poenitz@gmx.net>
3668 * BufferView_pimpl.C:
3674 * toc.C: Return a Paragraph & for ParIterator::operator*()
3676 2003-06-11 John Levon <levon@movementarian.org>
3680 * ToolbarBackend.C: add "Toolbars" section and
3683 2003-06-10 Angus Leeming <leeming@lyx.org>
3686 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3688 * lyxfunc.C (dispatch): invoke it.
3690 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3692 * main.C: protect <ios> with HAVE_IOS
3693 (main): protect sync_with_stdio with HAVE_IOS
3695 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3697 * text2.C (cutSelection): adjust
3698 (pasteSelection): adjust
3700 * messages.C: handle get of empty string
3702 * main.C (main): use sync_with_stdio(false)
3704 * lyxfunc.C (dispatch): adjust
3706 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3707 (WriteAs): remove unneeded BufferView arg.
3709 * bufferparams.h: use correct types on papersize, papersize2 and
3712 * bufferparams.C (readToken): adjust for type
3713 (writeLaTeX): add missing cases to switch.
3715 * bufferlist.C (quitWriteBuffer): adjust
3718 * buffer.C (asciiParagraph): remove some commented code.
3720 * CutAndPaste.C: remove current_view extern variable.
3721 (cutSelection): add BufferParams arg.
3722 (eraseSelection): add BufferParams arg.
3723 (pasteSelection): add Buffer const & arg
3725 2003-06-07 John Levon <levon@movementarian.org>
3728 * paragraph_funcs.C:
3729 * paragraph_pimpl.C:
3733 * paragraph.C: allow InsetERT to freely space lines,
3734 and some consolidation of code
3736 2003-06-06 José Matos <jamatos@fep.up.pt>
3738 * buffer.C (makeDocBookFile): fix bug #821
3740 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3742 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3744 2003-06-04 Angus Leeming <leeming@lyx.org>
3746 * buffer.C: bump format to 224.
3748 2003-06-05 André Pönitz <poenitz@gmx.net>
3750 * text2.C (redoParagraphs): remove two const_cast<>
3752 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3754 * ParagraphList.h: remove last remnants of NO_STD_LIST
3756 2003-06-03 Angus Leeming <leeming@lyx.org>
3758 * factory.C (createInset): small change to the way InsetExternal's params
3761 2003-06-04 André Pönitz <poenitz@gmx.net>
3763 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3765 * paragraph_pimpl.h:
3766 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3768 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3770 * undo_funcs.C: make some simple cases of undo work again
3772 2003-06-03 John Levon <levon@movementarian.org>
3774 * ispell.C: HPUX doesn't have sys/select.h
3777 2003-06-03 John Levon <levon@movementarian.org>
3779 * CutAndPaste.C: update tabular and include inset
3784 * paragraph.C: remove owningBuffer(), don't pass Buffer
3787 * factory.C: insetGraphicsParams changed
3789 2003-06-02 John Levon <levon@movementarian.org>
3795 * text3.C: remove insetparent
3797 2003-06-02 John Levon <levon@movementarian.org>
3800 * buffer.C: fix inset_iterator.end(), move out of line
3803 2003-06-01 John Levon <levon@movementarian.org>
3805 * text3.C: use a proper cut/paste when doing inset
3806 insert (from Jürgen Spitzmüller)
3808 2003-06-01 John Levon <levon@movementarian.org>
3810 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3812 2003-05-30 André Pönitz <poenitz@gmx.net>
3814 * rowpainter.C: unify second drawing phase
3816 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3818 * trans_mgr.C: remove one case of current_view
3820 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3822 * paragraph_funcs.h: remove paragraph.h include
3824 * paragraph.h: delete NO_STD_LIST stuff
3826 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3828 * buffer.h: remove paragraph.h include
3830 * ParagraphList.C: delete file
3832 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3834 * toc.C (getTocList): adjust
3836 * paragraph_pimpl.C (validate): adjust
3838 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3840 * paragraph.C (Paragraph): adjust
3841 (getPositionOfInset): use const_iterator, adjust
3842 (bibitem): use const_iterator, adjust
3843 (setInsetOwner): adjust
3845 * iterators.C (operator++): adjust
3847 * InsetList.[Ch]: Replace selfmade iterator with standard
3848 vector::iterator also introduce const_iterator. Remove getPos,
3849 getInset and setInset from InsetTable. Adjust accordingly.
3851 * BufferView.C (lockInset): adjust
3852 (ChangeInsets): adjust
3854 * tabular.[Ch]: delete commented same_id functions
3856 2003-05-28 John Levon <levon@movementarian.org>
3858 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3860 2003-05-28 André Pönitz <poenitz@gmx.net>
3862 * metricsinfo.[Ch]: remove 'fullredraw' member
3864 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3866 * lyxtextclass.C (operator): remove caching.
3868 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3872 * text2.C (cursorBottom): adjust
3873 (setCounter): use ParagraphList::find, adjust
3875 * text.C (workWidth): use ParagraphList::find, adjust
3877 * lyxcursor.C (LyXCursor): adjust
3879 * buffer.C (inset_iterator): adjust
3881 * ParagraphList.h: make iterator(value_type) private, make
3882 ParagraphList a friend of iterator.
3884 * ParagraphList.C (find): new function
3886 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3888 2003-05-27 André Pönitz <poenitz@gmx.net>
3890 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3892 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3894 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3896 2003-05-26 John Levon <levon@movementarian.org>
3898 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3900 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3902 * remove same_id from function signatures, adjust.
3904 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3906 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3908 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3910 * paragraph.C (Paragraph): get rid of same_ids parameter
3912 * ParagraphList.C (insert): adjust
3915 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3917 * paragraph_funcs.C (breakParagraph): adjust
3918 (breakParagraphConservative): adjust
3920 * buffer.C (readParagraph): adjust
3922 * ParagraphList.C (insert): take a reference instead of a pointer
3925 * paragraph.[Ch] (id): new function
3927 * bufferlist.C (newFile): adjust
3929 * ParagraphList.C (ParagraphList): adjust
3931 (push_back): take a reference instead of a pointer.
3933 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3935 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3938 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3939 set else use old code.
3941 * ParagraphList.C: remove all NO_NEXT code and only compile this
3942 code of NO_STD_LIST is set.
3944 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3946 * BufferView_pimpl.C:
3956 * graphics/GraphicsConverter.C:
3957 * graphics/PreviewLoader.C: header adjustment
3959 2003-05-23 Angus Leeming <leeming@lyx.org>
3961 * LaTeXFeatures.[Ch] (useBabel): new method.
3962 * bufferparams.C (writeLaTeX): use it.
3964 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3966 * ParagraphList.h (set): remove unused function.
3968 2003-05-23 André Pönitz <poenitz@gmx.net>
3971 * BufferView_pimpl.C:
3975 * undo_funcs.C: setUndo reworked
3977 * iterators.[Ch]: add access to topmost ParagraphList
3979 * lyxtext.[Ch] (workWidth): add a const
3981 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3983 * texrow.[Ch] (increasePos): remove function
3984 * exporter.C (export): removed unused var and outdated comment
3986 2003-05-23 Angus Leeming <leeming@lyx.org>
3988 * latexrunparams.h: rename fragile as moving_arg.
3989 * paragraph.C (simpleTeXOnePar): ditto.
3990 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3992 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3994 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3996 (textUndoOrRedo): comment out a currently unused var.
3998 * paragraph.h (NO_NEXT): enable NO_NEXT
4000 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4002 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4004 * exporter.C (Export): adjust for removeAutoInsets removal.
4006 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4008 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4010 * BufferView.[Ch] (removeAutoInsets): delete function
4012 2003-05-22 Angus Leeming <leeming@lyx.org>
4014 * latexrunparams.h: add a free_spacing variable.
4016 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4017 to pass moving_arg, as the data is stored in runparams.fragile.
4019 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4020 to Inset::latexOptional or to simpleTeXOnePar.
4022 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4023 free_spacing arg to Inset::latexOptional.
4025 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4028 2003-05-22 Angus Leeming <leeming@lyx.org>
4030 * latexrunparams.h: add fragile and use_babel variables.
4032 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4033 * buffer.C (makeLaTeXFile): store this returned value in
4034 runparams.use_babel, thus passing it to the inset::latex methods.
4036 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4037 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4039 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4040 longer has a fragile arg, as it is stored in runparams.fragile.
4042 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4043 moving_arg parameter as the data is stored in runparams.fragile.
4045 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4046 a fragile parameter as the data is stored in runparams.fragile.
4048 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4050 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4052 2003-05-22 Angus Leeming <leeming@lyx.org>
4054 * latexrunparams.h: add a 'bool nice' which defaults to false.
4056 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4057 now encapsulated within runparams.
4059 * bufferlist.C (updateIncludedTeXfiles):
4060 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4062 2003-05-22 Angus Leeming <leeming@lyx.org>
4064 * latexrunparams.h: new file containing struct LatexRunParams.
4065 * Makefile.am: add new file.
4067 * LaTeX.[Ch] (c-tor, run):
4068 * buffer.[Ch] (makeLaTeXFile):
4069 * bufferlist.[Ch] (updateIncludedTeXfiles):
4070 * converter.C (convert, scanLog):
4071 * converter.[Ch] (runLaTeX):
4072 * exporter.C (Export):
4073 * paragraph.[Ch] (simpleTeXOnePar):
4074 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4075 * paragraph_funcs.[Ch] (latexParagraphs):
4076 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4077 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4078 pass around a LatexRunParams parameter.
4080 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4082 * paragraph.[Ch]: remove unused constructor
4084 * ParagraphList.C (erase): new function, taking two iterators
4086 2003-05-22 André Pönitz <poenitz@gmx.net>
4088 * undo_funcs.C: remove duplicated code
4090 * iterator.[Ch]: operator=
4092 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4094 * tabular.C (SetMultiColumn): ws changes
4096 * rowpainter.C (paintFirst): get rid of a ->previous
4098 * lyx_cb.C (getPossibleLabel): parlist simplification
4100 * BufferView.C (ChangeInsets): simplify slightly.
4102 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4104 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4105 * lfuns.h: new LFUN_SPACE
4106 * lyxfunc.C: protected space has a new lfun
4107 * paragraph_funcs.C: read new space insets
4109 * factory.C: handle new space insets
4111 2003-05-22 André Pönitz <poenitz@gmx.net>
4114 * BufferView_pimpl.C:
4117 * undo_funcs.C: return a ParIterator from getParFromID.
4119 * iterators.[Ch]: add two const's
4121 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4123 * toc.C (getTocList): adjust
4125 * iterators.[Ch]: rework for parlist
4127 * buffer.C (par_iterator_begin): adjust
4128 (par_iterator_end): adjust
4130 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4132 * BufferView.C (removeAutoInsets): adjust
4133 (ChangeInsets): adjust
4135 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4137 * text.C (top_y): fix bug 1110
4139 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4141 * errorlist.[Ch]: added
4144 * BufferView_pimpl.C:
4145 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4148 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4150 * Makefile.am: ensure that lyx is relinked upon changes to the
4151 various "convenience" libs.
4153 2003-05-20 Angus Leeming <leeming@lyx.org>
4155 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4156 files are compiled in alphabetical order again.
4158 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4160 2003-05-19 Angus Leeming <leeming@lyx.org>
4162 * gettext.[Ch]: remove "char const * _(char const *)".
4164 2003-05-19 André Pönitz <poenitz@gmx.net>
4166 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4175 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4177 2003-05-19 André Pönitz <poenitz@gmx.net>
4181 * lyxtextclass.[Ch]:
4183 * paragraph_funcs.[Ch]:
4185 * text3.C: more insetenv work
4187 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4189 * ParagraphParameters.C (params2string): small bug fixed
4191 2003-05-16 André Pönitz <poenitz@gmx.net>
4194 * bufferview_funcs.C: patch from Kornel Benko to prevent
4195 crash when _(...) is called twice in a statement
4197 2003-05-16 André Pönitz <poenitz@gmx.net>
4204 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4206 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4208 * lyx_main.C (init): remove spurious static_cast
4210 2003-05-14 André Pönitz <poenitz@gmx.net>
4212 * BufferView.C: fix format string
4214 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4216 * BufferView.[Ch] (insertErrors): removed
4217 * BufferView.[Ch] (showErrorList): added
4218 * buffer.C (runChkTeX):
4219 * converter.C (scanLog): call showErrorList instead of inserterrors
4221 2003-05-13 André Pönitz <poenitz@gmx.net>
4223 * BufferView_pimpl.C:
4225 * bufferview_func.C:
4232 * tabular_funcs.h: tostr() from its own header
4234 * ParagraphParameters.C:
4239 * text3.C: STRCONV()
4241 2003-05-12 André Pönitz <poenitz@gmx.net>
4244 * BufferView_pimpl.C:
4248 * ParagraphParameters.C:
4252 * bufferview_funcs.C:
4265 * paragraph_funcs.C:
4269 * text3.C: boost::format -> bformat all over the place
4272 2003-05-09 André Pönitz <poenitz@gmx.net>
4274 * LColor.[Ch]: Pimpl the #include <map> away
4276 2003-05-09 John Levon <levon@movementarian.org>
4278 * bufferlist.C: never remove emergency saves
4280 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4282 * Makefile.am: better lib building
4284 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4286 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4288 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4289 (simpleTeXSpecialChars): adjust
4290 (simpleTeXSpecialChars): adjust
4291 * paragraph.C (simpleTeXOnePar): adjust
4292 * buffer.C (makeLaTeXFile): adjust
4294 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4296 * text2.C (changeDepth): parlist cleanup
4297 (getColumnNearX): ditto
4299 * rowpainter.C (getLabelFont): parlist cleanup
4301 * bufferlist.C (newFile): parlist cleanup
4303 * CutAndPaste.C (eraseSelection): parlist cleanup
4305 * BufferView_pimpl.C (trackChanges): parlist cleanup
4308 * BufferView.C (lockInset): parlist cleanup.
4309 (ChangeInsets): ditto
4311 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4313 * CutAndPaste.h: Update file header.
4315 * CutAndPaste.C: Update file header.
4316 Store the parts cut out of the Document in a limited_stack.
4317 (copySelection): adjust
4318 (pasteSelection): new function, takes the index in the limited stack.
4319 (nrOfParagraphs): adjust
4320 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4321 simplify error inset insertion.
4322 (checkPastePossible): adjust
4324 2003-05-06 John Levon <levon@movementarian.org>
4326 * text2.C: don't cast wrap inset to float
4328 2003-05-05 André Pönitz <poenitz@gmx.net>
4331 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4333 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4334 few naked Paragraph *.
4336 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4338 * bufferparams.C: Output warning if a document with missing
4339 TeX document class is loaded
4340 * exporter.C: Disable TeX exports if the document class is missing
4343 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4344 isTeXClassAvailable()
4346 2003-05-03 John Levon <levon@movementarian.org>
4349 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4350 explicit cursor show/hide
4352 * BufferView_pimpl.h:
4353 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4354 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4356 * lyxfunc.C: hide cursor before dispatching.
4361 * text3.C: remove explicit cursor hides
4363 2003-05-02 André Pönitz <poenitz@gmx.net>
4365 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4368 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4371 * text2.C: tiny whitespace
4373 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4375 * undo_funcs.C: almost only ws changes.
4377 * ParagraphList.C (splice): just return if pl is empty.
4379 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4381 * ParagraphList.C (splice): new function.
4383 * CutAndPaste.C (pasteSelection): use it
4385 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4387 * CutAndPaste.C (pasteSelection): remove the last next and
4388 previous from this file.
4390 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4392 * CutAndPaste.C (pasteSelection): more clean up, user proper
4393 ParagraphList functions for pasteing.
4395 * ParagraphList.C (insert): new function, three arg insert
4397 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4399 * ParagraphList.C (insert): new function, three arg insert
4401 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4404 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4406 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4408 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4410 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4412 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4414 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4415 (copySelection): clean up a bit.
4416 (pasteSelection): use make_pair
4418 * ParagraphList.C (ParagraphList): implement copy constructor
4419 (operator=): implement, base on copy constructor.
4422 * paragraph.C (erase): return a bool
4424 * paragraph_pimpl.C (erasePos): remove function, move contents...
4425 (erase): ... here. Return a bool.
4426 (erase): call erase instead of erasePos.
4428 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4430 * ParagraphList.h: define PitPosPair
4431 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4432 ParagraphList, fix a bug on pasting multiple pars
4433 * text2.C: change interface to C&P
4435 2003-04-30 André Pönitz <poenitz@gmx.net>
4437 * undo_func.C: revert part of yesterday's patch 2
4439 2003-04-30 John Levon <levon@movementarian.org>
4441 * LColor.C: s/tabular/table/
4443 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4445 * text3.C (dispatch): do not convert iterator -> pointer
4446 * undo_funcs.C (setCursorParUndo): ditto
4447 * text_funcs.C (transposeChars): ditto
4449 * text2.C (setLayout): ws changes only
4451 * text.C (breakParagraph): do not convert iterator -> pointer
4453 (acceptChange): ditto
4454 (rejectChange): ditto
4459 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4462 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4464 * text3.C (gotoInset): YABG (yet another bad getChar)
4466 2003-04-29 André Pönitz <poenitz@gmx.net>
4468 * paragraph.h: make operator= private unimplemented as long as
4471 * ParagraphList.C: whitespace
4474 * paragraph_pimpl.[Ch]:
4475 * paragraph_funcs.C:
4477 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4480 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4482 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4484 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4485 * paragraph.[Ch] (erase):
4486 * paragraph_pimpl.[Ch] (erase): change return type and value
4487 * text2.C (cutSelection): some rework
4489 2003-04-28 John Levon <levon@movementarian.org>
4491 * bufferlist.C: changes for unsaved changes dialog
4493 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4495 * bufferlist.C (newFile): set language (messages_) for new
4498 * buffer.C (readFile): ws changes only.
4500 2003-04-28 André Pönitz <poenitz@gmx.net>
4505 * BufferView_pimpl.C:
4506 * BufferView.C: getParFromID related ParagraphList::iterator changes
4508 2003-04-28 André Pönitz <poenitz@gmx.net>
4510 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4513 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4515 * messages.C: remove one more localedir class variable.
4517 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4519 * messages.C (getLocaleDir): singleton generation function
4521 (Messages): add a default constructor.
4523 * main.C (main): do not setup localedir here, do not call
4526 * gettext.C (_): use it.
4527 (gettext_init): delete funciton
4529 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4531 * gettext.C (getLyXMessages): new singleton generating function.
4533 * buffer.C (updateDocLang): adjust
4535 * Makefile.am (messages.o): add target
4536 (main.o): remove target
4538 2003-04-27 John Levon <levon@movementarian.org>
4543 * lyxvc.C: specify cancel button in Alert::prompt
4545 2003-04-26 John Levon <levon@movementarian.org>
4550 * LyXAction.C: add LFUN_INSET_SETTINGS
4552 * lyxfunc.C: don't enable tabular-feature when there's
4553 just any locking inset
4555 2003-04-26 John Levon <levon@movementarian.org>
4557 * bufferlist.C: re-add Cancel to buffer close question
4559 * lyxfunc.C: fix import UI a bit
4561 2003-04-25 John Levon <levon@movementarian.org>
4563 * gettext.C: remove the broken asserts for now
4565 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4567 * messages.C: make case where setlocale cannot comply work better.
4569 * buffer.C (updateDocLang): new function
4570 (changeLanguage): use it
4573 * text2.C (setCounter): use B_ a bit.
4575 * lyxlayout.C (Read): be sure to trim the label strings.
4577 * messages.C (Messages): fix typo in comment
4579 * buffer.C (readFile): set message_ after file is loaded.
4580 (makeDocBookFile): remove double return
4581 (changeLanguage): reset message_ upon language change.
4582 (B_): new func, use this to get translated buffer strings.
4584 * main.C: add myself and Jean Marc as authors.
4586 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4588 * messages.[hC]: pimplify Messages, and three different pimpls to be
4589 used in different circumstances.
4591 * gettext.[Ch]: change for use with new message code.
4593 2003-04-24 André Pönitz <poenitz@gmx.net>
4595 * factory.C: support for eqref
4597 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4599 * messages.[Ch]: add missing char
4601 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4603 * messages.[Ch]: New files
4605 2003-04-18 John Levon <levon@movementarian.org>
4609 * BufferView_pimpl.C:
4613 * text2.C: remove layout-copy/paste (bug 778)
4615 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4617 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4619 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4621 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4622 if they succeed. Act accordingly.
4624 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4626 * text2.C (setCharFont): adjust
4627 (setCounter): adjust
4628 (insertStringAsLines): adjust
4630 * text.C (leftMargin): adjust
4631 (setHeightOfRow): adjust
4633 * rowpainter.C (paintFirst): adjust
4636 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4638 (isFirstInSequence): ditto
4639 (getEndLabel): ditto
4642 * paragraph.C (getParLanguage): comment out some hard stuff.
4644 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4646 (simpleDocBookOnePar): ditto
4647 (makeDocBookFile): use ParagraphList::iterator
4649 * CutAndPaste.C (pasteSelection): adjust
4651 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4653 * text2.C (getFont): adjust
4654 (getLayoutFont): adjust
4655 (getLabelFont): adjust
4657 * paragraph_funcs.C (TeXOnePar): adjust
4659 * buffer.C (simpleLinuxDocOnePar): adjust
4660 (simpleDocBookOnePar): adjust
4662 * CutAndPaste.C (pasteSelection): adjust
4664 * BufferView.C (getEncoding): adjust
4666 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4668 2003-04-16 John Levon <levon@movementarian.org>
4670 * lyxfind.C: use parlist stuff for search/changes
4672 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4674 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4676 * text2.C (deleteEmptyParagraphMechanism): adjust
4678 * text2.[Ch] (ownerParagraph): delete func (both of them
4680 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4682 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4684 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4686 * ParagraphList.C: prepare for NO_NEXT
4688 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4690 * text2.C (getFont): adjust
4691 (getLayoutFont): adjust
4692 (getLabelFont): adjust
4694 * paragraph.C (getFont): adjust
4695 (getLabelFont): adjust
4696 (getLayoutFont): adjust
4698 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4700 2003-04-15 John Levon <levon@movementarian.org>
4704 * lyx_main.C: handle Include in .ui files
4706 2003-04-15 John Levon <levon@movementarian.org>
4708 * MenuBackend.C: make the doc files length shorter
4711 * ToolbarBackend.C: handle toolbar placement flags,
4714 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4716 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4719 * paragraph_funcs.C (TeXOnePar): adjust
4721 * paragraph.C (getLabelFont): add outerfont arg, adjust
4722 (getLayoutFont): ditto
4723 (simpleTeXOnePar): adjust
4725 * paragraph_pimpl.C (realizeFont): delete func
4727 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4729 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4730 row argument, constify cur argument.
4732 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4734 * text2.C (getFont): adjust
4735 (getLayoutFont): adjust
4736 (getLabelFont): adjust
4738 * paragraph_funcs.C (TeXOnePar): adjust
4739 (outerFont): new func...
4740 (realizeFont): ...moved out from here, changed this to facilitate
4743 * paragraph.C (getFont): take outerfont as arg, adjust
4744 (simpleTeXOnePar): add outerfont arg, adjust
4746 * buffer.C (simpleLinuxDocOnePar): adjust
4747 (simpleDocBookOnePar): adjust
4749 * CutAndPaste.C (pasteSelection): adjust
4751 * BufferView.C (getEncoding): adjust
4753 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4755 * text2.C (setCharFont): adjust
4756 (setCounter): adjust
4758 * text.C (leftMargin): adjust
4759 (setHeightOfRow): adjust
4761 * rowpainter.C (paintFirst): adjust
4764 * paragraph_pimpl.C (realizeFont): adjust
4766 * paragraph.C (isFirstInSequence): move from here...
4767 * paragraph_funcs.C (isFirstInSequence): ...to here
4769 * paragraph.C (outerHook): move from here...
4770 * paragraph_funcs.C (outerHook): ...to here
4772 * paragraph.C (depthHook): move from here...
4773 * paragraph_funcs.C (depthHook): ...to here
4775 * paragraph.C (getEndLabel): move from here...
4776 * paragraph_funcs.C (getEndLabel): ...to here
4778 * text2.C (realizeFont): move from here...
4779 * paragraph_funcs.C (realizeFont): ...to here
4781 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4783 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4785 2003-04-14 Angus Leeming <leeming@lyx.org>
4787 * LColor.[Ch]: scrap LColor mathcursor.
4789 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4791 * lyxlex.[Ch] (text): delete function
4792 * trans.C (Load): adjust
4793 * paragraph_funcs.C (readParToken): adjust
4795 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4797 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4798 vector<char> instead of a char[].
4800 * lyxlex_pimpl.C (getString): adjust
4802 (lex): use getString
4806 * lyxlex.C (text): use pimpl_->getString()
4810 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4812 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4813 (makeFontEntriesLayoutSpecific): temp var for par.size()
4814 (setLayout): temp var for ownerParagraphs().end()
4815 (fullRebreak): temp var for rows().end()
4816 (selectionAsString): temp var for boost::next(startpit), realize
4817 that the while really is a regular for loop.
4818 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4819 setCursor in one place.
4820 (setParagraph): temp vr for ownerParagraphs().end()
4821 (updateCounters): make the while loop a for loop
4822 (cutSelection): temp var for ownerParagraphs().end()
4823 (updateInset): make the do {} while() a regular for loop
4824 (getCursorX): use temp vars
4825 (setCurrentFont): use temp vars
4826 (getColumnNearX): use temp vars
4828 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4830 * text.C (transformChar): use temp var for getChar
4831 (computeBidiTables): use temp var for row->par()
4832 (fill): move temp vars for row->par() and pit->layout() earlier in
4834 (labelFill): use temp var for row->par()
4835 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4836 asc and desc, realize that pit never changes and that firstpit is
4837 just a duplicate and not needed. Exchange rit->par() with pit in a
4839 (breakAgain): use a temp var for boost::next(rit)
4840 (breakAgainOneRow): ditto
4841 (breakParagraph): use a temp var for rows().begin()
4842 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4843 (cursorRightOneWord): use temp var for cursor.par() and
4844 cursor.pos(), remove usage of tmpcursor.
4845 (cursorLeftOneWord): use temp var for cursor.par() and
4846 cursor.pos() only set cur at end of function.
4848 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4850 * text.C, text2.C: exchange all usage of Paragraph::next with
4851 boost::next(ParagraphList::iterator)
4853 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4855 * text2.C (cursorTop): simplify implementation
4856 (cursorBottom): ditto
4857 (setParagraph): use ParagraphList::iterator
4858 (setCurrentFont): adjust
4859 (getColumnNearX): adjust
4860 (cursorRight): adjust
4861 (cursorLeft): remove usage of Paragraph::previous
4862 (cursorUpParagraph): ditto
4863 (deleteEmptyParagraphMechanism): slight cleanup
4865 * text.C (isBoundary): take a Paragraph const & instead of a
4867 (addressBreakPoint): ditto
4868 (leftMargin): remove usage of Paragraph::previous.
4869 (setHeightOfRow): ditto
4870 (cursorLeftOneWord): ditto
4871 (selectNextWordToSpellcheck): ditto
4874 (breakParagraph): remove one usage of Paragraph::next
4875 (redoParagraph): ditto
4876 (acceptChange): ditto
4877 (insertChar): adjust
4878 (rowBreakPoint): adjust
4880 * bufferview_funcs.C (toggleAndShow): adjust
4882 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4884 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4885 methods to access it.
4887 * text.C: Added updateRowPositions to compute all row positions.
4888 Make top_y and getRowNearY() to use the cached y position
4890 2003-04-11 John Levon <levon@movementarian.org>
4892 * text.C (rowBreakPoint): reintroduce the labelEnd
4893 checks, code copied from the row fill stuff. Deep voodoo.
4895 * text.C (fill): add a comment and debugging for the
4898 2003-04-11 John Levon <levon@movementarian.org>
4900 * text.C: make sure fullrow insets get wrapped to the next line,
4901 even when they're in a manual label
4903 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4905 * text2.C (insertParagraph): make it take ParagraphList::iterator
4907 (setLayout): make it return ParagraphList::iterator
4908 (redoParagraphs): ditto
4910 (checkParagraph): ditto
4912 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4914 * text2.C: adjust several funcs.
4915 (realizeFont): take a ParagraphList::iterator as arg.
4916 (getLayoutFont): ditto
4917 (getLabelFont): ditto
4918 (setCharFont): ditto
4920 * text.C: adjust several funcs.
4922 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4924 * text.C (selectNextWordToSpellcheck): don't accidentally
4927 2003-04-10 John Levon <levon@movementarian.org>
4929 * ToolbarBackend.C (getIcon): special handling for
4932 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4934 * text2.C (cursorRight): a getChar assert fixed
4936 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4938 * text2.C (getFont): change to take a ParagraphList::iterator
4939 instead of Paragraph*
4940 Adjust several functions.
4942 * text.C (transformChar): change to take a ParagraphList::iterator
4943 instead of Paragraph*
4944 (singleWidth): ditto
4945 Adjust several functions.
4947 * rowpainter.C: adjust several functions
4948 * rowpainter.h:store a ParagraphList::iterator and not a
4952 2003-04-09 John Levon <levon@movementarian.org>
4957 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4958 and the "help" bits as well
4960 2003-04-09 John Levon <levon@movementarian.org>
4963 * ToolbarBackend.C: allow multiple toolbars
4965 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4967 * undo_funcs.C (setCursorParUndo): adjust
4969 * text_funcs.C (transposeChars): adjust
4971 * text3.C (gotoNextInset): adjust
4974 * text2.C (setLayout): adjust
4975 (changeDepth): adjust
4977 (redoParagraphs): adjust
4978 (selectionAsString): adjust
4979 (setParagraph): adjust
4980 (insertInset): adjust
4981 (cutSelection): adjust
4982 (copySelection): adjust
4983 (pasteSelection): adjust
4984 (insertStringAsLines): adjust
4985 (updateInset): adjust
4986 (setCursor): change to take a ParagraphList::iterator parameter
4987 (setCursorIntern): change to take a ParagraphList::iterator parameter
4988 (setCurrentFont): adjust
4989 (cursorLeft): adjust
4990 (cursorRight): adjust
4991 (deleteEmptyParagraphMechanism): adjust
4993 * text.C (breakParagraph): adjust
4994 (insertChar): adjust
4995 (acceptChange): adjust
4996 (rejectChange): adjust
4997 (selectNextWordToSpellcheck): adjust
4998 (changeCase): adjust
5002 * lyxfind.C (SearchForward): adjust
5003 (SearchBackward): adjust
5004 (nextChange): adjust
5006 * lyxcursor.C (par): adjust
5008 * lyxcursor.h: store a ParagraphList::iterator instead of a
5011 * lyx_cb.C (getPossibleLabel): adjust
5013 * bufferview_funcs.C (toggleAndShow): adjust
5015 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5018 * BufferView.C (removeAutoInsets): adjust
5019 (lockedInsetStoreUndo): adjust
5021 2003-04-09 John Levon <levon@movementarian.org>
5023 * ToolbarBackend.C: try icon without argument
5024 if with argument fails
5026 2003-04-08 John Levon <levon@movementarian.org>
5029 * ToolbarBackend.C: add getIcon(), handle tooltip,
5030 and change from "Icon" to "Item".
5032 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5034 * BufferView.C (lockInset): another bad getchar crunched
5036 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5038 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5041 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5043 * lyxfind.C (searchForward, searchBackwards): bug 782
5045 2003-04-07 John Levon <levon@movementarian.org>
5047 * paragraph.C: remove dead comment
5049 * text.C: remove troublesome depth-fiddling code
5050 in leftMargin() and rightMargin() (bug 1017)
5052 * text.C: fix breaking of rows in nested lists
5055 * text2.C (updateCounters): fix up depth values
5058 2003-04-07 John Levon <levon@movementarian.org>
5060 * BufferView_pimpl.C: clear message when doc finishes resizing,
5061 and after a mouse event
5063 * lyxfunc.C: clear message after exiting inset
5065 2003-04-07 John Levon <levon@movementarian.org>
5067 * bufferview_funcs.C: show math status not outside
5068 status in the statusbar
5070 2003-04-07 John Levon <levon@movementarian.org>
5072 * lyxfunc.C: note status changed after a depth change
5074 2003-04-04 Angus Leeming <leeming@lyx.org>
5076 * LaTeX.h: move AuxInfo operator==, != out of line.
5077 Remove LaTeX virtual destructor; nothing derives from it.
5078 Move operator()() out of public area and rename it startscript().
5079 Change protected for private.
5081 2003-04-04 Angus Leeming <leeming@lyx.org>
5084 * text2.C: remove unneeded #includes.
5086 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5088 * text2.C (dEPM): fix the heigth of the next row
5090 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5092 * text.C: squashed an invalid getChar requester + some ws changes
5094 2003-04-03 John Levon <levon@movementarian.org>
5096 * bufferview_funcs.h:
5097 * bufferview_funcs.C:
5100 * text2.C: make getStatus work for the env depth lfuns
5102 2003-04-03 John Levon <levon@movementarian.org>
5104 * bufferview_funcs.h:
5105 * bufferview_funcs.C:
5108 * text2.C: parlistize decDepth(), by merging it with incDepth()
5110 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5112 * lyxrow.h: store a ParagraphList::iterator instead of a
5113 Paragraph* and adjust other class functions to suit.
5115 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5118 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5120 * text2.C (setCursor): do not anchor to cursor row for the time being
5122 2003-04-02 John Levon <levon@movementarian.org>
5129 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5131 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5133 * paragraph.h: make ParagraphList and ParagraphList::iterator
5134 friends of Paragraph.
5136 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5138 * ParagraphList.C: Use the private next_ and previous_ from
5141 2003-04-01 John Levon <levon@movementarian.org>
5145 * Makefile.am: rename, remove defaults gunk
5148 * MenuBackend.C: remove defaults gunk
5151 * Languages.C: remove defaults gunk
5154 * lyx_main.C: error out if files couldn't be found.
5156 2003-04-02 John Levon <levon@movementarian.org>
5158 * text2.C: make incDepth() use parlist
5160 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5162 * undo_funcs.C (firstUndoParagraph): adjust
5164 * text3.C (gotoInset): adjust
5165 (dispatch): adjust, and rewrite loop.
5167 * text2.C (init): adjust, and rewrite loop.
5168 (redoParagraphs): adjust
5169 (updateInset): adjust, and rewrite loop.
5170 (deleteEmptyParagraphMechanism): adjust
5172 * tabular.C (LyXTabular): adjust
5173 (SetMultiColumn): adjust
5176 * lyxtext.[Ch] (ownerParagraph): delete function
5177 (ownerParagraphs): new function returns a ParagraphList.
5179 * BufferView.C (removeAutoInsets): adjust
5180 (insertErrors): adjust
5181 (setCursorFromRow): adjust
5183 2003-04-01 Angus Leeming <leeming@lyx.org>
5185 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5188 2003-04-02 John Levon <levon@movementarian.org>
5194 * text_funcs.C: make transposeChars a free function
5196 * lyxrow_funcs.C: remove wrong comment
5198 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5201 * rowpainter.C: adjust
5206 * lyxrow_funcs. [Ch]: new files
5208 * lyxrow.[Ch]: remove next and previous pointers
5209 (next,previous): remove accessor functions
5210 (isParEnd): move to lyxrow_funcs
5211 (lastPos): move to lyxrow_funcs
5212 (nextRowIsAllInset): move to lyxrow_funcs
5213 (lastPrintablePos): move to lyxrow_funcs
5214 (numberOfSeparators): move to lyxrow_funcs
5215 (numberOfHfills): move to lyxrow_funcs
5216 (numberOfLabelHfills): move to lyxrow_funcs
5217 (hfillExpansion): move to lyxrow_funcs
5221 * bufferview_funcs.C (toggleAndShow): adjust
5223 * RowList.h: Remove class RowList from file leave just a
5226 * RowList.C: delete file
5228 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5231 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5233 * text3.C (cursorPrevious): adjust
5234 (cursorNext): adjust
5237 * text2.C (redoHeightOfParagraph): adjust
5238 (redoDrawingOfParagraph): adjust
5241 * text.C (breakParagraph): adjust
5242 (insertChar): adjust
5245 * rowpainter.C (RowPainter): adjust
5246 (leftMargin): simplify and adjust
5247 (most rowpainter functions): adjust.
5249 * rowpainter.h: store the row as RowList::iterator not as Row*
5251 * lyxcursor.C (row): taka RowList::iterator as arg
5254 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5257 2003-04-01 Angus Leeming <leeming@lyx.org>
5259 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5260 stuff like bool Bool.
5262 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5264 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5267 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5269 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5272 * lyxtext.h (rows): drop one version and leve a const variant that
5273 returns a RowList::iterator.
5275 2003-03-31 Angus Leeming <leeming@lyx.org>
5277 * text.C (fill): ensure that the signature is the same as that in the
5280 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5282 * text2.C (redoParagraphs): adjust
5283 (updateCounters): adjust
5284 (checkParagraph): adjust
5285 (getColumnNearX): adjust and reformat a bit.
5287 * text.C (top_y): adjust
5289 (leftMargin): adjust
5290 (prepareToPrint): adjust
5292 (getRowNearY): adjust
5294 * lyxtext.h: make rowlist_ mutable.
5296 * RowList.h: add const_iterator
5297 * RowList.C: adjust for RowList::const_iterator.
5299 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5302 2003-03-31 John Levon <levon@movementarian.org>
5305 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5307 * lyx_main.C: set default fonts from using lyx_gui funcs
5309 * exporter.C: pdf_mode moved from lyxrc
5312 * lyxfunc.C: changes from above
5314 2003-03-31 John Levon <levon@movementarian.org>
5316 * lyx_main.C: fix to the last fix
5318 2003-03-31 John Levon <levon@movementarian.org>
5320 * bufferlist.C: "Load original" -> "Load Original"
5326 * format.C: more Alert cleanups
5328 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5330 * text2.C (removeParagraph): make it take a RowList::iterator as
5332 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5333 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5335 * text.C (anchor_row): make it take a RowList::iterator as arg,
5337 (computeBidiTables): make it take a const reference to Row instead
5338 of Row pointer, adjust.
5339 (leftMargin): make it take a RowList::iterator as arg, adjust.
5340 (rowBreakPoint): adjust
5341 (breakAgainOneRow): make it take a RowList::iterator as arg,
5343 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5345 * bufferview_funcs.C (toggleAndShow): adjust
5347 2003-03-30 John Levon <levon@movementarian.org>
5351 * boost-inst.C: moved to support
5353 * several files: changes as a result
5355 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5357 * text2.C (LyXText): adjust.
5359 (removeRow): make it take a RowList::iterator as arg, adjust.
5360 (fullRebreak): adjust
5361 (deleteEmptyParagraphMechanism): adjust
5362 (clearPaint): adjust
5365 * text.C (top_y): adjust
5366 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5367 (breakAgain): make it take a RowList::iterator as arg, adjust.
5368 (breakParagraph): adjust
5369 (insertChar): adjust
5372 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5373 need_break_row, and refresh_row.
5375 * text3.C (dispatch): adjust
5377 * text2.C (checkParagraph): adjust
5379 (setCursorFromCoordinates): adjust
5381 * text.C (top_y): adjust
5383 (getRow): make it return a RowList::iterator, adjust
5384 (getRowNearY): make it return a RowList::iterator, adjust
5386 * text2.C (init): adjust
5387 (insertRow): remove function
5388 (insertParagraph): adjust
5389 (redoParagraphs): adjust
5390 (fullRebreak): adjust
5391 (updateCounters): adjust
5393 * text.C (top_y): rewrite to use RowList iterators.
5395 (setHeightOfRow): rewrite to sue RowList iterators.
5396 (appendParagraph): adjust
5397 (breakAgain): adjust
5398 (breakAgainOneRow): adjust
5399 (breakParagraph): adjust
5401 (getRowNearY): adjust, and remove commented code.
5403 * lyxtext.h (firstRow): delete function
5404 (lastRow): delete function
5405 (rows): new function (const and non-const versions.)
5406 (insertRow): delete function
5408 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5410 2003-03-29 John Levon <levon@movementarian.org>
5412 * BufferView_pimpl.C: always update scrollbar top
5413 because pasting text when we're anchored could mean we
5414 miss an update altogether
5416 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5418 * text2.C (init): use rowlist_.end() and not 0.
5419 (insertRow): change to take a RowList::iterator as arg, adjust
5421 (insertParagraph): change to take a RowList::iterator as arg,
5423 (redoParagraphs): remove some debug msgs.
5425 * text.C (appendParagraph): change to take a RowList::iterator
5426 arg, adjust for this.
5427 (breakAgain): add an assert
5428 (breakAgainOneRow): ditto
5430 2003-03-29 John Levon <levon@movementarian.org>
5432 * text2.C: do not clear selection after inc/decDepth
5435 2003-03-29 John Levon <levon@movementarian.org>
5438 * buffer.C: fix broken strerrors according to Lars
5440 2003-03-29 John Levon <levon@movementarian.org>
5442 * converters.C: more Alert cleanups
5444 2003-03-29 John Levon <levon@movementarian.org>
5446 * bufferview_funcs.C: remove pointless Alert
5448 * buffer.C: fix confusing error message when
5449 a template is chmoded 000
5451 2003-03-29 John Levon <levon@movementarian.org>
5455 * BufferView_pimpl.C: Alert fixes
5459 * tabular-old.C: remove unused table compat reading
5461 2003-03-29 John Levon <levon@movementarian.org>
5466 * lyx_cb.C: more Alert cleanups
5468 * lyxfunc.C: don't allow chktex if not latex document
5470 2003-03-29 John Levon <levon@movementarian.org>
5474 * buffer.C: warnings pushed down from support/,
5477 2003-03-29 John Levon <levon@movementarian.org>
5479 * lyxfunc.C: safety check for C-r (revert)
5481 2003-03-29 John Levon <levon@movementarian.org>
5484 * bufferlist.C: several UI fixes using Alert::prompt.
5485 Fix the pointless looping quit code. Fix stupid revert
5490 * lyx_cb.C: use Alert::prompt
5492 * lyx_main.C: remove a silly question
5494 * lyxfunc.C: remove a couple of silly questions,
5497 2003-03-28 John Levon <levon@movementarian.org>
5499 * text2.C: fix bug 974 (End on empty par)
5501 2003-03-28 John Levon <levon@movementarian.org>
5503 * BufferView_pimpl.C:
5505 * lfuns.h: remove do-nothing math greek lfuns
5507 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5509 * lyxgluelength.h (isValidGlueLength): add default arg on
5510 parameter 2. Remove default arg from friend in class.
5512 * lyxlength.h (isValidLength): add default arg on parameter 2.
5513 Remove default arg from friend in class.
5515 * text2.C (LyXText): adjust, initialize refresh_row.
5519 (insertParagraph): adjst
5520 (redoParagraphs): adjust
5521 (fullRebreak): adjust
5522 (updateCounters): adjust
5523 (deleteEmptyParagraphMechanism): first attempt at fixing a
5526 * text.C (top_y): adjust
5527 (setHeightOfRow): adjust
5529 (getRowNearY): adjust
5531 * lyxtext.h: include RowList.h
5532 (~LyXText): not needed anymore, deleted.
5533 (firstRow): modify for RowList
5534 (lastRow): new function
5535 Delete firstrow and lastrow class variables, add a Rowlist
5536 rowlist_ class variable.
5538 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5541 * RowList.C (insert): fix case where it == begin().
5543 2003-03-26 Angus Leeming <leeming@lyx.org>
5545 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5546 the thesaurus dialog.
5548 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5550 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5552 * RowList.[Ch]: new files
5554 * ParagraphList.C (erase): handle the case where it == begin
5557 2003-03-25 John Levon <levon@movementarian.org>
5561 * aspell.C: add new aspell support
5564 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5567 2003-03-25 Angus Leeming <leeming@lyx.org>
5570 * LyXAction.C (init): new LFUN_INSET_INSERT.
5572 * BufferView_pimpl.C (dispatch): split out part of the
5573 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5575 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5578 2003-03-25 Angus Leeming <leeming@lyx.org>
5580 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5582 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5585 * text3.C: remove useless row->height(0)
5587 2003-03-25 John Levon <levon@movementarian.org>
5591 * text3.C: rename the refreshing stuff to better names
5593 2003-03-24 John Levon <levon@movementarian.org>
5595 * BufferView_pimpl.h:
5596 * BufferView_pimpl.C: update layout choice on a mouse
5599 2003-03-23 John Levon <levon@movementarian.org>
5601 * Makefile.am: fix commandtags.h reference
5603 2003-03-22 John Levon <levon@movementarian.org>
5605 * BufferView_pimpl.C:
5610 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5612 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5615 * text.C: take the rtl methods out of line
5617 2003-03-21 André Pönitz <poenitz@gmx.net>
5619 * metricsinfo.[Ch]: new files containing structures to be passed around
5620 during the two-phase-drawing...
5622 2003-03-21 André Pönitz <poenitz@gmx.net>
5624 * lyxtextclass.C: read 'environment' tag.
5626 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5628 * text2.C (removeRow): fix bug 964
5630 2003-03-20 John Levon <levon@movementarian.org>
5634 * text2.C: paint cleanups. Inset::update() dropped font
5637 2003-03-19 John Levon <levon@movementarian.org>
5639 * lyxfunc.C: only fitcursor/markDirty if available()
5641 2003-03-19 John Levon <levon@movementarian.org>
5643 * commandtags.h: rename to ...
5645 * lfuns.h: ... this, and renumber / cleanup
5647 2003-03-19 John Levon <levon@movementarian.org>
5649 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5650 fit the cursor after an lfun
5654 * BufferView_pimpl.h:
5655 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5657 * LyXAction.C: layout-character should have ReadOnly
5659 * ParagraphParameters.C:
5661 * bufferview_funcs.C:
5668 * undo_funcs.C: changes from above
5670 2003-03-18 John Levon <levon@movementarian.org>
5672 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5673 remove it from update()
5675 * lyxfunc.C: update layout choice after an lfun
5677 * text3.C: remove extra updateLayoutChoice()s
5679 2003-03-18 John Levon <levon@movementarian.org>
5681 * text.C: top_y change means full repaint, fix
5682 a drawing bug with cursor movement
5684 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5688 * text2.C: anchor row on setCursor
5690 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5692 * lyxtext.h: remove almost all mutable keywords
5695 * text3.C: remove const keywords accordingly
5697 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5699 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5701 (TeXEnvironment): ditto
5704 2003-03-17 John Levon <levon@movementarian.org>
5706 * text.C (rowBreakPoint): remove attempt to fix displayed
5707 math insets inside a manual label
5709 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5711 * lyxtext.h: remove BufferView* as first arg from almost all class
5713 * other files: adjust.
5715 2003-03-17 John Levon <levon@movementarian.org>
5719 * text2.C: more paint cleanups
5721 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5724 * rowpainter.C: remove "smart" background painting code
5726 2003-03-16 John Levon <levon@movementarian.org>
5731 * text3.C: add helper functions for setting refresh_row/y
5733 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5735 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5736 newline inset which *can* get inserted in the pass_thru layouts.
5737 This is primarily for literate documents.
5739 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5741 * buffer.C: increment LYX_FORMAT to 223
5743 2003-03-14 André Pönitz <poenitz@gmx.net>
5745 * textclass.h: prepare for environment handling, ws changes
5746 * lyxlayout.C: read latexheader and latexfooter tags
5748 2003-03-14 John Levon <levon@movementarian.org>
5750 * text2.C: rewrite ::status() a bit
5752 2003-03-13 John Levon <levon@movementarian.org>
5754 * lyxtext.h: add some docs
5756 2003-03-13 John Levon <levon@movementarian.org>
5761 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5763 2003-03-13 John Levon <levon@movementarian.org>
5765 * text3.C: fix appendix redrawing
5767 2003-03-13 John Levon <levon@movementarian.org>
5769 * text.C (setHeightOfRow):
5771 * rowpainter.C: make appendix mark have the text
5772 "Appendix" so the user knows what it is
5775 * LColor.C: s/appendixline/appendix/ from above
5777 2003-03-13 John Levon <levon@movementarian.org>
5779 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5781 * text.C: fix a getChar(pos) bug properly
5783 2003-03-13 Angus Leeming <leeming@lyx.org>
5786 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5787 Probably only temporary. Let's see how things pan out.
5789 * BufferView.C (unlockInset):
5790 * BufferView_pimpl.C (fitCursor):
5791 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5793 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5794 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5796 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5797 new functions that convert ParagraphParameters to and from a string.
5799 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5800 BufferView::Pimpl's dispatch.
5801 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5803 2003-03-13 André Pönitz <poenitz@gmx.net>
5807 * factory.C: make it aware of InsetEnv
5809 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5811 * text2.C (setCursor): never ask for one past last
5812 (setCursor): add some debugging messages.
5814 * text.C (singleWidth): never ask for one past last
5815 (singleWidth): ditto
5817 (rightMargin): ditto
5818 (rowBreakPoint): ditto
5819 (setHeightOfRow): ditto
5820 (prepareToPrint): ditto
5822 * rowpainter.C (paintBackground): never ask for one past last
5823 (paintText): never ask for one past last
5825 * paragraph_pimpl.C (getChar): make the assert stricter, never
5826 allow the one past last pos to be taken
5828 * paragraph.C (getChar): ws changes only
5830 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5831 (numberOfSeparators): ditto
5832 (numberOfHfills): ditto
5834 2003-03-12 John Levon <levon@movementarian.org>
5840 * paragraph_funcs.C: fix per-buffer authorlists
5842 2003-03-12 John Levon <levon@movementarian.org>
5844 * text.C: fix newline in right address
5846 2003-03-12 Angus Leeming <leeming@lyx.org>
5848 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5849 duplicate those in LyXFunc::dispatch.
5853 * ToolbarDefaults.C:
5854 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5855 Add LFUN_FONTFREE_UPDATE.
5857 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5858 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5860 * bufferview_func.[Ch]: several new functions to facilliate
5861 transfer of data to and from the character dialog.
5863 2003-03-12 John Levon <levon@movementarian.org>
5868 * paragraph_funcs.C:
5869 * paragraph_pimpl.C:
5873 * text3.C: remove META_NEWLINE in favour of an inset
5876 * rowpainter.C: remove paintNewline (done by inset)
5878 2003-03-12 John Levon <levon@movementarian.org>
5880 * paragraph_pimpl.C: complain about bad getChar()s
5881 for a while at least
5883 2003-03-12 John Levon <levon@movementarian.org>
5886 * buffer.C: move paragraph read into a separate function,
5887 a little renaming to reflect that.
5890 * bufferparams.C: remove the author_ids map, not necessary now
5893 * factory.C: moved Buffer::readInset to here
5895 * paragraph_funcs.h:
5896 * paragraph_funcs.C: readParagraph free function moved from
5899 * tabular.C: name change
5901 2003-03-12 John Levon <levon@movementarian.org>
5904 * ParagraphParameters.C: move par params input to
5907 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5908 behave like a normal read from the stream wrt reading
5909 a line vs. a \\token
5911 2003-03-12 John Levon <levon@movementarian.org>
5914 * ParagraphParameters.h:
5915 * ParagraphParameters.C: move output code to a
5918 2003-03-12 John Levon <levon@movementarian.org>
5920 * BufferView.C (insertLyXFile):
5923 * tabular.C: use a parlist iterator for creating the
5926 2003-03-12 John Levon <levon@movementarian.org>
5928 * buffer.C: make current_change static local not
5931 2003-03-12 John Levon <levon@movementarian.org>
5933 * buffer.C: fix insertStringAsLines for change tracking
5935 2003-03-12 John Levon <levon@movementarian.org>
5942 * bufferparams.C: move author list into params. Rename some
5943 functions. Move the header reading into a separate token
5944 loop. Move the header token reading into BufferParams.
5946 2003-03-12 John Levon <levon@movementarian.org>
5948 * changes.C: put debug inside lyxerr.debugging() checks
5950 2003-03-11 André Pönitz <poenitz@gmx.net>
5952 * factory.C: make it aware of InsetHFill
5954 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5956 * buffer.C (latexParagraphs): move function from here...
5957 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5960 2003-03-10 Angus Leeming <leeming@lyx.org>
5962 * LyXAction.C (init): fix bug in poplating array with multiple entries
5963 with the same LFUN (spotted by JMarc).
5965 2003-03-10 John Levon <levon@movementarian.org>
5968 * text2.C: move getColumnNearX() near its
5971 2003-03-10 John Levon <levon@movementarian.org>
5973 * text.C: fix break before a minipage
5975 2003-03-10 John Levon <levon@movementarian.org>
5977 * text.C: fix the last commit
5979 2003-03-09 John Levon <levon@movementarian.org>
5983 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5984 bug 365 (don't break before insets unless needed). Don't
5985 return a value > last under any circumstances.
5987 2003-03-09 Angus Leeming <leeming@lyx.org>
5989 * BufferView_pimpl.C (trackChanges, dispatch): call
5990 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5992 2003-03-09 Angus Leeming <leeming@lyx.org>
5994 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5995 than Dialogs::showAboutlyx().
5997 2003-03-09 Angus Leeming <leeming@lyx.org>
5999 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6000 than Dialogs::showTabularCreate().
6002 2003-03-09 John Levon <levon@movementarian.org>
6006 * text2.C: 3rd arg to nextBreakPoint was always the same.
6009 2003-03-08 John Levon <levon@movementarian.org>
6016 * text2.C: Remove the "main" bit from the "main body"
6019 2003-03-08 John Levon <levon@movementarian.org>
6021 * text.C (leftMargin): The left margin of an empty
6022 manual label paragraph should not include the label width
6025 * text.C (prepareToPrint): don't attempt to measure hfills
6026 for empty manual label paragraphs - the answer should be 0
6028 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6030 * CutAndPaste.C: remove commented code and reindent.
6032 2003-03-08 John Levon <levon@movementarian.org>
6035 * lyxfunc.C: move reloadBuffer()
6038 * BufferView.C: to here
6040 * lyxvc.C: add comment
6043 * vc-backend.C: call bv->reload() to avoid
6044 getStatus() check on MENURELOAD
6046 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6048 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6049 to an old format .dep file.
6051 2003-03-07 Angus Leeming <leeming@lyx.org>
6053 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6054 when the LFUN_MOUSE_RELEASE should have been handled by
6055 inset->localDispatch.
6057 2003-03-07 Angus Leeming <leeming@lyx.org>
6059 * BufferView_pimpl.C (dispatch):
6060 * LyXAction.C (init):
6061 * ToolbarDefaults.C (init):
6063 * lyxfunc.C (getStatus):
6064 remove LFUN_INSET_GRAPHICS.
6066 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6068 2003-03-07 Angus Leeming <leeming@lyx.org>
6071 * LyXAction.C (init):
6072 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6074 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6077 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6079 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6080 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6082 2003-03-07 Angus Leeming <leeming@lyx.org>
6084 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6087 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6089 * ParagraphList.C (front): new function
6092 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6094 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6095 and top_row_offset_. removed var first_y.
6097 * text2.C (LyXText, removeRow):
6099 * BufferView_pimpl.C:
6100 use these methods instead of using first_y
6102 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6104 * text2.C (pasteSelection): adjust for checkPastePossible
6106 * CutAndPaste.C: remove Paragraph * buf and replace with
6107 ParagraphList paragraphs.
6108 (DeleteBuffer): delete
6109 (cutSelection): change the tc type to textclass_type
6110 (copySelection): change the tc type to textclass_type
6111 (copySelection): adjust for ParagraphList
6112 (pasteSelection): change the tc type to textclass_type
6113 (pasteSelection): adjust for Paragraphlist
6114 (nrOfParagraphs): simplify for ParagraphList
6115 (checkPastePossible): simplify for ParagraphList
6116 (checkPastePossible): remove unused arg
6118 * ParagraphList.C (insert): handle the case where there are no
6121 * CutAndPaste.h: make CutAndPaste a namespace.
6123 * text3.C (dispatch): adjust
6125 * text.C (breakParagraph): add a ParagraphList as arg
6127 * paragraph_funcs.C (breakParagraph): change to take a
6128 BufferParams and a ParagraphList as args.
6129 (breakParagraphConservative): ditto
6130 (mergeParagraph): ditto
6131 (TeXDeeper): add a ParagraphList arg
6132 (TeXEnvironment): ditto
6135 * buffer.C (readLyXformat2): adjust
6136 (insertStringAsLines): adjust
6137 (latexParagraphs): adjust
6139 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6140 (cutSelection): adjust
6141 (pasteSelection): adjust
6143 * BufferView_pimpl.C (insertInset): adjust
6145 2003-03-05 Angus Leeming <leeming@lyx.org>
6148 * LyXAction.C (init):
6149 * BufferView_pimpl.C (dispatch):
6150 * lyxfunc.C (getStatus):
6151 remove LFUN_CHILD_INSERT.
6153 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6155 2003-03-05 Angus Leeming <leeming@lyx.org>
6158 * LyXAction.C (init):
6159 * src/factory.C (createInset):
6160 * lyxfunc.C (getStatus):
6161 * text3.C (dispatch):
6162 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6164 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6166 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6168 * ParagraphList.C (insert): handle insert right before end()
6169 (erase): fix cases where it can be first or last paragraph.
6171 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6173 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6174 Paragraph::next and Paragraph::previous
6177 * text.C (breakParagraph): adjust
6179 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6180 BufferParams& as arg.
6181 (breakParagraph): use ParagraphList::insert
6182 (breakParagraphConservative): take a Buffer* instead of a
6183 BufferParams& as arg.
6184 (breakParagraphConservative): use ParagraphList::insert.
6186 * buffer.C (insertStringAsLines): un-const it
6187 (insertStringAsLines): adjust
6189 * ParagraphList.C (insert): new function
6191 * CutAndPaste.C (pasteSelection): adjust
6193 * text.C (backspace): adjust
6195 * tabular.C (SetMultiColumn): adjust
6197 * CutAndPaste.C (cutSelection): adjust
6198 (pasteSelection): adjust
6200 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6201 Buffer const * as arg
6203 * ParagraphList.C (erase): new function
6204 * paragraph_funcs.C (mergeParagraph): use it
6205 (mergeParagraph): make it take a Buffer* instead of a
6206 BufferParams* as arg
6208 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6210 (breakParagraphConservative): ditto
6212 * paragraph.h: remove the breakParagraph friend
6214 * paragraph.C (eraseIntern): new function
6215 (setChange): new function
6217 * paragraph_funcs.C (mergeParagraph): make it take a
6218 ParagraphList::iterator instead of a Paragraph *, adjust
6221 * paragraph.h: move an #endif so that the change tracking stuff
6222 also works in the NO_NEXT case.
6224 2003-03-04 Angus Leeming <leeming@lyx.org>
6227 * LyXAction.C: new LFUN_INSET_MODIFY.
6229 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6230 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6232 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6234 * several files: ws changes only
6236 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6237 (TeXEnvironment): ditto
6240 * buffer.C (makeLaTeXFile): adjust
6241 (latexParagraphs): make it take ParagraphList::iterator as args
6243 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6245 * buffer.C (latexParagraphs): adjust
6247 * paragraph.C (TeXOnePar): move function...
6248 (optArgInset): move function...
6249 (TeXEnvironment): move function...
6250 * paragraph_pimpl.C (TeXDeeper): move function...
6251 * paragraph_funcs.C: ...here
6253 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6255 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6257 * buffer.C (readInset): remove compability code for old Figure and
6260 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6262 * buffer.C: ws changes
6265 * BufferView_pimpl.C: ditto
6268 * bufferlist.h: ditto
6272 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6274 * converter.[Ch]: split into itself +
6277 * Makefile.am: += graph.[Ch] + format.[Ch]
6284 * lyxrc.C: added #include "format.h"
6286 2003-02-27 Angus Leeming <leeming@lyx.org>
6288 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6291 * factory.C (createInset): add "label" to the factory.
6293 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6294 string and do no more.
6296 2003-02-27 Angus Leeming <leeming@lyx.org>
6299 * LyXAction.C (init):
6300 * factory.C (createInset):
6301 * BufferView_pimpl.C (dispatch):
6302 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6304 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6306 * lyxfunc.C (dispatch):
6307 * text3.C (dispatch): pass name to params2string.
6309 2003-02-26 Angus Leeming <leeming@lyx.org>
6311 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6313 Rearrange the ~includes. Strip out the unnecessary ones.
6315 * factory.C (createInset): reformat.
6316 create new insets for the various LFUN_XYZ_APPLY lfuns.
6318 2003-02-26 John Levon <levon@movementarian.org>
6321 * lyxrow.C: add isParStart,isParEnd helpers
6323 * paragraph.h: make isInserted/DeletedText take refs
6325 * paragraph_funcs.h:
6326 * paragraph_funcs.C: remove #if 0'd code
6331 * text.C: use lyxrow helpers above.
6332 Move draw and paint routines to RowPainter.
6333 Make several methods use refs not pointers.
6334 Make backgroundColor() const.
6335 Add markChangeInDraw(), isInInset().
6336 Merge changeRegionCase into changeCase.
6337 Make workWidth() shouldn't-happen code into an Assert.
6340 * rowpainter.C: new class for painting a row.
6343 * vspace.C: make inPixels take a ref
6345 2003-02-26 Angus Leeming <leeming@lyx.org>
6347 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6350 2003-02-25 John Levon <levon@movementarian.org>
6352 * ispell.C: give the forked command a more accurate name
6354 2003-02-22 John Levon <levon@movementarian.org>
6357 * toc.C: make TocItem store an id not a Paragraph *
6360 2003-02-21 Angus Leeming <leeming@lyx.org>
6362 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6363 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6364 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6365 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6366 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6367 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6369 * BufferView_pimpl.C (dispatch):
6370 * LyXAction.C (init):
6371 * factory.C (createInset):
6372 * lyxfunc.C (getStatus, dispatch):
6373 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6375 2003-02-21 Angus Leeming <leeming@lyx.org>
6377 * BufferView_pimpl.C (MenuInsertLyXFile):
6378 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6379 * lyxfunc.C (menuNew, open, doImport):
6380 no longer pass a LyXView & to fileDlg.
6382 2003-02-21 Angus Leeming <leeming@lyx.org>
6384 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6385 * LyXAction.C: change, BIBKEY to BIBITEM.
6386 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6387 Change InsetBibKey to InsetBibitem.
6388 Change BIBKEY_CODE to BIBITEM_CODE.
6389 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6390 * factory.C: replace insetbib.h with insetbibitem.h.
6391 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6392 * paragraph.C: replace insetbib.h with insetbibitem.h.
6393 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6394 Change bibkey() to bibitem().
6395 * text.C: remove insetbib.h.
6396 * text2.C: replace insetbib.h with insetbibitem.h.
6397 change bibkey() to bibitem().
6398 * text3.C: remove insetbib.h.
6399 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6401 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6403 * lyxrc.C (output): enclose user email in quotes (in case there are
6406 2003-02-18 John Levon <levon@movementarian.org>
6408 * buffer.h: add std::
6410 2003-02-17 John Levon <levon@movementarian.org>
6416 * pspell.C: reworking. Especially in ispell, a large
6417 number of clean ups and bug fixes.
6419 * lyxfunc.C: fix revert to behave sensibly
6421 2003-02-17 André Pönitz <poenitz@gmx.net>
6424 * commandtags.h: new LFUN_INSERT_BIBKEY
6434 * paragraph_func.C: remove special bibkey handling
6436 2003-02-17 John Levon <levon@movementarian.org>
6438 * text.C (Delete): fix case where delete at the end of
6439 the very first paragraph would not merge the pars
6441 2003-02-17 John Levon <levon@movementarian.org>
6443 * lyxrow.C: fix lastPrintablePos()
6445 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6447 * bufferparams.C (writeLaTeX): add a std:here
6449 * buffer.C: and remove a using directive there
6451 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6453 * buffer.C (makeLaTeXFile): move the code that generates the
6456 * bufferparams.C (writeLaTeX): ... in this new method
6458 * LaTeXFeatures.C (getEncodingSet): make const
6459 (getLanguages): make const
6461 * MenuBackend.C (binding): returns the binding associated to this
6463 (add): sets the status of each item by calling getStatus. Adds
6465 (read): add support for OptSubMenu
6466 (expand): remove extra separator at the end of expanded menu
6468 2003-02-15 John Levon <levon@movementarian.org>
6471 * BufferView_pimpl.C:
6473 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6474 inset code that had no actual effect. Remove unneeded status
6477 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6479 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6482 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6484 * text.C (drawLengthMarker): also draw an arrow marker for
6485 symbolic lengths (medskip...)
6487 2003-02-14 John Levon <levon@movementarian.org>
6490 * tabular.C: better method names
6492 2003-02-14 John Levon <levon@movementarian.org>
6494 * BufferView_pimpl.C:
6499 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6500 it's a more accurate name. Remove some pointless uses.
6502 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6504 * text2.C (LyXText): change order of initilizers to shut off
6507 2003-02-14 John Levon <levon@movementarian.org>
6509 * buffer.C: use ParIterator for getParFromID()
6513 * paragraph_pimpl.h:
6514 * paragraph_pimpl.C: remove unused getParFromID()
6516 2003-02-14 John Levon <levon@movementarian.org>
6518 * buffer.C: remove some very old #if 0'd parse code
6520 2003-02-13 John Levon <levon@movementarian.org>
6524 * text2.C: move hfillExpansion(), numberOfSeparators(),
6525 rowLast(), rowLastPrintable(), numberofHfills(),
6526 numberOfLabelHfills() ...
6529 * lyxrow.C: ... to member functions here.
6534 * text.C: remove LyXText::beginningOfMainBody(), and call
6535 p->beginningOfMainBody() directly. Move the check for
6536 LABEL_MANUAL into the latter.
6543 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6549 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6550 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6552 2003-02-13 John Levon <levon@movementarian.org>
6554 * CutAndPaste.C: remove debug
6556 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6558 * paragraph.C (asString): remove two unused variables
6560 * lyxtextclass.C (readTitleType):
6562 (LyXTextClass): handle new members titletype_ and titlename_
6564 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6566 2003-02-09 John Levon <levon@movementarian.org>
6569 * buffer.C: replace hand-coded list with a map for the dep clean
6571 2003-02-08 John Levon <levon@movementarian.org>
6573 * LaTeX.C: consolidate code into showRunMessage() helper
6575 2003-02-08 John Levon <levon@movementarian.org>
6580 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6581 and pass the size in explicitly
6583 * BufferView_pimpl.h:
6584 * BufferView_pimpl.C:
6586 * BufferView.C: add getCurrentChange()
6588 * BufferView_pimpl.h:
6589 * BufferView_pimpl.C: handle change lfuns
6591 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6592 for changes. Mark pasted paragraphs as new.
6594 * support/lyxtime.h:
6595 * support/lyxtime.C:
6596 * DepTable.C: abstract time_t as lyx::time_type
6599 * LColor.C: add colours for new text, deleted text, changebars
6601 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6602 package use "usenames" option.
6606 * LyXAction.C: add change lfuns
6610 * author.C: author handling
6613 * buffer.C: add a per-buffer author list, with first entry as
6614 current author. Handle new .lyx tokens for change tracking. Output
6615 author list to .lyx file. Output dvipost stuff to .tex preamble.
6616 Bump lyx format to 222.
6619 * bufferlist.C: add setCurrentAuthor() to reset current author details
6623 * bufferparams.C: add param for tracking
6625 * bufferview_funcs.C: output change info in minibuffer
6629 * changes.C: add change-tracking structure
6632 * debug.C: add CHANGES debug flag
6635 * lyxfind.C: add code for finding the next change piece
6638 * lyxrc.C: add user_name and user_email
6641 * lyxrow.C: add a metric for the top of the text line
6644 * text.C: implement accept/rejectChange()
6647 * text.C: paint changebars. Paint new/deleted text in the chosen
6648 colours. Strike through deleted text.
6652 * paragraph_pimpl.h:
6653 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6654 in the current change to the insert functions. Rework erase to
6655 mark text as deleted, adding an eraseIntern() and a range-based
6656 erase(). Implement per-paragraph change lookup and
6659 * paragraph_funcs.C: Fixup paste for change tracking.
6661 * tabular.C: mark added row/columns as new.
6663 * text.C: fix rowLast() to never return -1. Don't allow
6664 spellchecking of deleted text. Track transpose changes. Don't
6665 allow paragraph break or merge where appropriate.
6667 * text2.C: leave cursor at end of selection after a cut.
6669 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6671 * text.C (getLengthMarkerHeight):
6672 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6673 visible on screen too.
6675 2003-02-07 John Levon <levon@movementarian.org>
6677 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6679 2003-02-05 Angus Leeming <leeming@lyx.org>
6681 * lyxserver.C (read_ready): revert my patch of 11 September last year
6682 as it sends PC cpu through the roof. Presumably this means that
6683 the lyxserver will no longer run on an Alpha...
6685 2003-01-30 Angus Leeming <leeming@lyx.org>
6687 * factory.C (createInset): create an InsetCommandParam of type "index"
6688 and use it to 'do the right thing'.
6690 * text2.C (getStringToIndex): ensure that cursor position is always
6691 reset to the reset_cursor position.
6693 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6695 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6698 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6702 * lyxfunc.C: Output messages with identical spelling, punctuation,
6705 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6707 * MenuBackend.C (expandFormats): List only viewable export formats
6710 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6713 * lyxfunc.C (getStatus): Make sure that formats other than
6714 "fax" can also be disabled
6716 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6718 * text3.C (dispatch): put the lfuns that insert insets in 3
6719 groups, and call doInsertInset with appropriate arguments.
6720 (doInsertInset): new function, that creates an inset and inserts
6721 it according to some boolean parameters.
6723 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6725 * buffer.C (readFile): remember to pass on 'par' when calling
6726 readFile recursively.
6728 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6730 * MenuBackend.C (expandFormats): add "..." to import formats.
6732 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6734 * paragraph.C (asString): Remove XForms RTL hacks.
6736 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6737 * buffer.C: fix typo
6739 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6741 * Makefile.am (LIBS): delete var
6742 (lyx_LDADD): add @LIBS@ here instead.
6744 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6746 * Clarify the meaning of "wheel mouse jump"
6748 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6750 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6753 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6755 * importer.C (Loaders): do not preallocate 3 elements in the
6756 vector, since one ends up with 6 elements otherwise
6758 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6760 * DepTable.C (write): write the file name as last element of the
6761 .dep file (because it may contain spaces)
6762 (read): read info in the right order
6764 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6766 * paragraph_pimpl.C (simpleTeXBlanks):
6767 (simpleTeXSpecialChars):
6768 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6770 * tabular.C (latex): add some missing case statements. Reindent.
6772 * MenuBackend.C (expandToc): remove unused variable.
6774 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6783 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6786 2003-01-05 John Levon <levon@movementarian.org>
6789 * BufferView.C: add getEncoding()
6792 * kbsequence.C: do not store last keypress
6795 * lyxfunc.C: store last keypress here instead. Pass encoding
6798 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6800 * lyx_main.C (init): remove annoying error message when following
6801 symbolic links (bug #780)
6803 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6805 * text.C (insertChar):
6806 * lyxrc.C (getDescription): remove extra spaces
6808 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6810 * lyxrc.C (getDescription): remove extra spaces
6812 2002-12-20 John Levon <levon@movementarian.org>
6814 * text3.C: hack fix for page up/down across tall rows
6816 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6818 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6821 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6823 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6824 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6825 thesaurus is not compiled in
6827 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6829 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6831 2002-12-16 Angus Leeming <leeming@lyx.org>
6834 * lyx_main.C (init): remove override_x_deadkeys stuff.
6836 2002-12-12 John Levon <levon@movementarian.org>
6838 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6839 insert. Only remove shift modifier under strict
6842 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6844 * MenuBackend.C (expandToc): fix crash.
6846 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6848 * MenuBackend.C (expandToc): gettext on float names.
6850 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6852 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6853 implement bool empty() [bug 490]
6855 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6857 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6859 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6861 * several files: ws changes
6863 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6865 * text2.C (setCounter): clean up a bit, use boost.format.
6866 (updateCounters): initialize par upon declaration.
6868 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6869 if the layout exists. We do not just store the layout any more.
6870 (SwitchLayoutsBetweenClasses): use boost.format
6872 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6874 * converter.C (convert): if from and to files are the same, use a
6875 temporary files as intermediary
6877 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6880 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6882 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6884 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6886 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6888 * tabular.C (asciiPrintCell): use string(size, char) instead of
6891 * sgml.C (openTag): fix order of arguments to string constructor
6894 * lyxfunc.C (dispatch): use boost.format
6896 * lots of files: change "c" -> 'c'
6898 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6900 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6902 2002-11-25 Angus Leeming <leeming@lyx.org>
6904 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6906 * lyx_main.C (init): compile fix.
6908 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6910 * lyx_cb.C (start): boost.formatify
6911 do not include <iostream>
6913 * lengthcommon.C: ws only
6915 * boost-inst.C,BoostFormat.h: add more explict instantations
6917 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6919 * lots of files: handle USE_BOOST_FORMAT
6921 2002-11-21 John Levon <levon@movementarian.org>
6923 * pspell.C: fix compile
6925 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6927 * lyxfunc.C (dispatch): use boost::format
6931 * lyxfont.C (stateText): use boost::format
6933 * lyx_main.C (LyX): use boost::format
6935 (queryUserLyXDir): ditto
6938 (typedef boost::function): use the recommened syntax.
6940 * importer.C (Import): use boost::format
6942 * debug.C (showLevel): use boost::format
6944 * converter.C (view): use boost::format
6949 * bufferview_funcs.C (currentState): use boost::format
6951 * bufferlist.C (emergencyWrite): use boost::format
6953 * buffer.C (readLyXformat2): use boost::format
6954 (parseSingleLyXformat2Token): ditto
6956 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6958 * LaTeX.C (run): use boost::format
6960 * Chktex.C (scanLogFile): use boost::format
6962 * BufferView_pimpl.C (savePosition): use boost::format
6963 (restorePosition): ditto
6964 (MenuInsertLyXFile): ditto
6966 * BoostFormat.h: help file for explicit instation.
6968 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6970 * tabular.C (latex): Support for block alignment in fixed width
6973 2002-11-17 John Levon <levon@movementarian.org>
6975 * BufferView_pimpl.C:
6977 * lyxfunc.C: split filedialog into open/save
6979 2002-11-08 Juergen Vigna <jug@sad.it>
6981 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6982 by my last patch (hopefully).
6984 2002-11-08 John Levon <levon@movementarian.org>
6993 * toc.C: ParConstIterator, and use it (from Lars)
6995 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6997 * lyxtextclass.[Ch]: revise and add doxygen comments
6999 2002-11-07 John Levon <levon@movementarian.org>
7001 * text.C: fix progress value for spellchecker
7003 * toc.C: fix navigate menu for insetwrap inside minipage
7005 * paragraph_funcs.C: added FIXME for suspect code
7007 2002-11-07 John Levon <levon@movementarian.org>
7009 * BufferView_pimpl.C: fix redrawing of insets
7012 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7014 * text2.C (updateCounters): fix bug 668
7016 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7018 * text3.C (dispatch): Do not make the buffer dirty when moving the
7021 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7023 * vc-backend.C: STRCONV
7026 * text2.C (setCounter): STRCONV
7028 * paragraph.C (asString): STRCONV
7030 * lyxlength.C (asString): STRCONV
7031 (asLatexString): ditto
7033 * lyxgluelength.C (asString): STRCONV
7034 (asLatexString): ditto
7036 * lyxfunc.C (dispatch): STRCONV
7039 * lyxfont.C (stateText): STRCONV
7041 * importer.C (Import): STRCONV
7043 * counters.C (labelItem): STRCONV
7044 (numberLabel): ditto
7045 (numberLabel): remove unused ostringstream o
7050 * bufferview_funcs.C (currentState): STRCONV
7052 * buffer.C (readFile): STRCONV
7053 (asciiParagraph): ditto
7054 (makeLaTeXFile): ditto
7056 * Spacing.C (writeEnvirBegin): STRCONV
7058 * LaTeXFeatures.C (getLanguages): STRCONV
7059 (getPackages): ditto
7061 (getBabelOptions): ditto
7062 (getTClassPreamble): ditto
7063 (getLyXSGMLEntities): ditto
7064 (getIncludedFiles): ditto
7068 (scanAuxFile): ditto
7071 * LString.h: add the STRCONV macros
7073 * BufferView_pimpl.C (savePosition): STRCONV
7074 (restorePosition): ditto
7075 (MenuInsertLyXFile): ditto
7077 * vc-backend.C (scanMaster): change from submatch[...] to
7080 * funcrequest.C: include config.h
7082 * factory.C: include config.h
7084 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7086 * box.C: include config.h
7088 * LaTeX.C (scanAuxFile): change from submatch[...] to
7092 2002-10-25 Angus Leeming <leeming@lyx.org>
7094 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7096 * ispell.[Ch] (setError): new method.
7097 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7098 Use setError() insetead of goto END.
7100 * lyx_cb.C (AutoSave): move out child process into new class
7103 2002-10-30 John Levon <levon@movementarian.org>
7105 * text3.C: make start appendix undoable
7107 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7109 * lyxlength.C (inPixels): Fix returned value.
7111 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7114 2002-10-24 Angus Leeming <leeming@lyx.org>
7116 * lyxgluelength.h: no need to forward declare BufferParams
7117 or BufferView, so don't.
7119 2002-10-21 John Levon <levon@movementarian.org>
7121 * BufferView.C: menuUndo ->undo, redo
7123 * BufferView.h: document, remove dead, make some methods private
7125 * paragraph_funcs.h:
7126 * paragraph_funcs.C:
7127 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7132 * sgml.C: move sgml open/close tag into sgml.C
7134 * bufferview_funcs.h: unused prototype
7137 * lyxfunc.C: remove unused
7140 * text.C: remove unused
7142 2002-10-21 John Levon <levon@movementarian.org>
7146 * BufferView_pimpl.h:
7147 * BufferView_pimpl.C: fix mouse wheel handling based on
7148 patch from Darren Freeman
7150 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7152 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7154 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7156 * lyxlength.C (inPixels): Fix hanfling of negative length.
7157 Fix LyXLength::MU case.
7159 2002-10-16 John Levon <levon@movementarian.org>
7161 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7163 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7165 * converter.C (view): add support for $$i (file name) and $$p
7166 (file path) for the viewer command. If $$i is not specified, then
7167 it is appended to the command (for compatibility with old syntax)
7169 2002-10-14 Juergen Vigna <jug@sad.it>
7171 * undo_funcs.C (textHandleUndo): alter the order in which the
7172 new undopar is added to the LyXText, as we have to set first
7173 the right prev/next and then add it as otherwise the rebuild of
7174 LyXText is not correct. Also reset the cursor to the right paragraph,
7175 with this IMO we could remove the hack in "redoParagraphs()".
7177 2002-10-09 Angus Leeming <leeming@lyx.org>
7179 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7180 to turn off an optimisation if a new inset is to be inserted.
7182 2002-10-11 André Pönitz <poenitz@gmx.net>
7184 * lyxtext.h: make some functions public to allow access
7185 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7187 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7189 * text3.C (dispatch): when changing layout, avoid an infinite loop
7192 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7194 * lyxrc.C (read): treat a viewer or converter command of "none" as
7197 * MenuBackend.C (expandFormats): for an update, also allow the
7198 formats that are not viewable
7200 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7201 script if it is newer than the lyxrc.defaults in user directory
7203 2002-10-07 André Pönitz <poenitz@gmx.net>
7205 * text.C: Vitaly Lipatov's small i18n fix
7207 2002-09-25 Angus Leeming <leeming@lyx.org>
7209 * ispell.h: doxygen fix.
7211 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7213 * buffer.h (readFile): Add a new argument to the method, to allow
7214 reading of old-format templates.
7216 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7218 * toc.C (getTocList): Get TOC from InsetWrap.
7220 2002-09-16 John Levon <levon@movementarian.org>
7222 * lyxfunc.C: check tabular for cut/copy too
7224 2002-09-12 John Levon <levon@movementarian.org>
7229 * factory.C: add header
7231 * paragraph_funcs.h:
7232 * paragraph_funcs.C: cleanup
7234 2002-09-11 John Levon <levon@movementarian.org>
7236 * PrinterParams.h: odd/even default to true
7238 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7240 * PrinterParams.h: update printer parameters for new xforms dialog
7242 2002-09-11 Angus Leeming <leeming@lyx.org>
7244 * lyxserver.C (read_ready): re-write to make it more transparent
7245 and to make it work in coherent fashion under Tru64 Unix.
7247 2002-09-11 André Pönitz <poenitz@gmx.net>
7251 * text3.C: implement LFUN_WORDSEL
7253 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7255 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7256 make floatlist_ a boost::shared_ptr<FloatList>
7258 * lyxtextclass.C: include FloatList.h
7259 (LyXTextClass): initialize floatlist_
7260 (TextClassTags): add TC_NOFLOAT
7261 (Read): match "nofloat" to TC_NOFLOAT and use it.
7262 (readFloat): modify call to floatlist_
7266 * FloatList.[Ch] (FloatList): remove commented out float
7268 (erase): new function
7270 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7272 * MenuBackend.C (expandToc): fix crash when there is no document
7275 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7277 * many files: Add insetwrap.
7279 2002-09-09 John Levon <levon@movementarian.org>
7281 * text2.C: remove confusing and awkward depth wraparound
7283 2002-09-09 John Levon <levon@movementarian.org>
7285 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7288 * buffer.C: remove getIncludeonlyList()
7291 * lyxfunc.C: remove headers
7293 2002-09-09 Juergen Vigna <jug@sad.it>
7295 * text.C (getColumnNearX): fix form Michael this is most
7296 probably a cut&paste bug.
7298 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7300 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7302 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7303 references, ws changes.
7305 * text2.C (init): update counters after init
7306 (insertParagraph): no need to set counter on idividual paragraphs.
7307 (setCounter): access the counters object in the textclass object
7308 on in the buffer object.
7309 (updateCounters): ditto
7311 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7312 shared_ptr<Counters> to avoid loading counters.h in all
7314 (LyXTextClass): initialize ctrs_
7315 (TextClassTags): add TC_COUNTER, and ...
7316 (Read): use it here.
7317 (CounterTags): new tags
7318 (readCounter): new function
7319 (counters): new funtion
7320 (defaultLayoutName): return a const reference
7322 * counters.C (Counters): remove contructor
7323 (newCounter): remove a couple of unneeded statements.
7324 (newCounter): simplify a bit.
7325 (numberLabel): some small formatting changes.
7327 * buffer.[Ch]: remove all traces of counters, move the Counters
7328 object to the LyXTextClass.
7330 2002-09-06 Alain Castera <castera@in2p3.fr>
7332 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7333 package to set the horizontal alignment on fixed width columns.
7336 * lyx_sty.h: added tabularnewline macro def.
7338 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7340 2002-09-06 John Levon <levon@movementarian.org>
7342 * LyXAction.C: tooltips for sub/superscript
7344 * MenuBackend.C: a bit more verbose
7346 * lyxfunc.C: tiny clean
7348 * undo_funcs.C: document undo_frozen
7350 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7352 * counters.C (Counters): add missing algorithm counter.
7354 * text2.C (setCounter): lookup the counter with layouts latexname
7355 instead of by section number.
7356 (setCounter): use a hackish way to lookup the correct enum
7358 a float name->type change
7359 reset enum couners with counter name directly instead of depth value.
7361 * counters.C (Counters): remove the push_backs, change to use the
7362 float type not the float name.
7363 (labelItem): remove unused string, float name->type change
7365 * counters.h: don't include vector, loose the enums and sects vectors
7367 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7369 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7370 (Read): add float->TC_FLOAT to textclassTags
7371 (Read): and handle it in the switch
7372 (readFloat): new function
7374 * FloatList.C (FloatList): comment out the hardcoded float
7377 * lyxlayout.h: ws change.
7379 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7381 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7383 2002-09-03 Angus Leeming <leeming@lyx.org>
7385 * BufferView_pimpl.h: qualified name is not allowed in member
7386 declaration: WorkArea & Pimpl::workarea() const;
7388 * factory.C: added using std::endl directive.
7390 * text3.C: added using std::find and std::vector directives.
7392 2002-08-29 André Pönitz <poenitz@gmx.net>
7395 * text2.C: remove unused member number_of_rows
7398 * BufferView2.C: remove file, move contents to...
7399 * BufferView.C: ... here
7401 * BufferView_pimpl.C:
7402 * factory.C: move more inset creation to factory
7404 * vspace.C: avoid direct usage of LyXText, ws changes
7407 don't provide direct access to WorkArea, use two simple
7408 acessors haveSelction() and workHeight() instead
7411 2002-08-29 John Levon <levon@movementarian.org>
7413 * BufferView_pimpl.C (dispatch): do not continue when
7416 2002-08-28 André Pönitz <poenitz@gmx.net>
7418 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7421 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7423 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7425 * buffer.C: increment LYX_FORMAT to 221
7427 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7428 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7430 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7432 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7434 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7436 * factory.C (createInset): use LyXTextClass::floats
7438 * MenuBackend.C (expandFloatListInsert):
7439 (expandFloatInsert):
7442 * text2.C (setCounter):
7444 * LaTeXFeatures.C (useFloat):
7445 (getFloatDefinitions):
7447 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7449 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7450 floatlist_, with accessor floats().
7452 * FloatList.h: remove global FloatList
7454 2002-08-26 André Pönitz <poenitz@gmx.net>
7456 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7460 * BufferView_pimpl.C:
7461 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7463 2002-08-25 John Levon <levon@movementarian.org>
7465 * LyXAction.C: fix margin note description
7467 2002-08-24 John Levon <levon@movementarian.org>
7471 * bufferview_funcs.C:
7473 * undo_funcs.C: cleanups
7475 * lyxfunc.C: disable CUT/COPY when no selection
7477 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7479 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7480 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7482 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7483 Add backward compatibility to "mono", "gray" and "no".
7485 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7487 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7488 (and file_format >= 200).
7490 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7492 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7494 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7496 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7498 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7500 * BufferView_pimpl.C:
7507 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7508 inset and code to make it work with the paragraph code. The inset
7509 can be anywhere in the paragraph, but will only do the expected
7510 thing in LaTeX if the layout file contains the parameter line
7512 (or more generally, a nonzero value) for that layout.
7514 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7516 * paragraph.h: remove the declaration of undefined counters class
7519 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7521 * text2.C (setCounter): fixed enumeration mis-count as reported by
7522 Dr. Richard Hawkins.
7524 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7526 * paragraph_funcs.h: remove some unneeded includes
7528 * text.C (backspace): pasteParagraph now in global scipe
7530 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7531 (pasteSelection): ditto
7533 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7534 * paragraph_funcs.C (pasteParagraph): ... here
7536 2002-08-20 André Pönitz <poenitz@gmx.net>
7538 * commandtags.h: new LFUNs for swapping/copying table row/colums
7541 * lyxfunc.C: support for new lfuns
7543 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7546 * buffer.[Ch]: remove NO_COMPABILITY stuff
7548 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7550 * boost.C (throw_exception): new file, with helper function for
7551 boost compiled without exceptions.
7556 * ParameterStruct.h:
7557 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7559 * bufferlist.C (emergencyWriteAll): use boost bind
7561 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7563 * text.C: include paragraph_funcs.h
7564 (breakParagraph): breakParagraph is now in global scope
7566 * paragraph_funcs.[Ch]: new files
7568 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7571 * buffer.C: include paragraph_funcs.h
7572 (insertStringAsLines): breakParagraph is now in global scope
7574 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7577 * CutAndPaste.C: include paragraph_funcs.h
7578 (cutSelection): breakParagraphConservative is now in global scope
7579 (pasteSelection): ditto
7581 * buffer.h: declare oprator== and operator!= for
7582 Buffer::inset_iterator
7584 * bufferlist.C (emergencyWrite): don't use fmt(...)
7586 * text3.C: add using std::endl
7588 * BufferView.C (moveCursorUpdate): remove default arg
7590 2002-08-20 André Pönitz <poenitz@gmx.net>
7592 * buffer.[Ch]: move inline functions to .C
7595 * BufferView_pimpl.C:
7597 * buffer.[Ch]: use improved inset_iterator
7600 * paragraph.[Ch]: write one paragraph at a time
7602 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7604 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7605 style if style is not specified.
7607 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7609 * text2.C (setCounter): when searching for right label for a
7610 caption, make sure to recurse to parent insets (so that a caption
7611 in a minipage in a figure float works) (bug #568)
7613 2002-08-20 André Pönitz <poenitz@gmx.net>
7615 * text3.C: new file for LyXText::dispatch() and helpers
7617 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7619 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7621 2002-08-19 André Pönitz <poenitz@gmx.net>
7624 * text.C: new LyXText::dispatch()
7626 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7628 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7630 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7632 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7635 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7637 * Makefile.am: use $(variables) instead of @substitutions@
7639 2002-08-15 André Pönitz <poenitz@gmx.net>
7642 * BufferView_pimpl.C: streamlining mathed <-> outer world
7646 * LyXAction.C: remove unused LFUN_MATH
7648 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7650 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7652 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7654 * paragraph.C (Paragraph): reformat a bit
7655 (cutIntoMinibuffer): use builtin InsetList function instad of
7659 * buffer.C: include boost/bind.hpp, add using std::for_each
7660 (writeFileAscii): use ParagraphList iterators
7661 (validate): use for_each for validate traversal of paragraphs
7662 (getBibkeyList): use ParagraphList iterators
7663 (resizeInsets): use for_each to resizeInsetsLyXText for all
7665 (getParFromID): use ParagraphList iterators
7667 * BufferView2.C (lockInset): use paragraph list and iterators
7669 2002-08-14 John Levon <levon@movementarian.org>
7671 * lyxserver.C: remove spurious xforms include
7673 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7675 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7677 2002-08-13 André Pönitz <poenitz@gmx.net>
7680 * lyxfunc.C: further cleaning
7682 2002-08-13 André Pönitz <poenitz@gmx.net>
7684 * funcrequest.h: new constructor
7686 * funcrequest.C: move stuff here from .h
7689 * BufferView_pimpl.C:
7692 * lyxfunc.C: subsequent changes
7694 * lyxfunc.h: new view() member function
7696 * lyxfunc.C: subsequent changes
7698 2002-08-13 Angus Leeming <leeming@lyx.org>
7701 * BufferView_pimpl.C:
7709 changes due to the changed LyXView interface that now returns references
7710 to member variables not pointers.
7712 2002-08-13 Angus Leeming <leeming@lyx.org>
7714 * WordLangTuple (word, lang_code): return references to strings,
7719 * lyxtext.h: forward-declare WordLangTuple.
7724 * text.C: #include "WordLangTuple.h".
7727 * text.C: (selectNextWordToSpellcheck): constify return type.
7729 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7735 * paragraph_pimpl.h:
7738 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7740 Made updateCounter always count from start of buffer, and removed
7741 second argument (par).
7742 Reverted floats number display to '#'. Perhaps I'll try again when the
7743 code base is sanitized a bit.
7745 2002-08-12 Angus Leeming <leeming@lyx.org>
7747 * buffer.[Ch] (getLabelList): constify.
7749 2002-08-07 André Pönitz <poenitz@gmx.net>
7751 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7753 * funcrequest.h: extension to keep mouse (x,y) position
7755 2002-08-12 Juergen Vigna <jug@sad.it>
7757 * BufferView2.C (insertErrors): forbid undo when inserting error
7760 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7762 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7764 * ParagraphList.[Ch]: new files
7766 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7768 * BufferView2.C (lockInset): ParagraphList changes
7771 * bufferlist.C: ditto
7775 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7777 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7778 unused class variable counter_,
7780 * paragraph.[Ch] (getFirstCounter): delete unused function
7782 * counters.C: include LAssert.h
7783 (reset): add a new function with no arg, change other version to
7784 not have def. arg and to not allow empty arg.
7786 * text2.C (setCounter): remove empty arg from call to Counters::reset
7788 2002-08-11 John Levon <levon@movementarian.org>
7790 * Makefile.am: add WordLangTuple.h
7792 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7794 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7795 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7797 * insets/insettext.C: InsetList changes
7799 * graphics/GraphicsSupport.C (operator()): InsetList changes
7801 * toc.C (getTocList): InsetList changes
7803 * paragraph_pimpl.[Ch]: InsetList changes
7805 * paragraph.[Ch]: InsetList changes
7807 * buffer.C (inset_iterator): InsetList changes
7808 (setParagraph): ditto
7809 * buffer.h (inset_iterator): ditto
7810 * iterators.C (operator++): ditto
7811 * iterators.h: ditto
7813 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7815 * InsetList.[Ch]: new files, most InsetList handling moved out of
7818 * BufferView2.C (removeAutoInsets): InsetList changes
7820 (ChangeInsets): ditto
7822 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7824 * paragraph_pimpl.h (empty): new function
7826 * paragraph.[Ch] (empty): new function
7828 * other files: use the new Paragraph::empty function
7830 2002-08-09 John Levon <levon@movementarian.org>
7832 * lyxtext.h: remove unused refresh_height
7834 2002-08-09 John Levon <levon@movementarian.org>
7841 * paragraph.C: move sgml char escaping out of paragraph
7844 * paragraph.C: remove id setter
7848 * paragraph_pimpl.C: remove dead tex_code_break_column
7850 * bufferview_funcs.C: small cleanup
7852 * lyxfunc.C: remove dead proto
7854 * lyxtext.h: make some stuff private. Remove some dead stuff.
7856 * lyxgluelength.C: make as[LyX]String() readable
7858 2002-08-08 John Levon <levon@movementarian.org>
7863 * ToolbarDefaults.C:
7866 * toc.C: lyxaction cleanup
7868 2002-08-08 John Levon <levon@movementarian.org>
7870 * BufferView2.C: small cleanup
7873 * lyxfind.C: move unnecessary header into the .C
7875 2002-08-08 John Levon <levon@movementarian.org>
7877 * funcrequest.h: just tedious nonsense
7880 * lyx_main.C: cleanups
7883 * vspace.C: remove dead header lyx_main.h
7885 2002-08-07 Angus Leeming <leeming@lyx.org>
7888 * paragraph_pimpl.h:
7889 Forward declare class Counters in paragraph.h by moving the ctrs member
7890 variable into Paragraph::Pimpl.
7891 (counters): new method, returning a reference to pimpl_->ctrs.
7893 * text2.C: ensuing changes.
7895 2002-08-07 John Levon <levon@movementarian.org>
7897 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7899 * BufferView_pimpl.C: announce X selection on double/triple
7902 * lyx_main.C: use correct bool in batch dispatch
7904 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7906 2002-08-07 André Pönitz <poenitz@gmx.net>
7908 * funcrequest.h: new class to wrap a kb_action and its argument
7911 * BufferView_pimpl[Ch]:
7915 * lyxrc.C: subsequent changes
7918 2002-08-07 John Levon <levon@movementarian.org>
7920 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7921 document options change.
7923 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7928 * makefile.am: move counters functionality over from
7929 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7931 2002-08-06 John Levon <levon@movementarian.org>
7933 * WordLangTuple.h: new file for word + language code tuple
7944 * BufferView2.C: use WordLangTuple
7947 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7949 2002-08-06 John Levon <levon@movementarian.org>
7951 * lyx_main.C: fix cmdline batch handling
7953 2002-08-06 André Pönitz <poenitz@gmx.net>
7955 * lyxrc.C: set default for show_banner to true
7957 2002-08-06 John Levon <levon@movementarian.org>
7959 * pspell.C: fix a crash, and allow new aspell to work
7961 2002-08-06 John Levon <levon@movementarian.org>
7964 * kbmap.C: small cleanup
7967 * vspace.C: add const
7969 2002-08-05 John Levon <levon@movementarian.org>
7971 * LyXAction.C: back to tabular-insert
7973 2002-08-04 John Levon <levon@movementarian.org>
7976 * BufferView.C: cosmetic change
7978 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7988 * BufferView2.C: purge all "Lyx" not "LyX" strings
7991 * lyxcursor.C: attempt to add some documentation
7996 * ToolbarDefaults.C:
7997 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7998 merge with LFUN_TABULAR_INSERT
8005 * pspell.C: split up i/pspell implementations into separate
8006 files, many cleanups
8008 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8010 * text2.C: some cleanup
8012 * lyxfunc.C: don't check for isp_command == "none" any more, it
8013 didn't make any sense
8015 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8020 * makefile.am: move counters functionality over
8021 from text2.C/paragraph.[Ch] to counters.[Ch], and
8023 2002-08-02 John Levon <levon@movementarian.org>
8025 * buffer.C: s/lyxconvert/lyx2lyx/
8027 2002-08-02 Angus Leeming <leeming@lyx.org>
8029 * lyxlex.C: revert John's change as it breaks reading of the user
8032 2002-08-02 Angus Leeming <leeming@lyx.org>
8034 * importer.C (Import):
8035 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8036 changes due to LyXView::view() now returning a boost::shared_ptr.
8038 2002-08-02 John Levon <levon@movementarian.org>
8040 * lyxlex.C: small cleanup
8042 2002-08-02 John Levon <levon@movementarian.org>
8044 * text2.C (status): small cleanup, no logic change
8046 2002-08-01 John Levon <levon@movementarian.org>
8049 * buffer.C (writeFile): don't output alerts, caller
8053 * lyx_cb.C: from above
8055 * lyxfunc.C: allow to open non-existent files
8057 2002-07-31 John Levon <levon@movementarian.org>
8059 * lyxserver.C: don't let incidental errors get
8062 2002-07-30 John Levon <levon@movementarian.org>
8064 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8066 2002-07-30 John Levon <levon@movementarian.org>
8069 * lyxserver.C: remove I/O callback too
8071 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8073 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8076 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8078 * many files: strip,frontStrip -> trim,ltrim,rtrim
8080 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8082 * PrinterParams.h: remove extern containsOnly, and include
8083 support/lstrings.h instead.
8085 * LaTeX.C (scanAuxFile): modify because of strip changes
8087 * buffer.C (makeLaTeXFile): ditto
8088 * bufferparams.C (writeFile): ditt
8089 * lyxfont.C (stateText): ditto
8090 * lyxserver.C (read_ready): ditto
8091 * vc-backend.C (scanMaster): ditto
8093 * BufferView_pimpl.h: ws changes
8095 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8097 2002-07-26 André Pönitz <poenitz@gmx.net>
8099 * kb_sequence.C: remove unnedred usings
8101 2002-07-26 Juergen Vigna <jug@sad.it>
8103 * lyxfind.C (LyXReplace): we have to check better if the returned
8104 text is not of theLockingInset()->getLockingInset().
8106 2002-07-25 Juergen Vigna <jug@sad.it>
8108 * lyxfind.C (LyXReplace): don't replace if we don't get the
8111 * undo_funcs.C (createUndo): remove debugging code.
8113 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8115 * buffer.C (parseSingleLyXformat2Token): Use default placement
8116 when reading old floats.
8118 * FloatList.C (FloatList): Change the default placement of figure
8119 and tables to "tbp".
8121 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8123 * MenuBackend.C: using std::max
8125 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8127 * MenuBackend.C (expandToc):
8128 (expandToc2): code moved from xforms menu frontend. It is now
8129 generic and TOCs are transparent to menu frontends.
8131 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8133 * toc.C (getTocList): protect against buf=0
8135 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8136 Menu as first parameter. Now, this calls itself recursively to
8137 expand a whole tree (this will be useful for TOC handling)
8138 (expandFloatInsert): remove 'wide' version of floats
8140 * MenuBackend.h (submenuname): returns the name of the submenu.
8141 (submenu): returns the submenu itself, provided it has been
8142 created by MenuBackend::expand
8144 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8146 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8147 insets which have noFontChange == true. (bug #172)
8149 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8151 * BufferView_pimpl.C: add connection objects and use them...
8154 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8156 * MenuBackend.C (expandLastfiles):
8159 (expandFloatListInsert):
8160 (expandFloatInsert):
8161 (expand): split expand in parts
8163 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8165 * lyx_gui.C: use lyx_gui::exit()
8167 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8169 * LyXAction.C: show the failing pseudo action
8171 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8173 * buffer.C (readFile): Run the lyxconvert script in order to read
8176 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8180 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8182 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8186 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8188 2002-07-22 Herbert Voss <voss@lyx.org>
8191 * lyxlength.[Ch]: add support for the vertical lengths
8193 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8195 * toc.[Ch]: std:: fixes
8197 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8199 * lyxrc.C: do not include lyx_main.h
8201 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8207 * BufferView2.C: include "lyxlex.h"
8210 * bufferparams.h: do not #include "lyxlex.h"
8212 * lyxtextclasslist.C (Add): remove method
8213 (classlist): renamed to classlist_
8215 * paragraph_pimpl.C:
8219 * bufferview_funcs.C:
8224 * toc.C (getTocList): use BufferParams::getLyXTextClass
8226 * toc.C (getTocList): use InsetFloat::addToToc
8228 * toc.[Ch]: new files, containing helper functions to handle table
8231 * lyxfunc.C (dispatch): no need to remove spaces around command
8233 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8234 first command of the sequence; it is not very clever, but I do not
8235 have a better idea, actually
8237 * LyXAction.C (LookupFunc): make sure to remove space at the
8238 beginning and end of the command
8240 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8242 * MenuBackend.C (getMenubar): new method: return the menubar of
8244 (read): treat differently reading of menu and menubar (in
8245 particular, the menubar has no name now)
8246 (Menu::menubar): remove
8248 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8251 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8253 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8254 a bibitem inset in a RTL paragraph.
8256 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8258 * paragraph_pimpl.C: constify
8260 * BufferView_pimpl.C:
8262 * lyxfunc.C: fix dispatch in a nicer way
8264 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8266 * lyxfunc.C (dispatch):
8267 * BufferView_pimpl.C:
8268 * BufferView_pimpl.h:
8270 * BufferView.h: rename Dispatch() to dispatch()
8272 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8274 * lyxlayout.C (Read): honor DependsOn tag
8276 * lyxlayout.[Ch] (depends_on): new method
8278 * version.C.in: update lyx_docversion
8280 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8282 * paragraph.C (validate): remove from here...
8283 * paragraph_pimpl.C (validate): ... and move here
8284 (isTextAt): make it const
8286 * buffer.C (getLists): ws cleanup
8288 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8290 * language.C (read): Use iso8859-1 encoding in latex_lang
8291 (this prevents LyX from crashing when using iso10646-1 encoding).
8293 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8295 * text2.C (toggleInset): if cursor is inside an inset, close the
8296 inset and leave cursor _after_ it
8298 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8300 * lyxfunc.C: move minibuffer completion handling out of here
8302 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8304 * BufferView_pimpl.C:
8305 * LaTeX.C: fix dispatch calls
8307 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8309 * text.C (drawChars): Fix Arabic text rendering.
8311 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8315 * lyxfunc.C: remove message-push/pop
8319 * lyxfunc.C: rationalise some code by removing verboseDispatch
8320 in favour of a bool argument to dispatch()
8322 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8324 * lyx_main.C (init): make sure to read symlinks as absolute paths
8326 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8329 * lyxfunc.C: no need for commandshortcut to be a member
8331 2002-07-15 André Pönitz <poenitz@gmx.net>
8333 * converter.C: add support for $$s (scripts from lib/scripts dir)
8334 * lyx_main.C: white space
8336 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8340 * lyxrc.C: remove second exit confirmation
8342 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8347 * BufferView_pimpl.h:
8348 * BufferView_pimpl.C:
8349 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8351 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8353 * MenuBackend.C (expand): add numeric shortcuts to document menu
8355 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8357 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8359 * lyxfont.C (setLyXFamily):
8366 * buffer.C (asciiParagraph): use ascii_lowercase
8368 2002-07-15 Mike Fabian <mfabian@suse.de>
8370 * lyxlex_pimpl.C (search_kw):
8371 * lyxlex.C (getLongString):
8372 * converter.h (operator<):
8373 * converter.C (operator<):
8374 * buffer.C (parseSingleLyXformat2Token):
8376 * ToolbarDefaults.C (read):
8377 * MenuBackend.C (checkShortcuts):
8379 * LColor.C (getFromGUIName):
8380 (getFromLyXName): use the compare_ascii_no_case instead of
8381 compare_no_case, because in turkish, 'i' is not the lowercase
8382 version of 'I', and thus turkish locale breaks parsing of tags.
8384 2002-07-16 Angus Leeming <leeming@lyx.org>
8386 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8387 now takes a Buffer const & argument.
8389 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8391 * BufferView.C (resize): check there's a buffer to resize
8393 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8395 * lyxfunc.C: remove dead code
8398 * lyxserver.C: use lyx_guii::set_read_callback
8400 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8402 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8403 an inset in a RTL paragraph.
8405 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8407 * lyxfunc.C: repaint after a font size update
8409 2002-07-15 André Pönitz <poenitz@gmx.net>
8411 * lyxlength.C: inBP should be able to return negative values
8413 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8415 * lyxfunc.C: use lyx_gui::update_fonts()
8417 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8419 * lyxfunc.C: use lyx_gui::update_color()
8421 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8427 * lyxrc.C: remove file->new asks for name option, and let
8428 buffer-new take an argument
8430 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8432 * BufferView_pimpl.C: remove unneeded extra repaint()
8434 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8436 * LyXAction.C: allow command-sequence with NoBuffer
8438 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8440 2002-07-10 Angus Leeming <leeming@lyx.org>
8442 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8444 2002-07-09 Angus Leeming <leeming@lyx.org>
8446 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8448 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8450 * lengthcommon.h: whitespace
8452 * lyxfunc.C: update scrollbar after goto paragraph
8454 * lyxtext.h: factor out page break drawing, and fix it so
8455 page break/added space paints as selected nicely
8457 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8459 * BufferView_pimpl.C: add FIXMEs, clean up a little
8461 2002-07-09 André Pönitz <poenitz@gmx.net>
8463 * lyxfont.[Ch]: support for wasy symbols
8465 2002-07-08 André Pönitz <poenitz@gmx.net>
8467 * BufferView_pimpl.C: apply John's patch for #93.
8469 2002-07-05 Angus Leeming <leeming@lyx.org>
8471 * BufferView_pimpl.C (buffer): generate previews if desired.
8473 * LColor.h: add "preview" to the color enum.
8475 * LColor.C (LColor): add a corresponding entry to the items array.
8477 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8480 2002-07-05 Angus Leeming <leeming@lyx.org>
8482 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8483 The body of the code is now in the method that is passed an ostream &
8484 rather than a file name.
8485 Pass an additional only_preamble parameter, useful for the forthcoming
8488 2002-07-03 André Pönitz <poenitz@gmx.net>
8490 * lyxfunc.C: simplify getStatus() a bit for math stuff
8492 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8494 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8496 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8498 * text.C (changeRegionCase): do not change case of all the
8499 document when region ends at paragraph end (bug #461)
8501 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8503 * paragraph.C (startTeXParParams):
8504 (endTeXParParams): add \protect when necessary
8506 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8508 * BufferView_pimpl.C (workAreaExpose): remove warning
8510 2002-06-27 Angus Leeming <leeming@lyx.org>
8512 * Makefile.am: add lyxlayout_ptr_fwd.h.
8514 2002-06-26 André Pönitz <poenitz@gmx.net>
8516 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8518 2002-06-25 Angus Leeming <leeming@lyx.org>
8520 * lyxfunc.C (dispatch): Comment out the call to
8521 grfx::GCache::changeDisplay. The method no longer exists now that the
8522 pixmap generation part of the graphics loader has been moved into
8525 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8527 * text2.C: layout as layout
8529 * text.C: layout as layout
8531 * tabular.C (OldFormatRead): layout as layout
8533 * paragraph_pimpl.C (TeXDeeper): layout as layout
8534 (realizeFont): layout as layout
8536 * paragraph.C (writeFile): layout as layout
8537 (validate): layout as layout
8538 (getFont): layout as layout
8539 (getLabelFont): layout as layout
8540 (getLayoutFont): layout as layout
8541 (breakParagraph): layout as layout
8542 (stripLeadingSpaces): layout as layout
8543 (getEndLabel): layout as layout
8544 (getMaxDepthAfter): layout as layout
8545 (applyLayout): layout as layout
8546 (TeXOnePar): layout as layout
8547 (simpleTeXOnePar): layout as layout
8548 (TeXEnvironment): layout as layout
8549 (layout): layout as layout
8550 (layout): layout as layout
8552 * lyxtextclass.C (compare_name): new functor to work with
8553 shared_ptr, layout as layout
8554 (Read): layout as layout
8555 (hasLayout): layout as layout
8556 (operator): layout as layout
8557 (delete_layout): layout as layout
8558 (defaultLayout): layout as layout
8560 * lyxlayout_ptr_fwd.h: new file
8562 * lyxlayout.C (Read): layout as layout
8564 * lyx_cb.C (MenuInsertLabel): layout as layout
8566 * bufferlist.C (newFile): layout as layout
8568 * buffer.C (readLyXformat2): layout as layout
8569 (parseSingleLyXformat2Token): layout as layout
8570 (insertStringAsLines): layout as layout
8571 (asciiParagraph): layout as layout
8572 (latexParagraphs): layout as layout
8573 (makeLinuxDocFile): layout as layout
8574 (simpleLinuxDocOnePar): layout as layout
8575 (makeDocBookFile): layout as layout
8576 (simpleDocBookOnePar): layout as layout
8577 (getLists): layout as layout
8579 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8581 * CutAndPaste.C (cutSelection): layout as layout
8582 (pasteSelection): layout as layout
8583 (SwitchLayoutsBetweenClasses): layout as layout
8585 * BufferView_pimpl.C (Dispatch): layout as layout
8586 (smartQuote): layout as layout
8588 * BufferView2.C (unlockInset): layout as layout
8590 2002-06-24 André Pönitz <poenitz@gmx.net>
8592 * lyxfunc.C: fix #487
8594 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8598 * lyxfunc.C: remove display_shortcuts, show_banner
8600 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8602 * Buffer_pimpl.C: oops, update on resize
8604 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8611 * BufferView.C: use repaint()
8613 * BufferView_pimpl.h:
8614 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8615 as it's a clearer description. Remove superfluous
8618 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8620 * text.C: fix bug 488. Not ideal, but getting
8621 getWord() to work properly for the insets that
8622 matter is more difficult ...
8624 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8626 * BufferView_pimpl.C:
8629 * lyxfunc.C: remove the six million index lyxfuncs to just
8630 one, and DTRT (bug 458)
8632 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8636 * BufferView_pimpl.h:
8637 * BufferView_pimpl.C: clean up resize() stuff,
8638 and unnecessary updateScreen()s
8640 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8644 * BufferView_pimpl.h:
8645 * BufferView_pimpl.C:
8648 * minibuffer.C: remove focus management of workarea,
8649 not needed. Use screen's greyOut()
8651 2002-06-17 Herbert Voss <voss@lyx.org>
8653 * converter.C: (convert) do not post a message, when converting
8654 fails, let the calling function decide what to do in this case
8656 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8658 * lyxfunc.C: tidy up a little
8660 2002-06-16 <alstrup@diku.dk>
8662 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8663 Got rid of FORMS_H_LOCATION include. Now we are
8666 2002-06-15 LyX Development team <lyx@rilke>
8668 * buffer.[Ch] (sgmlOpenTag):
8669 (sgmlCloseTag): Added support for avoiding pernicious mixed
8670 content. Return number of lines written.
8673 (makeDocBookFile): Fixed calls to sgml*Tag.
8674 Simple white space clean.
8676 (simpleDocBookOnePar): Simple white space clean.
8678 * tabular.[Ch] (docBook): Renamed to docbook and got another
8679 argument to related with the pernicious mixed content.
8681 (docbookRow): Fixed calls for docbook inset method.
8683 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8685 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8686 so it's X11 independent.
8690 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8692 2002-06-15 Lyx Development team <lyx@electronia>
8694 * intl.h: Renamed getTrans to getTransManager.
8696 2002-06-14 Angus Leeming <leeming@lyx.org>
8698 * Makefile.am: nuke forgotten stl_string_fwd.h.
8700 2002-06-12 Angus Leeming <leeming@lyx.org>
8702 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8704 2002-06-13 Angus Leeming <leeming@lyx.org>
8707 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8709 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8711 * kbmap.C (getiso): add support for cyrillic and greek
8713 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8717 * BufferView_pimpl.h:
8718 * BufferView_pimpl.C: move bogus scrolling logic
8721 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8724 * BufferView_pimpl.C: view->resize() change
8726 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8728 * BufferView_pimpl.C: topCursorVisible
8731 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8735 * lyx_gui.C: move to frontends/
8739 * lyx_main.C: changes from above
8741 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8748 * lyx_main.C: minor tidy
8750 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8752 * BufferView_pimpl.h:
8753 * BufferView_pimpl.C:
8755 * BufferView.C: make painter() const,
8758 * BufferView2.C: use screen() accessor
8761 * lyx_main.C: some minor cleanup
8763 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8765 * BufferView_pimpl.h:
8766 * BufferView_pimpl.C: remove enter/leaveView,
8769 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8774 * BufferView_pimpl.h:
8775 * BufferView_pimpl.C: only construct screen once,
8778 * lyxrc.C: remove pointless comment
8780 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8783 * BufferView.C: remove active() and belowMouse()
8785 * BufferView_pimpl.h:
8786 * BufferView_pimpl.C: use workarea() not workarea_,
8787 and make it use a scoped_ptr instead
8789 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8791 * lyx_gui.C: add debug message on BadWindow
8793 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8795 * sp_spell.C: fdopen is not part of the C++ standard.
8797 * paragraph.C (InsetIterator): use >= instead of ==
8799 2002-06-07 Angus Leeming <leeming@lyx.org>
8801 Fixes needed to compile with Compaq cxx 6.5.
8802 * BufferView_pimpl.C:
8809 * lyxtextclasslist.C:
8814 all c-library variables have been moved into namespace std. Wrap
8815 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8820 Add a using std::abs declaration.
8822 * kbmap.h (modifier_pair):
8823 * paragraph.h (InsetTable, InsetList):
8824 * lyxfont.h (FontBits):
8825 type definition made public.
8827 * bufferlist.C (emergencyWriteAll): the compiler complains that
8828 there is more than one possible lyx::class_fun template to choose from.
8829 I re-named the void specialisation as lyx::void_class_fun.
8831 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8833 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8834 the compiler is is unable to find tostr in write_attribute.
8836 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8838 * buffer.C (sgmlError): hide #warning
8840 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8842 * xtl/*: get rid of xtl, which is not in use anyway
8844 * LyXAction.C (init):
8845 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8846 were unimplemented xtl experimentation
8848 2002-06-04 André Pönitz <poenitz@gmx.net>
8850 * lyxfunc.C: disable array operation on simple formulae
8852 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8854 * converter.C: constify a bit
8856 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8858 * lyx_gui.C: check xforms version correctly
8860 2002-04-30 Herbert Voss <voss@lyx.org>
8862 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8865 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8867 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8868 attempt to register it with a VCS)
8870 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8872 * lyx_main.C (init): honor variables LYX_DIR_13x and
8875 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8879 * lyx_main.C: fix a crash on bad command line,
8880 and give a useful exit status on error
8882 * lyxfunc.C (doImport): allow -i lyx to work
8884 2002-03-30 André Pönitz <poenitz@gmx.net>
8886 * lyxfunc.C: mathed font changes
8888 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8903 * trans_mgr.h: srcdocs, and some minor cleanups
8905 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8907 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8908 call getFont all the time)
8910 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8912 * switch from SigC signals to boost::signals
8914 2002-05-29 André Pönitz <poenitz@gmx.net>
8916 * paragraph_pimpl.C (getChar): don't call size() too often...
8918 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8920 * paragraph_pimpl.C (insertChar): do not try to update tables when
8921 appending (pos == size())
8923 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8924 in order to reduce drastically the number of comparisons needed to
8925 parse a large document
8927 2002-05-29 André Pönitz <poenitz@gmx.net>
8933 * textclasslist.[Ch]:
8934 * sp_ispell.h: whitespace change
8936 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8938 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8939 lyxaction directly now.
8941 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8945 * lyxvc.C: remove unused headers
8947 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8954 * undo_funcs.C: some cleanups. Use shared_ptr
8955 and a template for the undo stacks.
8957 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8959 * BufferView_pimpl.h:
8960 * BufferView_pimpl.C:
8967 * text2.C: use key_state/mouse_state
8969 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8971 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8974 * chset.C: change include order
8975 (loadFile): use boost regex and get rid of LRegex and LSubstring
8977 * Makefile.am (BOOST_LIBS): new variable
8980 * LaTeX.C: change include order.
8981 (scanAuxFile): use boost regex and get rid of LRegex and
8985 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8990 * FontInfo.C: moved to frontends/xforms/
8993 * FontLoader.C: moved into frontends for GUIIzation
8998 * lyxfunc.C: changes from above
9000 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9002 * LColor.C: remove spurious X include
9004 * BufferView_pimpl.C:
9009 * text2.C: move font metrics to frontends/
9011 2002-05-24 Juergen Vigna <jug@sad.it>
9013 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9014 setting the undo_cursor.
9016 * ParagraphParameters.h: include local includes first.
9018 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9020 * BufferView_pimpl.C:
9021 * BufferView_pimpl.h:
9025 * screen.C: move WorkArea into frontends/
9031 * BufferView2.C: move LyXScreen into frontends/
9035 * lyx_gui.C: move lyxlookup into frontends/xforms/
9037 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9040 * BufferView_pimpl.C:
9050 * bufferview_funcs.C:
9063 * vc-backend.C: move LyX/XFormsView into frontends/
9065 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9077 * text2.C: move Painter to frontends/
9079 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9081 * buffer.C: comment out some some code that depend upon lyx_format
9084 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9085 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9087 * buffer.h (NO_COMPABILITY): turn off compability
9089 * ColorHandler.C: include scoped_array.hpp
9091 * font.C: Use more specific smart_ptr header.
9094 * ShareContainer.h: ditto
9098 * BufferView_pimpl.h: ditto
9099 * ColorHandler.h: ditto
9101 * kbmap.C (defkey): change call to shared_ptr::reset
9103 2002-05-21 Juergen Vigna <jug@sad.it>
9105 * buffer.C (insertErtContents): fix to insert ert asis if it is
9106 non empty. Skip it completely if it contains only whitespaces.
9108 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9110 * BufferView_pimpl.C:
9111 * BufferView2.C: clear selection on paste (bug 393)
9113 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9115 * DepTable.C: include ctime
9117 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9119 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9121 2002-05-14 Juergen Vigna <jug@sad.it>
9123 * text.C (breakParagraph): fixed function to honor the keepempty
9124 layout in the right maner and also to permit the right breaking
9125 algorithm on empty or non empyt keepempty paragraphs.
9127 * paragraph.C (breakParagraph): we have to check also if the par
9128 is really empty (!size()) for isempty otherwise we do the wrong
9131 2002-05-10 Juergen Vigna <jug@sad.it>
9133 * buffer.[Ch] : The following are only changes to the ert
9134 compatibility read reading old LaTeX layout and font stuff and
9135 convert it to ERTInsets.
9137 * buffer.h: added isErtInset().
9139 * buffer.C (struct ErtComp): add a fromlayout bool to check
9140 if we're inside a LaTeX layout.
9141 (isErtInset): new helper function.
9142 (insertErtContents): look for other ert insets before this one
9143 and insert the contents there, so that we don't have subsequent
9144 ERT insets with nothing between them. This way we create only one
9145 inset with multiple paragraphs. Also check if we don't insert only
9146 spaces ' ' as they are ignored anyway afterwards in the .tex file
9147 so if we have only spaces we will ignore this latex part in the
9149 (parseSingleLyXformat2Token \\layout): better compatibility when
9150 reading layout-latex stuff.
9151 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9153 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9154 stuff after reading the inset only get the information back from
9157 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9159 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9161 * LaTeXFeatures.C (getBabelOptions): New method.
9163 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9165 * BufferView_pimpl.C (Dispatch): work around missing argument for
9168 2002-05-08 Juergen Vigna <jug@sad.it>
9170 * text.C (leftMargin): handle paragraph leftindent.
9172 * paragraph.C (writeFile): write the new \\leftindent tag.
9173 (validate): handle leftindent code.
9174 (TeXEnvironment): handle paragraphleftindent code again.
9176 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9178 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9179 for paragrap_extra indent code and new token \\leftindent.
9180 (latexParagraphs): handle the leftindent as environment.
9182 * ParameterStruct.h: added leftindent support.
9184 * ParagraphParameters.C (leftIndent): added support functions for
9185 the paragraph left indent.
9187 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9190 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9192 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9195 * text.C (computeBidiTables): No bidi in insetERT.
9197 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9200 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9202 * version.C.in: pre 5
9204 2002-05-02 José Matos <jamatos@fep.up.pt>
9205 * buffer.C (makeDocBookFile): white space changes, add newline to
9207 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9209 * tabular.C (docBook): fix typo.
9211 2002-05-03 Juergen Vigna <jug@sad.it>
9213 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9214 change in LyXText as we can not be sure it was not freed.
9215 (drawOneRow): remove unused code.
9217 * text.C (drawInset): redo the calculation of the need_break_row as
9218 it could have a row which was already freed.
9219 (draw): look at the return value of drawInset and return false if
9220 it also returned false.
9221 (paintRowText): look at the return value of draw and return false if
9222 it also returned false.
9224 * lyxtext.h: added bool return type to drawInset() and draw() so that
9225 if we have a change in the row so that the rowbreak has to be redone
9226 we abort drawing as it will be called again.
9228 2002-05-02 Juergen Vigna <jug@sad.it>
9230 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9231 a change in the maintext also if we're inside an inset.
9232 (Dispatch): set the cursor again after a break line and after the
9233 screen has been updated as it could be we're in a different row.
9235 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9236 to set the cursor behind the pargraph with > size().
9237 (setCursor): check also for the same paragraph when checking where
9238 to put the cursor if we have a NFR inset.
9240 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9241 parts of layout read further up as it still was in the wrong
9244 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9246 * screen.C (drawFromTo): change sine fullRebreak always return
9249 * buffer.C (parseSingleLyXformat2Token): reindent some
9251 * BufferView_pimpl.C (update): change since fullRebreak always
9253 (Dispatch): git rid of the last hardcoded "Standard"s.
9255 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9257 * text2.[Ch] (fullRebreak): make it return void now that we always
9260 2002-04-30 Juergen Vigna <jug@sad.it>
9262 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9263 ert compatibility check for "latex" layout.
9265 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9267 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9268 minipages: use col% instead of p%, and also use the current font.
9269 (makeLaTeXFile): Fix use babel condition.
9270 (parseSingleLyXformat2Token): Correct font when reading old floats.
9272 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9274 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9275 inserting list of floats.
9277 2002-04-25 Herbert Voss <voss@lyx.org>
9279 * MenuBackend.C (expand): don't add the graphics extensions to the
9282 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9284 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9285 non-existing layout, do not complain if it was the default layout
9286 of the original class (bug #342)
9288 2002-04-24 Juergen Vigna <jug@sad.it>
9290 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9291 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9293 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9295 * buffer.C (getBibkeyList): If using \bibliography, return the
9296 option field with the reference itself. Enables us to provide natbib
9297 support when using \bibliography.
9299 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9301 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9303 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9304 natbib is provided by the LaTeX class.
9306 2002-04-23 Juergen Vigna <jug@sad.it>
9308 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9311 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9313 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9315 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9317 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9318 ensuremath around textordmasculine, textordfeminine and
9321 2002-04-19 Juergen Vigna <jug@sad.it>
9323 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9324 reinitializing the buffer otherwise row-dimensions may be wrong.
9325 (update): reset also the selection cursors if they do exits otherwise
9326 their x/y positions may be wrong.
9328 * text2.C (cursorDown): don't enter the inset if we came from a row
9329 above and are one row over the inset.
9331 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9332 really leaving an inset.
9334 2002-04-18 Juergen Vigna <jug@sad.it>
9336 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9337 of the selected paragraph does not have the selected layout also if
9340 * text2.C (setLayout): fixed bug which did not change last selected
9343 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9344 changed the read and substituted \\end_float with \\end_inset!
9346 * BufferView_pimpl.C (cursorPrevious):
9347 (cursorNext): fixed to make it work with rows heigher than the work
9348 area without moving the cursor only the draw of the row.
9349 (workAreaMotionNotify): fix jumping over high rows.
9351 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9353 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9356 2002-04-16 Juergen Vigna <jug@sad.it>
9358 * text2.C (setCursor): set also the irow().
9359 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9361 (cursorDown): support for locking an inset if the x_fix value goes
9362 inside it. That way I can transverse insets too with cursor up/down.
9364 * lyxrow.h: added irow helper function same as other (i) functions.
9366 * BufferView_pimpl.C (cursorPrevious):
9367 (cursorNext): fixed for insets!
9369 2002-04-15 Juergen Vigna <jug@sad.it>
9371 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9372 position otherwise it is wrong in some cases.
9374 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9375 inside the inset before the call.
9377 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9379 * buffer.[Ch] (getBibkeyList): make it const.
9381 2002-04-12 Juergen Vigna <jug@sad.it>
9383 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9385 * text2.C (getCursorX): new helper function
9386 (setCursor): compute also ix_
9387 (setCursorFromCoordinates): set also ix.
9389 * lyxcursor.h: added ix_ and helper functions.
9391 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9393 * buffer.C (insertStringAsLines): dont break paragraph if the this
9394 paragraph is inside an inset which does not permit it!
9396 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9397 also with no chars on this paragraph.
9398 (paintRowText): only paint stuff if it's inside the workarea!
9400 * paragraph.C (breakParagraph): honor keepempty flag and break the
9401 paragraph always below not above.
9403 * BufferView2.C (unlockInset): update the paragraph layout on inset
9404 unlock as we changed paragraph in such a case.
9406 * lyxfind.C (LyXFind): clear the former selection if not found!
9408 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9409 again called in insertChar().
9411 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9412 an inset which uses the whole row!
9413 (rightMargin): ditto.
9414 (insertChar): force a rebreak if we inserted an inset!
9416 2002-03-28 Herbert Voss <voss@lyx.org>
9418 * lyxlength.[Ch]: add inBP() to get the right PS-point
9419 units (BigPoint). With inPixels we have rounding errors
9421 2002-04-11 Juergen Vigna <jug@sad.it>
9423 * text2.C (setCursorFromCoordinates): set iy to the right value.
9424 (setCursor): add check if row->previous exists!
9426 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9427 an old float_type as this was the case in the old code!
9429 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9431 * BufferView2.C (showLockedInsetCursor): use iy
9432 (fitLockedInsetCursor): ditto
9434 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9435 locked insets as there we have the right value now.
9437 * lyxcursor.C: added iy_ variable and iy functions to set to the
9438 baseline of cursor-y of the locked inset.
9440 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9441 (setCursor): fixed for insets which need a full row.
9443 * text.C (rowLastPrintable): don't ignore the last space when before
9444 an inset which needs a full row.
9445 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9446 as last character of a row when before a inset which needs a full row.
9448 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9450 * version.C.in: update date
9452 * text2.C (fullRebreak): try to always return true and see what
9455 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9457 * MenuBackend.C (expand): use Floating::listName
9459 * FloatList.C (FloatList): add listName argument to the built-in
9462 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9463 text associated with the float.
9465 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9467 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9469 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9471 * ShareContainer.h: add a couple of missing typenames.
9473 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9475 * lyxrc.C (getDescription): use _() correctly rather than N_().
9477 2002-03-28 Herbert Voss <voss@lyx.org>
9479 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9480 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9482 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9484 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9485 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9487 2002-03-29 Juergen Vigna <jug@sad.it>
9489 * lyxfunc.C (dispatch): add a missing fitCursor call.
9491 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9492 it was scrolled by a cursor move, so return the bool status.
9494 * BufferView.C (fitCursor): return the bool flag also to the outside
9495 world as this is needed.
9497 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9499 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9500 call the edit() as it is not needed (and wrong) IMO.
9501 (workAreaButtonPress): set the screen_first variable before evt.
9502 unlock the inset as this may change screen_first and then we have
9503 a wrong y position for the click!
9505 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9507 * MenuBackend.C (expand): another translation that I missed
9509 2002-03-28 Juergen Vigna <jug@sad.it>
9511 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9513 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9515 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9517 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9519 * MenuBackend.C (expand): fix export/view/update when there is no
9522 2002-03-27 Herbert Voss <voss@lyx.org>
9524 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9527 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9529 * bufferview_funcs.C (currentState): only show paragraph number
9530 for is DEVEL_VERSION is set.
9532 * lyxfunc.C (dispatch): put warning in INFO channel
9534 * MenuBackend.C (expand): translate the name of floats
9536 * FloatList.C (FloatList): mark the float names for translation
9538 * converter.C (convert): use LibScriptSearch
9540 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9542 * MenuBackend.C (defaults): fix default menu (we might as well get
9545 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9547 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9550 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9552 * lyxvc.C: reorder includes.
9554 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9556 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9559 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9561 * CutAndPaste.C: change layouts earlier on paste
9562 to avoid crashing when calling getFont()
9564 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9566 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9569 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9571 * WorkArea.C: remove 'Pending' debug message.
9573 * most files: ws cleanup
9575 * buffer.[Ch]: ws changes
9577 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9579 2002-03-21 Juergen Vigna <jug@sad.it>
9581 * tabular.C (SetMultiColumn): collapse also the contents of the
9582 cells and set the last border right. Added a Buffer const * param.
9584 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9586 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9589 2002-03-19 Juergen Vigna <jug@sad.it>
9591 * text2.C (clearSelection): reset also xsel_cache.
9593 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9594 where it needs to be called (John tells us to do so too :)
9595 (selectionLost): reset sel_cache.
9597 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9599 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9601 * text2.C (setCursorIntern): put debuging code in INSETS channel
9603 2002-03-19 André Pönitz <poenitz@gmx.net>
9605 * lyxfunc.C: tiny whitespace change
9607 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9609 * ToolbarDefaults.C (init):
9610 * LyXAction.C (init):
9612 * BufferView_pimpl.C (Dispatch):
9613 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9615 2002-03-19 Allan Rae <rae@lyx.org>
9617 * exporter.C (Export): removeAutoInsets before doing anything else.
9618 While I've just introduced a dependency on BufferView this really is
9619 the best place to clean the buffer otherwise you need to cleanup in
9620 a dozen places before calling export or cleanup in a dozen functions
9623 * converter.C (runLaTeX):
9624 (scanLog): Better handling of removeAutoInsets and screen updates.
9626 * lyxfunc.C (dispatch): small whitespace changes
9628 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9630 * WorkArea.C (C_WorkAreaEvent): return a value.
9631 (event_cb): return 1 if we handled the event, 0 otherwise.
9633 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9635 2002-03-18 Juergen Vigna <jug@sad.it>
9637 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9638 (GetAdditionalWidth): ditto.
9642 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9643 inset if we're there actually (probably not used right now but this
9644 is the direction to go for unifying code).
9645 (paste): disable code to clear the selection.
9647 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9648 inside an InsetText and move the check further up as it is in the
9651 * text2.C (pasteSelection): set a selection over the pasted text.
9653 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9655 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9656 and libgraphics to build on Cygwin.
9658 2002-03-15 Juergen Vigna <jug@sad.it>
9660 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9661 inserting an Inset into the paragraph. I know this is not the best
9662 fix but we already use current_view in CutAndPaste so we will remove
9663 all of it's using at the same time.
9665 * buffer.C (sgmlError): deactivated function till it is rewritten in
9666 the right mode, now it can create problems.
9668 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9669 before accessing it.
9671 2002-03-14 Juergen Vigna <jug@sad.it>
9673 * undo_funcs.C (textHandleUndo): do the right thing when updating
9674 the inset after the undo/redo.
9676 * text2.C (setCursor): just some testcode for #44 not ready yet.
9678 * undo_funcs.C (textHandleUndo): set the next() and previous()
9679 pointers of the paragraph to 0 before deleting otherwise we have
9680 problems with the Paragraph::[destructor].
9682 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9683 on a paragraph insertion.
9685 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9687 * buffer.C (asciiParagraph): use += operator for char append to
9690 * paragraph.C (getFontSettings): compare >= not just >
9691 (highestFontInRange): ditto
9694 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9696 * paragraph.C: change several algorithm to be more appripriate for
9697 the problem domain. This is lookip in FontList and in the InsetList.
9699 2002-03-13 André Pönitz <poenitz@gmx.net>
9702 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9704 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9709 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9711 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9713 * Painter.C (display): anon helper function, adjust code for this
9715 (pixmap): remove function.
9717 * Painter.h: remove private display variable.
9719 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9721 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9723 * WorkArea.[Ch]: remove figinset_canvas cruft.
9725 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9727 * lyxtextclass.C (operator): add one item cache optimization.
9729 * bufferlist.h: doxy changes
9731 * bufferlist.C: ws changes
9733 * DepTable.[Ch] (ext_exist): place const in the right spot.
9735 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9737 (workAreaExpose): call resizeInsets when the with BufferView changes.
9738 (Dispatch): adjust for protectedBlank removal
9739 (specialChar): call updateInset if the insert went ok.
9741 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9742 specialChar instead.
9744 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9746 * BufferView.h: doxy change
9748 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9750 * lyxtextclass.C (operator[]): remove non-const version
9751 (defaultLayout): remove non-const version
9753 2002-03-12 Juergen Vigna <jug@sad.it>
9755 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9756 did resize the LyXText too.
9758 * buffer.C (readLyXformat2): set layout information on newly allocated
9761 * tabular.C (OldFormatRead): set layout information on the paragraph.
9763 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9765 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9767 2002-03-11 Juergen Vigna <jug@sad.it>
9769 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9771 (resizeCurrentBuffer): force also the insets to resize themselfes.
9772 (moveCursorUpdate): fixed up for InsetText.
9774 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9777 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9778 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9779 value of Dialogs::tooltipsEnabled().
9780 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9782 2002-03-08 Juergen Vigna <jug@sad.it>
9784 * BufferView_pimpl.C (updateInset): update inset inside inset also
9785 if it isn't inside theLockingInset().
9787 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9789 * buffer.C (asciiParagraph): redo some of the word and line length
9791 (getLists): look for Caption instead of caption.
9793 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9795 * buffer.C (Buffer): initialize niceFile to true
9798 (makeDocBookFile): make sure niceFile is true on exit
9800 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9802 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9804 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9806 * LyXSendto.C: remove.
9807 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9808 * lyx_gui.C: remove now-redundant comment.
9809 * ColorHandler.h: remove forward declaration of class WorkArea.
9810 * lyxfunc.C: remove #include "WorkArea.h".
9812 2002-03-07 Juergen Vigna <jug@sad.it>
9814 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9815 got moved away with the DEPM and also set the inset_owner always
9816 right which before could have been omitted.
9818 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9820 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9821 wanted layout is not found.
9823 2002-03-07 Juergen Vigna <jug@sad.it>
9825 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9827 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9829 * paragraph.C (breakParagraph): use default layout not layout of
9831 (Paragraph): clear ParagraphParameters.
9833 2002-03-06 Juergen Vigna <jug@sad.it>
9835 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9836 otherwise it would not be a valid lenght. Fixed a special case in
9837 the minipage compatibility read where we end the document with a
9840 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9841 was set as it could be 0 for InsetTexts first entry.
9843 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9845 * paragraph.C (writeFile): if layout is empty write out
9846 defaultLayoutName().
9848 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9849 file without named layout we set layout to defaultLayoutName().
9851 2002-03-06 Juergen Vigna <jug@sad.it>
9853 * CutAndPaste.C (copySelection): set layout for new paragraph.
9855 * text.C (prepareToPrint): leave ERT inset left aligned
9856 (leftMargin): don't indent paragraphs inside ERT insets
9858 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9860 * paragraph.C (breakParagraph): dont call clear do the work manually
9862 * paragraph.[Ch] (clear): remove function
9864 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9866 * paragraph.C (Paragraph): dont call clear, the work has already
9869 * lyxtextclass.C (operator): assert if n is empty
9871 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9872 work manually instead.
9874 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9876 * BufferView_pimpl.C: protect selectionLost against text == 0
9878 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9880 * text.C (breakParagraph): fix a setting layout to '0' problem.
9882 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9884 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9885 final location of file, for the included files, and graphics.
9887 2002-03-05 Juergen Vigna <jug@sad.it>
9889 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9891 2002-03-04 Juergen Vigna <jug@sad.it>
9893 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9895 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9896 last column of multicolumn cells.
9897 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9899 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9901 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9902 file if it doesn't go to a temporary file.
9904 * buffer.C (sgmlOpenTag):
9905 (sgmlCloseTag): remove extra newline insertion.
9907 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9909 * text.C (getRowNearY): comment out debug msg
9911 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9913 * text2.C: first -> first_y
9915 * text.C (getRowNearY): add some attemts at a possible
9916 optimization, not working.
9918 * tabular.[Ch]: add BufferParams to several function so that newly
9919 created paragraph can be initialized to he default layotu for the
9922 * tabular-old.C (ReadOld): add buf->params to call of Init
9924 * screen.C: rename text->first to text->first_y
9926 * paragraph.C (breakParagraph): always set layout in the broken
9929 * lyxtextclass.C (Read): remove lowercase
9932 (delete_layout): ditto
9934 * lyxtext.h: rename first -> first_y
9936 * lyxlayout.C (Read): remove lowercase
9939 (obsoleted_by): ditto
9941 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9943 * buffer.C (insertErtContents): add params are to InsetERT
9944 (parseSingleLyXformat2Token): add code to check if a paragraphs
9945 layout really exist.
9946 (parseSingleLyXformat2Token): add params to several inset
9948 (asciiParagraph): remove lowercase, do the layout comparisons with
9951 * BufferView_pimpl.C (cursorNext): first -> first_y
9952 (resizeCurrentBuffer): first -> first_y
9953 (updateScrollbar): first -> first_y
9954 (scrollCB): first -> first_y
9955 (workAreaMotionNotify): first -> first_y
9956 (workAreaButtonPress): first -> first_y
9957 (checkInsetHit): first -> first_y
9958 (cursorPrevious): first -> first_y
9959 (cursorNext): first -> first_y
9960 (Dispatch): add buffer_->params to severl inset contructors
9962 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9964 * lyxlayout.C (Read): remove some debug info that I forgot.
9966 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9967 clean up the code slightly.
9968 (makeLinuxDocFile): ditto
9969 (makeDocBookFile): ditto
9971 * text2.C: layout as string
9973 * text.C: layout as string
9975 * paragraph_pimpl.C: layout as string
9977 * paragraph.[Ch]: layout as string
9979 * lyxtextclasslist.[Ch]: layout as string
9981 * lyxtextclass.[Ch]: layout as string
9983 * lyxtext.h: layout as string
9985 * lyxlayout.[Ch]: layout as string
9987 * lyx_cb.C: layout as string
9989 * bufferview_funcs.C: layout as string
9991 * bufferparams.C: layout as string
9993 * buffer.C: layout as string
9995 * LyXView.[Ch]: layout as string
9997 * LaTeXFeatures.[Ch]: layout as string
9999 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10001 * BufferView_pimpl.C: change current_layout to string, remove
10006 (workAreaButtonRelease): layout as string
10008 * BufferView2.C (unlockInset): adjust
10010 * vspace.C (asLatexCommand): use an explict temp variable.
10012 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10014 * Makefile.am: use FRONTEND_*
10016 2002-03-01 Juergen Vigna <jug@sad.it>
10018 * tabular.C (SetWidthOfMulticolCell): changed to something better
10019 I hope but still work in progress.
10020 (recalculateMulticolumnsOfColumn): renamed function from
10021 recalculateMulticolCells as it is more appropriate now.
10022 (SetWidthOfCell): calculate multicols better.
10024 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10026 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10028 * lyxfunc.C (processKeySym): print sequence also if it is
10029 `deleted' (complete)
10031 * kbsequence.C (print): print sequence even if it is deleted
10032 (complete would be a better word, actually).
10034 * lyxfunc.C (dispatch): print complete options after a prefix key
10036 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10038 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10040 * text2.C (setCharFont): eliminate setCharFont code duplication.
10042 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10044 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10045 LFUN_TABULAR_FEATURE (bug #177)
10047 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10049 * Makefile.am: remove figure.h
10051 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10053 * Bufferview_pimpl.C:
10065 * text2.C: remove #include "lyx_gui_misc.h".
10067 * LaTeX.C: added #include <cstdio>
10069 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10071 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10072 that the paragraph following this one can have.
10074 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10076 * vspace.C (asLatexCommand): fix bogus gcc warning
10078 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10080 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10082 * text2.C (setLayout): get rid of redundant code
10084 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10086 * text2.C (incDepth): make sure depth cannot be increased beyond
10089 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10091 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10092 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10094 * PainterBase.h (image):
10095 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10096 a LyXImage const *.
10098 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10102 * BufferView_pimpl.C:
10103 * BufferView_pimpl.h:
10123 * sp_spell.C: remove fig inset, and the crap house of
10124 cards that follows it
10126 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10131 * os2_errortable.h:
10132 * nt_defines.h: move .h into support/
10134 * vms_defines.h: remove
10136 * WorkArea.C: add space in debug output
10140 * buffer.C: add WITH_WARNINGS
10144 * bufferlist.C: s/retrive/retrieve/, add docs
10153 * chset.C: add docs
10155 * lyxgui.C: add ID to X error handler
10157 * lyxtestclass.c: fix typo
10159 2002-02-26 Juergen Vigna <jug@sad.it>
10161 * tabular_funcs.C (write_attribute): changed so that some default
10162 attributes are not written at all.
10163 (getTokenValue): set default values before trying to read the
10164 value so we have the return value always set as default if we don't
10165 find the token we search for.
10167 * tabular.C (Write): write bools as bools not as strings!
10169 2002-02-22 Juergen Vigna <jug@sad.it>
10171 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10172 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10174 * text.C (leftMargin): don't add an indent for paragraphs inside
10175 tabular cells (fix #208).
10177 2002-02-21 José Matos <jamatos@fep.up.pt>
10179 * tabular.C (docBook): fixed support for long tables.
10181 2002-02-20 Juergen Vigna <jug@sad.it>
10183 * text2.C (getFont): get the drawing font of the Inset if this
10184 paragraph is inside an inset (only important for InsetERT for now).
10186 * buffer.C (insertErtContents): use new lanugage params in ERT
10189 * CutAndPaste.C: commenting out seemingly uneeded code.
10191 2002-02-19 Allan Rae <rae@lyx.org>
10193 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10194 Iterators might be simple to use but they also get invalidated.
10195 (removeAutoInsets): renamed saved cursor tracking variables and added
10196 some comments to clarify what everything does.
10198 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10205 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10206 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10209 * vc-backend.h: remove #include "support/syscall.h"
10213 * converter.C: rearrange #includes in Lars' approved fashion.
10215 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10216 forward declare class Timeout in the header file.
10218 * XFormsView.C: changes due to the above.
10220 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10221 similar to LyXView.
10223 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10224 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10226 2002-02-18 José Matos <jamatos@fep.up.pt>
10228 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10231 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10233 * a lot of small ws changes
10234 * add a lot of using std::XXX
10235 * use std construcs some places where approp.
10236 * use some exisint stuff from lyxfunctional where approp.
10237 * Make file changes to use partial linking (lets test this now...)
10239 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10243 remove #include "support/syscontr.h" as it's redundant. Always has been.
10251 change Systemcalls::System to Systemcalls::Wait and
10252 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10253 No change of functionality, just reflects the stripped down Systemcalls
10256 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10258 * debug.[Ch]: add a GRAPHICS type to the enum.
10260 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10262 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10264 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10267 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10269 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10270 match the changes below.
10272 * text2.C (toggleInset): if there is not editable inset at cursor
10273 position, try to see if cursor is _inside_ a collapsable inset
10276 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10278 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10279 document menu has a nice checkbox
10281 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10283 * lyxlength.C (asLatexString): change PW to output as percent of
10286 * lengthcommon.C: change '%' to 't%'
10288 * lyxfunc.C (dispatch): a few comments from Martin
10290 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10294 * BufferView_pimpl.h:
10295 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10298 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10300 * vspace.C (inPixels): fix compiler warning
10302 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10304 * lyxfunc.C (getStatus): fix status message for disabled commands.
10306 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10308 * BufferView_pimpl.C: fix crash on close buffer
10309 during selection (#227)
10311 2002-01-27 Herbert Voss <voss@lyx.org>
10313 * buffer.C: link old Figure to new graphic inset
10315 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10317 * FontLoader.C (getFontinfo): Change the latex font names in order
10318 to match the names of type1inst.
10320 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10322 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10324 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10325 (extchanged): ditto
10327 (remove_files_with_extension): ditto
10328 (remove_file): ditto
10331 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10332 document is smaller than the work area height. Do not initialize
10333 static variables to 0.
10335 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10337 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10339 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10340 LFUN_LAYOUT_PARAGRAPHS.
10342 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10343 tabular. It is possible to provide a possible cell, which will
10344 typically be the actcell from the corresponding insettabular
10346 * lyxfunc.C (getStatus): small cleanup; disable
10347 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10350 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10352 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10354 * paragraph.C (startTeXParParams):
10355 (endTeXParParams): new methods. The LaTeX code to
10356 start/end paragraph formatting
10357 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10358 empty (fixes bug #200)
10360 * vspace.C (inPixels): adapt to the change below
10361 (inPixels): [later] more cleanups (remove unused variables)
10363 * lyxlength.C (inPixels): change to use a width and a height as
10366 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10368 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10369 Replaced with \paperwidth
10371 * DepTable.C (insert): add std:: qualifier
10373 2002-01-18 Allan Rae <rae@lyx.org>
10375 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10378 * text.C (drawInset): Turned out I didn't know enough about how
10379 rebreaking worked. This fixes most of the redraw problems. I see
10380 an occasional cursor trail when a line is broken now and the cursor
10381 placement can seem out by a few pixels also after a rebreak.
10383 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10385 * buffer.C (parseSingleLyXformat2Token): update because minipage
10386 width is now a LyXLength
10388 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10390 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10393 2002-01-17 Juergen Vigna <jug@sad.it>
10395 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10397 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10398 is set correctly and the inset is updated correctly.
10400 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10402 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10403 the beginning of the loop.
10405 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10407 * lyxrc.C: improve help for use_scalable_fonts
10409 2002-01-17 Allan Rae <rae@lyx.org>
10411 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10413 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10415 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10416 make sure to set their inset_owner to the right value (bug #171)
10418 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10421 * DepTable.C: Implement mtime checking to reduce time spent doing
10424 2002-01-16 Juergen Vigna <jug@sad.it>
10426 * tabular.C (GetAdditionalHeight): one of error fixed.
10428 * lyxrc.C (output): small fix in writing use_pspell.
10430 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10432 * sp_base.h: #include LString.h
10434 2002-01-16 Allan Rae <rae@lyx.org>
10436 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10437 Can someone check this please?
10439 * text.C (drawInset): It was possible that p.row would be removed by
10440 breakAgainOneRow upsetting a few other settings. There may be another
10441 small tweak possible by setting need_break_row = 0 when p.row has been
10442 removed but I don't know enough about the logic here.
10444 2002-01-15 Allan Rae <rae@lyx.org>
10446 * text.C (insertChar): removed conditional truism.
10448 * BufferView2.C (removeAutoInsets): More tweaks.
10449 cur_par_prev could be a stray pointer. Check for trailing empty line
10450 in case last line was cur_par and only had an error inset on it.
10452 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10454 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10457 * vc-backend.C (most methods):
10458 * exporter.C (Export):
10459 * converter.C (convert):
10461 * LyXSendto.C (SendtoApplyCB):
10462 * lyxfunc.C (dispatch):
10466 * lyx_cb.C (AutoSave):
10468 * BufferView_pimpl.C (MenuInsertLyXFile):
10469 * buffer.C (runChktex): use Buffer::filePath().
10471 * buffer.h: rename filename to filename_; rename filepath to
10472 filepath_ and make it private
10473 (filePath): new method
10475 * buffer.C (writeFile): use fileName()
10478 * lyx_main.C (init): fix starting of LyX when the binary is a
10479 link from so,ewhere else.
10481 * minibuffer.C: include <cctype> for isprint
10483 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10485 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10486 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10487 name clash with InsetCollapsable's width function.
10489 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10491 * lastfiles.C: include <iterator>
10493 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10495 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10498 * buffer.C (makeLaTeXFile): ditto.
10499 Also make loop operation more transparent.
10501 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10503 * ToolbarDefaults.C: remove trailing comma closing namespace.
10505 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10507 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10510 * trans.C (Load): comment out unused variable, allowed.
10512 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10514 * minibuffer.[Ch] (append_char): new method to recieve input from the
10515 drop-down completion browser. If a key was pressed, then recieve this
10516 char and append it to the existing string.
10517 (peek_event): modify the positioning data passed to the completion
10518 browser so that it can be placed above the minibuffer rather than below.
10519 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10521 * LyXAction.C (init): alloe error-next for readonly documents.
10523 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10526 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10528 * bufferlist.C (readFile): create the buffer _after_ checking that
10531 * lyxfunc.C (verboseDispatch): fix handling of arguments
10533 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10535 * lyxrc.C: use string::erase() instead of initializing to "".
10538 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10540 * BufferView_pimpl.h:
10541 * BufferView_pimpl.C:
10544 * text2.C: tell X when we have made a selection for copying
10546 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10548 * BufferView_pimpl.C (MenuInsertLyXFile):
10549 * lyxfunc.C (menuNew):
10551 (doImport): add shortcuts to directory buttons
10553 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10556 * lyxfunc.C (setStatusMessage):
10557 (getStatusMessage): new methods
10558 (getStatus):use setStatusMessage instead of setErrorMessage
10559 (dispatch): when function is disabled, set error message here
10560 [instead of in getStatus previously]
10562 * BufferView_pimpl.C (workAreaButtonRelease): update
10563 toolbar/menubar here too.
10565 2002-01-13 Allan Rae <rae@lyx.org>
10567 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10568 Now seems indestructible. Remaining task is to audit all other
10569 code affected by deleteEmptyParagraphMechanism. One small quirk
10570 left is that an empty document with an error in the preamble can
10571 be made to report an error but no error box appears. I don't know
10573 (removeAutoInsets): Improved comments.
10575 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10578 * Thesaurus.C: update for Aiksaurus 0.14
10580 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10582 * text2.C (firstParagraph): removed member function, all uses
10583 replaces with ownerParagraph
10584 (redoParagraphs): here
10585 (updateInset): here
10586 (toggleAppendix): here
10587 * BufferView2.C (insertErrors): here
10588 (setCursorFromRow): here
10590 2002-01-13 Allan Rae <rae@lyx.org>
10592 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10593 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10594 There is still a way to segfault this although you may have to do this
10595 multiple times: Have an InsetERT with an unknown command in it.
10596 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10597 <down-arrow>, <Enter> again, View->DVI, BANG!
10599 * text2.C (setCursor):
10600 (deleteEmptyParagraphMechanism):
10601 * lyxtext.h (setCursor):
10602 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10603 Making use of the return value may help fix other bugs.
10605 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10607 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10609 * LyXView.C (updateMenubar): call MenuBar::update here
10610 (updateToolbar): but not here
10611 (showState): do not update toolbar/menubar
10613 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10614 should need to care about that.
10616 * lyxfunc.C (verboseDispatch): simplify a bit
10617 (getStatus): have a version which takes a pseudoaction, and
10618 another which requires a (kb_action,string).
10620 * LyXAction.C (retrieveActionArg): make it work also when action
10621 is not a pseudo-action.
10622 (getActionName): simplify a bit
10625 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10627 * lyxfunc.C (verboseDispatch): new families of methods with
10628 several ways to specify a command and a bool to indicate whether
10629 the command name and shortcut should be displayed in minibuffer
10630 (eventually, we could extend that to a finer bitmask like
10631 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10632 (dispatch): the pristine dispatch command which just, well,
10633 dispatchs! Note it still sets its result to minibuffer; I'm not
10636 * lyxfunc.h: remove setHintMessage
10638 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10640 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10642 * BufferView_pimpl.C (specialChar): delete new inset if we have
10643 not been able to insert it.
10645 * kbmap.C: revert to using int instead of kb_action, since all we
10646 are dealing with is pseudo-actions.
10648 * LyXAction.C (searchActionArg): change to return int instead of
10649 kb_action, since the result is a pseudoaction.
10651 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10653 * buffer.C (insertErtContents): Fix (partially) the font bug.
10655 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10657 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10658 as the other one is broken on my machine!
10660 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10663 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10665 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10667 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10668 reflect their actual use. Provide compatibility code for older lyxrc
10671 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10673 change names of popup font variables in line with the changes to lyxrc.C
10675 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10677 * buffer.C (asciiParagraph): avoid outputing a word twice after
10680 * lyxrc.C (getDescription): document that document_path and
10681 template_path can be empty.
10683 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10685 * LaTeXFeatures.C (getMacros):
10686 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10688 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10690 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10692 (getPackages): rename feature "floats" to "float". Use an array to
10693 iterate over 'simple' features (i.e. just a \usepackage). Add
10694 handling of "amsmath" (renamed from "amsstyle").
10696 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10698 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10701 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10703 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10704 FuncStaus::FuncStatus & FuncStaus::some_method().
10706 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10708 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10709 of the func_satus stuff. Edited and massaged in various ways by
10712 * lyxfunc.C (getStatus): use FuncStatus
10714 2002-01-08 Juergen Vigna <jug@sad.it>
10716 * text.C (nextBreakPoint): use function Inset::isChar().
10718 * paragraph.C (TeXOnePar): use function
10719 Inset::forceDefaultParagraphs.
10721 * buffer.C (latexParagraphs): use function
10722 Inset::forceDefaultParagraphs.
10724 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10726 * lyx_gui.C (init): set the style of the menu popups to
10727 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10729 2002-01-07 Juergen Vigna <jug@sad.it>
10731 * text.C (setHeightOfRow): small fix
10732 (prepareToPrint): don't look at alignment if we don't have the place
10735 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10737 * box.C: New file. Move the Box methods and functions out of box.h,
10738 following Lars' suggestion.
10740 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10742 * box.h: #include "support/LOstream.h", needed for inlined function.
10745 * lyxtextclasslist.C: added some using std declarations.
10747 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10749 * box.h: make signed dimensions to allow insets wider than
10750 the screen (bug #162)
10752 * BufferView_pimpl.C: add some insetHit debug
10754 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10756 * vc-backend.C: add FIXME
10758 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10760 * lyxfunc.C (getStatus): enable code for showing math font status
10763 2002-01-07 Juergen Vigna <jug@sad.it>
10765 * text.C (nextBreakPoint): removed debug output not needed anymore.
10767 2002-01-06 Juergen Vigna <jug@sad.it>
10769 * text.C (nextBreakPoint): fixed up this function we had this bug
10770 since ever but now hopefully we break row better.
10771 (insertChar): we have to check if an inset is the next char as it
10772 could now happen that a large inset is causing a break.
10774 2002-01-05 Juergen Vigna <jug@sad.it>
10776 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10777 if it doesn't like to be drawed.
10779 2002-01-04 Juergen Vigna <jug@sad.it>
10781 * BufferView2.C (lockInset): forgot to set a cursor.
10783 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10785 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10787 * FormMathsPanel.C:
10790 * form_maths_panel.C:
10791 * form_maths_panel.h:
10792 * form_maths_panel.fd: implemented sub- and super- buttons in math
10795 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10796 (or ^ space) to be used as in TeX (req'd by André).
10798 * lyxfunc.C: Allow ^ and _ again to be used both as
10799 super/subscript (mathed) and as themselves (in text).
10801 2002-01-03 Allan Rae <rae@lyx.org>
10803 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10804 "LyX" or the filename of the current buffer if it has one. This is a
10805 modified form of John Levon's patch.
10807 * XFormsView.C (setWindowTitle): also set icon title.
10809 * LyXView.h (setWindowTitle): signature changed.
10810 * XFormsView.h (setWindowTitle): ditto.
10812 2002-01-02 Juergen Vigna <jug@sad.it>
10814 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10816 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10818 * screen.C (topCursorVisible): introduce a temp var for
10819 text->cursor.row(), handle the case where this row is null. (kindo
10822 * text2.C (setCursor): add a couple of asserts.
10824 * paragraph.h (inset_iterator): add -> operator
10826 * paragraph.[Ch] (autoDeleteInsets): remove member function
10828 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10829 cursor pos correctly and handle inset deletion by itself.
10830 (insertErrors): move iterator declaration out of for expression
10832 * lyxtextclass.C: add <algorithm>
10834 * Makefile.am: added the new files to sources, removed layout.C
10836 * layout.C: removed file
10838 * layout.h: remove LYX_DUMMY_LAYOUT
10840 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10844 * lyxtextclass.[Ch]:
10845 * lyxtextclasslist.[Ch]: new files
10847 * include order changes to a lot of files, also changes because of
10850 2001-12-27 Juergen Vigna <jug@sad.it>
10852 * buffer.C (asciiParagraph): more fixes.
10854 * tabular.C (ascii): make ascii export support export of only the
10855 data separated by a column-delimiter.
10856 (ascii): better support for ascii export.
10858 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10860 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10862 * tabular_funcs.C: use a "using std::getline" instead of the
10863 previous fix from Angus (necessary for cxx + lyxstring)
10865 2001-12-24 Juergen Vigna <jug@sad.it>
10867 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10869 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10870 problems. First check a minipage also if we have some ert-contents
10871 (not only on par->size(), second set the right depth of the paragraph
10872 on the relink to the root-paragraph-list!
10874 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10875 which then did not anymore update the main paragraphs on undo/redo!
10877 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10879 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10880 code. Support all font-changing funcs (even those which are not in
10881 menu currently). Support for reporting font settings in
10882 mathed (disabled until Andre provides a function on mathed's side).
10884 * func_status.h (toggle): small helper function to set toggle
10887 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10889 * tabular_funcs.C: getline -> std::getline
10891 2001-12-21 Juergen Vigna <jug@sad.it>
10893 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10894 accessed and could be 0 (I couldn't generate this but it seems
10897 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10899 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10900 * tabular_funcs.h: here and include iosfwd
10902 2001-12-20 Juergen Vigna <jug@sad.it>
10904 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10905 inside inset but undo_par was.
10907 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10909 * Thesaurus.C: always include <config.h> in sources.
10913 * box.h: do not include <config.h> in header files
10915 * text.C (paintLastRow): remove unused variable
10917 * text.C (transformChar):
10919 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10921 * Painter.C (text):
10922 * font.C (width): rewrite to use uppercase() instead of
10925 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10927 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10929 * lyxfind.C: clean up of find failure position change
10931 2001-12-20 Juergen Vigna <jug@sad.it>
10933 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10935 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10936 (TeXRow): added to LaTeX a single tabular row.
10937 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10938 (Latex): simplified and finally good LT-h/f support.
10939 (various_functions): just small adaptions for LT-h/f support.
10941 * tabular_funcs.[hC]: added and moved here all not classfunctions
10944 2001-12-19 Juergen Vigna <jug@sad.it>
10946 * tabular.[Ch]: better support for longtabular options (not finished
10949 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10951 * text.C (paintLastRow): use the label font instead of the font of
10952 the last character to compute the size of *_BOX. This makes more
10953 sense and avoids a crash with empty paragraphs.
10954 Use Painter::rectangle to draw EMPTY_BOX.
10956 2001-12-19 Juergen Vigna <jug@sad.it>
10958 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10959 the paragraphs if the replaced paragraph is not the first one!
10960 Tried to delete not used paragraphs but does not work yet so for
10961 now it's inside #ifdef's and by default off!
10963 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10965 * MenuBackend.C: include "lyx_main.h" instead of declaring
10966 lastfiles (actually was declared as LastFiles* instead of a
10969 2001-12-17 Juergen Vigna <jug@sad.it>
10971 * tabular.C (AppendColumn): applied John's fix
10973 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10977 * BufferView_pimpl.h:
10978 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10981 * box.h: new start of class for above
10983 * lyxfunc.C: ignore space-only minibuffer dispatches.
10984 Show the command name when it doesn't exist
10986 * minibuffer.C: don't add empty lines to the history
10988 * minibuffer.C: add a space on dropdown completion
10990 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10992 * text.C: fix line above/below drawing in insets
10994 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10996 * lyxlength.C (LyXLength): Initialize private variables.
10998 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11000 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11001 when inserting error insets.
11003 2001-12-13 Juergen Vigna <jug@sad.it>
11005 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11006 actually sometimes the before-paragraph.
11007 (setUndo): don't clear the redostack if we're not actually undoing!
11009 2001-12-06 Juergen Vigna <jug@sad.it>
11011 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11012 and fixed redoing of main paragraph, so we can use it now ;)
11014 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11016 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11018 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11021 2001-12-13 André Pönitz <poenitz@gmx.net>
11024 * undo_func.C: minor cleanup
11026 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11028 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11029 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11030 font in urw-fonts package which is marked as -urw-fontspecific and
11031 does not work (incidentally, changing the encoding in the
11032 fonts.dir of this package to -adobe-fontspecific fixes the
11035 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11036 is a crash when undoing first paragraph (Juergen, please take a
11037 look). THis does not mean the undo fix is wrong, just that it
11040 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11041 the (Paragraph*) version when needed instead of duplicating the
11044 * text.C (workWidth): use Inset::parOwner to find out where the
11045 inset has been inserted. This is a huge performance gain for large
11046 documents with lots of insets. If Inset::parOwner is not set, fall
11047 back on the brute force method
11049 * paragraph_pimpl.C (insertInset):
11050 * paragraph.C (Paragraph):
11051 (cutIntoMinibuffer): set parOwner of insets when
11052 inserting/removing them
11054 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11056 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11062 * mathed/formulabase.C:
11063 * mathed/math_cursor.[Ch]:
11064 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11067 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11069 * lyxlength.[Ch] (operator!=): new function
11071 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11073 * text.C (workWidth): use Inset::parOwner to find out where the
11074 inset has been inserted. This is a huge performance gain for large
11075 documents with lots of insets. If Inset::parOwner is not set, fall
11076 back on the brute force method
11078 * paragraph_pimpl.C (insertInset):
11079 * paragraph.C (Paragraph):
11080 (cutIntoMinibuffer): set parOwner of insets when
11081 inserting/removing them
11083 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11085 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11087 * tabular-old.C (getTokenValue):
11088 * tabular.C (getTokenValue):
11089 (write_attribute): new versions for LyXLength
11090 (everywhere): adjust the use of widths
11092 * tabular.h: change the type of widths from string to LyXLength
11094 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11096 * paragraph.C: fixed missing line number count when exporting
11097 Environments to LaTeX file
11099 * buffer.C: added informational message for checking line numbers.
11101 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11103 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11104 paragraph, do the 'double space' part, but not the 'empty
11107 * text.C (workWidth): small optimization
11108 (getLengthMarkerHeight): use minimal size for negative lengths.
11110 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11112 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11114 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11116 2001-12-11 André Pönitz <poenitz@gmx.net>
11119 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11121 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11123 * text2.C: keep selection on a setFont()
11125 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11127 * lyx_cb.C: another bv->text misuse, from insert label
11129 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11132 * kbsequence.C: re-instate nmodifier mask
11134 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11136 * lyx_main.h: make lyxGUI private.
11138 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11140 * lyxfind.C: place the cursor correctly on failed search
11142 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11144 * text.C (getLengthMarkerHeight): for small heights, the arrows
11145 are not always on top/bottom of the text
11146 (drawLengthMarker): smaller arrows; take the left margin in
11147 account; draw also vfills.
11149 (paintLastRow): remove special code for vfill and standard spaces,
11150 since everything is handled in drawLengthMarker now.
11152 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11154 * buffer.C (insertErtContents): try to handle font and language
11155 interaction a bit better.g
11157 * ColorHandler.C (updateColor): change the hash to cover the whole
11158 LColor enum, ws cleanup
11159 (getGCLinepars): ditto
11160 (getGCLinepars): only lookup in the linecache once.
11162 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11164 * iterators.C (operator++): Make the iterator more robust
11166 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11168 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11170 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11173 * text.C: better added space drawing
11175 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11178 * BufferView2.C: fix layout combo update on inset unlock
11180 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11182 * Makefile.am: don't compile unused files
11184 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11188 * LyXAction.C: remove old LFUN_LAYOUTNO
11190 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11192 * paragraph_pimpl.h:
11193 * paragraph_pimpl.C: isTextAt() doesn't need font param
11195 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11198 * lyxlex.C: little cleanup
11200 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11202 * BufferView_pimpl.C: fix insertAscii for insets
11204 2001-12-05 Juergen Vigna <jug@sad.it>
11206 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11207 set the right font on the "multi" paragraph paste!
11209 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11215 * lyxlength.C: remove out-commented code.
11217 * BufferView_pimpl:
11231 * vc-backend.C: change "while(" to "while ("
11233 * lyxlength.[Ch]: add zero function to check if length is zero or
11235 * lyxgluelength.C: use it
11237 2001-12-05 Allan Rae <rae@lyx.org>
11239 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11240 Works for 2.95.3, from what I understand of Garst's reports this should
11241 work for other g++ versions. We're screwed if the abs(int) definition
11242 changed between bugfix releases of gcc.
11244 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11246 * text.C: fix chapter label offset !
11248 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11251 * text.C: fix hfill at end of line, clean up
11253 2001-12-04 Juergen Vigna <jug@sad.it>
11255 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11256 that we force an update of the inset and it's owners if neccessary.
11258 2001-12-03 Juergen Vigna <jug@sad.it>
11260 * text.C (rowLast): simplified code
11262 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11264 * lyxfunc.C: fix show options on timeout
11266 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11268 * screen.C (topCursorVisible): scroll half a page when the cursor
11269 reached top of bottom of screen
11271 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11273 * minibuffer.C: deactivate on loss of focus
11275 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11277 * vspace.[Ch] (operator!=): add operator.
11279 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11281 * BufferView_pimpl.C: refuse to open an inset when
11282 there's a selection.
11284 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11286 * BufferView_pimpl.C: allow to click on RHS of full row insets
11288 2001-11-30 Juergen Vigna <jug@sad.it>
11290 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11291 insets for undo reasons.
11293 2001-11-28 André Pönitz <poenitz@gmx.net>
11295 * vspace.[Ch]: cosmetical changes
11297 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11307 * kbsequence.C: part re-write of old kb code
11310 * WorkArea.C: remove Lgb_bug_find_hack
11312 2001-11-30 José Matos <jamatos@fep.up.pt>
11314 * buffer.C (makeDocBookFile): add a comment to point a hack.
11315 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11316 Fixed a double write of labels.
11318 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11321 * LaTeX.h Fixed bug in LaTeX class where it would not
11322 re-run latex if no depfiles were changed, but the .dvi was removed.
11324 2001-11-28 André Pönitz <poenitz@gmx.net>
11326 * all the files from the change on 2001/11/26:
11327 use lyx::layout_type instead of LyXTextClass::size_type
11328 use lyx::textclass_type instead of LyXTextClassList::size_type
11330 2001-11-29 Juergen Vigna <jug@sad.it>
11332 * text.C: added support for paragraph::isFreeSpacing()
11334 * buffer.C: same as above
11336 * paragraph.h: inserted isFreeSpacing() function to enable
11337 FreeSpacing inside InsetERT.
11339 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11340 of the paragraph's in the cut/copy buffer to 0!
11342 * text2.C (removeRow): remove the assert as it can!
11344 * lyxtext.h: added helper function firstRow returning firstrow and
11345 made firstrow private again.
11347 * BufferView2.C (lockInset): don't relock if we're already locked!
11349 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11350 the only paragraph.
11351 (removeRow): added Assert::(firstrow)
11353 * debug.C: forgot to add INSETTEXT here.
11355 2001-11-28 Juergen Vigna <jug@sad.it>
11357 * sp_spell.C (initialize): changed error text to more general
11358 spellchecker command use (not only ispell!)
11360 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11362 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11364 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11366 * vspace.C: initialise lyxgluelength on failure
11368 2001-11-28 Allan Rae <rae@lyx.org>
11370 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11371 declaration & definition that looks like a function declaration.
11373 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11375 * BufferView2.C (copy):
11376 (copyEnvironment): do not clear the selection when doing a copy.
11378 * text.C (paintFirstRow): compilation fix
11380 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11382 * tabular.C (Latex): correct line count when writing latex.
11384 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11386 * paragraph_pimpl.h:
11387 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11390 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11394 * LColor.C: change vfillline->added_space
11396 * text.C: add markers and text for added space
11398 * vspace.C: fix comment
11400 2001-11-28 André Pönitz <poenitz@gmx.net>
11402 * paragraph.C: whitespace changes
11403 * all the other files from the change on 2001/11/26:
11404 change *::pos_type into lyx::pos_type
11406 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11408 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11409 language of the document when inserting error insets.
11411 2001-11-26 André Pönitz <poenitz@gmx.net>
11413 * BufferView_pimpl.[Ch]:
11421 * paragraph_pimpl.[Ch]:
11424 * text2.C: reduce header dependencies, introduce type for positions
11426 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11428 * <various>: change to use Alert.h
11430 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11432 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11433 when encountering an unknown token.
11434 (readLyXformat2): Show an error message if there were unknown tokens.
11436 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11439 * BufferView_pimpl.C:
11443 * text2.C: use par->isInset()
11445 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11447 * paragraph_pimpl.h:
11448 * paragraph_pimpl.C: cleanup
11450 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11452 * text2.C (removeRow):
11453 * text.C (setHeightOfRow): remove useless (and costly) call to
11456 2001-11-20 Allan Rae <rae@lyx.org>
11458 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11459 Now need Inset*::checkInsertChar() to return true for appropriate
11460 cases so that the characters in the minibuffer will actually be
11463 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11465 * text.C: change the order of the includes.
11466 (workWidth): initialize it at once.
11467 (workWidth): make maxw unsigned
11468 (setHeightOfRow): remove unused variable (inset)
11469 (selectSelectedWord): remove unused variable (inset)
11470 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11472 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11474 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11475 server is not running.
11477 (closeConnection): add debug info when server is disabled.
11479 * ColorHandler.C (getGCForeground): send debug message to GUI
11482 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11484 * kbmap.C (bind): modify because return conventions of
11485 kb_sequence::parse have changed.
11487 * kbsequence.C (parse): only ignore spaces and not any stupid
11488 control character. This avoids tests like s[i] <= ' ', which are
11489 guaranteed to fail with 8bit characters and signed chars.
11490 Change return code to string::npos when there have been no error
11491 (0 was a bad idea when error is at first character)
11493 2001-11-14 José Matos <jamatos@fep.up.pt>
11496 * buffer.C (simpleDocBookOnePar): removed unused argument.
11498 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11500 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11501 insets which are part of a word. Paragraph::isLetter takes care of
11502 that now. Use Paragraph::isInset to identify insets.
11503 (selectSelectedWord): do not test for hyphenation break.
11505 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11506 that protected spaces are considered as spaces.
11508 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11511 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11514 * lyxserver.C: fix it. and small cleanup.
11516 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11518 * BufferView_pimpl.C: use inline helpers
11521 * LaTeXFeatures.C: fix typos
11524 * Spacing.C: move spacing_string into class
11526 * ToolbarDefaults.C: move stuff into namespace anon
11528 * layout.h: update enum
11530 * lyxfunc.C: use better debug
11532 * minibuffer.h: fix typo
11536 * WorkArea.C: add and use Debug::WORKAREA
11540 * text2.C: code re-organisation, inline helpers
11542 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11544 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11545 std::vector.empty().
11547 2001-11-09 Allan Rae <rae@lyx.org>
11549 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11550 '\n's after tables. Tabular and ERT inset work now makes this no
11553 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11556 * minibuffer.C: fix crash, improve drop-down completion
11558 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11561 * lyxserver.C: invalidate fd's when doing endPipe()
11563 2001-11-08 José Matos <jamatos@fep.up.pt>
11565 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11566 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11569 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11571 2001-11-07 José Matos <jamatos@fep.up.pt>
11574 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11577 * buffer.C (sgmlOpenTag):
11578 * buffer.C (sgmlCloseTag): removed debug info.
11580 * buffer.h (sgmlOpenTag):
11581 * buffer.h (sgmlCloseTag): made public.
11583 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11585 * buffer.C (saveParamsAsDefaults):
11586 * lyx_cb.C (MenuLayoutSave): remove
11588 * LyXAction.C (init):
11590 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11592 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11594 * buffer.C (setPaperStuff): removed from here...
11596 * bufferparams.C (setPaperStuff): ... and moved there.
11598 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11602 * XFormsView.C: add support for drop-down completion
11604 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11606 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11609 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11611 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11614 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11616 * lyx_main.C: change ref to known bugs
11618 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11620 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11621 to work around older babel problems.
11623 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11625 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11627 2001-10-24 Juergen Vigna <jug@sad.it>
11629 * tabular-old.C (ReadOld): below variable changes reflected.
11631 * tabular.[Ch]: added ltType struct for longtable header/footer
11632 defines and changed all instances where they are used. Added
11633 future support for double top/bottom rows.
11635 2001-10-24 José Matos <jamatos@fep.up.pt>
11637 * buffer.h (docbookHandleCaption):
11638 * buffer.C (docbookHandleCaption): removed unused function.
11639 (makeDocBookFile): moved docbook supported version to v4.1.
11641 2001-10-24 José Matos <jamatos@fep.up.pt>
11644 * tabular.C (docbookRow): new function to export docbook code of a row.
11645 (DocBook): now honors the longtable flags.
11647 2001-10-23 José Matos <jamatos@fep.up.pt>
11650 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11651 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11653 * buffer.C (makeLinuxDocFile):
11654 (makeDocBookFile): reworked the preamble, more clean, and with
11655 support for lyx defined entities. Changed the document declaration
11656 to be more XML friendly.
11658 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11659 if we need to output XML that should be done with a filter.
11661 2001-10-22 Juergen Vigna <jug@sad.it>
11663 * sp_pspell.h (class PSpell): add alive function needed in the
11664 controller to see if the spellchecker could be started.
11666 2001-10-22 Juergen Vigna <jug@sad.it>
11668 * buffer.C (insertStringAsLines): modify the font for inserting
11669 chars in certain conditions by calling checkInsertChar(font).
11671 2001-10-19 Juergen Vigna <jug@sad.it>
11673 * text.C (workWidth): use getRow instead of wrong algorithm.
11674 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11676 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11681 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11683 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11685 * text.C (workWidth): do not search for the exact row when
11686 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11687 optimization for big documents.
11689 2001-10-18 Juergen Vigna <jug@sad.it>
11691 * text.C (workWidth): new function with added Inset * parameter.
11693 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11695 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11697 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11698 change return type of getColumnNearX.
11701 * text.C (changeRegionCase): use uppercase/lowercase instead of
11704 (rightMargin): simplify code by factoring out the uses of
11709 (appendParagraph): use Paragraph::size_type
11711 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11713 * vspace.C (asLatexString): add a missing break
11715 2001-10-15 Herbert Voss <voss@perce.de>
11717 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11719 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11721 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11724 2001-10-10 André Pönitz <poenitz@gmx.net>
11726 * lyxfunc.C: removed greek_kb_flag.
11728 2001-10-10 Herbert Voss <voss@perce.de>
11730 * lyx_main.C: delete global string help_lyxdir.
11732 2001-10-09 Herbert Voss <voss@perce.de>
11734 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11736 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11738 * lyx_main.C: added global string help_lyxdir.
11740 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11742 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11744 * lyxrc.C (set_font_norm_type): support iso8859-4
11746 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11748 * LaTeX.C (deplog): add another regex for MikTeX
11750 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11752 * lyxrc.C (set_font_norm_type): support iso8859-3
11754 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11756 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11758 * LaTeXFeatures.C: remove special case of french and index
11760 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11761 before \begin{document}). This solves several incompatibilities.
11763 2001-10-03 Garst Reese <reese@isn.net>
11765 * lyx_cb.C: change CheckTex error msg.
11767 2001-10-03 José Matos <jamatos@fep.up.pt>
11769 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11771 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11773 * .cvsignore: update
11775 * lyx_main.C (commandLineVersionInfo): use new style version info.
11777 * buffer.C (writeFile):
11779 (makeLinuxDocFile):
11780 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11782 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11784 * version.h: update to use stuff in version.C
11786 * version.C.in: new file. Contains version information determined
11787 at compile time. This is a merging of version.h and
11790 2001-10-03 Juergen Vigna <jug@sad.it>
11792 * BufferView_pimpl.C (update): don't change "dirty" status in
11795 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11797 * WorkArea.C (c-tor): re-position version string slightly.
11799 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11801 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11802 revert to previous code.
11804 WorkArea.[Ch]: (show, destroySplash): methods removed.
11806 WorkArea.C: rework code so that it's an amalgam of the codes before and
11807 after the splash screen was moved to WorkArea.
11809 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11812 * vspace.C (inPixels):
11815 * buffer.C (insertStringAsLines):
11816 (asciiParagraph): fix types to be large enough
11818 * lyxlex_pimpl.h: change member status from short to int
11820 * layout.h: fix type of endlabeltype
11823 * kbsequence.C (parse): change return type to string::size_type
11825 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11828 * Bullet.C (bulletSize):
11829 (bulletEntry): do not use short ints as parameters
11831 * BufferView2.C (insertLyXFile): change a char to an int.
11833 * WorkArea.C (WorkArea): remove unneeded floats in computation
11835 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11837 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11839 * paragraph.C (asString): Do not ignore newline/hfill chars when
11840 copying to the clipboard.
11842 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11844 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11845 after a multi-line inset.
11847 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11849 * paragraph.C (validate): Set NeedLyXFootnoteCode
11851 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11853 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11854 and decrease-error to decrease.
11856 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11858 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11859 it more readable (should be equivalent)
11861 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11863 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11865 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11867 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11868 of a cursor (row, etc.) after a character has been deleted
11869 (deleteEmptyParagraphMechanism): call the method above on _all_
11870 cursors held by the LyXText when a double space has been
11873 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11875 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11877 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11879 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11880 background. Use greyOut() and the new show() methods to toggle between
11881 the foreground and background. Add code to remove the splash after
11882 its initial showing.
11884 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11885 (create_forms): no longer call Dialogs::showSplash.
11887 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11889 * .cvsignore: add version_info.h
11891 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11893 * version_info.h.in: new file
11895 * Makefile.am: add version_info.h.in
11897 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11898 version_info.h instead of VERSION_INFO
11900 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11902 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11903 The ERT inset now returns string().
11905 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11907 * lyxtext.h, text.C (selectNextWord): renamed as
11908 selectNextWordToSpellcheck.
11910 * text.C (selectNextWordToSpellcheck): Modified to not select
11911 words inside an ERT inset.
11913 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11915 * lyx_cb.C (MenuLayoutSave): change a bit the question
11917 * sp_base.h: include <sys/types.h>
11919 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11921 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11923 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11925 * several files: fix typos in user-visible strings
11927 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11929 * text2.C (pasteSelection): do not set the selection, since it
11930 will be cleared later. Actually, the intent was to fix the way the
11931 selection was set, but I figured rmoving the code was just as good.
11933 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11935 * FontLoader.C (available): Check if font is available without
11938 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11940 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11942 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11944 * lyxrc.[Ch]: added display_graphics variable and associated code.
11946 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11948 * bufferparams.C (hasClassDefaults): new method. Returns true if
11949 the buffer parameters correspond to known class defaults
11951 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11953 * XFormsView.C (show): set minimum size to the main window.
11955 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11957 * text2.C (copySelection):
11959 * lyxfind.C (LyXReplace):
11960 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11961 LyXText::selectionAsString.
11963 * paragraph.C (asString): add "label" argument to the second form
11965 * text2.C (selectionAsString): add "label" argument and pass it to
11966 Paragraph::asString.
11968 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11970 * lyx_main.C (commandLineHelp): remove version information
11972 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11974 * lyx_main.C: add -version commandline option
11976 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11978 * paragraph.h: make the optional constructor arg required instead.
11979 some modifications to other files because of this.
11981 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11983 * lyxserver.C (C_LyXComm_callback): make it static
11985 * lyx_main.C (error_handler): make it static
11987 * lyx_gui.C (LyX_XErrHandler): make it static
11989 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11991 * WorkArea.C: make the extern "C" methods static.
11993 * Makefile.am (lyx_LDADD): simplify
11995 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11997 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11998 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12000 * LyXAction.C (init):
12001 * lyxfunc.C (dispatch): associated code removal.
12003 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12005 * lyxfont.h (isSymbolFont): shut off warning
12007 * text.C (setHeightOfRow):
12008 (getVisibleRow): fix crash with empty paragraphs which have a
12011 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12013 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12016 2001-09-04 José Matos <jamatos@fep.up.pt>
12019 * tabular.C (docbook): rename docBook method to docbook.
12021 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12023 * Makefile.am: add dependencies to main.o.
12025 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12027 * FontLoader.C (available): Return false if !lyxrc.use_gui
12029 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12031 * FontInfo.C (query):
12032 * converter.C (view):
12033 * importer.C (Import):
12034 * exporter.C (Export): Can not -> cannot.
12036 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12038 * BufferView_pimpl.C: allow to create index inset even if
12041 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12043 * buffer.C (getLists): replace boost::tie code with an explicit pair
12044 as boost::tie can break some compilers.
12046 * iterators.h: Added a std:: declaration to the return type of
12049 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12051 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12054 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12056 * iterators.[Ch]: New files. Provide paragraph iterators.
12058 * buffer.C (changeLanguage): Use paragraph iterators.
12059 (isMultiLingual): ditto
12061 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12063 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12065 * FontLoader.C: Support for cmr font.
12067 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12069 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12070 (available): New method.
12072 * FontInfo.C (getFontname): Use scalable fonts even when
12073 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12076 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12078 * converter.C (Formats::view): reverted! Incorrect fix.
12080 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12082 * converter.C (Formats::view): only output the -paper option
12083 if the dvi viewer is xdvi, thereby fixing bug #233429.
12085 2001-08-23 Herbert Voss <voss@perce>
12087 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12089 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12091 * Spacing.h (Spacing): Set space to Default on in the default
12094 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12096 * vc-backend.h (RCS::versionString): add RCS to version
12097 (CVS::versionString): add CVS to version
12099 * vc-backend.C (scanMaster): do not add CVS to version.
12100 (scanMaster): do not add RCS to version
12102 * lyxvc.C (versionString): new method
12104 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12106 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12108 * Spacing.C (set): initialize fval
12110 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12112 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12115 2001-08-16 Juergen Vigna <jug@sad.it>
12117 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12119 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12121 * BufferView_pimpl.C:
12124 * text2.C: setParagraph takes linespacing now
12126 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12128 * LyxAction.C: add internal LFUN_CITATION_INSERT
12130 * LyXView.C: actually apply fix
12132 * bufferlist.C: fix open non-existent file
12134 * lyxfind.C: fix indentation
12136 * lyxfunc.C: remove unneeded assert, fix typo
12138 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12140 * MenuBackend.C: use "Floatname List"
12142 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12144 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12145 when converting LaTeX layout to insetERT.
12146 Generate a non-collapsed float when reading old float
12148 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12150 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12153 2001-08-13 Juergen Vigna <jug@sad.it>
12155 * text.C (fill): return 0 instead of 20 as this seems to be the more
12158 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12160 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12163 2001-08-13 Juergen Vigna <jug@sad.it>
12165 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12167 (SearchBackward): comment out the unlocking of the inset_owner this
12168 should not be needed!
12170 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12172 * Many files: Remove inherit_language, and add latex_language
12174 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12175 collapsible insets.
12177 2001-08-10 Juergen Vigna <jug@sad.it>
12179 * text.C (prepareToPrint): fixed hfill-width in draw!
12181 * BufferView2.C (selectLastWord): save the selection cursor as this
12182 now is cleared in the function LyXText::clearSelection!
12184 2001-08-08 Juergen Vigna <jug@sad.it>
12186 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12187 BACKSPACE type functions.
12189 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12190 is only cutted from the document but not put in the cut-buffer, where
12191 still the old stuff should be.
12193 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12195 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12197 * tabular.C (SetWidthOfCell): fixed special case where the width
12199 (LeftLine): handle '|' in align_special.
12201 (LeftAlreadyDrawed): ditto
12202 (SetWidthOfCell): ditto
12204 2001-08-07 Juergen Vigna <jug@sad.it>
12206 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12208 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12210 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12211 * lyxlex.[hC]: ditto
12213 2001-08-06 Juergen Vigna <jug@sad.it>
12215 * text.C (getVisibleRow): fix up row clearing a bit.
12217 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12219 * minibuffer.C: make sure the X server sees the changes in the input.
12221 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12223 * paragraph.C (getFont): split into...
12224 (getLabelFont): this
12225 (getLayoutFont): and this
12226 * paragraph_pimpl.C (realizeFont): calling this
12228 * text2.C (getFont): split into...
12229 (getLayoutFont): this
12230 (getLabelFont): and this
12231 (realizeFont): all three calling this
12233 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12236 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12238 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12240 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12242 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12243 layouts from the Quote inset insertion.
12245 2001-08-03 Juergen Vigna <jug@sad.it>
12247 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12249 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12250 only if status not is already CHANGED_IN_DRAW (second level).
12252 * text.C (draw): don't set the need_break_row when inside an
12255 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12257 * buffer.C (parseSingleLyXformat2Token): handle more latex
12260 * bufferview_funcs.[hC]: change function names to
12261 begin with small char, adjust other files.
12263 2001-08-02 André Pönitz <poenitz@gmx.net>
12266 BufferView_pimpl.C: remove broken special code for math-greek
12268 2001-08-02 Juergen Vigna <jug@sad.it>
12270 * BufferView_pimpl.C (update): redone this function so that we
12271 update the text again if there was a CHANGE_IN_DRAW.
12273 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12274 (drawFromTo): added a new internal bool which is used by draw() and
12276 (general): some cursor drawing problems fixed.
12278 2001-08-01 Juergen Vigna <jug@sad.it>
12280 * lyxfind.C (LyXFind): fixed
12281 (SearchForward): ditto
12282 (SearchBackward): ditto
12284 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12285 spurius drawing of the cursor in the main area.
12287 * text2.C (status): small fix which could lead to a segfault!
12288 (clearSelection): remove unneeded BufferView param.
12290 2001-08-01 André Pönitz <poenitz@gmx.net>
12292 * lyxfunc.C: small change due to changed mathed interface
12294 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12296 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12298 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12300 * lyxfunc.c: fail gracefully if file doesn't exist
12305 * BufferView_pimpl.C: IsDirWriteable() proto changed
12307 * LyXView.C: fix updateWindowTitle() to store the last title
12309 2001-07-31 Juergen Vigna <jug@sad.it>
12311 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12312 the font (wrong since using of Paragraph::highestFontInRange).
12314 * paragraph.C (highestFontInRange): added a default_size parameter.
12316 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12317 (setHeightOfRow): reformat
12319 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12321 * converter.[hC] + affected files: move to (inital-char)lowercase
12324 * ParagraphParameters.C (ParagraphParameters): remove commented code
12326 * PainterBase.[Ch]: remove commented code
12328 * LaTeXFeatures.h: add "bool floats" for float.sty
12330 * LaTeXFeatures.C (LaTeXFeatures): init floats
12331 (require): handle float
12332 (getPackages): do it with floats
12334 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12336 * BufferView_pimpl.C (Dispatch): improve handling of
12337 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12339 * commandtags.h: #include lyxfont.h here temporarily to avoid
12342 * bufferlist.h: include LString.h here.
12344 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12346 * text2.C (getStringToIndex): new method.
12348 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12350 * *: Reduced header file dependencies all over.
12352 2001-07-30 Baruch Even <baruch@lyx.org>
12354 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12356 2001-07-29 Baruch Even <baruch@lyx.org>
12358 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12360 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12362 * ParameterStruct.h (endif): add a default constructor to make
12363 sure that all variables is initialized.
12365 * ParagraphParameters.C (ParagraphParameters): adjust
12367 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12369 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12370 index; also, check that there is something to index, and that it
12371 does not span over several paragraphs.
12372 (doubleClick): use WHOLE_WORD_STRICT for double click.
12374 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12376 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12379 2001-07-26 Baruch Even <baruch@lyx.org>
12381 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12382 an InsetFig figure, backwards compatible reading of old figure code.
12384 2001-07-27 Juergen Vigna <jug@sad.it>
12386 * text2.C: font.realize function adaption.
12388 * text.C (draw): add a warnings lyxerr text if needed.
12390 * layout.C: font.realize function adaption.
12392 * language.C: add inherit_language and implement it's handlings
12394 * bufferview_funcs.C (StyleReset): remove language parameter from
12395 font creation (should be language_inherit now).
12397 * bufferparams.C (writeFile): handle ignore_language.
12399 * paragraph.C (getFontSettings): the language has to be resolved
12400 otherwise we have problems in LyXFont!
12402 * lyxfont.C (lyxWriteChanges): added document_language parameter
12403 (update): removed unneeded language parameter
12405 * paragraph.C (validate): fixed wrong output of color-package when
12406 using interface colors for certain fonts in certain environments,
12407 which should not seen as that on the final output.
12409 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12411 * BufferView_pimpl.C:
12416 * LyXAction.C: add thesaurus support
12419 * lyxfind.C: add "once" parameter, for thesaurus, to not
12420 move to the next match
12422 2001-07-26 Juergen Vigna <jug@sad.it>
12424 * lyxfont.C (realize): honor ignore_language too!
12427 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12429 * text.C (draw): one place more for ignore_language to not draw
12432 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12434 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12436 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12438 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12439 the minipage conversion problem.
12441 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12443 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12446 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12448 * BufferView.h: don't forward declare WorkArea
12450 * BufferView.C: don't include WorkArea.h
12452 2001-07-25 André Pönitz <poenitz@gmx.net>
12456 * lyxfunc.C: new LFUN 'math-space'
12458 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12460 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12462 * text2.C (toggleInset): call open/close
12464 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12466 * lyxfunc.C (dispatch): add debug for the disabled case
12468 * font.C (buttonText): make similar to rectText
12470 * buffer.C (readInset): comment out parsing of insetlist and
12473 * PainterBase.C (rectText): small correction
12475 * BufferView_pimpl.C: comment out insettheorem and insetlist
12476 * LyXAction.C: ditto
12477 * commandtags.h: ditto
12479 2001-07-24 Juergen Vigna <jug@sad.it>
12481 * text.C (draw): honor the ignore_language.
12483 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12485 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12487 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12490 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12492 * lyxtext.h: remove unused (and unimplemented) methods
12494 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12496 * text.C (getVisibleRow): honor background color
12499 * Painter.h: remove default color argument for fillRectangle
12501 * text.C (backgroundColor): new method
12503 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12505 * text.C (getVisibleRow): adjust
12507 * font.[Ch] (rectText): new method, metrics
12508 (buttonText): new method, metrics
12510 * PainterBase.[hC]: make rectText and buttonText always draw and take
12513 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12515 * ToolbarDefaults.C (read):
12516 * MenuBackend.C (read): allow escaping in all strings
12518 * BufferView_pimpl.C (insertAndEditInset): new method.
12519 (Dispatch): use insertAndEditInset whenever appropriate.
12521 * BufferView_pimpl.C (insertNote): removed
12523 * BufferView_pimpl.C (smartQuote): new method, moved from
12524 BufferView; if an insetquote cannot be inserted, insert a '"'
12527 * BufferView2.C: remove insertCorrectQuote();
12529 * lyxfunc.C (getStatus): Add support for all remaingin
12530 inset-insert lfuns.
12532 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12534 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12535 command (necessary to pass " as parameter of self-insert.
12537 * text.C (selectWordWhenUnderCursor):
12538 (selectWord): add word_location parameter
12539 (selectWordWhenUnderCursor): same + remove special code for word
12541 (selectNextWord): use kind() to guess type of insetspecialchar,
12544 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12545 (insertErtContents): create ert insets as collapsed.
12546 (readInset): better compatibility code for Info inset.
12548 2001-07-20 Juergen Vigna <jug@sad.it>
12550 * lyxfunc.C (dispatch): use always LyXFind now!
12552 * text2.C (init): add a reinit flag so that the LyXText can be
12553 reinited instead of deleted and reallocated (used in InsetText).
12555 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12561 2001-07-18 Juergen Vigna <jug@sad.it>
12563 * text.C (selectNextWord): handle insets inside inset by calling
12564 always the bv->text functions so that we can go up the_locking_inset!
12566 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12567 in strange locations when inside an inset!
12569 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12570 handling to include insets.
12572 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12574 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12576 * LyXAction.C (init):
12578 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12579 LIGATURE_BREAK, since the name is so stupid.
12581 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12583 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12586 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12588 * sp_form.[Ch]: remove.
12590 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12592 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12595 * src/buffer.C (readInset): ditto.
12597 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12599 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12600 menuSeparator(), endOfSentenceDot(), ldots() and
12601 hyphenationPoint(), which are therefore removed.
12602 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12604 * LyXAction.C (init):
12605 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12607 * paragraph.C (getWord): removed.
12609 * BufferView_pimpl.C (Dispatch): use last word or selection for
12610 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12612 * lyx_main.C (queryUserLyXDir): do not ask before creating
12613 user_dir, except if it has been named explicitely.
12615 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12617 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12618 a document of zero size.
12620 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12622 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12623 approriately in the c-tor and in require().
12624 (getPackages): output the appropriate LaTeX for natbib support.
12626 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12627 variables "use_natbib" and "use_numerical_citations" when reading the
12629 (readInset): read the various natbib cite commands.
12630 (validate): white-space change.
12632 * bufferparams.[Ch]: new variables "bool use_natbib" and
12633 "bool use_numerical_citations".
12634 (writeFile): output them in the LyX file.
12636 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12638 * lyxfunc.C (getStatus): add support for all the inset insertion
12641 * text2.C (insertInset):
12642 * paragraph.C (insetAllowed):
12643 * BufferView_pimpl.C (insertInset): update to take in account the
12644 renaming of insertInsetAllowed
12646 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12648 * text2.C (getInset): new method. returns inset at cursor position.
12650 * BufferView_pimpl.C (Dispatch): changes because of this.
12652 * LyXAction.C (init): rename open-stuff to inset-toggle.
12654 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12656 * text2.C (toggleInset): renamed from openStuff; use
12659 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12661 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12663 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12665 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12667 * buffer.C (readLyXformat2): Add filename to the error dialog
12669 2001-07-18 Juergen Vigna <jug@sad.it>
12671 * tabular.C (GetCellNumber): put an assert here instead of the check!
12673 2001-07-17 Juergen Vigna <jug@sad.it>
12675 * BufferView_pimpl.C (toggleSelection): adapted too.
12677 * text.C (selectNextWord): adapted for use with insets.
12678 (selectSelectedWord): ditto
12680 2001-07-17 Juergen Vigna <jug@sad.it>
12682 * sp_spell.C (PSpell): fix initialitation order.
12684 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12686 * paragraph.C: spacing
12688 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12690 * sp_spell.C: repair language selection for pspell
12692 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12694 * lyxfunc.h: change more methods to begin with lower char.
12696 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12698 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12699 for unknown layouts.
12701 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12703 * buffer.C (readLyXformat2): Generate an error dialog if there are
12706 2001-07-16 Juergen Vigna <jug@sad.it>
12708 * sp_spell.C: always compile ISpell part.
12710 * lyxrc.C: added use_pspell entry and it's handling.
12712 2001-07-13 Juergen Vigna <jug@sad.it>
12714 * sp_spell.C: removed double includes.
12716 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12718 Consistent use of Lsstream.h:
12719 * Lsstream.h: added using std::stringstream for consistencies sake.
12721 * buffer.C: removed using std::stringstream
12723 * lyxfont.C (stateText):
12724 * paragraph.C (asString):
12725 * text.C (selectNextWord, selectSelectedWord):
12726 * text2.C (setCounter):
12727 * vspace.C (asString, asLatexString):
12728 std::ostringstream -> ostringstream.
12730 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12732 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12733 * commandtags.h: add LFUN_HELP_ABOUTLYX
12734 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12736 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12738 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12740 * lyx_gui_misc.C: remove spellchecker
12741 * lyxfunc.C: showSpellchecker
12743 * sp_ispell.h: added
12744 * sp_pspell.h: added
12745 * sp_spell.C: added
12746 * sp_form.[Ch]: removed
12747 * spellchecker.[Ch]: removed
12749 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12751 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12753 (simpleTeXSpecialChars): Simply print the input character without
12754 any special translation if pass_thru is set.
12756 * layout.h: Added bool pass_thru to layout class for being able to
12757 implement pass through of a paragraph for Literate Programming.
12759 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12760 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12761 * layout.C (Read): add "passthru" to list of layout tags and add
12762 code to set the pass_thru boolean when it is read.
12764 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12766 * trans_decl.h: remove allowed from KmodInfo
12768 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12769 remove allowed code
12772 * paragraph_pimpl.C (erase): use boost::prior
12774 * Painter.C (text): use data() instead of c_str() when length is
12776 * WorkArea.C (putClipboard): ditto
12777 * font.h (width): ditto
12779 * BufferView2.C: use it-> instead of (*it). for iterators
12781 * paragraph_pimpl.C: ditto
12782 * paragraph.C: ditto
12783 * minibuffer.C: ditto
12784 * language.C: ditto
12786 * encoding.C: ditto
12787 * counters.C: ditto
12788 * converter.C: ditto
12790 * Variables.C: ditto
12791 * TextCache.C: ditto
12792 * MenuBackend.C: ditto
12793 * LyXAction.C: ditto
12795 * FloatList.C: ditto
12796 * DepTable.C: ditto
12797 * ColorHandler.C (LyXColorHandler): ditto
12799 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12801 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12803 * text2.C (openStuff): reintroduce this method (which had been
12804 nuked in NEW_INSETS frenzy).
12806 * lyxfunc.C (Dispatch): when an action has not been handled, use
12807 its name in the error message, not its number.
12809 * paragraph.C (inInset): change method name to begin with lowercase.
12812 * text2.C: updates because of this.
12814 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12816 * ToolbarDefaults.C (add): add spaces in error message
12818 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12820 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12821 (readLyXformat2): rename return_par to first_par, use lyxlex's
12822 pushToken and remove the manual push handling.
12823 (parseSingleLyXformat2Token): add another ert comp. variable:
12824 in_tabular, rename return_par to first_par. handle newlines better
12826 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12828 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12830 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12832 * text2.C (getParFromID): removed
12834 * buffer.C (getParFromID): new method moved form lyxtext.
12835 * BufferView2.C (insertErrors): adjust
12836 (setCursorFromRow): adjust
12837 * BufferView_pimpl.C (restorePosition): adjust
12838 * lyxfunc.C (Dispatch): adjust
12839 * undo_funcs.C (textUndo): adjust
12841 (textHandleUndo): adjust
12842 (textHandleUndo): adjust
12844 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12846 * buffer.C: up' the LYX_FORMAT
12848 * lyxfont.h: turn NO_LATEX on as default
12850 * buffer.C (insertErtContents): new methods of tex style compability.
12851 (parseSingleLyXformat2Token): use it several places.
12852 * tabular.C (OldFormatRead): and here
12854 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12856 * text2.C: remove some commented code.
12859 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12860 * trans.C: changes because of the above.
12862 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12864 * text2.C (setCounter): Fix counters bug with bibliography layout.
12866 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12868 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12869 own member functions
12870 (simpleTeXSpecialChars): ditto
12872 2001-07-06 Juergen Vigna <jug@sad.it>
12874 * a lot of files: changed the access to LyXText::status and the
12875 call of undo-functions.
12877 * undo.[Ch]: added a inset_id to the undo informations.
12879 * undo_funcs.[Ch]: added and moved here all undo functions.
12881 * lyxtext.h: give the status enum a weight, made status_ a private
12882 variable and made accessor functions for it, removed the whole bunch
12883 of undo-functions as they are now in their own file, make some
12884 functions publically available. Added function ownerParagraph with
12887 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12888 made InInset() a const function, added getParFromID() function.
12890 * buffer.[Ch]: added const version for inset_iterator functions,
12891 added getInsetFromID() function.
12893 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12894 changed undo functions for new version.
12896 2001-07-05 Juergen Vigna <jug@sad.it>
12898 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12899 unknow mechanism does not call the proper constructor but only this
12900 one also if I request the other!?
12902 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12904 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12906 * text2.C (LyXText): use initialization lists.
12908 * lyxtext.h (Selection): initialize set_ and mark_
12909 (init): remove method
12911 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12913 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12915 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12917 * screen.[Ch]: change method names to begin with lowercase
12919 * BufferView_pimpl.C (updateScrollbar): simplify further and
12920 hopefully make it a bit faster.
12922 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12924 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12925 calling directly xforms functions.
12927 * Painter.C (Painter):
12928 * lyx_cb.C (MenuWrite):
12929 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12932 * lyx_gui.C: remove bogus guiruntime extern declaration.
12934 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12936 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12938 (redoDrawingOfParagraph): ditto
12939 (redoParagraphs): ditto
12940 (cutSelection): don't create a object for CutAndPaste use the
12941 static method directly
12942 (pasteSelection): ditto
12944 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12947 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12949 * modifications to some other files because of this.
12951 * Makefile.am (lyx_SOURCES): add XFormsView
12953 * XFormsView.[Ch]: new files
12955 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12956 the main window. Move the gui dependent stuff to XFormsView
12958 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12960 * tabular.C (GetCellInset): update cur_cell also in the row/col
12961 version of this function.
12963 * lyxfunc.C: no need to include figure_form.h here.
12969 * lyxvc.C: no need to include forms.h here.
12971 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12973 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12975 * lyxfunc.C (Dispatch):
12977 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12978 constructor argument.
12980 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12982 * paragraph.C (Paragraph): dont't clear, and just set layout.
12983 (makeSameLayout): use params's copy contructor.
12985 * ParagraphParameters.[Ch] (makeSame): delete method
12987 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12989 * Variables.[Ch]: fix indentation, rename set to isSet
12991 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12993 * lyxfunc.C (Dispatch): fix typo
12995 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12997 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13000 * bufferlist.C: include assert.h for emergencyWrite().
13002 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13004 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13005 give up at last (bug #425202) !
13007 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13013 * spellchecker.C: strip spellchecker options and bring up
13014 preferences tab instead
13016 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13018 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13019 the istringstream constructor
13021 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13023 * paragraph.C (getLayout): fix return value
13025 * paragraph.h: do not declare getLayout as inline.
13027 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13029 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13031 * lyxcursor.h (operator<): new func
13032 (operator>): new func
13033 (operator>=): new func
13034 (operator<=): new func
13036 * text.C (changeCase): use selection.start and selection.end
13037 (changeRegionCase): require from to be <= to. Require par to be a
13040 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13042 2001-06-27 Juergen Vigna <jug@sad.it>
13044 * text.C (cursorLeftOneWord): changed to return the cursor and added
13045 overlay with BufferView * parameter which calls this one.
13047 (selectWord): use new getWord function.
13048 (changeCase): renamed from changeWordCase as and extended to work
13049 also on selections.
13051 * lyxtext.h: added enum word_location
13053 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13054 changeCase as this operates now also on selections.
13056 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13058 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13060 * many files: send debug output to Debug::INFO instead of
13063 * converter.C (View):
13065 (Move): send debug output to Debug::FILES instead of console.
13067 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13069 * lyxfunc.C (getStatus): use func_status
13071 * func_status.h: new header, describing the results of
13072 LyXFunc::getStatus;
13074 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13077 2001-06-25 The LyX Project <jug@sad.it>
13079 * buffer.C (sgmlOpenTag):
13081 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13083 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13085 * text2.C: remove some dead code
13087 * tabular.C (GetCellInset): store the last cell checked (gotten)
13089 * tabular.h: add the helper for the speedup
13091 * lyxtext.h: remove some dead code
13093 2001-06-26 The LyX Project <Asger>
13095 * paragraph.C: Change export to LaTeX of alignment to
13096 \begin{center} and family for better roundtrip work with reLyX.
13098 * Tune the math drawing a bit.
13100 2001-06-25 The LyX Project <Asger>
13102 * LColor.C (LColor): New color for math background. New color
13105 2001-06-25 The LyX Project <jug@sad.it>
13107 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13109 * lyxfunc.C (Open):
13110 * bufferlist.C (newFile): do not restrict to files ending with
13113 * BufferView_pimpl.C (MenuInsertLyXFile):
13115 2001-06-24 The LyX Project <jug@sad.it>
13117 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13120 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13122 * lyxtext.h: rename most methods to begin with a small char.
13123 Lots of changes because of this.
13125 * paragraph.C (Paragraph): do not call fitToSize
13126 (erase): call Pimpl::erase
13127 (insertChar): call Pimpl::insertChar
13128 (insertInset): call Pipl::insertInset
13129 (breakParagraph): do not call fitToSize
13130 (breakParagraphConservative): do not call fitToSize
13131 (fitToSize): remove method
13133 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13135 2001-06-24 The LyX Project <Asger>
13137 * Fix Qt compilation^2
13139 2001-06-24 The LyX Project <jug@sad.it>
13141 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13142 depthHook(getDepth()-1).
13145 * ParagraphParameters.h:
13146 * ParameterStruct.h: change type of depth to unsigned int ==
13147 depth_type. Many adaptations to other files before of that.
13149 2001-06-24 The LyX Project <Asger>
13151 * Fix Qt compilation.
13153 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13155 * paragraph.h: renamed several methods to begin with small letter.
13156 several changes to many parts of the code because of this.
13158 2001-06-23 The LyX Project <jug@sad.it>
13160 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13161 rewritten to discard all double spaces when KeepEmpty is off
13162 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13163 to only handle newlines but not fiddle with spaces and friends.
13165 * lyxfunc.C (MenuNew): when doing 'new from template', use
13166 template_path as default directory
13168 2001-06-23 The LyX Project <Asger>
13170 * Clean-up of header file includes all over
13171 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13173 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13175 * paragraph.h: renamed from lyxparagraph.h
13177 2001-06-23 Asger <lyx@violet.home.sad.it>
13179 * Buffer.h: Removed Buffer::resize
13180 * BufferList.h: Removed BufferList::resize
13181 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13182 the document lazily when we change the width, or the font settings.
13184 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13186 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13188 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13190 * buffer.h: remove out of date comment
13192 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13195 * screen.C: fix "theoretical" GC leak
13197 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13199 * LaTeX.C (scanAuxFile):
13200 (deplog): remove trailing \r when reading stream (useful under
13203 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13205 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13206 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13207 and BufferView::theLockingInset(Inset*), so should use them and not
13208 access bv_->text->the_locking_inset directly.
13210 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13212 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13215 * tex-defs.h: remove old unused file
13217 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13219 * BufferView_pimpl.C: fix typo, remove minibuffer message
13220 when buffer has loaded
13222 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13224 * lyxfunc.C (Dispatch): use stringstream
13225 (MenuNew): use stringstream
13226 (Open): use stringstream
13228 * importer.C (Import): use stringstream
13230 * bufferview_funcs.C (CurrentState): use stringstream
13232 * LaTeX.C (run): use stringstream
13234 * BufferView_pimpl.C (savePosition): use stringstream
13235 (restorePosition): use stringstream
13236 (MenuInsertLyXFile): use stringstream
13238 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13251 * vspace.C: removed // -*- C++ -*- as first line.
13254 * version.h: added // -*- C++ -*- as first line.
13256 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13258 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13260 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13263 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13265 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13268 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13270 * gettext.C: include LString.h even when --disable-nls is on.
13272 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13274 * converter.h (Get): changed argument type from int to
13275 FormatList::size_type to avoid unnecessary conversion.
13277 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13280 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13282 * gettext.h: include LString.h even when --disable-nls is on.
13284 2001-06-07 Juergen Vigna <jug@sad.it>
13286 * text.C (BreakAgain): subst spaces with tabs.
13288 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13289 (resizeInsetsLyXText): set force on resizeLyXText.
13291 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13293 * gettext.h (gettext_init):
13294 (locale_init): use a real definition instead of a macro
13296 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13298 * Bufferview_pimpl.C:
13300 * LColor.C: further lcolor tidies
13302 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13304 * BufferView_pimpl.C (updateScrollbar): simplify.
13306 * BufferView2.C: don't include insets/insetinfo.h, change
13307 prototype for insertInset and call the Pimpl version. let
13308 updateInset call Pimpl version.
13310 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13311 gotoInset to BufferView::Pimpl
13313 2001-06-01 Juergen Vigna <jug@sad.it>
13315 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13316 inside a LockingInset (is the update needed at all?).
13318 2001-05-31 Juergen Vigna <jug@sad.it>
13320 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13321 here not the old one otherwise how should we compare it afterwards
13324 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13329 * FontInfo.C: bring C functions into global namespace when
13332 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13334 * LString.h: make sure config.h has been loaded before LString.h.
13336 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13337 (one for each char read by EatLine!).
13339 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13342 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13344 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13345 to the same as the par we break from
13347 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13349 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13351 * MenuBackend.C (expand): also create menu entries for wide
13352 versions of the floats.
13354 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13356 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13358 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13359 frontends/Makefile.am
13365 * tabular.C (getTokenValue): add std::
13367 * tabular-old.C (getTokenValue): add std::
13368 (getTokenValue): ditto
13369 (getTokenValue): ditto
13371 * screen.C (ToggleSelection): adjust
13373 * lyxtext.h: put selection cursors inside a Selection struct.
13375 * lyxfunc.C (moveCursorUpdate): adjust
13377 * lyxfont.C (latexWriteStartChanges): add std::
13379 * lyxfind.C: adjust
13381 * font.h: delete with(char const *, LyXFont const &)
13383 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13385 * FontInfo.C (getFontname): add std::
13387 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13388 (workAreaButtonPress): adjust
13389 (tripleClick): adjust
13391 (moveCursorUpdate): adjust
13394 * BufferView2.C (gotoInset): adjust
13396 2001-05-30 Juergen Vigna <jug@sad.it>
13398 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13399 to check pspell I add this as default as I now have new pspell
13400 libraries and they seem to use this.
13402 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13404 * text2.C (CutSelection): make the cursor valid before the call to
13407 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13409 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13410 relied on 0 terminated strings and other horrors. Bug found due to
13411 the new assert in lyxstring!
13413 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13416 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13418 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13421 * lyxfunc.C (processKeySym): change method of getting to the
13424 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13425 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13426 * BufferView_pimpl.[Ch]: here as private methods.
13428 2001-05-28 Juergen Vigna <jug@sad.it>
13430 * text.C (SetHeightOfRow): added the update() call again as it is
13431 needed to initialize inset dimensions!
13433 2001-05-16 Juergen Vigna <jug@sad.it>
13435 * text2.C (SetCharFont): Add new function with BufferView * and
13436 bool toggleall parameters for setting insets internal fonts.
13437 (SetFont): Freeze the undo as we may change fonts in Insets and
13438 all this change should be inside only one Undo!
13440 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13441 setting font's in insets as for them we have the SetFont function!
13443 2001-05-15 Juergen Vigna <jug@sad.it>
13445 * text2.C (ClearSelection): to be sure we REALLY don't have any
13448 * tabular.C (TeXCellPreamble): fixed the left border problem for
13451 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13453 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13456 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13458 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13459 LFUN_BREAKPARAGRAPH.
13461 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13462 help test to "internal only", similar for LFUN_INSERT_URL
13464 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13465 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13466 auto_region_delete and deadkeys.
13468 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13471 * LColor.C: remove some dead entries, tidy a little
13473 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13475 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13477 (Dispatch): implement LFUN_ESCAPE
13479 * commandtags.h: add LFUN_ESCAPE
13481 * LyXAction.C (init): add entry for LFUN_ESCAPE
13483 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13484 Remove commented code.
13485 (insertNote): moved here
13486 (open_new_inset): moved here
13488 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13491 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13493 * kbmap.C (findbinding): clean it up and make it work correctly.
13495 * lyx_main.C (init): do not pass argc and argv as parameters
13497 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13499 * buffer.C: fix path for OS/2 & Win32
13503 * lyx_main.C: Added os:: class.
13505 * os2_defines.h: update
13507 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13509 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13510 better by trying again with reduced state.
13512 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13514 * lyxrc.C (read): print error about invalid key sequence only when
13515 debugging (because not all latinX keysyms are known to some X
13518 * kbsequence.C (getiso): add a few std:: qualifiers
13519 (getiso): comment out extra return statement.
13521 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13523 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13525 (Dispatch): enhance the accent inset a bit. (not perfect)
13527 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13529 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13531 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13533 * bufferlist.C (emergencyWrite): fix assert() call
13535 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13537 * text.C (InsertChar): Added trivial patch to only send the "you
13538 can not do multiple spaces this way" message once during a
13541 2001-05-08 Baruch Even <baruch@lyx.org>
13543 * Makefile.am: Changed order of libraries to get LyX to link properly
13544 with the gnome frontend.
13546 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13548 * LaTeXFeatures.h: add a std:: qualifier
13550 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13552 * paragraph.C (String): use stringstream
13554 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13556 * paragraph.C (writeFile): remove footflag arg
13558 * buffer.C (makeLaTeXFile): use stringstream
13559 (latexParagraphs): remove footnot gurba
13561 * LaTeXFeatures.C (getPackages): use stringstream
13562 (getMacros): likewise
13563 (getTClassPreamble): likewise
13564 (getFloatDefinitions): new method
13566 * paragraph.C (writeFile): reindent
13569 * WorkArea.h: revert the xpos + etc changes.
13571 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13573 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13575 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13576 (pasteSelection): likewise
13577 * text2.C (CreateUndo): likewise
13579 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13581 * minibuffer.C (peek_event): temporarily reduce the functionality
13582 of the minibuffer (to allow args on lfuns)
13584 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13585 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13587 * buffer.C (readInset): add compability reading of old float
13588 lists, add reading of new style float list.
13589 (readInset): avoid reevaluation of inscmd.getCmdName()
13590 (getLists): reindent
13592 * MenuBackend.C (MenuItem): implement parsing of
13593 md_floatlistinsert and md_floatinsert.
13594 (expand::LastFiles): move initalizaton of iterators out of loop,
13595 avoid reevaluation.
13596 (expand::Documents): introduce typdedef vector<string> Strings,
13598 (expand::ExportFormats): introduce typedef vector<Format const *>
13599 Formats, and use it.
13600 (expand): implement FloatListInsert and FloatInsert.
13602 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13603 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13604 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13606 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13608 (Dispatch::LFUN_FLOAT_LIST): implement
13610 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13612 * LaTeX.C (run): Fix problem with --export code.
13614 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13616 * BufferView.[Ch] (workarea): removed.
13617 (getClipboard) new method; wrapper for workarea()->getClipboard()
13619 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13622 * WorkArea.h (width, height, xpos, ypos): These methods all
13623 returned the dimensions of the work_area sub-area of WorkArea,
13624 resulting in a position error if the WorkArea were resized. Now
13625 return the dimensions of the entire WorkArea.
13627 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13629 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13631 * LaTeX.C (deplog): correct the syntax of regex reg1
13633 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13635 * undo.C: remove !NEW_INSETS cruft
13637 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13639 * text2.C: remove !NEW_INSETS cruft
13641 * text.C: remove !NEW_INSETS cruft
13643 * tabular.C: remove !NEW_INSETS cruft
13645 * spellchecker.C: remove !NEW_INSETS cruft
13647 * lyxtext.h: remove !NEW_INSETS cruft
13649 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13651 * lyxfunc.C: remove !NEW_INSETS cruft
13653 * lyxfind.C: remove !NEW_INSETS cruft
13655 * lyx_cb.C: remove !NEW_INSETS cruft
13657 * figureForm.C: remove !NEW_INSETS cruft
13659 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13661 * buffer.[Ch]: remove !NEW_INSETS cruft
13663 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13665 * CutAndPaste.C: remove !NEW_INSETS cruft
13667 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13669 * BufferView2.C: remove !NEW_INSETS cruft
13671 * BufferView.h: remove !NEW_INSETS cruft
13673 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13675 * Lsstream.h: include LString.h before the sstream headers to
13676 fix problem with gcc 2.95.3 and lyxstring
13678 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13680 * lyx_main.C: add using directives when needed for C functions
13681 declared in std:: namespace.
13683 2001-04-27 Juergen Vigna <jug@sad.it>
13685 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13686 (SetHeightOfRow): comment out the update call should not be needed!
13688 2001-04-13 Juergen Vigna <jug@sad.it>
13690 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13691 (LyXTabular): tried to minimize operator= operations (and realized
13692 hopfully Lars wish).
13694 2001-04-27 Juergen Vigna <jug@sad.it>
13696 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13698 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13700 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13702 * buffer.C (readInset): hack to make listof algorithm work
13704 * BufferView_pimpl.C: hack to make listof algorithm work
13706 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13708 * LyXAction.C: removed all !NEW_INSETS cruft
13709 (init): moved lfun_item in method
13711 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13713 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13715 * BufferView2.C (theLockingInset): white space.
13717 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13719 * minibuffer.C: include <iostream>
13721 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13723 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13725 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13727 * text.[Ch] (TransposeChars): new method
13729 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13731 * call message directly through LyXView instead of through LyXFunc
13732 * BufferView2.C: adjust
13733 * BufferView_pimpl.C: adjust
13734 * FontLoader.C: adjust
13736 * bufferview_funcs.C: adjust
13737 * converter.C: adjust
13738 * figureForm.C: adjust
13739 * importer.C: adjust
13741 * lyx_gui_misc.C: adjust
13742 * lyxfunc.C: adjust
13745 + more files in subdirs
13747 * lyxparagraph.h (size): move up int file
13750 * adjust all uses of Assert to lyx::Assert.
13752 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13753 lyxfunctional in namespace lyx
13754 * layout.C (hasLayout): ditto
13757 (delete_layout): ditto
13758 (NumberOfClass): ditto
13759 * converter.C (GetFormat): ditto
13764 * bufferlist.C (getFileNames): ditto
13765 (emergencyWriteAll): ditto
13768 * MenuBackend.C (hasSubmenu): ditto
13771 * BufferView_pimpl.C (getInsetByCode): ditto
13773 2001-04-18 Juergen Vigna <jug@sad.it>
13775 * vspace.C (asLatexString): fixed the 100% problem.
13777 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13779 * lyxfunc.C (Dispatch):
13781 * minibuffer.h: add a few std:: qualifiers
13783 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13785 * minibuffer.[Ch]: reimplement so that commands is initiated and
13786 run from lyxfunc, simplified som handling, and made the completion
13787 and history code for complete. wip.
13789 * lyxfunc.C (processKeySym): call message
13790 (miniDispatch): new temporary method
13791 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13792 (LFUN_MESSAGE): implement
13793 (LFUN_MESSAGE_PUSH): implement
13794 (LFUN_MESSAGE_POP): implement
13795 (initMiniBuffer): the initial/defualt minibuffer message.
13797 * lyxfont.[Ch]: inline some more getters
13799 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13801 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13803 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13804 (AutoSave): use LFUN_MESSAGE
13805 (Reconfigure): ditto
13807 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13809 * figureForm.C: use LFUN_MESSAGE
13811 * converter.C (runLaTeX): use LFUN_MESSAGE
13813 * bufferview_funcs.C: use LFUN_MESSAGE
13815 (changeDepth): ditto
13817 * bufferparams.h: use boost::
13819 * bufferlist.h: inherit privately from noncopyable
13821 * bufferlist.C (loadLyXFile): remove some commented code.
13823 * buffer.C (runChktex): use LFUN_MESSAGE
13825 * ShareContainer.h: inherit privately from noncopyable
13827 * ParagraphParameters.[hC] (depth): inline it.
13829 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13831 (message): new method
13832 (messagePush): ditto
13833 (messagePop): ditto
13834 (show): init minibuffer
13835 (showState): direct call
13837 * LaTeX.[Ch]: inherit privately from noncopyable
13838 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13839 instead of WriteStatus.
13841 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13843 * BufferView_pimpl.C (buffer): don't init minibuffer
13844 (workAreaButtonPress): use LFUN_MESSAGE
13845 (workAreaButtonRelease): ditto
13846 (savePosition): ditto
13847 (restorePosition): ditto
13848 (MenuInsertLyXFile): ditto
13849 (workAreaExpose): don't init minibuffer
13850 (update): remove commented code, simplify
13852 * BufferView2.C (openStuff): use LFUN_MESSAGE
13853 (toggleFloat): ditto
13856 (copyEnvironment): ditto
13857 (pasteEnvironment): ditto
13862 (updateInset): remove some commented code
13864 * lastfiles.h: inherit privately from noncopyable
13867 * lyx_main.h: ditto
13869 * lyxlex_pimpl.h: ditto
13871 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13872 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13873 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13875 * LyXAction.h: inherit privately from noncopyable, add methods
13876 func_begin, func_end, returning iterators to the func map.
13878 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13879 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13880 (func_begin): new method
13881 (func_end): new method
13883 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13885 (copySelection): ditto
13886 (pasteSelection): ditto
13888 * BufferView.C: whitespace change
13889 * BufferView.h: inherit privately from noncopyable
13891 2001-04-16 Allan Rae <rae@lyx.org>
13893 * tabular-old.C (l_getline):
13894 * spellchecker.C (sc_check_word):
13895 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13896 an unrecognised preprocessor directive. So ensure they're wrapped.
13898 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13900 * src/exporter.C (Export): Give an error message when path to file
13903 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13905 * LaTeX.C (deplog): Always check that foundfile exists.
13907 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13910 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13912 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13914 * tabular.[Ch] (getLabelList): implement new method
13916 * minibuffer.h: comment ouf setTiimer
13918 * minibuffer.C (ExecutingCB): constify res
13919 (peek_event): constify s
13920 (Set): constify ntext
13921 (Init): constify nicename
13923 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13925 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13926 (savePosition): use two params to Minibuffer::Set
13927 (restorePosition): ditto
13929 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13931 * lyx_main.C: include language.h
13933 * Makefile.am (lyx_main.o): add language.h
13935 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13941 * CutAndPaste.C: include gettext.h
13943 * lyxfont.h: remove old hack with ON and OFF.
13946 * lyxfont.h: do not include language.h...
13951 * bufferview_funcs.C:
13957 * paragraph.C: ... but do it here instead
13959 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13961 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13963 * tabular.C: small reformat
13965 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13968 (BreakParagraph): ditto
13969 (SetOnlyLayout): ditto
13972 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13975 * lastfiles.C: removed most using decl, add std:: where needed
13977 * buffer.C: ws changes
13979 * MenuBackend.C (class compare_format): put into anon namespace
13980 (expand): constify label, names, action, action2
13983 * text.C (SingleWidth): constify font
13984 (IsBoundary): constify rtl2
13985 (GetVisibleRow): constify ww
13987 * LaTeX.C (deplog): constify logfile
13989 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13991 (workAreaExpose): constify widthChange, heightChange
13993 * lyxrow.C (par): moved
13996 * lyxrow.h: as inlines here
13998 * lyxfont.h (shape): moved from lyxfont.C
13999 (emph): moved from lyxfont.C
14001 * lyxfont.C (LyXFont): use initialization list for all
14003 (shape): move to lyxfont.h as inline
14004 (emph): move to lyxfont.h as inline
14007 2001-04-04 Juergen Vigna <jug@sad.it>
14009 * vspace.C: had to include stdio.h for use of sscanf
14011 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14014 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14015 independent of xforms.
14017 2001-04-02 Juergen Vigna <jug@sad.it>
14019 * spellchecker.C: fixed namespace placing!
14021 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14023 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14024 the LyXParagraph * is 0.
14026 2001-03-29 Juergen Vigna <jug@sad.it>
14028 * vspace.C: added support for %, c%, p%, l%.
14029 (stringFromUnit): added helper function.
14030 (asLatexString): changed to give right results for the %-values.
14032 * buffer.C: convert the widthp in a width%.
14034 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14036 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14039 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14040 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14042 * lyx_cb.[Ch]: see above.
14044 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14048 * lyx.[Ch]: replaced by figure_form.[Ch].
14052 * lyxfunc.C: changed headers associated with above changes.
14054 2001-03-27 Juergen Vigna <jug@sad.it>
14056 * BufferView_pimpl.C: set the temporary cursor right!
14058 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14060 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14062 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14064 * LString.h: removed "using std::getline"!
14066 * BufferView_pimpl.C (Dispatch): changes due to changes in
14067 InsetInclude::Params.
14069 * buffer.C (tag_name): removed redundant break statements as they were
14070 producing lots of warnings with my compiler.
14072 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14074 * LString.h: add "using std::getline" when using the real <string>.
14076 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14078 * buffer.C: removed bitset usage.
14079 PAR_TAG moved to an anonymous name space.
14080 (tag_name): new funtion, also in the anonymous namespace.
14081 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14082 (makeDocBookFile): clean code. Completed transition from string arrays
14084 (SimpleDocBookOnePar): code clean.
14086 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14088 * tabular.C: add some comments.
14090 2001-03-22 Juergen Vigna <jug@sad.it>
14092 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14093 compatibility read a bit and fixed bug with minipage in different
14096 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14098 * buffer.C (pop_tag): removed.
14099 (push_tag): removed.
14100 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14101 array replaced with vector. Added support for CDATA sections.
14102 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14104 (makeDocBookFile): XML conformant declaration of CDATA section,
14105 fixed bug related to <emphasis> in the first paragraph char.
14106 (sgmlOpenTag): exclude empty tags.
14107 (sgmlCloseTag): ditto.
14109 * buffer.h (pop_tag): removed.
14110 (push_tag): removed.
14112 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14114 * language.h (Languages): added size_type and size().
14116 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14118 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14119 response on compability reading of minipages. One probliem is that
14120 the old usage of minipages was «flertydig»
14122 * several files here and in subdirs: don't use static at file
14123 scope use anon namespaces instead.
14125 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14127 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14128 LaTeX output. This is necessary for Literate document
14131 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14133 * buffer.C: insert hfill when needed.
14135 * tabular.C (l_getline): use string::erase, small whitespace change.
14137 * BufferView_pimpl.C: try the anon namespace.
14138 * WorkArea.C: ditto
14140 2001-03-16 Juergen Vigna <jug@sad.it>
14142 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14143 otherwise it won't open options-dialogs.
14145 * buffer.C: honor pextraWidth(p) on converting minipages.
14147 * tabular.C (l_getline): changed the functions to strip trailing \r.
14149 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14151 * BufferView_pimpl.C:
14152 * minibuffer..C: added "using SigC::slot" declaration.
14154 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14156 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14162 * paragraph.C: ditto
14164 * lyxtext.h: NO_PEXTRA
14166 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14168 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14169 * ParameterStruct.h: ditto
14170 * ParagraphParameters.h: ditto
14171 * lyxparagraph.h: ditto
14173 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14175 * buffer.C: add compability for minipage alignment.
14176 (latexParagraphs): remove unwanted pextra check.
14178 * several files: remove CXX_WORKING_NAMESPACES
14180 * buffer.C (pop_tag): tie is in namespace boost
14182 * BufferView.h: noncopyable is in namespace boost
14184 * lyx_main.h: ditto
14187 * lastfiles.h: ditto
14188 * bufferlist.h: ditto
14189 * ShareContainer.h: ditto
14191 * LyXAction.h: ditto
14194 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14196 * Merging changes from BRANCH_MVC back into HEAD.
14198 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14200 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14202 * BufferView_pimpl.C: change from intl.C
14206 * Makefile.am: move combox.*
14212 * intl.C: remove dialog (covered by prefs)
14214 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14216 * lyxfunc.C (Dispatch): removed redundant break statement.
14218 2001-03-14 Juergen Vigna <jug@sad.it>
14220 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14222 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14224 * buffer.C: add hack to fix compability reading of minipages.
14226 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14228 * buffer.C (getLists): Cleanup.
14230 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14232 * lyxfont.C (update): don't honor toggleall on font size.
14234 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14238 * Makefile.am: moved to frontends/xforms/
14242 * BufferView_pimpl.C: changes for moved mathpanel
14244 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14246 * gettext.h: fix gettext_init() in --disable-nls
14248 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14250 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14252 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14255 * lyx.h: strip external form
14257 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14259 * BufferView_pimpl.C: add comment, destroySplash()
14261 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14263 * BufferView_pimpl.C:
14267 * lyxfunc.C: use re-worked insetinclude
14269 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14271 * buffer.C: add using std::stringstream.
14273 * lyx_cb.C: readd using std::ios.
14275 * buffer.C: add using std::map.
14277 * BufferView_pimpl.C: add using std::vector.
14279 * ShareContainer.h: add std:: to swap.
14281 * buffer.h: add some typedefs
14282 * buffer.C (getLists): use them
14283 (getLists): renamed from getTocList.
14284 add a counter for the different float types and use it in the
14286 (getLists): use the same counter for the NEW_INSETS and the "non"
14289 * lyx_cb.h: remove unused items, includes, using etc.
14291 * ShareContainer.h: remove some commented code, add more comments
14292 and "documentation".
14294 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14296 * buffer.C (getTocList): make the list also when NEW_INSETS is
14299 * buffer.h: remove TocType
14301 * buffer.C (getTocList): change to return a map<string,
14302 vector<TocItem> >, implement for dynamic number of list.
14304 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14305 * text2.C (PasteSelection): adjust
14306 * CutAndPaste.C (pasteSelection): adjust
14308 * FloatList.C (FloatList): update from the new_insets branch.
14309 * Floating.[Ch]: ditto
14310 * LaTeXFeatures.C: ditto
14312 * lyxlex_pimpl.C: ditto
14314 * paragraph.C (Last): remove when NEW_INSETS is defined.
14316 * other file: changes because of the above.
14318 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14320 * lyxparagraph.h: rename next to next_, previous to previous_,
14321 make them private for NEW_INSETS. Rename Next() to next(),
14322 Previous() to previous().
14324 * other files: changes because of the above.
14326 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14329 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14332 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14334 * main.C (main): pass lyx_localedir to gettext_init().
14336 * gettext.h: remove locale_init and gettext_init macros
14338 * gettext.C (locale_init): new function
14339 (gettext_init): new function
14341 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14344 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14346 * Moved credits to frontends:
14347 * credits.[Ch]: removed
14348 * credits_form.[Ch]: removed
14349 * lyx_gui_misc.C: remove credits stuff
14352 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14354 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14356 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14357 unneeded destructor.
14359 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14360 a standalone pointer again.
14362 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14364 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14370 * ToolbarDefaults.C:
14379 * BufferView_pimpl.C: use new file dialog in GUII
14382 * lyx_cb.C: remove LayoutsCB to Toolbar
14384 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14386 * ShareContainer.h (get): add std:: qualifier
14388 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14390 * ShareContainer.h: define a proper ShareContainer::value_type
14391 type (and use typename to please compaq cxx)
14393 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14395 * lyxparagraph.h: move serveral local vars to
14396 ParameterStruct/ParagraphParameters., use ShareContainer in
14397 FontTable., make vars in FontTable private and add getter and
14400 * paragraph.C: changes because of the above.
14402 * lyxfont.h: remove copy constructor and copy assignment. (the
14403 default ones is ok), move number inside FontBits. move inlines to
14406 * lyxfont.C: add number to initializaton of statics, move several
14407 inlines here. constify several local vars. some whitespace
14408 cleanup. Dont hide outerscope variables.
14410 * Spacing.h: add two new constructors to match the set methods.
14412 * ShareContainer.h: new file, will perhaps be moved to support
14414 * ParameterStruct.h: new file
14416 * ParagraphParameters.h: new file
14418 * ParagraphParameters.C: new file
14420 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14421 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14423 * BufferView_pimpl.C: ParagraphParameter changes.
14424 * buffer.C: Likewise.
14425 * bufferview_funcs.C: Likewise.
14426 * text.C: Likewise.
14427 * text2.C: Likewise.
14429 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14431 * lyxfind.C (LyXReplace): do not redefine default argument in
14433 (IsStringInText): ditto
14434 (SearchForward): ditto
14435 (SearchBackward): ditto
14437 2001-03-06 Juergen Vigna <jug@sad.it>
14439 * lyxfind.C (IsStringInText): put parentes around expressions.
14441 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14443 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14445 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14447 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14449 * stl_string_fwd.h: add comment
14451 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14454 * tabular.C: remove unused DocBook methods
14460 killed DO_USE_DEFAULT_LANGUAGE
14462 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14464 * lyx_gui.C: do not include language.h.
14466 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14467 arguments in function implementation.
14469 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14471 * BufferView_pimpl.C: add <ctime>
14473 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14475 * BufferView_pimpl.C: add using std::find_if
14477 2001-02-27 José Matos <jamatos@fep.up.pt>
14479 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14482 2001-02-11 José Matos <jamatos@fep.up.pt>
14484 * buffer.C (makeDocBookFile): command styles now have a parameter as
14485 "title" by default.
14487 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14489 * layout_forms.[Ch]: removed
14490 * lyx_cb.[Ch]: out character
14491 * lyx_gui.C: out character
14492 * lyx_gui_misc.C: out character
14493 * bufferview_funcs.C: : out character,
14494 added toggleall as parameter in ToggleAndShow
14496 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14498 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14500 * text2.C (SetCurrentFont): Disable number property at boundary.
14502 2001-02-26 Juergen Vigna <jug@sad.it>
14504 * lyxfunc.C (getStatus): added a string argument override function so
14505 that this is correctly called from LyXFunc::Dispatch if it contains a
14506 do_not_use_argument which is used!
14507 (Dispatch): added check for "custom" export and call appropriate func.
14509 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14511 * lyxrc.C: Add language_command_local, language_use_babel and
14512 language_global_options.
14514 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14516 * buffer.C (makeLaTeXFile): Use language_use_babel and
14517 language_global_options.
14519 2001-02-23 Juergen Vigna <jug@sad.it>
14521 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14522 which works with LyXText and putted it inside BufferView. Here now we
14523 only call for that part the BufferView::Dispatch() function.
14525 * BufferView.C (Dispatch): added.
14527 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14528 functions which needs to use a LyXText over from LyXFunc.
14529 (MenuInsertLyXFile): added
14530 (getInsetByCode): added
14531 (moveCursorUpdate): added
14532 (static TEXT): added
14534 2001-02-22 Juergen Vigna <jug@sad.it>
14536 * BufferView_pimpl.C (update): call a status update to see if LyXText
14539 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14541 * vc-backend.C (revert): implement for CVS
14542 (getLog): implement for CVS
14544 2001-02-20 Juergen Vigna <jug@sad.it>
14546 * text2.C (ClearSelection): added BufferView param for inset_owner call
14548 * lyxfunc.C (TEXT): added this function and use it instead of
14549 directly owner->view()-text of getLyXText().
14551 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14553 * src/layout_forms.C: out preamble
14554 * src/layout_forms.h: out preamble
14555 * src/lyx_cb.C: out preamble
14556 * src/lyx_cb.h: out preamble
14557 * src/lyx_gui.C: out preamble
14558 * src/lyx_gui_misc.C: out preamble
14559 * src/lyxfunc.C: connect with guii preamble
14561 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14563 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14565 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14567 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14568 whether to run bibtex.
14570 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14572 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14574 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14576 * Makefile.am (lyx_SOURCES): removed bibforms.h
14578 * vspace.h: doxygen
14580 * text.C (GetVisibleRow): make several local vars const
14582 * tabular.C: small cleanup.
14584 * lyxserver.C (callback): use compare instead of strncmp
14586 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14587 inlines to after class or to paragraph.C
14589 * lyxfont.h: remove friend operator!=
14591 * converter.h: move friend bool operator< to non friend and after
14594 * combox.h: small cleanup
14596 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14597 to inlines after class def.
14599 * buffer.C (pop_tag): use string operations instead of strcmp
14601 * bmtable.c: doxygen, small cleanup
14603 * LaTeX.h: remove friend operator==
14605 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14617 * BufferView_pimpl.C:
14618 * BufferView.[Ch]: remove cruft
14620 2001-02-14 Juergen Vigna <jug@sad.it>
14622 * lyxfunc.C: removed #if 0 unused code
14624 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14626 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14628 * text2.C (SetSelection): added a BufferView * parameter
14630 2001-02-13 Juergen Vigna <jug@sad.it>
14632 * lyxfunc.C (Dispatch): fixed protected blank problem.
14633 * BufferView2.C (protectedBlank): added LyxText * parameter.
14635 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14636 (AppendColumn): same as above for column_info.
14638 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14639 (moveCursorUpdate): use a LyXText param for support of InsetText.
14641 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14642 (tripleClick): ditto
14644 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14646 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14648 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14650 * text2.C (SetSelection): set correct update status if inset_owner
14651 (ToggleFree): ditto
14653 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14655 * tabular.C: remove some commented code.
14657 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14659 * BufferView_pimpl.C: call hideSplash()
14661 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14664 * bibforms.h: remove
14667 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14668 add LFUN_CHILD_CREATE
14670 * counters.h: fix tiny typo
14675 * lyx.C: move splash to frontends/xforms/
14677 * lyx_gui_misc.C: move Include and Bibform to frontends
14679 * lyxvc.h: clarify comment
14681 * vspace.C: tiny housekeeping
14683 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14685 * text.C (PrepareToPrint): RTL Fix.
14687 * paragraph.C (GetUChar): New method.
14688 (String): Use GetUChar.
14690 * buffer.C (asciiParagraph): Use GetUChar.
14692 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14694 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14696 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14699 * buffer.C: rename to getLogName(), handle
14700 build log / latex log nicely
14702 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14705 * MenuBackend.h: remove support for reference menuitem type.
14707 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14709 * BufferView_pimpl.C: housekeeping
14710 * BufferView_pimpl.h:
14715 * minibuffer.h: move Timeout GUI-I
14717 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14719 * lyxrc.C (read): Update converters data-structures.
14721 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14723 * LaTeX.h (operator!=): add operator != for Aux_Info
14725 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14727 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14729 * LaTeXLog.C: deleted, useful code moved to Buffer
14732 * buffer.C: new function getLatexLogName()
14738 * lyxfunc.C: use frontends for LaTeX and VC logs
14740 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14742 * LaTeX.h: yet another std:: that Allan forgot.
14744 * Variables.C (set): renamed from isset(), because this clashes
14745 with some HP-UX macros (grr).
14747 2001-02-06 Allan Rae <rae@lyx.org>
14749 * LaTeX.h: Another bug fix. Missing std:: this time.
14751 2001-02-04 Allan Rae <rae@lyx.org>
14753 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14754 floats problem. I've left it commented out because it's not quite
14755 correct. It should also test that the current object is a table or
14756 figure inset. But I haven't gotten around to figuring out how to do
14757 that. I *think* it'll be something like: "table" == inset.type()
14759 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14762 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14764 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14765 all the citation/databases/styles in the auxilary file.
14766 (run): Rerun latex if there was a babel language error.
14768 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14770 * text.C (Backspace): Preserve the font when changing newline char
14772 (BreakParagraph): If the cursor is before a space, delete the space.
14774 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14776 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14778 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14779 new argument (code).
14780 (ChangeCitationsIfUnique): New method.
14782 * paragraph.C (GetPositionOfInset): Handle bibkey.
14784 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14786 * BufferView_pimpl.h: change type of Position::par_pos to
14787 LyXParagraph::size_type.
14789 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14791 * BufferView_pimpl.C (savePosition, restorePosition): Write
14792 messages to minibuffer.
14794 2001-01-28 José Matos <jamatos@fep.up.pt>
14796 * buffer.C (makeDocBookFile): adds support for document language.
14797 A silly restriction on the name of LatexCommand types where removed.
14798 Added support for CDATA sections, allows to chars unescaped, used
14799 among others in code, to avoid escape < and >.
14801 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14803 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14804 saved positions instrad of a stack. Furthermore, a position is
14805 stored using paragraph id/paragraph position.
14807 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14808 Remove LFUN_REF_BACK.
14810 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14812 * converter.C (dvipdfm_options): New method.
14814 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14816 * vspace.C (isValidLength): Fix for empty input string.
14818 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14820 * LyXAction.C (init): change description of LFUN_FIGURE to
14823 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14825 * LaTeX.C: add using directive
14827 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14829 * MenuBackend.C (expand): Fix the sorting of the formats.
14831 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14833 * lyx_main.C: tiny error message fix
14835 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14837 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14838 calling fl_initialize(). This fixes the problem with ',' as
14839 decimal separator in text files.
14841 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14843 * trans.C (process): Fix the keymap bug.
14845 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14847 * LaTeX.C (scanAuxFiles): New method. Provides support for
14848 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14849 (scanLogFile) Scan for "run BibTeX" messages.
14851 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14852 OT1 font encoding. Also, load the aecompl package if the ae
14855 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14857 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14859 * texrow.C (increasePos): turn two error messages into debug
14862 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14864 * LaTeX.C (scanAux): Handle the \@input macro.
14865 (runBibTeX): Use scanAux().
14867 * language.C (latex_options_): New field.
14869 * LaTeXFeatures.C (getMacros): Add language macros.
14871 * buffer.C (makeLaTeXFile): Small fix.
14873 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14875 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14877 * text2.C: add a using directive.
14879 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14884 * lyxfunc.C: kill LyXBell.
14886 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14888 * text.C (IsBoundary): Remove the error message
14890 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14892 * lyxrc.C (setDefaults): Correct initialization value for
14895 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14897 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14900 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14901 and GotoNextNote().
14903 * src/LyXAction.C: Added reference-next.
14905 * text.C (InsertChar): Use contains instead of strchr.
14907 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14909 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14911 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14912 alignment commands (when needed).
14914 * text.C (InsertChar): Add ':' to number separator chars.