1 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * lyxrc.C (setDefaults, getDescription, output, read):
4 * lyxrc.h: remove ps_command
6 2004-03-22 Angus Leeming <leeming@lyx.org>
8 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
9 Ensure that error_handler is processed once only and that all data
10 is saved before attempting to output any warning messages.
12 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
14 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
16 * tabular.C (TeXRow): crash fix (from Kayvan and André)
18 2004-03-19 André Pönitz <poenitz@gmx.net>
20 * cursor.[Ch] (reset): take main text inset as argument
23 * BufferView_pimpl.C: adjust
25 * paragraph.[Ch]: fix completely broken operator=()
27 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
29 * LColor.C (getFromLyXName): make sure that the color name is used
32 2004-03-17 Angus Leeming <leeming@lyx.org>
35 * LyXAction.C (init): remove LFUN_FORKS_KILL.
37 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
38 dialog and to kill a forked process.
40 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
42 * text2.C (setCursorFromCoordinates): fix font problem
44 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
46 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
47 bogus "rebuild cursor" code
49 2004-03-11 André Pönitz <poenitz@gmx.net>
51 * buffer.[Ch]: use InsetText instead of LyXText as container for
54 * dociterator.[Ch]: drop the BufferView * member which is not needed
55 anymore after the change to buffer.C
61 * BufferView_pimpl.[Ch]:
63 * cursor_slice.[Ch]: adjust
65 * text3.C: fix bug in mathDispatch
67 2004-03-08 André Pönitz <poenitz@gmx.net>
69 * undo.[Ch]: use 'StableDocumentIterator' as base for
72 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
75 * bufferparams.[Ch]: add jurabib support and param.
77 * LaTeX.C: add FIXME/comment.
79 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
81 * buffer.C: increment file format to 230.
83 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
85 * cursor.C (dispatch): avoid infinite loops
87 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
89 * rowpainter.C (paintSelection): fix x coordinates
91 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
93 * text.C (rowBreakPoint): fix breaking before displayed insets
95 2004-03-01 André Pönitz <poenitz@gmx.net>
97 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
99 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
103 * BufferView_pimpl.C:
111 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
117 * BufferView_pimpl.C: rename textwidth -> maxwidth,
118 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
120 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
122 * Bidi.[Ch] (computeTables): const correctness
123 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
124 fill_hfill, fill_label_hfill and x from Row
125 * lyxtext.h: prepareToPrint returns a RowMetrics
126 * rowPainter.C: adjust
127 * text.C (prepareToPrint): use width, not textWidth. adjust
128 (redoParagraphInternal, cursorX): adjust
129 * text2.C (getColumnNearX): adjust
130 (init): put a default value to the top LyXText::width
132 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
134 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
136 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
138 * lyxtext.h: add FontIterator class
140 * text.C (FontIterator, operator*, operator->, operator++): add
141 (rowBreakPoint, setRowWidth): adjust (fixing a
144 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
146 * BufferView_pimpl.C (workAreaDispatch): allow also
147 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
149 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
151 * text.C (rowBreakPoint): fix a bug showing with very large insets
153 2004-02-25 André Pönitz <poenitz@gmx.net>
156 * cursor.[Ch]: move some mathed specific code to mathed
158 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
160 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
161 use_tempdir in preferences
162 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
164 * lyx_main.C: ensure that tempdir is valid
165 * lyxlex.h: correct typo
166 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
167 * paragraph.[Ch] (isMultiLingual): make const
168 * cursor.[Ch] (openable): make const
170 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
172 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
174 2004-02-20 André Pönitz <poenitz@gmx.net>
176 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
178 * cursor.[Ch]: prepare for localized getStatus()
184 * text3.C: streamlines the LyXText cursor movement handlers a bit.
186 2004-02-20 André Pönitz <poenitz@gmx.net>
188 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
190 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
192 * text2.C (setCursorFromCoordinates): switch to absolute coords
195 * text3.C (dispatch): adjust
197 2004-02-16 André Pönitz <poenitz@gmx.net>
199 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
202 * cursor_slice.[Ch]: remove unneeded acessor function
204 * lyxtext.h: rename rtl() to isRTL()
212 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
214 * rowpainter.C (paintSelection): coord fix
216 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
218 * Spacing.C: compile fix
220 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
222 * cursor.C (dispatch): restore current_ before returning
224 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
226 * text2.C (cursorUp, cursorDown): fix coords
229 2004-02-12 André Pönitz <poenitz@gmx.net>
234 * text3.C: add LCursor & parameter to most cursor movement functions
235 remove usage of LyXText::cursorRow() and cursorPar()
237 * cursor.[Ch]: add textRow() needed members
240 * BufferView_pimpl.C:
243 * BufferView_pimpl.C: adjust
245 2004-02-11 André Pönitz <poenitz@gmx.net>
249 * BufferView_pimpl.C: shift undo/redo handling
251 * cursor.[Ch]: fix mathed crash
254 * lyxtext.h: move selectionAsText to LCursor
262 * rowpainter.C: fix excessive drawing
264 2004-02-06 André Pönitz <poenitz@gmx.net>
267 * BufferView_pimpl.[Ch]:
268 * text3.C: move some text specific LFUN handling
270 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
272 * text3.C (checkInsetHit): adjust coords
273 * text2.C (getColumnNearX): adjust coords
274 (edit): adjust coords
275 * text.C (getRowNearY): add two asserts
277 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
280 * format.C: add using std::distance to compile on gcc 2.95/stlport
282 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
284 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
286 2004-02-04 André Pönitz <poenitz@gmx.net>
288 * BufferView.[Ch] (insertInset):
289 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
294 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
296 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
297 on the default clause of the switch
298 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
299 wasn't catched by LCursor::dispatch
301 2004-02-03 André Pönitz <poenitz@gmx.net>
304 * cursor.[Ch]: some additional asserts
306 * undo.[Ch]: remove LyXText dependency in interface
310 * lyxtext.h (firstPar, lastPar): remove dead functions
315 * paragraph.[Ch]: adjust
317 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
319 * lyxfind.C (find): fix argument order in call to ::find
321 2004-02-02 André Pönitz <poenitz@gmx.net>
323 * cursor.[Ch]: remove direct access to anchor
325 * text.C: remove findText() hack
327 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
329 * iterators.[Ch] (lockPath): remove in favour of...
330 * BufferView.[Ch] (setCursor): this addition
331 * BufferView.C (putSelectionAt): adjust
332 * undo.C (performUndoOrRedo): adjust
333 * lyxfunc.C (dispatch): adjust
335 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
337 * iterators.C (lockPath): add a missing slice
338 * undo.C (performUndoOrRedo): remove redundant positioning code
340 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
342 * vc-backend.C (scanMaster): ";" -> ';'
344 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
346 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
349 * lyxtextclass.C (compare_name): rename to...
350 (LayoutNamesEqual): ...this
352 * lyxlex_pimpl.C (compare_tags): inherit from
353 std::binary_function, put back into anon namespace
355 * lyxfind.C (MatchString): inherig from std::binary_function
356 (findChange): use empty() istead of !size()
358 * format.C (FormatNamesEqual): new functor
365 * converter.C (compare_Converter): rename to...
366 (ConverterEqual): ...this, and fixup a bit.
367 (getConverter): use it, and make function const
368 (getNumber): use it, and make function const
372 * bufferlist.C: add using boost::bind
374 * MenuBackend.C (MenuNamesEqual): new functor
375 (hasMenu): use it, and make function const
376 (hasSubmenu): use nested bind to get rid of compare_memfun.
378 2004-01-30 André Pönitz <poenitz@gmx.net>
380 * BufferView_pimpl.C:
391 * text3.C: move some of the edit(x,y) handling to the insets
392 some coordinate changes.
394 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
396 * text.C: add using statements for std::advance and std::distance
398 * paragraph.C: add using statement for std::distance
400 * lyxfind.C: add using statement for std::advance
402 * cursor.C (region): remove std:: from swap
403 (openable): use nucleus in stead of operator->
405 * BufferView.C: add using statements for std::distance and std::swap
407 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
409 * iterators.C: Remove the pimple, move the needed structures to
410 the header file. Create accessor for the positions stack.
411 (asPosIterator): remove function
413 * PosIterator.C (PosIterator): move constructors to top of file
414 (PosIterator): reimplement the constructor taking a ParIterator in
416 (setFrom): new function
417 (operator!=): inline it
419 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
421 * lyxfind.C (replaceAll): use std::advance
423 * iterators.h: inherit from std::iterator.
425 * PosIterator.C (advance, distance): remove
426 * PosIterator.h: interit from std::iterator.
428 2004-01-26 André Pönitz <poenitz@gmx.net>
431 * BufferView_pimpl.[Ch]:
435 * bufferview_funcs.C:
446 * output_plaintext.C:
448 * paragraph_funcs.[Ch]:
449 * paragraph_pimpl.[Ch]:
455 * text3.C: more IU: dumps most of the rest of the mathcursor
456 implementation into cursor.[Ch]; "globalize" a bit of it.
458 2004-01-25 Angus Leeming <leeming@lyx.org>
460 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
462 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
464 * LaTeXFeatures.h: add nice_ and nice() const
465 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
467 2004-01-20 André Pönitz <poenitz@gmx.net>
470 * BufferView_pimpl.C:
472 * bufferview_funcs.C:
485 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
486 LCursor and mathcursor parts to LCursor and InsetBase.
488 2004-01-15 André Pönitz <poenitz@gmx.net>
490 * cursor_slice.[Ch]: add a few covienience functions
492 * funcrequest.[Ch]: remove BufferView * member
494 * BufferView_pimpl.C:
501 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
503 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
505 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
506 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
508 2004-01-13 André Pönitz <poenitz@gmx.net>
511 * lyxtext.h: hide cursor and selection anchor behind accessor function
514 * BufferView_pimpl.[Ch]:
516 * bufferview_funcs.C:
526 * cursor_slice.[Ch]: some integer type changes for inset unification
528 * lyxcursor.[hC]: remove, it's CursorSlice now.
531 * BufferView_pimpl.[Ch]:
532 * bufferview_funcs.C:
538 * textcursor.[Ch]: adjust
540 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
542 * text2.C (undoSpan): add and use
543 * text.C (breakParagraph): use undoSpan (fix bug 578)
546 2004-01-08 Angus Leeming <leeming@lyx.org>
548 * BufferView_pimpl.C (MenuInsertLyXFile):
549 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
550 * lyxfunc.C (menuNew, open, doImport):
551 FileFilterList change to the FileDialog open and save functions.
553 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
555 * ShareContainer.h: make isEqual and isUnique adaptable
557 * CutAndPaste.C: make resetOwnerAndChanges adaptable
559 2004-01-07 Angus Leeming <leeming@lyx.org>
562 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
564 * BufferView_pimpl.C (dispatch): act on these LFUNs.
566 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
567 functions replacing find, replace and replaceAll.
569 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
570 LFUN_WORDFIND(FORWARD|BACKWARD).
572 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
574 * text.C (breakParagraph): remove an outdated #warning
576 2004-01-07 André Pönitz <poenitz@gmx.net>
578 * lyxfind.C: somewhat clearer logic
580 * text.C: prevent crash in cursorX on unitialized row cache
582 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
584 * lyxcursor.[Ch] (operator>): add
585 * textcursor.C (selStart, selEnd): use std::min and std::max
587 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
589 * Chktex.C: include boost/format.hpp
591 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
593 * InsetList.C: replace functor MathcIt with adaptable functor
595 (insetIterator): modify accordingly
597 * BranchList.h: move the BranchNamesEqual functor here from...
598 * BranchList.C: ... to here
600 * BranchList.C: new BranchListEqual fuctor, use it. Remove
602 (add): replace a finding loop with std::find_if.
604 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
606 * output_docbook.C: moving LatexParam functionality into
609 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
611 * buffer.C: increment format to 229.
613 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
616 * lyx_sty.[Ch]: remove minipageindent_def
622 * text3.C: remove LFUN_INSET_MINIPAGE
624 2003-12-28 Angus Leeming <leeming@lyx.org>
626 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
628 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
630 * text2.C (setParagraph): fix off-by-one crash
632 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
634 * output_docbook.C: header stuff for AGU
636 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
638 * text2.C (redoCursor): remove
641 * BufferView_pimpl.C: remove calls to redoCursor and
642 setCursor(cursor.par(), cursor.pos()) all around
644 2003-12-15 Angus Leeming <leeming@lyx.org>
646 * buffer.C: up the format to 228.
648 2003-12-15 André Pönitz <poenitz@gmx.net>
650 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
655 * BufferView_pimpl.C:
664 2003-12-15 Angus Leeming <leeming@lyx.org>
666 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
667 than getFromGUIName to manipulate the color.
669 2003-12-14 Angus Leeming <leeming@lyx.org>
671 * BranchList.[Ch]: minimize the API.
672 (Branch::getBranch, getColor): now return a 'const &'.
673 (Branch::setSelected) now returns a bool set to true if the
674 selection status changes.
675 (BranchList::clear, size, getColor, setColor, setSelected,
676 allBranches, allSelected, separator): removed.
677 (BranchList::find): new functions, returning the Branch with
679 (BranchList::add, remove): return a bool indicating that
680 the operation was successful.
682 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
683 new InsetBranch::isBranchSlected member function.
685 * LColor.[Ch]: mimimize the API.
686 (fill): renamed as addColor and made private.
687 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
688 versions of these functions taking a string arg have been removed.
690 * bufferparams.C (readToken):
691 * lyxfunc.C (dispatch):
692 * lyxrc.C (read): changes due to the altered BranchList and
695 * factory.C (createInset, readInset): changes due to altered
698 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
701 * lyxfunc.C: remove insetminipage. "minipage-insert"
702 now produces a frameless minipage box inset.
704 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
706 * textcursor.[Ch] (selStart,selEnd): add new methods
707 remove selection::start, end, use LyXCursor::operator<
708 * lyxcursor.[Ch] (operator<): add
709 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
710 * BufferView.[Ch] (unsetXSel): add
711 * text2.C (clearSelection): use unsetXSel,adjust
714 * rowpainter.C: adjust
715 * bufferview_funcs.C (put_selection_at): adjust
717 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
719 * BufferView_pimpl.C: small coord. correction
721 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
723 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
724 dragging over the splash screen.
726 2003-12-11 Angus Leeming <leeming@lyx.org>
728 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
729 as it is now handled in LyXText::dispatch.
731 * text3.C (doInsertInset): remove a level of nesting.
733 2003-12-11 Angus Leeming <leeming@lyx.org>
735 * factory.C (createInset): changes due to the changed interface to
736 InsetCommandMailer::string2params.
738 2003-12-10 Angus Leeming <leeming@lyx.org>
740 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
741 'dialog-show-new-inset <inset name>'
743 2003-12-10 Angus Leeming <leeming@lyx.org>
745 * buffer.C: up the format to 227.
747 * factory.C: the box inset is now identified simply by 'Box'.
749 2003-12-10 Angus Leeming <leeming@lyx.org>
751 * buffer.C: up the format to 226.
753 * factory.C: the note inset is now identified simply by 'Note'.
755 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
757 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
758 when a pit is enough. Standarize a couple of loops.
760 2003-12-05 Angus Leeming <leeming@lyx.org>
762 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
763 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
764 data to the re-worked "log" dialog.
766 2003-12-03 André Pönitz <poenitz@gmx.net>
774 * text2.C: use Inset::getText instead of Inset::getParagraph
776 2003-12-03 André Pönitz <poenitz@gmx.net>
780 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
781 InsetText::read() as LyXText::read()
783 2003-12-02 Angus Leeming <leeming@lyx.org>
785 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
786 type. Add a comment in the implementation that the function uses
787 the stream's bad() function rather than fail() as the std::streams
790 2003-12-02 André Pönitz <poenitz@gmx.net>
792 * lyxlex.[Ch]: make interface more similar to std::stream
794 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
796 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
798 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
800 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
802 * vspace.[Ch]: remove VSpace::NONE
804 2003-12-01 André Pönitz <poenitz@gmx.net>
807 * lyxtext.h: move ParagraphList member to LyXText
808 rename LyXText::ownerParagraphs to LyXText::paragraph
811 * bufferview_funcs.C:
821 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
823 * undo.C: fix cursor positioning
825 2003-12-01 John Levon <levon@movementarian.org>
827 * BufferView_pimpl.C: fix a crash on exit with
830 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
832 * BranchList.C: fix setSelected() method.
834 2003-11-28 André Pönitz <poenitz@gmx.net>
836 * ParagraphParameters.[Ch]:
837 * ParameterStruct.h: remove space above/below from Paragraph to
840 * BufferView_pimpl.C:
852 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
854 * factory.C: Syntax change for CharStyles
856 2003-11-28 André Pönitz <poenitz@gmx.net>
861 * buffer.[Ch]: move LyXText member
863 2003-11-28 André Pönitz <poenitz@gmx.net>
865 * BufferView.[Ch]: make LyXText * text a private member
867 * BufferView_pimpl.C:
878 * output_plaintext.C: cleanup
880 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
883 * lyxtextclass.[Ch]: parametrize SGML document header
885 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
888 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
891 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
893 * text2.C (setFont): rework using PosIterator (no more recursive)
894 (setCharFont): no more needed
895 (setLayout): no more selection cursors fiddling (done by redoCursor)
896 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
897 destroy remaining ones)
899 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
901 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
903 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
906 * text3.C: adjust + re-allow multi par depth changes
907 * textcursor.C: simplify a bit
909 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
915 * src/output_docbook.C:
916 * src/output_latex.C:
921 * src/text2.C: Introducing a number of tags parametrizing various
922 XML formats that we may want to support
924 2003-11-25 André Pönitz <poenitz@gmx.net>
926 * InsetList.[Ch] (begein, end): inline as suggested by profiler
928 * lyxtext.h (leftMargin/rightMargin): simplify interface
935 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
937 * lyxfunc.C (dispatch): propogate the bibtex databases from the
938 master file to any child files. Fixes bug 546.
940 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
942 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
944 2003-11-24 André Pönitz <poenitz@gmx.net>
946 * rowpainter.C: simplification
948 * text2.C (updateCounters): remove call to redoParagraph on
949 changed labels as this is far too expensive.
951 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
953 * converter.C (convert): fix a crash: this function gets
954 called with buffer == 0 from importer code.
956 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
958 * text3.C (cursorPrevious): make sure that we do not compare
959 iterators form different containers.
962 * rowpainter.C (paintSelection): make sure that we do not compare
963 iterators from different containers.
965 * text3.C (dispatch): [PRIOR] make sure that we do not compare
966 iterators from different ParagraphList containers.
969 * text2.C (LyXText): change order of initialization slightly
970 (operator=): new function. copy all variables except cache_par_
971 (moveUp): make sure that we do not compare iterators from
972 different ParagraphList constainers.
975 * text.C (firstPar): new function
976 (lastPar): new function
977 (endPar): new function
979 * lyxtext.h: move things around and group public functions, public
980 variables, private functions, private variables
982 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
984 * factory.C: change call to InsetERT constructor to avoid
985 additional invocation of method status
986 * text2.C (toggleInset): remove redundant update() call
987 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
988 instead of a Bufferview pointer
990 2003-11-21 André Pönitz <poenitz@gmx.net>
992 * rowpainter.C: simplification
994 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
996 * text3.C (dispatch): make possible to extend a word/row selection
999 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1001 * lyxtext.h: x0_,y0_ -> xo_,yo_
1002 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1003 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1004 * rowpainter.C (paintRows): paint full paragraphs
1006 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1008 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1011 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1013 * lyxtext.h: add x0_, y0_
1014 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1015 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1017 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1019 * text2.C (setCursorIntern): move the x_target update here *
1020 * text3.C: change some bv() to true/false in calls to
1021 cursorUp/Down/Right/Left
1022 * cursor.C: use helper function.
1024 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1026 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1027 * paragraph_funcs.[Ch]: correct comment
1028 * rowpainter.C: do not paint selections away from bv->cursor()
1029 Fix a long standing selection painting bug.
1030 * text3.C: generalize mouse-selection code to LyXTexts other that
1032 * textcursor.C: do not use y coords if we can use par offsets
1034 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1036 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1037 cursor position after e.g. inset insert)
1039 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1041 * lyxfind.C (replace): adjust to locking removal + some
1044 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1046 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1049 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1052 * output_docbook.C: XML sanitation: new layout
1053 parameters InnerTag and CommandDepth
1055 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1057 * BufferView_pimpl.C:
1059 * text3.C: Fix the insertion and modification of button-style
1062 2003-11-13 André Pönitz <poenitz@gmx.net>
1064 * InsetList.[Ch]: remove deleteLyXText
1066 * paragraph.[Ch]: cache beginOfBody position
1071 * text3.C: remove superfluous update() calls
1075 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1077 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1078 * BufferView.C (fitLockedInsetCursor): remove
1079 * cursor.[Ch] (getDim): add
1080 * text.C (getRowNearY): add faster version
1081 * text3.C: remove some update calls
1083 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1095 * text3.C: The Character Style /XML short element patch.
1097 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1100 * factory.C: Small step to solving 'unable to insert some insets'
1103 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1105 * cursor.[Ch] (updatePos): new function for updating the y
1106 position of the tip inset
1107 * bufferview_funcs.C (put_selection_at):
1108 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1110 2003-11-11 André Pönitz <poenitz@gmx.net>
1112 * text.C: remove big comment on invalid Paragraph pointers as it is
1115 2003-11-11 André Pönitz <poenitz@gmx.net>
1117 * text_funcs.[Ch]: merge with ...
1125 * Makefile.am: remove text_funcs.[Ch]
1127 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1129 * cursor.C (getPos): return absolute cached y coord
1131 * BufferView_pimpl.C (fitCursor): new simplistic code
1132 (workAreaDispatch): add a fitCursor call
1134 2003-11-10 André Pönitz <poenitz@gmx.net>
1137 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1139 2003-11-10 André Pönitz <poenitz@gmx.net>
1141 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1142 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1143 indicate that the cursor needs to leave an inset
1145 * lyxtext.h: remove inset locking
1147 * cursor.[Ch]: re-implement functionality provided by inset locking
1150 * BufferView_pimpl.[Ch]:
1152 * bufferview_funcs.[Ch]:
1164 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1166 * PosIterator.[Ch]: replace the stack with a vector, add inset
1168 * iterators.[C]: adjust
1170 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1172 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1174 * paragraph_funcs.C (readParToken): put the correct id in the
1175 error item, not the id of the top paragraph
1177 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1179 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1180 * bufferview_funcs.C (put_selection_at): use the above
1182 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1184 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1186 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1188 * output_linuxdoc.h:
1189 * output_plaintext.h:
1191 * output_docbook.h: add #include statements
1193 2003-11-05 José Matos <jamatos@lyx.org>
1195 * output_docbook.[Ch]:
1196 * output_latex.[Ch]:
1197 * output_linuxdoc.[Ch]:
1198 * output_plaintext.[Ch]: New files for output formats.
1199 * output.[Ch]: New file for helper functions.
1202 * paragraph_funcs.[Ch]: output functions moved to new files.
1204 * outputparams.h: rename of latexrunparams.h
1212 * paragraph_funcs.[Ch]:
1213 * paragraph_pimpl.[Ch]:
1214 * tabular.[Ch]: rename ascii to plaintext
1215 and LatexRunParams to OutputParams.
1217 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1219 * iterators.[Ch] (text): require bv argument
1220 * undo.C (recordUndo):
1221 * lyxfunc.C (dispatch):
1222 * bufferview_funcs.C (put_selection_at): adjust
1224 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1226 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1228 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1230 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1233 2003-11-04 André Pönitz <poenitz@gmx.net>
1235 * cursor.[Ch]: restructure
1238 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1240 * iterators.[Ch] (asCursor): remove
1242 * lfuns.h: remove LFUN_INSET_EDIT
1248 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1250 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1252 * lyxfind.[Ch]: complete overhaul
1253 * BufferView_pimpl.C:
1255 * paragraph.[Ch] (insert): add
1257 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1261 * text.C: remove dead spellcheck code
1263 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1265 * dispatchresult.h: add a val setter
1267 * cursor.C (dispatch): use a tempvar for data_[i]
1269 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1271 * PosIterator.[Ch]: compile fix
1273 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1275 * text.C (cursorPar): deactivate the cursor cache
1277 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1279 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1281 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1283 * text3.C (dispatch): adjust for new DisptchResult semantics.
1285 * lyxfunc.C (dispatch): handle update when return from
1286 Cursor::dispatch, adjust for new DispatchResult semantics.
1288 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1289 DispatchResult(true) mean to not update. Add class functions for
1290 setting dispatched and update, as well as reading.
1292 * cursor.C (dispatch): don't handle update here
1294 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1296 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1297 * trans_mgr.C: adjust
1299 * paragraph_funcs.C (readParToken): exception safety
1301 * lyxvc.h: store the vcs pointer in a scoped_ptr
1304 * lyxsocket.C (serverCallback): exception safety
1306 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1308 * ispell.C (clone): make it return a auto_ptr
1310 * factory.C (createInset): exception safety
1311 (readInset): exception safety
1313 * bufferlist.C (newBuffer): exception safety
1315 * Thesaurus.C (Thesaurus): use initialization for aik_
1317 * MenuBackend.C (expandToc): exception safety.
1319 2003-11-03 André Pönitz <poenitz@gmx.net>
1323 * bufferview_funcs.C: remove getInsetFromId()
1326 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1332 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1334 * PosIterator.C (distance, advance): new
1335 * bufferview_funcs.[Ch] (put_selection_at): new
1336 * iterators.[Ch] (lockPath): new
1338 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1340 * iterators.[Ch] (asPosIterator): added
1341 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1342 * PosIterator.[Ch]: added
1344 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1348 * cursor.C (dispatch):
1349 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1351 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1352 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1353 contructor, add a class function dispatched. Remove operator>=
1355 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1357 * debug.C: only use the default constructor for debugstream
1360 * main.C (main): include debug.h and setup the lyxerr streambuf
1363 2003-10-31 José Matos <jamatos@lyx.org>
1365 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1367 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1368 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1369 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1370 * paragraph_pimpl.C (simpleTeXSpecialC):
1371 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1372 add LatexRunParams argument.
1374 * exporter.C (Export): change call accordingly.
1376 * latexrunparams.h: add new member to take care of the other backends.
1377 2003-10-30 José Matos <jamatos@lyx.org>
1379 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1380 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1381 factorise code for paragraph output.
1383 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1386 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1388 * text3.C (dispatch):
1389 * lyxfunc.C (dispatch):
1390 * cursor.C (dispatch):
1391 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1393 * dispatchresult.h: make the dispatch_result_t ctor explicit
1395 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1398 * buffer.C: small refactoring of docbook stuff
1400 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1402 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1405 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1407 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1408 operator dispatch_result_t, and operators for == != and >=
1410 * cursor.C (dispatch): adjust for operator dispatch_result_t
1411 removal. comment out call to update
1413 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1415 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1423 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1426 * dispatchresult.h: new file, DispatchResult broken out of
1429 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1431 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1433 * text.C (rowBreakPoint): put a hack inside #if 0
1435 2003-10-28 André Pönitz <poenitz@gmx.net>
1439 * paragraph_funcs.C:
1442 * text2.C: general cleanup (lots of small stuff)
1444 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1446 * text2.C (cursorEnd): simple fix to the "end key goes to one
1447 before the end on last row" bug
1449 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1451 * text.C (backspace): fix the "zombie characters"
1453 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1455 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1457 2003-10-27 André Pönitz <poenitz@gmx.net>
1459 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1461 * factory.C: handle new InsetPagebreak, InsetLine
1463 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1464 and move handling into new InsetPagebreak, InsetLine
1466 * BufferView_pimpl.C:
1468 * ParagraphParameters.C:
1469 * ParameterStruct.h:
1474 * paragraph_funcs.C:
1475 * paragraph_pimpl.C:
1481 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1484 * lyxrow_funcs.[Ch]:
1490 * text3.C: remove lastPos uses in favour of Row::endpos
1492 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1494 * undo.C (performUndoOrRedo): fix two crashes by setting a
1495 cursor by hand and reordering some calls. Use bv->lockInset instead
1496 of inset->edit because the latter loses cursor information
1498 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1500 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1502 (rowBreakPoint): fix width. change point to point + 1.
1503 Add a missing check.
1505 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1508 * lyxfunc.C: fix (at least partly) the problems
1509 with the Nav menu and headers inside branch insets
1512 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1514 * paragraph.C (getChar): add strong asserts
1516 * lyxrow_funcs.C (lastPos): remove hideous hack
1518 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1519 (fill): adjust to that (avoid an infinite loop)
1521 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1523 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1525 2003-10-23 André Pönitz <poenitz@gmx.net>
1527 * RowList_fwd.h: change list<> to vector<> to gain speed
1528 after suggestion from Alfredo
1530 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1532 * lyxtext.h: move the bidi stuff from here...
1535 * Bidi.[Ch]: ... to here
1537 2003-10-23 André Pönitz <poenitz@gmx.net>
1540 * text.C (isLastRow, isFirstRow): new functions
1542 * paragraph.h: new width cache member
1544 * rowpainter.C: replace RowList::iterator with Row & where possible
1546 * lyxfunc.C: replace several view()->text with a single call
1548 * toc.C: fix 'unused' warning
1550 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1552 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1553 when woring with stream::pos_type
1554 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1556 2003-10-22 André Pönitz <poenitz@gmx.net>
1559 * text.C: use Row & instead of RowList::iterator
1561 * lyxrow.h: rename end() to endpos()
1567 2003-10-22 Angus Leeming <leeming@lyx.org>
1569 * buffer.[Ch] (fully_loaded): new member function, returning true
1570 only when the file has been loaded fully.
1571 Used to prevent the premature generation of previews and by the
1572 citation inset to prevent computation of the natbib-style label.
1574 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1575 templates are all set up.
1577 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1579 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1581 * text.C: fixed an "oops" in the "is a bit silly"
1584 2003-10-21 André Pönitz <poenitz@gmx.net>
1586 * FuncStatus.[Ch]: small stuff, whitespace
1588 * lyxfont.[Ch]: operator<<() for debug reasons
1592 * lyxtext.h: whitespace, spelling
1594 * paragraph.C: naming of variables
1597 * text2.C: small stuff
1600 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1602 * text.C: (1) finish off the inset display() work;
1603 (2) fix the "is a bit silly" bug (accessing char
1606 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1608 * text.C: re-introduce display() for insets, fixing the
1609 various bugs (stretch of line above, math inset
1612 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1614 * text.C (rightMargin): remove spurious semicolon
1616 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1619 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1621 * text3.C: fix one crash due to wrong cursor def
1623 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1625 * vc-backend.C (scanMaster): make the regex static
1627 * LaTeX.C (scanAuxFile): make the regexs static
1629 * text3.C (doInsertInset, dispatch, dispatch):
1630 * text2.C (cursorUp, cursorDown):
1631 * text.C (selectNextWordToSpellcheck):
1632 * BufferView_pimpl.C (dispatch):
1633 * lyxfunc.C (dispatch): localDispatch -> dispatch
1635 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1637 * lyxsocket.C: include <cerrno>
1639 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1641 * lyxfunc.C (dispatch): remove textcache stuff
1643 * bufferlist.C (release): remove textcache stuff
1646 * TextCache.C: delete file
1647 * TextCache.h: delete file
1649 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1651 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1652 delete of the bv_->text.
1653 (resizeCurrentBuffer): remove texcache stuff
1654 (workAreaResize): ditto
1656 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1658 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1661 2003-10-16 André Pönitz <poenitz@gmx.net>
1668 * text3.C: speed up by storing y positions per paragraph plus per-row
1669 offset instead of having a 'full' y position in the row.
1671 2003-10-15 André Pönitz <poenitz@gmx.net>
1675 * undo.[Ch]: make undo aware of inner insets
1677 2003-10-14 Angus Leeming <leeming@lyx.org>
1679 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1680 static member functions LyX::ref() and LyX::cref.
1681 (lastfiles): new accessor functions for the new lastfiles_ member var.
1682 (addLyXView, views_): add a new LyXView to the list of views_.
1683 (updateInset): loop over all LyXViews to call their own updateInset
1684 member function, returning a pointer to the Buffer owning the inset.
1686 * BufferView_pimpl.C (loadLyXFile):
1687 * MenuBackend.C (expandLastfiles):
1688 * bufferlist.C (MenuWrite, QuitLyX):
1689 lastfiles is no longer a global variable.
1690 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1692 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1693 static function. Access through LyX::cref().emergencyCleanup().
1695 2003-10-14 André Pönitz <poenitz@gmx.net>
1697 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1699 * undo.[Ch]: restoring part of 'undo in insets'
1702 * undo_funcs.[Ch]: merge with undo.[Ch]
1704 * tabular.C: small cleansing stuff
1706 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1708 * paragraph_funcs.C (readParToken): report unknown insets as error
1709 boxes. Use the outer paragraph as location (also for unknown
1712 * factory.C (readInset): do not abort on reading an unknown inset.
1713 Eat it and return 0.
1715 2003-10-13 Angus Leeming <leeming@lyx.org>
1717 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1719 * lyxrc.C: displayTranslator is now a function,
1720 declared in GraphicsTypes.h.
1722 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1724 * format.C: new placeholder $$a to pass the socket address.
1726 * bufferlist.[Ch]: new function getBufferFromTmp.
1728 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1729 files in the temporary dir.
1731 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1733 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1735 * Makefile.am: add lyxsocket.[Ch].
1737 * lyx_main.C (error_handler): handle SIGPIPE.
1739 2003-10-13 André Pönitz <poenitz@gmx.net>
1741 * BufferView_pimpl.C:
1746 * undo_funcs.[Ch]: use paroffset_type instead of
1747 ParagraphList::iterators to prevent multiple conversion
1748 (and get a more robust interface)
1750 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1752 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1754 * text3.C (dispatch): ditto
1756 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1758 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1759 move the onlyfile, use onlyfile instead of foundfile in a couple
1762 * DepTable.C (update): flush the error stream a bit more
1764 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1766 * lyxserver.C (callback): adjust
1768 * lyxfunc.C (getStatus): add a missing brace in commented code
1769 (ensureBufferClean): reindent
1770 (dispatch): delete version taking a string
1772 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1774 * LaTeX.C (deplog): move found file handlig from here...
1775 (handleFoundFile): .. to new function here.
1776 (deplog): make sure to discover several files mentioned on the
1779 2003-10-10 André Pönitz <poenitz@gmx.net>
1786 * text3.C: fix some of the tabular crashes
1788 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1790 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1792 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1794 2003-10-09 André Pönitz <poenitz@gmx.net>
1796 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1799 * BufferView_pimpl.C:
1800 * bufferview_funcs.C:
1811 * undo_funcs.C: adjust
1813 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1815 * text2.C (incrementItemDepth): new function, use a backtracking
1816 algorithm to discover the correct item depth.
1817 (resetEnumCounterIfNeeded): new function, use a backtracking
1818 algorithm to discover if counter reset is needed.
1819 (setCounter): use them. Simplify a bit. Add different labels for
1820 different item depths for itemize.
1822 * paragraph.C (Paragraph): remove initialization of enumdepth
1825 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1826 enumerate and itemize. Change the type of itemdepth to signed char.
1828 2003-10-08 André Pönitz <poenitz@gmx.net>
1830 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1835 * tabular.[Ch]: fix crash after 'row-insert'
1837 2003-10-08 Angus Leeming <leeming@lyx.org>
1839 Fix doxygen warnings.
1841 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1842 Remove CutAndPaste:: prefix from header file declaration.
1844 * LColor.h (fill): remove LColor:: prefix from declaration.
1846 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1847 use lyx::depth_type rather than Paragraph::depth_type so that
1848 header file and .C file match.
1850 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1852 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1853 * aspell.C: \file aspell_local.C -> \file aspell.C
1854 * gettext.C: \file gettext.C -> \file src/gettext.C
1855 * gettext.h: \file gettext.h -> \file src/gettext.h
1856 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1857 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1858 * text.C: \file text.C -> \file src/text.C
1860 * toc.C: move comment so that doxygen is not confused.
1862 2003-10-07 Angus Leeming <leeming@lyx.org>
1864 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1866 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1869 * aspell_local.h: add forgotten std::string's.
1871 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1878 * text3.C: The Box patch. Fancybox support, minipage, parbox
1880 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1886 * ParagraphParameters.h:
1896 * lyxtextclasslist.h:
1899 * paragraph_pimpl.C:
1900 * textcursor.h: add <string> and other small fixes to make Lars'
1901 std::string patch compile with STLport.
1903 2003-10-06 Angus Leeming <leeming@lyx.org>
1905 * LColor.h: Add missing #include <string>.
1907 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1909 * All most all file in all subdirs: Make <string> be the prefered
1910 way of getting to std::string, add using declarations.
1912 2003-10-06 André Pönitz <poenitz@gmx.net>
1914 * metricsinfo.C: initialize LyXFont before changing attribute.
1915 (fixes the 'math in \emph is upright' bug)
1917 2003-10-06 André Pönitz <poenitz@gmx.net>
1919 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1921 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1924 * paragraph_pimpl.C: Small fixes to build using STLport
1926 2003-10-02 André Pönitz <poenitz@gmx.net>
1929 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1931 2003-10-01 André Pönitz <poenitz@gmx.net>
1933 * factory.C: assert early
1935 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1937 * lyx_main.C: remove the global debug object
1939 * debug.h: adjust for new debugstream
1941 * debug.C: adjust for new debugstream and keep the global debug
1944 2003-09-22 Angus Leeming <leeming@lyx.org>
1946 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1947 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1948 an incomplete class LyXFont.
1950 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1952 * factory.C: bug fix in branches
1954 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1956 * lyxfunc.C (processKeySym): adjust
1958 (dispatch): change arg name from ev to func, adjust
1959 (sendDispatchMessage): ditto
1961 * lyx_main.C (defaultKeyBindings): adjust keybindings
1962 (deadKeyBindings): ditto
1964 * kbsequence.C (addkey): return a FuncRequest
1966 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1968 * kbmap.C (bind): take a FuncRequest as arg, adjust
1971 (defkey): change to take a FuncRequest as arg, adjust
1972 (findbinding): take a FuncRequest as arg, adjust.
1974 * funcrequest.h (operator=): added
1976 * funcrequest.C (FuncRequest): default kb_action changed from
1977 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1979 * buffer.C (dispatch): simplify
1980 (dispatch): adjust to take a FuncRequest as arg, adjust
1982 * boost.C (assertion_failed): change assertion message slightly
1984 * ToolbarBackend.C (read): simplify
1986 * MenuBackend.C (binding): adjust call to findbinding, add a
1987 message if no binding is found.
1989 (expandToc): correct by adding a empty FuncRequest
1991 * LyXAction.C: include <boost/assert.hpp>
1992 (isPseudoAction): delete function
1993 (LookupFunc): change name to...
1994 (lookupFunc): this. change return type to FuncRequest.
1995 (getActionName): take kb_action as arg, simplify
1996 (funcHasFlag): add an assert, simplify.
1998 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2000 * toc.C (action): return a FuncRequest, simplify
2002 * lyxfunc.C (processKeySym): adjust
2003 (getStatus): delete version that takes an int.
2005 (dispatch): delete version that takes action as int
2007 (sendDispatchMessage): simplify and adjust
2009 * funcrequest.C (getArg): take unsigned int as arg
2011 * ToolbarBackend.C (read): adjust
2012 (add): delete version that takes func as a string.
2013 (getIton): take a FuncRequest as arg
2015 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2018 * MenuBackend.C (MenuItem): add a new construct that only takes a
2019 Kind, simplify the constructor use for submenus.
2021 (expandLastfiles): adjust
2022 (expandDocuments): adjust
2023 (expandFormats): adjust
2024 (expandFloatListInsert): adjust
2025 (expandFloatInsert): adjust
2026 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2028 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2029 Remove class variables lyx_pseudo_map and lyx_arg_map
2031 * LyXAction.C (searchActionArg): delete function
2032 (getPseudoAction): delete function
2033 (retrieveActionArg): delete function
2034 (LookupFunc): make it return kb_action, simplify.
2035 (getActionName): simplify
2037 * factory.C (createInset): fix new bug
2039 2003-09-19 Angus Leeming <leeming@lyx.org>
2041 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2042 masterFilename_ parameter in the include inset.
2044 * factory.C (createInset): changes due to the changes to InsetInclude.
2046 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2048 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2050 2003-09-18 Angus Leeming <leeming@lyx.org>
2053 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2054 Inset::fillWithBibKeys.
2055 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2057 2003-09-18 Angus Leeming <leeming@lyx.org>
2059 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2061 (ctor): pass and store a 'Buffer const &'
2062 (buffer): new member function.
2064 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2065 '*this' to the LaTeXFeatures ctor.
2067 2003-09-18 Angus Leeming <leeming@lyx.org>
2073 * text.C: rename EnumLColor as LColor_color.
2075 2003-09-18 Angus Leeming <leeming@lyx.org>
2077 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2078 remove #include "insets/insetbase.h" from cursor.h.
2080 2003-09-18 Angus Leeming <leeming@lyx.org>
2082 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2083 InsetOld_code to remove #include "inset.h".
2085 * iterators.C: add #include "insets/inset.h"
2087 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2089 * BufferView.C: remove more locking stuff that apparently doesn't
2090 do anything sensible.
2092 2003-09-16 André Pönitz <poenitz@gmx.net>
2095 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2098 2003-09-16 Angus Leeming <leeming@lyx.org>
2100 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2102 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2105 * paragraph.h: remove #include "lyxfont.h". Forward declare
2108 2003-09-16 Angus Leeming <leeming@lyx.org>
2110 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2111 of support/textutils.h.
2112 (isWord): move the contents of support/textutils.h's IsWordChar here.
2118 * text2.C: add #include "paragraph.h".
2121 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2123 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2129 * LaTeX.C: use namespace alias for lyx::support::os
2131 2003-09-16 Angus Leeming <leeming@lyx.org>
2134 * bufferview_funcs.C:
2137 * paragraph_pimpl.C:
2139 * text.C: add #include "LColor.h".
2141 2003-09-16 Angus Leeming <leeming@lyx.org>
2143 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2144 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2146 Store the FontBits::color variable as an int rather than as an
2147 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2150 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2151 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2152 string calls together.
2154 * lyxrc.C: add #include "LColor.h".
2156 2003-09-15 Angus Leeming <leeming@lyx.org>
2158 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2161 2003-09-15 Angus Leeming <leeming@lyx.org>
2163 * LColor.h: add an EnumLColor wrapper for LColor::color.
2165 * lyxfont.[Ch] (color, setColor, realColor):
2166 * lyxtext.h, text.C (backgroundColor):
2167 pass EnumLColor args to/from the functions, rather than LColor::color
2171 * lyxtext.h: forward declare EnumLColor.
2173 * lyx_main.C: add #include "LColor.h".
2175 2003-09-15 Angus Leeming <leeming@lyx.org>
2177 * .cvsignore: add lyx-gtk.
2179 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2184 * ParagraphParameters.C
2188 * bufferview_funcs.C
2198 * vc-backend.C: remove usage of STRCONV
2200 2003-09-15 Angus Leeming <leeming@lyx.org>
2202 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2203 explicitly define the color passed to the painter.
2205 2003-09-15 Angus Leeming <leeming@lyx.org>
2207 * bufferparams.C (BufferParams): reorder member initializers to avoid
2210 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2212 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2213 * text.C (updateRowPositions): remove an unusual nop
2215 2003-09-12 André Pönitz <poenitz@gmx.net>
2217 * BufferView_pimpl.C:
2226 * Counters.[Ch]: finish the 'automatic counters' job
2228 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2230 * aspell.C: include <boost/assert.cpp> (compile fix)
2232 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2234 * boost.C (assertion_failed): use lyx::support::abort instead of
2237 2003-09-10 Angus Leeming <leeming@lyx.org>
2239 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2240 with their _fwd progeny.
2242 2003-09-09 Angus Leeming <leeming@lyx.org>
2244 134 files throughtout the source tree: replace 'using namespace abc;'
2245 directives with the appropriate 'using abc::xyz;' declarations.
2247 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2249 * boost.C (emergencyCleanup): moved here from LAssert.c
2250 (assertion_failed): new function, called by BOOST_ASSERT
2252 * several files: change Assert to BOOST_ASSERT
2254 2003-09-09 Angus Leeming <leeming@lyx.org>
2256 * buffer.[Ch]: Add an Impl class and move Buffer's member
2257 variables into it. As a result move several header files out of
2260 Add header files to lots of .C files all over the tree as a result.
2262 2003-09-09 Angus Leeming <leeming@lyx.org>
2264 * buffer.[Ch]: make Buffer's member variables private. Add
2267 Lots of changes all over the tree as a result.
2269 2003-09-08 Angus Leeming <leeming@lyx.org>
2271 * graph.C: #include <config.h>.
2273 2003-09-08 Angus Leeming <leeming@lyx.org>
2277 * BufferView_pimpl.C:
2306 * toc.C: remove redundant using directives.
2308 2003-09-07 Angus Leeming <leeming@lyx.org>
2310 * LaTeXFeatures.h: remove #include "support/types.h".
2311 * ToolbarBackend.h: remove #include <algorithm>.
2312 * changes.h: remove #include <ctime>.
2313 * debug.h: remove #include <iosfwd>.
2314 * graph.h: remove #include "support/std_string.h".
2315 * lyx_main.h: remove #include <csignal>.
2316 * lyxlex_pimpl.h: remove #include <fstream>.
2317 * sgml.h: remove #include <algorithm>, <utility>.
2318 * toc.h: remove #include "support/std_ostream.h".
2319 Add #include <iosfwd>.
2321 2003-09-07 Angus Leeming <leeming@lyx.org>
2323 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2325 * converter.h: forward declare LatexRunParams.
2326 * encoding.h: remove #include "lyxrc.h".
2327 * lyxtext.h: remove #include "LColor.h".
2328 * lyxtextclass.h: remove #include "support/types.h".
2329 * trans.h: remove #include "tex-accent.h".
2330 * trans_mgr.h: remove #include "tex-accent.h".
2331 * insets/inset.h: remove #include "support/types.h", <vector>.
2332 * insets/insetcollapsable.h: remove #include "LColor.h".
2333 * insets/insetinclude.h: remove #include "dimension.h".
2334 * insets/insetlatexaccent.h: remove #include "dimension.h".
2335 * insets/insetoptarg.h:: remove #include "insettext.h".
2336 * insets/insettext.h: remove #include "dimension.h",
2337 <boost/shared_ptr.hpp>
2339 * insets/renderers.h: add #include "dimension.h".
2340 * insets/updatableinset.h: add #include "support/types.h".
2342 * many .C files: Associated changes.
2344 2003-09-06 Angus Leeming <leeming@lyx.org>
2346 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2347 one, inside testInvariant.
2349 * PrinterParams.C: new file.
2350 * PrinterParams.[Ch]: move the function bodies out of line.
2352 2003-09-06 Angus Leeming <leeming@lyx.org>
2354 * ParagraphParameters.h: forward declare ParameterStruct rather than
2355 including its header file.
2356 (depth): moved out-of-line.
2358 2003-09-06 Angus Leeming <leeming@lyx.org>
2360 * BufferView_pimpl.h:
2363 * lyxfunc.h: forward declare LyXKeySym rather than
2364 #include "frontends/LyXKeySym.h".
2366 * BufferView_pimpl.C:
2369 * lyxfunc.C: associated changes.
2371 2003-09-06 Angus Leeming <leeming@lyx.org>
2373 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2374 As a result, can remove the #include "insets/inset.h" from BufferView.h
2376 2003-09-06 Angus Leeming <leeming@lyx.org>
2378 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2379 As a result, can remove the #include "insets/inset.h" from BufferView.h
2381 2003-09-06 Angus Leeming <leeming@lyx.org>
2387 * bufferview_funcs.C:
2388 * BufferView_pimpl.C:
2393 * ParagraphParameters.C:
2398 * frontends/controllers/ControlDocument.C:
2399 * insets/insetcaption.C: rearrange the #includes into some sort of
2402 * buffer.h: remove #includes ErrorList.h, undo.h
2404 2003-09-06 Angus Leeming <leeming@lyx.org>
2406 * support/types.h: add a 'depth_type' typedef, used to store the
2407 nesting depth of a paragraph.
2410 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2411 defining explicitly.
2414 * paragraph_funcs.h:
2415 * ParagraphParameters.h:
2416 * sgml.h: use lyx::depth_type rather than Paragraph or
2417 ParameterStruct's depth_type.
2420 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2423 * BufferView_pimpl.C:
2425 * ParagraphParameters.C:
2428 * bufferview_funcs.C:
2435 * frontends/LyXView.C:
2436 * frontends/controllers/ControlDocument.C:
2437 * frontends/controllers/ControlErrorList.C:
2438 * insets/insetbibitem.C:
2439 * insets/insetbranch.C:
2440 * insets/insetcaption.C:
2441 * insets/insetcollapsable.C:
2442 * insets/insetenv.C:
2443 * insets/insetert.C:
2444 * insets/insetfloat.C:
2445 * insets/insetfoot.C:
2446 * insets/insetfootlike.C:
2447 * insets/insetnewline.C:
2448 * insets/insetquotes.C:
2449 * insets/insettabular.C:
2450 * insets/insettext.C:
2451 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2453 * frontends/controllers/ControlChanges.C: #include "changes.h".
2455 2003-09-06 Angus Leeming <leeming@lyx.org>
2457 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2458 than #including paragraph.h.
2461 * RowList.h: deleted. Superfluous.
2471 * insets/insettext.h: use ParagraphList_fwd.h rather than
2474 * paragraph.h: don't forward declare ParagraphList.
2477 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2478 rather than ParagraphList.h. paragraph.h is still needed for the
2479 Paragraph::depth_type parameters.
2481 * textcursor.h: enable it to compile stand-alone in light of the
2484 * bufferview_funcs.C:
2496 * frontends/controllers/ControlParagraph.C:
2497 * frontends/controllers/ControlTabular.C:
2498 * insets/insetmarginal.C:
2499 * insets/insetminipage.C:
2500 * insets/insetnote.C:
2501 * insets/insetoptarg.C: add header files needed to compile again.
2503 2003-09-06 Angus Leeming <leeming@lyx.org>
2505 * RowList_fwd.h: new file, forward-declaring Row rather than
2506 #including lyxrow.h.
2511 * insets/insettext.h: use it instead of RowList.h
2513 * bufferview_funcs.C:
2520 * text3.C: #include "RowList.h".
2522 2003-09-05 Angus Leeming <leeming@lyx.org>
2524 * factory.C (createInset):
2525 * vspace.C (c-tor): replace sscanf call with an istringstream.
2526 * ispell.C: re-add missing HP/UX headers.
2527 * lyxserver.C: re-add missing os2 headers.
2529 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2538 * text3.C: re-add missing system headers, needed for 2.95.2.
2540 2003-09-05 Angus Leeming <leeming@lyx.org>
2542 Changes most place everywhere due to the removal of using directives
2543 from support/std_sstream.h.
2545 2003-09-05 Angus Leeming <leeming@lyx.org>
2547 Replace LString.h with support/std_string.h,
2548 Lsstream.h with support/std_sstream.h,
2549 support/LIstream.h with support/std_istream.h,
2550 support/LOstream.h with support/std_ostream.h.
2552 Changes resulting throughout the tree.
2554 2003-09-05 Angus Leeming <leeming@lyx.org>
2556 * sgml.h: ensure that the header file can be compiled stand-alone.
2557 * *.C: strip out redundant #includes. (320 in total.)
2559 2003-09-04 Angus Leeming <leeming@lyx.org>
2561 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2562 here (from getPackages).
2564 * debug.[Ch]: add a new EXTERNAL tag.
2566 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2568 * text2.C (cursorEnd): simplify
2570 (getColumnNearX): adjust
2572 * text.C (computeBidiTables): adjust
2575 * rowpainter.C (paintChars): adjust
2576 (paintSelection): adjust
2577 (paintChangeBar): adjust
2580 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2582 (numberOfSeparators): adjust
2584 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2590 * text3.C: Restricts the mouse click functionality
2591 of insets like bibtex, include, toc and floatlist to the visible
2592 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2593 up the dialogs. Cursor has to be in front of the inset (i.e.
2594 start of row) for this to function.
2596 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2598 * bufferview_funcs.C (currentState): output row information
2600 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2602 * bufferview_funcs.C (currentState): output paragraph position
2604 2003-09-04 Angus Leeming <leeming@lyx.org>
2606 * FloatList.h: move out #include "Floating.h".
2607 * LaTeX.h: move out #include "DepTable.h".
2608 * LyXAction.h: move out #include "funcrequest.h".
2609 * buffer.h: move out #include "author.h", "iterators.h".
2610 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2611 * lyx_main.h: move out #include "errorlist.h".
2612 * lyxfunc.h: move out #include "FuncStatus.h".
2613 * lyxtext: move out #include "lyxcursor.h".
2614 * paragraph_pimpl.h: move out #include "counters.h".
2616 2003-09-03 Angus Leeming <leeming@lyx.org>
2618 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2619 preamble_snippets list, enabling us to add snippets to the preamble
2620 only if the snippet was not there already.
2622 2003-09-04 Angus Leeming <leeming@lyx.org>
2624 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2626 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2628 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2631 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2633 * BranchList.C: point fix, earlier forgotten
2635 2003-09-02 Angus Leeming <leeming@lyx.org>
2637 * box.C (contains): renamed from 'contained' after a fantastic
2640 2003-09-02 John Levon <levon@movementarian.org>
2646 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2648 2003-09-02 John Levon <levon@movementarian.org>
2650 * text2.C: simplification of cursorEnd(), including partial
2653 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2655 * buffer.C (readFile): add a space
2657 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2659 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2661 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2663 * buffer.C (readFile): new function, take a filename and a
2664 ParagraphList::iterator
2666 (readFile): adjust, make it private. don't use setStream, make
2667 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2668 always contain the filename.
2670 * BufferView.C (insertLyXFile): simplify and make it work for
2673 2003-08-30 John Levon <levon@movementarian.org>
2675 * Makefile.am: fix dist (from Kayvan)
2677 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2679 * most files: change to use const Buffer refs
2681 2003-08-27 André Pönitz <poenitz@gmx.net>
2683 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2684 on top of ownerPar().
2686 2003-08-27 John Levon <levon@movementarian.org>
2688 * funcrequest.C: properly initialise POD members
2690 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2692 * lyxtext.h (top_y): move top_y from here
2697 * BufferView_pimpl.[Ch]: to here
2698 * frontends/screen.C:
2699 * insets/insettabular.C:
2700 * insets/insettext.C: adjust
2701 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2703 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2706 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2708 2003-08-26 André Pönitz <poenitz@gmx.net>
2710 * paragraph_func.[Ch] (outerPar): new function
2713 * paragraph_funcs.C:
2714 * paragraph_funcs.h:
2715 * paragraph_pimpl.C:
2716 * text2.C: remove Inset::par_owner
2718 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2723 * text2.C: eliminates the needFullRow/display() stuff
2724 altogether, putting the logic in metrics/draw in the insets.
2726 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2728 * text2.C (redoParagraphInternal, redoParagraphs):
2729 * text.C (redoParagraph): add a call to updateRowPositions at the
2730 end of each 'metrics-like' call. Remove all others.
2731 (getRow): remove the 'y-computing' version.
2732 (getRowNearY): do not compute nor return the real y. Solve the
2733 'y < 0' problem and simplify.
2735 2003-08-22 Angus Leeming <leeming@lyx.org>
2737 * *.[Ch]: clean-up of licence and author blurbs.
2738 Also move config.h out of a few .h files and into a few .C files.
2740 2003-08-22 André Pönitz <poenitz@gmx.net>
2742 * lyxrow.[Ch]: add x_ and *fill_ members
2747 * text2.C: adjust/remove prepareToPrint() calls
2749 2003-08-22 André Pönitz <poenitz@gmx.net>
2751 * lyxrow.[Ch]: add end_ member
2753 * lyxrow_funcs.C: use LyXRow::end_
2755 * lyxtext.h (singleWidth): add LyXFont parameter
2758 * text2.C: adjust LyXText::singleWidth() calls
2760 * text.C (redoParagraph): simplify row breaking logic
2763 2003-08-19 André Pönitz <poenitz@gmx.net>
2765 * funcrequest.C: initialize button_ member
2768 * rowpainter.[Ch]: interface consolidation
2770 2003-08-18 André Pönitz <poenitz@gmx.net>
2773 * BufferView_pimpl.C:
2775 * paragraph_funcs.C:
2777 * text3.C: remove LyXScreen::draw() and fitCursor calls
2779 * BranchList.h: remove spurious semicolons
2781 * MenuBackend.C: fix branchlist related crash
2783 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2791 * bufferparams.[Ch]:
2795 * text3.C: implements the 'branch inset'
2796 idea. This allows the output of various versions of a document
2797 from a single source version, selectively outputing or suppressing
2798 output of parts of the text.
2799 This implementation contains a 'branch list editor' in a separate
2800 tab of the document settings dialog. Branches are user definable
2801 and have a "display colour" to distinguish them on-screen.
2803 ColorHandler was somewhat cleaned up.
2804 (1) make possible a dynamically growing LColor list by allowing
2805 the graphic context cache to grow along (vector);
2806 (2) eliminate an IMHO unnecessary step in colour allocation.
2808 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2810 * BufferView_pimpl.C: compile fix
2812 2003-08-15 André Pönitz <poenitz@gmx.net>
2814 * rowpainter.C: remove extra metrics calls
2816 * lyxtext.h: merge the two constructors into a single one,
2817 pass reference to owner's par list
2819 * BufferView_pimpl.C:
2823 2003-08-15 André Pönitz <poenitz@gmx.net>
2825 * lyxrow_funcs.[Ch]:
2828 * paragraph_funcs.C:
2833 * text_funcs.C: split LyXText::rowlist_ into individual
2834 Paragraph::rows_ chunks
2837 * BufferView_pimpl.[Ch]:
2840 * text3.C: remove toggleSelection()
2842 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2844 * bufferlist.C: beautify two alerts (shorter text of buttons)
2845 * buffer.C: Remove redundant ' ' from message
2847 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2848 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2849 rename VALIGN_CENTER to VALIGN_MIDDLE
2851 2003-08-11 André Pönitz <poenitz@gmx.net>
2853 * lyxtext.h (getPar):
2854 * text.C: new function
2856 2003-08-11 André Pönitz <poenitz@gmx.net>
2859 * tracer.[Ch]: remove unneeded files
2861 * InsetList.[Ch]: remove resizeInsetsLyXText()
2866 * text3.C: merge insertParagraphs() and appendParagraph()
2867 remove breakAgain(), update()
2869 * BufferView_pimpl.[Ch]:
2870 * bufferview_funcs.[Ch]:
2874 * tabular.C: adjust after text & InsetList changes.
2876 2003-08-08 André Pönitz <poenitz@gmx.net>
2878 * text.C (insertChar, backspace): replace rowlist fiddling
2879 with rebreak of full par
2882 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2883 checkParagraph, updateInset): removed
2885 2003-08-07 André Pönitz <poenitz@gmx.net>
2888 * text3.C: merge some LFUN handlers, remove dead code
2890 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2892 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2894 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2896 * text2.C (DEPM): fix part of bug 1255 and 1256
2898 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2900 * BufferView_pimpl.C (workAreaDispatch): change to use
2901 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2902 that are no mouse related.
2904 2003-08-05 André Pönitz <poenitz@gmx.net>
2907 * BufferView_pimpl.[Ch]:
2908 * bufferview_funcs.C:
2910 * text3.C: rip out "deep update"
2912 * textcursor.[Ch] (last_sel_cursor): remove unused member
2914 2003-08-04 André Pönitz <poenitz@gmx.net>
2917 * BufferView_pimpl.[Ch]:
2918 * ParagraphParameters.C:
2919 * bufferview_funcs.C:
2925 * text3.C: replace "complicated" BufferView::update(...) calls with
2928 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2930 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2932 * Makefile.am (lyx_SOURCES): add paper.h
2934 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2936 * Makefile.am: move things around so that both lyx-qt and
2937 lyx-xforms can be built (according to --with-frontend). Then lyx
2938 is a symbolic link to lyx-[firstfrontend]
2940 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2942 * Always use std::endl with lyxerr
2944 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2946 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2948 2003-08-01 André Pönitz <poenitz@gmx.net>
2951 * BufferView_pimpl.[Ch]:
2953 * text3.C: merge BufferView::repaint() and BufferView::update()
2955 2003-08-01 José Matos <jamatos@lyx.org>
2957 * buffer.[Ch]: file_format is no longer a buffer data element.
2959 2003-08-01 André Pönitz <poenitz@gmx.net>
2964 * text2.C: make redoParagraph more independent of current cursor
2966 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2968 * text2.C: remove unneeded members
2970 2003-07-30 André Pönitz <poenitz@gmx.net>
2972 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2974 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2975 create a single function...
2977 * paragraph_funcs.C (moveItem): ... here.
2980 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2982 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2984 * LColor.[Ch]: Add comment and greyedout logical colors.
2986 2003-07-30 André Pönitz <poenitz@gmx.net>
2988 * tabular.C: don't use Assert too heavily. This crashes where it
2991 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2993 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2994 is disabled (bug 1232)
2996 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2998 * factory.C: limited 'arg' scope
3000 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3002 * factory.C: fixed Note submenu issues
3004 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3006 * factory.C: submenu for Note/Comment/Greyedout
3008 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3011 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3013 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3016 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3017 greyedout. Patch provided by Jürgen Spitzmüller.
3019 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3021 * kbmap.C (read): fix error message when reading bind files
3023 2003-07-29 Angus Leeming <leeming@lyx.org>
3025 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3026 certainly does not do what it purports to do. I am doing it, and
3027 us, a favour by killing it.
3029 2003-07-28 José Matos <jamatos@lyx.org>
3031 * buffer.C (readBody, do_writeFile):
3032 * paragraph.C(readParagraph): \end_document replaces \the_end.
3034 2003-07-29 André Pönitz <poenitz@gmx.net>
3037 * BufferView_pimpl.[Ch]:
3041 * textcursor.[Ch]: remove toggleToggle & Co
3043 2003-07-28 José Matos <jamatos@fep.up.pt>
3045 * buffer.C (readParagraph):
3046 * params_func (readParToken, readParagraph):
3047 * paragraph.C (write): \layout -> \begin_layout.
3049 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3051 * lyxlex_pimpl.C (setFile): clean up slightly.
3053 * bufferparams.h: add compressed var
3055 * buffer_funcs.C (readFile): adjust for LyXLex change
3056 (newFile): ditto + simplify
3058 * buffer.C (writeFile): handle writing of compressed files
3060 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3061 Check if the file is compressed and set a bufferparm if so.
3063 * Makefile.am (lyx_LDADD): remove explicit -lz
3065 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3067 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3068 makeDocBookFile): put the real LyX version in the first line of
3072 * version.C.in: remove lyx_docversion
3074 * tabular.C (write_attribute): add a template-based version to
3075 write enums properly
3077 2003-07-28 André Pönitz <poenitz@gmx.net>
3082 * text3.C: use doubles again for x-coordinates. They are needed.
3084 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3086 * messages.C (getLocaleDir): use lyx_localedir()
3088 * lyxlex_pimpl.C (setFile): compress stuff
3090 * buffer.C (writeFile): add some compression stuff
3091 (do_writeFile): new func, dont call expliti close... will this
3094 * Makefile.am (lyx_LDADD): add -lz
3096 2003-07-28 José Matos <jamatos@fep.up.pt>
3098 * buffer.C: increment file format.
3099 * paragraph_funcs (readParagraph, readParToken):
3100 * paragraph.C (readParagraph): add \end_layout.
3102 2003-07-27 Angus Leeming <leeming@lyx.org>
3104 * Makefile.am: remove special casing for configure-time setting of
3105 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3107 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3108 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3110 2003-07-26 André Pönitz <poenitz@gmx.net>
3112 * paragraph_func.[Ch]:
3113 * paragraph.C (realizeFont): inline it whereever it is used
3118 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3121 2003-07-26 André Pönitz <poenitz@gmx.net>
3125 * text2.C: get rid of LyXText::need_break_row
3127 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3129 * toc.[Ch]: put namespace toc inside namespace lyx
3131 * MenuBackend.C (expandToc2): adjust for lyx::toc
3134 * lyxfunc.C (dispatch): adjust for lyx::find
3136 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3137 lyx::find instead. Reorganize a bit.
3138 (LyXReplace): rename to replace
3139 (LyXFind): rename to find
3141 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3144 2003-07-26 André Pönitz <poenitz@gmx.net>
3146 * text.C (setHeightOfRow): restrict scope of temporary variable
3148 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3149 code (never has been used?)
3151 2003-07-27 Asger Alstrup <alstrup@local>
3153 * text.C (fill): Optimise algorithm to exploit that we can reuse
3154 the LyXFont for many characters.
3155 (setHeightOfRow): Same thing.
3156 (rowBreakPoint): Same thing.
3158 2003-07-26 Asger Alstrup <alstrup@local>
3160 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3162 * text.C (singleWidth): Spurious font copying in hot-spot
3163 singleWidth avoided. Reorder tests for arabic for efficiency.
3165 * text.C (fill): handle empty paragraphs better.
3167 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3170 * encoding.h: add includes
3172 * lyxrc.C: remove reading of bind files
3174 * lyx_main.C (init): setup bindings and menus only if we have a
3177 * kbmap.C (read): new method. Do the actual reading of bind
3180 * converter.C (dvipdfm_options):
3183 (output): adapt PAPER_* enums.
3185 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3187 * bufferparams.h: remove paper-related enums from there
3189 * paper.h: New file. A trivial header file to hold paper-related
3190 enums. It should later expand to contain many paper-related
3193 * lyxrc.C: declare extern displayTranslator
3195 2003-07-27 José Matos <jamatos@fep.up.pt>
3197 * tabular.[Ch] (linuxdoc): add support for tables and figures
3200 2003-07-27 José Matos <jamatos@fep.up.pt>
3202 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3203 consistency in both functions.
3204 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3206 2003-07-26 Asger Alstrup <alstrup@local>
3208 * rowpainter.C (paintRows): Change algorithm to work directly on
3209 the insets rather than asking every character in the document
3210 whether its an inset.
3212 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3214 * buffer.C (openFileWrite): factorize some code
3216 2003-07-26 Angus Leeming <leeming@lyx.org>
3219 * lyx_main.[Ch]: replace occurances of system_tempdir with
3222 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3224 * rename Inset to InsetOld
3226 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3228 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3229 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3230 which I think is a bit clearer. EDIT is gone, since it was
3231 premature optimisation, and broken for mathed anyway.
3232 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3233 with cursor positioning in insets as well (math insets still do not
3234 work, but that's a different story anyway.) It mysteriously
3235 crashes sometimes with undo in the first paragraph, but I'm fairly
3236 confident that this is a compiler bug.
3238 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3240 * paragraph.C (Paragraph): adjust for new clone return type
3242 (copyIntoMinibuffer): ditto
3244 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3246 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3247 by not having a special case, and always doing a full rebreak of
3248 the document after undo.
3250 2003-07-23 Angus Leeming <leeming@lyx.org>
3252 * factory.C (createInset): InsetExternal::setParams now takes a
3255 2003-07-23 Angus Leeming <leeming@lyx.org>
3257 * factory.C (createInset): changed interface to the external and
3258 graphics mailers' string2params functions.
3260 2003-07-23 Angus Leeming <leeming@lyx.org>
3262 * factory.C (createInset): pass a
3263 Buffer const * parameter to InsetExternalMailer's string2params.
3265 2003-07-22 John Levon <levon@movementarian.org>
3267 * Thesaurus.h: include the right aiksaurus header
3269 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3271 * MenuBackend.C (expand): check menu shortcuts unconditionally
3273 2003-07-21 Angus Leeming <leeming@lyx.org>
3275 * factory.C (createInset): pass a
3276 buffer_path parameter to InsetGraphicsMailer's string2params.
3278 2003-07-21 Angus Leeming <leeming@lyx.org>
3280 * BufferView_pimpl.C (buffer):
3283 * lyxfunc.C (dispatch):
3284 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3285 rather than the grfx shortcut.
3287 2003-07-21 André Pönitz <poenitz@gmx.net>
3289 * rowpainter.C: remove unused variables
3292 * tabular_funcs.h: move to tabular.C
3293 * Makefile.am: adjust
3295 * tabular.[Ch]: basic optical cleaning
3297 * author.h: pass references, not values
3299 2003-07-18 André Pönitz <poenitz@gmx.net>
3307 * text3.C: two-phase drawing for InsetText and InsetTabular
3308 some float -> int changes.
3310 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3312 * lyx_main.C: fix the fix
3314 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3316 * lyx_main.C: fix a crash in batch mode if no files specified
3319 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3321 * format.[Ch] (papersize): moved to BufferParams
3322 * converter.[Ch] (dvips_options): moved to BufferParams
3323 (dvipdfm_options): moved to anon namespace
3324 * bufferparams.[Ch]: added above functions.
3326 2003-07-17 André Pönitz <poenitz@gmx.net>
3330 * text2.C: don't call inset->update() anymore
3332 * metricsinfo.[Ch]: add convenience constructor
3334 2003-07-16 André Pönitz <poenitz@gmx.net>
3339 * text2.C: replace the LyXCursor::irow_ member with
3340 on-demand computation of the value
3342 2003-07-16 John Levon <levon@movementarian.org>
3344 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3346 2003-07-15 André Pönitz <poenitz@gmx.net>
3349 * text2.C: remove no more needed refresh_row
3351 2003-07-15 André Pönitz <poenitz@gmx.net>
3356 * text3.C: refresh_status tristate -> need_update bool
3358 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3360 * lyxtext.h (init): remove reinit argument (act as if always true)
3361 * text2.C: adjust to that
3363 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3365 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3366 * text3.C: use it to delete selections in some cases
3367 (bugs 441, 673, 702, 954).
3369 2003-07-14 André Pönitz <poenitz@gmx.net>
3371 * rowpainter.[Ch]: reduce interface
3373 2003-07-14 André Pönitz <poenitz@gmx.net>
3375 * BufferView_pimpl.C:
3376 * text2.C: adjust after removing unused BufferView * argument
3378 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3380 * text2.C (init): fix a crash fired on resize
3382 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3384 * buffer.[Ch]: added new closing signal
3385 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3386 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3387 BufferView::Pimpl via the closing the signal
3389 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3391 * buffer.[Ch]: take out all bv-related from buffer
3393 * BufferView_pimpl.[Ch]: connect to new signals
3394 * CutAndPaste.C: removed useless asserts
3395 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3398 * lyxfunc.C: moved view-related funciontality from vc here
3399 * paragraph.C: removed outdated comments
3402 2003-07-10 André Pönitz <poenitz@gmx.net>
3404 * BufferView_pimpl.C:
3408 * text2.C: remove InsetText::InnerCache, clean up consequences
3410 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3412 * ispell.C: fix two typos in error messages
3414 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3416 * Extend Note inset to other forms of annotation like Comment
3417 and Greyedout. Right button click gives dialog.
3419 Files modified or added (+):
3423 * ControlNote.[Ch] +
3425 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3426 frontends/controllers
3430 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3432 * aspell.C: add missing namespace lyx::support
3434 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3436 * BufferView.[Ch] (newFile): Add
3437 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3438 * LaTeX.[Ch] (message): added this signal and use it
3439 * buffer.[Ch] (busy, message): added these signals and use them
3440 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3444 * importer.C: use buffer signals instead of direct bv calling
3445 * lyx_cb.[Ch] (ShowMessage): removed
3448 * paragraph_funcs.C:
3449 * text2.C: use buffer signals
3451 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3453 * introduce namespace lyx::graphics
3455 2003-07-02 André Pönitz <poenitz@gmx.net>
3457 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3459 2003-07-01 André Pönitz <poenitz@gmx.net>
3466 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3467 text*.C to text_func.C
3469 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3471 * introduce namespace lyx::support
3473 2003-06-30 André Pönitz <poenitz@gmx.net>
3478 * text.C: re-enable --with-included-string
3480 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3482 * textcursor.C: add <config.h>
3484 * text.C (getWord): remove const from word_location arg
3486 * lyxvc.C (getLogFile): fix const type order
3488 * lyxtext.h: remove const from word_location arg, add arg name
3490 * lyxlayout.h: currect type on labeltype.
3492 * importer.C: correct \file
3494 * converter.C (intToFormat): use std:: on ret val, ws changes
3496 * bufferlist.h: correct \file
3498 * buffer.C (makeLinuxDocFile): fix const type order
3499 (makeDocBookFile): ditto
3500 (fillWithBibKeys): use std:: on stdlib args.
3502 * CutAndPaste.C: fix authors.
3503 (availableSelections): use std:: on return vector
3505 2003-06-27 André Pönitz <poenitz@gmx.net>
3507 * BufferView_pimpl.C:
3508 * bufferview_funcs.C:
3516 * text3.C: remove LyXCursor::row_ member
3519 * text.C: rename fullRebreak() to partialRebreak() and implement
3520 a fullRebreak() that really bereks fully
3522 * textcursor.h: new struct for cursor-related data
3524 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3526 * lyx_main.C (LyX): get full path of document loaded on the
3529 2003-06-26 André Pönitz <poenitz@gmx.net>
3531 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3532 remove unused/broken operator>,<,>=.
3534 * text.C: remove only use of broken operator<= in an Assert().
3536 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3538 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3539 moved errorlist_.clear to showErrorList
3541 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3543 * converter.C (scanLog, runLaTeX):
3544 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3545 move the bv->showErrorList call to the callers
3546 * lyxfunc.C: i.e. here...
3548 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3549 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3550 namespace, the second to...
3551 * buffer_funcs (BufferFormat, parseErrors): added
3552 * errorlist.C (ErrorList(TeXErrors const &)): removed
3554 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3556 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3558 2003-06-24 "Garst R. Reese" <reese@isn.net>
3562 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3564 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3566 * version.C.in: change docversion to 1.4
3568 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3570 * buffer.C: fix a bug just introduced
3572 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3574 * buffer.[Ch]: added the parseError signal and use it, removed
3576 * BufferView.[Ch] (addError): moved to ...
3577 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3578 to the Buffer::parseError signal to catch (guess what) parse errors
3579 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3581 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3583 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3584 ability to create a buffer and to return an existing one from
3585 the list. Moved these functions to...
3586 * buffer_funcs.[Ch]: added
3587 * BufferView.[Ch] (loadLyXFile): added
3588 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3589 job removed from bufferlist::loadLyXFile.
3590 * buffer.C (setReadOnly): make it work without view
3591 (i.e added an if (users))
3593 2003-06-19 Angus Leeming <leeming@lyx.org>
3596 * LyXAction.C (init):
3597 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3598 with LFUN_DIALOG_SHOW <name> <data>.
3600 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3602 * CutAndPaste.C (availableSelections): small compilation fix for
3603 ancient (gcc 2.9x) compilers
3605 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3607 * text3.C (cursorNext): add tmp var
3609 * text2.C (updateCounters): for function calling out of for clause
3610 (replaceSelectionWithString): ditto
3611 (insertStringAsParagraphs): ditto
3612 (getColumnNearX): add tmp var
3613 (setCursorFromCoordinates): add tmp var
3614 (cursorDownParagraph): add tmp var
3615 (deleteEmptyParagraphMechanism): add tmp var
3617 * text.C (insertChar): add tmp var
3619 * rowpainter.C (paintDepthBar): add tmp var
3621 * CutAndPaste.C (availableSelections): potentially check all
3622 paragraphs in a cut to fill the shown strings.
3624 2003-06-18 André Pönitz <poenitz@gmx.net>
3626 * kbmap.[Ch]: use vector<> instead of list<>
3628 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3630 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3631 pasteSelection with index
3633 * text2.C (pasteSelection): modify, call pasteSelection with index
3635 * paragraph.C (asString): reimplement version with no interval to
3636 call the one with interval.
3638 * lyxtext.h: add index arg to pasteSelection
3640 * MenuBackend.C (MenuItem): handle PasteRecent
3641 (Menu::read::Menutags): add md_pasterecent
3643 (expandPasteRecent): new function
3646 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3648 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3650 (availableSelections): new function
3652 2003-06-17 Angus Leeming <leeming@lyx.org>
3654 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3656 2003-06-17 Angus Leeming <leeming@lyx.org>
3659 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3661 * lyxfunc.C (dispatch): invoke it.
3663 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3665 * iterators.C (operator++, ParPosition): reintroduce some
3666 const_cast for the benefit of older compilers.
3668 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3670 * text3.C (dispatch): do not modify clipboard when doing
3671 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3672 LFUN_DELETE_SKIP on a selection selection
3674 2003-06-16 André Pönitz <poenitz@gmx.net>
3680 * tabular.[Ch]: IU of clone() and getLabelList();
3682 2003-06-13 André Pönitz <poenitz@gmx.net>
3684 * tabular.h: compactification
3686 2003-06-12 André Pönitz <poenitz@gmx.net>
3690 * tabular_funcs.h: some renaming plus whitespace
3692 2003-06-12 André Pönitz <poenitz@gmx.net>
3695 * BufferView_pimpl.C:
3701 * toc.C: Return a Paragraph & for ParIterator::operator*()
3703 2003-06-11 John Levon <levon@movementarian.org>
3707 * ToolbarBackend.C: add "Toolbars" section and
3710 2003-06-10 Angus Leeming <leeming@lyx.org>
3713 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3715 * lyxfunc.C (dispatch): invoke it.
3717 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3719 * main.C: protect <ios> with HAVE_IOS
3720 (main): protect sync_with_stdio with HAVE_IOS
3722 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3724 * text2.C (cutSelection): adjust
3725 (pasteSelection): adjust
3727 * messages.C: handle get of empty string
3729 * main.C (main): use sync_with_stdio(false)
3731 * lyxfunc.C (dispatch): adjust
3733 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3734 (WriteAs): remove unneeded BufferView arg.
3736 * bufferparams.h: use correct types on papersize, papersize2 and
3739 * bufferparams.C (readToken): adjust for type
3740 (writeLaTeX): add missing cases to switch.
3742 * bufferlist.C (quitWriteBuffer): adjust
3745 * buffer.C (asciiParagraph): remove some commented code.
3747 * CutAndPaste.C: remove current_view extern variable.
3748 (cutSelection): add BufferParams arg.
3749 (eraseSelection): add BufferParams arg.
3750 (pasteSelection): add Buffer const & arg
3752 2003-06-07 John Levon <levon@movementarian.org>
3755 * paragraph_funcs.C:
3756 * paragraph_pimpl.C:
3760 * paragraph.C: allow InsetERT to freely space lines,
3761 and some consolidation of code
3763 2003-06-06 José Matos <jamatos@fep.up.pt>
3765 * buffer.C (makeDocBookFile): fix bug #821
3767 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3769 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3771 2003-06-04 Angus Leeming <leeming@lyx.org>
3773 * buffer.C: bump format to 224.
3775 2003-06-05 André Pönitz <poenitz@gmx.net>
3777 * text2.C (redoParagraphs): remove two const_cast<>
3779 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3781 * ParagraphList.h: remove last remnants of NO_STD_LIST
3783 2003-06-03 Angus Leeming <leeming@lyx.org>
3785 * factory.C (createInset): small change to the way InsetExternal's params
3788 2003-06-04 André Pönitz <poenitz@gmx.net>
3790 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3792 * paragraph_pimpl.h:
3793 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3795 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3797 * undo_funcs.C: make some simple cases of undo work again
3799 2003-06-03 John Levon <levon@movementarian.org>
3801 * ispell.C: HPUX doesn't have sys/select.h
3804 2003-06-03 John Levon <levon@movementarian.org>
3806 * CutAndPaste.C: update tabular and include inset
3811 * paragraph.C: remove owningBuffer(), don't pass Buffer
3814 * factory.C: insetGraphicsParams changed
3816 2003-06-02 John Levon <levon@movementarian.org>
3822 * text3.C: remove insetparent
3824 2003-06-02 John Levon <levon@movementarian.org>
3827 * buffer.C: fix inset_iterator.end(), move out of line
3830 2003-06-01 John Levon <levon@movementarian.org>
3832 * text3.C: use a proper cut/paste when doing inset
3833 insert (from Jürgen Spitzmüller)
3835 2003-06-01 John Levon <levon@movementarian.org>
3837 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3839 2003-05-30 André Pönitz <poenitz@gmx.net>
3841 * rowpainter.C: unify second drawing phase
3843 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3845 * trans_mgr.C: remove one case of current_view
3847 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3849 * paragraph_funcs.h: remove paragraph.h include
3851 * paragraph.h: delete NO_STD_LIST stuff
3853 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3855 * buffer.h: remove paragraph.h include
3857 * ParagraphList.C: delete file
3859 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3861 * toc.C (getTocList): adjust
3863 * paragraph_pimpl.C (validate): adjust
3865 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3867 * paragraph.C (Paragraph): adjust
3868 (getPositionOfInset): use const_iterator, adjust
3869 (bibitem): use const_iterator, adjust
3870 (setInsetOwner): adjust
3872 * iterators.C (operator++): adjust
3874 * InsetList.[Ch]: Replace selfmade iterator with standard
3875 vector::iterator also introduce const_iterator. Remove getPos,
3876 getInset and setInset from InsetTable. Adjust accordingly.
3878 * BufferView.C (lockInset): adjust
3879 (ChangeInsets): adjust
3881 * tabular.[Ch]: delete commented same_id functions
3883 2003-05-28 John Levon <levon@movementarian.org>
3885 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3887 2003-05-28 André Pönitz <poenitz@gmx.net>
3889 * metricsinfo.[Ch]: remove 'fullredraw' member
3891 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3893 * lyxtextclass.C (operator): remove caching.
3895 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3899 * text2.C (cursorBottom): adjust
3900 (setCounter): use ParagraphList::find, adjust
3902 * text.C (workWidth): use ParagraphList::find, adjust
3904 * lyxcursor.C (LyXCursor): adjust
3906 * buffer.C (inset_iterator): adjust
3908 * ParagraphList.h: make iterator(value_type) private, make
3909 ParagraphList a friend of iterator.
3911 * ParagraphList.C (find): new function
3913 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3915 2003-05-27 André Pönitz <poenitz@gmx.net>
3917 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3919 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3921 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3923 2003-05-26 John Levon <levon@movementarian.org>
3925 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3927 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3929 * remove same_id from function signatures, adjust.
3931 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3933 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3935 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3937 * paragraph.C (Paragraph): get rid of same_ids parameter
3939 * ParagraphList.C (insert): adjust
3942 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3944 * paragraph_funcs.C (breakParagraph): adjust
3945 (breakParagraphConservative): adjust
3947 * buffer.C (readParagraph): adjust
3949 * ParagraphList.C (insert): take a reference instead of a pointer
3952 * paragraph.[Ch] (id): new function
3954 * bufferlist.C (newFile): adjust
3956 * ParagraphList.C (ParagraphList): adjust
3958 (push_back): take a reference instead of a pointer.
3960 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3962 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3965 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3966 set else use old code.
3968 * ParagraphList.C: remove all NO_NEXT code and only compile this
3969 code of NO_STD_LIST is set.
3971 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3973 * BufferView_pimpl.C:
3983 * graphics/GraphicsConverter.C:
3984 * graphics/PreviewLoader.C: header adjustment
3986 2003-05-23 Angus Leeming <leeming@lyx.org>
3988 * LaTeXFeatures.[Ch] (useBabel): new method.
3989 * bufferparams.C (writeLaTeX): use it.
3991 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3993 * ParagraphList.h (set): remove unused function.
3995 2003-05-23 André Pönitz <poenitz@gmx.net>
3998 * BufferView_pimpl.C:
4002 * undo_funcs.C: setUndo reworked
4004 * iterators.[Ch]: add access to topmost ParagraphList
4006 * lyxtext.[Ch] (workWidth): add a const
4008 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4010 * texrow.[Ch] (increasePos): remove function
4011 * exporter.C (export): removed unused var and outdated comment
4013 2003-05-23 Angus Leeming <leeming@lyx.org>
4015 * latexrunparams.h: rename fragile as moving_arg.
4016 * paragraph.C (simpleTeXOnePar): ditto.
4017 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4019 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4021 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4023 (textUndoOrRedo): comment out a currently unused var.
4025 * paragraph.h (NO_NEXT): enable NO_NEXT
4027 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4029 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4031 * exporter.C (Export): adjust for removeAutoInsets removal.
4033 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4035 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4037 * BufferView.[Ch] (removeAutoInsets): delete function
4039 2003-05-22 Angus Leeming <leeming@lyx.org>
4041 * latexrunparams.h: add a free_spacing variable.
4043 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4044 to pass moving_arg, as the data is stored in runparams.fragile.
4046 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4047 to Inset::latexOptional or to simpleTeXOnePar.
4049 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4050 free_spacing arg to Inset::latexOptional.
4052 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4055 2003-05-22 Angus Leeming <leeming@lyx.org>
4057 * latexrunparams.h: add fragile and use_babel variables.
4059 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4060 * buffer.C (makeLaTeXFile): store this returned value in
4061 runparams.use_babel, thus passing it to the inset::latex methods.
4063 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4064 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4066 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4067 longer has a fragile arg, as it is stored in runparams.fragile.
4069 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4070 moving_arg parameter as the data is stored in runparams.fragile.
4072 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4073 a fragile parameter as the data is stored in runparams.fragile.
4075 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4077 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4079 2003-05-22 Angus Leeming <leeming@lyx.org>
4081 * latexrunparams.h: add a 'bool nice' which defaults to false.
4083 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4084 now encapsulated within runparams.
4086 * bufferlist.C (updateIncludedTeXfiles):
4087 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4089 2003-05-22 Angus Leeming <leeming@lyx.org>
4091 * latexrunparams.h: new file containing struct LatexRunParams.
4092 * Makefile.am: add new file.
4094 * LaTeX.[Ch] (c-tor, run):
4095 * buffer.[Ch] (makeLaTeXFile):
4096 * bufferlist.[Ch] (updateIncludedTeXfiles):
4097 * converter.C (convert, scanLog):
4098 * converter.[Ch] (runLaTeX):
4099 * exporter.C (Export):
4100 * paragraph.[Ch] (simpleTeXOnePar):
4101 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4102 * paragraph_funcs.[Ch] (latexParagraphs):
4103 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4104 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4105 pass around a LatexRunParams parameter.
4107 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4109 * paragraph.[Ch]: remove unused constructor
4111 * ParagraphList.C (erase): new function, taking two iterators
4113 2003-05-22 André Pönitz <poenitz@gmx.net>
4115 * undo_funcs.C: remove duplicated code
4117 * iterator.[Ch]: operator=
4119 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4121 * tabular.C (SetMultiColumn): ws changes
4123 * rowpainter.C (paintFirst): get rid of a ->previous
4125 * lyx_cb.C (getPossibleLabel): parlist simplification
4127 * BufferView.C (ChangeInsets): simplify slightly.
4129 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4131 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4132 * lfuns.h: new LFUN_SPACE
4133 * lyxfunc.C: protected space has a new lfun
4134 * paragraph_funcs.C: read new space insets
4136 * factory.C: handle new space insets
4138 2003-05-22 André Pönitz <poenitz@gmx.net>
4141 * BufferView_pimpl.C:
4144 * undo_funcs.C: return a ParIterator from getParFromID.
4146 * iterators.[Ch]: add two const's
4148 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4150 * toc.C (getTocList): adjust
4152 * iterators.[Ch]: rework for parlist
4154 * buffer.C (par_iterator_begin): adjust
4155 (par_iterator_end): adjust
4157 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4159 * BufferView.C (removeAutoInsets): adjust
4160 (ChangeInsets): adjust
4162 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4164 * text.C (top_y): fix bug 1110
4166 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4168 * errorlist.[Ch]: added
4171 * BufferView_pimpl.C:
4172 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4175 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4177 * Makefile.am: ensure that lyx is relinked upon changes to the
4178 various "convenience" libs.
4180 2003-05-20 Angus Leeming <leeming@lyx.org>
4182 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4183 files are compiled in alphabetical order again.
4185 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4187 2003-05-19 Angus Leeming <leeming@lyx.org>
4189 * gettext.[Ch]: remove "char const * _(char const *)".
4191 2003-05-19 André Pönitz <poenitz@gmx.net>
4193 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4202 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4204 2003-05-19 André Pönitz <poenitz@gmx.net>
4208 * lyxtextclass.[Ch]:
4210 * paragraph_funcs.[Ch]:
4212 * text3.C: more insetenv work
4214 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4216 * ParagraphParameters.C (params2string): small bug fixed
4218 2003-05-16 André Pönitz <poenitz@gmx.net>
4221 * bufferview_funcs.C: patch from Kornel Benko to prevent
4222 crash when _(...) is called twice in a statement
4224 2003-05-16 André Pönitz <poenitz@gmx.net>
4231 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4233 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4235 * lyx_main.C (init): remove spurious static_cast
4237 2003-05-14 André Pönitz <poenitz@gmx.net>
4239 * BufferView.C: fix format string
4241 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4243 * BufferView.[Ch] (insertErrors): removed
4244 * BufferView.[Ch] (showErrorList): added
4245 * buffer.C (runChkTeX):
4246 * converter.C (scanLog): call showErrorList instead of inserterrors
4248 2003-05-13 André Pönitz <poenitz@gmx.net>
4250 * BufferView_pimpl.C:
4252 * bufferview_func.C:
4259 * tabular_funcs.h: tostr() from its own header
4261 * ParagraphParameters.C:
4266 * text3.C: STRCONV()
4268 2003-05-12 André Pönitz <poenitz@gmx.net>
4271 * BufferView_pimpl.C:
4275 * ParagraphParameters.C:
4279 * bufferview_funcs.C:
4292 * paragraph_funcs.C:
4296 * text3.C: boost::format -> bformat all over the place
4299 2003-05-09 André Pönitz <poenitz@gmx.net>
4301 * LColor.[Ch]: Pimpl the #include <map> away
4303 2003-05-09 John Levon <levon@movementarian.org>
4305 * bufferlist.C: never remove emergency saves
4307 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4309 * Makefile.am: better lib building
4311 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4313 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4315 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4316 (simpleTeXSpecialChars): adjust
4317 (simpleTeXSpecialChars): adjust
4318 * paragraph.C (simpleTeXOnePar): adjust
4319 * buffer.C (makeLaTeXFile): adjust
4321 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4323 * text2.C (changeDepth): parlist cleanup
4324 (getColumnNearX): ditto
4326 * rowpainter.C (getLabelFont): parlist cleanup
4328 * bufferlist.C (newFile): parlist cleanup
4330 * CutAndPaste.C (eraseSelection): parlist cleanup
4332 * BufferView_pimpl.C (trackChanges): parlist cleanup
4335 * BufferView.C (lockInset): parlist cleanup.
4336 (ChangeInsets): ditto
4338 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4340 * CutAndPaste.h: Update file header.
4342 * CutAndPaste.C: Update file header.
4343 Store the parts cut out of the Document in a limited_stack.
4344 (copySelection): adjust
4345 (pasteSelection): new function, takes the index in the limited stack.
4346 (nrOfParagraphs): adjust
4347 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4348 simplify error inset insertion.
4349 (checkPastePossible): adjust
4351 2003-05-06 John Levon <levon@movementarian.org>
4353 * text2.C: don't cast wrap inset to float
4355 2003-05-05 André Pönitz <poenitz@gmx.net>
4358 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4360 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4361 few naked Paragraph *.
4363 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4365 * bufferparams.C: Output warning if a document with missing
4366 TeX document class is loaded
4367 * exporter.C: Disable TeX exports if the document class is missing
4370 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4371 isTeXClassAvailable()
4373 2003-05-03 John Levon <levon@movementarian.org>
4376 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4377 explicit cursor show/hide
4379 * BufferView_pimpl.h:
4380 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4381 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4383 * lyxfunc.C: hide cursor before dispatching.
4388 * text3.C: remove explicit cursor hides
4390 2003-05-02 André Pönitz <poenitz@gmx.net>
4392 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4395 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4398 * text2.C: tiny whitespace
4400 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4402 * undo_funcs.C: almost only ws changes.
4404 * ParagraphList.C (splice): just return if pl is empty.
4406 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4408 * ParagraphList.C (splice): new function.
4410 * CutAndPaste.C (pasteSelection): use it
4412 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4414 * CutAndPaste.C (pasteSelection): remove the last next and
4415 previous from this file.
4417 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4419 * CutAndPaste.C (pasteSelection): more clean up, user proper
4420 ParagraphList functions for pasteing.
4422 * ParagraphList.C (insert): new function, three arg insert
4424 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4426 * ParagraphList.C (insert): new function, three arg insert
4428 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4431 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4433 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4435 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4437 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4439 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4441 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4442 (copySelection): clean up a bit.
4443 (pasteSelection): use make_pair
4445 * ParagraphList.C (ParagraphList): implement copy constructor
4446 (operator=): implement, base on copy constructor.
4449 * paragraph.C (erase): return a bool
4451 * paragraph_pimpl.C (erasePos): remove function, move contents...
4452 (erase): ... here. Return a bool.
4453 (erase): call erase instead of erasePos.
4455 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4457 * ParagraphList.h: define PitPosPair
4458 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4459 ParagraphList, fix a bug on pasting multiple pars
4460 * text2.C: change interface to C&P
4462 2003-04-30 André Pönitz <poenitz@gmx.net>
4464 * undo_func.C: revert part of yesterday's patch 2
4466 2003-04-30 John Levon <levon@movementarian.org>
4468 * LColor.C: s/tabular/table/
4470 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4472 * text3.C (dispatch): do not convert iterator -> pointer
4473 * undo_funcs.C (setCursorParUndo): ditto
4474 * text_funcs.C (transposeChars): ditto
4476 * text2.C (setLayout): ws changes only
4478 * text.C (breakParagraph): do not convert iterator -> pointer
4480 (acceptChange): ditto
4481 (rejectChange): ditto
4486 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4489 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4491 * text3.C (gotoInset): YABG (yet another bad getChar)
4493 2003-04-29 André Pönitz <poenitz@gmx.net>
4495 * paragraph.h: make operator= private unimplemented as long as
4498 * ParagraphList.C: whitespace
4501 * paragraph_pimpl.[Ch]:
4502 * paragraph_funcs.C:
4504 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4507 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4509 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4511 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4512 * paragraph.[Ch] (erase):
4513 * paragraph_pimpl.[Ch] (erase): change return type and value
4514 * text2.C (cutSelection): some rework
4516 2003-04-28 John Levon <levon@movementarian.org>
4518 * bufferlist.C: changes for unsaved changes dialog
4520 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4522 * bufferlist.C (newFile): set language (messages_) for new
4525 * buffer.C (readFile): ws changes only.
4527 2003-04-28 André Pönitz <poenitz@gmx.net>
4532 * BufferView_pimpl.C:
4533 * BufferView.C: getParFromID related ParagraphList::iterator changes
4535 2003-04-28 André Pönitz <poenitz@gmx.net>
4537 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4540 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4542 * messages.C: remove one more localedir class variable.
4544 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4546 * messages.C (getLocaleDir): singleton generation function
4548 (Messages): add a default constructor.
4550 * main.C (main): do not setup localedir here, do not call
4553 * gettext.C (_): use it.
4554 (gettext_init): delete funciton
4556 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4558 * gettext.C (getLyXMessages): new singleton generating function.
4560 * buffer.C (updateDocLang): adjust
4562 * Makefile.am (messages.o): add target
4563 (main.o): remove target
4565 2003-04-27 John Levon <levon@movementarian.org>
4570 * lyxvc.C: specify cancel button in Alert::prompt
4572 2003-04-26 John Levon <levon@movementarian.org>
4577 * LyXAction.C: add LFUN_INSET_SETTINGS
4579 * lyxfunc.C: don't enable tabular-feature when there's
4580 just any locking inset
4582 2003-04-26 John Levon <levon@movementarian.org>
4584 * bufferlist.C: re-add Cancel to buffer close question
4586 * lyxfunc.C: fix import UI a bit
4588 2003-04-25 John Levon <levon@movementarian.org>
4590 * gettext.C: remove the broken asserts for now
4592 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4594 * messages.C: make case where setlocale cannot comply work better.
4596 * buffer.C (updateDocLang): new function
4597 (changeLanguage): use it
4600 * text2.C (setCounter): use B_ a bit.
4602 * lyxlayout.C (Read): be sure to trim the label strings.
4604 * messages.C (Messages): fix typo in comment
4606 * buffer.C (readFile): set message_ after file is loaded.
4607 (makeDocBookFile): remove double return
4608 (changeLanguage): reset message_ upon language change.
4609 (B_): new func, use this to get translated buffer strings.
4611 * main.C: add myself and Jean Marc as authors.
4613 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4615 * messages.[hC]: pimplify Messages, and three different pimpls to be
4616 used in different circumstances.
4618 * gettext.[Ch]: change for use with new message code.
4620 2003-04-24 André Pönitz <poenitz@gmx.net>
4622 * factory.C: support for eqref
4624 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4626 * messages.[Ch]: add missing char
4628 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4630 * messages.[Ch]: New files
4632 2003-04-18 John Levon <levon@movementarian.org>
4636 * BufferView_pimpl.C:
4640 * text2.C: remove layout-copy/paste (bug 778)
4642 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4644 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4646 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4648 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4649 if they succeed. Act accordingly.
4651 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4653 * text2.C (setCharFont): adjust
4654 (setCounter): adjust
4655 (insertStringAsLines): adjust
4657 * text.C (leftMargin): adjust
4658 (setHeightOfRow): adjust
4660 * rowpainter.C (paintFirst): adjust
4663 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4665 (isFirstInSequence): ditto
4666 (getEndLabel): ditto
4669 * paragraph.C (getParLanguage): comment out some hard stuff.
4671 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4673 (simpleDocBookOnePar): ditto
4674 (makeDocBookFile): use ParagraphList::iterator
4676 * CutAndPaste.C (pasteSelection): adjust
4678 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4680 * text2.C (getFont): adjust
4681 (getLayoutFont): adjust
4682 (getLabelFont): adjust
4684 * paragraph_funcs.C (TeXOnePar): adjust
4686 * buffer.C (simpleLinuxDocOnePar): adjust
4687 (simpleDocBookOnePar): adjust
4689 * CutAndPaste.C (pasteSelection): adjust
4691 * BufferView.C (getEncoding): adjust
4693 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4695 2003-04-16 John Levon <levon@movementarian.org>
4697 * lyxfind.C: use parlist stuff for search/changes
4699 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4701 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4703 * text2.C (deleteEmptyParagraphMechanism): adjust
4705 * text2.[Ch] (ownerParagraph): delete func (both of them
4707 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4709 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4711 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4713 * ParagraphList.C: prepare for NO_NEXT
4715 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4717 * text2.C (getFont): adjust
4718 (getLayoutFont): adjust
4719 (getLabelFont): adjust
4721 * paragraph.C (getFont): adjust
4722 (getLabelFont): adjust
4723 (getLayoutFont): adjust
4725 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4727 2003-04-15 John Levon <levon@movementarian.org>
4731 * lyx_main.C: handle Include in .ui files
4733 2003-04-15 John Levon <levon@movementarian.org>
4735 * MenuBackend.C: make the doc files length shorter
4738 * ToolbarBackend.C: handle toolbar placement flags,
4741 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4743 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4746 * paragraph_funcs.C (TeXOnePar): adjust
4748 * paragraph.C (getLabelFont): add outerfont arg, adjust
4749 (getLayoutFont): ditto
4750 (simpleTeXOnePar): adjust
4752 * paragraph_pimpl.C (realizeFont): delete func
4754 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4756 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4757 row argument, constify cur argument.
4759 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4761 * text2.C (getFont): adjust
4762 (getLayoutFont): adjust
4763 (getLabelFont): adjust
4765 * paragraph_funcs.C (TeXOnePar): adjust
4766 (outerFont): new func...
4767 (realizeFont): ...moved out from here, changed this to facilitate
4770 * paragraph.C (getFont): take outerfont as arg, adjust
4771 (simpleTeXOnePar): add outerfont arg, adjust
4773 * buffer.C (simpleLinuxDocOnePar): adjust
4774 (simpleDocBookOnePar): adjust
4776 * CutAndPaste.C (pasteSelection): adjust
4778 * BufferView.C (getEncoding): adjust
4780 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4782 * text2.C (setCharFont): adjust
4783 (setCounter): adjust
4785 * text.C (leftMargin): adjust
4786 (setHeightOfRow): adjust
4788 * rowpainter.C (paintFirst): adjust
4791 * paragraph_pimpl.C (realizeFont): adjust
4793 * paragraph.C (isFirstInSequence): move from here...
4794 * paragraph_funcs.C (isFirstInSequence): ...to here
4796 * paragraph.C (outerHook): move from here...
4797 * paragraph_funcs.C (outerHook): ...to here
4799 * paragraph.C (depthHook): move from here...
4800 * paragraph_funcs.C (depthHook): ...to here
4802 * paragraph.C (getEndLabel): move from here...
4803 * paragraph_funcs.C (getEndLabel): ...to here
4805 * text2.C (realizeFont): move from here...
4806 * paragraph_funcs.C (realizeFont): ...to here
4808 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4810 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4812 2003-04-14 Angus Leeming <leeming@lyx.org>
4814 * LColor.[Ch]: scrap LColor mathcursor.
4816 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4818 * lyxlex.[Ch] (text): delete function
4819 * trans.C (Load): adjust
4820 * paragraph_funcs.C (readParToken): adjust
4822 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4824 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4825 vector<char> instead of a char[].
4827 * lyxlex_pimpl.C (getString): adjust
4829 (lex): use getString
4833 * lyxlex.C (text): use pimpl_->getString()
4837 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4839 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4840 (makeFontEntriesLayoutSpecific): temp var for par.size()
4841 (setLayout): temp var for ownerParagraphs().end()
4842 (fullRebreak): temp var for rows().end()
4843 (selectionAsString): temp var for boost::next(startpit), realize
4844 that the while really is a regular for loop.
4845 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4846 setCursor in one place.
4847 (setParagraph): temp vr for ownerParagraphs().end()
4848 (updateCounters): make the while loop a for loop
4849 (cutSelection): temp var for ownerParagraphs().end()
4850 (updateInset): make the do {} while() a regular for loop
4851 (getCursorX): use temp vars
4852 (setCurrentFont): use temp vars
4853 (getColumnNearX): use temp vars
4855 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4857 * text.C (transformChar): use temp var for getChar
4858 (computeBidiTables): use temp var for row->par()
4859 (fill): move temp vars for row->par() and pit->layout() earlier in
4861 (labelFill): use temp var for row->par()
4862 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4863 asc and desc, realize that pit never changes and that firstpit is
4864 just a duplicate and not needed. Exchange rit->par() with pit in a
4866 (breakAgain): use a temp var for boost::next(rit)
4867 (breakAgainOneRow): ditto
4868 (breakParagraph): use a temp var for rows().begin()
4869 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4870 (cursorRightOneWord): use temp var for cursor.par() and
4871 cursor.pos(), remove usage of tmpcursor.
4872 (cursorLeftOneWord): use temp var for cursor.par() and
4873 cursor.pos() only set cur at end of function.
4875 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4877 * text.C, text2.C: exchange all usage of Paragraph::next with
4878 boost::next(ParagraphList::iterator)
4880 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4882 * text2.C (cursorTop): simplify implementation
4883 (cursorBottom): ditto
4884 (setParagraph): use ParagraphList::iterator
4885 (setCurrentFont): adjust
4886 (getColumnNearX): adjust
4887 (cursorRight): adjust
4888 (cursorLeft): remove usage of Paragraph::previous
4889 (cursorUpParagraph): ditto
4890 (deleteEmptyParagraphMechanism): slight cleanup
4892 * text.C (isBoundary): take a Paragraph const & instead of a
4894 (addressBreakPoint): ditto
4895 (leftMargin): remove usage of Paragraph::previous.
4896 (setHeightOfRow): ditto
4897 (cursorLeftOneWord): ditto
4898 (selectNextWordToSpellcheck): ditto
4901 (breakParagraph): remove one usage of Paragraph::next
4902 (redoParagraph): ditto
4903 (acceptChange): ditto
4904 (insertChar): adjust
4905 (rowBreakPoint): adjust
4907 * bufferview_funcs.C (toggleAndShow): adjust
4909 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4911 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4912 methods to access it.
4914 * text.C: Added updateRowPositions to compute all row positions.
4915 Make top_y and getRowNearY() to use the cached y position
4917 2003-04-11 John Levon <levon@movementarian.org>
4919 * text.C (rowBreakPoint): reintroduce the labelEnd
4920 checks, code copied from the row fill stuff. Deep voodoo.
4922 * text.C (fill): add a comment and debugging for the
4925 2003-04-11 John Levon <levon@movementarian.org>
4927 * text.C: make sure fullrow insets get wrapped to the next line,
4928 even when they're in a manual label
4930 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4932 * text2.C (insertParagraph): make it take ParagraphList::iterator
4934 (setLayout): make it return ParagraphList::iterator
4935 (redoParagraphs): ditto
4937 (checkParagraph): ditto
4939 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4941 * text2.C: adjust several funcs.
4942 (realizeFont): take a ParagraphList::iterator as arg.
4943 (getLayoutFont): ditto
4944 (getLabelFont): ditto
4945 (setCharFont): ditto
4947 * text.C: adjust several funcs.
4949 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4951 * text.C (selectNextWordToSpellcheck): don't accidentally
4954 2003-04-10 John Levon <levon@movementarian.org>
4956 * ToolbarBackend.C (getIcon): special handling for
4959 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4961 * text2.C (cursorRight): a getChar assert fixed
4963 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4965 * text2.C (getFont): change to take a ParagraphList::iterator
4966 instead of Paragraph*
4967 Adjust several functions.
4969 * text.C (transformChar): change to take a ParagraphList::iterator
4970 instead of Paragraph*
4971 (singleWidth): ditto
4972 Adjust several functions.
4974 * rowpainter.C: adjust several functions
4975 * rowpainter.h:store a ParagraphList::iterator and not a
4979 2003-04-09 John Levon <levon@movementarian.org>
4984 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4985 and the "help" bits as well
4987 2003-04-09 John Levon <levon@movementarian.org>
4990 * ToolbarBackend.C: allow multiple toolbars
4992 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4994 * undo_funcs.C (setCursorParUndo): adjust
4996 * text_funcs.C (transposeChars): adjust
4998 * text3.C (gotoNextInset): adjust
5001 * text2.C (setLayout): adjust
5002 (changeDepth): adjust
5004 (redoParagraphs): adjust
5005 (selectionAsString): adjust
5006 (setParagraph): adjust
5007 (insertInset): adjust
5008 (cutSelection): adjust
5009 (copySelection): adjust
5010 (pasteSelection): adjust
5011 (insertStringAsLines): adjust
5012 (updateInset): adjust
5013 (setCursor): change to take a ParagraphList::iterator parameter
5014 (setCursorIntern): change to take a ParagraphList::iterator parameter
5015 (setCurrentFont): adjust
5016 (cursorLeft): adjust
5017 (cursorRight): adjust
5018 (deleteEmptyParagraphMechanism): adjust
5020 * text.C (breakParagraph): adjust
5021 (insertChar): adjust
5022 (acceptChange): adjust
5023 (rejectChange): adjust
5024 (selectNextWordToSpellcheck): adjust
5025 (changeCase): adjust
5029 * lyxfind.C (SearchForward): adjust
5030 (SearchBackward): adjust
5031 (nextChange): adjust
5033 * lyxcursor.C (par): adjust
5035 * lyxcursor.h: store a ParagraphList::iterator instead of a
5038 * lyx_cb.C (getPossibleLabel): adjust
5040 * bufferview_funcs.C (toggleAndShow): adjust
5042 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5045 * BufferView.C (removeAutoInsets): adjust
5046 (lockedInsetStoreUndo): adjust
5048 2003-04-09 John Levon <levon@movementarian.org>
5050 * ToolbarBackend.C: try icon without argument
5051 if with argument fails
5053 2003-04-08 John Levon <levon@movementarian.org>
5056 * ToolbarBackend.C: add getIcon(), handle tooltip,
5057 and change from "Icon" to "Item".
5059 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5061 * BufferView.C (lockInset): another bad getchar crunched
5063 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5065 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5068 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5070 * lyxfind.C (searchForward, searchBackwards): bug 782
5072 2003-04-07 John Levon <levon@movementarian.org>
5074 * paragraph.C: remove dead comment
5076 * text.C: remove troublesome depth-fiddling code
5077 in leftMargin() and rightMargin() (bug 1017)
5079 * text.C: fix breaking of rows in nested lists
5082 * text2.C (updateCounters): fix up depth values
5085 2003-04-07 John Levon <levon@movementarian.org>
5087 * BufferView_pimpl.C: clear message when doc finishes resizing,
5088 and after a mouse event
5090 * lyxfunc.C: clear message after exiting inset
5092 2003-04-07 John Levon <levon@movementarian.org>
5094 * bufferview_funcs.C: show math status not outside
5095 status in the statusbar
5097 2003-04-07 John Levon <levon@movementarian.org>
5099 * lyxfunc.C: note status changed after a depth change
5101 2003-04-04 Angus Leeming <leeming@lyx.org>
5103 * LaTeX.h: move AuxInfo operator==, != out of line.
5104 Remove LaTeX virtual destructor; nothing derives from it.
5105 Move operator()() out of public area and rename it startscript().
5106 Change protected for private.
5108 2003-04-04 Angus Leeming <leeming@lyx.org>
5111 * text2.C: remove unneeded #includes.
5113 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5115 * text2.C (dEPM): fix the heigth of the next row
5117 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5119 * text.C: squashed an invalid getChar requester + some ws changes
5121 2003-04-03 John Levon <levon@movementarian.org>
5123 * bufferview_funcs.h:
5124 * bufferview_funcs.C:
5127 * text2.C: make getStatus work for the env depth lfuns
5129 2003-04-03 John Levon <levon@movementarian.org>
5131 * bufferview_funcs.h:
5132 * bufferview_funcs.C:
5135 * text2.C: parlistize decDepth(), by merging it with incDepth()
5137 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5139 * lyxrow.h: store a ParagraphList::iterator instead of a
5140 Paragraph* and adjust other class functions to suit.
5142 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5145 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5147 * text2.C (setCursor): do not anchor to cursor row for the time being
5149 2003-04-02 John Levon <levon@movementarian.org>
5156 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5158 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5160 * paragraph.h: make ParagraphList and ParagraphList::iterator
5161 friends of Paragraph.
5163 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5165 * ParagraphList.C: Use the private next_ and previous_ from
5168 2003-04-01 John Levon <levon@movementarian.org>
5172 * Makefile.am: rename, remove defaults gunk
5175 * MenuBackend.C: remove defaults gunk
5178 * Languages.C: remove defaults gunk
5181 * lyx_main.C: error out if files couldn't be found.
5183 2003-04-02 John Levon <levon@movementarian.org>
5185 * text2.C: make incDepth() use parlist
5187 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5189 * undo_funcs.C (firstUndoParagraph): adjust
5191 * text3.C (gotoInset): adjust
5192 (dispatch): adjust, and rewrite loop.
5194 * text2.C (init): adjust, and rewrite loop.
5195 (redoParagraphs): adjust
5196 (updateInset): adjust, and rewrite loop.
5197 (deleteEmptyParagraphMechanism): adjust
5199 * tabular.C (LyXTabular): adjust
5200 (SetMultiColumn): adjust
5203 * lyxtext.[Ch] (ownerParagraph): delete function
5204 (ownerParagraphs): new function returns a ParagraphList.
5206 * BufferView.C (removeAutoInsets): adjust
5207 (insertErrors): adjust
5208 (setCursorFromRow): adjust
5210 2003-04-01 Angus Leeming <leeming@lyx.org>
5212 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5215 2003-04-02 John Levon <levon@movementarian.org>
5221 * text_funcs.C: make transposeChars a free function
5223 * lyxrow_funcs.C: remove wrong comment
5225 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5228 * rowpainter.C: adjust
5233 * lyxrow_funcs. [Ch]: new files
5235 * lyxrow.[Ch]: remove next and previous pointers
5236 (next,previous): remove accessor functions
5237 (isParEnd): move to lyxrow_funcs
5238 (lastPos): move to lyxrow_funcs
5239 (nextRowIsAllInset): move to lyxrow_funcs
5240 (lastPrintablePos): move to lyxrow_funcs
5241 (numberOfSeparators): move to lyxrow_funcs
5242 (numberOfHfills): move to lyxrow_funcs
5243 (numberOfLabelHfills): move to lyxrow_funcs
5244 (hfillExpansion): move to lyxrow_funcs
5248 * bufferview_funcs.C (toggleAndShow): adjust
5250 * RowList.h: Remove class RowList from file leave just a
5253 * RowList.C: delete file
5255 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5258 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5260 * text3.C (cursorPrevious): adjust
5261 (cursorNext): adjust
5264 * text2.C (redoHeightOfParagraph): adjust
5265 (redoDrawingOfParagraph): adjust
5268 * text.C (breakParagraph): adjust
5269 (insertChar): adjust
5272 * rowpainter.C (RowPainter): adjust
5273 (leftMargin): simplify and adjust
5274 (most rowpainter functions): adjust.
5276 * rowpainter.h: store the row as RowList::iterator not as Row*
5278 * lyxcursor.C (row): taka RowList::iterator as arg
5281 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5284 2003-04-01 Angus Leeming <leeming@lyx.org>
5286 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5287 stuff like bool Bool.
5289 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5291 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5294 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5296 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5299 * lyxtext.h (rows): drop one version and leve a const variant that
5300 returns a RowList::iterator.
5302 2003-03-31 Angus Leeming <leeming@lyx.org>
5304 * text.C (fill): ensure that the signature is the same as that in the
5307 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5309 * text2.C (redoParagraphs): adjust
5310 (updateCounters): adjust
5311 (checkParagraph): adjust
5312 (getColumnNearX): adjust and reformat a bit.
5314 * text.C (top_y): adjust
5316 (leftMargin): adjust
5317 (prepareToPrint): adjust
5319 (getRowNearY): adjust
5321 * lyxtext.h: make rowlist_ mutable.
5323 * RowList.h: add const_iterator
5324 * RowList.C: adjust for RowList::const_iterator.
5326 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5329 2003-03-31 John Levon <levon@movementarian.org>
5332 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5334 * lyx_main.C: set default fonts from using lyx_gui funcs
5336 * exporter.C: pdf_mode moved from lyxrc
5339 * lyxfunc.C: changes from above
5341 2003-03-31 John Levon <levon@movementarian.org>
5343 * lyx_main.C: fix to the last fix
5345 2003-03-31 John Levon <levon@movementarian.org>
5347 * bufferlist.C: "Load original" -> "Load Original"
5353 * format.C: more Alert cleanups
5355 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5357 * text2.C (removeParagraph): make it take a RowList::iterator as
5359 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5360 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5362 * text.C (anchor_row): make it take a RowList::iterator as arg,
5364 (computeBidiTables): make it take a const reference to Row instead
5365 of Row pointer, adjust.
5366 (leftMargin): make it take a RowList::iterator as arg, adjust.
5367 (rowBreakPoint): adjust
5368 (breakAgainOneRow): make it take a RowList::iterator as arg,
5370 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5372 * bufferview_funcs.C (toggleAndShow): adjust
5374 2003-03-30 John Levon <levon@movementarian.org>
5378 * boost-inst.C: moved to support
5380 * several files: changes as a result
5382 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5384 * text2.C (LyXText): adjust.
5386 (removeRow): make it take a RowList::iterator as arg, adjust.
5387 (fullRebreak): adjust
5388 (deleteEmptyParagraphMechanism): adjust
5389 (clearPaint): adjust
5392 * text.C (top_y): adjust
5393 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5394 (breakAgain): make it take a RowList::iterator as arg, adjust.
5395 (breakParagraph): adjust
5396 (insertChar): adjust
5399 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5400 need_break_row, and refresh_row.
5402 * text3.C (dispatch): adjust
5404 * text2.C (checkParagraph): adjust
5406 (setCursorFromCoordinates): adjust
5408 * text.C (top_y): adjust
5410 (getRow): make it return a RowList::iterator, adjust
5411 (getRowNearY): make it return a RowList::iterator, adjust
5413 * text2.C (init): adjust
5414 (insertRow): remove function
5415 (insertParagraph): adjust
5416 (redoParagraphs): adjust
5417 (fullRebreak): adjust
5418 (updateCounters): adjust
5420 * text.C (top_y): rewrite to use RowList iterators.
5422 (setHeightOfRow): rewrite to sue RowList iterators.
5423 (appendParagraph): adjust
5424 (breakAgain): adjust
5425 (breakAgainOneRow): adjust
5426 (breakParagraph): adjust
5428 (getRowNearY): adjust, and remove commented code.
5430 * lyxtext.h (firstRow): delete function
5431 (lastRow): delete function
5432 (rows): new function (const and non-const versions.)
5433 (insertRow): delete function
5435 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5437 2003-03-29 John Levon <levon@movementarian.org>
5439 * BufferView_pimpl.C: always update scrollbar top
5440 because pasting text when we're anchored could mean we
5441 miss an update altogether
5443 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5445 * text2.C (init): use rowlist_.end() and not 0.
5446 (insertRow): change to take a RowList::iterator as arg, adjust
5448 (insertParagraph): change to take a RowList::iterator as arg,
5450 (redoParagraphs): remove some debug msgs.
5452 * text.C (appendParagraph): change to take a RowList::iterator
5453 arg, adjust for this.
5454 (breakAgain): add an assert
5455 (breakAgainOneRow): ditto
5457 2003-03-29 John Levon <levon@movementarian.org>
5459 * text2.C: do not clear selection after inc/decDepth
5462 2003-03-29 John Levon <levon@movementarian.org>
5465 * buffer.C: fix broken strerrors according to Lars
5467 2003-03-29 John Levon <levon@movementarian.org>
5469 * converters.C: more Alert cleanups
5471 2003-03-29 John Levon <levon@movementarian.org>
5473 * bufferview_funcs.C: remove pointless Alert
5475 * buffer.C: fix confusing error message when
5476 a template is chmoded 000
5478 2003-03-29 John Levon <levon@movementarian.org>
5482 * BufferView_pimpl.C: Alert fixes
5486 * tabular-old.C: remove unused table compat reading
5488 2003-03-29 John Levon <levon@movementarian.org>
5493 * lyx_cb.C: more Alert cleanups
5495 * lyxfunc.C: don't allow chktex if not latex document
5497 2003-03-29 John Levon <levon@movementarian.org>
5501 * buffer.C: warnings pushed down from support/,
5504 2003-03-29 John Levon <levon@movementarian.org>
5506 * lyxfunc.C: safety check for C-r (revert)
5508 2003-03-29 John Levon <levon@movementarian.org>
5511 * bufferlist.C: several UI fixes using Alert::prompt.
5512 Fix the pointless looping quit code. Fix stupid revert
5517 * lyx_cb.C: use Alert::prompt
5519 * lyx_main.C: remove a silly question
5521 * lyxfunc.C: remove a couple of silly questions,
5524 2003-03-28 John Levon <levon@movementarian.org>
5526 * text2.C: fix bug 974 (End on empty par)
5528 2003-03-28 John Levon <levon@movementarian.org>
5530 * BufferView_pimpl.C:
5532 * lfuns.h: remove do-nothing math greek lfuns
5534 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5536 * lyxgluelength.h (isValidGlueLength): add default arg on
5537 parameter 2. Remove default arg from friend in class.
5539 * lyxlength.h (isValidLength): add default arg on parameter 2.
5540 Remove default arg from friend in class.
5542 * text2.C (LyXText): adjust, initialize refresh_row.
5546 (insertParagraph): adjst
5547 (redoParagraphs): adjust
5548 (fullRebreak): adjust
5549 (updateCounters): adjust
5550 (deleteEmptyParagraphMechanism): first attempt at fixing a
5553 * text.C (top_y): adjust
5554 (setHeightOfRow): adjust
5556 (getRowNearY): adjust
5558 * lyxtext.h: include RowList.h
5559 (~LyXText): not needed anymore, deleted.
5560 (firstRow): modify for RowList
5561 (lastRow): new function
5562 Delete firstrow and lastrow class variables, add a Rowlist
5563 rowlist_ class variable.
5565 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5568 * RowList.C (insert): fix case where it == begin().
5570 2003-03-26 Angus Leeming <leeming@lyx.org>
5572 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5573 the thesaurus dialog.
5575 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5577 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5579 * RowList.[Ch]: new files
5581 * ParagraphList.C (erase): handle the case where it == begin
5584 2003-03-25 John Levon <levon@movementarian.org>
5588 * aspell.C: add new aspell support
5591 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5594 2003-03-25 Angus Leeming <leeming@lyx.org>
5597 * LyXAction.C (init): new LFUN_INSET_INSERT.
5599 * BufferView_pimpl.C (dispatch): split out part of the
5600 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5602 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5605 2003-03-25 Angus Leeming <leeming@lyx.org>
5607 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5609 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5612 * text3.C: remove useless row->height(0)
5614 2003-03-25 John Levon <levon@movementarian.org>
5618 * text3.C: rename the refreshing stuff to better names
5620 2003-03-24 John Levon <levon@movementarian.org>
5622 * BufferView_pimpl.h:
5623 * BufferView_pimpl.C: update layout choice on a mouse
5626 2003-03-23 John Levon <levon@movementarian.org>
5628 * Makefile.am: fix commandtags.h reference
5630 2003-03-22 John Levon <levon@movementarian.org>
5632 * BufferView_pimpl.C:
5637 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5639 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5642 * text.C: take the rtl methods out of line
5644 2003-03-21 André Pönitz <poenitz@gmx.net>
5646 * metricsinfo.[Ch]: new files containing structures to be passed around
5647 during the two-phase-drawing...
5649 2003-03-21 André Pönitz <poenitz@gmx.net>
5651 * lyxtextclass.C: read 'environment' tag.
5653 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5655 * text2.C (removeRow): fix bug 964
5657 2003-03-20 John Levon <levon@movementarian.org>
5661 * text2.C: paint cleanups. Inset::update() dropped font
5664 2003-03-19 John Levon <levon@movementarian.org>
5666 * lyxfunc.C: only fitcursor/markDirty if available()
5668 2003-03-19 John Levon <levon@movementarian.org>
5670 * commandtags.h: rename to ...
5672 * lfuns.h: ... this, and renumber / cleanup
5674 2003-03-19 John Levon <levon@movementarian.org>
5676 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5677 fit the cursor after an lfun
5681 * BufferView_pimpl.h:
5682 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5684 * LyXAction.C: layout-character should have ReadOnly
5686 * ParagraphParameters.C:
5688 * bufferview_funcs.C:
5695 * undo_funcs.C: changes from above
5697 2003-03-18 John Levon <levon@movementarian.org>
5699 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5700 remove it from update()
5702 * lyxfunc.C: update layout choice after an lfun
5704 * text3.C: remove extra updateLayoutChoice()s
5706 2003-03-18 John Levon <levon@movementarian.org>
5708 * text.C: top_y change means full repaint, fix
5709 a drawing bug with cursor movement
5711 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5715 * text2.C: anchor row on setCursor
5717 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5719 * lyxtext.h: remove almost all mutable keywords
5722 * text3.C: remove const keywords accordingly
5724 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5726 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5728 (TeXEnvironment): ditto
5731 2003-03-17 John Levon <levon@movementarian.org>
5733 * text.C (rowBreakPoint): remove attempt to fix displayed
5734 math insets inside a manual label
5736 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5738 * lyxtext.h: remove BufferView* as first arg from almost all class
5740 * other files: adjust.
5742 2003-03-17 John Levon <levon@movementarian.org>
5746 * text2.C: more paint cleanups
5748 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5751 * rowpainter.C: remove "smart" background painting code
5753 2003-03-16 John Levon <levon@movementarian.org>
5758 * text3.C: add helper functions for setting refresh_row/y
5760 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5762 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5763 newline inset which *can* get inserted in the pass_thru layouts.
5764 This is primarily for literate documents.
5766 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5768 * buffer.C: increment LYX_FORMAT to 223
5770 2003-03-14 André Pönitz <poenitz@gmx.net>
5772 * textclass.h: prepare for environment handling, ws changes
5773 * lyxlayout.C: read latexheader and latexfooter tags
5775 2003-03-14 John Levon <levon@movementarian.org>
5777 * text2.C: rewrite ::status() a bit
5779 2003-03-13 John Levon <levon@movementarian.org>
5781 * lyxtext.h: add some docs
5783 2003-03-13 John Levon <levon@movementarian.org>
5788 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5790 2003-03-13 John Levon <levon@movementarian.org>
5792 * text3.C: fix appendix redrawing
5794 2003-03-13 John Levon <levon@movementarian.org>
5796 * text.C (setHeightOfRow):
5798 * rowpainter.C: make appendix mark have the text
5799 "Appendix" so the user knows what it is
5802 * LColor.C: s/appendixline/appendix/ from above
5804 2003-03-13 John Levon <levon@movementarian.org>
5806 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5808 * text.C: fix a getChar(pos) bug properly
5810 2003-03-13 Angus Leeming <leeming@lyx.org>
5813 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5814 Probably only temporary. Let's see how things pan out.
5816 * BufferView.C (unlockInset):
5817 * BufferView_pimpl.C (fitCursor):
5818 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5820 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5821 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5823 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5824 new functions that convert ParagraphParameters to and from a string.
5826 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5827 BufferView::Pimpl's dispatch.
5828 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5830 2003-03-13 André Pönitz <poenitz@gmx.net>
5834 * factory.C: make it aware of InsetEnv
5836 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5838 * text2.C (setCursor): never ask for one past last
5839 (setCursor): add some debugging messages.
5841 * text.C (singleWidth): never ask for one past last
5842 (singleWidth): ditto
5844 (rightMargin): ditto
5845 (rowBreakPoint): ditto
5846 (setHeightOfRow): ditto
5847 (prepareToPrint): ditto
5849 * rowpainter.C (paintBackground): never ask for one past last
5850 (paintText): never ask for one past last
5852 * paragraph_pimpl.C (getChar): make the assert stricter, never
5853 allow the one past last pos to be taken
5855 * paragraph.C (getChar): ws changes only
5857 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5858 (numberOfSeparators): ditto
5859 (numberOfHfills): ditto
5861 2003-03-12 John Levon <levon@movementarian.org>
5867 * paragraph_funcs.C: fix per-buffer authorlists
5869 2003-03-12 John Levon <levon@movementarian.org>
5871 * text.C: fix newline in right address
5873 2003-03-12 Angus Leeming <leeming@lyx.org>
5875 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5876 duplicate those in LyXFunc::dispatch.
5880 * ToolbarDefaults.C:
5881 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5882 Add LFUN_FONTFREE_UPDATE.
5884 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5885 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5887 * bufferview_func.[Ch]: several new functions to facilliate
5888 transfer of data to and from the character dialog.
5890 2003-03-12 John Levon <levon@movementarian.org>
5895 * paragraph_funcs.C:
5896 * paragraph_pimpl.C:
5900 * text3.C: remove META_NEWLINE in favour of an inset
5903 * rowpainter.C: remove paintNewline (done by inset)
5905 2003-03-12 John Levon <levon@movementarian.org>
5907 * paragraph_pimpl.C: complain about bad getChar()s
5908 for a while at least
5910 2003-03-12 John Levon <levon@movementarian.org>
5913 * buffer.C: move paragraph read into a separate function,
5914 a little renaming to reflect that.
5917 * bufferparams.C: remove the author_ids map, not necessary now
5920 * factory.C: moved Buffer::readInset to here
5922 * paragraph_funcs.h:
5923 * paragraph_funcs.C: readParagraph free function moved from
5926 * tabular.C: name change
5928 2003-03-12 John Levon <levon@movementarian.org>
5931 * ParagraphParameters.C: move par params input to
5934 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5935 behave like a normal read from the stream wrt reading
5936 a line vs. a \\token
5938 2003-03-12 John Levon <levon@movementarian.org>
5941 * ParagraphParameters.h:
5942 * ParagraphParameters.C: move output code to a
5945 2003-03-12 John Levon <levon@movementarian.org>
5947 * BufferView.C (insertLyXFile):
5950 * tabular.C: use a parlist iterator for creating the
5953 2003-03-12 John Levon <levon@movementarian.org>
5955 * buffer.C: make current_change static local not
5958 2003-03-12 John Levon <levon@movementarian.org>
5960 * buffer.C: fix insertStringAsLines for change tracking
5962 2003-03-12 John Levon <levon@movementarian.org>
5969 * bufferparams.C: move author list into params. Rename some
5970 functions. Move the header reading into a separate token
5971 loop. Move the header token reading into BufferParams.
5973 2003-03-12 John Levon <levon@movementarian.org>
5975 * changes.C: put debug inside lyxerr.debugging() checks
5977 2003-03-11 André Pönitz <poenitz@gmx.net>
5979 * factory.C: make it aware of InsetHFill
5981 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5983 * buffer.C (latexParagraphs): move function from here...
5984 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5987 2003-03-10 Angus Leeming <leeming@lyx.org>
5989 * LyXAction.C (init): fix bug in poplating array with multiple entries
5990 with the same LFUN (spotted by JMarc).
5992 2003-03-10 John Levon <levon@movementarian.org>
5995 * text2.C: move getColumnNearX() near its
5998 2003-03-10 John Levon <levon@movementarian.org>
6000 * text.C: fix break before a minipage
6002 2003-03-10 John Levon <levon@movementarian.org>
6004 * text.C: fix the last commit
6006 2003-03-09 John Levon <levon@movementarian.org>
6010 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6011 bug 365 (don't break before insets unless needed). Don't
6012 return a value > last under any circumstances.
6014 2003-03-09 Angus Leeming <leeming@lyx.org>
6016 * BufferView_pimpl.C (trackChanges, dispatch): call
6017 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6019 2003-03-09 Angus Leeming <leeming@lyx.org>
6021 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6022 than Dialogs::showAboutlyx().
6024 2003-03-09 Angus Leeming <leeming@lyx.org>
6026 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6027 than Dialogs::showTabularCreate().
6029 2003-03-09 John Levon <levon@movementarian.org>
6033 * text2.C: 3rd arg to nextBreakPoint was always the same.
6036 2003-03-08 John Levon <levon@movementarian.org>
6043 * text2.C: Remove the "main" bit from the "main body"
6046 2003-03-08 John Levon <levon@movementarian.org>
6048 * text.C (leftMargin): The left margin of an empty
6049 manual label paragraph should not include the label width
6052 * text.C (prepareToPrint): don't attempt to measure hfills
6053 for empty manual label paragraphs - the answer should be 0
6055 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6057 * CutAndPaste.C: remove commented code and reindent.
6059 2003-03-08 John Levon <levon@movementarian.org>
6062 * lyxfunc.C: move reloadBuffer()
6065 * BufferView.C: to here
6067 * lyxvc.C: add comment
6070 * vc-backend.C: call bv->reload() to avoid
6071 getStatus() check on MENURELOAD
6073 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6075 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6076 to an old format .dep file.
6078 2003-03-07 Angus Leeming <leeming@lyx.org>
6080 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6081 when the LFUN_MOUSE_RELEASE should have been handled by
6082 inset->localDispatch.
6084 2003-03-07 Angus Leeming <leeming@lyx.org>
6086 * BufferView_pimpl.C (dispatch):
6087 * LyXAction.C (init):
6088 * ToolbarDefaults.C (init):
6090 * lyxfunc.C (getStatus):
6091 remove LFUN_INSET_GRAPHICS.
6093 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6095 2003-03-07 Angus Leeming <leeming@lyx.org>
6098 * LyXAction.C (init):
6099 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6101 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6104 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6106 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6107 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6109 2003-03-07 Angus Leeming <leeming@lyx.org>
6111 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6114 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6116 * ParagraphList.C (front): new function
6119 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6121 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6122 and top_row_offset_. removed var first_y.
6124 * text2.C (LyXText, removeRow):
6126 * BufferView_pimpl.C:
6127 use these methods instead of using first_y
6129 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6131 * text2.C (pasteSelection): adjust for checkPastePossible
6133 * CutAndPaste.C: remove Paragraph * buf and replace with
6134 ParagraphList paragraphs.
6135 (DeleteBuffer): delete
6136 (cutSelection): change the tc type to textclass_type
6137 (copySelection): change the tc type to textclass_type
6138 (copySelection): adjust for ParagraphList
6139 (pasteSelection): change the tc type to textclass_type
6140 (pasteSelection): adjust for Paragraphlist
6141 (nrOfParagraphs): simplify for ParagraphList
6142 (checkPastePossible): simplify for ParagraphList
6143 (checkPastePossible): remove unused arg
6145 * ParagraphList.C (insert): handle the case where there are no
6148 * CutAndPaste.h: make CutAndPaste a namespace.
6150 * text3.C (dispatch): adjust
6152 * text.C (breakParagraph): add a ParagraphList as arg
6154 * paragraph_funcs.C (breakParagraph): change to take a
6155 BufferParams and a ParagraphList as args.
6156 (breakParagraphConservative): ditto
6157 (mergeParagraph): ditto
6158 (TeXDeeper): add a ParagraphList arg
6159 (TeXEnvironment): ditto
6162 * buffer.C (readLyXformat2): adjust
6163 (insertStringAsLines): adjust
6164 (latexParagraphs): adjust
6166 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6167 (cutSelection): adjust
6168 (pasteSelection): adjust
6170 * BufferView_pimpl.C (insertInset): adjust
6172 2003-03-05 Angus Leeming <leeming@lyx.org>
6175 * LyXAction.C (init):
6176 * BufferView_pimpl.C (dispatch):
6177 * lyxfunc.C (getStatus):
6178 remove LFUN_CHILD_INSERT.
6180 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6182 2003-03-05 Angus Leeming <leeming@lyx.org>
6185 * LyXAction.C (init):
6186 * src/factory.C (createInset):
6187 * lyxfunc.C (getStatus):
6188 * text3.C (dispatch):
6189 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6191 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6193 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6195 * ParagraphList.C (insert): handle insert right before end()
6196 (erase): fix cases where it can be first or last paragraph.
6198 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6200 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6201 Paragraph::next and Paragraph::previous
6204 * text.C (breakParagraph): adjust
6206 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6207 BufferParams& as arg.
6208 (breakParagraph): use ParagraphList::insert
6209 (breakParagraphConservative): take a Buffer* instead of a
6210 BufferParams& as arg.
6211 (breakParagraphConservative): use ParagraphList::insert.
6213 * buffer.C (insertStringAsLines): un-const it
6214 (insertStringAsLines): adjust
6216 * ParagraphList.C (insert): new function
6218 * CutAndPaste.C (pasteSelection): adjust
6220 * text.C (backspace): adjust
6222 * tabular.C (SetMultiColumn): adjust
6224 * CutAndPaste.C (cutSelection): adjust
6225 (pasteSelection): adjust
6227 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6228 Buffer const * as arg
6230 * ParagraphList.C (erase): new function
6231 * paragraph_funcs.C (mergeParagraph): use it
6232 (mergeParagraph): make it take a Buffer* instead of a
6233 BufferParams* as arg
6235 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6237 (breakParagraphConservative): ditto
6239 * paragraph.h: remove the breakParagraph friend
6241 * paragraph.C (eraseIntern): new function
6242 (setChange): new function
6244 * paragraph_funcs.C (mergeParagraph): make it take a
6245 ParagraphList::iterator instead of a Paragraph *, adjust
6248 * paragraph.h: move an #endif so that the change tracking stuff
6249 also works in the NO_NEXT case.
6251 2003-03-04 Angus Leeming <leeming@lyx.org>
6254 * LyXAction.C: new LFUN_INSET_MODIFY.
6256 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6257 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6259 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6261 * several files: ws changes only
6263 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6264 (TeXEnvironment): ditto
6267 * buffer.C (makeLaTeXFile): adjust
6268 (latexParagraphs): make it take ParagraphList::iterator as args
6270 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6272 * buffer.C (latexParagraphs): adjust
6274 * paragraph.C (TeXOnePar): move function...
6275 (optArgInset): move function...
6276 (TeXEnvironment): move function...
6277 * paragraph_pimpl.C (TeXDeeper): move function...
6278 * paragraph_funcs.C: ...here
6280 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6282 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6284 * buffer.C (readInset): remove compability code for old Figure and
6287 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6289 * buffer.C: ws changes
6292 * BufferView_pimpl.C: ditto
6295 * bufferlist.h: ditto
6299 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6301 * converter.[Ch]: split into itself +
6304 * Makefile.am: += graph.[Ch] + format.[Ch]
6311 * lyxrc.C: added #include "format.h"
6313 2003-02-27 Angus Leeming <leeming@lyx.org>
6315 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6318 * factory.C (createInset): add "label" to the factory.
6320 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6321 string and do no more.
6323 2003-02-27 Angus Leeming <leeming@lyx.org>
6326 * LyXAction.C (init):
6327 * factory.C (createInset):
6328 * BufferView_pimpl.C (dispatch):
6329 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6331 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6333 * lyxfunc.C (dispatch):
6334 * text3.C (dispatch): pass name to params2string.
6336 2003-02-26 Angus Leeming <leeming@lyx.org>
6338 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6340 Rearrange the ~includes. Strip out the unnecessary ones.
6342 * factory.C (createInset): reformat.
6343 create new insets for the various LFUN_XYZ_APPLY lfuns.
6345 2003-02-26 John Levon <levon@movementarian.org>
6348 * lyxrow.C: add isParStart,isParEnd helpers
6350 * paragraph.h: make isInserted/DeletedText take refs
6352 * paragraph_funcs.h:
6353 * paragraph_funcs.C: remove #if 0'd code
6358 * text.C: use lyxrow helpers above.
6359 Move draw and paint routines to RowPainter.
6360 Make several methods use refs not pointers.
6361 Make backgroundColor() const.
6362 Add markChangeInDraw(), isInInset().
6363 Merge changeRegionCase into changeCase.
6364 Make workWidth() shouldn't-happen code into an Assert.
6367 * rowpainter.C: new class for painting a row.
6370 * vspace.C: make inPixels take a ref
6372 2003-02-26 Angus Leeming <leeming@lyx.org>
6374 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6377 2003-02-25 John Levon <levon@movementarian.org>
6379 * ispell.C: give the forked command a more accurate name
6381 2003-02-22 John Levon <levon@movementarian.org>
6384 * toc.C: make TocItem store an id not a Paragraph *
6387 2003-02-21 Angus Leeming <leeming@lyx.org>
6389 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6390 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6391 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6392 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6393 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6394 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6396 * BufferView_pimpl.C (dispatch):
6397 * LyXAction.C (init):
6398 * factory.C (createInset):
6399 * lyxfunc.C (getStatus, dispatch):
6400 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6402 2003-02-21 Angus Leeming <leeming@lyx.org>
6404 * BufferView_pimpl.C (MenuInsertLyXFile):
6405 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6406 * lyxfunc.C (menuNew, open, doImport):
6407 no longer pass a LyXView & to fileDlg.
6409 2003-02-21 Angus Leeming <leeming@lyx.org>
6411 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6412 * LyXAction.C: change, BIBKEY to BIBITEM.
6413 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6414 Change InsetBibKey to InsetBibitem.
6415 Change BIBKEY_CODE to BIBITEM_CODE.
6416 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6417 * factory.C: replace insetbib.h with insetbibitem.h.
6418 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6419 * paragraph.C: replace insetbib.h with insetbibitem.h.
6420 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6421 Change bibkey() to bibitem().
6422 * text.C: remove insetbib.h.
6423 * text2.C: replace insetbib.h with insetbibitem.h.
6424 change bibkey() to bibitem().
6425 * text3.C: remove insetbib.h.
6426 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6428 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6430 * lyxrc.C (output): enclose user email in quotes (in case there are
6433 2003-02-18 John Levon <levon@movementarian.org>
6435 * buffer.h: add std::
6437 2003-02-17 John Levon <levon@movementarian.org>
6443 * pspell.C: reworking. Especially in ispell, a large
6444 number of clean ups and bug fixes.
6446 * lyxfunc.C: fix revert to behave sensibly
6448 2003-02-17 André Pönitz <poenitz@gmx.net>
6451 * commandtags.h: new LFUN_INSERT_BIBKEY
6461 * paragraph_func.C: remove special bibkey handling
6463 2003-02-17 John Levon <levon@movementarian.org>
6465 * text.C (Delete): fix case where delete at the end of
6466 the very first paragraph would not merge the pars
6468 2003-02-17 John Levon <levon@movementarian.org>
6470 * lyxrow.C: fix lastPrintablePos()
6472 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6474 * bufferparams.C (writeLaTeX): add a std:here
6476 * buffer.C: and remove a using directive there
6478 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6480 * buffer.C (makeLaTeXFile): move the code that generates the
6483 * bufferparams.C (writeLaTeX): ... in this new method
6485 * LaTeXFeatures.C (getEncodingSet): make const
6486 (getLanguages): make const
6488 * MenuBackend.C (binding): returns the binding associated to this
6490 (add): sets the status of each item by calling getStatus. Adds
6492 (read): add support for OptSubMenu
6493 (expand): remove extra separator at the end of expanded menu
6495 2003-02-15 John Levon <levon@movementarian.org>
6498 * BufferView_pimpl.C:
6500 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6501 inset code that had no actual effect. Remove unneeded status
6504 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6506 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6509 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6511 * text.C (drawLengthMarker): also draw an arrow marker for
6512 symbolic lengths (medskip...)
6514 2003-02-14 John Levon <levon@movementarian.org>
6517 * tabular.C: better method names
6519 2003-02-14 John Levon <levon@movementarian.org>
6521 * BufferView_pimpl.C:
6526 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6527 it's a more accurate name. Remove some pointless uses.
6529 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6531 * text2.C (LyXText): change order of initilizers to shut off
6534 2003-02-14 John Levon <levon@movementarian.org>
6536 * buffer.C: use ParIterator for getParFromID()
6540 * paragraph_pimpl.h:
6541 * paragraph_pimpl.C: remove unused getParFromID()
6543 2003-02-14 John Levon <levon@movementarian.org>
6545 * buffer.C: remove some very old #if 0'd parse code
6547 2003-02-13 John Levon <levon@movementarian.org>
6551 * text2.C: move hfillExpansion(), numberOfSeparators(),
6552 rowLast(), rowLastPrintable(), numberofHfills(),
6553 numberOfLabelHfills() ...
6556 * lyxrow.C: ... to member functions here.
6561 * text.C: remove LyXText::beginningOfMainBody(), and call
6562 p->beginningOfMainBody() directly. Move the check for
6563 LABEL_MANUAL into the latter.
6570 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6576 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6577 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6579 2003-02-13 John Levon <levon@movementarian.org>
6581 * CutAndPaste.C: remove debug
6583 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6585 * paragraph.C (asString): remove two unused variables
6587 * lyxtextclass.C (readTitleType):
6589 (LyXTextClass): handle new members titletype_ and titlename_
6591 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6593 2003-02-09 John Levon <levon@movementarian.org>
6596 * buffer.C: replace hand-coded list with a map for the dep clean
6598 2003-02-08 John Levon <levon@movementarian.org>
6600 * LaTeX.C: consolidate code into showRunMessage() helper
6602 2003-02-08 John Levon <levon@movementarian.org>
6607 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6608 and pass the size in explicitly
6610 * BufferView_pimpl.h:
6611 * BufferView_pimpl.C:
6613 * BufferView.C: add getCurrentChange()
6615 * BufferView_pimpl.h:
6616 * BufferView_pimpl.C: handle change lfuns
6618 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6619 for changes. Mark pasted paragraphs as new.
6621 * support/lyxtime.h:
6622 * support/lyxtime.C:
6623 * DepTable.C: abstract time_t as lyx::time_type
6626 * LColor.C: add colours for new text, deleted text, changebars
6628 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6629 package use "usenames" option.
6633 * LyXAction.C: add change lfuns
6637 * author.C: author handling
6640 * buffer.C: add a per-buffer author list, with first entry as
6641 current author. Handle new .lyx tokens for change tracking. Output
6642 author list to .lyx file. Output dvipost stuff to .tex preamble.
6643 Bump lyx format to 222.
6646 * bufferlist.C: add setCurrentAuthor() to reset current author details
6650 * bufferparams.C: add param for tracking
6652 * bufferview_funcs.C: output change info in minibuffer
6656 * changes.C: add change-tracking structure
6659 * debug.C: add CHANGES debug flag
6662 * lyxfind.C: add code for finding the next change piece
6665 * lyxrc.C: add user_name and user_email
6668 * lyxrow.C: add a metric for the top of the text line
6671 * text.C: implement accept/rejectChange()
6674 * text.C: paint changebars. Paint new/deleted text in the chosen
6675 colours. Strike through deleted text.
6679 * paragraph_pimpl.h:
6680 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6681 in the current change to the insert functions. Rework erase to
6682 mark text as deleted, adding an eraseIntern() and a range-based
6683 erase(). Implement per-paragraph change lookup and
6686 * paragraph_funcs.C: Fixup paste for change tracking.
6688 * tabular.C: mark added row/columns as new.
6690 * text.C: fix rowLast() to never return -1. Don't allow
6691 spellchecking of deleted text. Track transpose changes. Don't
6692 allow paragraph break or merge where appropriate.
6694 * text2.C: leave cursor at end of selection after a cut.
6696 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6698 * text.C (getLengthMarkerHeight):
6699 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6700 visible on screen too.
6702 2003-02-07 John Levon <levon@movementarian.org>
6704 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6706 2003-02-05 Angus Leeming <leeming@lyx.org>
6708 * lyxserver.C (read_ready): revert my patch of 11 September last year
6709 as it sends PC cpu through the roof. Presumably this means that
6710 the lyxserver will no longer run on an Alpha...
6712 2003-01-30 Angus Leeming <leeming@lyx.org>
6714 * factory.C (createInset): create an InsetCommandParam of type "index"
6715 and use it to 'do the right thing'.
6717 * text2.C (getStringToIndex): ensure that cursor position is always
6718 reset to the reset_cursor position.
6720 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6722 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6725 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6729 * lyxfunc.C: Output messages with identical spelling, punctuation,
6732 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6734 * MenuBackend.C (expandFormats): List only viewable export formats
6737 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6740 * lyxfunc.C (getStatus): Make sure that formats other than
6741 "fax" can also be disabled
6743 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6745 * text3.C (dispatch): put the lfuns that insert insets in 3
6746 groups, and call doInsertInset with appropriate arguments.
6747 (doInsertInset): new function, that creates an inset and inserts
6748 it according to some boolean parameters.
6750 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6752 * buffer.C (readFile): remember to pass on 'par' when calling
6753 readFile recursively.
6755 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6757 * MenuBackend.C (expandFormats): add "..." to import formats.
6759 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6761 * paragraph.C (asString): Remove XForms RTL hacks.
6763 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6764 * buffer.C: fix typo
6766 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6768 * Makefile.am (LIBS): delete var
6769 (lyx_LDADD): add @LIBS@ here instead.
6771 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6773 * Clarify the meaning of "wheel mouse jump"
6775 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6777 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6780 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6782 * importer.C (Loaders): do not preallocate 3 elements in the
6783 vector, since one ends up with 6 elements otherwise
6785 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6787 * DepTable.C (write): write the file name as last element of the
6788 .dep file (because it may contain spaces)
6789 (read): read info in the right order
6791 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6793 * paragraph_pimpl.C (simpleTeXBlanks):
6794 (simpleTeXSpecialChars):
6795 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6797 * tabular.C (latex): add some missing case statements. Reindent.
6799 * MenuBackend.C (expandToc): remove unused variable.
6801 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6810 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6813 2003-01-05 John Levon <levon@movementarian.org>
6816 * BufferView.C: add getEncoding()
6819 * kbsequence.C: do not store last keypress
6822 * lyxfunc.C: store last keypress here instead. Pass encoding
6825 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6827 * lyx_main.C (init): remove annoying error message when following
6828 symbolic links (bug #780)
6830 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6832 * text.C (insertChar):
6833 * lyxrc.C (getDescription): remove extra spaces
6835 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6837 * lyxrc.C (getDescription): remove extra spaces
6839 2002-12-20 John Levon <levon@movementarian.org>
6841 * text3.C: hack fix for page up/down across tall rows
6843 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6845 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6848 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6850 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6851 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6852 thesaurus is not compiled in
6854 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6856 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6858 2002-12-16 Angus Leeming <leeming@lyx.org>
6861 * lyx_main.C (init): remove override_x_deadkeys stuff.
6863 2002-12-12 John Levon <levon@movementarian.org>
6865 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6866 insert. Only remove shift modifier under strict
6869 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6871 * MenuBackend.C (expandToc): fix crash.
6873 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6875 * MenuBackend.C (expandToc): gettext on float names.
6877 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6879 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6880 implement bool empty() [bug 490]
6882 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6884 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6886 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6888 * several files: ws changes
6890 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6892 * text2.C (setCounter): clean up a bit, use boost.format.
6893 (updateCounters): initialize par upon declaration.
6895 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6896 if the layout exists. We do not just store the layout any more.
6897 (SwitchLayoutsBetweenClasses): use boost.format
6899 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6901 * converter.C (convert): if from and to files are the same, use a
6902 temporary files as intermediary
6904 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6907 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6909 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6911 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6913 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6915 * tabular.C (asciiPrintCell): use string(size, char) instead of
6918 * sgml.C (openTag): fix order of arguments to string constructor
6921 * lyxfunc.C (dispatch): use boost.format
6923 * lots of files: change "c" -> 'c'
6925 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6927 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6929 2002-11-25 Angus Leeming <leeming@lyx.org>
6931 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6933 * lyx_main.C (init): compile fix.
6935 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6937 * lyx_cb.C (start): boost.formatify
6938 do not include <iostream>
6940 * lengthcommon.C: ws only
6942 * boost-inst.C,BoostFormat.h: add more explict instantations
6944 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6946 * lots of files: handle USE_BOOST_FORMAT
6948 2002-11-21 John Levon <levon@movementarian.org>
6950 * pspell.C: fix compile
6952 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6954 * lyxfunc.C (dispatch): use boost::format
6958 * lyxfont.C (stateText): use boost::format
6960 * lyx_main.C (LyX): use boost::format
6962 (queryUserLyXDir): ditto
6965 (typedef boost::function): use the recommened syntax.
6967 * importer.C (Import): use boost::format
6969 * debug.C (showLevel): use boost::format
6971 * converter.C (view): use boost::format
6976 * bufferview_funcs.C (currentState): use boost::format
6978 * bufferlist.C (emergencyWrite): use boost::format
6980 * buffer.C (readLyXformat2): use boost::format
6981 (parseSingleLyXformat2Token): ditto
6983 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6985 * LaTeX.C (run): use boost::format
6987 * Chktex.C (scanLogFile): use boost::format
6989 * BufferView_pimpl.C (savePosition): use boost::format
6990 (restorePosition): ditto
6991 (MenuInsertLyXFile): ditto
6993 * BoostFormat.h: help file for explicit instation.
6995 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6997 * tabular.C (latex): Support for block alignment in fixed width
7000 2002-11-17 John Levon <levon@movementarian.org>
7002 * BufferView_pimpl.C:
7004 * lyxfunc.C: split filedialog into open/save
7006 2002-11-08 Juergen Vigna <jug@sad.it>
7008 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7009 by my last patch (hopefully).
7011 2002-11-08 John Levon <levon@movementarian.org>
7020 * toc.C: ParConstIterator, and use it (from Lars)
7022 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7024 * lyxtextclass.[Ch]: revise and add doxygen comments
7026 2002-11-07 John Levon <levon@movementarian.org>
7028 * text.C: fix progress value for spellchecker
7030 * toc.C: fix navigate menu for insetwrap inside minipage
7032 * paragraph_funcs.C: added FIXME for suspect code
7034 2002-11-07 John Levon <levon@movementarian.org>
7036 * BufferView_pimpl.C: fix redrawing of insets
7039 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7041 * text2.C (updateCounters): fix bug 668
7043 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7045 * text3.C (dispatch): Do not make the buffer dirty when moving the
7048 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7050 * vc-backend.C: STRCONV
7053 * text2.C (setCounter): STRCONV
7055 * paragraph.C (asString): STRCONV
7057 * lyxlength.C (asString): STRCONV
7058 (asLatexString): ditto
7060 * lyxgluelength.C (asString): STRCONV
7061 (asLatexString): ditto
7063 * lyxfunc.C (dispatch): STRCONV
7066 * lyxfont.C (stateText): STRCONV
7068 * importer.C (Import): STRCONV
7070 * counters.C (labelItem): STRCONV
7071 (numberLabel): ditto
7072 (numberLabel): remove unused ostringstream o
7077 * bufferview_funcs.C (currentState): STRCONV
7079 * buffer.C (readFile): STRCONV
7080 (asciiParagraph): ditto
7081 (makeLaTeXFile): ditto
7083 * Spacing.C (writeEnvirBegin): STRCONV
7085 * LaTeXFeatures.C (getLanguages): STRCONV
7086 (getPackages): ditto
7088 (getBabelOptions): ditto
7089 (getTClassPreamble): ditto
7090 (getLyXSGMLEntities): ditto
7091 (getIncludedFiles): ditto
7095 (scanAuxFile): ditto
7098 * LString.h: add the STRCONV macros
7100 * BufferView_pimpl.C (savePosition): STRCONV
7101 (restorePosition): ditto
7102 (MenuInsertLyXFile): ditto
7104 * vc-backend.C (scanMaster): change from submatch[...] to
7107 * funcrequest.C: include config.h
7109 * factory.C: include config.h
7111 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7113 * box.C: include config.h
7115 * LaTeX.C (scanAuxFile): change from submatch[...] to
7119 2002-10-25 Angus Leeming <leeming@lyx.org>
7121 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7123 * ispell.[Ch] (setError): new method.
7124 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7125 Use setError() insetead of goto END.
7127 * lyx_cb.C (AutoSave): move out child process into new class
7130 2002-10-30 John Levon <levon@movementarian.org>
7132 * text3.C: make start appendix undoable
7134 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7136 * lyxlength.C (inPixels): Fix returned value.
7138 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7141 2002-10-24 Angus Leeming <leeming@lyx.org>
7143 * lyxgluelength.h: no need to forward declare BufferParams
7144 or BufferView, so don't.
7146 2002-10-21 John Levon <levon@movementarian.org>
7148 * BufferView.C: menuUndo ->undo, redo
7150 * BufferView.h: document, remove dead, make some methods private
7152 * paragraph_funcs.h:
7153 * paragraph_funcs.C:
7154 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7159 * sgml.C: move sgml open/close tag into sgml.C
7161 * bufferview_funcs.h: unused prototype
7164 * lyxfunc.C: remove unused
7167 * text.C: remove unused
7169 2002-10-21 John Levon <levon@movementarian.org>
7173 * BufferView_pimpl.h:
7174 * BufferView_pimpl.C: fix mouse wheel handling based on
7175 patch from Darren Freeman
7177 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7179 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7181 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7183 * lyxlength.C (inPixels): Fix hanfling of negative length.
7184 Fix LyXLength::MU case.
7186 2002-10-16 John Levon <levon@movementarian.org>
7188 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7190 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7192 * converter.C (view): add support for $$i (file name) and $$p
7193 (file path) for the viewer command. If $$i is not specified, then
7194 it is appended to the command (for compatibility with old syntax)
7196 2002-10-14 Juergen Vigna <jug@sad.it>
7198 * undo_funcs.C (textHandleUndo): alter the order in which the
7199 new undopar is added to the LyXText, as we have to set first
7200 the right prev/next and then add it as otherwise the rebuild of
7201 LyXText is not correct. Also reset the cursor to the right paragraph,
7202 with this IMO we could remove the hack in "redoParagraphs()".
7204 2002-10-09 Angus Leeming <leeming@lyx.org>
7206 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7207 to turn off an optimisation if a new inset is to be inserted.
7209 2002-10-11 André Pönitz <poenitz@gmx.net>
7211 * lyxtext.h: make some functions public to allow access
7212 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7214 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7216 * text3.C (dispatch): when changing layout, avoid an infinite loop
7219 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7221 * lyxrc.C (read): treat a viewer or converter command of "none" as
7224 * MenuBackend.C (expandFormats): for an update, also allow the
7225 formats that are not viewable
7227 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7228 script if it is newer than the lyxrc.defaults in user directory
7230 2002-10-07 André Pönitz <poenitz@gmx.net>
7232 * text.C: Vitaly Lipatov's small i18n fix
7234 2002-09-25 Angus Leeming <leeming@lyx.org>
7236 * ispell.h: doxygen fix.
7238 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7240 * buffer.h (readFile): Add a new argument to the method, to allow
7241 reading of old-format templates.
7243 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7245 * toc.C (getTocList): Get TOC from InsetWrap.
7247 2002-09-16 John Levon <levon@movementarian.org>
7249 * lyxfunc.C: check tabular for cut/copy too
7251 2002-09-12 John Levon <levon@movementarian.org>
7256 * factory.C: add header
7258 * paragraph_funcs.h:
7259 * paragraph_funcs.C: cleanup
7261 2002-09-11 John Levon <levon@movementarian.org>
7263 * PrinterParams.h: odd/even default to true
7265 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7267 * PrinterParams.h: update printer parameters for new xforms dialog
7269 2002-09-11 Angus Leeming <leeming@lyx.org>
7271 * lyxserver.C (read_ready): re-write to make it more transparent
7272 and to make it work in coherent fashion under Tru64 Unix.
7274 2002-09-11 André Pönitz <poenitz@gmx.net>
7278 * text3.C: implement LFUN_WORDSEL
7280 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7282 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7283 make floatlist_ a boost::shared_ptr<FloatList>
7285 * lyxtextclass.C: include FloatList.h
7286 (LyXTextClass): initialize floatlist_
7287 (TextClassTags): add TC_NOFLOAT
7288 (Read): match "nofloat" to TC_NOFLOAT and use it.
7289 (readFloat): modify call to floatlist_
7293 * FloatList.[Ch] (FloatList): remove commented out float
7295 (erase): new function
7297 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7299 * MenuBackend.C (expandToc): fix crash when there is no document
7302 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7304 * many files: Add insetwrap.
7306 2002-09-09 John Levon <levon@movementarian.org>
7308 * text2.C: remove confusing and awkward depth wraparound
7310 2002-09-09 John Levon <levon@movementarian.org>
7312 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7315 * buffer.C: remove getIncludeonlyList()
7318 * lyxfunc.C: remove headers
7320 2002-09-09 Juergen Vigna <jug@sad.it>
7322 * text.C (getColumnNearX): fix form Michael this is most
7323 probably a cut&paste bug.
7325 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7327 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7329 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7330 references, ws changes.
7332 * text2.C (init): update counters after init
7333 (insertParagraph): no need to set counter on idividual paragraphs.
7334 (setCounter): access the counters object in the textclass object
7335 on in the buffer object.
7336 (updateCounters): ditto
7338 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7339 shared_ptr<Counters> to avoid loading counters.h in all
7341 (LyXTextClass): initialize ctrs_
7342 (TextClassTags): add TC_COUNTER, and ...
7343 (Read): use it here.
7344 (CounterTags): new tags
7345 (readCounter): new function
7346 (counters): new funtion
7347 (defaultLayoutName): return a const reference
7349 * counters.C (Counters): remove contructor
7350 (newCounter): remove a couple of unneeded statements.
7351 (newCounter): simplify a bit.
7352 (numberLabel): some small formatting changes.
7354 * buffer.[Ch]: remove all traces of counters, move the Counters
7355 object to the LyXTextClass.
7357 2002-09-06 Alain Castera <castera@in2p3.fr>
7359 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7360 package to set the horizontal alignment on fixed width columns.
7363 * lyx_sty.h: added tabularnewline macro def.
7365 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7367 2002-09-06 John Levon <levon@movementarian.org>
7369 * LyXAction.C: tooltips for sub/superscript
7371 * MenuBackend.C: a bit more verbose
7373 * lyxfunc.C: tiny clean
7375 * undo_funcs.C: document undo_frozen
7377 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7379 * counters.C (Counters): add missing algorithm counter.
7381 * text2.C (setCounter): lookup the counter with layouts latexname
7382 instead of by section number.
7383 (setCounter): use a hackish way to lookup the correct enum
7385 a float name->type change
7386 reset enum couners with counter name directly instead of depth value.
7388 * counters.C (Counters): remove the push_backs, change to use the
7389 float type not the float name.
7390 (labelItem): remove unused string, float name->type change
7392 * counters.h: don't include vector, loose the enums and sects vectors
7394 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7396 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7397 (Read): add float->TC_FLOAT to textclassTags
7398 (Read): and handle it in the switch
7399 (readFloat): new function
7401 * FloatList.C (FloatList): comment out the hardcoded float
7404 * lyxlayout.h: ws change.
7406 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7408 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7410 2002-09-03 Angus Leeming <leeming@lyx.org>
7412 * BufferView_pimpl.h: qualified name is not allowed in member
7413 declaration: WorkArea & Pimpl::workarea() const;
7415 * factory.C: added using std::endl directive.
7417 * text3.C: added using std::find and std::vector directives.
7419 2002-08-29 André Pönitz <poenitz@gmx.net>
7422 * text2.C: remove unused member number_of_rows
7425 * BufferView2.C: remove file, move contents to...
7426 * BufferView.C: ... here
7428 * BufferView_pimpl.C:
7429 * factory.C: move more inset creation to factory
7431 * vspace.C: avoid direct usage of LyXText, ws changes
7434 don't provide direct access to WorkArea, use two simple
7435 acessors haveSelction() and workHeight() instead
7438 2002-08-29 John Levon <levon@movementarian.org>
7440 * BufferView_pimpl.C (dispatch): do not continue when
7443 2002-08-28 André Pönitz <poenitz@gmx.net>
7445 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7448 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7450 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7452 * buffer.C: increment LYX_FORMAT to 221
7454 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7455 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7457 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7459 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7461 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7463 * factory.C (createInset): use LyXTextClass::floats
7465 * MenuBackend.C (expandFloatListInsert):
7466 (expandFloatInsert):
7469 * text2.C (setCounter):
7471 * LaTeXFeatures.C (useFloat):
7472 (getFloatDefinitions):
7474 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7476 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7477 floatlist_, with accessor floats().
7479 * FloatList.h: remove global FloatList
7481 2002-08-26 André Pönitz <poenitz@gmx.net>
7483 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7487 * BufferView_pimpl.C:
7488 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7490 2002-08-25 John Levon <levon@movementarian.org>
7492 * LyXAction.C: fix margin note description
7494 2002-08-24 John Levon <levon@movementarian.org>
7498 * bufferview_funcs.C:
7500 * undo_funcs.C: cleanups
7502 * lyxfunc.C: disable CUT/COPY when no selection
7504 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7506 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7507 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7509 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7510 Add backward compatibility to "mono", "gray" and "no".
7512 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7514 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7515 (and file_format >= 200).
7517 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7519 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7521 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7523 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7525 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7527 * BufferView_pimpl.C:
7534 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7535 inset and code to make it work with the paragraph code. The inset
7536 can be anywhere in the paragraph, but will only do the expected
7537 thing in LaTeX if the layout file contains the parameter line
7539 (or more generally, a nonzero value) for that layout.
7541 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7543 * paragraph.h: remove the declaration of undefined counters class
7546 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7548 * text2.C (setCounter): fixed enumeration mis-count as reported by
7549 Dr. Richard Hawkins.
7551 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7553 * paragraph_funcs.h: remove some unneeded includes
7555 * text.C (backspace): pasteParagraph now in global scipe
7557 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7558 (pasteSelection): ditto
7560 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7561 * paragraph_funcs.C (pasteParagraph): ... here
7563 2002-08-20 André Pönitz <poenitz@gmx.net>
7565 * commandtags.h: new LFUNs for swapping/copying table row/colums
7568 * lyxfunc.C: support for new lfuns
7570 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7573 * buffer.[Ch]: remove NO_COMPABILITY stuff
7575 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7577 * boost.C (throw_exception): new file, with helper function for
7578 boost compiled without exceptions.
7583 * ParameterStruct.h:
7584 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7586 * bufferlist.C (emergencyWriteAll): use boost bind
7588 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7590 * text.C: include paragraph_funcs.h
7591 (breakParagraph): breakParagraph is now in global scope
7593 * paragraph_funcs.[Ch]: new files
7595 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7598 * buffer.C: include paragraph_funcs.h
7599 (insertStringAsLines): breakParagraph is now in global scope
7601 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7604 * CutAndPaste.C: include paragraph_funcs.h
7605 (cutSelection): breakParagraphConservative is now in global scope
7606 (pasteSelection): ditto
7608 * buffer.h: declare oprator== and operator!= for
7609 Buffer::inset_iterator
7611 * bufferlist.C (emergencyWrite): don't use fmt(...)
7613 * text3.C: add using std::endl
7615 * BufferView.C (moveCursorUpdate): remove default arg
7617 2002-08-20 André Pönitz <poenitz@gmx.net>
7619 * buffer.[Ch]: move inline functions to .C
7622 * BufferView_pimpl.C:
7624 * buffer.[Ch]: use improved inset_iterator
7627 * paragraph.[Ch]: write one paragraph at a time
7629 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7631 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7632 style if style is not specified.
7634 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7636 * text2.C (setCounter): when searching for right label for a
7637 caption, make sure to recurse to parent insets (so that a caption
7638 in a minipage in a figure float works) (bug #568)
7640 2002-08-20 André Pönitz <poenitz@gmx.net>
7642 * text3.C: new file for LyXText::dispatch() and helpers
7644 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7646 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7648 2002-08-19 André Pönitz <poenitz@gmx.net>
7651 * text.C: new LyXText::dispatch()
7653 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7655 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7657 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7659 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7662 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7664 * Makefile.am: use $(variables) instead of @substitutions@
7666 2002-08-15 André Pönitz <poenitz@gmx.net>
7669 * BufferView_pimpl.C: streamlining mathed <-> outer world
7673 * LyXAction.C: remove unused LFUN_MATH
7675 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7677 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7679 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7681 * paragraph.C (Paragraph): reformat a bit
7682 (cutIntoMinibuffer): use builtin InsetList function instad of
7686 * buffer.C: include boost/bind.hpp, add using std::for_each
7687 (writeFileAscii): use ParagraphList iterators
7688 (validate): use for_each for validate traversal of paragraphs
7689 (getBibkeyList): use ParagraphList iterators
7690 (resizeInsets): use for_each to resizeInsetsLyXText for all
7692 (getParFromID): use ParagraphList iterators
7694 * BufferView2.C (lockInset): use paragraph list and iterators
7696 2002-08-14 John Levon <levon@movementarian.org>
7698 * lyxserver.C: remove spurious xforms include
7700 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7702 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7704 2002-08-13 André Pönitz <poenitz@gmx.net>
7707 * lyxfunc.C: further cleaning
7709 2002-08-13 André Pönitz <poenitz@gmx.net>
7711 * funcrequest.h: new constructor
7713 * funcrequest.C: move stuff here from .h
7716 * BufferView_pimpl.C:
7719 * lyxfunc.C: subsequent changes
7721 * lyxfunc.h: new view() member function
7723 * lyxfunc.C: subsequent changes
7725 2002-08-13 Angus Leeming <leeming@lyx.org>
7728 * BufferView_pimpl.C:
7736 changes due to the changed LyXView interface that now returns references
7737 to member variables not pointers.
7739 2002-08-13 Angus Leeming <leeming@lyx.org>
7741 * WordLangTuple (word, lang_code): return references to strings,
7746 * lyxtext.h: forward-declare WordLangTuple.
7751 * text.C: #include "WordLangTuple.h".
7754 * text.C: (selectNextWordToSpellcheck): constify return type.
7756 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7762 * paragraph_pimpl.h:
7765 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7767 Made updateCounter always count from start of buffer, and removed
7768 second argument (par).
7769 Reverted floats number display to '#'. Perhaps I'll try again when the
7770 code base is sanitized a bit.
7772 2002-08-12 Angus Leeming <leeming@lyx.org>
7774 * buffer.[Ch] (getLabelList): constify.
7776 2002-08-07 André Pönitz <poenitz@gmx.net>
7778 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7780 * funcrequest.h: extension to keep mouse (x,y) position
7782 2002-08-12 Juergen Vigna <jug@sad.it>
7784 * BufferView2.C (insertErrors): forbid undo when inserting error
7787 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7789 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7791 * ParagraphList.[Ch]: new files
7793 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7795 * BufferView2.C (lockInset): ParagraphList changes
7798 * bufferlist.C: ditto
7802 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7804 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7805 unused class variable counter_,
7807 * paragraph.[Ch] (getFirstCounter): delete unused function
7809 * counters.C: include LAssert.h
7810 (reset): add a new function with no arg, change other version to
7811 not have def. arg and to not allow empty arg.
7813 * text2.C (setCounter): remove empty arg from call to Counters::reset
7815 2002-08-11 John Levon <levon@movementarian.org>
7817 * Makefile.am: add WordLangTuple.h
7819 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7821 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7822 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7824 * insets/insettext.C: InsetList changes
7826 * graphics/GraphicsSupport.C (operator()): InsetList changes
7828 * toc.C (getTocList): InsetList changes
7830 * paragraph_pimpl.[Ch]: InsetList changes
7832 * paragraph.[Ch]: InsetList changes
7834 * buffer.C (inset_iterator): InsetList changes
7835 (setParagraph): ditto
7836 * buffer.h (inset_iterator): ditto
7837 * iterators.C (operator++): ditto
7838 * iterators.h: ditto
7840 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7842 * InsetList.[Ch]: new files, most InsetList handling moved out of
7845 * BufferView2.C (removeAutoInsets): InsetList changes
7847 (ChangeInsets): ditto
7849 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7851 * paragraph_pimpl.h (empty): new function
7853 * paragraph.[Ch] (empty): new function
7855 * other files: use the new Paragraph::empty function
7857 2002-08-09 John Levon <levon@movementarian.org>
7859 * lyxtext.h: remove unused refresh_height
7861 2002-08-09 John Levon <levon@movementarian.org>
7868 * paragraph.C: move sgml char escaping out of paragraph
7871 * paragraph.C: remove id setter
7875 * paragraph_pimpl.C: remove dead tex_code_break_column
7877 * bufferview_funcs.C: small cleanup
7879 * lyxfunc.C: remove dead proto
7881 * lyxtext.h: make some stuff private. Remove some dead stuff.
7883 * lyxgluelength.C: make as[LyX]String() readable
7885 2002-08-08 John Levon <levon@movementarian.org>
7890 * ToolbarDefaults.C:
7893 * toc.C: lyxaction cleanup
7895 2002-08-08 John Levon <levon@movementarian.org>
7897 * BufferView2.C: small cleanup
7900 * lyxfind.C: move unnecessary header into the .C
7902 2002-08-08 John Levon <levon@movementarian.org>
7904 * funcrequest.h: just tedious nonsense
7907 * lyx_main.C: cleanups
7910 * vspace.C: remove dead header lyx_main.h
7912 2002-08-07 Angus Leeming <leeming@lyx.org>
7915 * paragraph_pimpl.h:
7916 Forward declare class Counters in paragraph.h by moving the ctrs member
7917 variable into Paragraph::Pimpl.
7918 (counters): new method, returning a reference to pimpl_->ctrs.
7920 * text2.C: ensuing changes.
7922 2002-08-07 John Levon <levon@movementarian.org>
7924 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7926 * BufferView_pimpl.C: announce X selection on double/triple
7929 * lyx_main.C: use correct bool in batch dispatch
7931 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7933 2002-08-07 André Pönitz <poenitz@gmx.net>
7935 * funcrequest.h: new class to wrap a kb_action and its argument
7938 * BufferView_pimpl[Ch]:
7942 * lyxrc.C: subsequent changes
7945 2002-08-07 John Levon <levon@movementarian.org>
7947 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7948 document options change.
7950 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7955 * makefile.am: move counters functionality over from
7956 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7958 2002-08-06 John Levon <levon@movementarian.org>
7960 * WordLangTuple.h: new file for word + language code tuple
7971 * BufferView2.C: use WordLangTuple
7974 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7976 2002-08-06 John Levon <levon@movementarian.org>
7978 * lyx_main.C: fix cmdline batch handling
7980 2002-08-06 André Pönitz <poenitz@gmx.net>
7982 * lyxrc.C: set default for show_banner to true
7984 2002-08-06 John Levon <levon@movementarian.org>
7986 * pspell.C: fix a crash, and allow new aspell to work
7988 2002-08-06 John Levon <levon@movementarian.org>
7991 * kbmap.C: small cleanup
7994 * vspace.C: add const
7996 2002-08-05 John Levon <levon@movementarian.org>
7998 * LyXAction.C: back to tabular-insert
8000 2002-08-04 John Levon <levon@movementarian.org>
8003 * BufferView.C: cosmetic change
8005 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8015 * BufferView2.C: purge all "Lyx" not "LyX" strings
8018 * lyxcursor.C: attempt to add some documentation
8023 * ToolbarDefaults.C:
8024 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8025 merge with LFUN_TABULAR_INSERT
8032 * pspell.C: split up i/pspell implementations into separate
8033 files, many cleanups
8035 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8037 * text2.C: some cleanup
8039 * lyxfunc.C: don't check for isp_command == "none" any more, it
8040 didn't make any sense
8042 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8047 * makefile.am: move counters functionality over
8048 from text2.C/paragraph.[Ch] to counters.[Ch], and
8050 2002-08-02 John Levon <levon@movementarian.org>
8052 * buffer.C: s/lyxconvert/lyx2lyx/
8054 2002-08-02 Angus Leeming <leeming@lyx.org>
8056 * lyxlex.C: revert John's change as it breaks reading of the user
8059 2002-08-02 Angus Leeming <leeming@lyx.org>
8061 * importer.C (Import):
8062 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8063 changes due to LyXView::view() now returning a boost::shared_ptr.
8065 2002-08-02 John Levon <levon@movementarian.org>
8067 * lyxlex.C: small cleanup
8069 2002-08-02 John Levon <levon@movementarian.org>
8071 * text2.C (status): small cleanup, no logic change
8073 2002-08-01 John Levon <levon@movementarian.org>
8076 * buffer.C (writeFile): don't output alerts, caller
8080 * lyx_cb.C: from above
8082 * lyxfunc.C: allow to open non-existent files
8084 2002-07-31 John Levon <levon@movementarian.org>
8086 * lyxserver.C: don't let incidental errors get
8089 2002-07-30 John Levon <levon@movementarian.org>
8091 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8093 2002-07-30 John Levon <levon@movementarian.org>
8096 * lyxserver.C: remove I/O callback too
8098 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8100 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8103 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8105 * many files: strip,frontStrip -> trim,ltrim,rtrim
8107 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8109 * PrinterParams.h: remove extern containsOnly, and include
8110 support/lstrings.h instead.
8112 * LaTeX.C (scanAuxFile): modify because of strip changes
8114 * buffer.C (makeLaTeXFile): ditto
8115 * bufferparams.C (writeFile): ditt
8116 * lyxfont.C (stateText): ditto
8117 * lyxserver.C (read_ready): ditto
8118 * vc-backend.C (scanMaster): ditto
8120 * BufferView_pimpl.h: ws changes
8122 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8124 2002-07-26 André Pönitz <poenitz@gmx.net>
8126 * kb_sequence.C: remove unnedred usings
8128 2002-07-26 Juergen Vigna <jug@sad.it>
8130 * lyxfind.C (LyXReplace): we have to check better if the returned
8131 text is not of theLockingInset()->getLockingInset().
8133 2002-07-25 Juergen Vigna <jug@sad.it>
8135 * lyxfind.C (LyXReplace): don't replace if we don't get the
8138 * undo_funcs.C (createUndo): remove debugging code.
8140 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8142 * buffer.C (parseSingleLyXformat2Token): Use default placement
8143 when reading old floats.
8145 * FloatList.C (FloatList): Change the default placement of figure
8146 and tables to "tbp".
8148 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8150 * MenuBackend.C: using std::max
8152 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8154 * MenuBackend.C (expandToc):
8155 (expandToc2): code moved from xforms menu frontend. It is now
8156 generic and TOCs are transparent to menu frontends.
8158 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8160 * toc.C (getTocList): protect against buf=0
8162 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8163 Menu as first parameter. Now, this calls itself recursively to
8164 expand a whole tree (this will be useful for TOC handling)
8165 (expandFloatInsert): remove 'wide' version of floats
8167 * MenuBackend.h (submenuname): returns the name of the submenu.
8168 (submenu): returns the submenu itself, provided it has been
8169 created by MenuBackend::expand
8171 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8173 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8174 insets which have noFontChange == true. (bug #172)
8176 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8178 * BufferView_pimpl.C: add connection objects and use them...
8181 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8183 * MenuBackend.C (expandLastfiles):
8186 (expandFloatListInsert):
8187 (expandFloatInsert):
8188 (expand): split expand in parts
8190 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8192 * lyx_gui.C: use lyx_gui::exit()
8194 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8196 * LyXAction.C: show the failing pseudo action
8198 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8200 * buffer.C (readFile): Run the lyxconvert script in order to read
8203 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8207 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8209 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8213 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8215 2002-07-22 Herbert Voss <voss@lyx.org>
8218 * lyxlength.[Ch]: add support for the vertical lengths
8220 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8222 * toc.[Ch]: std:: fixes
8224 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8226 * lyxrc.C: do not include lyx_main.h
8228 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8234 * BufferView2.C: include "lyxlex.h"
8237 * bufferparams.h: do not #include "lyxlex.h"
8239 * lyxtextclasslist.C (Add): remove method
8240 (classlist): renamed to classlist_
8242 * paragraph_pimpl.C:
8246 * bufferview_funcs.C:
8251 * toc.C (getTocList): use BufferParams::getLyXTextClass
8253 * toc.C (getTocList): use InsetFloat::addToToc
8255 * toc.[Ch]: new files, containing helper functions to handle table
8258 * lyxfunc.C (dispatch): no need to remove spaces around command
8260 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8261 first command of the sequence; it is not very clever, but I do not
8262 have a better idea, actually
8264 * LyXAction.C (LookupFunc): make sure to remove space at the
8265 beginning and end of the command
8267 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8269 * MenuBackend.C (getMenubar): new method: return the menubar of
8271 (read): treat differently reading of menu and menubar (in
8272 particular, the menubar has no name now)
8273 (Menu::menubar): remove
8275 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8278 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8280 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8281 a bibitem inset in a RTL paragraph.
8283 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8285 * paragraph_pimpl.C: constify
8287 * BufferView_pimpl.C:
8289 * lyxfunc.C: fix dispatch in a nicer way
8291 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8293 * lyxfunc.C (dispatch):
8294 * BufferView_pimpl.C:
8295 * BufferView_pimpl.h:
8297 * BufferView.h: rename Dispatch() to dispatch()
8299 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8301 * lyxlayout.C (Read): honor DependsOn tag
8303 * lyxlayout.[Ch] (depends_on): new method
8305 * version.C.in: update lyx_docversion
8307 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8309 * paragraph.C (validate): remove from here...
8310 * paragraph_pimpl.C (validate): ... and move here
8311 (isTextAt): make it const
8313 * buffer.C (getLists): ws cleanup
8315 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8317 * language.C (read): Use iso8859-1 encoding in latex_lang
8318 (this prevents LyX from crashing when using iso10646-1 encoding).
8320 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8322 * text2.C (toggleInset): if cursor is inside an inset, close the
8323 inset and leave cursor _after_ it
8325 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8327 * lyxfunc.C: move minibuffer completion handling out of here
8329 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8331 * BufferView_pimpl.C:
8332 * LaTeX.C: fix dispatch calls
8334 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8336 * text.C (drawChars): Fix Arabic text rendering.
8338 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8342 * lyxfunc.C: remove message-push/pop
8346 * lyxfunc.C: rationalise some code by removing verboseDispatch
8347 in favour of a bool argument to dispatch()
8349 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8351 * lyx_main.C (init): make sure to read symlinks as absolute paths
8353 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8356 * lyxfunc.C: no need for commandshortcut to be a member
8358 2002-07-15 André Pönitz <poenitz@gmx.net>
8360 * converter.C: add support for $$s (scripts from lib/scripts dir)
8361 * lyx_main.C: white space
8363 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8367 * lyxrc.C: remove second exit confirmation
8369 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8374 * BufferView_pimpl.h:
8375 * BufferView_pimpl.C:
8376 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8378 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8380 * MenuBackend.C (expand): add numeric shortcuts to document menu
8382 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8384 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8386 * lyxfont.C (setLyXFamily):
8393 * buffer.C (asciiParagraph): use ascii_lowercase
8395 2002-07-15 Mike Fabian <mfabian@suse.de>
8397 * lyxlex_pimpl.C (search_kw):
8398 * lyxlex.C (getLongString):
8399 * converter.h (operator<):
8400 * converter.C (operator<):
8401 * buffer.C (parseSingleLyXformat2Token):
8403 * ToolbarDefaults.C (read):
8404 * MenuBackend.C (checkShortcuts):
8406 * LColor.C (getFromGUIName):
8407 (getFromLyXName): use the compare_ascii_no_case instead of
8408 compare_no_case, because in turkish, 'i' is not the lowercase
8409 version of 'I', and thus turkish locale breaks parsing of tags.
8411 2002-07-16 Angus Leeming <leeming@lyx.org>
8413 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8414 now takes a Buffer const & argument.
8416 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8418 * BufferView.C (resize): check there's a buffer to resize
8420 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8422 * lyxfunc.C: remove dead code
8425 * lyxserver.C: use lyx_guii::set_read_callback
8427 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8429 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8430 an inset in a RTL paragraph.
8432 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8434 * lyxfunc.C: repaint after a font size update
8436 2002-07-15 André Pönitz <poenitz@gmx.net>
8438 * lyxlength.C: inBP should be able to return negative values
8440 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8442 * lyxfunc.C: use lyx_gui::update_fonts()
8444 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8446 * lyxfunc.C: use lyx_gui::update_color()
8448 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8454 * lyxrc.C: remove file->new asks for name option, and let
8455 buffer-new take an argument
8457 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8459 * BufferView_pimpl.C: remove unneeded extra repaint()
8461 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8463 * LyXAction.C: allow command-sequence with NoBuffer
8465 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8467 2002-07-10 Angus Leeming <leeming@lyx.org>
8469 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8471 2002-07-09 Angus Leeming <leeming@lyx.org>
8473 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8475 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8477 * lengthcommon.h: whitespace
8479 * lyxfunc.C: update scrollbar after goto paragraph
8481 * lyxtext.h: factor out page break drawing, and fix it so
8482 page break/added space paints as selected nicely
8484 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8486 * BufferView_pimpl.C: add FIXMEs, clean up a little
8488 2002-07-09 André Pönitz <poenitz@gmx.net>
8490 * lyxfont.[Ch]: support for wasy symbols
8492 2002-07-08 André Pönitz <poenitz@gmx.net>
8494 * BufferView_pimpl.C: apply John's patch for #93.
8496 2002-07-05 Angus Leeming <leeming@lyx.org>
8498 * BufferView_pimpl.C (buffer): generate previews if desired.
8500 * LColor.h: add "preview" to the color enum.
8502 * LColor.C (LColor): add a corresponding entry to the items array.
8504 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8507 2002-07-05 Angus Leeming <leeming@lyx.org>
8509 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8510 The body of the code is now in the method that is passed an ostream &
8511 rather than a file name.
8512 Pass an additional only_preamble parameter, useful for the forthcoming
8515 2002-07-03 André Pönitz <poenitz@gmx.net>
8517 * lyxfunc.C: simplify getStatus() a bit for math stuff
8519 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8521 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8523 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8525 * text.C (changeRegionCase): do not change case of all the
8526 document when region ends at paragraph end (bug #461)
8528 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8530 * paragraph.C (startTeXParParams):
8531 (endTeXParParams): add \protect when necessary
8533 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8535 * BufferView_pimpl.C (workAreaExpose): remove warning
8537 2002-06-27 Angus Leeming <leeming@lyx.org>
8539 * Makefile.am: add lyxlayout_ptr_fwd.h.
8541 2002-06-26 André Pönitz <poenitz@gmx.net>
8543 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8545 2002-06-25 Angus Leeming <leeming@lyx.org>
8547 * lyxfunc.C (dispatch): Comment out the call to
8548 grfx::GCache::changeDisplay. The method no longer exists now that the
8549 pixmap generation part of the graphics loader has been moved into
8552 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8554 * text2.C: layout as layout
8556 * text.C: layout as layout
8558 * tabular.C (OldFormatRead): layout as layout
8560 * paragraph_pimpl.C (TeXDeeper): layout as layout
8561 (realizeFont): layout as layout
8563 * paragraph.C (writeFile): layout as layout
8564 (validate): layout as layout
8565 (getFont): layout as layout
8566 (getLabelFont): layout as layout
8567 (getLayoutFont): layout as layout
8568 (breakParagraph): layout as layout
8569 (stripLeadingSpaces): layout as layout
8570 (getEndLabel): layout as layout
8571 (getMaxDepthAfter): layout as layout
8572 (applyLayout): layout as layout
8573 (TeXOnePar): layout as layout
8574 (simpleTeXOnePar): layout as layout
8575 (TeXEnvironment): layout as layout
8576 (layout): layout as layout
8577 (layout): layout as layout
8579 * lyxtextclass.C (compare_name): new functor to work with
8580 shared_ptr, layout as layout
8581 (Read): layout as layout
8582 (hasLayout): layout as layout
8583 (operator): layout as layout
8584 (delete_layout): layout as layout
8585 (defaultLayout): layout as layout
8587 * lyxlayout_ptr_fwd.h: new file
8589 * lyxlayout.C (Read): layout as layout
8591 * lyx_cb.C (MenuInsertLabel): layout as layout
8593 * bufferlist.C (newFile): layout as layout
8595 * buffer.C (readLyXformat2): layout as layout
8596 (parseSingleLyXformat2Token): layout as layout
8597 (insertStringAsLines): layout as layout
8598 (asciiParagraph): layout as layout
8599 (latexParagraphs): layout as layout
8600 (makeLinuxDocFile): layout as layout
8601 (simpleLinuxDocOnePar): layout as layout
8602 (makeDocBookFile): layout as layout
8603 (simpleDocBookOnePar): layout as layout
8604 (getLists): layout as layout
8606 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8608 * CutAndPaste.C (cutSelection): layout as layout
8609 (pasteSelection): layout as layout
8610 (SwitchLayoutsBetweenClasses): layout as layout
8612 * BufferView_pimpl.C (Dispatch): layout as layout
8613 (smartQuote): layout as layout
8615 * BufferView2.C (unlockInset): layout as layout
8617 2002-06-24 André Pönitz <poenitz@gmx.net>
8619 * lyxfunc.C: fix #487
8621 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8625 * lyxfunc.C: remove display_shortcuts, show_banner
8627 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8629 * Buffer_pimpl.C: oops, update on resize
8631 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8638 * BufferView.C: use repaint()
8640 * BufferView_pimpl.h:
8641 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8642 as it's a clearer description. Remove superfluous
8645 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8647 * text.C: fix bug 488. Not ideal, but getting
8648 getWord() to work properly for the insets that
8649 matter is more difficult ...
8651 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8653 * BufferView_pimpl.C:
8656 * lyxfunc.C: remove the six million index lyxfuncs to just
8657 one, and DTRT (bug 458)
8659 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8663 * BufferView_pimpl.h:
8664 * BufferView_pimpl.C: clean up resize() stuff,
8665 and unnecessary updateScreen()s
8667 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8671 * BufferView_pimpl.h:
8672 * BufferView_pimpl.C:
8675 * minibuffer.C: remove focus management of workarea,
8676 not needed. Use screen's greyOut()
8678 2002-06-17 Herbert Voss <voss@lyx.org>
8680 * converter.C: (convert) do not post a message, when converting
8681 fails, let the calling function decide what to do in this case
8683 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8685 * lyxfunc.C: tidy up a little
8687 2002-06-16 <alstrup@diku.dk>
8689 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8690 Got rid of FORMS_H_LOCATION include. Now we are
8693 2002-06-15 LyX Development team <lyx@rilke>
8695 * buffer.[Ch] (sgmlOpenTag):
8696 (sgmlCloseTag): Added support for avoiding pernicious mixed
8697 content. Return number of lines written.
8700 (makeDocBookFile): Fixed calls to sgml*Tag.
8701 Simple white space clean.
8703 (simpleDocBookOnePar): Simple white space clean.
8705 * tabular.[Ch] (docBook): Renamed to docbook and got another
8706 argument to related with the pernicious mixed content.
8708 (docbookRow): Fixed calls for docbook inset method.
8710 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8712 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8713 so it's X11 independent.
8717 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8719 2002-06-15 Lyx Development team <lyx@electronia>
8721 * intl.h: Renamed getTrans to getTransManager.
8723 2002-06-14 Angus Leeming <leeming@lyx.org>
8725 * Makefile.am: nuke forgotten stl_string_fwd.h.
8727 2002-06-12 Angus Leeming <leeming@lyx.org>
8729 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8731 2002-06-13 Angus Leeming <leeming@lyx.org>
8734 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8736 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8738 * kbmap.C (getiso): add support for cyrillic and greek
8740 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8744 * BufferView_pimpl.h:
8745 * BufferView_pimpl.C: move bogus scrolling logic
8748 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8751 * BufferView_pimpl.C: view->resize() change
8753 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8755 * BufferView_pimpl.C: topCursorVisible
8758 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8762 * lyx_gui.C: move to frontends/
8766 * lyx_main.C: changes from above
8768 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8775 * lyx_main.C: minor tidy
8777 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8779 * BufferView_pimpl.h:
8780 * BufferView_pimpl.C:
8782 * BufferView.C: make painter() const,
8785 * BufferView2.C: use screen() accessor
8788 * lyx_main.C: some minor cleanup
8790 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8792 * BufferView_pimpl.h:
8793 * BufferView_pimpl.C: remove enter/leaveView,
8796 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8801 * BufferView_pimpl.h:
8802 * BufferView_pimpl.C: only construct screen once,
8805 * lyxrc.C: remove pointless comment
8807 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8810 * BufferView.C: remove active() and belowMouse()
8812 * BufferView_pimpl.h:
8813 * BufferView_pimpl.C: use workarea() not workarea_,
8814 and make it use a scoped_ptr instead
8816 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8818 * lyx_gui.C: add debug message on BadWindow
8820 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8822 * sp_spell.C: fdopen is not part of the C++ standard.
8824 * paragraph.C (InsetIterator): use >= instead of ==
8826 2002-06-07 Angus Leeming <leeming@lyx.org>
8828 Fixes needed to compile with Compaq cxx 6.5.
8829 * BufferView_pimpl.C:
8836 * lyxtextclasslist.C:
8841 all c-library variables have been moved into namespace std. Wrap
8842 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8847 Add a using std::abs declaration.
8849 * kbmap.h (modifier_pair):
8850 * paragraph.h (InsetTable, InsetList):
8851 * lyxfont.h (FontBits):
8852 type definition made public.
8854 * bufferlist.C (emergencyWriteAll): the compiler complains that
8855 there is more than one possible lyx::class_fun template to choose from.
8856 I re-named the void specialisation as lyx::void_class_fun.
8858 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8860 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8861 the compiler is is unable to find tostr in write_attribute.
8863 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8865 * buffer.C (sgmlError): hide #warning
8867 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8869 * xtl/*: get rid of xtl, which is not in use anyway
8871 * LyXAction.C (init):
8872 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8873 were unimplemented xtl experimentation
8875 2002-06-04 André Pönitz <poenitz@gmx.net>
8877 * lyxfunc.C: disable array operation on simple formulae
8879 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8881 * converter.C: constify a bit
8883 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8885 * lyx_gui.C: check xforms version correctly
8887 2002-04-30 Herbert Voss <voss@lyx.org>
8889 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8892 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8894 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8895 attempt to register it with a VCS)
8897 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8899 * lyx_main.C (init): honor variables LYX_DIR_13x and
8902 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8906 * lyx_main.C: fix a crash on bad command line,
8907 and give a useful exit status on error
8909 * lyxfunc.C (doImport): allow -i lyx to work
8911 2002-03-30 André Pönitz <poenitz@gmx.net>
8913 * lyxfunc.C: mathed font changes
8915 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8930 * trans_mgr.h: srcdocs, and some minor cleanups
8932 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8934 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8935 call getFont all the time)
8937 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8939 * switch from SigC signals to boost::signals
8941 2002-05-29 André Pönitz <poenitz@gmx.net>
8943 * paragraph_pimpl.C (getChar): don't call size() too often...
8945 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8947 * paragraph_pimpl.C (insertChar): do not try to update tables when
8948 appending (pos == size())
8950 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8951 in order to reduce drastically the number of comparisons needed to
8952 parse a large document
8954 2002-05-29 André Pönitz <poenitz@gmx.net>
8960 * textclasslist.[Ch]:
8961 * sp_ispell.h: whitespace change
8963 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8965 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8966 lyxaction directly now.
8968 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8972 * lyxvc.C: remove unused headers
8974 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8981 * undo_funcs.C: some cleanups. Use shared_ptr
8982 and a template for the undo stacks.
8984 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8986 * BufferView_pimpl.h:
8987 * BufferView_pimpl.C:
8994 * text2.C: use key_state/mouse_state
8996 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8998 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9001 * chset.C: change include order
9002 (loadFile): use boost regex and get rid of LRegex and LSubstring
9004 * Makefile.am (BOOST_LIBS): new variable
9007 * LaTeX.C: change include order.
9008 (scanAuxFile): use boost regex and get rid of LRegex and
9012 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9017 * FontInfo.C: moved to frontends/xforms/
9020 * FontLoader.C: moved into frontends for GUIIzation
9025 * lyxfunc.C: changes from above
9027 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9029 * LColor.C: remove spurious X include
9031 * BufferView_pimpl.C:
9036 * text2.C: move font metrics to frontends/
9038 2002-05-24 Juergen Vigna <jug@sad.it>
9040 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9041 setting the undo_cursor.
9043 * ParagraphParameters.h: include local includes first.
9045 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9047 * BufferView_pimpl.C:
9048 * BufferView_pimpl.h:
9052 * screen.C: move WorkArea into frontends/
9058 * BufferView2.C: move LyXScreen into frontends/
9062 * lyx_gui.C: move lyxlookup into frontends/xforms/
9064 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9067 * BufferView_pimpl.C:
9077 * bufferview_funcs.C:
9090 * vc-backend.C: move LyX/XFormsView into frontends/
9092 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9104 * text2.C: move Painter to frontends/
9106 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9108 * buffer.C: comment out some some code that depend upon lyx_format
9111 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9112 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9114 * buffer.h (NO_COMPABILITY): turn off compability
9116 * ColorHandler.C: include scoped_array.hpp
9118 * font.C: Use more specific smart_ptr header.
9121 * ShareContainer.h: ditto
9125 * BufferView_pimpl.h: ditto
9126 * ColorHandler.h: ditto
9128 * kbmap.C (defkey): change call to shared_ptr::reset
9130 2002-05-21 Juergen Vigna <jug@sad.it>
9132 * buffer.C (insertErtContents): fix to insert ert asis if it is
9133 non empty. Skip it completely if it contains only whitespaces.
9135 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9137 * BufferView_pimpl.C:
9138 * BufferView2.C: clear selection on paste (bug 393)
9140 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9142 * DepTable.C: include ctime
9144 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9146 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9148 2002-05-14 Juergen Vigna <jug@sad.it>
9150 * text.C (breakParagraph): fixed function to honor the keepempty
9151 layout in the right maner and also to permit the right breaking
9152 algorithm on empty or non empyt keepempty paragraphs.
9154 * paragraph.C (breakParagraph): we have to check also if the par
9155 is really empty (!size()) for isempty otherwise we do the wrong
9158 2002-05-10 Juergen Vigna <jug@sad.it>
9160 * buffer.[Ch] : The following are only changes to the ert
9161 compatibility read reading old LaTeX layout and font stuff and
9162 convert it to ERTInsets.
9164 * buffer.h: added isErtInset().
9166 * buffer.C (struct ErtComp): add a fromlayout bool to check
9167 if we're inside a LaTeX layout.
9168 (isErtInset): new helper function.
9169 (insertErtContents): look for other ert insets before this one
9170 and insert the contents there, so that we don't have subsequent
9171 ERT insets with nothing between them. This way we create only one
9172 inset with multiple paragraphs. Also check if we don't insert only
9173 spaces ' ' as they are ignored anyway afterwards in the .tex file
9174 so if we have only spaces we will ignore this latex part in the
9176 (parseSingleLyXformat2Token \\layout): better compatibility when
9177 reading layout-latex stuff.
9178 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9180 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9181 stuff after reading the inset only get the information back from
9184 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9186 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9188 * LaTeXFeatures.C (getBabelOptions): New method.
9190 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9192 * BufferView_pimpl.C (Dispatch): work around missing argument for
9195 2002-05-08 Juergen Vigna <jug@sad.it>
9197 * text.C (leftMargin): handle paragraph leftindent.
9199 * paragraph.C (writeFile): write the new \\leftindent tag.
9200 (validate): handle leftindent code.
9201 (TeXEnvironment): handle paragraphleftindent code again.
9203 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9205 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9206 for paragrap_extra indent code and new token \\leftindent.
9207 (latexParagraphs): handle the leftindent as environment.
9209 * ParameterStruct.h: added leftindent support.
9211 * ParagraphParameters.C (leftIndent): added support functions for
9212 the paragraph left indent.
9214 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9217 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9219 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9222 * text.C (computeBidiTables): No bidi in insetERT.
9224 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9227 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9229 * version.C.in: pre 5
9231 2002-05-02 José Matos <jamatos@fep.up.pt>
9232 * buffer.C (makeDocBookFile): white space changes, add newline to
9234 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9236 * tabular.C (docBook): fix typo.
9238 2002-05-03 Juergen Vigna <jug@sad.it>
9240 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9241 change in LyXText as we can not be sure it was not freed.
9242 (drawOneRow): remove unused code.
9244 * text.C (drawInset): redo the calculation of the need_break_row as
9245 it could have a row which was already freed.
9246 (draw): look at the return value of drawInset and return false if
9247 it also returned false.
9248 (paintRowText): look at the return value of draw and return false if
9249 it also returned false.
9251 * lyxtext.h: added bool return type to drawInset() and draw() so that
9252 if we have a change in the row so that the rowbreak has to be redone
9253 we abort drawing as it will be called again.
9255 2002-05-02 Juergen Vigna <jug@sad.it>
9257 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9258 a change in the maintext also if we're inside an inset.
9259 (Dispatch): set the cursor again after a break line and after the
9260 screen has been updated as it could be we're in a different row.
9262 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9263 to set the cursor behind the pargraph with > size().
9264 (setCursor): check also for the same paragraph when checking where
9265 to put the cursor if we have a NFR inset.
9267 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9268 parts of layout read further up as it still was in the wrong
9271 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9273 * screen.C (drawFromTo): change sine fullRebreak always return
9276 * buffer.C (parseSingleLyXformat2Token): reindent some
9278 * BufferView_pimpl.C (update): change since fullRebreak always
9280 (Dispatch): git rid of the last hardcoded "Standard"s.
9282 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9284 * text2.[Ch] (fullRebreak): make it return void now that we always
9287 2002-04-30 Juergen Vigna <jug@sad.it>
9289 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9290 ert compatibility check for "latex" layout.
9292 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9294 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9295 minipages: use col% instead of p%, and also use the current font.
9296 (makeLaTeXFile): Fix use babel condition.
9297 (parseSingleLyXformat2Token): Correct font when reading old floats.
9299 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9301 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9302 inserting list of floats.
9304 2002-04-25 Herbert Voss <voss@lyx.org>
9306 * MenuBackend.C (expand): don't add the graphics extensions to the
9309 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9311 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9312 non-existing layout, do not complain if it was the default layout
9313 of the original class (bug #342)
9315 2002-04-24 Juergen Vigna <jug@sad.it>
9317 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9318 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9320 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9322 * buffer.C (getBibkeyList): If using \bibliography, return the
9323 option field with the reference itself. Enables us to provide natbib
9324 support when using \bibliography.
9326 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9328 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9330 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9331 natbib is provided by the LaTeX class.
9333 2002-04-23 Juergen Vigna <jug@sad.it>
9335 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9338 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9340 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9342 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9344 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9345 ensuremath around textordmasculine, textordfeminine and
9348 2002-04-19 Juergen Vigna <jug@sad.it>
9350 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9351 reinitializing the buffer otherwise row-dimensions may be wrong.
9352 (update): reset also the selection cursors if they do exits otherwise
9353 their x/y positions may be wrong.
9355 * text2.C (cursorDown): don't enter the inset if we came from a row
9356 above and are one row over the inset.
9358 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9359 really leaving an inset.
9361 2002-04-18 Juergen Vigna <jug@sad.it>
9363 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9364 of the selected paragraph does not have the selected layout also if
9367 * text2.C (setLayout): fixed bug which did not change last selected
9370 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9371 changed the read and substituted \\end_float with \\end_inset!
9373 * BufferView_pimpl.C (cursorPrevious):
9374 (cursorNext): fixed to make it work with rows heigher than the work
9375 area without moving the cursor only the draw of the row.
9376 (workAreaMotionNotify): fix jumping over high rows.
9378 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9380 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9383 2002-04-16 Juergen Vigna <jug@sad.it>
9385 * text2.C (setCursor): set also the irow().
9386 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9388 (cursorDown): support for locking an inset if the x_fix value goes
9389 inside it. That way I can transverse insets too with cursor up/down.
9391 * lyxrow.h: added irow helper function same as other (i) functions.
9393 * BufferView_pimpl.C (cursorPrevious):
9394 (cursorNext): fixed for insets!
9396 2002-04-15 Juergen Vigna <jug@sad.it>
9398 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9399 position otherwise it is wrong in some cases.
9401 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9402 inside the inset before the call.
9404 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9406 * buffer.[Ch] (getBibkeyList): make it const.
9408 2002-04-12 Juergen Vigna <jug@sad.it>
9410 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9412 * text2.C (getCursorX): new helper function
9413 (setCursor): compute also ix_
9414 (setCursorFromCoordinates): set also ix.
9416 * lyxcursor.h: added ix_ and helper functions.
9418 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9420 * buffer.C (insertStringAsLines): dont break paragraph if the this
9421 paragraph is inside an inset which does not permit it!
9423 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9424 also with no chars on this paragraph.
9425 (paintRowText): only paint stuff if it's inside the workarea!
9427 * paragraph.C (breakParagraph): honor keepempty flag and break the
9428 paragraph always below not above.
9430 * BufferView2.C (unlockInset): update the paragraph layout on inset
9431 unlock as we changed paragraph in such a case.
9433 * lyxfind.C (LyXFind): clear the former selection if not found!
9435 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9436 again called in insertChar().
9438 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9439 an inset which uses the whole row!
9440 (rightMargin): ditto.
9441 (insertChar): force a rebreak if we inserted an inset!
9443 2002-03-28 Herbert Voss <voss@lyx.org>
9445 * lyxlength.[Ch]: add inBP() to get the right PS-point
9446 units (BigPoint). With inPixels we have rounding errors
9448 2002-04-11 Juergen Vigna <jug@sad.it>
9450 * text2.C (setCursorFromCoordinates): set iy to the right value.
9451 (setCursor): add check if row->previous exists!
9453 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9454 an old float_type as this was the case in the old code!
9456 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9458 * BufferView2.C (showLockedInsetCursor): use iy
9459 (fitLockedInsetCursor): ditto
9461 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9462 locked insets as there we have the right value now.
9464 * lyxcursor.C: added iy_ variable and iy functions to set to the
9465 baseline of cursor-y of the locked inset.
9467 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9468 (setCursor): fixed for insets which need a full row.
9470 * text.C (rowLastPrintable): don't ignore the last space when before
9471 an inset which needs a full row.
9472 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9473 as last character of a row when before a inset which needs a full row.
9475 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9477 * version.C.in: update date
9479 * text2.C (fullRebreak): try to always return true and see what
9482 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9484 * MenuBackend.C (expand): use Floating::listName
9486 * FloatList.C (FloatList): add listName argument to the built-in
9489 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9490 text associated with the float.
9492 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9494 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9496 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9498 * ShareContainer.h: add a couple of missing typenames.
9500 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9502 * lyxrc.C (getDescription): use _() correctly rather than N_().
9504 2002-03-28 Herbert Voss <voss@lyx.org>
9506 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9507 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9509 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9511 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9512 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9514 2002-03-29 Juergen Vigna <jug@sad.it>
9516 * lyxfunc.C (dispatch): add a missing fitCursor call.
9518 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9519 it was scrolled by a cursor move, so return the bool status.
9521 * BufferView.C (fitCursor): return the bool flag also to the outside
9522 world as this is needed.
9524 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9526 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9527 call the edit() as it is not needed (and wrong) IMO.
9528 (workAreaButtonPress): set the screen_first variable before evt.
9529 unlock the inset as this may change screen_first and then we have
9530 a wrong y position for the click!
9532 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9534 * MenuBackend.C (expand): another translation that I missed
9536 2002-03-28 Juergen Vigna <jug@sad.it>
9538 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9540 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9542 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9544 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9546 * MenuBackend.C (expand): fix export/view/update when there is no
9549 2002-03-27 Herbert Voss <voss@lyx.org>
9551 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9554 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9556 * bufferview_funcs.C (currentState): only show paragraph number
9557 for is DEVEL_VERSION is set.
9559 * lyxfunc.C (dispatch): put warning in INFO channel
9561 * MenuBackend.C (expand): translate the name of floats
9563 * FloatList.C (FloatList): mark the float names for translation
9565 * converter.C (convert): use LibScriptSearch
9567 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9569 * MenuBackend.C (defaults): fix default menu (we might as well get
9572 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9574 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9577 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9579 * lyxvc.C: reorder includes.
9581 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9583 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9586 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9588 * CutAndPaste.C: change layouts earlier on paste
9589 to avoid crashing when calling getFont()
9591 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9593 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9596 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9598 * WorkArea.C: remove 'Pending' debug message.
9600 * most files: ws cleanup
9602 * buffer.[Ch]: ws changes
9604 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9606 2002-03-21 Juergen Vigna <jug@sad.it>
9608 * tabular.C (SetMultiColumn): collapse also the contents of the
9609 cells and set the last border right. Added a Buffer const * param.
9611 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9613 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9616 2002-03-19 Juergen Vigna <jug@sad.it>
9618 * text2.C (clearSelection): reset also xsel_cache.
9620 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9621 where it needs to be called (John tells us to do so too :)
9622 (selectionLost): reset sel_cache.
9624 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9626 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9628 * text2.C (setCursorIntern): put debuging code in INSETS channel
9630 2002-03-19 André Pönitz <poenitz@gmx.net>
9632 * lyxfunc.C: tiny whitespace change
9634 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9636 * ToolbarDefaults.C (init):
9637 * LyXAction.C (init):
9639 * BufferView_pimpl.C (Dispatch):
9640 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9642 2002-03-19 Allan Rae <rae@lyx.org>
9644 * exporter.C (Export): removeAutoInsets before doing anything else.
9645 While I've just introduced a dependency on BufferView this really is
9646 the best place to clean the buffer otherwise you need to cleanup in
9647 a dozen places before calling export or cleanup in a dozen functions
9650 * converter.C (runLaTeX):
9651 (scanLog): Better handling of removeAutoInsets and screen updates.
9653 * lyxfunc.C (dispatch): small whitespace changes
9655 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9657 * WorkArea.C (C_WorkAreaEvent): return a value.
9658 (event_cb): return 1 if we handled the event, 0 otherwise.
9660 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9662 2002-03-18 Juergen Vigna <jug@sad.it>
9664 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9665 (GetAdditionalWidth): ditto.
9669 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9670 inset if we're there actually (probably not used right now but this
9671 is the direction to go for unifying code).
9672 (paste): disable code to clear the selection.
9674 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9675 inside an InsetText and move the check further up as it is in the
9678 * text2.C (pasteSelection): set a selection over the pasted text.
9680 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9682 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9683 and libgraphics to build on Cygwin.
9685 2002-03-15 Juergen Vigna <jug@sad.it>
9687 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9688 inserting an Inset into the paragraph. I know this is not the best
9689 fix but we already use current_view in CutAndPaste so we will remove
9690 all of it's using at the same time.
9692 * buffer.C (sgmlError): deactivated function till it is rewritten in
9693 the right mode, now it can create problems.
9695 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9696 before accessing it.
9698 2002-03-14 Juergen Vigna <jug@sad.it>
9700 * undo_funcs.C (textHandleUndo): do the right thing when updating
9701 the inset after the undo/redo.
9703 * text2.C (setCursor): just some testcode for #44 not ready yet.
9705 * undo_funcs.C (textHandleUndo): set the next() and previous()
9706 pointers of the paragraph to 0 before deleting otherwise we have
9707 problems with the Paragraph::[destructor].
9709 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9710 on a paragraph insertion.
9712 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9714 * buffer.C (asciiParagraph): use += operator for char append to
9717 * paragraph.C (getFontSettings): compare >= not just >
9718 (highestFontInRange): ditto
9721 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9723 * paragraph.C: change several algorithm to be more appripriate for
9724 the problem domain. This is lookip in FontList and in the InsetList.
9726 2002-03-13 André Pönitz <poenitz@gmx.net>
9729 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9731 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9736 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9738 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9740 * Painter.C (display): anon helper function, adjust code for this
9742 (pixmap): remove function.
9744 * Painter.h: remove private display variable.
9746 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9748 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9750 * WorkArea.[Ch]: remove figinset_canvas cruft.
9752 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9754 * lyxtextclass.C (operator): add one item cache optimization.
9756 * bufferlist.h: doxy changes
9758 * bufferlist.C: ws changes
9760 * DepTable.[Ch] (ext_exist): place const in the right spot.
9762 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9764 (workAreaExpose): call resizeInsets when the with BufferView changes.
9765 (Dispatch): adjust for protectedBlank removal
9766 (specialChar): call updateInset if the insert went ok.
9768 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9769 specialChar instead.
9771 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9773 * BufferView.h: doxy change
9775 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9777 * lyxtextclass.C (operator[]): remove non-const version
9778 (defaultLayout): remove non-const version
9780 2002-03-12 Juergen Vigna <jug@sad.it>
9782 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9783 did resize the LyXText too.
9785 * buffer.C (readLyXformat2): set layout information on newly allocated
9788 * tabular.C (OldFormatRead): set layout information on the paragraph.
9790 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9792 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9794 2002-03-11 Juergen Vigna <jug@sad.it>
9796 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9798 (resizeCurrentBuffer): force also the insets to resize themselfes.
9799 (moveCursorUpdate): fixed up for InsetText.
9801 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9804 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9805 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9806 value of Dialogs::tooltipsEnabled().
9807 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9809 2002-03-08 Juergen Vigna <jug@sad.it>
9811 * BufferView_pimpl.C (updateInset): update inset inside inset also
9812 if it isn't inside theLockingInset().
9814 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9816 * buffer.C (asciiParagraph): redo some of the word and line length
9818 (getLists): look for Caption instead of caption.
9820 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9822 * buffer.C (Buffer): initialize niceFile to true
9825 (makeDocBookFile): make sure niceFile is true on exit
9827 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9829 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9831 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9833 * LyXSendto.C: remove.
9834 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9835 * lyx_gui.C: remove now-redundant comment.
9836 * ColorHandler.h: remove forward declaration of class WorkArea.
9837 * lyxfunc.C: remove #include "WorkArea.h".
9839 2002-03-07 Juergen Vigna <jug@sad.it>
9841 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9842 got moved away with the DEPM and also set the inset_owner always
9843 right which before could have been omitted.
9845 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9847 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9848 wanted layout is not found.
9850 2002-03-07 Juergen Vigna <jug@sad.it>
9852 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9854 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9856 * paragraph.C (breakParagraph): use default layout not layout of
9858 (Paragraph): clear ParagraphParameters.
9860 2002-03-06 Juergen Vigna <jug@sad.it>
9862 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9863 otherwise it would not be a valid lenght. Fixed a special case in
9864 the minipage compatibility read where we end the document with a
9867 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9868 was set as it could be 0 for InsetTexts first entry.
9870 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9872 * paragraph.C (writeFile): if layout is empty write out
9873 defaultLayoutName().
9875 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9876 file without named layout we set layout to defaultLayoutName().
9878 2002-03-06 Juergen Vigna <jug@sad.it>
9880 * CutAndPaste.C (copySelection): set layout for new paragraph.
9882 * text.C (prepareToPrint): leave ERT inset left aligned
9883 (leftMargin): don't indent paragraphs inside ERT insets
9885 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9887 * paragraph.C (breakParagraph): dont call clear do the work manually
9889 * paragraph.[Ch] (clear): remove function
9891 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9893 * paragraph.C (Paragraph): dont call clear, the work has already
9896 * lyxtextclass.C (operator): assert if n is empty
9898 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9899 work manually instead.
9901 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9903 * BufferView_pimpl.C: protect selectionLost against text == 0
9905 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9907 * text.C (breakParagraph): fix a setting layout to '0' problem.
9909 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9911 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9912 final location of file, for the included files, and graphics.
9914 2002-03-05 Juergen Vigna <jug@sad.it>
9916 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9918 2002-03-04 Juergen Vigna <jug@sad.it>
9920 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9922 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9923 last column of multicolumn cells.
9924 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9926 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9928 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9929 file if it doesn't go to a temporary file.
9931 * buffer.C (sgmlOpenTag):
9932 (sgmlCloseTag): remove extra newline insertion.
9934 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9936 * text.C (getRowNearY): comment out debug msg
9938 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9940 * text2.C: first -> first_y
9942 * text.C (getRowNearY): add some attemts at a possible
9943 optimization, not working.
9945 * tabular.[Ch]: add BufferParams to several function so that newly
9946 created paragraph can be initialized to he default layotu for the
9949 * tabular-old.C (ReadOld): add buf->params to call of Init
9951 * screen.C: rename text->first to text->first_y
9953 * paragraph.C (breakParagraph): always set layout in the broken
9956 * lyxtextclass.C (Read): remove lowercase
9959 (delete_layout): ditto
9961 * lyxtext.h: rename first -> first_y
9963 * lyxlayout.C (Read): remove lowercase
9966 (obsoleted_by): ditto
9968 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9970 * buffer.C (insertErtContents): add params are to InsetERT
9971 (parseSingleLyXformat2Token): add code to check if a paragraphs
9972 layout really exist.
9973 (parseSingleLyXformat2Token): add params to several inset
9975 (asciiParagraph): remove lowercase, do the layout comparisons with
9978 * BufferView_pimpl.C (cursorNext): first -> first_y
9979 (resizeCurrentBuffer): first -> first_y
9980 (updateScrollbar): first -> first_y
9981 (scrollCB): first -> first_y
9982 (workAreaMotionNotify): first -> first_y
9983 (workAreaButtonPress): first -> first_y
9984 (checkInsetHit): first -> first_y
9985 (cursorPrevious): first -> first_y
9986 (cursorNext): first -> first_y
9987 (Dispatch): add buffer_->params to severl inset contructors
9989 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9991 * lyxlayout.C (Read): remove some debug info that I forgot.
9993 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9994 clean up the code slightly.
9995 (makeLinuxDocFile): ditto
9996 (makeDocBookFile): ditto
9998 * text2.C: layout as string
10000 * text.C: layout as string
10002 * paragraph_pimpl.C: layout as string
10004 * paragraph.[Ch]: layout as string
10006 * lyxtextclasslist.[Ch]: layout as string
10008 * lyxtextclass.[Ch]: layout as string
10010 * lyxtext.h: layout as string
10012 * lyxlayout.[Ch]: layout as string
10014 * lyx_cb.C: layout as string
10016 * bufferview_funcs.C: layout as string
10018 * bufferparams.C: layout as string
10020 * buffer.C: layout as string
10022 * LyXView.[Ch]: layout as string
10024 * LaTeXFeatures.[Ch]: layout as string
10026 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10028 * BufferView_pimpl.C: change current_layout to string, remove
10033 (workAreaButtonRelease): layout as string
10035 * BufferView2.C (unlockInset): adjust
10037 * vspace.C (asLatexCommand): use an explict temp variable.
10039 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10041 * Makefile.am: use FRONTEND_*
10043 2002-03-01 Juergen Vigna <jug@sad.it>
10045 * tabular.C (SetWidthOfMulticolCell): changed to something better
10046 I hope but still work in progress.
10047 (recalculateMulticolumnsOfColumn): renamed function from
10048 recalculateMulticolCells as it is more appropriate now.
10049 (SetWidthOfCell): calculate multicols better.
10051 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10053 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10055 * lyxfunc.C (processKeySym): print sequence also if it is
10056 `deleted' (complete)
10058 * kbsequence.C (print): print sequence even if it is deleted
10059 (complete would be a better word, actually).
10061 * lyxfunc.C (dispatch): print complete options after a prefix key
10063 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10065 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10067 * text2.C (setCharFont): eliminate setCharFont code duplication.
10069 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10071 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10072 LFUN_TABULAR_FEATURE (bug #177)
10074 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10076 * Makefile.am: remove figure.h
10078 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10080 * Bufferview_pimpl.C:
10092 * text2.C: remove #include "lyx_gui_misc.h".
10094 * LaTeX.C: added #include <cstdio>
10096 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10098 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10099 that the paragraph following this one can have.
10101 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10103 * vspace.C (asLatexCommand): fix bogus gcc warning
10105 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10107 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10109 * text2.C (setLayout): get rid of redundant code
10111 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10113 * text2.C (incDepth): make sure depth cannot be increased beyond
10116 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10118 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10119 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10121 * PainterBase.h (image):
10122 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10123 a LyXImage const *.
10125 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10129 * BufferView_pimpl.C:
10130 * BufferView_pimpl.h:
10150 * sp_spell.C: remove fig inset, and the crap house of
10151 cards that follows it
10153 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10158 * os2_errortable.h:
10159 * nt_defines.h: move .h into support/
10161 * vms_defines.h: remove
10163 * WorkArea.C: add space in debug output
10167 * buffer.C: add WITH_WARNINGS
10171 * bufferlist.C: s/retrive/retrieve/, add docs
10180 * chset.C: add docs
10182 * lyxgui.C: add ID to X error handler
10184 * lyxtestclass.c: fix typo
10186 2002-02-26 Juergen Vigna <jug@sad.it>
10188 * tabular_funcs.C (write_attribute): changed so that some default
10189 attributes are not written at all.
10190 (getTokenValue): set default values before trying to read the
10191 value so we have the return value always set as default if we don't
10192 find the token we search for.
10194 * tabular.C (Write): write bools as bools not as strings!
10196 2002-02-22 Juergen Vigna <jug@sad.it>
10198 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10199 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10201 * text.C (leftMargin): don't add an indent for paragraphs inside
10202 tabular cells (fix #208).
10204 2002-02-21 José Matos <jamatos@fep.up.pt>
10206 * tabular.C (docBook): fixed support for long tables.
10208 2002-02-20 Juergen Vigna <jug@sad.it>
10210 * text2.C (getFont): get the drawing font of the Inset if this
10211 paragraph is inside an inset (only important for InsetERT for now).
10213 * buffer.C (insertErtContents): use new lanugage params in ERT
10216 * CutAndPaste.C: commenting out seemingly uneeded code.
10218 2002-02-19 Allan Rae <rae@lyx.org>
10220 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10221 Iterators might be simple to use but they also get invalidated.
10222 (removeAutoInsets): renamed saved cursor tracking variables and added
10223 some comments to clarify what everything does.
10225 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10232 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10233 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10236 * vc-backend.h: remove #include "support/syscall.h"
10240 * converter.C: rearrange #includes in Lars' approved fashion.
10242 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10243 forward declare class Timeout in the header file.
10245 * XFormsView.C: changes due to the above.
10247 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10248 similar to LyXView.
10250 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10251 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10253 2002-02-18 José Matos <jamatos@fep.up.pt>
10255 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10258 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10260 * a lot of small ws changes
10261 * add a lot of using std::XXX
10262 * use std construcs some places where approp.
10263 * use some exisint stuff from lyxfunctional where approp.
10264 * Make file changes to use partial linking (lets test this now...)
10266 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10270 remove #include "support/syscontr.h" as it's redundant. Always has been.
10278 change Systemcalls::System to Systemcalls::Wait and
10279 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10280 No change of functionality, just reflects the stripped down Systemcalls
10283 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10285 * debug.[Ch]: add a GRAPHICS type to the enum.
10287 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10289 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10291 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10294 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10296 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10297 match the changes below.
10299 * text2.C (toggleInset): if there is not editable inset at cursor
10300 position, try to see if cursor is _inside_ a collapsable inset
10303 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10305 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10306 document menu has a nice checkbox
10308 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10310 * lyxlength.C (asLatexString): change PW to output as percent of
10313 * lengthcommon.C: change '%' to 't%'
10315 * lyxfunc.C (dispatch): a few comments from Martin
10317 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10321 * BufferView_pimpl.h:
10322 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10325 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10327 * vspace.C (inPixels): fix compiler warning
10329 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10331 * lyxfunc.C (getStatus): fix status message for disabled commands.
10333 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10335 * BufferView_pimpl.C: fix crash on close buffer
10336 during selection (#227)
10338 2002-01-27 Herbert Voss <voss@lyx.org>
10340 * buffer.C: link old Figure to new graphic inset
10342 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10344 * FontLoader.C (getFontinfo): Change the latex font names in order
10345 to match the names of type1inst.
10347 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10349 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10351 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10352 (extchanged): ditto
10354 (remove_files_with_extension): ditto
10355 (remove_file): ditto
10358 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10359 document is smaller than the work area height. Do not initialize
10360 static variables to 0.
10362 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10364 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10366 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10367 LFUN_LAYOUT_PARAGRAPHS.
10369 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10370 tabular. It is possible to provide a possible cell, which will
10371 typically be the actcell from the corresponding insettabular
10373 * lyxfunc.C (getStatus): small cleanup; disable
10374 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10377 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10379 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10381 * paragraph.C (startTeXParParams):
10382 (endTeXParParams): new methods. The LaTeX code to
10383 start/end paragraph formatting
10384 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10385 empty (fixes bug #200)
10387 * vspace.C (inPixels): adapt to the change below
10388 (inPixels): [later] more cleanups (remove unused variables)
10390 * lyxlength.C (inPixels): change to use a width and a height as
10393 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10395 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10396 Replaced with \paperwidth
10398 * DepTable.C (insert): add std:: qualifier
10400 2002-01-18 Allan Rae <rae@lyx.org>
10402 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10405 * text.C (drawInset): Turned out I didn't know enough about how
10406 rebreaking worked. This fixes most of the redraw problems. I see
10407 an occasional cursor trail when a line is broken now and the cursor
10408 placement can seem out by a few pixels also after a rebreak.
10410 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10412 * buffer.C (parseSingleLyXformat2Token): update because minipage
10413 width is now a LyXLength
10415 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10417 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10420 2002-01-17 Juergen Vigna <jug@sad.it>
10422 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10424 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10425 is set correctly and the inset is updated correctly.
10427 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10429 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10430 the beginning of the loop.
10432 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10434 * lyxrc.C: improve help for use_scalable_fonts
10436 2002-01-17 Allan Rae <rae@lyx.org>
10438 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10440 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10442 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10443 make sure to set their inset_owner to the right value (bug #171)
10445 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10448 * DepTable.C: Implement mtime checking to reduce time spent doing
10451 2002-01-16 Juergen Vigna <jug@sad.it>
10453 * tabular.C (GetAdditionalHeight): one of error fixed.
10455 * lyxrc.C (output): small fix in writing use_pspell.
10457 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10459 * sp_base.h: #include LString.h
10461 2002-01-16 Allan Rae <rae@lyx.org>
10463 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10464 Can someone check this please?
10466 * text.C (drawInset): It was possible that p.row would be removed by
10467 breakAgainOneRow upsetting a few other settings. There may be another
10468 small tweak possible by setting need_break_row = 0 when p.row has been
10469 removed but I don't know enough about the logic here.
10471 2002-01-15 Allan Rae <rae@lyx.org>
10473 * text.C (insertChar): removed conditional truism.
10475 * BufferView2.C (removeAutoInsets): More tweaks.
10476 cur_par_prev could be a stray pointer. Check for trailing empty line
10477 in case last line was cur_par and only had an error inset on it.
10479 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10481 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10484 * vc-backend.C (most methods):
10485 * exporter.C (Export):
10486 * converter.C (convert):
10488 * LyXSendto.C (SendtoApplyCB):
10489 * lyxfunc.C (dispatch):
10493 * lyx_cb.C (AutoSave):
10495 * BufferView_pimpl.C (MenuInsertLyXFile):
10496 * buffer.C (runChktex): use Buffer::filePath().
10498 * buffer.h: rename filename to filename_; rename filepath to
10499 filepath_ and make it private
10500 (filePath): new method
10502 * buffer.C (writeFile): use fileName()
10505 * lyx_main.C (init): fix starting of LyX when the binary is a
10506 link from so,ewhere else.
10508 * minibuffer.C: include <cctype> for isprint
10510 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10512 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10513 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10514 name clash with InsetCollapsable's width function.
10516 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10518 * lastfiles.C: include <iterator>
10520 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10522 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10525 * buffer.C (makeLaTeXFile): ditto.
10526 Also make loop operation more transparent.
10528 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10530 * ToolbarDefaults.C: remove trailing comma closing namespace.
10532 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10534 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10537 * trans.C (Load): comment out unused variable, allowed.
10539 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10541 * minibuffer.[Ch] (append_char): new method to recieve input from the
10542 drop-down completion browser. If a key was pressed, then recieve this
10543 char and append it to the existing string.
10544 (peek_event): modify the positioning data passed to the completion
10545 browser so that it can be placed above the minibuffer rather than below.
10546 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10548 * LyXAction.C (init): alloe error-next for readonly documents.
10550 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10553 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10555 * bufferlist.C (readFile): create the buffer _after_ checking that
10558 * lyxfunc.C (verboseDispatch): fix handling of arguments
10560 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10562 * lyxrc.C: use string::erase() instead of initializing to "".
10565 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10567 * BufferView_pimpl.h:
10568 * BufferView_pimpl.C:
10571 * text2.C: tell X when we have made a selection for copying
10573 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10575 * BufferView_pimpl.C (MenuInsertLyXFile):
10576 * lyxfunc.C (menuNew):
10578 (doImport): add shortcuts to directory buttons
10580 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10583 * lyxfunc.C (setStatusMessage):
10584 (getStatusMessage): new methods
10585 (getStatus):use setStatusMessage instead of setErrorMessage
10586 (dispatch): when function is disabled, set error message here
10587 [instead of in getStatus previously]
10589 * BufferView_pimpl.C (workAreaButtonRelease): update
10590 toolbar/menubar here too.
10592 2002-01-13 Allan Rae <rae@lyx.org>
10594 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10595 Now seems indestructible. Remaining task is to audit all other
10596 code affected by deleteEmptyParagraphMechanism. One small quirk
10597 left is that an empty document with an error in the preamble can
10598 be made to report an error but no error box appears. I don't know
10600 (removeAutoInsets): Improved comments.
10602 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10605 * Thesaurus.C: update for Aiksaurus 0.14
10607 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10609 * text2.C (firstParagraph): removed member function, all uses
10610 replaces with ownerParagraph
10611 (redoParagraphs): here
10612 (updateInset): here
10613 (toggleAppendix): here
10614 * BufferView2.C (insertErrors): here
10615 (setCursorFromRow): here
10617 2002-01-13 Allan Rae <rae@lyx.org>
10619 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10620 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10621 There is still a way to segfault this although you may have to do this
10622 multiple times: Have an InsetERT with an unknown command in it.
10623 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10624 <down-arrow>, <Enter> again, View->DVI, BANG!
10626 * text2.C (setCursor):
10627 (deleteEmptyParagraphMechanism):
10628 * lyxtext.h (setCursor):
10629 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10630 Making use of the return value may help fix other bugs.
10632 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10634 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10636 * LyXView.C (updateMenubar): call MenuBar::update here
10637 (updateToolbar): but not here
10638 (showState): do not update toolbar/menubar
10640 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10641 should need to care about that.
10643 * lyxfunc.C (verboseDispatch): simplify a bit
10644 (getStatus): have a version which takes a pseudoaction, and
10645 another which requires a (kb_action,string).
10647 * LyXAction.C (retrieveActionArg): make it work also when action
10648 is not a pseudo-action.
10649 (getActionName): simplify a bit
10652 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10654 * lyxfunc.C (verboseDispatch): new families of methods with
10655 several ways to specify a command and a bool to indicate whether
10656 the command name and shortcut should be displayed in minibuffer
10657 (eventually, we could extend that to a finer bitmask like
10658 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10659 (dispatch): the pristine dispatch command which just, well,
10660 dispatchs! Note it still sets its result to minibuffer; I'm not
10663 * lyxfunc.h: remove setHintMessage
10665 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10667 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10669 * BufferView_pimpl.C (specialChar): delete new inset if we have
10670 not been able to insert it.
10672 * kbmap.C: revert to using int instead of kb_action, since all we
10673 are dealing with is pseudo-actions.
10675 * LyXAction.C (searchActionArg): change to return int instead of
10676 kb_action, since the result is a pseudoaction.
10678 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10680 * buffer.C (insertErtContents): Fix (partially) the font bug.
10682 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10684 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10685 as the other one is broken on my machine!
10687 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10690 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10692 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10694 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10695 reflect their actual use. Provide compatibility code for older lyxrc
10698 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10700 change names of popup font variables in line with the changes to lyxrc.C
10702 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10704 * buffer.C (asciiParagraph): avoid outputing a word twice after
10707 * lyxrc.C (getDescription): document that document_path and
10708 template_path can be empty.
10710 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10712 * LaTeXFeatures.C (getMacros):
10713 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10715 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10717 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10719 (getPackages): rename feature "floats" to "float". Use an array to
10720 iterate over 'simple' features (i.e. just a \usepackage). Add
10721 handling of "amsmath" (renamed from "amsstyle").
10723 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10725 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10728 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10730 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10731 FuncStaus::FuncStatus & FuncStaus::some_method().
10733 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10735 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10736 of the func_satus stuff. Edited and massaged in various ways by
10739 * lyxfunc.C (getStatus): use FuncStatus
10741 2002-01-08 Juergen Vigna <jug@sad.it>
10743 * text.C (nextBreakPoint): use function Inset::isChar().
10745 * paragraph.C (TeXOnePar): use function
10746 Inset::forceDefaultParagraphs.
10748 * buffer.C (latexParagraphs): use function
10749 Inset::forceDefaultParagraphs.
10751 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10753 * lyx_gui.C (init): set the style of the menu popups to
10754 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10756 2002-01-07 Juergen Vigna <jug@sad.it>
10758 * text.C (setHeightOfRow): small fix
10759 (prepareToPrint): don't look at alignment if we don't have the place
10762 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10764 * box.C: New file. Move the Box methods and functions out of box.h,
10765 following Lars' suggestion.
10767 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10769 * box.h: #include "support/LOstream.h", needed for inlined function.
10772 * lyxtextclasslist.C: added some using std declarations.
10774 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10776 * box.h: make signed dimensions to allow insets wider than
10777 the screen (bug #162)
10779 * BufferView_pimpl.C: add some insetHit debug
10781 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10783 * vc-backend.C: add FIXME
10785 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10787 * lyxfunc.C (getStatus): enable code for showing math font status
10790 2002-01-07 Juergen Vigna <jug@sad.it>
10792 * text.C (nextBreakPoint): removed debug output not needed anymore.
10794 2002-01-06 Juergen Vigna <jug@sad.it>
10796 * text.C (nextBreakPoint): fixed up this function we had this bug
10797 since ever but now hopefully we break row better.
10798 (insertChar): we have to check if an inset is the next char as it
10799 could now happen that a large inset is causing a break.
10801 2002-01-05 Juergen Vigna <jug@sad.it>
10803 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10804 if it doesn't like to be drawed.
10806 2002-01-04 Juergen Vigna <jug@sad.it>
10808 * BufferView2.C (lockInset): forgot to set a cursor.
10810 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10812 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10814 * FormMathsPanel.C:
10817 * form_maths_panel.C:
10818 * form_maths_panel.h:
10819 * form_maths_panel.fd: implemented sub- and super- buttons in math
10822 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10823 (or ^ space) to be used as in TeX (req'd by André).
10825 * lyxfunc.C: Allow ^ and _ again to be used both as
10826 super/subscript (mathed) and as themselves (in text).
10828 2002-01-03 Allan Rae <rae@lyx.org>
10830 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10831 "LyX" or the filename of the current buffer if it has one. This is a
10832 modified form of John Levon's patch.
10834 * XFormsView.C (setWindowTitle): also set icon title.
10836 * LyXView.h (setWindowTitle): signature changed.
10837 * XFormsView.h (setWindowTitle): ditto.
10839 2002-01-02 Juergen Vigna <jug@sad.it>
10841 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10843 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10845 * screen.C (topCursorVisible): introduce a temp var for
10846 text->cursor.row(), handle the case where this row is null. (kindo
10849 * text2.C (setCursor): add a couple of asserts.
10851 * paragraph.h (inset_iterator): add -> operator
10853 * paragraph.[Ch] (autoDeleteInsets): remove member function
10855 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10856 cursor pos correctly and handle inset deletion by itself.
10857 (insertErrors): move iterator declaration out of for expression
10859 * lyxtextclass.C: add <algorithm>
10861 * Makefile.am: added the new files to sources, removed layout.C
10863 * layout.C: removed file
10865 * layout.h: remove LYX_DUMMY_LAYOUT
10867 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10871 * lyxtextclass.[Ch]:
10872 * lyxtextclasslist.[Ch]: new files
10874 * include order changes to a lot of files, also changes because of
10877 2001-12-27 Juergen Vigna <jug@sad.it>
10879 * buffer.C (asciiParagraph): more fixes.
10881 * tabular.C (ascii): make ascii export support export of only the
10882 data separated by a column-delimiter.
10883 (ascii): better support for ascii export.
10885 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10887 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10889 * tabular_funcs.C: use a "using std::getline" instead of the
10890 previous fix from Angus (necessary for cxx + lyxstring)
10892 2001-12-24 Juergen Vigna <jug@sad.it>
10894 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10896 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10897 problems. First check a minipage also if we have some ert-contents
10898 (not only on par->size(), second set the right depth of the paragraph
10899 on the relink to the root-paragraph-list!
10901 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10902 which then did not anymore update the main paragraphs on undo/redo!
10904 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10906 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10907 code. Support all font-changing funcs (even those which are not in
10908 menu currently). Support for reporting font settings in
10909 mathed (disabled until Andre provides a function on mathed's side).
10911 * func_status.h (toggle): small helper function to set toggle
10914 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10916 * tabular_funcs.C: getline -> std::getline
10918 2001-12-21 Juergen Vigna <jug@sad.it>
10920 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10921 accessed and could be 0 (I couldn't generate this but it seems
10924 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10926 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10927 * tabular_funcs.h: here and include iosfwd
10929 2001-12-20 Juergen Vigna <jug@sad.it>
10931 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10932 inside inset but undo_par was.
10934 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10936 * Thesaurus.C: always include <config.h> in sources.
10940 * box.h: do not include <config.h> in header files
10942 * text.C (paintLastRow): remove unused variable
10944 * text.C (transformChar):
10946 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10948 * Painter.C (text):
10949 * font.C (width): rewrite to use uppercase() instead of
10952 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10954 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10956 * lyxfind.C: clean up of find failure position change
10958 2001-12-20 Juergen Vigna <jug@sad.it>
10960 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10962 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10963 (TeXRow): added to LaTeX a single tabular row.
10964 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10965 (Latex): simplified and finally good LT-h/f support.
10966 (various_functions): just small adaptions for LT-h/f support.
10968 * tabular_funcs.[hC]: added and moved here all not classfunctions
10971 2001-12-19 Juergen Vigna <jug@sad.it>
10973 * tabular.[Ch]: better support for longtabular options (not finished
10976 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10978 * text.C (paintLastRow): use the label font instead of the font of
10979 the last character to compute the size of *_BOX. This makes more
10980 sense and avoids a crash with empty paragraphs.
10981 Use Painter::rectangle to draw EMPTY_BOX.
10983 2001-12-19 Juergen Vigna <jug@sad.it>
10985 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10986 the paragraphs if the replaced paragraph is not the first one!
10987 Tried to delete not used paragraphs but does not work yet so for
10988 now it's inside #ifdef's and by default off!
10990 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10992 * MenuBackend.C: include "lyx_main.h" instead of declaring
10993 lastfiles (actually was declared as LastFiles* instead of a
10996 2001-12-17 Juergen Vigna <jug@sad.it>
10998 * tabular.C (AppendColumn): applied John's fix
11000 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11004 * BufferView_pimpl.h:
11005 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11008 * box.h: new start of class for above
11010 * lyxfunc.C: ignore space-only minibuffer dispatches.
11011 Show the command name when it doesn't exist
11013 * minibuffer.C: don't add empty lines to the history
11015 * minibuffer.C: add a space on dropdown completion
11017 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11019 * text.C: fix line above/below drawing in insets
11021 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11023 * lyxlength.C (LyXLength): Initialize private variables.
11025 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11027 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11028 when inserting error insets.
11030 2001-12-13 Juergen Vigna <jug@sad.it>
11032 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11033 actually sometimes the before-paragraph.
11034 (setUndo): don't clear the redostack if we're not actually undoing!
11036 2001-12-06 Juergen Vigna <jug@sad.it>
11038 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11039 and fixed redoing of main paragraph, so we can use it now ;)
11041 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11043 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11045 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11048 2001-12-13 André Pönitz <poenitz@gmx.net>
11051 * undo_func.C: minor cleanup
11053 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11055 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11056 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11057 font in urw-fonts package which is marked as -urw-fontspecific and
11058 does not work (incidentally, changing the encoding in the
11059 fonts.dir of this package to -adobe-fontspecific fixes the
11062 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11063 is a crash when undoing first paragraph (Juergen, please take a
11064 look). THis does not mean the undo fix is wrong, just that it
11067 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11068 the (Paragraph*) version when needed instead of duplicating the
11071 * text.C (workWidth): use Inset::parOwner to find out where the
11072 inset has been inserted. This is a huge performance gain for large
11073 documents with lots of insets. If Inset::parOwner is not set, fall
11074 back on the brute force method
11076 * paragraph_pimpl.C (insertInset):
11077 * paragraph.C (Paragraph):
11078 (cutIntoMinibuffer): set parOwner of insets when
11079 inserting/removing them
11081 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11083 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11089 * mathed/formulabase.C:
11090 * mathed/math_cursor.[Ch]:
11091 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11094 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11096 * lyxlength.[Ch] (operator!=): new function
11098 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11100 * text.C (workWidth): use Inset::parOwner to find out where the
11101 inset has been inserted. This is a huge performance gain for large
11102 documents with lots of insets. If Inset::parOwner is not set, fall
11103 back on the brute force method
11105 * paragraph_pimpl.C (insertInset):
11106 * paragraph.C (Paragraph):
11107 (cutIntoMinibuffer): set parOwner of insets when
11108 inserting/removing them
11110 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11112 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11114 * tabular-old.C (getTokenValue):
11115 * tabular.C (getTokenValue):
11116 (write_attribute): new versions for LyXLength
11117 (everywhere): adjust the use of widths
11119 * tabular.h: change the type of widths from string to LyXLength
11121 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11123 * paragraph.C: fixed missing line number count when exporting
11124 Environments to LaTeX file
11126 * buffer.C: added informational message for checking line numbers.
11128 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11130 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11131 paragraph, do the 'double space' part, but not the 'empty
11134 * text.C (workWidth): small optimization
11135 (getLengthMarkerHeight): use minimal size for negative lengths.
11137 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11139 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11141 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11143 2001-12-11 André Pönitz <poenitz@gmx.net>
11146 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11148 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11150 * text2.C: keep selection on a setFont()
11152 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11154 * lyx_cb.C: another bv->text misuse, from insert label
11156 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11159 * kbsequence.C: re-instate nmodifier mask
11161 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11163 * lyx_main.h: make lyxGUI private.
11165 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11167 * lyxfind.C: place the cursor correctly on failed search
11169 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11171 * text.C (getLengthMarkerHeight): for small heights, the arrows
11172 are not always on top/bottom of the text
11173 (drawLengthMarker): smaller arrows; take the left margin in
11174 account; draw also vfills.
11176 (paintLastRow): remove special code for vfill and standard spaces,
11177 since everything is handled in drawLengthMarker now.
11179 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11181 * buffer.C (insertErtContents): try to handle font and language
11182 interaction a bit better.g
11184 * ColorHandler.C (updateColor): change the hash to cover the whole
11185 LColor enum, ws cleanup
11186 (getGCLinepars): ditto
11187 (getGCLinepars): only lookup in the linecache once.
11189 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11191 * iterators.C (operator++): Make the iterator more robust
11193 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11195 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11197 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11200 * text.C: better added space drawing
11202 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11205 * BufferView2.C: fix layout combo update on inset unlock
11207 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11209 * Makefile.am: don't compile unused files
11211 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11215 * LyXAction.C: remove old LFUN_LAYOUTNO
11217 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11219 * paragraph_pimpl.h:
11220 * paragraph_pimpl.C: isTextAt() doesn't need font param
11222 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11225 * lyxlex.C: little cleanup
11227 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11229 * BufferView_pimpl.C: fix insertAscii for insets
11231 2001-12-05 Juergen Vigna <jug@sad.it>
11233 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11234 set the right font on the "multi" paragraph paste!
11236 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11242 * lyxlength.C: remove out-commented code.
11244 * BufferView_pimpl:
11258 * vc-backend.C: change "while(" to "while ("
11260 * lyxlength.[Ch]: add zero function to check if length is zero or
11262 * lyxgluelength.C: use it
11264 2001-12-05 Allan Rae <rae@lyx.org>
11266 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11267 Works for 2.95.3, from what I understand of Garst's reports this should
11268 work for other g++ versions. We're screwed if the abs(int) definition
11269 changed between bugfix releases of gcc.
11271 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11273 * text.C: fix chapter label offset !
11275 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11278 * text.C: fix hfill at end of line, clean up
11280 2001-12-04 Juergen Vigna <jug@sad.it>
11282 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11283 that we force an update of the inset and it's owners if neccessary.
11285 2001-12-03 Juergen Vigna <jug@sad.it>
11287 * text.C (rowLast): simplified code
11289 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11291 * lyxfunc.C: fix show options on timeout
11293 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11295 * screen.C (topCursorVisible): scroll half a page when the cursor
11296 reached top of bottom of screen
11298 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11300 * minibuffer.C: deactivate on loss of focus
11302 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11304 * vspace.[Ch] (operator!=): add operator.
11306 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11308 * BufferView_pimpl.C: refuse to open an inset when
11309 there's a selection.
11311 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11313 * BufferView_pimpl.C: allow to click on RHS of full row insets
11315 2001-11-30 Juergen Vigna <jug@sad.it>
11317 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11318 insets for undo reasons.
11320 2001-11-28 André Pönitz <poenitz@gmx.net>
11322 * vspace.[Ch]: cosmetical changes
11324 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11334 * kbsequence.C: part re-write of old kb code
11337 * WorkArea.C: remove Lgb_bug_find_hack
11339 2001-11-30 José Matos <jamatos@fep.up.pt>
11341 * buffer.C (makeDocBookFile): add a comment to point a hack.
11342 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11343 Fixed a double write of labels.
11345 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11348 * LaTeX.h Fixed bug in LaTeX class where it would not
11349 re-run latex if no depfiles were changed, but the .dvi was removed.
11351 2001-11-28 André Pönitz <poenitz@gmx.net>
11353 * all the files from the change on 2001/11/26:
11354 use lyx::layout_type instead of LyXTextClass::size_type
11355 use lyx::textclass_type instead of LyXTextClassList::size_type
11357 2001-11-29 Juergen Vigna <jug@sad.it>
11359 * text.C: added support for paragraph::isFreeSpacing()
11361 * buffer.C: same as above
11363 * paragraph.h: inserted isFreeSpacing() function to enable
11364 FreeSpacing inside InsetERT.
11366 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11367 of the paragraph's in the cut/copy buffer to 0!
11369 * text2.C (removeRow): remove the assert as it can!
11371 * lyxtext.h: added helper function firstRow returning firstrow and
11372 made firstrow private again.
11374 * BufferView2.C (lockInset): don't relock if we're already locked!
11376 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11377 the only paragraph.
11378 (removeRow): added Assert::(firstrow)
11380 * debug.C: forgot to add INSETTEXT here.
11382 2001-11-28 Juergen Vigna <jug@sad.it>
11384 * sp_spell.C (initialize): changed error text to more general
11385 spellchecker command use (not only ispell!)
11387 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11389 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11391 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11393 * vspace.C: initialise lyxgluelength on failure
11395 2001-11-28 Allan Rae <rae@lyx.org>
11397 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11398 declaration & definition that looks like a function declaration.
11400 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11402 * BufferView2.C (copy):
11403 (copyEnvironment): do not clear the selection when doing a copy.
11405 * text.C (paintFirstRow): compilation fix
11407 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11409 * tabular.C (Latex): correct line count when writing latex.
11411 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11413 * paragraph_pimpl.h:
11414 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11417 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11421 * LColor.C: change vfillline->added_space
11423 * text.C: add markers and text for added space
11425 * vspace.C: fix comment
11427 2001-11-28 André Pönitz <poenitz@gmx.net>
11429 * paragraph.C: whitespace changes
11430 * all the other files from the change on 2001/11/26:
11431 change *::pos_type into lyx::pos_type
11433 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11435 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11436 language of the document when inserting error insets.
11438 2001-11-26 André Pönitz <poenitz@gmx.net>
11440 * BufferView_pimpl.[Ch]:
11448 * paragraph_pimpl.[Ch]:
11451 * text2.C: reduce header dependencies, introduce type for positions
11453 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11455 * <various>: change to use Alert.h
11457 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11459 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11460 when encountering an unknown token.
11461 (readLyXformat2): Show an error message if there were unknown tokens.
11463 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11466 * BufferView_pimpl.C:
11470 * text2.C: use par->isInset()
11472 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11474 * paragraph_pimpl.h:
11475 * paragraph_pimpl.C: cleanup
11477 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11479 * text2.C (removeRow):
11480 * text.C (setHeightOfRow): remove useless (and costly) call to
11483 2001-11-20 Allan Rae <rae@lyx.org>
11485 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11486 Now need Inset*::checkInsertChar() to return true for appropriate
11487 cases so that the characters in the minibuffer will actually be
11490 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11492 * text.C: change the order of the includes.
11493 (workWidth): initialize it at once.
11494 (workWidth): make maxw unsigned
11495 (setHeightOfRow): remove unused variable (inset)
11496 (selectSelectedWord): remove unused variable (inset)
11497 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11499 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11501 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11502 server is not running.
11504 (closeConnection): add debug info when server is disabled.
11506 * ColorHandler.C (getGCForeground): send debug message to GUI
11509 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11511 * kbmap.C (bind): modify because return conventions of
11512 kb_sequence::parse have changed.
11514 * kbsequence.C (parse): only ignore spaces and not any stupid
11515 control character. This avoids tests like s[i] <= ' ', which are
11516 guaranteed to fail with 8bit characters and signed chars.
11517 Change return code to string::npos when there have been no error
11518 (0 was a bad idea when error is at first character)
11520 2001-11-14 José Matos <jamatos@fep.up.pt>
11523 * buffer.C (simpleDocBookOnePar): removed unused argument.
11525 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11527 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11528 insets which are part of a word. Paragraph::isLetter takes care of
11529 that now. Use Paragraph::isInset to identify insets.
11530 (selectSelectedWord): do not test for hyphenation break.
11532 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11533 that protected spaces are considered as spaces.
11535 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11538 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11541 * lyxserver.C: fix it. and small cleanup.
11543 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11545 * BufferView_pimpl.C: use inline helpers
11548 * LaTeXFeatures.C: fix typos
11551 * Spacing.C: move spacing_string into class
11553 * ToolbarDefaults.C: move stuff into namespace anon
11555 * layout.h: update enum
11557 * lyxfunc.C: use better debug
11559 * minibuffer.h: fix typo
11563 * WorkArea.C: add and use Debug::WORKAREA
11567 * text2.C: code re-organisation, inline helpers
11569 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11571 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11572 std::vector.empty().
11574 2001-11-09 Allan Rae <rae@lyx.org>
11576 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11577 '\n's after tables. Tabular and ERT inset work now makes this no
11580 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11583 * minibuffer.C: fix crash, improve drop-down completion
11585 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11588 * lyxserver.C: invalidate fd's when doing endPipe()
11590 2001-11-08 José Matos <jamatos@fep.up.pt>
11592 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11593 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11596 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11598 2001-11-07 José Matos <jamatos@fep.up.pt>
11601 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11604 * buffer.C (sgmlOpenTag):
11605 * buffer.C (sgmlCloseTag): removed debug info.
11607 * buffer.h (sgmlOpenTag):
11608 * buffer.h (sgmlCloseTag): made public.
11610 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11612 * buffer.C (saveParamsAsDefaults):
11613 * lyx_cb.C (MenuLayoutSave): remove
11615 * LyXAction.C (init):
11617 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11619 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11621 * buffer.C (setPaperStuff): removed from here...
11623 * bufferparams.C (setPaperStuff): ... and moved there.
11625 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11629 * XFormsView.C: add support for drop-down completion
11631 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11633 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11636 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11638 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11641 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11643 * lyx_main.C: change ref to known bugs
11645 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11647 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11648 to work around older babel problems.
11650 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11652 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11654 2001-10-24 Juergen Vigna <jug@sad.it>
11656 * tabular-old.C (ReadOld): below variable changes reflected.
11658 * tabular.[Ch]: added ltType struct for longtable header/footer
11659 defines and changed all instances where they are used. Added
11660 future support for double top/bottom rows.
11662 2001-10-24 José Matos <jamatos@fep.up.pt>
11664 * buffer.h (docbookHandleCaption):
11665 * buffer.C (docbookHandleCaption): removed unused function.
11666 (makeDocBookFile): moved docbook supported version to v4.1.
11668 2001-10-24 José Matos <jamatos@fep.up.pt>
11671 * tabular.C (docbookRow): new function to export docbook code of a row.
11672 (DocBook): now honors the longtable flags.
11674 2001-10-23 José Matos <jamatos@fep.up.pt>
11677 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11678 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11680 * buffer.C (makeLinuxDocFile):
11681 (makeDocBookFile): reworked the preamble, more clean, and with
11682 support for lyx defined entities. Changed the document declaration
11683 to be more XML friendly.
11685 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11686 if we need to output XML that should be done with a filter.
11688 2001-10-22 Juergen Vigna <jug@sad.it>
11690 * sp_pspell.h (class PSpell): add alive function needed in the
11691 controller to see if the spellchecker could be started.
11693 2001-10-22 Juergen Vigna <jug@sad.it>
11695 * buffer.C (insertStringAsLines): modify the font for inserting
11696 chars in certain conditions by calling checkInsertChar(font).
11698 2001-10-19 Juergen Vigna <jug@sad.it>
11700 * text.C (workWidth): use getRow instead of wrong algorithm.
11701 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11703 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11708 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11710 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11712 * text.C (workWidth): do not search for the exact row when
11713 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11714 optimization for big documents.
11716 2001-10-18 Juergen Vigna <jug@sad.it>
11718 * text.C (workWidth): new function with added Inset * parameter.
11720 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11722 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11724 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11725 change return type of getColumnNearX.
11728 * text.C (changeRegionCase): use uppercase/lowercase instead of
11731 (rightMargin): simplify code by factoring out the uses of
11736 (appendParagraph): use Paragraph::size_type
11738 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11740 * vspace.C (asLatexString): add a missing break
11742 2001-10-15 Herbert Voss <voss@perce.de>
11744 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11746 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11748 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11751 2001-10-10 André Pönitz <poenitz@gmx.net>
11753 * lyxfunc.C: removed greek_kb_flag.
11755 2001-10-10 Herbert Voss <voss@perce.de>
11757 * lyx_main.C: delete global string help_lyxdir.
11759 2001-10-09 Herbert Voss <voss@perce.de>
11761 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11763 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11765 * lyx_main.C: added global string help_lyxdir.
11767 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11769 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11771 * lyxrc.C (set_font_norm_type): support iso8859-4
11773 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11775 * LaTeX.C (deplog): add another regex for MikTeX
11777 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11779 * lyxrc.C (set_font_norm_type): support iso8859-3
11781 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11783 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11785 * LaTeXFeatures.C: remove special case of french and index
11787 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11788 before \begin{document}). This solves several incompatibilities.
11790 2001-10-03 Garst Reese <reese@isn.net>
11792 * lyx_cb.C: change CheckTex error msg.
11794 2001-10-03 José Matos <jamatos@fep.up.pt>
11796 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11798 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11800 * .cvsignore: update
11802 * lyx_main.C (commandLineVersionInfo): use new style version info.
11804 * buffer.C (writeFile):
11806 (makeLinuxDocFile):
11807 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11809 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11811 * version.h: update to use stuff in version.C
11813 * version.C.in: new file. Contains version information determined
11814 at compile time. This is a merging of version.h and
11817 2001-10-03 Juergen Vigna <jug@sad.it>
11819 * BufferView_pimpl.C (update): don't change "dirty" status in
11822 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11824 * WorkArea.C (c-tor): re-position version string slightly.
11826 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11828 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11829 revert to previous code.
11831 WorkArea.[Ch]: (show, destroySplash): methods removed.
11833 WorkArea.C: rework code so that it's an amalgam of the codes before and
11834 after the splash screen was moved to WorkArea.
11836 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11839 * vspace.C (inPixels):
11842 * buffer.C (insertStringAsLines):
11843 (asciiParagraph): fix types to be large enough
11845 * lyxlex_pimpl.h: change member status from short to int
11847 * layout.h: fix type of endlabeltype
11850 * kbsequence.C (parse): change return type to string::size_type
11852 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11855 * Bullet.C (bulletSize):
11856 (bulletEntry): do not use short ints as parameters
11858 * BufferView2.C (insertLyXFile): change a char to an int.
11860 * WorkArea.C (WorkArea): remove unneeded floats in computation
11862 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11864 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11866 * paragraph.C (asString): Do not ignore newline/hfill chars when
11867 copying to the clipboard.
11869 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11871 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11872 after a multi-line inset.
11874 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11876 * paragraph.C (validate): Set NeedLyXFootnoteCode
11878 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11880 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11881 and decrease-error to decrease.
11883 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11885 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11886 it more readable (should be equivalent)
11888 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11890 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11892 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11894 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11895 of a cursor (row, etc.) after a character has been deleted
11896 (deleteEmptyParagraphMechanism): call the method above on _all_
11897 cursors held by the LyXText when a double space has been
11900 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11902 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11904 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11906 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11907 background. Use greyOut() and the new show() methods to toggle between
11908 the foreground and background. Add code to remove the splash after
11909 its initial showing.
11911 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11912 (create_forms): no longer call Dialogs::showSplash.
11914 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11916 * .cvsignore: add version_info.h
11918 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11920 * version_info.h.in: new file
11922 * Makefile.am: add version_info.h.in
11924 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11925 version_info.h instead of VERSION_INFO
11927 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11929 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11930 The ERT inset now returns string().
11932 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11934 * lyxtext.h, text.C (selectNextWord): renamed as
11935 selectNextWordToSpellcheck.
11937 * text.C (selectNextWordToSpellcheck): Modified to not select
11938 words inside an ERT inset.
11940 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11942 * lyx_cb.C (MenuLayoutSave): change a bit the question
11944 * sp_base.h: include <sys/types.h>
11946 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11948 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11950 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11952 * several files: fix typos in user-visible strings
11954 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11956 * text2.C (pasteSelection): do not set the selection, since it
11957 will be cleared later. Actually, the intent was to fix the way the
11958 selection was set, but I figured rmoving the code was just as good.
11960 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11962 * FontLoader.C (available): Check if font is available without
11965 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11967 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11969 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11971 * lyxrc.[Ch]: added display_graphics variable and associated code.
11973 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11975 * bufferparams.C (hasClassDefaults): new method. Returns true if
11976 the buffer parameters correspond to known class defaults
11978 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11980 * XFormsView.C (show): set minimum size to the main window.
11982 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11984 * text2.C (copySelection):
11986 * lyxfind.C (LyXReplace):
11987 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11988 LyXText::selectionAsString.
11990 * paragraph.C (asString): add "label" argument to the second form
11992 * text2.C (selectionAsString): add "label" argument and pass it to
11993 Paragraph::asString.
11995 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11997 * lyx_main.C (commandLineHelp): remove version information
11999 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12001 * lyx_main.C: add -version commandline option
12003 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12005 * paragraph.h: make the optional constructor arg required instead.
12006 some modifications to other files because of this.
12008 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12010 * lyxserver.C (C_LyXComm_callback): make it static
12012 * lyx_main.C (error_handler): make it static
12014 * lyx_gui.C (LyX_XErrHandler): make it static
12016 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12018 * WorkArea.C: make the extern "C" methods static.
12020 * Makefile.am (lyx_LDADD): simplify
12022 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12024 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12025 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12027 * LyXAction.C (init):
12028 * lyxfunc.C (dispatch): associated code removal.
12030 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12032 * lyxfont.h (isSymbolFont): shut off warning
12034 * text.C (setHeightOfRow):
12035 (getVisibleRow): fix crash with empty paragraphs which have a
12038 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12040 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12043 2001-09-04 José Matos <jamatos@fep.up.pt>
12046 * tabular.C (docbook): rename docBook method to docbook.
12048 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12050 * Makefile.am: add dependencies to main.o.
12052 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12054 * FontLoader.C (available): Return false if !lyxrc.use_gui
12056 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12058 * FontInfo.C (query):
12059 * converter.C (view):
12060 * importer.C (Import):
12061 * exporter.C (Export): Can not -> cannot.
12063 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12065 * BufferView_pimpl.C: allow to create index inset even if
12068 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12070 * buffer.C (getLists): replace boost::tie code with an explicit pair
12071 as boost::tie can break some compilers.
12073 * iterators.h: Added a std:: declaration to the return type of
12076 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12078 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12081 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12083 * iterators.[Ch]: New files. Provide paragraph iterators.
12085 * buffer.C (changeLanguage): Use paragraph iterators.
12086 (isMultiLingual): ditto
12088 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12090 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12092 * FontLoader.C: Support for cmr font.
12094 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12096 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12097 (available): New method.
12099 * FontInfo.C (getFontname): Use scalable fonts even when
12100 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12103 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12105 * converter.C (Formats::view): reverted! Incorrect fix.
12107 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12109 * converter.C (Formats::view): only output the -paper option
12110 if the dvi viewer is xdvi, thereby fixing bug #233429.
12112 2001-08-23 Herbert Voss <voss@perce>
12114 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12116 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12118 * Spacing.h (Spacing): Set space to Default on in the default
12121 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12123 * vc-backend.h (RCS::versionString): add RCS to version
12124 (CVS::versionString): add CVS to version
12126 * vc-backend.C (scanMaster): do not add CVS to version.
12127 (scanMaster): do not add RCS to version
12129 * lyxvc.C (versionString): new method
12131 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12133 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12135 * Spacing.C (set): initialize fval
12137 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12139 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12142 2001-08-16 Juergen Vigna <jug@sad.it>
12144 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12146 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12148 * BufferView_pimpl.C:
12151 * text2.C: setParagraph takes linespacing now
12153 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12155 * LyxAction.C: add internal LFUN_CITATION_INSERT
12157 * LyXView.C: actually apply fix
12159 * bufferlist.C: fix open non-existent file
12161 * lyxfind.C: fix indentation
12163 * lyxfunc.C: remove unneeded assert, fix typo
12165 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12167 * MenuBackend.C: use "Floatname List"
12169 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12171 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12172 when converting LaTeX layout to insetERT.
12173 Generate a non-collapsed float when reading old float
12175 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12177 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12180 2001-08-13 Juergen Vigna <jug@sad.it>
12182 * text.C (fill): return 0 instead of 20 as this seems to be the more
12185 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12187 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12190 2001-08-13 Juergen Vigna <jug@sad.it>
12192 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12194 (SearchBackward): comment out the unlocking of the inset_owner this
12195 should not be needed!
12197 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12199 * Many files: Remove inherit_language, and add latex_language
12201 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12202 collapsible insets.
12204 2001-08-10 Juergen Vigna <jug@sad.it>
12206 * text.C (prepareToPrint): fixed hfill-width in draw!
12208 * BufferView2.C (selectLastWord): save the selection cursor as this
12209 now is cleared in the function LyXText::clearSelection!
12211 2001-08-08 Juergen Vigna <jug@sad.it>
12213 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12214 BACKSPACE type functions.
12216 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12217 is only cutted from the document but not put in the cut-buffer, where
12218 still the old stuff should be.
12220 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12222 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12224 * tabular.C (SetWidthOfCell): fixed special case where the width
12226 (LeftLine): handle '|' in align_special.
12228 (LeftAlreadyDrawed): ditto
12229 (SetWidthOfCell): ditto
12231 2001-08-07 Juergen Vigna <jug@sad.it>
12233 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12235 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12237 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12238 * lyxlex.[hC]: ditto
12240 2001-08-06 Juergen Vigna <jug@sad.it>
12242 * text.C (getVisibleRow): fix up row clearing a bit.
12244 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12246 * minibuffer.C: make sure the X server sees the changes in the input.
12248 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12250 * paragraph.C (getFont): split into...
12251 (getLabelFont): this
12252 (getLayoutFont): and this
12253 * paragraph_pimpl.C (realizeFont): calling this
12255 * text2.C (getFont): split into...
12256 (getLayoutFont): this
12257 (getLabelFont): and this
12258 (realizeFont): all three calling this
12260 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12263 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12265 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12267 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12269 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12270 layouts from the Quote inset insertion.
12272 2001-08-03 Juergen Vigna <jug@sad.it>
12274 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12276 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12277 only if status not is already CHANGED_IN_DRAW (second level).
12279 * text.C (draw): don't set the need_break_row when inside an
12282 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12284 * buffer.C (parseSingleLyXformat2Token): handle more latex
12287 * bufferview_funcs.[hC]: change function names to
12288 begin with small char, adjust other files.
12290 2001-08-02 André Pönitz <poenitz@gmx.net>
12293 BufferView_pimpl.C: remove broken special code for math-greek
12295 2001-08-02 Juergen Vigna <jug@sad.it>
12297 * BufferView_pimpl.C (update): redone this function so that we
12298 update the text again if there was a CHANGE_IN_DRAW.
12300 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12301 (drawFromTo): added a new internal bool which is used by draw() and
12303 (general): some cursor drawing problems fixed.
12305 2001-08-01 Juergen Vigna <jug@sad.it>
12307 * lyxfind.C (LyXFind): fixed
12308 (SearchForward): ditto
12309 (SearchBackward): ditto
12311 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12312 spurius drawing of the cursor in the main area.
12314 * text2.C (status): small fix which could lead to a segfault!
12315 (clearSelection): remove unneeded BufferView param.
12317 2001-08-01 André Pönitz <poenitz@gmx.net>
12319 * lyxfunc.C: small change due to changed mathed interface
12321 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12323 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12325 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12327 * lyxfunc.c: fail gracefully if file doesn't exist
12332 * BufferView_pimpl.C: IsDirWriteable() proto changed
12334 * LyXView.C: fix updateWindowTitle() to store the last title
12336 2001-07-31 Juergen Vigna <jug@sad.it>
12338 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12339 the font (wrong since using of Paragraph::highestFontInRange).
12341 * paragraph.C (highestFontInRange): added a default_size parameter.
12343 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12344 (setHeightOfRow): reformat
12346 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12348 * converter.[hC] + affected files: move to (inital-char)lowercase
12351 * ParagraphParameters.C (ParagraphParameters): remove commented code
12353 * PainterBase.[Ch]: remove commented code
12355 * LaTeXFeatures.h: add "bool floats" for float.sty
12357 * LaTeXFeatures.C (LaTeXFeatures): init floats
12358 (require): handle float
12359 (getPackages): do it with floats
12361 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12363 * BufferView_pimpl.C (Dispatch): improve handling of
12364 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12366 * commandtags.h: #include lyxfont.h here temporarily to avoid
12369 * bufferlist.h: include LString.h here.
12371 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12373 * text2.C (getStringToIndex): new method.
12375 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12377 * *: Reduced header file dependencies all over.
12379 2001-07-30 Baruch Even <baruch@lyx.org>
12381 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12383 2001-07-29 Baruch Even <baruch@lyx.org>
12385 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12387 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12389 * ParameterStruct.h (endif): add a default constructor to make
12390 sure that all variables is initialized.
12392 * ParagraphParameters.C (ParagraphParameters): adjust
12394 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12396 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12397 index; also, check that there is something to index, and that it
12398 does not span over several paragraphs.
12399 (doubleClick): use WHOLE_WORD_STRICT for double click.
12401 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12403 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12406 2001-07-26 Baruch Even <baruch@lyx.org>
12408 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12409 an InsetFig figure, backwards compatible reading of old figure code.
12411 2001-07-27 Juergen Vigna <jug@sad.it>
12413 * text2.C: font.realize function adaption.
12415 * text.C (draw): add a warnings lyxerr text if needed.
12417 * layout.C: font.realize function adaption.
12419 * language.C: add inherit_language and implement it's handlings
12421 * bufferview_funcs.C (StyleReset): remove language parameter from
12422 font creation (should be language_inherit now).
12424 * bufferparams.C (writeFile): handle ignore_language.
12426 * paragraph.C (getFontSettings): the language has to be resolved
12427 otherwise we have problems in LyXFont!
12429 * lyxfont.C (lyxWriteChanges): added document_language parameter
12430 (update): removed unneeded language parameter
12432 * paragraph.C (validate): fixed wrong output of color-package when
12433 using interface colors for certain fonts in certain environments,
12434 which should not seen as that on the final output.
12436 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12438 * BufferView_pimpl.C:
12443 * LyXAction.C: add thesaurus support
12446 * lyxfind.C: add "once" parameter, for thesaurus, to not
12447 move to the next match
12449 2001-07-26 Juergen Vigna <jug@sad.it>
12451 * lyxfont.C (realize): honor ignore_language too!
12454 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12456 * text.C (draw): one place more for ignore_language to not draw
12459 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12461 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12463 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12465 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12466 the minipage conversion problem.
12468 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12470 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12473 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12475 * BufferView.h: don't forward declare WorkArea
12477 * BufferView.C: don't include WorkArea.h
12479 2001-07-25 André Pönitz <poenitz@gmx.net>
12483 * lyxfunc.C: new LFUN 'math-space'
12485 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12487 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12489 * text2.C (toggleInset): call open/close
12491 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12493 * lyxfunc.C (dispatch): add debug for the disabled case
12495 * font.C (buttonText): make similar to rectText
12497 * buffer.C (readInset): comment out parsing of insetlist and
12500 * PainterBase.C (rectText): small correction
12502 * BufferView_pimpl.C: comment out insettheorem and insetlist
12503 * LyXAction.C: ditto
12504 * commandtags.h: ditto
12506 2001-07-24 Juergen Vigna <jug@sad.it>
12508 * text.C (draw): honor the ignore_language.
12510 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12512 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12514 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12517 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12519 * lyxtext.h: remove unused (and unimplemented) methods
12521 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12523 * text.C (getVisibleRow): honor background color
12526 * Painter.h: remove default color argument for fillRectangle
12528 * text.C (backgroundColor): new method
12530 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12532 * text.C (getVisibleRow): adjust
12534 * font.[Ch] (rectText): new method, metrics
12535 (buttonText): new method, metrics
12537 * PainterBase.[hC]: make rectText and buttonText always draw and take
12540 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12542 * ToolbarDefaults.C (read):
12543 * MenuBackend.C (read): allow escaping in all strings
12545 * BufferView_pimpl.C (insertAndEditInset): new method.
12546 (Dispatch): use insertAndEditInset whenever appropriate.
12548 * BufferView_pimpl.C (insertNote): removed
12550 * BufferView_pimpl.C (smartQuote): new method, moved from
12551 BufferView; if an insetquote cannot be inserted, insert a '"'
12554 * BufferView2.C: remove insertCorrectQuote();
12556 * lyxfunc.C (getStatus): Add support for all remaingin
12557 inset-insert lfuns.
12559 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12561 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12562 command (necessary to pass " as parameter of self-insert.
12564 * text.C (selectWordWhenUnderCursor):
12565 (selectWord): add word_location parameter
12566 (selectWordWhenUnderCursor): same + remove special code for word
12568 (selectNextWord): use kind() to guess type of insetspecialchar,
12571 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12572 (insertErtContents): create ert insets as collapsed.
12573 (readInset): better compatibility code for Info inset.
12575 2001-07-20 Juergen Vigna <jug@sad.it>
12577 * lyxfunc.C (dispatch): use always LyXFind now!
12579 * text2.C (init): add a reinit flag so that the LyXText can be
12580 reinited instead of deleted and reallocated (used in InsetText).
12582 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12588 2001-07-18 Juergen Vigna <jug@sad.it>
12590 * text.C (selectNextWord): handle insets inside inset by calling
12591 always the bv->text functions so that we can go up the_locking_inset!
12593 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12594 in strange locations when inside an inset!
12596 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12597 handling to include insets.
12599 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12601 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12603 * LyXAction.C (init):
12605 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12606 LIGATURE_BREAK, since the name is so stupid.
12608 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12610 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12613 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12615 * sp_form.[Ch]: remove.
12617 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12619 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12622 * src/buffer.C (readInset): ditto.
12624 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12626 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12627 menuSeparator(), endOfSentenceDot(), ldots() and
12628 hyphenationPoint(), which are therefore removed.
12629 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12631 * LyXAction.C (init):
12632 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12634 * paragraph.C (getWord): removed.
12636 * BufferView_pimpl.C (Dispatch): use last word or selection for
12637 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12639 * lyx_main.C (queryUserLyXDir): do not ask before creating
12640 user_dir, except if it has been named explicitely.
12642 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12644 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12645 a document of zero size.
12647 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12649 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12650 approriately in the c-tor and in require().
12651 (getPackages): output the appropriate LaTeX for natbib support.
12653 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12654 variables "use_natbib" and "use_numerical_citations" when reading the
12656 (readInset): read the various natbib cite commands.
12657 (validate): white-space change.
12659 * bufferparams.[Ch]: new variables "bool use_natbib" and
12660 "bool use_numerical_citations".
12661 (writeFile): output them in the LyX file.
12663 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12665 * lyxfunc.C (getStatus): add support for all the inset insertion
12668 * text2.C (insertInset):
12669 * paragraph.C (insetAllowed):
12670 * BufferView_pimpl.C (insertInset): update to take in account the
12671 renaming of insertInsetAllowed
12673 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12675 * text2.C (getInset): new method. returns inset at cursor position.
12677 * BufferView_pimpl.C (Dispatch): changes because of this.
12679 * LyXAction.C (init): rename open-stuff to inset-toggle.
12681 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12683 * text2.C (toggleInset): renamed from openStuff; use
12686 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12688 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12690 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12692 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12694 * buffer.C (readLyXformat2): Add filename to the error dialog
12696 2001-07-18 Juergen Vigna <jug@sad.it>
12698 * tabular.C (GetCellNumber): put an assert here instead of the check!
12700 2001-07-17 Juergen Vigna <jug@sad.it>
12702 * BufferView_pimpl.C (toggleSelection): adapted too.
12704 * text.C (selectNextWord): adapted for use with insets.
12705 (selectSelectedWord): ditto
12707 2001-07-17 Juergen Vigna <jug@sad.it>
12709 * sp_spell.C (PSpell): fix initialitation order.
12711 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12713 * paragraph.C: spacing
12715 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12717 * sp_spell.C: repair language selection for pspell
12719 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12721 * lyxfunc.h: change more methods to begin with lower char.
12723 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12725 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12726 for unknown layouts.
12728 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12730 * buffer.C (readLyXformat2): Generate an error dialog if there are
12733 2001-07-16 Juergen Vigna <jug@sad.it>
12735 * sp_spell.C: always compile ISpell part.
12737 * lyxrc.C: added use_pspell entry and it's handling.
12739 2001-07-13 Juergen Vigna <jug@sad.it>
12741 * sp_spell.C: removed double includes.
12743 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12745 Consistent use of Lsstream.h:
12746 * Lsstream.h: added using std::stringstream for consistencies sake.
12748 * buffer.C: removed using std::stringstream
12750 * lyxfont.C (stateText):
12751 * paragraph.C (asString):
12752 * text.C (selectNextWord, selectSelectedWord):
12753 * text2.C (setCounter):
12754 * vspace.C (asString, asLatexString):
12755 std::ostringstream -> ostringstream.
12757 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12759 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12760 * commandtags.h: add LFUN_HELP_ABOUTLYX
12761 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12763 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12765 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12767 * lyx_gui_misc.C: remove spellchecker
12768 * lyxfunc.C: showSpellchecker
12770 * sp_ispell.h: added
12771 * sp_pspell.h: added
12772 * sp_spell.C: added
12773 * sp_form.[Ch]: removed
12774 * spellchecker.[Ch]: removed
12776 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12778 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12780 (simpleTeXSpecialChars): Simply print the input character without
12781 any special translation if pass_thru is set.
12783 * layout.h: Added bool pass_thru to layout class for being able to
12784 implement pass through of a paragraph for Literate Programming.
12786 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12787 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12788 * layout.C (Read): add "passthru" to list of layout tags and add
12789 code to set the pass_thru boolean when it is read.
12791 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12793 * trans_decl.h: remove allowed from KmodInfo
12795 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12796 remove allowed code
12799 * paragraph_pimpl.C (erase): use boost::prior
12801 * Painter.C (text): use data() instead of c_str() when length is
12803 * WorkArea.C (putClipboard): ditto
12804 * font.h (width): ditto
12806 * BufferView2.C: use it-> instead of (*it). for iterators
12808 * paragraph_pimpl.C: ditto
12809 * paragraph.C: ditto
12810 * minibuffer.C: ditto
12811 * language.C: ditto
12813 * encoding.C: ditto
12814 * counters.C: ditto
12815 * converter.C: ditto
12817 * Variables.C: ditto
12818 * TextCache.C: ditto
12819 * MenuBackend.C: ditto
12820 * LyXAction.C: ditto
12822 * FloatList.C: ditto
12823 * DepTable.C: ditto
12824 * ColorHandler.C (LyXColorHandler): ditto
12826 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12828 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12830 * text2.C (openStuff): reintroduce this method (which had been
12831 nuked in NEW_INSETS frenzy).
12833 * lyxfunc.C (Dispatch): when an action has not been handled, use
12834 its name in the error message, not its number.
12836 * paragraph.C (inInset): change method name to begin with lowercase.
12839 * text2.C: updates because of this.
12841 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12843 * ToolbarDefaults.C (add): add spaces in error message
12845 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12847 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12848 (readLyXformat2): rename return_par to first_par, use lyxlex's
12849 pushToken and remove the manual push handling.
12850 (parseSingleLyXformat2Token): add another ert comp. variable:
12851 in_tabular, rename return_par to first_par. handle newlines better
12853 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12855 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12857 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12859 * text2.C (getParFromID): removed
12861 * buffer.C (getParFromID): new method moved form lyxtext.
12862 * BufferView2.C (insertErrors): adjust
12863 (setCursorFromRow): adjust
12864 * BufferView_pimpl.C (restorePosition): adjust
12865 * lyxfunc.C (Dispatch): adjust
12866 * undo_funcs.C (textUndo): adjust
12868 (textHandleUndo): adjust
12869 (textHandleUndo): adjust
12871 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12873 * buffer.C: up' the LYX_FORMAT
12875 * lyxfont.h: turn NO_LATEX on as default
12877 * buffer.C (insertErtContents): new methods of tex style compability.
12878 (parseSingleLyXformat2Token): use it several places.
12879 * tabular.C (OldFormatRead): and here
12881 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12883 * text2.C: remove some commented code.
12886 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12887 * trans.C: changes because of the above.
12889 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12891 * text2.C (setCounter): Fix counters bug with bibliography layout.
12893 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12895 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12896 own member functions
12897 (simpleTeXSpecialChars): ditto
12899 2001-07-06 Juergen Vigna <jug@sad.it>
12901 * a lot of files: changed the access to LyXText::status and the
12902 call of undo-functions.
12904 * undo.[Ch]: added a inset_id to the undo informations.
12906 * undo_funcs.[Ch]: added and moved here all undo functions.
12908 * lyxtext.h: give the status enum a weight, made status_ a private
12909 variable and made accessor functions for it, removed the whole bunch
12910 of undo-functions as they are now in their own file, make some
12911 functions publically available. Added function ownerParagraph with
12914 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12915 made InInset() a const function, added getParFromID() function.
12917 * buffer.[Ch]: added const version for inset_iterator functions,
12918 added getInsetFromID() function.
12920 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12921 changed undo functions for new version.
12923 2001-07-05 Juergen Vigna <jug@sad.it>
12925 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12926 unknow mechanism does not call the proper constructor but only this
12927 one also if I request the other!?
12929 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12931 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12933 * text2.C (LyXText): use initialization lists.
12935 * lyxtext.h (Selection): initialize set_ and mark_
12936 (init): remove method
12938 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12940 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12942 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12944 * screen.[Ch]: change method names to begin with lowercase
12946 * BufferView_pimpl.C (updateScrollbar): simplify further and
12947 hopefully make it a bit faster.
12949 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12951 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12952 calling directly xforms functions.
12954 * Painter.C (Painter):
12955 * lyx_cb.C (MenuWrite):
12956 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12959 * lyx_gui.C: remove bogus guiruntime extern declaration.
12961 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12963 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12965 (redoDrawingOfParagraph): ditto
12966 (redoParagraphs): ditto
12967 (cutSelection): don't create a object for CutAndPaste use the
12968 static method directly
12969 (pasteSelection): ditto
12971 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12974 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12976 * modifications to some other files because of this.
12978 * Makefile.am (lyx_SOURCES): add XFormsView
12980 * XFormsView.[Ch]: new files
12982 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12983 the main window. Move the gui dependent stuff to XFormsView
12985 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12987 * tabular.C (GetCellInset): update cur_cell also in the row/col
12988 version of this function.
12990 * lyxfunc.C: no need to include figure_form.h here.
12996 * lyxvc.C: no need to include forms.h here.
12998 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13000 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13002 * lyxfunc.C (Dispatch):
13004 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13005 constructor argument.
13007 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13009 * paragraph.C (Paragraph): dont't clear, and just set layout.
13010 (makeSameLayout): use params's copy contructor.
13012 * ParagraphParameters.[Ch] (makeSame): delete method
13014 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13016 * Variables.[Ch]: fix indentation, rename set to isSet
13018 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13020 * lyxfunc.C (Dispatch): fix typo
13022 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13024 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13027 * bufferlist.C: include assert.h for emergencyWrite().
13029 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13031 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13032 give up at last (bug #425202) !
13034 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13040 * spellchecker.C: strip spellchecker options and bring up
13041 preferences tab instead
13043 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13045 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13046 the istringstream constructor
13048 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13050 * paragraph.C (getLayout): fix return value
13052 * paragraph.h: do not declare getLayout as inline.
13054 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13056 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13058 * lyxcursor.h (operator<): new func
13059 (operator>): new func
13060 (operator>=): new func
13061 (operator<=): new func
13063 * text.C (changeCase): use selection.start and selection.end
13064 (changeRegionCase): require from to be <= to. Require par to be a
13067 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13069 2001-06-27 Juergen Vigna <jug@sad.it>
13071 * text.C (cursorLeftOneWord): changed to return the cursor and added
13072 overlay with BufferView * parameter which calls this one.
13074 (selectWord): use new getWord function.
13075 (changeCase): renamed from changeWordCase as and extended to work
13076 also on selections.
13078 * lyxtext.h: added enum word_location
13080 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13081 changeCase as this operates now also on selections.
13083 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13085 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13087 * many files: send debug output to Debug::INFO instead of
13090 * converter.C (View):
13092 (Move): send debug output to Debug::FILES instead of console.
13094 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13096 * lyxfunc.C (getStatus): use func_status
13098 * func_status.h: new header, describing the results of
13099 LyXFunc::getStatus;
13101 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13104 2001-06-25 The LyX Project <jug@sad.it>
13106 * buffer.C (sgmlOpenTag):
13108 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13110 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13112 * text2.C: remove some dead code
13114 * tabular.C (GetCellInset): store the last cell checked (gotten)
13116 * tabular.h: add the helper for the speedup
13118 * lyxtext.h: remove some dead code
13120 2001-06-26 The LyX Project <Asger>
13122 * paragraph.C: Change export to LaTeX of alignment to
13123 \begin{center} and family for better roundtrip work with reLyX.
13125 * Tune the math drawing a bit.
13127 2001-06-25 The LyX Project <Asger>
13129 * LColor.C (LColor): New color for math background. New color
13132 2001-06-25 The LyX Project <jug@sad.it>
13134 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13136 * lyxfunc.C (Open):
13137 * bufferlist.C (newFile): do not restrict to files ending with
13140 * BufferView_pimpl.C (MenuInsertLyXFile):
13142 2001-06-24 The LyX Project <jug@sad.it>
13144 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13147 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13149 * lyxtext.h: rename most methods to begin with a small char.
13150 Lots of changes because of this.
13152 * paragraph.C (Paragraph): do not call fitToSize
13153 (erase): call Pimpl::erase
13154 (insertChar): call Pimpl::insertChar
13155 (insertInset): call Pipl::insertInset
13156 (breakParagraph): do not call fitToSize
13157 (breakParagraphConservative): do not call fitToSize
13158 (fitToSize): remove method
13160 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13162 2001-06-24 The LyX Project <Asger>
13164 * Fix Qt compilation^2
13166 2001-06-24 The LyX Project <jug@sad.it>
13168 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13169 depthHook(getDepth()-1).
13172 * ParagraphParameters.h:
13173 * ParameterStruct.h: change type of depth to unsigned int ==
13174 depth_type. Many adaptations to other files before of that.
13176 2001-06-24 The LyX Project <Asger>
13178 * Fix Qt compilation.
13180 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13182 * paragraph.h: renamed several methods to begin with small letter.
13183 several changes to many parts of the code because of this.
13185 2001-06-23 The LyX Project <jug@sad.it>
13187 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13188 rewritten to discard all double spaces when KeepEmpty is off
13189 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13190 to only handle newlines but not fiddle with spaces and friends.
13192 * lyxfunc.C (MenuNew): when doing 'new from template', use
13193 template_path as default directory
13195 2001-06-23 The LyX Project <Asger>
13197 * Clean-up of header file includes all over
13198 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13200 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13202 * paragraph.h: renamed from lyxparagraph.h
13204 2001-06-23 Asger <lyx@violet.home.sad.it>
13206 * Buffer.h: Removed Buffer::resize
13207 * BufferList.h: Removed BufferList::resize
13208 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13209 the document lazily when we change the width, or the font settings.
13211 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13213 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13215 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13217 * buffer.h: remove out of date comment
13219 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13222 * screen.C: fix "theoretical" GC leak
13224 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13226 * LaTeX.C (scanAuxFile):
13227 (deplog): remove trailing \r when reading stream (useful under
13230 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13232 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13233 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13234 and BufferView::theLockingInset(Inset*), so should use them and not
13235 access bv_->text->the_locking_inset directly.
13237 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13239 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13242 * tex-defs.h: remove old unused file
13244 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13246 * BufferView_pimpl.C: fix typo, remove minibuffer message
13247 when buffer has loaded
13249 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13251 * lyxfunc.C (Dispatch): use stringstream
13252 (MenuNew): use stringstream
13253 (Open): use stringstream
13255 * importer.C (Import): use stringstream
13257 * bufferview_funcs.C (CurrentState): use stringstream
13259 * LaTeX.C (run): use stringstream
13261 * BufferView_pimpl.C (savePosition): use stringstream
13262 (restorePosition): use stringstream
13263 (MenuInsertLyXFile): use stringstream
13265 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13278 * vspace.C: removed // -*- C++ -*- as first line.
13281 * version.h: added // -*- C++ -*- as first line.
13283 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13285 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13287 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13290 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13292 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13295 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13297 * gettext.C: include LString.h even when --disable-nls is on.
13299 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13301 * converter.h (Get): changed argument type from int to
13302 FormatList::size_type to avoid unnecessary conversion.
13304 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13307 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13309 * gettext.h: include LString.h even when --disable-nls is on.
13311 2001-06-07 Juergen Vigna <jug@sad.it>
13313 * text.C (BreakAgain): subst spaces with tabs.
13315 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13316 (resizeInsetsLyXText): set force on resizeLyXText.
13318 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13320 * gettext.h (gettext_init):
13321 (locale_init): use a real definition instead of a macro
13323 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13325 * Bufferview_pimpl.C:
13327 * LColor.C: further lcolor tidies
13329 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13331 * BufferView_pimpl.C (updateScrollbar): simplify.
13333 * BufferView2.C: don't include insets/insetinfo.h, change
13334 prototype for insertInset and call the Pimpl version. let
13335 updateInset call Pimpl version.
13337 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13338 gotoInset to BufferView::Pimpl
13340 2001-06-01 Juergen Vigna <jug@sad.it>
13342 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13343 inside a LockingInset (is the update needed at all?).
13345 2001-05-31 Juergen Vigna <jug@sad.it>
13347 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13348 here not the old one otherwise how should we compare it afterwards
13351 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13356 * FontInfo.C: bring C functions into global namespace when
13359 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13361 * LString.h: make sure config.h has been loaded before LString.h.
13363 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13364 (one for each char read by EatLine!).
13366 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13369 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13371 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13372 to the same as the par we break from
13374 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13376 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13378 * MenuBackend.C (expand): also create menu entries for wide
13379 versions of the floats.
13381 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13383 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13385 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13386 frontends/Makefile.am
13392 * tabular.C (getTokenValue): add std::
13394 * tabular-old.C (getTokenValue): add std::
13395 (getTokenValue): ditto
13396 (getTokenValue): ditto
13398 * screen.C (ToggleSelection): adjust
13400 * lyxtext.h: put selection cursors inside a Selection struct.
13402 * lyxfunc.C (moveCursorUpdate): adjust
13404 * lyxfont.C (latexWriteStartChanges): add std::
13406 * lyxfind.C: adjust
13408 * font.h: delete with(char const *, LyXFont const &)
13410 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13412 * FontInfo.C (getFontname): add std::
13414 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13415 (workAreaButtonPress): adjust
13416 (tripleClick): adjust
13418 (moveCursorUpdate): adjust
13421 * BufferView2.C (gotoInset): adjust
13423 2001-05-30 Juergen Vigna <jug@sad.it>
13425 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13426 to check pspell I add this as default as I now have new pspell
13427 libraries and they seem to use this.
13429 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13431 * text2.C (CutSelection): make the cursor valid before the call to
13434 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13436 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13437 relied on 0 terminated strings and other horrors. Bug found due to
13438 the new assert in lyxstring!
13440 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13443 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13445 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13448 * lyxfunc.C (processKeySym): change method of getting to the
13451 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13452 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13453 * BufferView_pimpl.[Ch]: here as private methods.
13455 2001-05-28 Juergen Vigna <jug@sad.it>
13457 * text.C (SetHeightOfRow): added the update() call again as it is
13458 needed to initialize inset dimensions!
13460 2001-05-16 Juergen Vigna <jug@sad.it>
13462 * text2.C (SetCharFont): Add new function with BufferView * and
13463 bool toggleall parameters for setting insets internal fonts.
13464 (SetFont): Freeze the undo as we may change fonts in Insets and
13465 all this change should be inside only one Undo!
13467 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13468 setting font's in insets as for them we have the SetFont function!
13470 2001-05-15 Juergen Vigna <jug@sad.it>
13472 * text2.C (ClearSelection): to be sure we REALLY don't have any
13475 * tabular.C (TeXCellPreamble): fixed the left border problem for
13478 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13480 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13483 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13485 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13486 LFUN_BREAKPARAGRAPH.
13488 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13489 help test to "internal only", similar for LFUN_INSERT_URL
13491 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13492 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13493 auto_region_delete and deadkeys.
13495 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13498 * LColor.C: remove some dead entries, tidy a little
13500 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13502 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13504 (Dispatch): implement LFUN_ESCAPE
13506 * commandtags.h: add LFUN_ESCAPE
13508 * LyXAction.C (init): add entry for LFUN_ESCAPE
13510 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13511 Remove commented code.
13512 (insertNote): moved here
13513 (open_new_inset): moved here
13515 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13518 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13520 * kbmap.C (findbinding): clean it up and make it work correctly.
13522 * lyx_main.C (init): do not pass argc and argv as parameters
13524 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13526 * buffer.C: fix path for OS/2 & Win32
13530 * lyx_main.C: Added os:: class.
13532 * os2_defines.h: update
13534 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13536 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13537 better by trying again with reduced state.
13539 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13541 * lyxrc.C (read): print error about invalid key sequence only when
13542 debugging (because not all latinX keysyms are known to some X
13545 * kbsequence.C (getiso): add a few std:: qualifiers
13546 (getiso): comment out extra return statement.
13548 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13550 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13552 (Dispatch): enhance the accent inset a bit. (not perfect)
13554 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13556 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13558 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13560 * bufferlist.C (emergencyWrite): fix assert() call
13562 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13564 * text.C (InsertChar): Added trivial patch to only send the "you
13565 can not do multiple spaces this way" message once during a
13568 2001-05-08 Baruch Even <baruch@lyx.org>
13570 * Makefile.am: Changed order of libraries to get LyX to link properly
13571 with the gnome frontend.
13573 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13575 * LaTeXFeatures.h: add a std:: qualifier
13577 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13579 * paragraph.C (String): use stringstream
13581 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13583 * paragraph.C (writeFile): remove footflag arg
13585 * buffer.C (makeLaTeXFile): use stringstream
13586 (latexParagraphs): remove footnot gurba
13588 * LaTeXFeatures.C (getPackages): use stringstream
13589 (getMacros): likewise
13590 (getTClassPreamble): likewise
13591 (getFloatDefinitions): new method
13593 * paragraph.C (writeFile): reindent
13596 * WorkArea.h: revert the xpos + etc changes.
13598 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13600 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13602 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13603 (pasteSelection): likewise
13604 * text2.C (CreateUndo): likewise
13606 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13608 * minibuffer.C (peek_event): temporarily reduce the functionality
13609 of the minibuffer (to allow args on lfuns)
13611 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13612 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13614 * buffer.C (readInset): add compability reading of old float
13615 lists, add reading of new style float list.
13616 (readInset): avoid reevaluation of inscmd.getCmdName()
13617 (getLists): reindent
13619 * MenuBackend.C (MenuItem): implement parsing of
13620 md_floatlistinsert and md_floatinsert.
13621 (expand::LastFiles): move initalizaton of iterators out of loop,
13622 avoid reevaluation.
13623 (expand::Documents): introduce typdedef vector<string> Strings,
13625 (expand::ExportFormats): introduce typedef vector<Format const *>
13626 Formats, and use it.
13627 (expand): implement FloatListInsert and FloatInsert.
13629 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13630 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13631 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13633 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13635 (Dispatch::LFUN_FLOAT_LIST): implement
13637 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13639 * LaTeX.C (run): Fix problem with --export code.
13641 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13643 * BufferView.[Ch] (workarea): removed.
13644 (getClipboard) new method; wrapper for workarea()->getClipboard()
13646 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13649 * WorkArea.h (width, height, xpos, ypos): These methods all
13650 returned the dimensions of the work_area sub-area of WorkArea,
13651 resulting in a position error if the WorkArea were resized. Now
13652 return the dimensions of the entire WorkArea.
13654 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13656 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13658 * LaTeX.C (deplog): correct the syntax of regex reg1
13660 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13662 * undo.C: remove !NEW_INSETS cruft
13664 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13666 * text2.C: remove !NEW_INSETS cruft
13668 * text.C: remove !NEW_INSETS cruft
13670 * tabular.C: remove !NEW_INSETS cruft
13672 * spellchecker.C: remove !NEW_INSETS cruft
13674 * lyxtext.h: remove !NEW_INSETS cruft
13676 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13678 * lyxfunc.C: remove !NEW_INSETS cruft
13680 * lyxfind.C: remove !NEW_INSETS cruft
13682 * lyx_cb.C: remove !NEW_INSETS cruft
13684 * figureForm.C: remove !NEW_INSETS cruft
13686 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13688 * buffer.[Ch]: remove !NEW_INSETS cruft
13690 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13692 * CutAndPaste.C: remove !NEW_INSETS cruft
13694 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13696 * BufferView2.C: remove !NEW_INSETS cruft
13698 * BufferView.h: remove !NEW_INSETS cruft
13700 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13702 * Lsstream.h: include LString.h before the sstream headers to
13703 fix problem with gcc 2.95.3 and lyxstring
13705 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13707 * lyx_main.C: add using directives when needed for C functions
13708 declared in std:: namespace.
13710 2001-04-27 Juergen Vigna <jug@sad.it>
13712 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13713 (SetHeightOfRow): comment out the update call should not be needed!
13715 2001-04-13 Juergen Vigna <jug@sad.it>
13717 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13718 (LyXTabular): tried to minimize operator= operations (and realized
13719 hopfully Lars wish).
13721 2001-04-27 Juergen Vigna <jug@sad.it>
13723 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13725 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13727 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13729 * buffer.C (readInset): hack to make listof algorithm work
13731 * BufferView_pimpl.C: hack to make listof algorithm work
13733 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13735 * LyXAction.C: removed all !NEW_INSETS cruft
13736 (init): moved lfun_item in method
13738 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13740 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13742 * BufferView2.C (theLockingInset): white space.
13744 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13746 * minibuffer.C: include <iostream>
13748 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13750 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13752 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13754 * text.[Ch] (TransposeChars): new method
13756 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13758 * call message directly through LyXView instead of through LyXFunc
13759 * BufferView2.C: adjust
13760 * BufferView_pimpl.C: adjust
13761 * FontLoader.C: adjust
13763 * bufferview_funcs.C: adjust
13764 * converter.C: adjust
13765 * figureForm.C: adjust
13766 * importer.C: adjust
13768 * lyx_gui_misc.C: adjust
13769 * lyxfunc.C: adjust
13772 + more files in subdirs
13774 * lyxparagraph.h (size): move up int file
13777 * adjust all uses of Assert to lyx::Assert.
13779 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13780 lyxfunctional in namespace lyx
13781 * layout.C (hasLayout): ditto
13784 (delete_layout): ditto
13785 (NumberOfClass): ditto
13786 * converter.C (GetFormat): ditto
13791 * bufferlist.C (getFileNames): ditto
13792 (emergencyWriteAll): ditto
13795 * MenuBackend.C (hasSubmenu): ditto
13798 * BufferView_pimpl.C (getInsetByCode): ditto
13800 2001-04-18 Juergen Vigna <jug@sad.it>
13802 * vspace.C (asLatexString): fixed the 100% problem.
13804 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13806 * lyxfunc.C (Dispatch):
13808 * minibuffer.h: add a few std:: qualifiers
13810 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13812 * minibuffer.[Ch]: reimplement so that commands is initiated and
13813 run from lyxfunc, simplified som handling, and made the completion
13814 and history code for complete. wip.
13816 * lyxfunc.C (processKeySym): call message
13817 (miniDispatch): new temporary method
13818 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13819 (LFUN_MESSAGE): implement
13820 (LFUN_MESSAGE_PUSH): implement
13821 (LFUN_MESSAGE_POP): implement
13822 (initMiniBuffer): the initial/defualt minibuffer message.
13824 * lyxfont.[Ch]: inline some more getters
13826 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13828 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13830 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13831 (AutoSave): use LFUN_MESSAGE
13832 (Reconfigure): ditto
13834 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13836 * figureForm.C: use LFUN_MESSAGE
13838 * converter.C (runLaTeX): use LFUN_MESSAGE
13840 * bufferview_funcs.C: use LFUN_MESSAGE
13842 (changeDepth): ditto
13844 * bufferparams.h: use boost::
13846 * bufferlist.h: inherit privately from noncopyable
13848 * bufferlist.C (loadLyXFile): remove some commented code.
13850 * buffer.C (runChktex): use LFUN_MESSAGE
13852 * ShareContainer.h: inherit privately from noncopyable
13854 * ParagraphParameters.[hC] (depth): inline it.
13856 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13858 (message): new method
13859 (messagePush): ditto
13860 (messagePop): ditto
13861 (show): init minibuffer
13862 (showState): direct call
13864 * LaTeX.[Ch]: inherit privately from noncopyable
13865 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13866 instead of WriteStatus.
13868 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13870 * BufferView_pimpl.C (buffer): don't init minibuffer
13871 (workAreaButtonPress): use LFUN_MESSAGE
13872 (workAreaButtonRelease): ditto
13873 (savePosition): ditto
13874 (restorePosition): ditto
13875 (MenuInsertLyXFile): ditto
13876 (workAreaExpose): don't init minibuffer
13877 (update): remove commented code, simplify
13879 * BufferView2.C (openStuff): use LFUN_MESSAGE
13880 (toggleFloat): ditto
13883 (copyEnvironment): ditto
13884 (pasteEnvironment): ditto
13889 (updateInset): remove some commented code
13891 * lastfiles.h: inherit privately from noncopyable
13894 * lyx_main.h: ditto
13896 * lyxlex_pimpl.h: ditto
13898 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13899 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13900 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13902 * LyXAction.h: inherit privately from noncopyable, add methods
13903 func_begin, func_end, returning iterators to the func map.
13905 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13906 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13907 (func_begin): new method
13908 (func_end): new method
13910 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13912 (copySelection): ditto
13913 (pasteSelection): ditto
13915 * BufferView.C: whitespace change
13916 * BufferView.h: inherit privately from noncopyable
13918 2001-04-16 Allan Rae <rae@lyx.org>
13920 * tabular-old.C (l_getline):
13921 * spellchecker.C (sc_check_word):
13922 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13923 an unrecognised preprocessor directive. So ensure they're wrapped.
13925 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13927 * src/exporter.C (Export): Give an error message when path to file
13930 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13932 * LaTeX.C (deplog): Always check that foundfile exists.
13934 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13937 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13939 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13941 * tabular.[Ch] (getLabelList): implement new method
13943 * minibuffer.h: comment ouf setTiimer
13945 * minibuffer.C (ExecutingCB): constify res
13946 (peek_event): constify s
13947 (Set): constify ntext
13948 (Init): constify nicename
13950 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13952 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13953 (savePosition): use two params to Minibuffer::Set
13954 (restorePosition): ditto
13956 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13958 * lyx_main.C: include language.h
13960 * Makefile.am (lyx_main.o): add language.h
13962 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13968 * CutAndPaste.C: include gettext.h
13970 * lyxfont.h: remove old hack with ON and OFF.
13973 * lyxfont.h: do not include language.h...
13978 * bufferview_funcs.C:
13984 * paragraph.C: ... but do it here instead
13986 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13988 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13990 * tabular.C: small reformat
13992 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13995 (BreakParagraph): ditto
13996 (SetOnlyLayout): ditto
13999 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14002 * lastfiles.C: removed most using decl, add std:: where needed
14004 * buffer.C: ws changes
14006 * MenuBackend.C (class compare_format): put into anon namespace
14007 (expand): constify label, names, action, action2
14010 * text.C (SingleWidth): constify font
14011 (IsBoundary): constify rtl2
14012 (GetVisibleRow): constify ww
14014 * LaTeX.C (deplog): constify logfile
14016 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14018 (workAreaExpose): constify widthChange, heightChange
14020 * lyxrow.C (par): moved
14023 * lyxrow.h: as inlines here
14025 * lyxfont.h (shape): moved from lyxfont.C
14026 (emph): moved from lyxfont.C
14028 * lyxfont.C (LyXFont): use initialization list for all
14030 (shape): move to lyxfont.h as inline
14031 (emph): move to lyxfont.h as inline
14034 2001-04-04 Juergen Vigna <jug@sad.it>
14036 * vspace.C: had to include stdio.h for use of sscanf
14038 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14041 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14042 independent of xforms.
14044 2001-04-02 Juergen Vigna <jug@sad.it>
14046 * spellchecker.C: fixed namespace placing!
14048 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14050 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14051 the LyXParagraph * is 0.
14053 2001-03-29 Juergen Vigna <jug@sad.it>
14055 * vspace.C: added support for %, c%, p%, l%.
14056 (stringFromUnit): added helper function.
14057 (asLatexString): changed to give right results for the %-values.
14059 * buffer.C: convert the widthp in a width%.
14061 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14063 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14066 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14067 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14069 * lyx_cb.[Ch]: see above.
14071 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14075 * lyx.[Ch]: replaced by figure_form.[Ch].
14079 * lyxfunc.C: changed headers associated with above changes.
14081 2001-03-27 Juergen Vigna <jug@sad.it>
14083 * BufferView_pimpl.C: set the temporary cursor right!
14085 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14087 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14089 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14091 * LString.h: removed "using std::getline"!
14093 * BufferView_pimpl.C (Dispatch): changes due to changes in
14094 InsetInclude::Params.
14096 * buffer.C (tag_name): removed redundant break statements as they were
14097 producing lots of warnings with my compiler.
14099 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14101 * LString.h: add "using std::getline" when using the real <string>.
14103 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14105 * buffer.C: removed bitset usage.
14106 PAR_TAG moved to an anonymous name space.
14107 (tag_name): new funtion, also in the anonymous namespace.
14108 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14109 (makeDocBookFile): clean code. Completed transition from string arrays
14111 (SimpleDocBookOnePar): code clean.
14113 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14115 * tabular.C: add some comments.
14117 2001-03-22 Juergen Vigna <jug@sad.it>
14119 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14120 compatibility read a bit and fixed bug with minipage in different
14123 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14125 * buffer.C (pop_tag): removed.
14126 (push_tag): removed.
14127 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14128 array replaced with vector. Added support for CDATA sections.
14129 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14131 (makeDocBookFile): XML conformant declaration of CDATA section,
14132 fixed bug related to <emphasis> in the first paragraph char.
14133 (sgmlOpenTag): exclude empty tags.
14134 (sgmlCloseTag): ditto.
14136 * buffer.h (pop_tag): removed.
14137 (push_tag): removed.
14139 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14141 * language.h (Languages): added size_type and size().
14143 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14145 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14146 response on compability reading of minipages. One probliem is that
14147 the old usage of minipages was «flertydig»
14149 * several files here and in subdirs: don't use static at file
14150 scope use anon namespaces instead.
14152 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14154 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14155 LaTeX output. This is necessary for Literate document
14158 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14160 * buffer.C: insert hfill when needed.
14162 * tabular.C (l_getline): use string::erase, small whitespace change.
14164 * BufferView_pimpl.C: try the anon namespace.
14165 * WorkArea.C: ditto
14167 2001-03-16 Juergen Vigna <jug@sad.it>
14169 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14170 otherwise it won't open options-dialogs.
14172 * buffer.C: honor pextraWidth(p) on converting minipages.
14174 * tabular.C (l_getline): changed the functions to strip trailing \r.
14176 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14178 * BufferView_pimpl.C:
14179 * minibuffer..C: added "using SigC::slot" declaration.
14181 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14183 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14189 * paragraph.C: ditto
14191 * lyxtext.h: NO_PEXTRA
14193 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14195 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14196 * ParameterStruct.h: ditto
14197 * ParagraphParameters.h: ditto
14198 * lyxparagraph.h: ditto
14200 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14202 * buffer.C: add compability for minipage alignment.
14203 (latexParagraphs): remove unwanted pextra check.
14205 * several files: remove CXX_WORKING_NAMESPACES
14207 * buffer.C (pop_tag): tie is in namespace boost
14209 * BufferView.h: noncopyable is in namespace boost
14211 * lyx_main.h: ditto
14214 * lastfiles.h: ditto
14215 * bufferlist.h: ditto
14216 * ShareContainer.h: ditto
14218 * LyXAction.h: ditto
14221 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14223 * Merging changes from BRANCH_MVC back into HEAD.
14225 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14227 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14229 * BufferView_pimpl.C: change from intl.C
14233 * Makefile.am: move combox.*
14239 * intl.C: remove dialog (covered by prefs)
14241 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14243 * lyxfunc.C (Dispatch): removed redundant break statement.
14245 2001-03-14 Juergen Vigna <jug@sad.it>
14247 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14249 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14251 * buffer.C: add hack to fix compability reading of minipages.
14253 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14255 * buffer.C (getLists): Cleanup.
14257 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14259 * lyxfont.C (update): don't honor toggleall on font size.
14261 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14265 * Makefile.am: moved to frontends/xforms/
14269 * BufferView_pimpl.C: changes for moved mathpanel
14271 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14273 * gettext.h: fix gettext_init() in --disable-nls
14275 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14277 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14279 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14282 * lyx.h: strip external form
14284 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14286 * BufferView_pimpl.C: add comment, destroySplash()
14288 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14290 * BufferView_pimpl.C:
14294 * lyxfunc.C: use re-worked insetinclude
14296 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14298 * buffer.C: add using std::stringstream.
14300 * lyx_cb.C: readd using std::ios.
14302 * buffer.C: add using std::map.
14304 * BufferView_pimpl.C: add using std::vector.
14306 * ShareContainer.h: add std:: to swap.
14308 * buffer.h: add some typedefs
14309 * buffer.C (getLists): use them
14310 (getLists): renamed from getTocList.
14311 add a counter for the different float types and use it in the
14313 (getLists): use the same counter for the NEW_INSETS and the "non"
14316 * lyx_cb.h: remove unused items, includes, using etc.
14318 * ShareContainer.h: remove some commented code, add more comments
14319 and "documentation".
14321 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14323 * buffer.C (getTocList): make the list also when NEW_INSETS is
14326 * buffer.h: remove TocType
14328 * buffer.C (getTocList): change to return a map<string,
14329 vector<TocItem> >, implement for dynamic number of list.
14331 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14332 * text2.C (PasteSelection): adjust
14333 * CutAndPaste.C (pasteSelection): adjust
14335 * FloatList.C (FloatList): update from the new_insets branch.
14336 * Floating.[Ch]: ditto
14337 * LaTeXFeatures.C: ditto
14339 * lyxlex_pimpl.C: ditto
14341 * paragraph.C (Last): remove when NEW_INSETS is defined.
14343 * other file: changes because of the above.
14345 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14347 * lyxparagraph.h: rename next to next_, previous to previous_,
14348 make them private for NEW_INSETS. Rename Next() to next(),
14349 Previous() to previous().
14351 * other files: changes because of the above.
14353 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14356 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14359 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14361 * main.C (main): pass lyx_localedir to gettext_init().
14363 * gettext.h: remove locale_init and gettext_init macros
14365 * gettext.C (locale_init): new function
14366 (gettext_init): new function
14368 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14371 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14373 * Moved credits to frontends:
14374 * credits.[Ch]: removed
14375 * credits_form.[Ch]: removed
14376 * lyx_gui_misc.C: remove credits stuff
14379 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14381 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14383 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14384 unneeded destructor.
14386 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14387 a standalone pointer again.
14389 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14391 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14397 * ToolbarDefaults.C:
14406 * BufferView_pimpl.C: use new file dialog in GUII
14409 * lyx_cb.C: remove LayoutsCB to Toolbar
14411 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14413 * ShareContainer.h (get): add std:: qualifier
14415 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14417 * ShareContainer.h: define a proper ShareContainer::value_type
14418 type (and use typename to please compaq cxx)
14420 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14422 * lyxparagraph.h: move serveral local vars to
14423 ParameterStruct/ParagraphParameters., use ShareContainer in
14424 FontTable., make vars in FontTable private and add getter and
14427 * paragraph.C: changes because of the above.
14429 * lyxfont.h: remove copy constructor and copy assignment. (the
14430 default ones is ok), move number inside FontBits. move inlines to
14433 * lyxfont.C: add number to initializaton of statics, move several
14434 inlines here. constify several local vars. some whitespace
14435 cleanup. Dont hide outerscope variables.
14437 * Spacing.h: add two new constructors to match the set methods.
14439 * ShareContainer.h: new file, will perhaps be moved to support
14441 * ParameterStruct.h: new file
14443 * ParagraphParameters.h: new file
14445 * ParagraphParameters.C: new file
14447 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14448 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14450 * BufferView_pimpl.C: ParagraphParameter changes.
14451 * buffer.C: Likewise.
14452 * bufferview_funcs.C: Likewise.
14453 * text.C: Likewise.
14454 * text2.C: Likewise.
14456 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14458 * lyxfind.C (LyXReplace): do not redefine default argument in
14460 (IsStringInText): ditto
14461 (SearchForward): ditto
14462 (SearchBackward): ditto
14464 2001-03-06 Juergen Vigna <jug@sad.it>
14466 * lyxfind.C (IsStringInText): put parentes around expressions.
14468 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14470 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14472 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14474 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14476 * stl_string_fwd.h: add comment
14478 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14481 * tabular.C: remove unused DocBook methods
14487 killed DO_USE_DEFAULT_LANGUAGE
14489 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14491 * lyx_gui.C: do not include language.h.
14493 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14494 arguments in function implementation.
14496 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14498 * BufferView_pimpl.C: add <ctime>
14500 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14502 * BufferView_pimpl.C: add using std::find_if
14504 2001-02-27 José Matos <jamatos@fep.up.pt>
14506 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14509 2001-02-11 José Matos <jamatos@fep.up.pt>
14511 * buffer.C (makeDocBookFile): command styles now have a parameter as
14512 "title" by default.
14514 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14516 * layout_forms.[Ch]: removed
14517 * lyx_cb.[Ch]: out character
14518 * lyx_gui.C: out character
14519 * lyx_gui_misc.C: out character
14520 * bufferview_funcs.C: : out character,
14521 added toggleall as parameter in ToggleAndShow
14523 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14525 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14527 * text2.C (SetCurrentFont): Disable number property at boundary.
14529 2001-02-26 Juergen Vigna <jug@sad.it>
14531 * lyxfunc.C (getStatus): added a string argument override function so
14532 that this is correctly called from LyXFunc::Dispatch if it contains a
14533 do_not_use_argument which is used!
14534 (Dispatch): added check for "custom" export and call appropriate func.
14536 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14538 * lyxrc.C: Add language_command_local, language_use_babel and
14539 language_global_options.
14541 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14543 * buffer.C (makeLaTeXFile): Use language_use_babel and
14544 language_global_options.
14546 2001-02-23 Juergen Vigna <jug@sad.it>
14548 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14549 which works with LyXText and putted it inside BufferView. Here now we
14550 only call for that part the BufferView::Dispatch() function.
14552 * BufferView.C (Dispatch): added.
14554 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14555 functions which needs to use a LyXText over from LyXFunc.
14556 (MenuInsertLyXFile): added
14557 (getInsetByCode): added
14558 (moveCursorUpdate): added
14559 (static TEXT): added
14561 2001-02-22 Juergen Vigna <jug@sad.it>
14563 * BufferView_pimpl.C (update): call a status update to see if LyXText
14566 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14568 * vc-backend.C (revert): implement for CVS
14569 (getLog): implement for CVS
14571 2001-02-20 Juergen Vigna <jug@sad.it>
14573 * text2.C (ClearSelection): added BufferView param for inset_owner call
14575 * lyxfunc.C (TEXT): added this function and use it instead of
14576 directly owner->view()-text of getLyXText().
14578 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14580 * src/layout_forms.C: out preamble
14581 * src/layout_forms.h: out preamble
14582 * src/lyx_cb.C: out preamble
14583 * src/lyx_cb.h: out preamble
14584 * src/lyx_gui.C: out preamble
14585 * src/lyx_gui_misc.C: out preamble
14586 * src/lyxfunc.C: connect with guii preamble
14588 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14590 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14592 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14594 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14595 whether to run bibtex.
14597 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14599 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14601 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14603 * Makefile.am (lyx_SOURCES): removed bibforms.h
14605 * vspace.h: doxygen
14607 * text.C (GetVisibleRow): make several local vars const
14609 * tabular.C: small cleanup.
14611 * lyxserver.C (callback): use compare instead of strncmp
14613 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14614 inlines to after class or to paragraph.C
14616 * lyxfont.h: remove friend operator!=
14618 * converter.h: move friend bool operator< to non friend and after
14621 * combox.h: small cleanup
14623 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14624 to inlines after class def.
14626 * buffer.C (pop_tag): use string operations instead of strcmp
14628 * bmtable.c: doxygen, small cleanup
14630 * LaTeX.h: remove friend operator==
14632 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14644 * BufferView_pimpl.C:
14645 * BufferView.[Ch]: remove cruft
14647 2001-02-14 Juergen Vigna <jug@sad.it>
14649 * lyxfunc.C: removed #if 0 unused code
14651 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14653 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14655 * text2.C (SetSelection): added a BufferView * parameter
14657 2001-02-13 Juergen Vigna <jug@sad.it>
14659 * lyxfunc.C (Dispatch): fixed protected blank problem.
14660 * BufferView2.C (protectedBlank): added LyxText * parameter.
14662 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14663 (AppendColumn): same as above for column_info.
14665 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14666 (moveCursorUpdate): use a LyXText param for support of InsetText.
14668 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14669 (tripleClick): ditto
14671 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14673 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14675 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14677 * text2.C (SetSelection): set correct update status if inset_owner
14678 (ToggleFree): ditto
14680 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14682 * tabular.C: remove some commented code.
14684 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14686 * BufferView_pimpl.C: call hideSplash()
14688 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14691 * bibforms.h: remove
14694 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14695 add LFUN_CHILD_CREATE
14697 * counters.h: fix tiny typo
14702 * lyx.C: move splash to frontends/xforms/
14704 * lyx_gui_misc.C: move Include and Bibform to frontends
14706 * lyxvc.h: clarify comment
14708 * vspace.C: tiny housekeeping
14710 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14712 * text.C (PrepareToPrint): RTL Fix.
14714 * paragraph.C (GetUChar): New method.
14715 (String): Use GetUChar.
14717 * buffer.C (asciiParagraph): Use GetUChar.
14719 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14721 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14723 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14726 * buffer.C: rename to getLogName(), handle
14727 build log / latex log nicely
14729 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14732 * MenuBackend.h: remove support for reference menuitem type.
14734 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14736 * BufferView_pimpl.C: housekeeping
14737 * BufferView_pimpl.h:
14742 * minibuffer.h: move Timeout GUI-I
14744 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14746 * lyxrc.C (read): Update converters data-structures.
14748 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14750 * LaTeX.h (operator!=): add operator != for Aux_Info
14752 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14754 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14756 * LaTeXLog.C: deleted, useful code moved to Buffer
14759 * buffer.C: new function getLatexLogName()
14765 * lyxfunc.C: use frontends for LaTeX and VC logs
14767 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14769 * LaTeX.h: yet another std:: that Allan forgot.
14771 * Variables.C (set): renamed from isset(), because this clashes
14772 with some HP-UX macros (grr).
14774 2001-02-06 Allan Rae <rae@lyx.org>
14776 * LaTeX.h: Another bug fix. Missing std:: this time.
14778 2001-02-04 Allan Rae <rae@lyx.org>
14780 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14781 floats problem. I've left it commented out because it's not quite
14782 correct. It should also test that the current object is a table or
14783 figure inset. But I haven't gotten around to figuring out how to do
14784 that. I *think* it'll be something like: "table" == inset.type()
14786 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14789 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14791 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14792 all the citation/databases/styles in the auxilary file.
14793 (run): Rerun latex if there was a babel language error.
14795 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14797 * text.C (Backspace): Preserve the font when changing newline char
14799 (BreakParagraph): If the cursor is before a space, delete the space.
14801 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14803 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14805 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14806 new argument (code).
14807 (ChangeCitationsIfUnique): New method.
14809 * paragraph.C (GetPositionOfInset): Handle bibkey.
14811 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14813 * BufferView_pimpl.h: change type of Position::par_pos to
14814 LyXParagraph::size_type.
14816 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14818 * BufferView_pimpl.C (savePosition, restorePosition): Write
14819 messages to minibuffer.
14821 2001-01-28 José Matos <jamatos@fep.up.pt>
14823 * buffer.C (makeDocBookFile): adds support for document language.
14824 A silly restriction on the name of LatexCommand types where removed.
14825 Added support for CDATA sections, allows to chars unescaped, used
14826 among others in code, to avoid escape < and >.
14828 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14830 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14831 saved positions instrad of a stack. Furthermore, a position is
14832 stored using paragraph id/paragraph position.
14834 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14835 Remove LFUN_REF_BACK.
14837 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14839 * converter.C (dvipdfm_options): New method.
14841 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14843 * vspace.C (isValidLength): Fix for empty input string.
14845 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14847 * LyXAction.C (init): change description of LFUN_FIGURE to
14850 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14852 * LaTeX.C: add using directive
14854 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14856 * MenuBackend.C (expand): Fix the sorting of the formats.
14858 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14860 * lyx_main.C: tiny error message fix
14862 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14864 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14865 calling fl_initialize(). This fixes the problem with ',' as
14866 decimal separator in text files.
14868 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14870 * trans.C (process): Fix the keymap bug.
14872 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14874 * LaTeX.C (scanAuxFiles): New method. Provides support for
14875 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14876 (scanLogFile) Scan for "run BibTeX" messages.
14878 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14879 OT1 font encoding. Also, load the aecompl package if the ae
14882 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14884 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14886 * texrow.C (increasePos): turn two error messages into debug
14889 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14891 * LaTeX.C (scanAux): Handle the \@input macro.
14892 (runBibTeX): Use scanAux().
14894 * language.C (latex_options_): New field.
14896 * LaTeXFeatures.C (getMacros): Add language macros.
14898 * buffer.C (makeLaTeXFile): Small fix.
14900 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14902 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14904 * text2.C: add a using directive.
14906 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14911 * lyxfunc.C: kill LyXBell.
14913 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14915 * text.C (IsBoundary): Remove the error message
14917 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14919 * lyxrc.C (setDefaults): Correct initialization value for
14922 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14924 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14927 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14928 and GotoNextNote().
14930 * src/LyXAction.C: Added reference-next.
14932 * text.C (InsertChar): Use contains instead of strchr.
14934 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14936 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14938 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14939 alignment commands (when needed).
14941 * text.C (InsertChar): Add ':' to number separator chars.