1 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
7 * BufferView_pimpl.C: rename textwidth -> maxwidth,
8 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
10 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
12 * Bidi.[Ch] (computeTables): const correctness
13 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
14 fill_hfill, fill_label_hfill and x from Row
15 * lyxtext.h: prepareToPrint returns a RowMetrics
16 * rowPainter.C: adjust
17 * text.C (prepareToPrint): use width, not textWidth. adjust
18 (redoParagraphInternal, cursorX): adjust
19 * text2.C (getColumnNearX): adjust
20 (init): put a default value to the top LyXText::width
22 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
24 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
26 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
28 * lyxtext.h: add FontIterator class
30 * text.C (FontIterator, operator*, operator->, operator++): add
31 (rowBreakPoint, setRowWidth): adjust (fixing a
34 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
36 * BufferView_pimpl.C (workAreaDispatch): allow also
37 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
39 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
41 * text.C (rowBreakPoint): fix a bug showing with very large insets
43 2004-02-25 André Pönitz <poenitz@gmx.net>
46 * cursor.[Ch]: move some mathed specific code to mathed
48 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
50 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
51 use_tempdir in preferences
52 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
54 * lyx_main.C: ensure that tempdir is valid
55 * lyxlex.h: correct typo
56 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
57 * paragraph.[Ch] (isMultiLingual): make const
58 * cursor.[Ch] (openable): make const
60 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
62 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
64 2004-02-20 André Pönitz <poenitz@gmx.net>
66 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
68 * cursor.[Ch]: prepare for localized getStatus()
74 * text3.C: streamlines the LyXText cursor movement handlers a bit.
76 2004-02-20 André Pönitz <poenitz@gmx.net>
78 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
80 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
82 * text2.C (setCursorFromCoordinates): switch to absolute coords
85 * text3.C (dispatch): adjust
87 2004-02-16 André Pönitz <poenitz@gmx.net>
89 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
92 * cursor_slice.[Ch]: remove unneeded acessor function
94 * lyxtext.h: rename rtl() to isRTL()
102 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
104 * rowpainter.C (paintSelection): coord fix
106 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
108 * Spacing.C: compile fix
110 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
112 * cursor.C (dispatch): restore current_ before returning
114 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
116 * text2.C (cursorUp, cursorDown): fix coords
119 2004-02-12 André Pönitz <poenitz@gmx.net>
124 * text3.C: add LCursor & parameter to most cursor movement functions
125 remove usage of LyXText::cursorRow() and cursorPar()
127 * cursor.[Ch]: add textRow() needed members
130 * BufferView_pimpl.C:
133 * BufferView_pimpl.C: adjust
135 2004-02-11 André Pönitz <poenitz@gmx.net>
139 * BufferView_pimpl.C: shift undo/redo handling
141 * cursor.[Ch]: fix mathed crash
144 * lyxtext.h: move selectionAsText to LCursor
152 * rowpainter.C: fix excessive drawing
154 2004-02-06 André Pönitz <poenitz@gmx.net>
157 * BufferView_pimpl.[Ch]:
158 * text3.C: move some text specific LFUN handling
160 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
162 * text3.C (checkInsetHit): adjust coords
163 * text2.C (getColumnNearX): adjust coords
164 (edit): adjust coords
165 * text.C (getRowNearY): add two asserts
167 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
170 * format.C: add using std::distance to compile on gcc 2.95/stlport
172 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
174 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
176 2004-02-04 André Pönitz <poenitz@gmx.net>
178 * BufferView.[Ch] (insertInset):
179 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
184 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
186 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
187 on the default clause of the switch
188 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
189 wasn't catched by LCursor::dispatch
191 2004-02-03 André Pönitz <poenitz@gmx.net>
194 * cursor.[Ch]: some additional asserts
196 * undo.[Ch]: remove LyXText dependency in interface
200 * lyxtext.h (firstPar, lastPar): remove dead functions
205 * paragraph.[Ch]: adjust
207 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
209 * lyxfind.C (find): fix argument order in call to ::find
211 2004-02-02 André Pönitz <poenitz@gmx.net>
213 * cursor.[Ch]: remove direct access to anchor
215 * text.C: remove findText() hack
217 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
219 * iterators.[Ch] (lockPath): remove in favour of...
220 * BufferView.[Ch] (setCursor): this addition
221 * BufferView.C (putSelectionAt): adjust
222 * undo.C (performUndoOrRedo): adjust
223 * lyxfunc.C (dispatch): adjust
225 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
227 * iterators.C (lockPath): add a missing slice
228 * undo.C (performUndoOrRedo): remove redundant positioning code
230 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
232 * vc-backend.C (scanMaster): ";" -> ';'
234 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
236 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
239 * lyxtextclass.C (compare_name): rename to...
240 (LayoutNamesEqual): ...this
242 * lyxlex_pimpl.C (compare_tags): inherit from
243 std::binary_function, put back into anon namespace
245 * lyxfind.C (MatchString): inherig from std::binary_function
246 (findChange): use empty() istead of !size()
248 * format.C (FormatNamesEqual): new functor
255 * converter.C (compare_Converter): rename to...
256 (ConverterEqual): ...this, and fixup a bit.
257 (getConverter): use it, and make function const
258 (getNumber): use it, and make function const
262 * bufferlist.C: add using boost::bind
264 * MenuBackend.C (MenuNamesEqual): new functor
265 (hasMenu): use it, and make function const
266 (hasSubmenu): use nested bind to get rid of compare_memfun.
268 2004-01-30 André Pönitz <poenitz@gmx.net>
270 * BufferView_pimpl.C:
281 * text3.C: move some of the edit(x,y) handling to the insets
282 some coordinate changes.
284 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
286 * text.C: add using statements for std::advance and std::distance
288 * paragraph.C: add using statement for std::distance
290 * lyxfind.C: add using statement for std::advance
292 * cursor.C (region): remove std:: from swap
293 (openable): use nucleus in stead of operator->
295 * BufferView.C: add using statements for std::distance and std::swap
297 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
299 * iterators.C: Remove the pimple, move the needed structures to
300 the header file. Create accessor for the positions stack.
301 (asPosIterator): remove function
303 * PosIterator.C (PosIterator): move constructors to top of file
304 (PosIterator): reimplement the constructor taking a ParIterator in
306 (setFrom): new function
307 (operator!=): inline it
309 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
311 * lyxfind.C (replaceAll): use std::advance
313 * iterators.h: inherit from std::iterator.
315 * PosIterator.C (advance, distance): remove
316 * PosIterator.h: interit from std::iterator.
318 2004-01-26 André Pönitz <poenitz@gmx.net>
321 * BufferView_pimpl.[Ch]:
325 * bufferview_funcs.C:
336 * output_plaintext.C:
338 * paragraph_funcs.[Ch]:
339 * paragraph_pimpl.[Ch]:
345 * text3.C: more IU: dumps most of the rest of the mathcursor
346 implementation into cursor.[Ch]; "globalize" a bit of it.
348 2004-01-25 Angus Leeming <leeming@lyx.org>
350 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
352 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
354 * LaTeXFeatures.h: add nice_ and nice() const
355 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
357 2004-01-20 André Pönitz <poenitz@gmx.net>
360 * BufferView_pimpl.C:
362 * bufferview_funcs.C:
375 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
376 LCursor and mathcursor parts to LCursor and InsetBase.
378 2004-01-15 André Pönitz <poenitz@gmx.net>
380 * cursor_slice.[Ch]: add a few covienience functions
382 * funcrequest.[Ch]: remove BufferView * member
384 * BufferView_pimpl.C:
391 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
393 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
395 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
396 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
398 2004-01-13 André Pönitz <poenitz@gmx.net>
401 * lyxtext.h: hide cursor and selection anchor behind accessor function
404 * BufferView_pimpl.[Ch]:
406 * bufferview_funcs.C:
416 * cursor_slice.[Ch]: some integer type changes for inset unification
418 * lyxcursor.[hC]: remove, it's CursorSlice now.
421 * BufferView_pimpl.[Ch]:
422 * bufferview_funcs.C:
428 * textcursor.[Ch]: adjust
430 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
432 * text2.C (undoSpan): add and use
433 * text.C (breakParagraph): use undoSpan (fix bug 578)
436 2004-01-08 Angus Leeming <leeming@lyx.org>
438 * BufferView_pimpl.C (MenuInsertLyXFile):
439 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
440 * lyxfunc.C (menuNew, open, doImport):
441 FileFilterList change to the FileDialog open and save functions.
443 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
445 * ShareContainer.h: make isEqual and isUnique adaptable
447 * CutAndPaste.C: make resetOwnerAndChanges adaptable
449 2004-01-07 Angus Leeming <leeming@lyx.org>
452 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
454 * BufferView_pimpl.C (dispatch): act on these LFUNs.
456 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
457 functions replacing find, replace and replaceAll.
459 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
460 LFUN_WORDFIND(FORWARD|BACKWARD).
462 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
464 * text.C (breakParagraph): remove an outdated #warning
466 2004-01-07 André Pönitz <poenitz@gmx.net>
468 * lyxfind.C: somewhat clearer logic
470 * text.C: prevent crash in cursorX on unitialized row cache
472 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
474 * lyxcursor.[Ch] (operator>): add
475 * textcursor.C (selStart, selEnd): use std::min and std::max
477 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
479 * Chktex.C: include boost/format.hpp
481 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
483 * InsetList.C: replace functor MathcIt with adaptable functor
485 (insetIterator): modify accordingly
487 * BranchList.h: move the BranchNamesEqual functor here from...
488 * BranchList.C: ... to here
490 * BranchList.C: new BranchListEqual fuctor, use it. Remove
492 (add): replace a finding loop with std::find_if.
494 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
496 * output_docbook.C: moving LatexParam functionality into
499 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
501 * buffer.C: increment format to 229.
503 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
506 * lyx_sty.[Ch]: remove minipageindent_def
512 * text3.C: remove LFUN_INSET_MINIPAGE
514 2003-12-28 Angus Leeming <leeming@lyx.org>
516 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
518 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
520 * text2.C (setParagraph): fix off-by-one crash
522 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
524 * output_docbook.C: header stuff for AGU
526 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
528 * text2.C (redoCursor): remove
531 * BufferView_pimpl.C: remove calls to redoCursor and
532 setCursor(cursor.par(), cursor.pos()) all around
534 2003-12-15 Angus Leeming <leeming@lyx.org>
536 * buffer.C: up the format to 228.
538 2003-12-15 André Pönitz <poenitz@gmx.net>
540 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
545 * BufferView_pimpl.C:
554 2003-12-15 Angus Leeming <leeming@lyx.org>
556 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
557 than getFromGUIName to manipulate the color.
559 2003-12-14 Angus Leeming <leeming@lyx.org>
561 * BranchList.[Ch]: minimize the API.
562 (Branch::getBranch, getColor): now return a 'const &'.
563 (Branch::setSelected) now returns a bool set to true if the
564 selection status changes.
565 (BranchList::clear, size, getColor, setColor, setSelected,
566 allBranches, allSelected, separator): removed.
567 (BranchList::find): new functions, returning the Branch with
569 (BranchList::add, remove): return a bool indicating that
570 the operation was successful.
572 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
573 new InsetBranch::isBranchSlected member function.
575 * LColor.[Ch]: mimimize the API.
576 (fill): renamed as addColor and made private.
577 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
578 versions of these functions taking a string arg have been removed.
580 * bufferparams.C (readToken):
581 * lyxfunc.C (dispatch):
582 * lyxrc.C (read): changes due to the altered BranchList and
585 * factory.C (createInset, readInset): changes due to altered
588 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
591 * lyxfunc.C: remove insetminipage. "minipage-insert"
592 now produces a frameless minipage box inset.
594 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
596 * textcursor.[Ch] (selStart,selEnd): add new methods
597 remove selection::start, end, use LyXCursor::operator<
598 * lyxcursor.[Ch] (operator<): add
599 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
600 * BufferView.[Ch] (unsetXSel): add
601 * text2.C (clearSelection): use unsetXSel,adjust
604 * rowpainter.C: adjust
605 * bufferview_funcs.C (put_selection_at): adjust
607 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
609 * BufferView_pimpl.C: small coord. correction
611 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
613 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
614 dragging over the splash screen.
616 2003-12-11 Angus Leeming <leeming@lyx.org>
618 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
619 as it is now handled in LyXText::dispatch.
621 * text3.C (doInsertInset): remove a level of nesting.
623 2003-12-11 Angus Leeming <leeming@lyx.org>
625 * factory.C (createInset): changes due to the changed interface to
626 InsetCommandMailer::string2params.
628 2003-12-10 Angus Leeming <leeming@lyx.org>
630 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
631 'dialog-show-new-inset <inset name>'
633 2003-12-10 Angus Leeming <leeming@lyx.org>
635 * buffer.C: up the format to 227.
637 * factory.C: the box inset is now identified simply by 'Box'.
639 2003-12-10 Angus Leeming <leeming@lyx.org>
641 * buffer.C: up the format to 226.
643 * factory.C: the note inset is now identified simply by 'Note'.
645 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
647 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
648 when a pit is enough. Standarize a couple of loops.
650 2003-12-05 Angus Leeming <leeming@lyx.org>
652 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
653 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
654 data to the re-worked "log" dialog.
656 2003-12-03 André Pönitz <poenitz@gmx.net>
664 * text2.C: use Inset::getText instead of Inset::getParagraph
666 2003-12-03 André Pönitz <poenitz@gmx.net>
670 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
671 InsetText::read() as LyXText::read()
673 2003-12-02 Angus Leeming <leeming@lyx.org>
675 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
676 type. Add a comment in the implementation that the function uses
677 the stream's bad() function rather than fail() as the std::streams
680 2003-12-02 André Pönitz <poenitz@gmx.net>
682 * lyxlex.[Ch]: make interface more similar to std::stream
684 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
686 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
688 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
690 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
692 * vspace.[Ch]: remove VSpace::NONE
694 2003-12-01 André Pönitz <poenitz@gmx.net>
697 * lyxtext.h: move ParagraphList member to LyXText
698 rename LyXText::ownerParagraphs to LyXText::paragraph
701 * bufferview_funcs.C:
711 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
713 * undo.C: fix cursor positioning
715 2003-12-01 John Levon <levon@movementarian.org>
717 * BufferView_pimpl.C: fix a crash on exit with
720 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
722 * BranchList.C: fix setSelected() method.
724 2003-11-28 André Pönitz <poenitz@gmx.net>
726 * ParagraphParameters.[Ch]:
727 * ParameterStruct.h: remove space above/below from Paragraph to
730 * BufferView_pimpl.C:
742 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
744 * factory.C: Syntax change for CharStyles
746 2003-11-28 André Pönitz <poenitz@gmx.net>
751 * buffer.[Ch]: move LyXText member
753 2003-11-28 André Pönitz <poenitz@gmx.net>
755 * BufferView.[Ch]: make LyXText * text a private member
757 * BufferView_pimpl.C:
768 * output_plaintext.C: cleanup
770 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
773 * lyxtextclass.[Ch]: parametrize SGML document header
775 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
778 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
781 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
783 * text2.C (setFont): rework using PosIterator (no more recursive)
784 (setCharFont): no more needed
785 (setLayout): no more selection cursors fiddling (done by redoCursor)
786 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
787 destroy remaining ones)
789 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
791 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
793 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
796 * text3.C: adjust + re-allow multi par depth changes
797 * textcursor.C: simplify a bit
799 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
805 * src/output_docbook.C:
806 * src/output_latex.C:
811 * src/text2.C: Introducing a number of tags parametrizing various
812 XML formats that we may want to support
814 2003-11-25 André Pönitz <poenitz@gmx.net>
816 * InsetList.[Ch] (begein, end): inline as suggested by profiler
818 * lyxtext.h (leftMargin/rightMargin): simplify interface
825 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
827 * lyxfunc.C (dispatch): propogate the bibtex databases from the
828 master file to any child files. Fixes bug 546.
830 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
832 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
834 2003-11-24 André Pönitz <poenitz@gmx.net>
836 * rowpainter.C: simplification
838 * text2.C (updateCounters): remove call to redoParagraph on
839 changed labels as this is far too expensive.
841 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
843 * converter.C (convert): fix a crash: this function gets
844 called with buffer == 0 from importer code.
846 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
848 * text3.C (cursorPrevious): make sure that we do not compare
849 iterators form different containers.
852 * rowpainter.C (paintSelection): make sure that we do not compare
853 iterators from different containers.
855 * text3.C (dispatch): [PRIOR] make sure that we do not compare
856 iterators from different ParagraphList containers.
859 * text2.C (LyXText): change order of initialization slightly
860 (operator=): new function. copy all variables except cache_par_
861 (moveUp): make sure that we do not compare iterators from
862 different ParagraphList constainers.
865 * text.C (firstPar): new function
866 (lastPar): new function
867 (endPar): new function
869 * lyxtext.h: move things around and group public functions, public
870 variables, private functions, private variables
872 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
874 * factory.C: change call to InsetERT constructor to avoid
875 additional invocation of method status
876 * text2.C (toggleInset): remove redundant update() call
877 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
878 instead of a Bufferview pointer
880 2003-11-21 André Pönitz <poenitz@gmx.net>
882 * rowpainter.C: simplification
884 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
886 * text3.C (dispatch): make possible to extend a word/row selection
889 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
891 * lyxtext.h: x0_,y0_ -> xo_,yo_
892 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
893 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
894 * rowpainter.C (paintRows): paint full paragraphs
896 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
898 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
901 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
903 * lyxtext.h: add x0_, y0_
904 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
905 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
907 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
909 * text2.C (setCursorIntern): move the x_target update here *
910 * text3.C: change some bv() to true/false in calls to
911 cursorUp/Down/Right/Left
912 * cursor.C: use helper function.
914 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
916 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
917 * paragraph_funcs.[Ch]: correct comment
918 * rowpainter.C: do not paint selections away from bv->cursor()
919 Fix a long standing selection painting bug.
920 * text3.C: generalize mouse-selection code to LyXTexts other that
922 * textcursor.C: do not use y coords if we can use par offsets
924 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
926 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
927 cursor position after e.g. inset insert)
929 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
931 * lyxfind.C (replace): adjust to locking removal + some
934 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
936 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
939 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
942 * output_docbook.C: XML sanitation: new layout
943 parameters InnerTag and CommandDepth
945 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
947 * BufferView_pimpl.C:
949 * text3.C: Fix the insertion and modification of button-style
952 2003-11-13 André Pönitz <poenitz@gmx.net>
954 * InsetList.[Ch]: remove deleteLyXText
956 * paragraph.[Ch]: cache beginOfBody position
961 * text3.C: remove superfluous update() calls
965 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
967 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
968 * BufferView.C (fitLockedInsetCursor): remove
969 * cursor.[Ch] (getDim): add
970 * text.C (getRowNearY): add faster version
971 * text3.C: remove some update calls
973 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
985 * text3.C: The Character Style /XML short element patch.
987 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
990 * factory.C: Small step to solving 'unable to insert some insets'
993 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
995 * cursor.[Ch] (updatePos): new function for updating the y
996 position of the tip inset
997 * bufferview_funcs.C (put_selection_at):
998 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1000 2003-11-11 André Pönitz <poenitz@gmx.net>
1002 * text.C: remove big comment on invalid Paragraph pointers as it is
1005 2003-11-11 André Pönitz <poenitz@gmx.net>
1007 * text_funcs.[Ch]: merge with ...
1015 * Makefile.am: remove text_funcs.[Ch]
1017 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1019 * cursor.C (getPos): return absolute cached y coord
1021 * BufferView_pimpl.C (fitCursor): new simplistic code
1022 (workAreaDispatch): add a fitCursor call
1024 2003-11-10 André Pönitz <poenitz@gmx.net>
1027 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1029 2003-11-10 André Pönitz <poenitz@gmx.net>
1031 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1032 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1033 indicate that the cursor needs to leave an inset
1035 * lyxtext.h: remove inset locking
1037 * cursor.[Ch]: re-implement functionality provided by inset locking
1040 * BufferView_pimpl.[Ch]:
1042 * bufferview_funcs.[Ch]:
1054 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1056 * PosIterator.[Ch]: replace the stack with a vector, add inset
1058 * iterators.[C]: adjust
1060 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1062 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1064 * paragraph_funcs.C (readParToken): put the correct id in the
1065 error item, not the id of the top paragraph
1067 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1069 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1070 * bufferview_funcs.C (put_selection_at): use the above
1072 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1074 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1076 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1078 * output_linuxdoc.h:
1079 * output_plaintext.h:
1081 * output_docbook.h: add #include statements
1083 2003-11-05 José Matos <jamatos@lyx.org>
1085 * output_docbook.[Ch]:
1086 * output_latex.[Ch]:
1087 * output_linuxdoc.[Ch]:
1088 * output_plaintext.[Ch]: New files for output formats.
1089 * output.[Ch]: New file for helper functions.
1092 * paragraph_funcs.[Ch]: output functions moved to new files.
1094 * outputparams.h: rename of latexrunparams.h
1102 * paragraph_funcs.[Ch]:
1103 * paragraph_pimpl.[Ch]:
1104 * tabular.[Ch]: rename ascii to plaintext
1105 and LatexRunParams to OutputParams.
1107 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1109 * iterators.[Ch] (text): require bv argument
1110 * undo.C (recordUndo):
1111 * lyxfunc.C (dispatch):
1112 * bufferview_funcs.C (put_selection_at): adjust
1114 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1116 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1118 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1120 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1123 2003-11-04 André Pönitz <poenitz@gmx.net>
1125 * cursor.[Ch]: restructure
1128 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1130 * iterators.[Ch] (asCursor): remove
1132 * lfuns.h: remove LFUN_INSET_EDIT
1138 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1140 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1142 * lyxfind.[Ch]: complete overhaul
1143 * BufferView_pimpl.C:
1145 * paragraph.[Ch] (insert): add
1147 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1151 * text.C: remove dead spellcheck code
1153 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1155 * dispatchresult.h: add a val setter
1157 * cursor.C (dispatch): use a tempvar for data_[i]
1159 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1161 * PosIterator.[Ch]: compile fix
1163 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1165 * text.C (cursorPar): deactivate the cursor cache
1167 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1169 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1171 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1173 * text3.C (dispatch): adjust for new DisptchResult semantics.
1175 * lyxfunc.C (dispatch): handle update when return from
1176 Cursor::dispatch, adjust for new DispatchResult semantics.
1178 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1179 DispatchResult(true) mean to not update. Add class functions for
1180 setting dispatched and update, as well as reading.
1182 * cursor.C (dispatch): don't handle update here
1184 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1186 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1187 * trans_mgr.C: adjust
1189 * paragraph_funcs.C (readParToken): exception safety
1191 * lyxvc.h: store the vcs pointer in a scoped_ptr
1194 * lyxsocket.C (serverCallback): exception safety
1196 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1198 * ispell.C (clone): make it return a auto_ptr
1200 * factory.C (createInset): exception safety
1201 (readInset): exception safety
1203 * bufferlist.C (newBuffer): exception safety
1205 * Thesaurus.C (Thesaurus): use initialization for aik_
1207 * MenuBackend.C (expandToc): exception safety.
1209 2003-11-03 André Pönitz <poenitz@gmx.net>
1213 * bufferview_funcs.C: remove getInsetFromId()
1216 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1222 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1224 * PosIterator.C (distance, advance): new
1225 * bufferview_funcs.[Ch] (put_selection_at): new
1226 * iterators.[Ch] (lockPath): new
1228 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1230 * iterators.[Ch] (asPosIterator): added
1231 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1232 * PosIterator.[Ch]: added
1234 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1238 * cursor.C (dispatch):
1239 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1241 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1242 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1243 contructor, add a class function dispatched. Remove operator>=
1245 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1247 * debug.C: only use the default constructor for debugstream
1250 * main.C (main): include debug.h and setup the lyxerr streambuf
1253 2003-10-31 José Matos <jamatos@lyx.org>
1255 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1257 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1258 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1259 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1260 * paragraph_pimpl.C (simpleTeXSpecialC):
1261 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1262 add LatexRunParams argument.
1264 * exporter.C (Export): change call accordingly.
1266 * latexrunparams.h: add new member to take care of the other backends.
1267 2003-10-30 José Matos <jamatos@lyx.org>
1269 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1270 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1271 factorise code for paragraph output.
1273 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1276 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1278 * text3.C (dispatch):
1279 * lyxfunc.C (dispatch):
1280 * cursor.C (dispatch):
1281 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1283 * dispatchresult.h: make the dispatch_result_t ctor explicit
1285 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1288 * buffer.C: small refactoring of docbook stuff
1290 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1292 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1295 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1297 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1298 operator dispatch_result_t, and operators for == != and >=
1300 * cursor.C (dispatch): adjust for operator dispatch_result_t
1301 removal. comment out call to update
1303 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1305 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1313 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1316 * dispatchresult.h: new file, DispatchResult broken out of
1319 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1321 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1323 * text.C (rowBreakPoint): put a hack inside #if 0
1325 2003-10-28 André Pönitz <poenitz@gmx.net>
1329 * paragraph_funcs.C:
1332 * text2.C: general cleanup (lots of small stuff)
1334 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1336 * text2.C (cursorEnd): simple fix to the "end key goes to one
1337 before the end on last row" bug
1339 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1341 * text.C (backspace): fix the "zombie characters"
1343 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1345 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1347 2003-10-27 André Pönitz <poenitz@gmx.net>
1349 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1351 * factory.C: handle new InsetPagebreak, InsetLine
1353 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1354 and move handling into new InsetPagebreak, InsetLine
1356 * BufferView_pimpl.C:
1358 * ParagraphParameters.C:
1359 * ParameterStruct.h:
1364 * paragraph_funcs.C:
1365 * paragraph_pimpl.C:
1371 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1374 * lyxrow_funcs.[Ch]:
1380 * text3.C: remove lastPos uses in favour of Row::endpos
1382 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1384 * undo.C (performUndoOrRedo): fix two crashes by setting a
1385 cursor by hand and reordering some calls. Use bv->lockInset instead
1386 of inset->edit because the latter loses cursor information
1388 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1390 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1392 (rowBreakPoint): fix width. change point to point + 1.
1393 Add a missing check.
1395 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1398 * lyxfunc.C: fix (at least partly) the problems
1399 with the Nav menu and headers inside branch insets
1402 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1404 * paragraph.C (getChar): add strong asserts
1406 * lyxrow_funcs.C (lastPos): remove hideous hack
1408 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1409 (fill): adjust to that (avoid an infinite loop)
1411 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1413 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1415 2003-10-23 André Pönitz <poenitz@gmx.net>
1417 * RowList_fwd.h: change list<> to vector<> to gain speed
1418 after suggestion from Alfredo
1420 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1422 * lyxtext.h: move the bidi stuff from here...
1425 * Bidi.[Ch]: ... to here
1427 2003-10-23 André Pönitz <poenitz@gmx.net>
1430 * text.C (isLastRow, isFirstRow): new functions
1432 * paragraph.h: new width cache member
1434 * rowpainter.C: replace RowList::iterator with Row & where possible
1436 * lyxfunc.C: replace several view()->text with a single call
1438 * toc.C: fix 'unused' warning
1440 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1442 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1443 when woring with stream::pos_type
1444 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1446 2003-10-22 André Pönitz <poenitz@gmx.net>
1449 * text.C: use Row & instead of RowList::iterator
1451 * lyxrow.h: rename end() to endpos()
1457 2003-10-22 Angus Leeming <leeming@lyx.org>
1459 * buffer.[Ch] (fully_loaded): new member function, returning true
1460 only when the file has been loaded fully.
1461 Used to prevent the premature generation of previews and by the
1462 citation inset to prevent computation of the natbib-style label.
1464 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1465 templates are all set up.
1467 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1469 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1471 * text.C: fixed an "oops" in the "is a bit silly"
1474 2003-10-21 André Pönitz <poenitz@gmx.net>
1476 * FuncStatus.[Ch]: small stuff, whitespace
1478 * lyxfont.[Ch]: operator<<() for debug reasons
1482 * lyxtext.h: whitespace, spelling
1484 * paragraph.C: naming of variables
1487 * text2.C: small stuff
1490 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1492 * text.C: (1) finish off the inset display() work;
1493 (2) fix the "is a bit silly" bug (accessing char
1496 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1498 * text.C: re-introduce display() for insets, fixing the
1499 various bugs (stretch of line above, math inset
1502 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1504 * text.C (rightMargin): remove spurious semicolon
1506 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1509 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1511 * text3.C: fix one crash due to wrong cursor def
1513 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1515 * vc-backend.C (scanMaster): make the regex static
1517 * LaTeX.C (scanAuxFile): make the regexs static
1519 * text3.C (doInsertInset, dispatch, dispatch):
1520 * text2.C (cursorUp, cursorDown):
1521 * text.C (selectNextWordToSpellcheck):
1522 * BufferView_pimpl.C (dispatch):
1523 * lyxfunc.C (dispatch): localDispatch -> dispatch
1525 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1527 * lyxsocket.C: include <cerrno>
1529 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1531 * lyxfunc.C (dispatch): remove textcache stuff
1533 * bufferlist.C (release): remove textcache stuff
1536 * TextCache.C: delete file
1537 * TextCache.h: delete file
1539 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1541 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1542 delete of the bv_->text.
1543 (resizeCurrentBuffer): remove texcache stuff
1544 (workAreaResize): ditto
1546 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1548 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1551 2003-10-16 André Pönitz <poenitz@gmx.net>
1558 * text3.C: speed up by storing y positions per paragraph plus per-row
1559 offset instead of having a 'full' y position in the row.
1561 2003-10-15 André Pönitz <poenitz@gmx.net>
1565 * undo.[Ch]: make undo aware of inner insets
1567 2003-10-14 Angus Leeming <leeming@lyx.org>
1569 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1570 static member functions LyX::ref() and LyX::cref.
1571 (lastfiles): new accessor functions for the new lastfiles_ member var.
1572 (addLyXView, views_): add a new LyXView to the list of views_.
1573 (updateInset): loop over all LyXViews to call their own updateInset
1574 member function, returning a pointer to the Buffer owning the inset.
1576 * BufferView_pimpl.C (loadLyXFile):
1577 * MenuBackend.C (expandLastfiles):
1578 * bufferlist.C (MenuWrite, QuitLyX):
1579 lastfiles is no longer a global variable.
1580 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1582 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1583 static function. Access through LyX::cref().emergencyCleanup().
1585 2003-10-14 André Pönitz <poenitz@gmx.net>
1587 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1589 * undo.[Ch]: restoring part of 'undo in insets'
1592 * undo_funcs.[Ch]: merge with undo.[Ch]
1594 * tabular.C: small cleansing stuff
1596 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1598 * paragraph_funcs.C (readParToken): report unknown insets as error
1599 boxes. Use the outer paragraph as location (also for unknown
1602 * factory.C (readInset): do not abort on reading an unknown inset.
1603 Eat it and return 0.
1605 2003-10-13 Angus Leeming <leeming@lyx.org>
1607 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1609 * lyxrc.C: displayTranslator is now a function,
1610 declared in GraphicsTypes.h.
1612 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1614 * format.C: new placeholder $$a to pass the socket address.
1616 * bufferlist.[Ch]: new function getBufferFromTmp.
1618 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1619 files in the temporary dir.
1621 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1623 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1625 * Makefile.am: add lyxsocket.[Ch].
1627 * lyx_main.C (error_handler): handle SIGPIPE.
1629 2003-10-13 André Pönitz <poenitz@gmx.net>
1631 * BufferView_pimpl.C:
1636 * undo_funcs.[Ch]: use paroffset_type instead of
1637 ParagraphList::iterators to prevent multiple conversion
1638 (and get a more robust interface)
1640 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1642 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1644 * text3.C (dispatch): ditto
1646 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1648 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1649 move the onlyfile, use onlyfile instead of foundfile in a couple
1652 * DepTable.C (update): flush the error stream a bit more
1654 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1656 * lyxserver.C (callback): adjust
1658 * lyxfunc.C (getStatus): add a missing brace in commented code
1659 (ensureBufferClean): reindent
1660 (dispatch): delete version taking a string
1662 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1664 * LaTeX.C (deplog): move found file handlig from here...
1665 (handleFoundFile): .. to new function here.
1666 (deplog): make sure to discover several files mentioned on the
1669 2003-10-10 André Pönitz <poenitz@gmx.net>
1676 * text3.C: fix some of the tabular crashes
1678 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1680 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1682 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1684 2003-10-09 André Pönitz <poenitz@gmx.net>
1686 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1689 * BufferView_pimpl.C:
1690 * bufferview_funcs.C:
1701 * undo_funcs.C: adjust
1703 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1705 * text2.C (incrementItemDepth): new function, use a backtracking
1706 algorithm to discover the correct item depth.
1707 (resetEnumCounterIfNeeded): new function, use a backtracking
1708 algorithm to discover if counter reset is needed.
1709 (setCounter): use them. Simplify a bit. Add different labels for
1710 different item depths for itemize.
1712 * paragraph.C (Paragraph): remove initialization of enumdepth
1715 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1716 enumerate and itemize. Change the type of itemdepth to signed char.
1718 2003-10-08 André Pönitz <poenitz@gmx.net>
1720 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1725 * tabular.[Ch]: fix crash after 'row-insert'
1727 2003-10-08 Angus Leeming <leeming@lyx.org>
1729 Fix doxygen warnings.
1731 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1732 Remove CutAndPaste:: prefix from header file declaration.
1734 * LColor.h (fill): remove LColor:: prefix from declaration.
1736 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1737 use lyx::depth_type rather than Paragraph::depth_type so that
1738 header file and .C file match.
1740 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1742 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1743 * aspell.C: \file aspell_local.C -> \file aspell.C
1744 * gettext.C: \file gettext.C -> \file src/gettext.C
1745 * gettext.h: \file gettext.h -> \file src/gettext.h
1746 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1747 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1748 * text.C: \file text.C -> \file src/text.C
1750 * toc.C: move comment so that doxygen is not confused.
1752 2003-10-07 Angus Leeming <leeming@lyx.org>
1754 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1756 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1759 * aspell_local.h: add forgotten std::string's.
1761 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1768 * text3.C: The Box patch. Fancybox support, minipage, parbox
1770 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1776 * ParagraphParameters.h:
1786 * lyxtextclasslist.h:
1789 * paragraph_pimpl.C:
1790 * textcursor.h: add <string> and other small fixes to make Lars'
1791 std::string patch compile with STLport.
1793 2003-10-06 Angus Leeming <leeming@lyx.org>
1795 * LColor.h: Add missing #include <string>.
1797 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1799 * All most all file in all subdirs: Make <string> be the prefered
1800 way of getting to std::string, add using declarations.
1802 2003-10-06 André Pönitz <poenitz@gmx.net>
1804 * metricsinfo.C: initialize LyXFont before changing attribute.
1805 (fixes the 'math in \emph is upright' bug)
1807 2003-10-06 André Pönitz <poenitz@gmx.net>
1809 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1811 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1814 * paragraph_pimpl.C: Small fixes to build using STLport
1816 2003-10-02 André Pönitz <poenitz@gmx.net>
1819 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1821 2003-10-01 André Pönitz <poenitz@gmx.net>
1823 * factory.C: assert early
1825 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1827 * lyx_main.C: remove the global debug object
1829 * debug.h: adjust for new debugstream
1831 * debug.C: adjust for new debugstream and keep the global debug
1834 2003-09-22 Angus Leeming <leeming@lyx.org>
1836 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1837 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1838 an incomplete class LyXFont.
1840 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1842 * factory.C: bug fix in branches
1844 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1846 * lyxfunc.C (processKeySym): adjust
1848 (dispatch): change arg name from ev to func, adjust
1849 (sendDispatchMessage): ditto
1851 * lyx_main.C (defaultKeyBindings): adjust keybindings
1852 (deadKeyBindings): ditto
1854 * kbsequence.C (addkey): return a FuncRequest
1856 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1858 * kbmap.C (bind): take a FuncRequest as arg, adjust
1861 (defkey): change to take a FuncRequest as arg, adjust
1862 (findbinding): take a FuncRequest as arg, adjust.
1864 * funcrequest.h (operator=): added
1866 * funcrequest.C (FuncRequest): default kb_action changed from
1867 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1869 * buffer.C (dispatch): simplify
1870 (dispatch): adjust to take a FuncRequest as arg, adjust
1872 * boost.C (assertion_failed): change assertion message slightly
1874 * ToolbarBackend.C (read): simplify
1876 * MenuBackend.C (binding): adjust call to findbinding, add a
1877 message if no binding is found.
1879 (expandToc): correct by adding a empty FuncRequest
1881 * LyXAction.C: include <boost/assert.hpp>
1882 (isPseudoAction): delete function
1883 (LookupFunc): change name to...
1884 (lookupFunc): this. change return type to FuncRequest.
1885 (getActionName): take kb_action as arg, simplify
1886 (funcHasFlag): add an assert, simplify.
1888 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1890 * toc.C (action): return a FuncRequest, simplify
1892 * lyxfunc.C (processKeySym): adjust
1893 (getStatus): delete version that takes an int.
1895 (dispatch): delete version that takes action as int
1897 (sendDispatchMessage): simplify and adjust
1899 * funcrequest.C (getArg): take unsigned int as arg
1901 * ToolbarBackend.C (read): adjust
1902 (add): delete version that takes func as a string.
1903 (getIton): take a FuncRequest as arg
1905 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1908 * MenuBackend.C (MenuItem): add a new construct that only takes a
1909 Kind, simplify the constructor use for submenus.
1911 (expandLastfiles): adjust
1912 (expandDocuments): adjust
1913 (expandFormats): adjust
1914 (expandFloatListInsert): adjust
1915 (expandFloatInsert): adjust
1916 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1918 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1919 Remove class variables lyx_pseudo_map and lyx_arg_map
1921 * LyXAction.C (searchActionArg): delete function
1922 (getPseudoAction): delete function
1923 (retrieveActionArg): delete function
1924 (LookupFunc): make it return kb_action, simplify.
1925 (getActionName): simplify
1927 * factory.C (createInset): fix new bug
1929 2003-09-19 Angus Leeming <leeming@lyx.org>
1931 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1932 masterFilename_ parameter in the include inset.
1934 * factory.C (createInset): changes due to the changes to InsetInclude.
1936 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1938 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1940 2003-09-18 Angus Leeming <leeming@lyx.org>
1943 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1944 Inset::fillWithBibKeys.
1945 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1947 2003-09-18 Angus Leeming <leeming@lyx.org>
1949 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1951 (ctor): pass and store a 'Buffer const &'
1952 (buffer): new member function.
1954 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1955 '*this' to the LaTeXFeatures ctor.
1957 2003-09-18 Angus Leeming <leeming@lyx.org>
1963 * text.C: rename EnumLColor as LColor_color.
1965 2003-09-18 Angus Leeming <leeming@lyx.org>
1967 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1968 remove #include "insets/insetbase.h" from cursor.h.
1970 2003-09-18 Angus Leeming <leeming@lyx.org>
1972 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1973 InsetOld_code to remove #include "inset.h".
1975 * iterators.C: add #include "insets/inset.h"
1977 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1979 * BufferView.C: remove more locking stuff that apparently doesn't
1980 do anything sensible.
1982 2003-09-16 André Pönitz <poenitz@gmx.net>
1985 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1988 2003-09-16 Angus Leeming <leeming@lyx.org>
1990 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1992 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1995 * paragraph.h: remove #include "lyxfont.h". Forward declare
1998 2003-09-16 Angus Leeming <leeming@lyx.org>
2000 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2001 of support/textutils.h.
2002 (isWord): move the contents of support/textutils.h's IsWordChar here.
2008 * text2.C: add #include "paragraph.h".
2011 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2013 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2019 * LaTeX.C: use namespace alias for lyx::support::os
2021 2003-09-16 Angus Leeming <leeming@lyx.org>
2024 * bufferview_funcs.C:
2027 * paragraph_pimpl.C:
2029 * text.C: add #include "LColor.h".
2031 2003-09-16 Angus Leeming <leeming@lyx.org>
2033 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2034 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2036 Store the FontBits::color variable as an int rather than as an
2037 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2040 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2041 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2042 string calls together.
2044 * lyxrc.C: add #include "LColor.h".
2046 2003-09-15 Angus Leeming <leeming@lyx.org>
2048 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2051 2003-09-15 Angus Leeming <leeming@lyx.org>
2053 * LColor.h: add an EnumLColor wrapper for LColor::color.
2055 * lyxfont.[Ch] (color, setColor, realColor):
2056 * lyxtext.h, text.C (backgroundColor):
2057 pass EnumLColor args to/from the functions, rather than LColor::color
2061 * lyxtext.h: forward declare EnumLColor.
2063 * lyx_main.C: add #include "LColor.h".
2065 2003-09-15 Angus Leeming <leeming@lyx.org>
2067 * .cvsignore: add lyx-gtk.
2069 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2074 * ParagraphParameters.C
2078 * bufferview_funcs.C
2088 * vc-backend.C: remove usage of STRCONV
2090 2003-09-15 Angus Leeming <leeming@lyx.org>
2092 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2093 explicitly define the color passed to the painter.
2095 2003-09-15 Angus Leeming <leeming@lyx.org>
2097 * bufferparams.C (BufferParams): reorder member initializers to avoid
2100 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2102 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2103 * text.C (updateRowPositions): remove an unusual nop
2105 2003-09-12 André Pönitz <poenitz@gmx.net>
2107 * BufferView_pimpl.C:
2116 * Counters.[Ch]: finish the 'automatic counters' job
2118 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2120 * aspell.C: include <boost/assert.cpp> (compile fix)
2122 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2124 * boost.C (assertion_failed): use lyx::support::abort instead of
2127 2003-09-10 Angus Leeming <leeming@lyx.org>
2129 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2130 with their _fwd progeny.
2132 2003-09-09 Angus Leeming <leeming@lyx.org>
2134 134 files throughtout the source tree: replace 'using namespace abc;'
2135 directives with the appropriate 'using abc::xyz;' declarations.
2137 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2139 * boost.C (emergencyCleanup): moved here from LAssert.c
2140 (assertion_failed): new function, called by BOOST_ASSERT
2142 * several files: change Assert to BOOST_ASSERT
2144 2003-09-09 Angus Leeming <leeming@lyx.org>
2146 * buffer.[Ch]: Add an Impl class and move Buffer's member
2147 variables into it. As a result move several header files out of
2150 Add header files to lots of .C files all over the tree as a result.
2152 2003-09-09 Angus Leeming <leeming@lyx.org>
2154 * buffer.[Ch]: make Buffer's member variables private. Add
2157 Lots of changes all over the tree as a result.
2159 2003-09-08 Angus Leeming <leeming@lyx.org>
2161 * graph.C: #include <config.h>.
2163 2003-09-08 Angus Leeming <leeming@lyx.org>
2167 * BufferView_pimpl.C:
2196 * toc.C: remove redundant using directives.
2198 2003-09-07 Angus Leeming <leeming@lyx.org>
2200 * LaTeXFeatures.h: remove #include "support/types.h".
2201 * ToolbarBackend.h: remove #include <algorithm>.
2202 * changes.h: remove #include <ctime>.
2203 * debug.h: remove #include <iosfwd>.
2204 * graph.h: remove #include "support/std_string.h".
2205 * lyx_main.h: remove #include <csignal>.
2206 * lyxlex_pimpl.h: remove #include <fstream>.
2207 * sgml.h: remove #include <algorithm>, <utility>.
2208 * toc.h: remove #include "support/std_ostream.h".
2209 Add #include <iosfwd>.
2211 2003-09-07 Angus Leeming <leeming@lyx.org>
2213 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2215 * converter.h: forward declare LatexRunParams.
2216 * encoding.h: remove #include "lyxrc.h".
2217 * lyxtext.h: remove #include "LColor.h".
2218 * lyxtextclass.h: remove #include "support/types.h".
2219 * trans.h: remove #include "tex-accent.h".
2220 * trans_mgr.h: remove #include "tex-accent.h".
2221 * insets/inset.h: remove #include "support/types.h", <vector>.
2222 * insets/insetcollapsable.h: remove #include "LColor.h".
2223 * insets/insetinclude.h: remove #include "dimension.h".
2224 * insets/insetlatexaccent.h: remove #include "dimension.h".
2225 * insets/insetoptarg.h:: remove #include "insettext.h".
2226 * insets/insettext.h: remove #include "dimension.h",
2227 <boost/shared_ptr.hpp>
2229 * insets/renderers.h: add #include "dimension.h".
2230 * insets/updatableinset.h: add #include "support/types.h".
2232 * many .C files: Associated changes.
2234 2003-09-06 Angus Leeming <leeming@lyx.org>
2236 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2237 one, inside testInvariant.
2239 * PrinterParams.C: new file.
2240 * PrinterParams.[Ch]: move the function bodies out of line.
2242 2003-09-06 Angus Leeming <leeming@lyx.org>
2244 * ParagraphParameters.h: forward declare ParameterStruct rather than
2245 including its header file.
2246 (depth): moved out-of-line.
2248 2003-09-06 Angus Leeming <leeming@lyx.org>
2250 * BufferView_pimpl.h:
2253 * lyxfunc.h: forward declare LyXKeySym rather than
2254 #include "frontends/LyXKeySym.h".
2256 * BufferView_pimpl.C:
2259 * lyxfunc.C: associated changes.
2261 2003-09-06 Angus Leeming <leeming@lyx.org>
2263 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2264 As a result, can remove the #include "insets/inset.h" from BufferView.h
2266 2003-09-06 Angus Leeming <leeming@lyx.org>
2268 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2269 As a result, can remove the #include "insets/inset.h" from BufferView.h
2271 2003-09-06 Angus Leeming <leeming@lyx.org>
2277 * bufferview_funcs.C:
2278 * BufferView_pimpl.C:
2283 * ParagraphParameters.C:
2288 * frontends/controllers/ControlDocument.C:
2289 * insets/insetcaption.C: rearrange the #includes into some sort of
2292 * buffer.h: remove #includes ErrorList.h, undo.h
2294 2003-09-06 Angus Leeming <leeming@lyx.org>
2296 * support/types.h: add a 'depth_type' typedef, used to store the
2297 nesting depth of a paragraph.
2300 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2301 defining explicitly.
2304 * paragraph_funcs.h:
2305 * ParagraphParameters.h:
2306 * sgml.h: use lyx::depth_type rather than Paragraph or
2307 ParameterStruct's depth_type.
2310 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2313 * BufferView_pimpl.C:
2315 * ParagraphParameters.C:
2318 * bufferview_funcs.C:
2325 * frontends/LyXView.C:
2326 * frontends/controllers/ControlDocument.C:
2327 * frontends/controllers/ControlErrorList.C:
2328 * insets/insetbibitem.C:
2329 * insets/insetbranch.C:
2330 * insets/insetcaption.C:
2331 * insets/insetcollapsable.C:
2332 * insets/insetenv.C:
2333 * insets/insetert.C:
2334 * insets/insetfloat.C:
2335 * insets/insetfoot.C:
2336 * insets/insetfootlike.C:
2337 * insets/insetnewline.C:
2338 * insets/insetquotes.C:
2339 * insets/insettabular.C:
2340 * insets/insettext.C:
2341 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2343 * frontends/controllers/ControlChanges.C: #include "changes.h".
2345 2003-09-06 Angus Leeming <leeming@lyx.org>
2347 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2348 than #including paragraph.h.
2351 * RowList.h: deleted. Superfluous.
2361 * insets/insettext.h: use ParagraphList_fwd.h rather than
2364 * paragraph.h: don't forward declare ParagraphList.
2367 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2368 rather than ParagraphList.h. paragraph.h is still needed for the
2369 Paragraph::depth_type parameters.
2371 * textcursor.h: enable it to compile stand-alone in light of the
2374 * bufferview_funcs.C:
2386 * frontends/controllers/ControlParagraph.C:
2387 * frontends/controllers/ControlTabular.C:
2388 * insets/insetmarginal.C:
2389 * insets/insetminipage.C:
2390 * insets/insetnote.C:
2391 * insets/insetoptarg.C: add header files needed to compile again.
2393 2003-09-06 Angus Leeming <leeming@lyx.org>
2395 * RowList_fwd.h: new file, forward-declaring Row rather than
2396 #including lyxrow.h.
2401 * insets/insettext.h: use it instead of RowList.h
2403 * bufferview_funcs.C:
2410 * text3.C: #include "RowList.h".
2412 2003-09-05 Angus Leeming <leeming@lyx.org>
2414 * factory.C (createInset):
2415 * vspace.C (c-tor): replace sscanf call with an istringstream.
2416 * ispell.C: re-add missing HP/UX headers.
2417 * lyxserver.C: re-add missing os2 headers.
2419 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2428 * text3.C: re-add missing system headers, needed for 2.95.2.
2430 2003-09-05 Angus Leeming <leeming@lyx.org>
2432 Changes most place everywhere due to the removal of using directives
2433 from support/std_sstream.h.
2435 2003-09-05 Angus Leeming <leeming@lyx.org>
2437 Replace LString.h with support/std_string.h,
2438 Lsstream.h with support/std_sstream.h,
2439 support/LIstream.h with support/std_istream.h,
2440 support/LOstream.h with support/std_ostream.h.
2442 Changes resulting throughout the tree.
2444 2003-09-05 Angus Leeming <leeming@lyx.org>
2446 * sgml.h: ensure that the header file can be compiled stand-alone.
2447 * *.C: strip out redundant #includes. (320 in total.)
2449 2003-09-04 Angus Leeming <leeming@lyx.org>
2451 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2452 here (from getPackages).
2454 * debug.[Ch]: add a new EXTERNAL tag.
2456 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2458 * text2.C (cursorEnd): simplify
2460 (getColumnNearX): adjust
2462 * text.C (computeBidiTables): adjust
2465 * rowpainter.C (paintChars): adjust
2466 (paintSelection): adjust
2467 (paintChangeBar): adjust
2470 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2472 (numberOfSeparators): adjust
2474 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2480 * text3.C: Restricts the mouse click functionality
2481 of insets like bibtex, include, toc and floatlist to the visible
2482 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2483 up the dialogs. Cursor has to be in front of the inset (i.e.
2484 start of row) for this to function.
2486 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2488 * bufferview_funcs.C (currentState): output row information
2490 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2492 * bufferview_funcs.C (currentState): output paragraph position
2494 2003-09-04 Angus Leeming <leeming@lyx.org>
2496 * FloatList.h: move out #include "Floating.h".
2497 * LaTeX.h: move out #include "DepTable.h".
2498 * LyXAction.h: move out #include "funcrequest.h".
2499 * buffer.h: move out #include "author.h", "iterators.h".
2500 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2501 * lyx_main.h: move out #include "errorlist.h".
2502 * lyxfunc.h: move out #include "FuncStatus.h".
2503 * lyxtext: move out #include "lyxcursor.h".
2504 * paragraph_pimpl.h: move out #include "counters.h".
2506 2003-09-03 Angus Leeming <leeming@lyx.org>
2508 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2509 preamble_snippets list, enabling us to add snippets to the preamble
2510 only if the snippet was not there already.
2512 2003-09-04 Angus Leeming <leeming@lyx.org>
2514 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2516 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2518 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2521 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2523 * BranchList.C: point fix, earlier forgotten
2525 2003-09-02 Angus Leeming <leeming@lyx.org>
2527 * box.C (contains): renamed from 'contained' after a fantastic
2530 2003-09-02 John Levon <levon@movementarian.org>
2536 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2538 2003-09-02 John Levon <levon@movementarian.org>
2540 * text2.C: simplification of cursorEnd(), including partial
2543 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2545 * buffer.C (readFile): add a space
2547 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2549 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2551 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2553 * buffer.C (readFile): new function, take a filename and a
2554 ParagraphList::iterator
2556 (readFile): adjust, make it private. don't use setStream, make
2557 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2558 always contain the filename.
2560 * BufferView.C (insertLyXFile): simplify and make it work for
2563 2003-08-30 John Levon <levon@movementarian.org>
2565 * Makefile.am: fix dist (from Kayvan)
2567 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2569 * most files: change to use const Buffer refs
2571 2003-08-27 André Pönitz <poenitz@gmx.net>
2573 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2574 on top of ownerPar().
2576 2003-08-27 John Levon <levon@movementarian.org>
2578 * funcrequest.C: properly initialise POD members
2580 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2582 * lyxtext.h (top_y): move top_y from here
2587 * BufferView_pimpl.[Ch]: to here
2588 * frontends/screen.C:
2589 * insets/insettabular.C:
2590 * insets/insettext.C: adjust
2591 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2593 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2596 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2598 2003-08-26 André Pönitz <poenitz@gmx.net>
2600 * paragraph_func.[Ch] (outerPar): new function
2603 * paragraph_funcs.C:
2604 * paragraph_funcs.h:
2605 * paragraph_pimpl.C:
2606 * text2.C: remove Inset::par_owner
2608 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2613 * text2.C: eliminates the needFullRow/display() stuff
2614 altogether, putting the logic in metrics/draw in the insets.
2616 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2618 * text2.C (redoParagraphInternal, redoParagraphs):
2619 * text.C (redoParagraph): add a call to updateRowPositions at the
2620 end of each 'metrics-like' call. Remove all others.
2621 (getRow): remove the 'y-computing' version.
2622 (getRowNearY): do not compute nor return the real y. Solve the
2623 'y < 0' problem and simplify.
2625 2003-08-22 Angus Leeming <leeming@lyx.org>
2627 * *.[Ch]: clean-up of licence and author blurbs.
2628 Also move config.h out of a few .h files and into a few .C files.
2630 2003-08-22 André Pönitz <poenitz@gmx.net>
2632 * lyxrow.[Ch]: add x_ and *fill_ members
2637 * text2.C: adjust/remove prepareToPrint() calls
2639 2003-08-22 André Pönitz <poenitz@gmx.net>
2641 * lyxrow.[Ch]: add end_ member
2643 * lyxrow_funcs.C: use LyXRow::end_
2645 * lyxtext.h (singleWidth): add LyXFont parameter
2648 * text2.C: adjust LyXText::singleWidth() calls
2650 * text.C (redoParagraph): simplify row breaking logic
2653 2003-08-19 André Pönitz <poenitz@gmx.net>
2655 * funcrequest.C: initialize button_ member
2658 * rowpainter.[Ch]: interface consolidation
2660 2003-08-18 André Pönitz <poenitz@gmx.net>
2663 * BufferView_pimpl.C:
2665 * paragraph_funcs.C:
2667 * text3.C: remove LyXScreen::draw() and fitCursor calls
2669 * BranchList.h: remove spurious semicolons
2671 * MenuBackend.C: fix branchlist related crash
2673 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2681 * bufferparams.[Ch]:
2685 * text3.C: implements the 'branch inset'
2686 idea. This allows the output of various versions of a document
2687 from a single source version, selectively outputing or suppressing
2688 output of parts of the text.
2689 This implementation contains a 'branch list editor' in a separate
2690 tab of the document settings dialog. Branches are user definable
2691 and have a "display colour" to distinguish them on-screen.
2693 ColorHandler was somewhat cleaned up.
2694 (1) make possible a dynamically growing LColor list by allowing
2695 the graphic context cache to grow along (vector);
2696 (2) eliminate an IMHO unnecessary step in colour allocation.
2698 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2700 * BufferView_pimpl.C: compile fix
2702 2003-08-15 André Pönitz <poenitz@gmx.net>
2704 * rowpainter.C: remove extra metrics calls
2706 * lyxtext.h: merge the two constructors into a single one,
2707 pass reference to owner's par list
2709 * BufferView_pimpl.C:
2713 2003-08-15 André Pönitz <poenitz@gmx.net>
2715 * lyxrow_funcs.[Ch]:
2718 * paragraph_funcs.C:
2723 * text_funcs.C: split LyXText::rowlist_ into individual
2724 Paragraph::rows_ chunks
2727 * BufferView_pimpl.[Ch]:
2730 * text3.C: remove toggleSelection()
2732 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2734 * bufferlist.C: beautify two alerts (shorter text of buttons)
2735 * buffer.C: Remove redundant ' ' from message
2737 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2738 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2739 rename VALIGN_CENTER to VALIGN_MIDDLE
2741 2003-08-11 André Pönitz <poenitz@gmx.net>
2743 * lyxtext.h (getPar):
2744 * text.C: new function
2746 2003-08-11 André Pönitz <poenitz@gmx.net>
2749 * tracer.[Ch]: remove unneeded files
2751 * InsetList.[Ch]: remove resizeInsetsLyXText()
2756 * text3.C: merge insertParagraphs() and appendParagraph()
2757 remove breakAgain(), update()
2759 * BufferView_pimpl.[Ch]:
2760 * bufferview_funcs.[Ch]:
2764 * tabular.C: adjust after text & InsetList changes.
2766 2003-08-08 André Pönitz <poenitz@gmx.net>
2768 * text.C (insertChar, backspace): replace rowlist fiddling
2769 with rebreak of full par
2772 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2773 checkParagraph, updateInset): removed
2775 2003-08-07 André Pönitz <poenitz@gmx.net>
2778 * text3.C: merge some LFUN handlers, remove dead code
2780 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2782 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2784 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2786 * text2.C (DEPM): fix part of bug 1255 and 1256
2788 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2790 * BufferView_pimpl.C (workAreaDispatch): change to use
2791 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2792 that are no mouse related.
2794 2003-08-05 André Pönitz <poenitz@gmx.net>
2797 * BufferView_pimpl.[Ch]:
2798 * bufferview_funcs.C:
2800 * text3.C: rip out "deep update"
2802 * textcursor.[Ch] (last_sel_cursor): remove unused member
2804 2003-08-04 André Pönitz <poenitz@gmx.net>
2807 * BufferView_pimpl.[Ch]:
2808 * ParagraphParameters.C:
2809 * bufferview_funcs.C:
2815 * text3.C: replace "complicated" BufferView::update(...) calls with
2818 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2820 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2822 * Makefile.am (lyx_SOURCES): add paper.h
2824 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2826 * Makefile.am: move things around so that both lyx-qt and
2827 lyx-xforms can be built (according to --with-frontend). Then lyx
2828 is a symbolic link to lyx-[firstfrontend]
2830 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2832 * Always use std::endl with lyxerr
2834 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2836 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2838 2003-08-01 André Pönitz <poenitz@gmx.net>
2841 * BufferView_pimpl.[Ch]:
2843 * text3.C: merge BufferView::repaint() and BufferView::update()
2845 2003-08-01 José Matos <jamatos@lyx.org>
2847 * buffer.[Ch]: file_format is no longer a buffer data element.
2849 2003-08-01 André Pönitz <poenitz@gmx.net>
2854 * text2.C: make redoParagraph more independent of current cursor
2856 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2858 * text2.C: remove unneeded members
2860 2003-07-30 André Pönitz <poenitz@gmx.net>
2862 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2864 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2865 create a single function...
2867 * paragraph_funcs.C (moveItem): ... here.
2870 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2872 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2874 * LColor.[Ch]: Add comment and greyedout logical colors.
2876 2003-07-30 André Pönitz <poenitz@gmx.net>
2878 * tabular.C: don't use Assert too heavily. This crashes where it
2881 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2883 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2884 is disabled (bug 1232)
2886 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2888 * factory.C: limited 'arg' scope
2890 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2892 * factory.C: fixed Note submenu issues
2894 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2896 * factory.C: submenu for Note/Comment/Greyedout
2898 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2901 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2903 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2906 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2907 greyedout. Patch provided by Jürgen Spitzmüller.
2909 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2911 * kbmap.C (read): fix error message when reading bind files
2913 2003-07-29 Angus Leeming <leeming@lyx.org>
2915 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2916 certainly does not do what it purports to do. I am doing it, and
2917 us, a favour by killing it.
2919 2003-07-28 José Matos <jamatos@lyx.org>
2921 * buffer.C (readBody, do_writeFile):
2922 * paragraph.C(readParagraph): \end_document replaces \the_end.
2924 2003-07-29 André Pönitz <poenitz@gmx.net>
2927 * BufferView_pimpl.[Ch]:
2931 * textcursor.[Ch]: remove toggleToggle & Co
2933 2003-07-28 José Matos <jamatos@fep.up.pt>
2935 * buffer.C (readParagraph):
2936 * params_func (readParToken, readParagraph):
2937 * paragraph.C (write): \layout -> \begin_layout.
2939 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2941 * lyxlex_pimpl.C (setFile): clean up slightly.
2943 * bufferparams.h: add compressed var
2945 * buffer_funcs.C (readFile): adjust for LyXLex change
2946 (newFile): ditto + simplify
2948 * buffer.C (writeFile): handle writing of compressed files
2950 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2951 Check if the file is compressed and set a bufferparm if so.
2953 * Makefile.am (lyx_LDADD): remove explicit -lz
2955 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2957 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2958 makeDocBookFile): put the real LyX version in the first line of
2962 * version.C.in: remove lyx_docversion
2964 * tabular.C (write_attribute): add a template-based version to
2965 write enums properly
2967 2003-07-28 André Pönitz <poenitz@gmx.net>
2972 * text3.C: use doubles again for x-coordinates. They are needed.
2974 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2976 * messages.C (getLocaleDir): use lyx_localedir()
2978 * lyxlex_pimpl.C (setFile): compress stuff
2980 * buffer.C (writeFile): add some compression stuff
2981 (do_writeFile): new func, dont call expliti close... will this
2984 * Makefile.am (lyx_LDADD): add -lz
2986 2003-07-28 José Matos <jamatos@fep.up.pt>
2988 * buffer.C: increment file format.
2989 * paragraph_funcs (readParagraph, readParToken):
2990 * paragraph.C (readParagraph): add \end_layout.
2992 2003-07-27 Angus Leeming <leeming@lyx.org>
2994 * Makefile.am: remove special casing for configure-time setting of
2995 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2997 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2998 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3000 2003-07-26 André Pönitz <poenitz@gmx.net>
3002 * paragraph_func.[Ch]:
3003 * paragraph.C (realizeFont): inline it whereever it is used
3008 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3011 2003-07-26 André Pönitz <poenitz@gmx.net>
3015 * text2.C: get rid of LyXText::need_break_row
3017 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3019 * toc.[Ch]: put namespace toc inside namespace lyx
3021 * MenuBackend.C (expandToc2): adjust for lyx::toc
3024 * lyxfunc.C (dispatch): adjust for lyx::find
3026 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3027 lyx::find instead. Reorganize a bit.
3028 (LyXReplace): rename to replace
3029 (LyXFind): rename to find
3031 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3034 2003-07-26 André Pönitz <poenitz@gmx.net>
3036 * text.C (setHeightOfRow): restrict scope of temporary variable
3038 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3039 code (never has been used?)
3041 2003-07-27 Asger Alstrup <alstrup@local>
3043 * text.C (fill): Optimise algorithm to exploit that we can reuse
3044 the LyXFont for many characters.
3045 (setHeightOfRow): Same thing.
3046 (rowBreakPoint): Same thing.
3048 2003-07-26 Asger Alstrup <alstrup@local>
3050 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3052 * text.C (singleWidth): Spurious font copying in hot-spot
3053 singleWidth avoided. Reorder tests for arabic for efficiency.
3055 * text.C (fill): handle empty paragraphs better.
3057 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3060 * encoding.h: add includes
3062 * lyxrc.C: remove reading of bind files
3064 * lyx_main.C (init): setup bindings and menus only if we have a
3067 * kbmap.C (read): new method. Do the actual reading of bind
3070 * converter.C (dvipdfm_options):
3073 (output): adapt PAPER_* enums.
3075 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3077 * bufferparams.h: remove paper-related enums from there
3079 * paper.h: New file. A trivial header file to hold paper-related
3080 enums. It should later expand to contain many paper-related
3083 * lyxrc.C: declare extern displayTranslator
3085 2003-07-27 José Matos <jamatos@fep.up.pt>
3087 * tabular.[Ch] (linuxdoc): add support for tables and figures
3090 2003-07-27 José Matos <jamatos@fep.up.pt>
3092 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3093 consistency in both functions.
3094 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3096 2003-07-26 Asger Alstrup <alstrup@local>
3098 * rowpainter.C (paintRows): Change algorithm to work directly on
3099 the insets rather than asking every character in the document
3100 whether its an inset.
3102 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3104 * buffer.C (openFileWrite): factorize some code
3106 2003-07-26 Angus Leeming <leeming@lyx.org>
3109 * lyx_main.[Ch]: replace occurances of system_tempdir with
3112 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3114 * rename Inset to InsetOld
3116 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3118 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3119 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3120 which I think is a bit clearer. EDIT is gone, since it was
3121 premature optimisation, and broken for mathed anyway.
3122 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3123 with cursor positioning in insets as well (math insets still do not
3124 work, but that's a different story anyway.) It mysteriously
3125 crashes sometimes with undo in the first paragraph, but I'm fairly
3126 confident that this is a compiler bug.
3128 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3130 * paragraph.C (Paragraph): adjust for new clone return type
3132 (copyIntoMinibuffer): ditto
3134 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3136 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3137 by not having a special case, and always doing a full rebreak of
3138 the document after undo.
3140 2003-07-23 Angus Leeming <leeming@lyx.org>
3142 * factory.C (createInset): InsetExternal::setParams now takes a
3145 2003-07-23 Angus Leeming <leeming@lyx.org>
3147 * factory.C (createInset): changed interface to the external and
3148 graphics mailers' string2params functions.
3150 2003-07-23 Angus Leeming <leeming@lyx.org>
3152 * factory.C (createInset): pass a
3153 Buffer const * parameter to InsetExternalMailer's string2params.
3155 2003-07-22 John Levon <levon@movementarian.org>
3157 * Thesaurus.h: include the right aiksaurus header
3159 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3161 * MenuBackend.C (expand): check menu shortcuts unconditionally
3163 2003-07-21 Angus Leeming <leeming@lyx.org>
3165 * factory.C (createInset): pass a
3166 buffer_path parameter to InsetGraphicsMailer's string2params.
3168 2003-07-21 Angus Leeming <leeming@lyx.org>
3170 * BufferView_pimpl.C (buffer):
3173 * lyxfunc.C (dispatch):
3174 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3175 rather than the grfx shortcut.
3177 2003-07-21 André Pönitz <poenitz@gmx.net>
3179 * rowpainter.C: remove unused variables
3182 * tabular_funcs.h: move to tabular.C
3183 * Makefile.am: adjust
3185 * tabular.[Ch]: basic optical cleaning
3187 * author.h: pass references, not values
3189 2003-07-18 André Pönitz <poenitz@gmx.net>
3197 * text3.C: two-phase drawing for InsetText and InsetTabular
3198 some float -> int changes.
3200 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3202 * lyx_main.C: fix the fix
3204 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3206 * lyx_main.C: fix a crash in batch mode if no files specified
3209 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3211 * format.[Ch] (papersize): moved to BufferParams
3212 * converter.[Ch] (dvips_options): moved to BufferParams
3213 (dvipdfm_options): moved to anon namespace
3214 * bufferparams.[Ch]: added above functions.
3216 2003-07-17 André Pönitz <poenitz@gmx.net>
3220 * text2.C: don't call inset->update() anymore
3222 * metricsinfo.[Ch]: add convenience constructor
3224 2003-07-16 André Pönitz <poenitz@gmx.net>
3229 * text2.C: replace the LyXCursor::irow_ member with
3230 on-demand computation of the value
3232 2003-07-16 John Levon <levon@movementarian.org>
3234 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3236 2003-07-15 André Pönitz <poenitz@gmx.net>
3239 * text2.C: remove no more needed refresh_row
3241 2003-07-15 André Pönitz <poenitz@gmx.net>
3246 * text3.C: refresh_status tristate -> need_update bool
3248 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3250 * lyxtext.h (init): remove reinit argument (act as if always true)
3251 * text2.C: adjust to that
3253 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3255 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3256 * text3.C: use it to delete selections in some cases
3257 (bugs 441, 673, 702, 954).
3259 2003-07-14 André Pönitz <poenitz@gmx.net>
3261 * rowpainter.[Ch]: reduce interface
3263 2003-07-14 André Pönitz <poenitz@gmx.net>
3265 * BufferView_pimpl.C:
3266 * text2.C: adjust after removing unused BufferView * argument
3268 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3270 * text2.C (init): fix a crash fired on resize
3272 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3274 * buffer.[Ch]: added new closing signal
3275 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3276 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3277 BufferView::Pimpl via the closing the signal
3279 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3281 * buffer.[Ch]: take out all bv-related from buffer
3283 * BufferView_pimpl.[Ch]: connect to new signals
3284 * CutAndPaste.C: removed useless asserts
3285 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3288 * lyxfunc.C: moved view-related funciontality from vc here
3289 * paragraph.C: removed outdated comments
3292 2003-07-10 André Pönitz <poenitz@gmx.net>
3294 * BufferView_pimpl.C:
3298 * text2.C: remove InsetText::InnerCache, clean up consequences
3300 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3302 * ispell.C: fix two typos in error messages
3304 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3306 * Extend Note inset to other forms of annotation like Comment
3307 and Greyedout. Right button click gives dialog.
3309 Files modified or added (+):
3313 * ControlNote.[Ch] +
3315 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3316 frontends/controllers
3320 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3322 * aspell.C: add missing namespace lyx::support
3324 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3326 * BufferView.[Ch] (newFile): Add
3327 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3328 * LaTeX.[Ch] (message): added this signal and use it
3329 * buffer.[Ch] (busy, message): added these signals and use them
3330 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3334 * importer.C: use buffer signals instead of direct bv calling
3335 * lyx_cb.[Ch] (ShowMessage): removed
3338 * paragraph_funcs.C:
3339 * text2.C: use buffer signals
3341 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3343 * introduce namespace lyx::graphics
3345 2003-07-02 André Pönitz <poenitz@gmx.net>
3347 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3349 2003-07-01 André Pönitz <poenitz@gmx.net>
3356 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3357 text*.C to text_func.C
3359 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3361 * introduce namespace lyx::support
3363 2003-06-30 André Pönitz <poenitz@gmx.net>
3368 * text.C: re-enable --with-included-string
3370 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3372 * textcursor.C: add <config.h>
3374 * text.C (getWord): remove const from word_location arg
3376 * lyxvc.C (getLogFile): fix const type order
3378 * lyxtext.h: remove const from word_location arg, add arg name
3380 * lyxlayout.h: currect type on labeltype.
3382 * importer.C: correct \file
3384 * converter.C (intToFormat): use std:: on ret val, ws changes
3386 * bufferlist.h: correct \file
3388 * buffer.C (makeLinuxDocFile): fix const type order
3389 (makeDocBookFile): ditto
3390 (fillWithBibKeys): use std:: on stdlib args.
3392 * CutAndPaste.C: fix authors.
3393 (availableSelections): use std:: on return vector
3395 2003-06-27 André Pönitz <poenitz@gmx.net>
3397 * BufferView_pimpl.C:
3398 * bufferview_funcs.C:
3406 * text3.C: remove LyXCursor::row_ member
3409 * text.C: rename fullRebreak() to partialRebreak() and implement
3410 a fullRebreak() that really bereks fully
3412 * textcursor.h: new struct for cursor-related data
3414 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3416 * lyx_main.C (LyX): get full path of document loaded on the
3419 2003-06-26 André Pönitz <poenitz@gmx.net>
3421 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3422 remove unused/broken operator>,<,>=.
3424 * text.C: remove only use of broken operator<= in an Assert().
3426 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3428 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3429 moved errorlist_.clear to showErrorList
3431 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3433 * converter.C (scanLog, runLaTeX):
3434 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3435 move the bv->showErrorList call to the callers
3436 * lyxfunc.C: i.e. here...
3438 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3439 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3440 namespace, the second to...
3441 * buffer_funcs (BufferFormat, parseErrors): added
3442 * errorlist.C (ErrorList(TeXErrors const &)): removed
3444 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3446 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3448 2003-06-24 "Garst R. Reese" <reese@isn.net>
3452 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3454 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3456 * version.C.in: change docversion to 1.4
3458 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3460 * buffer.C: fix a bug just introduced
3462 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3464 * buffer.[Ch]: added the parseError signal and use it, removed
3466 * BufferView.[Ch] (addError): moved to ...
3467 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3468 to the Buffer::parseError signal to catch (guess what) parse errors
3469 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3471 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3473 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3474 ability to create a buffer and to return an existing one from
3475 the list. Moved these functions to...
3476 * buffer_funcs.[Ch]: added
3477 * BufferView.[Ch] (loadLyXFile): added
3478 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3479 job removed from bufferlist::loadLyXFile.
3480 * buffer.C (setReadOnly): make it work without view
3481 (i.e added an if (users))
3483 2003-06-19 Angus Leeming <leeming@lyx.org>
3486 * LyXAction.C (init):
3487 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3488 with LFUN_DIALOG_SHOW <name> <data>.
3490 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3492 * CutAndPaste.C (availableSelections): small compilation fix for
3493 ancient (gcc 2.9x) compilers
3495 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3497 * text3.C (cursorNext): add tmp var
3499 * text2.C (updateCounters): for function calling out of for clause
3500 (replaceSelectionWithString): ditto
3501 (insertStringAsParagraphs): ditto
3502 (getColumnNearX): add tmp var
3503 (setCursorFromCoordinates): add tmp var
3504 (cursorDownParagraph): add tmp var
3505 (deleteEmptyParagraphMechanism): add tmp var
3507 * text.C (insertChar): add tmp var
3509 * rowpainter.C (paintDepthBar): add tmp var
3511 * CutAndPaste.C (availableSelections): potentially check all
3512 paragraphs in a cut to fill the shown strings.
3514 2003-06-18 André Pönitz <poenitz@gmx.net>
3516 * kbmap.[Ch]: use vector<> instead of list<>
3518 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3520 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3521 pasteSelection with index
3523 * text2.C (pasteSelection): modify, call pasteSelection with index
3525 * paragraph.C (asString): reimplement version with no interval to
3526 call the one with interval.
3528 * lyxtext.h: add index arg to pasteSelection
3530 * MenuBackend.C (MenuItem): handle PasteRecent
3531 (Menu::read::Menutags): add md_pasterecent
3533 (expandPasteRecent): new function
3536 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3538 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3540 (availableSelections): new function
3542 2003-06-17 Angus Leeming <leeming@lyx.org>
3544 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3546 2003-06-17 Angus Leeming <leeming@lyx.org>
3549 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3551 * lyxfunc.C (dispatch): invoke it.
3553 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3555 * iterators.C (operator++, ParPosition): reintroduce some
3556 const_cast for the benefit of older compilers.
3558 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3560 * text3.C (dispatch): do not modify clipboard when doing
3561 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3562 LFUN_DELETE_SKIP on a selection selection
3564 2003-06-16 André Pönitz <poenitz@gmx.net>
3570 * tabular.[Ch]: IU of clone() and getLabelList();
3572 2003-06-13 André Pönitz <poenitz@gmx.net>
3574 * tabular.h: compactification
3576 2003-06-12 André Pönitz <poenitz@gmx.net>
3580 * tabular_funcs.h: some renaming plus whitespace
3582 2003-06-12 André Pönitz <poenitz@gmx.net>
3585 * BufferView_pimpl.C:
3591 * toc.C: Return a Paragraph & for ParIterator::operator*()
3593 2003-06-11 John Levon <levon@movementarian.org>
3597 * ToolbarBackend.C: add "Toolbars" section and
3600 2003-06-10 Angus Leeming <leeming@lyx.org>
3603 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3605 * lyxfunc.C (dispatch): invoke it.
3607 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3609 * main.C: protect <ios> with HAVE_IOS
3610 (main): protect sync_with_stdio with HAVE_IOS
3612 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3614 * text2.C (cutSelection): adjust
3615 (pasteSelection): adjust
3617 * messages.C: handle get of empty string
3619 * main.C (main): use sync_with_stdio(false)
3621 * lyxfunc.C (dispatch): adjust
3623 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3624 (WriteAs): remove unneeded BufferView arg.
3626 * bufferparams.h: use correct types on papersize, papersize2 and
3629 * bufferparams.C (readToken): adjust for type
3630 (writeLaTeX): add missing cases to switch.
3632 * bufferlist.C (quitWriteBuffer): adjust
3635 * buffer.C (asciiParagraph): remove some commented code.
3637 * CutAndPaste.C: remove current_view extern variable.
3638 (cutSelection): add BufferParams arg.
3639 (eraseSelection): add BufferParams arg.
3640 (pasteSelection): add Buffer const & arg
3642 2003-06-07 John Levon <levon@movementarian.org>
3645 * paragraph_funcs.C:
3646 * paragraph_pimpl.C:
3650 * paragraph.C: allow InsetERT to freely space lines,
3651 and some consolidation of code
3653 2003-06-06 José Matos <jamatos@fep.up.pt>
3655 * buffer.C (makeDocBookFile): fix bug #821
3657 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3659 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3661 2003-06-04 Angus Leeming <leeming@lyx.org>
3663 * buffer.C: bump format to 224.
3665 2003-06-05 André Pönitz <poenitz@gmx.net>
3667 * text2.C (redoParagraphs): remove two const_cast<>
3669 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3671 * ParagraphList.h: remove last remnants of NO_STD_LIST
3673 2003-06-03 Angus Leeming <leeming@lyx.org>
3675 * factory.C (createInset): small change to the way InsetExternal's params
3678 2003-06-04 André Pönitz <poenitz@gmx.net>
3680 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3682 * paragraph_pimpl.h:
3683 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3685 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3687 * undo_funcs.C: make some simple cases of undo work again
3689 2003-06-03 John Levon <levon@movementarian.org>
3691 * ispell.C: HPUX doesn't have sys/select.h
3694 2003-06-03 John Levon <levon@movementarian.org>
3696 * CutAndPaste.C: update tabular and include inset
3701 * paragraph.C: remove owningBuffer(), don't pass Buffer
3704 * factory.C: insetGraphicsParams changed
3706 2003-06-02 John Levon <levon@movementarian.org>
3712 * text3.C: remove insetparent
3714 2003-06-02 John Levon <levon@movementarian.org>
3717 * buffer.C: fix inset_iterator.end(), move out of line
3720 2003-06-01 John Levon <levon@movementarian.org>
3722 * text3.C: use a proper cut/paste when doing inset
3723 insert (from Jürgen Spitzmüller)
3725 2003-06-01 John Levon <levon@movementarian.org>
3727 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3729 2003-05-30 André Pönitz <poenitz@gmx.net>
3731 * rowpainter.C: unify second drawing phase
3733 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3735 * trans_mgr.C: remove one case of current_view
3737 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3739 * paragraph_funcs.h: remove paragraph.h include
3741 * paragraph.h: delete NO_STD_LIST stuff
3743 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3745 * buffer.h: remove paragraph.h include
3747 * ParagraphList.C: delete file
3749 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3751 * toc.C (getTocList): adjust
3753 * paragraph_pimpl.C (validate): adjust
3755 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3757 * paragraph.C (Paragraph): adjust
3758 (getPositionOfInset): use const_iterator, adjust
3759 (bibitem): use const_iterator, adjust
3760 (setInsetOwner): adjust
3762 * iterators.C (operator++): adjust
3764 * InsetList.[Ch]: Replace selfmade iterator with standard
3765 vector::iterator also introduce const_iterator. Remove getPos,
3766 getInset and setInset from InsetTable. Adjust accordingly.
3768 * BufferView.C (lockInset): adjust
3769 (ChangeInsets): adjust
3771 * tabular.[Ch]: delete commented same_id functions
3773 2003-05-28 John Levon <levon@movementarian.org>
3775 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3777 2003-05-28 André Pönitz <poenitz@gmx.net>
3779 * metricsinfo.[Ch]: remove 'fullredraw' member
3781 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3783 * lyxtextclass.C (operator): remove caching.
3785 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3789 * text2.C (cursorBottom): adjust
3790 (setCounter): use ParagraphList::find, adjust
3792 * text.C (workWidth): use ParagraphList::find, adjust
3794 * lyxcursor.C (LyXCursor): adjust
3796 * buffer.C (inset_iterator): adjust
3798 * ParagraphList.h: make iterator(value_type) private, make
3799 ParagraphList a friend of iterator.
3801 * ParagraphList.C (find): new function
3803 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3805 2003-05-27 André Pönitz <poenitz@gmx.net>
3807 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3809 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3811 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3813 2003-05-26 John Levon <levon@movementarian.org>
3815 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3817 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3819 * remove same_id from function signatures, adjust.
3821 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3823 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3825 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3827 * paragraph.C (Paragraph): get rid of same_ids parameter
3829 * ParagraphList.C (insert): adjust
3832 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3834 * paragraph_funcs.C (breakParagraph): adjust
3835 (breakParagraphConservative): adjust
3837 * buffer.C (readParagraph): adjust
3839 * ParagraphList.C (insert): take a reference instead of a pointer
3842 * paragraph.[Ch] (id): new function
3844 * bufferlist.C (newFile): adjust
3846 * ParagraphList.C (ParagraphList): adjust
3848 (push_back): take a reference instead of a pointer.
3850 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3852 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3855 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3856 set else use old code.
3858 * ParagraphList.C: remove all NO_NEXT code and only compile this
3859 code of NO_STD_LIST is set.
3861 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3863 * BufferView_pimpl.C:
3873 * graphics/GraphicsConverter.C:
3874 * graphics/PreviewLoader.C: header adjustment
3876 2003-05-23 Angus Leeming <leeming@lyx.org>
3878 * LaTeXFeatures.[Ch] (useBabel): new method.
3879 * bufferparams.C (writeLaTeX): use it.
3881 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3883 * ParagraphList.h (set): remove unused function.
3885 2003-05-23 André Pönitz <poenitz@gmx.net>
3888 * BufferView_pimpl.C:
3892 * undo_funcs.C: setUndo reworked
3894 * iterators.[Ch]: add access to topmost ParagraphList
3896 * lyxtext.[Ch] (workWidth): add a const
3898 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3900 * texrow.[Ch] (increasePos): remove function
3901 * exporter.C (export): removed unused var and outdated comment
3903 2003-05-23 Angus Leeming <leeming@lyx.org>
3905 * latexrunparams.h: rename fragile as moving_arg.
3906 * paragraph.C (simpleTeXOnePar): ditto.
3907 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3909 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3911 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3913 (textUndoOrRedo): comment out a currently unused var.
3915 * paragraph.h (NO_NEXT): enable NO_NEXT
3917 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3919 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3921 * exporter.C (Export): adjust for removeAutoInsets removal.
3923 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3925 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3927 * BufferView.[Ch] (removeAutoInsets): delete function
3929 2003-05-22 Angus Leeming <leeming@lyx.org>
3931 * latexrunparams.h: add a free_spacing variable.
3933 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3934 to pass moving_arg, as the data is stored in runparams.fragile.
3936 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3937 to Inset::latexOptional or to simpleTeXOnePar.
3939 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3940 free_spacing arg to Inset::latexOptional.
3942 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3945 2003-05-22 Angus Leeming <leeming@lyx.org>
3947 * latexrunparams.h: add fragile and use_babel variables.
3949 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3950 * buffer.C (makeLaTeXFile): store this returned value in
3951 runparams.use_babel, thus passing it to the inset::latex methods.
3953 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3954 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3956 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3957 longer has a fragile arg, as it is stored in runparams.fragile.
3959 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3960 moving_arg parameter as the data is stored in runparams.fragile.
3962 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3963 a fragile parameter as the data is stored in runparams.fragile.
3965 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3967 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3969 2003-05-22 Angus Leeming <leeming@lyx.org>
3971 * latexrunparams.h: add a 'bool nice' which defaults to false.
3973 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3974 now encapsulated within runparams.
3976 * bufferlist.C (updateIncludedTeXfiles):
3977 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3979 2003-05-22 Angus Leeming <leeming@lyx.org>
3981 * latexrunparams.h: new file containing struct LatexRunParams.
3982 * Makefile.am: add new file.
3984 * LaTeX.[Ch] (c-tor, run):
3985 * buffer.[Ch] (makeLaTeXFile):
3986 * bufferlist.[Ch] (updateIncludedTeXfiles):
3987 * converter.C (convert, scanLog):
3988 * converter.[Ch] (runLaTeX):
3989 * exporter.C (Export):
3990 * paragraph.[Ch] (simpleTeXOnePar):
3991 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3992 * paragraph_funcs.[Ch] (latexParagraphs):
3993 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3994 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3995 pass around a LatexRunParams parameter.
3997 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3999 * paragraph.[Ch]: remove unused constructor
4001 * ParagraphList.C (erase): new function, taking two iterators
4003 2003-05-22 André Pönitz <poenitz@gmx.net>
4005 * undo_funcs.C: remove duplicated code
4007 * iterator.[Ch]: operator=
4009 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4011 * tabular.C (SetMultiColumn): ws changes
4013 * rowpainter.C (paintFirst): get rid of a ->previous
4015 * lyx_cb.C (getPossibleLabel): parlist simplification
4017 * BufferView.C (ChangeInsets): simplify slightly.
4019 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4021 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4022 * lfuns.h: new LFUN_SPACE
4023 * lyxfunc.C: protected space has a new lfun
4024 * paragraph_funcs.C: read new space insets
4026 * factory.C: handle new space insets
4028 2003-05-22 André Pönitz <poenitz@gmx.net>
4031 * BufferView_pimpl.C:
4034 * undo_funcs.C: return a ParIterator from getParFromID.
4036 * iterators.[Ch]: add two const's
4038 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4040 * toc.C (getTocList): adjust
4042 * iterators.[Ch]: rework for parlist
4044 * buffer.C (par_iterator_begin): adjust
4045 (par_iterator_end): adjust
4047 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4049 * BufferView.C (removeAutoInsets): adjust
4050 (ChangeInsets): adjust
4052 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4054 * text.C (top_y): fix bug 1110
4056 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4058 * errorlist.[Ch]: added
4061 * BufferView_pimpl.C:
4062 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4065 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4067 * Makefile.am: ensure that lyx is relinked upon changes to the
4068 various "convenience" libs.
4070 2003-05-20 Angus Leeming <leeming@lyx.org>
4072 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4073 files are compiled in alphabetical order again.
4075 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4077 2003-05-19 Angus Leeming <leeming@lyx.org>
4079 * gettext.[Ch]: remove "char const * _(char const *)".
4081 2003-05-19 André Pönitz <poenitz@gmx.net>
4083 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4092 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4094 2003-05-19 André Pönitz <poenitz@gmx.net>
4098 * lyxtextclass.[Ch]:
4100 * paragraph_funcs.[Ch]:
4102 * text3.C: more insetenv work
4104 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4106 * ParagraphParameters.C (params2string): small bug fixed
4108 2003-05-16 André Pönitz <poenitz@gmx.net>
4111 * bufferview_funcs.C: patch from Kornel Benko to prevent
4112 crash when _(...) is called twice in a statement
4114 2003-05-16 André Pönitz <poenitz@gmx.net>
4121 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4123 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4125 * lyx_main.C (init): remove spurious static_cast
4127 2003-05-14 André Pönitz <poenitz@gmx.net>
4129 * BufferView.C: fix format string
4131 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4133 * BufferView.[Ch] (insertErrors): removed
4134 * BufferView.[Ch] (showErrorList): added
4135 * buffer.C (runChkTeX):
4136 * converter.C (scanLog): call showErrorList instead of inserterrors
4138 2003-05-13 André Pönitz <poenitz@gmx.net>
4140 * BufferView_pimpl.C:
4142 * bufferview_func.C:
4149 * tabular_funcs.h: tostr() from its own header
4151 * ParagraphParameters.C:
4156 * text3.C: STRCONV()
4158 2003-05-12 André Pönitz <poenitz@gmx.net>
4161 * BufferView_pimpl.C:
4165 * ParagraphParameters.C:
4169 * bufferview_funcs.C:
4182 * paragraph_funcs.C:
4186 * text3.C: boost::format -> bformat all over the place
4189 2003-05-09 André Pönitz <poenitz@gmx.net>
4191 * LColor.[Ch]: Pimpl the #include <map> away
4193 2003-05-09 John Levon <levon@movementarian.org>
4195 * bufferlist.C: never remove emergency saves
4197 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4199 * Makefile.am: better lib building
4201 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4203 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4205 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4206 (simpleTeXSpecialChars): adjust
4207 (simpleTeXSpecialChars): adjust
4208 * paragraph.C (simpleTeXOnePar): adjust
4209 * buffer.C (makeLaTeXFile): adjust
4211 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4213 * text2.C (changeDepth): parlist cleanup
4214 (getColumnNearX): ditto
4216 * rowpainter.C (getLabelFont): parlist cleanup
4218 * bufferlist.C (newFile): parlist cleanup
4220 * CutAndPaste.C (eraseSelection): parlist cleanup
4222 * BufferView_pimpl.C (trackChanges): parlist cleanup
4225 * BufferView.C (lockInset): parlist cleanup.
4226 (ChangeInsets): ditto
4228 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4230 * CutAndPaste.h: Update file header.
4232 * CutAndPaste.C: Update file header.
4233 Store the parts cut out of the Document in a limited_stack.
4234 (copySelection): adjust
4235 (pasteSelection): new function, takes the index in the limited stack.
4236 (nrOfParagraphs): adjust
4237 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4238 simplify error inset insertion.
4239 (checkPastePossible): adjust
4241 2003-05-06 John Levon <levon@movementarian.org>
4243 * text2.C: don't cast wrap inset to float
4245 2003-05-05 André Pönitz <poenitz@gmx.net>
4248 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4250 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4251 few naked Paragraph *.
4253 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4255 * bufferparams.C: Output warning if a document with missing
4256 TeX document class is loaded
4257 * exporter.C: Disable TeX exports if the document class is missing
4260 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4261 isTeXClassAvailable()
4263 2003-05-03 John Levon <levon@movementarian.org>
4266 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4267 explicit cursor show/hide
4269 * BufferView_pimpl.h:
4270 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4271 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4273 * lyxfunc.C: hide cursor before dispatching.
4278 * text3.C: remove explicit cursor hides
4280 2003-05-02 André Pönitz <poenitz@gmx.net>
4282 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4285 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4288 * text2.C: tiny whitespace
4290 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4292 * undo_funcs.C: almost only ws changes.
4294 * ParagraphList.C (splice): just return if pl is empty.
4296 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4298 * ParagraphList.C (splice): new function.
4300 * CutAndPaste.C (pasteSelection): use it
4302 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4304 * CutAndPaste.C (pasteSelection): remove the last next and
4305 previous from this file.
4307 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4309 * CutAndPaste.C (pasteSelection): more clean up, user proper
4310 ParagraphList functions for pasteing.
4312 * ParagraphList.C (insert): new function, three arg insert
4314 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4316 * ParagraphList.C (insert): new function, three arg insert
4318 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4321 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4323 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4325 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4327 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4329 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4331 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4332 (copySelection): clean up a bit.
4333 (pasteSelection): use make_pair
4335 * ParagraphList.C (ParagraphList): implement copy constructor
4336 (operator=): implement, base on copy constructor.
4339 * paragraph.C (erase): return a bool
4341 * paragraph_pimpl.C (erasePos): remove function, move contents...
4342 (erase): ... here. Return a bool.
4343 (erase): call erase instead of erasePos.
4345 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4347 * ParagraphList.h: define PitPosPair
4348 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4349 ParagraphList, fix a bug on pasting multiple pars
4350 * text2.C: change interface to C&P
4352 2003-04-30 André Pönitz <poenitz@gmx.net>
4354 * undo_func.C: revert part of yesterday's patch 2
4356 2003-04-30 John Levon <levon@movementarian.org>
4358 * LColor.C: s/tabular/table/
4360 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4362 * text3.C (dispatch): do not convert iterator -> pointer
4363 * undo_funcs.C (setCursorParUndo): ditto
4364 * text_funcs.C (transposeChars): ditto
4366 * text2.C (setLayout): ws changes only
4368 * text.C (breakParagraph): do not convert iterator -> pointer
4370 (acceptChange): ditto
4371 (rejectChange): ditto
4376 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4379 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4381 * text3.C (gotoInset): YABG (yet another bad getChar)
4383 2003-04-29 André Pönitz <poenitz@gmx.net>
4385 * paragraph.h: make operator= private unimplemented as long as
4388 * ParagraphList.C: whitespace
4391 * paragraph_pimpl.[Ch]:
4392 * paragraph_funcs.C:
4394 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4397 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4399 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4401 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4402 * paragraph.[Ch] (erase):
4403 * paragraph_pimpl.[Ch] (erase): change return type and value
4404 * text2.C (cutSelection): some rework
4406 2003-04-28 John Levon <levon@movementarian.org>
4408 * bufferlist.C: changes for unsaved changes dialog
4410 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4412 * bufferlist.C (newFile): set language (messages_) for new
4415 * buffer.C (readFile): ws changes only.
4417 2003-04-28 André Pönitz <poenitz@gmx.net>
4422 * BufferView_pimpl.C:
4423 * BufferView.C: getParFromID related ParagraphList::iterator changes
4425 2003-04-28 André Pönitz <poenitz@gmx.net>
4427 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4430 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4432 * messages.C: remove one more localedir class variable.
4434 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4436 * messages.C (getLocaleDir): singleton generation function
4438 (Messages): add a default constructor.
4440 * main.C (main): do not setup localedir here, do not call
4443 * gettext.C (_): use it.
4444 (gettext_init): delete funciton
4446 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4448 * gettext.C (getLyXMessages): new singleton generating function.
4450 * buffer.C (updateDocLang): adjust
4452 * Makefile.am (messages.o): add target
4453 (main.o): remove target
4455 2003-04-27 John Levon <levon@movementarian.org>
4460 * lyxvc.C: specify cancel button in Alert::prompt
4462 2003-04-26 John Levon <levon@movementarian.org>
4467 * LyXAction.C: add LFUN_INSET_SETTINGS
4469 * lyxfunc.C: don't enable tabular-feature when there's
4470 just any locking inset
4472 2003-04-26 John Levon <levon@movementarian.org>
4474 * bufferlist.C: re-add Cancel to buffer close question
4476 * lyxfunc.C: fix import UI a bit
4478 2003-04-25 John Levon <levon@movementarian.org>
4480 * gettext.C: remove the broken asserts for now
4482 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4484 * messages.C: make case where setlocale cannot comply work better.
4486 * buffer.C (updateDocLang): new function
4487 (changeLanguage): use it
4490 * text2.C (setCounter): use B_ a bit.
4492 * lyxlayout.C (Read): be sure to trim the label strings.
4494 * messages.C (Messages): fix typo in comment
4496 * buffer.C (readFile): set message_ after file is loaded.
4497 (makeDocBookFile): remove double return
4498 (changeLanguage): reset message_ upon language change.
4499 (B_): new func, use this to get translated buffer strings.
4501 * main.C: add myself and Jean Marc as authors.
4503 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4505 * messages.[hC]: pimplify Messages, and three different pimpls to be
4506 used in different circumstances.
4508 * gettext.[Ch]: change for use with new message code.
4510 2003-04-24 André Pönitz <poenitz@gmx.net>
4512 * factory.C: support for eqref
4514 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4516 * messages.[Ch]: add missing char
4518 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4520 * messages.[Ch]: New files
4522 2003-04-18 John Levon <levon@movementarian.org>
4526 * BufferView_pimpl.C:
4530 * text2.C: remove layout-copy/paste (bug 778)
4532 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4534 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4536 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4538 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4539 if they succeed. Act accordingly.
4541 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4543 * text2.C (setCharFont): adjust
4544 (setCounter): adjust
4545 (insertStringAsLines): adjust
4547 * text.C (leftMargin): adjust
4548 (setHeightOfRow): adjust
4550 * rowpainter.C (paintFirst): adjust
4553 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4555 (isFirstInSequence): ditto
4556 (getEndLabel): ditto
4559 * paragraph.C (getParLanguage): comment out some hard stuff.
4561 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4563 (simpleDocBookOnePar): ditto
4564 (makeDocBookFile): use ParagraphList::iterator
4566 * CutAndPaste.C (pasteSelection): adjust
4568 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4570 * text2.C (getFont): adjust
4571 (getLayoutFont): adjust
4572 (getLabelFont): adjust
4574 * paragraph_funcs.C (TeXOnePar): adjust
4576 * buffer.C (simpleLinuxDocOnePar): adjust
4577 (simpleDocBookOnePar): adjust
4579 * CutAndPaste.C (pasteSelection): adjust
4581 * BufferView.C (getEncoding): adjust
4583 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4585 2003-04-16 John Levon <levon@movementarian.org>
4587 * lyxfind.C: use parlist stuff for search/changes
4589 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4591 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4593 * text2.C (deleteEmptyParagraphMechanism): adjust
4595 * text2.[Ch] (ownerParagraph): delete func (both of them
4597 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4599 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4601 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4603 * ParagraphList.C: prepare for NO_NEXT
4605 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4607 * text2.C (getFont): adjust
4608 (getLayoutFont): adjust
4609 (getLabelFont): adjust
4611 * paragraph.C (getFont): adjust
4612 (getLabelFont): adjust
4613 (getLayoutFont): adjust
4615 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4617 2003-04-15 John Levon <levon@movementarian.org>
4621 * lyx_main.C: handle Include in .ui files
4623 2003-04-15 John Levon <levon@movementarian.org>
4625 * MenuBackend.C: make the doc files length shorter
4628 * ToolbarBackend.C: handle toolbar placement flags,
4631 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4633 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4636 * paragraph_funcs.C (TeXOnePar): adjust
4638 * paragraph.C (getLabelFont): add outerfont arg, adjust
4639 (getLayoutFont): ditto
4640 (simpleTeXOnePar): adjust
4642 * paragraph_pimpl.C (realizeFont): delete func
4644 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4646 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4647 row argument, constify cur argument.
4649 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4651 * text2.C (getFont): adjust
4652 (getLayoutFont): adjust
4653 (getLabelFont): adjust
4655 * paragraph_funcs.C (TeXOnePar): adjust
4656 (outerFont): new func...
4657 (realizeFont): ...moved out from here, changed this to facilitate
4660 * paragraph.C (getFont): take outerfont as arg, adjust
4661 (simpleTeXOnePar): add outerfont arg, adjust
4663 * buffer.C (simpleLinuxDocOnePar): adjust
4664 (simpleDocBookOnePar): adjust
4666 * CutAndPaste.C (pasteSelection): adjust
4668 * BufferView.C (getEncoding): adjust
4670 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4672 * text2.C (setCharFont): adjust
4673 (setCounter): adjust
4675 * text.C (leftMargin): adjust
4676 (setHeightOfRow): adjust
4678 * rowpainter.C (paintFirst): adjust
4681 * paragraph_pimpl.C (realizeFont): adjust
4683 * paragraph.C (isFirstInSequence): move from here...
4684 * paragraph_funcs.C (isFirstInSequence): ...to here
4686 * paragraph.C (outerHook): move from here...
4687 * paragraph_funcs.C (outerHook): ...to here
4689 * paragraph.C (depthHook): move from here...
4690 * paragraph_funcs.C (depthHook): ...to here
4692 * paragraph.C (getEndLabel): move from here...
4693 * paragraph_funcs.C (getEndLabel): ...to here
4695 * text2.C (realizeFont): move from here...
4696 * paragraph_funcs.C (realizeFont): ...to here
4698 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4700 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4702 2003-04-14 Angus Leeming <leeming@lyx.org>
4704 * LColor.[Ch]: scrap LColor mathcursor.
4706 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4708 * lyxlex.[Ch] (text): delete function
4709 * trans.C (Load): adjust
4710 * paragraph_funcs.C (readParToken): adjust
4712 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4714 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4715 vector<char> instead of a char[].
4717 * lyxlex_pimpl.C (getString): adjust
4719 (lex): use getString
4723 * lyxlex.C (text): use pimpl_->getString()
4727 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4729 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4730 (makeFontEntriesLayoutSpecific): temp var for par.size()
4731 (setLayout): temp var for ownerParagraphs().end()
4732 (fullRebreak): temp var for rows().end()
4733 (selectionAsString): temp var for boost::next(startpit), realize
4734 that the while really is a regular for loop.
4735 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4736 setCursor in one place.
4737 (setParagraph): temp vr for ownerParagraphs().end()
4738 (updateCounters): make the while loop a for loop
4739 (cutSelection): temp var for ownerParagraphs().end()
4740 (updateInset): make the do {} while() a regular for loop
4741 (getCursorX): use temp vars
4742 (setCurrentFont): use temp vars
4743 (getColumnNearX): use temp vars
4745 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4747 * text.C (transformChar): use temp var for getChar
4748 (computeBidiTables): use temp var for row->par()
4749 (fill): move temp vars for row->par() and pit->layout() earlier in
4751 (labelFill): use temp var for row->par()
4752 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4753 asc and desc, realize that pit never changes and that firstpit is
4754 just a duplicate and not needed. Exchange rit->par() with pit in a
4756 (breakAgain): use a temp var for boost::next(rit)
4757 (breakAgainOneRow): ditto
4758 (breakParagraph): use a temp var for rows().begin()
4759 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4760 (cursorRightOneWord): use temp var for cursor.par() and
4761 cursor.pos(), remove usage of tmpcursor.
4762 (cursorLeftOneWord): use temp var for cursor.par() and
4763 cursor.pos() only set cur at end of function.
4765 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4767 * text.C, text2.C: exchange all usage of Paragraph::next with
4768 boost::next(ParagraphList::iterator)
4770 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4772 * text2.C (cursorTop): simplify implementation
4773 (cursorBottom): ditto
4774 (setParagraph): use ParagraphList::iterator
4775 (setCurrentFont): adjust
4776 (getColumnNearX): adjust
4777 (cursorRight): adjust
4778 (cursorLeft): remove usage of Paragraph::previous
4779 (cursorUpParagraph): ditto
4780 (deleteEmptyParagraphMechanism): slight cleanup
4782 * text.C (isBoundary): take a Paragraph const & instead of a
4784 (addressBreakPoint): ditto
4785 (leftMargin): remove usage of Paragraph::previous.
4786 (setHeightOfRow): ditto
4787 (cursorLeftOneWord): ditto
4788 (selectNextWordToSpellcheck): ditto
4791 (breakParagraph): remove one usage of Paragraph::next
4792 (redoParagraph): ditto
4793 (acceptChange): ditto
4794 (insertChar): adjust
4795 (rowBreakPoint): adjust
4797 * bufferview_funcs.C (toggleAndShow): adjust
4799 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4801 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4802 methods to access it.
4804 * text.C: Added updateRowPositions to compute all row positions.
4805 Make top_y and getRowNearY() to use the cached y position
4807 2003-04-11 John Levon <levon@movementarian.org>
4809 * text.C (rowBreakPoint): reintroduce the labelEnd
4810 checks, code copied from the row fill stuff. Deep voodoo.
4812 * text.C (fill): add a comment and debugging for the
4815 2003-04-11 John Levon <levon@movementarian.org>
4817 * text.C: make sure fullrow insets get wrapped to the next line,
4818 even when they're in a manual label
4820 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4822 * text2.C (insertParagraph): make it take ParagraphList::iterator
4824 (setLayout): make it return ParagraphList::iterator
4825 (redoParagraphs): ditto
4827 (checkParagraph): ditto
4829 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4831 * text2.C: adjust several funcs.
4832 (realizeFont): take a ParagraphList::iterator as arg.
4833 (getLayoutFont): ditto
4834 (getLabelFont): ditto
4835 (setCharFont): ditto
4837 * text.C: adjust several funcs.
4839 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4841 * text.C (selectNextWordToSpellcheck): don't accidentally
4844 2003-04-10 John Levon <levon@movementarian.org>
4846 * ToolbarBackend.C (getIcon): special handling for
4849 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4851 * text2.C (cursorRight): a getChar assert fixed
4853 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4855 * text2.C (getFont): change to take a ParagraphList::iterator
4856 instead of Paragraph*
4857 Adjust several functions.
4859 * text.C (transformChar): change to take a ParagraphList::iterator
4860 instead of Paragraph*
4861 (singleWidth): ditto
4862 Adjust several functions.
4864 * rowpainter.C: adjust several functions
4865 * rowpainter.h:store a ParagraphList::iterator and not a
4869 2003-04-09 John Levon <levon@movementarian.org>
4874 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4875 and the "help" bits as well
4877 2003-04-09 John Levon <levon@movementarian.org>
4880 * ToolbarBackend.C: allow multiple toolbars
4882 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4884 * undo_funcs.C (setCursorParUndo): adjust
4886 * text_funcs.C (transposeChars): adjust
4888 * text3.C (gotoNextInset): adjust
4891 * text2.C (setLayout): adjust
4892 (changeDepth): adjust
4894 (redoParagraphs): adjust
4895 (selectionAsString): adjust
4896 (setParagraph): adjust
4897 (insertInset): adjust
4898 (cutSelection): adjust
4899 (copySelection): adjust
4900 (pasteSelection): adjust
4901 (insertStringAsLines): adjust
4902 (updateInset): adjust
4903 (setCursor): change to take a ParagraphList::iterator parameter
4904 (setCursorIntern): change to take a ParagraphList::iterator parameter
4905 (setCurrentFont): adjust
4906 (cursorLeft): adjust
4907 (cursorRight): adjust
4908 (deleteEmptyParagraphMechanism): adjust
4910 * text.C (breakParagraph): adjust
4911 (insertChar): adjust
4912 (acceptChange): adjust
4913 (rejectChange): adjust
4914 (selectNextWordToSpellcheck): adjust
4915 (changeCase): adjust
4919 * lyxfind.C (SearchForward): adjust
4920 (SearchBackward): adjust
4921 (nextChange): adjust
4923 * lyxcursor.C (par): adjust
4925 * lyxcursor.h: store a ParagraphList::iterator instead of a
4928 * lyx_cb.C (getPossibleLabel): adjust
4930 * bufferview_funcs.C (toggleAndShow): adjust
4932 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4935 * BufferView.C (removeAutoInsets): adjust
4936 (lockedInsetStoreUndo): adjust
4938 2003-04-09 John Levon <levon@movementarian.org>
4940 * ToolbarBackend.C: try icon without argument
4941 if with argument fails
4943 2003-04-08 John Levon <levon@movementarian.org>
4946 * ToolbarBackend.C: add getIcon(), handle tooltip,
4947 and change from "Icon" to "Item".
4949 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4951 * BufferView.C (lockInset): another bad getchar crunched
4953 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4955 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4958 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4960 * lyxfind.C (searchForward, searchBackwards): bug 782
4962 2003-04-07 John Levon <levon@movementarian.org>
4964 * paragraph.C: remove dead comment
4966 * text.C: remove troublesome depth-fiddling code
4967 in leftMargin() and rightMargin() (bug 1017)
4969 * text.C: fix breaking of rows in nested lists
4972 * text2.C (updateCounters): fix up depth values
4975 2003-04-07 John Levon <levon@movementarian.org>
4977 * BufferView_pimpl.C: clear message when doc finishes resizing,
4978 and after a mouse event
4980 * lyxfunc.C: clear message after exiting inset
4982 2003-04-07 John Levon <levon@movementarian.org>
4984 * bufferview_funcs.C: show math status not outside
4985 status in the statusbar
4987 2003-04-07 John Levon <levon@movementarian.org>
4989 * lyxfunc.C: note status changed after a depth change
4991 2003-04-04 Angus Leeming <leeming@lyx.org>
4993 * LaTeX.h: move AuxInfo operator==, != out of line.
4994 Remove LaTeX virtual destructor; nothing derives from it.
4995 Move operator()() out of public area and rename it startscript().
4996 Change protected for private.
4998 2003-04-04 Angus Leeming <leeming@lyx.org>
5001 * text2.C: remove unneeded #includes.
5003 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5005 * text2.C (dEPM): fix the heigth of the next row
5007 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5009 * text.C: squashed an invalid getChar requester + some ws changes
5011 2003-04-03 John Levon <levon@movementarian.org>
5013 * bufferview_funcs.h:
5014 * bufferview_funcs.C:
5017 * text2.C: make getStatus work for the env depth lfuns
5019 2003-04-03 John Levon <levon@movementarian.org>
5021 * bufferview_funcs.h:
5022 * bufferview_funcs.C:
5025 * text2.C: parlistize decDepth(), by merging it with incDepth()
5027 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5029 * lyxrow.h: store a ParagraphList::iterator instead of a
5030 Paragraph* and adjust other class functions to suit.
5032 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5035 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5037 * text2.C (setCursor): do not anchor to cursor row for the time being
5039 2003-04-02 John Levon <levon@movementarian.org>
5046 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5048 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5050 * paragraph.h: make ParagraphList and ParagraphList::iterator
5051 friends of Paragraph.
5053 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5055 * ParagraphList.C: Use the private next_ and previous_ from
5058 2003-04-01 John Levon <levon@movementarian.org>
5062 * Makefile.am: rename, remove defaults gunk
5065 * MenuBackend.C: remove defaults gunk
5068 * Languages.C: remove defaults gunk
5071 * lyx_main.C: error out if files couldn't be found.
5073 2003-04-02 John Levon <levon@movementarian.org>
5075 * text2.C: make incDepth() use parlist
5077 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5079 * undo_funcs.C (firstUndoParagraph): adjust
5081 * text3.C (gotoInset): adjust
5082 (dispatch): adjust, and rewrite loop.
5084 * text2.C (init): adjust, and rewrite loop.
5085 (redoParagraphs): adjust
5086 (updateInset): adjust, and rewrite loop.
5087 (deleteEmptyParagraphMechanism): adjust
5089 * tabular.C (LyXTabular): adjust
5090 (SetMultiColumn): adjust
5093 * lyxtext.[Ch] (ownerParagraph): delete function
5094 (ownerParagraphs): new function returns a ParagraphList.
5096 * BufferView.C (removeAutoInsets): adjust
5097 (insertErrors): adjust
5098 (setCursorFromRow): adjust
5100 2003-04-01 Angus Leeming <leeming@lyx.org>
5102 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5105 2003-04-02 John Levon <levon@movementarian.org>
5111 * text_funcs.C: make transposeChars a free function
5113 * lyxrow_funcs.C: remove wrong comment
5115 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5118 * rowpainter.C: adjust
5123 * lyxrow_funcs. [Ch]: new files
5125 * lyxrow.[Ch]: remove next and previous pointers
5126 (next,previous): remove accessor functions
5127 (isParEnd): move to lyxrow_funcs
5128 (lastPos): move to lyxrow_funcs
5129 (nextRowIsAllInset): move to lyxrow_funcs
5130 (lastPrintablePos): move to lyxrow_funcs
5131 (numberOfSeparators): move to lyxrow_funcs
5132 (numberOfHfills): move to lyxrow_funcs
5133 (numberOfLabelHfills): move to lyxrow_funcs
5134 (hfillExpansion): move to lyxrow_funcs
5138 * bufferview_funcs.C (toggleAndShow): adjust
5140 * RowList.h: Remove class RowList from file leave just a
5143 * RowList.C: delete file
5145 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5148 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5150 * text3.C (cursorPrevious): adjust
5151 (cursorNext): adjust
5154 * text2.C (redoHeightOfParagraph): adjust
5155 (redoDrawingOfParagraph): adjust
5158 * text.C (breakParagraph): adjust
5159 (insertChar): adjust
5162 * rowpainter.C (RowPainter): adjust
5163 (leftMargin): simplify and adjust
5164 (most rowpainter functions): adjust.
5166 * rowpainter.h: store the row as RowList::iterator not as Row*
5168 * lyxcursor.C (row): taka RowList::iterator as arg
5171 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5174 2003-04-01 Angus Leeming <leeming@lyx.org>
5176 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5177 stuff like bool Bool.
5179 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5181 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5184 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5186 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5189 * lyxtext.h (rows): drop one version and leve a const variant that
5190 returns a RowList::iterator.
5192 2003-03-31 Angus Leeming <leeming@lyx.org>
5194 * text.C (fill): ensure that the signature is the same as that in the
5197 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5199 * text2.C (redoParagraphs): adjust
5200 (updateCounters): adjust
5201 (checkParagraph): adjust
5202 (getColumnNearX): adjust and reformat a bit.
5204 * text.C (top_y): adjust
5206 (leftMargin): adjust
5207 (prepareToPrint): adjust
5209 (getRowNearY): adjust
5211 * lyxtext.h: make rowlist_ mutable.
5213 * RowList.h: add const_iterator
5214 * RowList.C: adjust for RowList::const_iterator.
5216 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5219 2003-03-31 John Levon <levon@movementarian.org>
5222 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5224 * lyx_main.C: set default fonts from using lyx_gui funcs
5226 * exporter.C: pdf_mode moved from lyxrc
5229 * lyxfunc.C: changes from above
5231 2003-03-31 John Levon <levon@movementarian.org>
5233 * lyx_main.C: fix to the last fix
5235 2003-03-31 John Levon <levon@movementarian.org>
5237 * bufferlist.C: "Load original" -> "Load Original"
5243 * format.C: more Alert cleanups
5245 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5247 * text2.C (removeParagraph): make it take a RowList::iterator as
5249 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5250 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5252 * text.C (anchor_row): make it take a RowList::iterator as arg,
5254 (computeBidiTables): make it take a const reference to Row instead
5255 of Row pointer, adjust.
5256 (leftMargin): make it take a RowList::iterator as arg, adjust.
5257 (rowBreakPoint): adjust
5258 (breakAgainOneRow): make it take a RowList::iterator as arg,
5260 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5262 * bufferview_funcs.C (toggleAndShow): adjust
5264 2003-03-30 John Levon <levon@movementarian.org>
5268 * boost-inst.C: moved to support
5270 * several files: changes as a result
5272 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5274 * text2.C (LyXText): adjust.
5276 (removeRow): make it take a RowList::iterator as arg, adjust.
5277 (fullRebreak): adjust
5278 (deleteEmptyParagraphMechanism): adjust
5279 (clearPaint): adjust
5282 * text.C (top_y): adjust
5283 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5284 (breakAgain): make it take a RowList::iterator as arg, adjust.
5285 (breakParagraph): adjust
5286 (insertChar): adjust
5289 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5290 need_break_row, and refresh_row.
5292 * text3.C (dispatch): adjust
5294 * text2.C (checkParagraph): adjust
5296 (setCursorFromCoordinates): adjust
5298 * text.C (top_y): adjust
5300 (getRow): make it return a RowList::iterator, adjust
5301 (getRowNearY): make it return a RowList::iterator, adjust
5303 * text2.C (init): adjust
5304 (insertRow): remove function
5305 (insertParagraph): adjust
5306 (redoParagraphs): adjust
5307 (fullRebreak): adjust
5308 (updateCounters): adjust
5310 * text.C (top_y): rewrite to use RowList iterators.
5312 (setHeightOfRow): rewrite to sue RowList iterators.
5313 (appendParagraph): adjust
5314 (breakAgain): adjust
5315 (breakAgainOneRow): adjust
5316 (breakParagraph): adjust
5318 (getRowNearY): adjust, and remove commented code.
5320 * lyxtext.h (firstRow): delete function
5321 (lastRow): delete function
5322 (rows): new function (const and non-const versions.)
5323 (insertRow): delete function
5325 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5327 2003-03-29 John Levon <levon@movementarian.org>
5329 * BufferView_pimpl.C: always update scrollbar top
5330 because pasting text when we're anchored could mean we
5331 miss an update altogether
5333 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5335 * text2.C (init): use rowlist_.end() and not 0.
5336 (insertRow): change to take a RowList::iterator as arg, adjust
5338 (insertParagraph): change to take a RowList::iterator as arg,
5340 (redoParagraphs): remove some debug msgs.
5342 * text.C (appendParagraph): change to take a RowList::iterator
5343 arg, adjust for this.
5344 (breakAgain): add an assert
5345 (breakAgainOneRow): ditto
5347 2003-03-29 John Levon <levon@movementarian.org>
5349 * text2.C: do not clear selection after inc/decDepth
5352 2003-03-29 John Levon <levon@movementarian.org>
5355 * buffer.C: fix broken strerrors according to Lars
5357 2003-03-29 John Levon <levon@movementarian.org>
5359 * converters.C: more Alert cleanups
5361 2003-03-29 John Levon <levon@movementarian.org>
5363 * bufferview_funcs.C: remove pointless Alert
5365 * buffer.C: fix confusing error message when
5366 a template is chmoded 000
5368 2003-03-29 John Levon <levon@movementarian.org>
5372 * BufferView_pimpl.C: Alert fixes
5376 * tabular-old.C: remove unused table compat reading
5378 2003-03-29 John Levon <levon@movementarian.org>
5383 * lyx_cb.C: more Alert cleanups
5385 * lyxfunc.C: don't allow chktex if not latex document
5387 2003-03-29 John Levon <levon@movementarian.org>
5391 * buffer.C: warnings pushed down from support/,
5394 2003-03-29 John Levon <levon@movementarian.org>
5396 * lyxfunc.C: safety check for C-r (revert)
5398 2003-03-29 John Levon <levon@movementarian.org>
5401 * bufferlist.C: several UI fixes using Alert::prompt.
5402 Fix the pointless looping quit code. Fix stupid revert
5407 * lyx_cb.C: use Alert::prompt
5409 * lyx_main.C: remove a silly question
5411 * lyxfunc.C: remove a couple of silly questions,
5414 2003-03-28 John Levon <levon@movementarian.org>
5416 * text2.C: fix bug 974 (End on empty par)
5418 2003-03-28 John Levon <levon@movementarian.org>
5420 * BufferView_pimpl.C:
5422 * lfuns.h: remove do-nothing math greek lfuns
5424 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5426 * lyxgluelength.h (isValidGlueLength): add default arg on
5427 parameter 2. Remove default arg from friend in class.
5429 * lyxlength.h (isValidLength): add default arg on parameter 2.
5430 Remove default arg from friend in class.
5432 * text2.C (LyXText): adjust, initialize refresh_row.
5436 (insertParagraph): adjst
5437 (redoParagraphs): adjust
5438 (fullRebreak): adjust
5439 (updateCounters): adjust
5440 (deleteEmptyParagraphMechanism): first attempt at fixing a
5443 * text.C (top_y): adjust
5444 (setHeightOfRow): adjust
5446 (getRowNearY): adjust
5448 * lyxtext.h: include RowList.h
5449 (~LyXText): not needed anymore, deleted.
5450 (firstRow): modify for RowList
5451 (lastRow): new function
5452 Delete firstrow and lastrow class variables, add a Rowlist
5453 rowlist_ class variable.
5455 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5458 * RowList.C (insert): fix case where it == begin().
5460 2003-03-26 Angus Leeming <leeming@lyx.org>
5462 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5463 the thesaurus dialog.
5465 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5467 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5469 * RowList.[Ch]: new files
5471 * ParagraphList.C (erase): handle the case where it == begin
5474 2003-03-25 John Levon <levon@movementarian.org>
5478 * aspell.C: add new aspell support
5481 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5484 2003-03-25 Angus Leeming <leeming@lyx.org>
5487 * LyXAction.C (init): new LFUN_INSET_INSERT.
5489 * BufferView_pimpl.C (dispatch): split out part of the
5490 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5492 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5495 2003-03-25 Angus Leeming <leeming@lyx.org>
5497 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5499 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5502 * text3.C: remove useless row->height(0)
5504 2003-03-25 John Levon <levon@movementarian.org>
5508 * text3.C: rename the refreshing stuff to better names
5510 2003-03-24 John Levon <levon@movementarian.org>
5512 * BufferView_pimpl.h:
5513 * BufferView_pimpl.C: update layout choice on a mouse
5516 2003-03-23 John Levon <levon@movementarian.org>
5518 * Makefile.am: fix commandtags.h reference
5520 2003-03-22 John Levon <levon@movementarian.org>
5522 * BufferView_pimpl.C:
5527 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5529 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5532 * text.C: take the rtl methods out of line
5534 2003-03-21 André Pönitz <poenitz@gmx.net>
5536 * metricsinfo.[Ch]: new files containing structures to be passed around
5537 during the two-phase-drawing...
5539 2003-03-21 André Pönitz <poenitz@gmx.net>
5541 * lyxtextclass.C: read 'environment' tag.
5543 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5545 * text2.C (removeRow): fix bug 964
5547 2003-03-20 John Levon <levon@movementarian.org>
5551 * text2.C: paint cleanups. Inset::update() dropped font
5554 2003-03-19 John Levon <levon@movementarian.org>
5556 * lyxfunc.C: only fitcursor/markDirty if available()
5558 2003-03-19 John Levon <levon@movementarian.org>
5560 * commandtags.h: rename to ...
5562 * lfuns.h: ... this, and renumber / cleanup
5564 2003-03-19 John Levon <levon@movementarian.org>
5566 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5567 fit the cursor after an lfun
5571 * BufferView_pimpl.h:
5572 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5574 * LyXAction.C: layout-character should have ReadOnly
5576 * ParagraphParameters.C:
5578 * bufferview_funcs.C:
5585 * undo_funcs.C: changes from above
5587 2003-03-18 John Levon <levon@movementarian.org>
5589 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5590 remove it from update()
5592 * lyxfunc.C: update layout choice after an lfun
5594 * text3.C: remove extra updateLayoutChoice()s
5596 2003-03-18 John Levon <levon@movementarian.org>
5598 * text.C: top_y change means full repaint, fix
5599 a drawing bug with cursor movement
5601 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5605 * text2.C: anchor row on setCursor
5607 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5609 * lyxtext.h: remove almost all mutable keywords
5612 * text3.C: remove const keywords accordingly
5614 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5616 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5618 (TeXEnvironment): ditto
5621 2003-03-17 John Levon <levon@movementarian.org>
5623 * text.C (rowBreakPoint): remove attempt to fix displayed
5624 math insets inside a manual label
5626 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5628 * lyxtext.h: remove BufferView* as first arg from almost all class
5630 * other files: adjust.
5632 2003-03-17 John Levon <levon@movementarian.org>
5636 * text2.C: more paint cleanups
5638 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5641 * rowpainter.C: remove "smart" background painting code
5643 2003-03-16 John Levon <levon@movementarian.org>
5648 * text3.C: add helper functions for setting refresh_row/y
5650 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5652 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5653 newline inset which *can* get inserted in the pass_thru layouts.
5654 This is primarily for literate documents.
5656 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5658 * buffer.C: increment LYX_FORMAT to 223
5660 2003-03-14 André Pönitz <poenitz@gmx.net>
5662 * textclass.h: prepare for environment handling, ws changes
5663 * lyxlayout.C: read latexheader and latexfooter tags
5665 2003-03-14 John Levon <levon@movementarian.org>
5667 * text2.C: rewrite ::status() a bit
5669 2003-03-13 John Levon <levon@movementarian.org>
5671 * lyxtext.h: add some docs
5673 2003-03-13 John Levon <levon@movementarian.org>
5678 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5680 2003-03-13 John Levon <levon@movementarian.org>
5682 * text3.C: fix appendix redrawing
5684 2003-03-13 John Levon <levon@movementarian.org>
5686 * text.C (setHeightOfRow):
5688 * rowpainter.C: make appendix mark have the text
5689 "Appendix" so the user knows what it is
5692 * LColor.C: s/appendixline/appendix/ from above
5694 2003-03-13 John Levon <levon@movementarian.org>
5696 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5698 * text.C: fix a getChar(pos) bug properly
5700 2003-03-13 Angus Leeming <leeming@lyx.org>
5703 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5704 Probably only temporary. Let's see how things pan out.
5706 * BufferView.C (unlockInset):
5707 * BufferView_pimpl.C (fitCursor):
5708 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5710 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5711 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5713 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5714 new functions that convert ParagraphParameters to and from a string.
5716 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5717 BufferView::Pimpl's dispatch.
5718 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5720 2003-03-13 André Pönitz <poenitz@gmx.net>
5724 * factory.C: make it aware of InsetEnv
5726 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5728 * text2.C (setCursor): never ask for one past last
5729 (setCursor): add some debugging messages.
5731 * text.C (singleWidth): never ask for one past last
5732 (singleWidth): ditto
5734 (rightMargin): ditto
5735 (rowBreakPoint): ditto
5736 (setHeightOfRow): ditto
5737 (prepareToPrint): ditto
5739 * rowpainter.C (paintBackground): never ask for one past last
5740 (paintText): never ask for one past last
5742 * paragraph_pimpl.C (getChar): make the assert stricter, never
5743 allow the one past last pos to be taken
5745 * paragraph.C (getChar): ws changes only
5747 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5748 (numberOfSeparators): ditto
5749 (numberOfHfills): ditto
5751 2003-03-12 John Levon <levon@movementarian.org>
5757 * paragraph_funcs.C: fix per-buffer authorlists
5759 2003-03-12 John Levon <levon@movementarian.org>
5761 * text.C: fix newline in right address
5763 2003-03-12 Angus Leeming <leeming@lyx.org>
5765 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5766 duplicate those in LyXFunc::dispatch.
5770 * ToolbarDefaults.C:
5771 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5772 Add LFUN_FONTFREE_UPDATE.
5774 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5775 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5777 * bufferview_func.[Ch]: several new functions to facilliate
5778 transfer of data to and from the character dialog.
5780 2003-03-12 John Levon <levon@movementarian.org>
5785 * paragraph_funcs.C:
5786 * paragraph_pimpl.C:
5790 * text3.C: remove META_NEWLINE in favour of an inset
5793 * rowpainter.C: remove paintNewline (done by inset)
5795 2003-03-12 John Levon <levon@movementarian.org>
5797 * paragraph_pimpl.C: complain about bad getChar()s
5798 for a while at least
5800 2003-03-12 John Levon <levon@movementarian.org>
5803 * buffer.C: move paragraph read into a separate function,
5804 a little renaming to reflect that.
5807 * bufferparams.C: remove the author_ids map, not necessary now
5810 * factory.C: moved Buffer::readInset to here
5812 * paragraph_funcs.h:
5813 * paragraph_funcs.C: readParagraph free function moved from
5816 * tabular.C: name change
5818 2003-03-12 John Levon <levon@movementarian.org>
5821 * ParagraphParameters.C: move par params input to
5824 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5825 behave like a normal read from the stream wrt reading
5826 a line vs. a \\token
5828 2003-03-12 John Levon <levon@movementarian.org>
5831 * ParagraphParameters.h:
5832 * ParagraphParameters.C: move output code to a
5835 2003-03-12 John Levon <levon@movementarian.org>
5837 * BufferView.C (insertLyXFile):
5840 * tabular.C: use a parlist iterator for creating the
5843 2003-03-12 John Levon <levon@movementarian.org>
5845 * buffer.C: make current_change static local not
5848 2003-03-12 John Levon <levon@movementarian.org>
5850 * buffer.C: fix insertStringAsLines for change tracking
5852 2003-03-12 John Levon <levon@movementarian.org>
5859 * bufferparams.C: move author list into params. Rename some
5860 functions. Move the header reading into a separate token
5861 loop. Move the header token reading into BufferParams.
5863 2003-03-12 John Levon <levon@movementarian.org>
5865 * changes.C: put debug inside lyxerr.debugging() checks
5867 2003-03-11 André Pönitz <poenitz@gmx.net>
5869 * factory.C: make it aware of InsetHFill
5871 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5873 * buffer.C (latexParagraphs): move function from here...
5874 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5877 2003-03-10 Angus Leeming <leeming@lyx.org>
5879 * LyXAction.C (init): fix bug in poplating array with multiple entries
5880 with the same LFUN (spotted by JMarc).
5882 2003-03-10 John Levon <levon@movementarian.org>
5885 * text2.C: move getColumnNearX() near its
5888 2003-03-10 John Levon <levon@movementarian.org>
5890 * text.C: fix break before a minipage
5892 2003-03-10 John Levon <levon@movementarian.org>
5894 * text.C: fix the last commit
5896 2003-03-09 John Levon <levon@movementarian.org>
5900 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5901 bug 365 (don't break before insets unless needed). Don't
5902 return a value > last under any circumstances.
5904 2003-03-09 Angus Leeming <leeming@lyx.org>
5906 * BufferView_pimpl.C (trackChanges, dispatch): call
5907 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5909 2003-03-09 Angus Leeming <leeming@lyx.org>
5911 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5912 than Dialogs::showAboutlyx().
5914 2003-03-09 Angus Leeming <leeming@lyx.org>
5916 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5917 than Dialogs::showTabularCreate().
5919 2003-03-09 John Levon <levon@movementarian.org>
5923 * text2.C: 3rd arg to nextBreakPoint was always the same.
5926 2003-03-08 John Levon <levon@movementarian.org>
5933 * text2.C: Remove the "main" bit from the "main body"
5936 2003-03-08 John Levon <levon@movementarian.org>
5938 * text.C (leftMargin): The left margin of an empty
5939 manual label paragraph should not include the label width
5942 * text.C (prepareToPrint): don't attempt to measure hfills
5943 for empty manual label paragraphs - the answer should be 0
5945 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5947 * CutAndPaste.C: remove commented code and reindent.
5949 2003-03-08 John Levon <levon@movementarian.org>
5952 * lyxfunc.C: move reloadBuffer()
5955 * BufferView.C: to here
5957 * lyxvc.C: add comment
5960 * vc-backend.C: call bv->reload() to avoid
5961 getStatus() check on MENURELOAD
5963 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5965 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5966 to an old format .dep file.
5968 2003-03-07 Angus Leeming <leeming@lyx.org>
5970 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5971 when the LFUN_MOUSE_RELEASE should have been handled by
5972 inset->localDispatch.
5974 2003-03-07 Angus Leeming <leeming@lyx.org>
5976 * BufferView_pimpl.C (dispatch):
5977 * LyXAction.C (init):
5978 * ToolbarDefaults.C (init):
5980 * lyxfunc.C (getStatus):
5981 remove LFUN_INSET_GRAPHICS.
5983 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5985 2003-03-07 Angus Leeming <leeming@lyx.org>
5988 * LyXAction.C (init):
5989 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5991 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5994 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5996 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5997 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5999 2003-03-07 Angus Leeming <leeming@lyx.org>
6001 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6004 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6006 * ParagraphList.C (front): new function
6009 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6011 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6012 and top_row_offset_. removed var first_y.
6014 * text2.C (LyXText, removeRow):
6016 * BufferView_pimpl.C:
6017 use these methods instead of using first_y
6019 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6021 * text2.C (pasteSelection): adjust for checkPastePossible
6023 * CutAndPaste.C: remove Paragraph * buf and replace with
6024 ParagraphList paragraphs.
6025 (DeleteBuffer): delete
6026 (cutSelection): change the tc type to textclass_type
6027 (copySelection): change the tc type to textclass_type
6028 (copySelection): adjust for ParagraphList
6029 (pasteSelection): change the tc type to textclass_type
6030 (pasteSelection): adjust for Paragraphlist
6031 (nrOfParagraphs): simplify for ParagraphList
6032 (checkPastePossible): simplify for ParagraphList
6033 (checkPastePossible): remove unused arg
6035 * ParagraphList.C (insert): handle the case where there are no
6038 * CutAndPaste.h: make CutAndPaste a namespace.
6040 * text3.C (dispatch): adjust
6042 * text.C (breakParagraph): add a ParagraphList as arg
6044 * paragraph_funcs.C (breakParagraph): change to take a
6045 BufferParams and a ParagraphList as args.
6046 (breakParagraphConservative): ditto
6047 (mergeParagraph): ditto
6048 (TeXDeeper): add a ParagraphList arg
6049 (TeXEnvironment): ditto
6052 * buffer.C (readLyXformat2): adjust
6053 (insertStringAsLines): adjust
6054 (latexParagraphs): adjust
6056 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6057 (cutSelection): adjust
6058 (pasteSelection): adjust
6060 * BufferView_pimpl.C (insertInset): adjust
6062 2003-03-05 Angus Leeming <leeming@lyx.org>
6065 * LyXAction.C (init):
6066 * BufferView_pimpl.C (dispatch):
6067 * lyxfunc.C (getStatus):
6068 remove LFUN_CHILD_INSERT.
6070 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6072 2003-03-05 Angus Leeming <leeming@lyx.org>
6075 * LyXAction.C (init):
6076 * src/factory.C (createInset):
6077 * lyxfunc.C (getStatus):
6078 * text3.C (dispatch):
6079 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6081 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6083 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6085 * ParagraphList.C (insert): handle insert right before end()
6086 (erase): fix cases where it can be first or last paragraph.
6088 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6090 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6091 Paragraph::next and Paragraph::previous
6094 * text.C (breakParagraph): adjust
6096 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6097 BufferParams& as arg.
6098 (breakParagraph): use ParagraphList::insert
6099 (breakParagraphConservative): take a Buffer* instead of a
6100 BufferParams& as arg.
6101 (breakParagraphConservative): use ParagraphList::insert.
6103 * buffer.C (insertStringAsLines): un-const it
6104 (insertStringAsLines): adjust
6106 * ParagraphList.C (insert): new function
6108 * CutAndPaste.C (pasteSelection): adjust
6110 * text.C (backspace): adjust
6112 * tabular.C (SetMultiColumn): adjust
6114 * CutAndPaste.C (cutSelection): adjust
6115 (pasteSelection): adjust
6117 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6118 Buffer const * as arg
6120 * ParagraphList.C (erase): new function
6121 * paragraph_funcs.C (mergeParagraph): use it
6122 (mergeParagraph): make it take a Buffer* instead of a
6123 BufferParams* as arg
6125 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6127 (breakParagraphConservative): ditto
6129 * paragraph.h: remove the breakParagraph friend
6131 * paragraph.C (eraseIntern): new function
6132 (setChange): new function
6134 * paragraph_funcs.C (mergeParagraph): make it take a
6135 ParagraphList::iterator instead of a Paragraph *, adjust
6138 * paragraph.h: move an #endif so that the change tracking stuff
6139 also works in the NO_NEXT case.
6141 2003-03-04 Angus Leeming <leeming@lyx.org>
6144 * LyXAction.C: new LFUN_INSET_MODIFY.
6146 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6147 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6149 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6151 * several files: ws changes only
6153 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6154 (TeXEnvironment): ditto
6157 * buffer.C (makeLaTeXFile): adjust
6158 (latexParagraphs): make it take ParagraphList::iterator as args
6160 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6162 * buffer.C (latexParagraphs): adjust
6164 * paragraph.C (TeXOnePar): move function...
6165 (optArgInset): move function...
6166 (TeXEnvironment): move function...
6167 * paragraph_pimpl.C (TeXDeeper): move function...
6168 * paragraph_funcs.C: ...here
6170 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6172 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6174 * buffer.C (readInset): remove compability code for old Figure and
6177 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6179 * buffer.C: ws changes
6182 * BufferView_pimpl.C: ditto
6185 * bufferlist.h: ditto
6189 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6191 * converter.[Ch]: split into itself +
6194 * Makefile.am: += graph.[Ch] + format.[Ch]
6201 * lyxrc.C: added #include "format.h"
6203 2003-02-27 Angus Leeming <leeming@lyx.org>
6205 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6208 * factory.C (createInset): add "label" to the factory.
6210 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6211 string and do no more.
6213 2003-02-27 Angus Leeming <leeming@lyx.org>
6216 * LyXAction.C (init):
6217 * factory.C (createInset):
6218 * BufferView_pimpl.C (dispatch):
6219 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6221 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6223 * lyxfunc.C (dispatch):
6224 * text3.C (dispatch): pass name to params2string.
6226 2003-02-26 Angus Leeming <leeming@lyx.org>
6228 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6230 Rearrange the ~includes. Strip out the unnecessary ones.
6232 * factory.C (createInset): reformat.
6233 create new insets for the various LFUN_XYZ_APPLY lfuns.
6235 2003-02-26 John Levon <levon@movementarian.org>
6238 * lyxrow.C: add isParStart,isParEnd helpers
6240 * paragraph.h: make isInserted/DeletedText take refs
6242 * paragraph_funcs.h:
6243 * paragraph_funcs.C: remove #if 0'd code
6248 * text.C: use lyxrow helpers above.
6249 Move draw and paint routines to RowPainter.
6250 Make several methods use refs not pointers.
6251 Make backgroundColor() const.
6252 Add markChangeInDraw(), isInInset().
6253 Merge changeRegionCase into changeCase.
6254 Make workWidth() shouldn't-happen code into an Assert.
6257 * rowpainter.C: new class for painting a row.
6260 * vspace.C: make inPixels take a ref
6262 2003-02-26 Angus Leeming <leeming@lyx.org>
6264 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6267 2003-02-25 John Levon <levon@movementarian.org>
6269 * ispell.C: give the forked command a more accurate name
6271 2003-02-22 John Levon <levon@movementarian.org>
6274 * toc.C: make TocItem store an id not a Paragraph *
6277 2003-02-21 Angus Leeming <leeming@lyx.org>
6279 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6280 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6281 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6282 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6283 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6284 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6286 * BufferView_pimpl.C (dispatch):
6287 * LyXAction.C (init):
6288 * factory.C (createInset):
6289 * lyxfunc.C (getStatus, dispatch):
6290 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6292 2003-02-21 Angus Leeming <leeming@lyx.org>
6294 * BufferView_pimpl.C (MenuInsertLyXFile):
6295 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6296 * lyxfunc.C (menuNew, open, doImport):
6297 no longer pass a LyXView & to fileDlg.
6299 2003-02-21 Angus Leeming <leeming@lyx.org>
6301 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6302 * LyXAction.C: change, BIBKEY to BIBITEM.
6303 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6304 Change InsetBibKey to InsetBibitem.
6305 Change BIBKEY_CODE to BIBITEM_CODE.
6306 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6307 * factory.C: replace insetbib.h with insetbibitem.h.
6308 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6309 * paragraph.C: replace insetbib.h with insetbibitem.h.
6310 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6311 Change bibkey() to bibitem().
6312 * text.C: remove insetbib.h.
6313 * text2.C: replace insetbib.h with insetbibitem.h.
6314 change bibkey() to bibitem().
6315 * text3.C: remove insetbib.h.
6316 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6318 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6320 * lyxrc.C (output): enclose user email in quotes (in case there are
6323 2003-02-18 John Levon <levon@movementarian.org>
6325 * buffer.h: add std::
6327 2003-02-17 John Levon <levon@movementarian.org>
6333 * pspell.C: reworking. Especially in ispell, a large
6334 number of clean ups and bug fixes.
6336 * lyxfunc.C: fix revert to behave sensibly
6338 2003-02-17 André Pönitz <poenitz@gmx.net>
6341 * commandtags.h: new LFUN_INSERT_BIBKEY
6351 * paragraph_func.C: remove special bibkey handling
6353 2003-02-17 John Levon <levon@movementarian.org>
6355 * text.C (Delete): fix case where delete at the end of
6356 the very first paragraph would not merge the pars
6358 2003-02-17 John Levon <levon@movementarian.org>
6360 * lyxrow.C: fix lastPrintablePos()
6362 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6364 * bufferparams.C (writeLaTeX): add a std:here
6366 * buffer.C: and remove a using directive there
6368 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6370 * buffer.C (makeLaTeXFile): move the code that generates the
6373 * bufferparams.C (writeLaTeX): ... in this new method
6375 * LaTeXFeatures.C (getEncodingSet): make const
6376 (getLanguages): make const
6378 * MenuBackend.C (binding): returns the binding associated to this
6380 (add): sets the status of each item by calling getStatus. Adds
6382 (read): add support for OptSubMenu
6383 (expand): remove extra separator at the end of expanded menu
6385 2003-02-15 John Levon <levon@movementarian.org>
6388 * BufferView_pimpl.C:
6390 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6391 inset code that had no actual effect. Remove unneeded status
6394 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6396 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6399 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6401 * text.C (drawLengthMarker): also draw an arrow marker for
6402 symbolic lengths (medskip...)
6404 2003-02-14 John Levon <levon@movementarian.org>
6407 * tabular.C: better method names
6409 2003-02-14 John Levon <levon@movementarian.org>
6411 * BufferView_pimpl.C:
6416 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6417 it's a more accurate name. Remove some pointless uses.
6419 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6421 * text2.C (LyXText): change order of initilizers to shut off
6424 2003-02-14 John Levon <levon@movementarian.org>
6426 * buffer.C: use ParIterator for getParFromID()
6430 * paragraph_pimpl.h:
6431 * paragraph_pimpl.C: remove unused getParFromID()
6433 2003-02-14 John Levon <levon@movementarian.org>
6435 * buffer.C: remove some very old #if 0'd parse code
6437 2003-02-13 John Levon <levon@movementarian.org>
6441 * text2.C: move hfillExpansion(), numberOfSeparators(),
6442 rowLast(), rowLastPrintable(), numberofHfills(),
6443 numberOfLabelHfills() ...
6446 * lyxrow.C: ... to member functions here.
6451 * text.C: remove LyXText::beginningOfMainBody(), and call
6452 p->beginningOfMainBody() directly. Move the check for
6453 LABEL_MANUAL into the latter.
6460 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6466 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6467 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6469 2003-02-13 John Levon <levon@movementarian.org>
6471 * CutAndPaste.C: remove debug
6473 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6475 * paragraph.C (asString): remove two unused variables
6477 * lyxtextclass.C (readTitleType):
6479 (LyXTextClass): handle new members titletype_ and titlename_
6481 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6483 2003-02-09 John Levon <levon@movementarian.org>
6486 * buffer.C: replace hand-coded list with a map for the dep clean
6488 2003-02-08 John Levon <levon@movementarian.org>
6490 * LaTeX.C: consolidate code into showRunMessage() helper
6492 2003-02-08 John Levon <levon@movementarian.org>
6497 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6498 and pass the size in explicitly
6500 * BufferView_pimpl.h:
6501 * BufferView_pimpl.C:
6503 * BufferView.C: add getCurrentChange()
6505 * BufferView_pimpl.h:
6506 * BufferView_pimpl.C: handle change lfuns
6508 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6509 for changes. Mark pasted paragraphs as new.
6511 * support/lyxtime.h:
6512 * support/lyxtime.C:
6513 * DepTable.C: abstract time_t as lyx::time_type
6516 * LColor.C: add colours for new text, deleted text, changebars
6518 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6519 package use "usenames" option.
6523 * LyXAction.C: add change lfuns
6527 * author.C: author handling
6530 * buffer.C: add a per-buffer author list, with first entry as
6531 current author. Handle new .lyx tokens for change tracking. Output
6532 author list to .lyx file. Output dvipost stuff to .tex preamble.
6533 Bump lyx format to 222.
6536 * bufferlist.C: add setCurrentAuthor() to reset current author details
6540 * bufferparams.C: add param for tracking
6542 * bufferview_funcs.C: output change info in minibuffer
6546 * changes.C: add change-tracking structure
6549 * debug.C: add CHANGES debug flag
6552 * lyxfind.C: add code for finding the next change piece
6555 * lyxrc.C: add user_name and user_email
6558 * lyxrow.C: add a metric for the top of the text line
6561 * text.C: implement accept/rejectChange()
6564 * text.C: paint changebars. Paint new/deleted text in the chosen
6565 colours. Strike through deleted text.
6569 * paragraph_pimpl.h:
6570 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6571 in the current change to the insert functions. Rework erase to
6572 mark text as deleted, adding an eraseIntern() and a range-based
6573 erase(). Implement per-paragraph change lookup and
6576 * paragraph_funcs.C: Fixup paste for change tracking.
6578 * tabular.C: mark added row/columns as new.
6580 * text.C: fix rowLast() to never return -1. Don't allow
6581 spellchecking of deleted text. Track transpose changes. Don't
6582 allow paragraph break or merge where appropriate.
6584 * text2.C: leave cursor at end of selection after a cut.
6586 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6588 * text.C (getLengthMarkerHeight):
6589 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6590 visible on screen too.
6592 2003-02-07 John Levon <levon@movementarian.org>
6594 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6596 2003-02-05 Angus Leeming <leeming@lyx.org>
6598 * lyxserver.C (read_ready): revert my patch of 11 September last year
6599 as it sends PC cpu through the roof. Presumably this means that
6600 the lyxserver will no longer run on an Alpha...
6602 2003-01-30 Angus Leeming <leeming@lyx.org>
6604 * factory.C (createInset): create an InsetCommandParam of type "index"
6605 and use it to 'do the right thing'.
6607 * text2.C (getStringToIndex): ensure that cursor position is always
6608 reset to the reset_cursor position.
6610 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6612 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6615 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6619 * lyxfunc.C: Output messages with identical spelling, punctuation,
6622 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6624 * MenuBackend.C (expandFormats): List only viewable export formats
6627 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6630 * lyxfunc.C (getStatus): Make sure that formats other than
6631 "fax" can also be disabled
6633 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6635 * text3.C (dispatch): put the lfuns that insert insets in 3
6636 groups, and call doInsertInset with appropriate arguments.
6637 (doInsertInset): new function, that creates an inset and inserts
6638 it according to some boolean parameters.
6640 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6642 * buffer.C (readFile): remember to pass on 'par' when calling
6643 readFile recursively.
6645 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6647 * MenuBackend.C (expandFormats): add "..." to import formats.
6649 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6651 * paragraph.C (asString): Remove XForms RTL hacks.
6653 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6654 * buffer.C: fix typo
6656 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6658 * Makefile.am (LIBS): delete var
6659 (lyx_LDADD): add @LIBS@ here instead.
6661 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6663 * Clarify the meaning of "wheel mouse jump"
6665 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6667 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6670 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6672 * importer.C (Loaders): do not preallocate 3 elements in the
6673 vector, since one ends up with 6 elements otherwise
6675 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6677 * DepTable.C (write): write the file name as last element of the
6678 .dep file (because it may contain spaces)
6679 (read): read info in the right order
6681 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6683 * paragraph_pimpl.C (simpleTeXBlanks):
6684 (simpleTeXSpecialChars):
6685 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6687 * tabular.C (latex): add some missing case statements. Reindent.
6689 * MenuBackend.C (expandToc): remove unused variable.
6691 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6700 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6703 2003-01-05 John Levon <levon@movementarian.org>
6706 * BufferView.C: add getEncoding()
6709 * kbsequence.C: do not store last keypress
6712 * lyxfunc.C: store last keypress here instead. Pass encoding
6715 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6717 * lyx_main.C (init): remove annoying error message when following
6718 symbolic links (bug #780)
6720 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6722 * text.C (insertChar):
6723 * lyxrc.C (getDescription): remove extra spaces
6725 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6727 * lyxrc.C (getDescription): remove extra spaces
6729 2002-12-20 John Levon <levon@movementarian.org>
6731 * text3.C: hack fix for page up/down across tall rows
6733 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6735 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6738 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6740 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6741 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6742 thesaurus is not compiled in
6744 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6746 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6748 2002-12-16 Angus Leeming <leeming@lyx.org>
6751 * lyx_main.C (init): remove override_x_deadkeys stuff.
6753 2002-12-12 John Levon <levon@movementarian.org>
6755 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6756 insert. Only remove shift modifier under strict
6759 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6761 * MenuBackend.C (expandToc): fix crash.
6763 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6765 * MenuBackend.C (expandToc): gettext on float names.
6767 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6769 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6770 implement bool empty() [bug 490]
6772 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6774 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6776 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6778 * several files: ws changes
6780 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6782 * text2.C (setCounter): clean up a bit, use boost.format.
6783 (updateCounters): initialize par upon declaration.
6785 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6786 if the layout exists. We do not just store the layout any more.
6787 (SwitchLayoutsBetweenClasses): use boost.format
6789 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6791 * converter.C (convert): if from and to files are the same, use a
6792 temporary files as intermediary
6794 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6797 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6799 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6801 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6803 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6805 * tabular.C (asciiPrintCell): use string(size, char) instead of
6808 * sgml.C (openTag): fix order of arguments to string constructor
6811 * lyxfunc.C (dispatch): use boost.format
6813 * lots of files: change "c" -> 'c'
6815 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6817 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6819 2002-11-25 Angus Leeming <leeming@lyx.org>
6821 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6823 * lyx_main.C (init): compile fix.
6825 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6827 * lyx_cb.C (start): boost.formatify
6828 do not include <iostream>
6830 * lengthcommon.C: ws only
6832 * boost-inst.C,BoostFormat.h: add more explict instantations
6834 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6836 * lots of files: handle USE_BOOST_FORMAT
6838 2002-11-21 John Levon <levon@movementarian.org>
6840 * pspell.C: fix compile
6842 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6844 * lyxfunc.C (dispatch): use boost::format
6848 * lyxfont.C (stateText): use boost::format
6850 * lyx_main.C (LyX): use boost::format
6852 (queryUserLyXDir): ditto
6855 (typedef boost::function): use the recommened syntax.
6857 * importer.C (Import): use boost::format
6859 * debug.C (showLevel): use boost::format
6861 * converter.C (view): use boost::format
6866 * bufferview_funcs.C (currentState): use boost::format
6868 * bufferlist.C (emergencyWrite): use boost::format
6870 * buffer.C (readLyXformat2): use boost::format
6871 (parseSingleLyXformat2Token): ditto
6873 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6875 * LaTeX.C (run): use boost::format
6877 * Chktex.C (scanLogFile): use boost::format
6879 * BufferView_pimpl.C (savePosition): use boost::format
6880 (restorePosition): ditto
6881 (MenuInsertLyXFile): ditto
6883 * BoostFormat.h: help file for explicit instation.
6885 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6887 * tabular.C (latex): Support for block alignment in fixed width
6890 2002-11-17 John Levon <levon@movementarian.org>
6892 * BufferView_pimpl.C:
6894 * lyxfunc.C: split filedialog into open/save
6896 2002-11-08 Juergen Vigna <jug@sad.it>
6898 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6899 by my last patch (hopefully).
6901 2002-11-08 John Levon <levon@movementarian.org>
6910 * toc.C: ParConstIterator, and use it (from Lars)
6912 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6914 * lyxtextclass.[Ch]: revise and add doxygen comments
6916 2002-11-07 John Levon <levon@movementarian.org>
6918 * text.C: fix progress value for spellchecker
6920 * toc.C: fix navigate menu for insetwrap inside minipage
6922 * paragraph_funcs.C: added FIXME for suspect code
6924 2002-11-07 John Levon <levon@movementarian.org>
6926 * BufferView_pimpl.C: fix redrawing of insets
6929 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6931 * text2.C (updateCounters): fix bug 668
6933 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6935 * text3.C (dispatch): Do not make the buffer dirty when moving the
6938 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6940 * vc-backend.C: STRCONV
6943 * text2.C (setCounter): STRCONV
6945 * paragraph.C (asString): STRCONV
6947 * lyxlength.C (asString): STRCONV
6948 (asLatexString): ditto
6950 * lyxgluelength.C (asString): STRCONV
6951 (asLatexString): ditto
6953 * lyxfunc.C (dispatch): STRCONV
6956 * lyxfont.C (stateText): STRCONV
6958 * importer.C (Import): STRCONV
6960 * counters.C (labelItem): STRCONV
6961 (numberLabel): ditto
6962 (numberLabel): remove unused ostringstream o
6967 * bufferview_funcs.C (currentState): STRCONV
6969 * buffer.C (readFile): STRCONV
6970 (asciiParagraph): ditto
6971 (makeLaTeXFile): ditto
6973 * Spacing.C (writeEnvirBegin): STRCONV
6975 * LaTeXFeatures.C (getLanguages): STRCONV
6976 (getPackages): ditto
6978 (getBabelOptions): ditto
6979 (getTClassPreamble): ditto
6980 (getLyXSGMLEntities): ditto
6981 (getIncludedFiles): ditto
6985 (scanAuxFile): ditto
6988 * LString.h: add the STRCONV macros
6990 * BufferView_pimpl.C (savePosition): STRCONV
6991 (restorePosition): ditto
6992 (MenuInsertLyXFile): ditto
6994 * vc-backend.C (scanMaster): change from submatch[...] to
6997 * funcrequest.C: include config.h
6999 * factory.C: include config.h
7001 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7003 * box.C: include config.h
7005 * LaTeX.C (scanAuxFile): change from submatch[...] to
7009 2002-10-25 Angus Leeming <leeming@lyx.org>
7011 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7013 * ispell.[Ch] (setError): new method.
7014 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7015 Use setError() insetead of goto END.
7017 * lyx_cb.C (AutoSave): move out child process into new class
7020 2002-10-30 John Levon <levon@movementarian.org>
7022 * text3.C: make start appendix undoable
7024 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7026 * lyxlength.C (inPixels): Fix returned value.
7028 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7031 2002-10-24 Angus Leeming <leeming@lyx.org>
7033 * lyxgluelength.h: no need to forward declare BufferParams
7034 or BufferView, so don't.
7036 2002-10-21 John Levon <levon@movementarian.org>
7038 * BufferView.C: menuUndo ->undo, redo
7040 * BufferView.h: document, remove dead, make some methods private
7042 * paragraph_funcs.h:
7043 * paragraph_funcs.C:
7044 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7049 * sgml.C: move sgml open/close tag into sgml.C
7051 * bufferview_funcs.h: unused prototype
7054 * lyxfunc.C: remove unused
7057 * text.C: remove unused
7059 2002-10-21 John Levon <levon@movementarian.org>
7063 * BufferView_pimpl.h:
7064 * BufferView_pimpl.C: fix mouse wheel handling based on
7065 patch from Darren Freeman
7067 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7069 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7071 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7073 * lyxlength.C (inPixels): Fix hanfling of negative length.
7074 Fix LyXLength::MU case.
7076 2002-10-16 John Levon <levon@movementarian.org>
7078 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7080 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7082 * converter.C (view): add support for $$i (file name) and $$p
7083 (file path) for the viewer command. If $$i is not specified, then
7084 it is appended to the command (for compatibility with old syntax)
7086 2002-10-14 Juergen Vigna <jug@sad.it>
7088 * undo_funcs.C (textHandleUndo): alter the order in which the
7089 new undopar is added to the LyXText, as we have to set first
7090 the right prev/next and then add it as otherwise the rebuild of
7091 LyXText is not correct. Also reset the cursor to the right paragraph,
7092 with this IMO we could remove the hack in "redoParagraphs()".
7094 2002-10-09 Angus Leeming <leeming@lyx.org>
7096 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7097 to turn off an optimisation if a new inset is to be inserted.
7099 2002-10-11 André Pönitz <poenitz@gmx.net>
7101 * lyxtext.h: make some functions public to allow access
7102 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7104 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7106 * text3.C (dispatch): when changing layout, avoid an infinite loop
7109 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7111 * lyxrc.C (read): treat a viewer or converter command of "none" as
7114 * MenuBackend.C (expandFormats): for an update, also allow the
7115 formats that are not viewable
7117 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7118 script if it is newer than the lyxrc.defaults in user directory
7120 2002-10-07 André Pönitz <poenitz@gmx.net>
7122 * text.C: Vitaly Lipatov's small i18n fix
7124 2002-09-25 Angus Leeming <leeming@lyx.org>
7126 * ispell.h: doxygen fix.
7128 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7130 * buffer.h (readFile): Add a new argument to the method, to allow
7131 reading of old-format templates.
7133 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7135 * toc.C (getTocList): Get TOC from InsetWrap.
7137 2002-09-16 John Levon <levon@movementarian.org>
7139 * lyxfunc.C: check tabular for cut/copy too
7141 2002-09-12 John Levon <levon@movementarian.org>
7146 * factory.C: add header
7148 * paragraph_funcs.h:
7149 * paragraph_funcs.C: cleanup
7151 2002-09-11 John Levon <levon@movementarian.org>
7153 * PrinterParams.h: odd/even default to true
7155 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7157 * PrinterParams.h: update printer parameters for new xforms dialog
7159 2002-09-11 Angus Leeming <leeming@lyx.org>
7161 * lyxserver.C (read_ready): re-write to make it more transparent
7162 and to make it work in coherent fashion under Tru64 Unix.
7164 2002-09-11 André Pönitz <poenitz@gmx.net>
7168 * text3.C: implement LFUN_WORDSEL
7170 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7172 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7173 make floatlist_ a boost::shared_ptr<FloatList>
7175 * lyxtextclass.C: include FloatList.h
7176 (LyXTextClass): initialize floatlist_
7177 (TextClassTags): add TC_NOFLOAT
7178 (Read): match "nofloat" to TC_NOFLOAT and use it.
7179 (readFloat): modify call to floatlist_
7183 * FloatList.[Ch] (FloatList): remove commented out float
7185 (erase): new function
7187 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7189 * MenuBackend.C (expandToc): fix crash when there is no document
7192 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7194 * many files: Add insetwrap.
7196 2002-09-09 John Levon <levon@movementarian.org>
7198 * text2.C: remove confusing and awkward depth wraparound
7200 2002-09-09 John Levon <levon@movementarian.org>
7202 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7205 * buffer.C: remove getIncludeonlyList()
7208 * lyxfunc.C: remove headers
7210 2002-09-09 Juergen Vigna <jug@sad.it>
7212 * text.C (getColumnNearX): fix form Michael this is most
7213 probably a cut&paste bug.
7215 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7217 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7219 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7220 references, ws changes.
7222 * text2.C (init): update counters after init
7223 (insertParagraph): no need to set counter on idividual paragraphs.
7224 (setCounter): access the counters object in the textclass object
7225 on in the buffer object.
7226 (updateCounters): ditto
7228 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7229 shared_ptr<Counters> to avoid loading counters.h in all
7231 (LyXTextClass): initialize ctrs_
7232 (TextClassTags): add TC_COUNTER, and ...
7233 (Read): use it here.
7234 (CounterTags): new tags
7235 (readCounter): new function
7236 (counters): new funtion
7237 (defaultLayoutName): return a const reference
7239 * counters.C (Counters): remove contructor
7240 (newCounter): remove a couple of unneeded statements.
7241 (newCounter): simplify a bit.
7242 (numberLabel): some small formatting changes.
7244 * buffer.[Ch]: remove all traces of counters, move the Counters
7245 object to the LyXTextClass.
7247 2002-09-06 Alain Castera <castera@in2p3.fr>
7249 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7250 package to set the horizontal alignment on fixed width columns.
7253 * lyx_sty.h: added tabularnewline macro def.
7255 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7257 2002-09-06 John Levon <levon@movementarian.org>
7259 * LyXAction.C: tooltips for sub/superscript
7261 * MenuBackend.C: a bit more verbose
7263 * lyxfunc.C: tiny clean
7265 * undo_funcs.C: document undo_frozen
7267 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7269 * counters.C (Counters): add missing algorithm counter.
7271 * text2.C (setCounter): lookup the counter with layouts latexname
7272 instead of by section number.
7273 (setCounter): use a hackish way to lookup the correct enum
7275 a float name->type change
7276 reset enum couners with counter name directly instead of depth value.
7278 * counters.C (Counters): remove the push_backs, change to use the
7279 float type not the float name.
7280 (labelItem): remove unused string, float name->type change
7282 * counters.h: don't include vector, loose the enums and sects vectors
7284 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7286 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7287 (Read): add float->TC_FLOAT to textclassTags
7288 (Read): and handle it in the switch
7289 (readFloat): new function
7291 * FloatList.C (FloatList): comment out the hardcoded float
7294 * lyxlayout.h: ws change.
7296 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7298 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7300 2002-09-03 Angus Leeming <leeming@lyx.org>
7302 * BufferView_pimpl.h: qualified name is not allowed in member
7303 declaration: WorkArea & Pimpl::workarea() const;
7305 * factory.C: added using std::endl directive.
7307 * text3.C: added using std::find and std::vector directives.
7309 2002-08-29 André Pönitz <poenitz@gmx.net>
7312 * text2.C: remove unused member number_of_rows
7315 * BufferView2.C: remove file, move contents to...
7316 * BufferView.C: ... here
7318 * BufferView_pimpl.C:
7319 * factory.C: move more inset creation to factory
7321 * vspace.C: avoid direct usage of LyXText, ws changes
7324 don't provide direct access to WorkArea, use two simple
7325 acessors haveSelction() and workHeight() instead
7328 2002-08-29 John Levon <levon@movementarian.org>
7330 * BufferView_pimpl.C (dispatch): do not continue when
7333 2002-08-28 André Pönitz <poenitz@gmx.net>
7335 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7338 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7340 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7342 * buffer.C: increment LYX_FORMAT to 221
7344 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7345 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7347 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7349 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7351 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7353 * factory.C (createInset): use LyXTextClass::floats
7355 * MenuBackend.C (expandFloatListInsert):
7356 (expandFloatInsert):
7359 * text2.C (setCounter):
7361 * LaTeXFeatures.C (useFloat):
7362 (getFloatDefinitions):
7364 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7366 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7367 floatlist_, with accessor floats().
7369 * FloatList.h: remove global FloatList
7371 2002-08-26 André Pönitz <poenitz@gmx.net>
7373 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7377 * BufferView_pimpl.C:
7378 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7380 2002-08-25 John Levon <levon@movementarian.org>
7382 * LyXAction.C: fix margin note description
7384 2002-08-24 John Levon <levon@movementarian.org>
7388 * bufferview_funcs.C:
7390 * undo_funcs.C: cleanups
7392 * lyxfunc.C: disable CUT/COPY when no selection
7394 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7396 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7397 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7399 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7400 Add backward compatibility to "mono", "gray" and "no".
7402 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7404 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7405 (and file_format >= 200).
7407 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7409 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7411 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7413 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7415 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7417 * BufferView_pimpl.C:
7424 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7425 inset and code to make it work with the paragraph code. The inset
7426 can be anywhere in the paragraph, but will only do the expected
7427 thing in LaTeX if the layout file contains the parameter line
7429 (or more generally, a nonzero value) for that layout.
7431 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7433 * paragraph.h: remove the declaration of undefined counters class
7436 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7438 * text2.C (setCounter): fixed enumeration mis-count as reported by
7439 Dr. Richard Hawkins.
7441 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7443 * paragraph_funcs.h: remove some unneeded includes
7445 * text.C (backspace): pasteParagraph now in global scipe
7447 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7448 (pasteSelection): ditto
7450 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7451 * paragraph_funcs.C (pasteParagraph): ... here
7453 2002-08-20 André Pönitz <poenitz@gmx.net>
7455 * commandtags.h: new LFUNs for swapping/copying table row/colums
7458 * lyxfunc.C: support for new lfuns
7460 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7463 * buffer.[Ch]: remove NO_COMPABILITY stuff
7465 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7467 * boost.C (throw_exception): new file, with helper function for
7468 boost compiled without exceptions.
7473 * ParameterStruct.h:
7474 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7476 * bufferlist.C (emergencyWriteAll): use boost bind
7478 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7480 * text.C: include paragraph_funcs.h
7481 (breakParagraph): breakParagraph is now in global scope
7483 * paragraph_funcs.[Ch]: new files
7485 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7488 * buffer.C: include paragraph_funcs.h
7489 (insertStringAsLines): breakParagraph is now in global scope
7491 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7494 * CutAndPaste.C: include paragraph_funcs.h
7495 (cutSelection): breakParagraphConservative is now in global scope
7496 (pasteSelection): ditto
7498 * buffer.h: declare oprator== and operator!= for
7499 Buffer::inset_iterator
7501 * bufferlist.C (emergencyWrite): don't use fmt(...)
7503 * text3.C: add using std::endl
7505 * BufferView.C (moveCursorUpdate): remove default arg
7507 2002-08-20 André Pönitz <poenitz@gmx.net>
7509 * buffer.[Ch]: move inline functions to .C
7512 * BufferView_pimpl.C:
7514 * buffer.[Ch]: use improved inset_iterator
7517 * paragraph.[Ch]: write one paragraph at a time
7519 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7521 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7522 style if style is not specified.
7524 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7526 * text2.C (setCounter): when searching for right label for a
7527 caption, make sure to recurse to parent insets (so that a caption
7528 in a minipage in a figure float works) (bug #568)
7530 2002-08-20 André Pönitz <poenitz@gmx.net>
7532 * text3.C: new file for LyXText::dispatch() and helpers
7534 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7536 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7538 2002-08-19 André Pönitz <poenitz@gmx.net>
7541 * text.C: new LyXText::dispatch()
7543 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7545 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7547 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7549 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7552 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7554 * Makefile.am: use $(variables) instead of @substitutions@
7556 2002-08-15 André Pönitz <poenitz@gmx.net>
7559 * BufferView_pimpl.C: streamlining mathed <-> outer world
7563 * LyXAction.C: remove unused LFUN_MATH
7565 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7567 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7569 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7571 * paragraph.C (Paragraph): reformat a bit
7572 (cutIntoMinibuffer): use builtin InsetList function instad of
7576 * buffer.C: include boost/bind.hpp, add using std::for_each
7577 (writeFileAscii): use ParagraphList iterators
7578 (validate): use for_each for validate traversal of paragraphs
7579 (getBibkeyList): use ParagraphList iterators
7580 (resizeInsets): use for_each to resizeInsetsLyXText for all
7582 (getParFromID): use ParagraphList iterators
7584 * BufferView2.C (lockInset): use paragraph list and iterators
7586 2002-08-14 John Levon <levon@movementarian.org>
7588 * lyxserver.C: remove spurious xforms include
7590 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7592 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7594 2002-08-13 André Pönitz <poenitz@gmx.net>
7597 * lyxfunc.C: further cleaning
7599 2002-08-13 André Pönitz <poenitz@gmx.net>
7601 * funcrequest.h: new constructor
7603 * funcrequest.C: move stuff here from .h
7606 * BufferView_pimpl.C:
7609 * lyxfunc.C: subsequent changes
7611 * lyxfunc.h: new view() member function
7613 * lyxfunc.C: subsequent changes
7615 2002-08-13 Angus Leeming <leeming@lyx.org>
7618 * BufferView_pimpl.C:
7626 changes due to the changed LyXView interface that now returns references
7627 to member variables not pointers.
7629 2002-08-13 Angus Leeming <leeming@lyx.org>
7631 * WordLangTuple (word, lang_code): return references to strings,
7636 * lyxtext.h: forward-declare WordLangTuple.
7641 * text.C: #include "WordLangTuple.h".
7644 * text.C: (selectNextWordToSpellcheck): constify return type.
7646 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7652 * paragraph_pimpl.h:
7655 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7657 Made updateCounter always count from start of buffer, and removed
7658 second argument (par).
7659 Reverted floats number display to '#'. Perhaps I'll try again when the
7660 code base is sanitized a bit.
7662 2002-08-12 Angus Leeming <leeming@lyx.org>
7664 * buffer.[Ch] (getLabelList): constify.
7666 2002-08-07 André Pönitz <poenitz@gmx.net>
7668 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7670 * funcrequest.h: extension to keep mouse (x,y) position
7672 2002-08-12 Juergen Vigna <jug@sad.it>
7674 * BufferView2.C (insertErrors): forbid undo when inserting error
7677 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7679 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7681 * ParagraphList.[Ch]: new files
7683 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7685 * BufferView2.C (lockInset): ParagraphList changes
7688 * bufferlist.C: ditto
7692 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7694 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7695 unused class variable counter_,
7697 * paragraph.[Ch] (getFirstCounter): delete unused function
7699 * counters.C: include LAssert.h
7700 (reset): add a new function with no arg, change other version to
7701 not have def. arg and to not allow empty arg.
7703 * text2.C (setCounter): remove empty arg from call to Counters::reset
7705 2002-08-11 John Levon <levon@movementarian.org>
7707 * Makefile.am: add WordLangTuple.h
7709 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7711 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7712 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7714 * insets/insettext.C: InsetList changes
7716 * graphics/GraphicsSupport.C (operator()): InsetList changes
7718 * toc.C (getTocList): InsetList changes
7720 * paragraph_pimpl.[Ch]: InsetList changes
7722 * paragraph.[Ch]: InsetList changes
7724 * buffer.C (inset_iterator): InsetList changes
7725 (setParagraph): ditto
7726 * buffer.h (inset_iterator): ditto
7727 * iterators.C (operator++): ditto
7728 * iterators.h: ditto
7730 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7732 * InsetList.[Ch]: new files, most InsetList handling moved out of
7735 * BufferView2.C (removeAutoInsets): InsetList changes
7737 (ChangeInsets): ditto
7739 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7741 * paragraph_pimpl.h (empty): new function
7743 * paragraph.[Ch] (empty): new function
7745 * other files: use the new Paragraph::empty function
7747 2002-08-09 John Levon <levon@movementarian.org>
7749 * lyxtext.h: remove unused refresh_height
7751 2002-08-09 John Levon <levon@movementarian.org>
7758 * paragraph.C: move sgml char escaping out of paragraph
7761 * paragraph.C: remove id setter
7765 * paragraph_pimpl.C: remove dead tex_code_break_column
7767 * bufferview_funcs.C: small cleanup
7769 * lyxfunc.C: remove dead proto
7771 * lyxtext.h: make some stuff private. Remove some dead stuff.
7773 * lyxgluelength.C: make as[LyX]String() readable
7775 2002-08-08 John Levon <levon@movementarian.org>
7780 * ToolbarDefaults.C:
7783 * toc.C: lyxaction cleanup
7785 2002-08-08 John Levon <levon@movementarian.org>
7787 * BufferView2.C: small cleanup
7790 * lyxfind.C: move unnecessary header into the .C
7792 2002-08-08 John Levon <levon@movementarian.org>
7794 * funcrequest.h: just tedious nonsense
7797 * lyx_main.C: cleanups
7800 * vspace.C: remove dead header lyx_main.h
7802 2002-08-07 Angus Leeming <leeming@lyx.org>
7805 * paragraph_pimpl.h:
7806 Forward declare class Counters in paragraph.h by moving the ctrs member
7807 variable into Paragraph::Pimpl.
7808 (counters): new method, returning a reference to pimpl_->ctrs.
7810 * text2.C: ensuing changes.
7812 2002-08-07 John Levon <levon@movementarian.org>
7814 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7816 * BufferView_pimpl.C: announce X selection on double/triple
7819 * lyx_main.C: use correct bool in batch dispatch
7821 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7823 2002-08-07 André Pönitz <poenitz@gmx.net>
7825 * funcrequest.h: new class to wrap a kb_action and its argument
7828 * BufferView_pimpl[Ch]:
7832 * lyxrc.C: subsequent changes
7835 2002-08-07 John Levon <levon@movementarian.org>
7837 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7838 document options change.
7840 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7845 * makefile.am: move counters functionality over from
7846 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7848 2002-08-06 John Levon <levon@movementarian.org>
7850 * WordLangTuple.h: new file for word + language code tuple
7861 * BufferView2.C: use WordLangTuple
7864 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7866 2002-08-06 John Levon <levon@movementarian.org>
7868 * lyx_main.C: fix cmdline batch handling
7870 2002-08-06 André Pönitz <poenitz@gmx.net>
7872 * lyxrc.C: set default for show_banner to true
7874 2002-08-06 John Levon <levon@movementarian.org>
7876 * pspell.C: fix a crash, and allow new aspell to work
7878 2002-08-06 John Levon <levon@movementarian.org>
7881 * kbmap.C: small cleanup
7884 * vspace.C: add const
7886 2002-08-05 John Levon <levon@movementarian.org>
7888 * LyXAction.C: back to tabular-insert
7890 2002-08-04 John Levon <levon@movementarian.org>
7893 * BufferView.C: cosmetic change
7895 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7905 * BufferView2.C: purge all "Lyx" not "LyX" strings
7908 * lyxcursor.C: attempt to add some documentation
7913 * ToolbarDefaults.C:
7914 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7915 merge with LFUN_TABULAR_INSERT
7922 * pspell.C: split up i/pspell implementations into separate
7923 files, many cleanups
7925 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7927 * text2.C: some cleanup
7929 * lyxfunc.C: don't check for isp_command == "none" any more, it
7930 didn't make any sense
7932 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7937 * makefile.am: move counters functionality over
7938 from text2.C/paragraph.[Ch] to counters.[Ch], and
7940 2002-08-02 John Levon <levon@movementarian.org>
7942 * buffer.C: s/lyxconvert/lyx2lyx/
7944 2002-08-02 Angus Leeming <leeming@lyx.org>
7946 * lyxlex.C: revert John's change as it breaks reading of the user
7949 2002-08-02 Angus Leeming <leeming@lyx.org>
7951 * importer.C (Import):
7952 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7953 changes due to LyXView::view() now returning a boost::shared_ptr.
7955 2002-08-02 John Levon <levon@movementarian.org>
7957 * lyxlex.C: small cleanup
7959 2002-08-02 John Levon <levon@movementarian.org>
7961 * text2.C (status): small cleanup, no logic change
7963 2002-08-01 John Levon <levon@movementarian.org>
7966 * buffer.C (writeFile): don't output alerts, caller
7970 * lyx_cb.C: from above
7972 * lyxfunc.C: allow to open non-existent files
7974 2002-07-31 John Levon <levon@movementarian.org>
7976 * lyxserver.C: don't let incidental errors get
7979 2002-07-30 John Levon <levon@movementarian.org>
7981 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7983 2002-07-30 John Levon <levon@movementarian.org>
7986 * lyxserver.C: remove I/O callback too
7988 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7990 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7993 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7995 * many files: strip,frontStrip -> trim,ltrim,rtrim
7997 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7999 * PrinterParams.h: remove extern containsOnly, and include
8000 support/lstrings.h instead.
8002 * LaTeX.C (scanAuxFile): modify because of strip changes
8004 * buffer.C (makeLaTeXFile): ditto
8005 * bufferparams.C (writeFile): ditt
8006 * lyxfont.C (stateText): ditto
8007 * lyxserver.C (read_ready): ditto
8008 * vc-backend.C (scanMaster): ditto
8010 * BufferView_pimpl.h: ws changes
8012 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8014 2002-07-26 André Pönitz <poenitz@gmx.net>
8016 * kb_sequence.C: remove unnedred usings
8018 2002-07-26 Juergen Vigna <jug@sad.it>
8020 * lyxfind.C (LyXReplace): we have to check better if the returned
8021 text is not of theLockingInset()->getLockingInset().
8023 2002-07-25 Juergen Vigna <jug@sad.it>
8025 * lyxfind.C (LyXReplace): don't replace if we don't get the
8028 * undo_funcs.C (createUndo): remove debugging code.
8030 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8032 * buffer.C (parseSingleLyXformat2Token): Use default placement
8033 when reading old floats.
8035 * FloatList.C (FloatList): Change the default placement of figure
8036 and tables to "tbp".
8038 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8040 * MenuBackend.C: using std::max
8042 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8044 * MenuBackend.C (expandToc):
8045 (expandToc2): code moved from xforms menu frontend. It is now
8046 generic and TOCs are transparent to menu frontends.
8048 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8050 * toc.C (getTocList): protect against buf=0
8052 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8053 Menu as first parameter. Now, this calls itself recursively to
8054 expand a whole tree (this will be useful for TOC handling)
8055 (expandFloatInsert): remove 'wide' version of floats
8057 * MenuBackend.h (submenuname): returns the name of the submenu.
8058 (submenu): returns the submenu itself, provided it has been
8059 created by MenuBackend::expand
8061 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8063 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8064 insets which have noFontChange == true. (bug #172)
8066 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8068 * BufferView_pimpl.C: add connection objects and use them...
8071 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8073 * MenuBackend.C (expandLastfiles):
8076 (expandFloatListInsert):
8077 (expandFloatInsert):
8078 (expand): split expand in parts
8080 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8082 * lyx_gui.C: use lyx_gui::exit()
8084 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8086 * LyXAction.C: show the failing pseudo action
8088 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8090 * buffer.C (readFile): Run the lyxconvert script in order to read
8093 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8097 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8099 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8103 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8105 2002-07-22 Herbert Voss <voss@lyx.org>
8108 * lyxlength.[Ch]: add support for the vertical lengths
8110 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8112 * toc.[Ch]: std:: fixes
8114 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8116 * lyxrc.C: do not include lyx_main.h
8118 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8124 * BufferView2.C: include "lyxlex.h"
8127 * bufferparams.h: do not #include "lyxlex.h"
8129 * lyxtextclasslist.C (Add): remove method
8130 (classlist): renamed to classlist_
8132 * paragraph_pimpl.C:
8136 * bufferview_funcs.C:
8141 * toc.C (getTocList): use BufferParams::getLyXTextClass
8143 * toc.C (getTocList): use InsetFloat::addToToc
8145 * toc.[Ch]: new files, containing helper functions to handle table
8148 * lyxfunc.C (dispatch): no need to remove spaces around command
8150 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8151 first command of the sequence; it is not very clever, but I do not
8152 have a better idea, actually
8154 * LyXAction.C (LookupFunc): make sure to remove space at the
8155 beginning and end of the command
8157 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8159 * MenuBackend.C (getMenubar): new method: return the menubar of
8161 (read): treat differently reading of menu and menubar (in
8162 particular, the menubar has no name now)
8163 (Menu::menubar): remove
8165 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8168 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8170 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8171 a bibitem inset in a RTL paragraph.
8173 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8175 * paragraph_pimpl.C: constify
8177 * BufferView_pimpl.C:
8179 * lyxfunc.C: fix dispatch in a nicer way
8181 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8183 * lyxfunc.C (dispatch):
8184 * BufferView_pimpl.C:
8185 * BufferView_pimpl.h:
8187 * BufferView.h: rename Dispatch() to dispatch()
8189 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8191 * lyxlayout.C (Read): honor DependsOn tag
8193 * lyxlayout.[Ch] (depends_on): new method
8195 * version.C.in: update lyx_docversion
8197 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8199 * paragraph.C (validate): remove from here...
8200 * paragraph_pimpl.C (validate): ... and move here
8201 (isTextAt): make it const
8203 * buffer.C (getLists): ws cleanup
8205 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8207 * language.C (read): Use iso8859-1 encoding in latex_lang
8208 (this prevents LyX from crashing when using iso10646-1 encoding).
8210 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8212 * text2.C (toggleInset): if cursor is inside an inset, close the
8213 inset and leave cursor _after_ it
8215 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8217 * lyxfunc.C: move minibuffer completion handling out of here
8219 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8221 * BufferView_pimpl.C:
8222 * LaTeX.C: fix dispatch calls
8224 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8226 * text.C (drawChars): Fix Arabic text rendering.
8228 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8232 * lyxfunc.C: remove message-push/pop
8236 * lyxfunc.C: rationalise some code by removing verboseDispatch
8237 in favour of a bool argument to dispatch()
8239 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8241 * lyx_main.C (init): make sure to read symlinks as absolute paths
8243 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8246 * lyxfunc.C: no need for commandshortcut to be a member
8248 2002-07-15 André Pönitz <poenitz@gmx.net>
8250 * converter.C: add support for $$s (scripts from lib/scripts dir)
8251 * lyx_main.C: white space
8253 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8257 * lyxrc.C: remove second exit confirmation
8259 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8264 * BufferView_pimpl.h:
8265 * BufferView_pimpl.C:
8266 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8268 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8270 * MenuBackend.C (expand): add numeric shortcuts to document menu
8272 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8274 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8276 * lyxfont.C (setLyXFamily):
8283 * buffer.C (asciiParagraph): use ascii_lowercase
8285 2002-07-15 Mike Fabian <mfabian@suse.de>
8287 * lyxlex_pimpl.C (search_kw):
8288 * lyxlex.C (getLongString):
8289 * converter.h (operator<):
8290 * converter.C (operator<):
8291 * buffer.C (parseSingleLyXformat2Token):
8293 * ToolbarDefaults.C (read):
8294 * MenuBackend.C (checkShortcuts):
8296 * LColor.C (getFromGUIName):
8297 (getFromLyXName): use the compare_ascii_no_case instead of
8298 compare_no_case, because in turkish, 'i' is not the lowercase
8299 version of 'I', and thus turkish locale breaks parsing of tags.
8301 2002-07-16 Angus Leeming <leeming@lyx.org>
8303 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8304 now takes a Buffer const & argument.
8306 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8308 * BufferView.C (resize): check there's a buffer to resize
8310 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8312 * lyxfunc.C: remove dead code
8315 * lyxserver.C: use lyx_guii::set_read_callback
8317 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8319 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8320 an inset in a RTL paragraph.
8322 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8324 * lyxfunc.C: repaint after a font size update
8326 2002-07-15 André Pönitz <poenitz@gmx.net>
8328 * lyxlength.C: inBP should be able to return negative values
8330 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8332 * lyxfunc.C: use lyx_gui::update_fonts()
8334 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8336 * lyxfunc.C: use lyx_gui::update_color()
8338 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8344 * lyxrc.C: remove file->new asks for name option, and let
8345 buffer-new take an argument
8347 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8349 * BufferView_pimpl.C: remove unneeded extra repaint()
8351 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8353 * LyXAction.C: allow command-sequence with NoBuffer
8355 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8357 2002-07-10 Angus Leeming <leeming@lyx.org>
8359 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8361 2002-07-09 Angus Leeming <leeming@lyx.org>
8363 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8365 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8367 * lengthcommon.h: whitespace
8369 * lyxfunc.C: update scrollbar after goto paragraph
8371 * lyxtext.h: factor out page break drawing, and fix it so
8372 page break/added space paints as selected nicely
8374 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8376 * BufferView_pimpl.C: add FIXMEs, clean up a little
8378 2002-07-09 André Pönitz <poenitz@gmx.net>
8380 * lyxfont.[Ch]: support for wasy symbols
8382 2002-07-08 André Pönitz <poenitz@gmx.net>
8384 * BufferView_pimpl.C: apply John's patch for #93.
8386 2002-07-05 Angus Leeming <leeming@lyx.org>
8388 * BufferView_pimpl.C (buffer): generate previews if desired.
8390 * LColor.h: add "preview" to the color enum.
8392 * LColor.C (LColor): add a corresponding entry to the items array.
8394 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8397 2002-07-05 Angus Leeming <leeming@lyx.org>
8399 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8400 The body of the code is now in the method that is passed an ostream &
8401 rather than a file name.
8402 Pass an additional only_preamble parameter, useful for the forthcoming
8405 2002-07-03 André Pönitz <poenitz@gmx.net>
8407 * lyxfunc.C: simplify getStatus() a bit for math stuff
8409 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8411 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8413 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8415 * text.C (changeRegionCase): do not change case of all the
8416 document when region ends at paragraph end (bug #461)
8418 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8420 * paragraph.C (startTeXParParams):
8421 (endTeXParParams): add \protect when necessary
8423 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8425 * BufferView_pimpl.C (workAreaExpose): remove warning
8427 2002-06-27 Angus Leeming <leeming@lyx.org>
8429 * Makefile.am: add lyxlayout_ptr_fwd.h.
8431 2002-06-26 André Pönitz <poenitz@gmx.net>
8433 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8435 2002-06-25 Angus Leeming <leeming@lyx.org>
8437 * lyxfunc.C (dispatch): Comment out the call to
8438 grfx::GCache::changeDisplay. The method no longer exists now that the
8439 pixmap generation part of the graphics loader has been moved into
8442 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8444 * text2.C: layout as layout
8446 * text.C: layout as layout
8448 * tabular.C (OldFormatRead): layout as layout
8450 * paragraph_pimpl.C (TeXDeeper): layout as layout
8451 (realizeFont): layout as layout
8453 * paragraph.C (writeFile): layout as layout
8454 (validate): layout as layout
8455 (getFont): layout as layout
8456 (getLabelFont): layout as layout
8457 (getLayoutFont): layout as layout
8458 (breakParagraph): layout as layout
8459 (stripLeadingSpaces): layout as layout
8460 (getEndLabel): layout as layout
8461 (getMaxDepthAfter): layout as layout
8462 (applyLayout): layout as layout
8463 (TeXOnePar): layout as layout
8464 (simpleTeXOnePar): layout as layout
8465 (TeXEnvironment): layout as layout
8466 (layout): layout as layout
8467 (layout): layout as layout
8469 * lyxtextclass.C (compare_name): new functor to work with
8470 shared_ptr, layout as layout
8471 (Read): layout as layout
8472 (hasLayout): layout as layout
8473 (operator): layout as layout
8474 (delete_layout): layout as layout
8475 (defaultLayout): layout as layout
8477 * lyxlayout_ptr_fwd.h: new file
8479 * lyxlayout.C (Read): layout as layout
8481 * lyx_cb.C (MenuInsertLabel): layout as layout
8483 * bufferlist.C (newFile): layout as layout
8485 * buffer.C (readLyXformat2): layout as layout
8486 (parseSingleLyXformat2Token): layout as layout
8487 (insertStringAsLines): layout as layout
8488 (asciiParagraph): layout as layout
8489 (latexParagraphs): layout as layout
8490 (makeLinuxDocFile): layout as layout
8491 (simpleLinuxDocOnePar): layout as layout
8492 (makeDocBookFile): layout as layout
8493 (simpleDocBookOnePar): layout as layout
8494 (getLists): layout as layout
8496 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8498 * CutAndPaste.C (cutSelection): layout as layout
8499 (pasteSelection): layout as layout
8500 (SwitchLayoutsBetweenClasses): layout as layout
8502 * BufferView_pimpl.C (Dispatch): layout as layout
8503 (smartQuote): layout as layout
8505 * BufferView2.C (unlockInset): layout as layout
8507 2002-06-24 André Pönitz <poenitz@gmx.net>
8509 * lyxfunc.C: fix #487
8511 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8515 * lyxfunc.C: remove display_shortcuts, show_banner
8517 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8519 * Buffer_pimpl.C: oops, update on resize
8521 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8528 * BufferView.C: use repaint()
8530 * BufferView_pimpl.h:
8531 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8532 as it's a clearer description. Remove superfluous
8535 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8537 * text.C: fix bug 488. Not ideal, but getting
8538 getWord() to work properly for the insets that
8539 matter is more difficult ...
8541 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8543 * BufferView_pimpl.C:
8546 * lyxfunc.C: remove the six million index lyxfuncs to just
8547 one, and DTRT (bug 458)
8549 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8553 * BufferView_pimpl.h:
8554 * BufferView_pimpl.C: clean up resize() stuff,
8555 and unnecessary updateScreen()s
8557 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8561 * BufferView_pimpl.h:
8562 * BufferView_pimpl.C:
8565 * minibuffer.C: remove focus management of workarea,
8566 not needed. Use screen's greyOut()
8568 2002-06-17 Herbert Voss <voss@lyx.org>
8570 * converter.C: (convert) do not post a message, when converting
8571 fails, let the calling function decide what to do in this case
8573 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8575 * lyxfunc.C: tidy up a little
8577 2002-06-16 <alstrup@diku.dk>
8579 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8580 Got rid of FORMS_H_LOCATION include. Now we are
8583 2002-06-15 LyX Development team <lyx@rilke>
8585 * buffer.[Ch] (sgmlOpenTag):
8586 (sgmlCloseTag): Added support for avoiding pernicious mixed
8587 content. Return number of lines written.
8590 (makeDocBookFile): Fixed calls to sgml*Tag.
8591 Simple white space clean.
8593 (simpleDocBookOnePar): Simple white space clean.
8595 * tabular.[Ch] (docBook): Renamed to docbook and got another
8596 argument to related with the pernicious mixed content.
8598 (docbookRow): Fixed calls for docbook inset method.
8600 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8602 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8603 so it's X11 independent.
8607 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8609 2002-06-15 Lyx Development team <lyx@electronia>
8611 * intl.h: Renamed getTrans to getTransManager.
8613 2002-06-14 Angus Leeming <leeming@lyx.org>
8615 * Makefile.am: nuke forgotten stl_string_fwd.h.
8617 2002-06-12 Angus Leeming <leeming@lyx.org>
8619 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8621 2002-06-13 Angus Leeming <leeming@lyx.org>
8624 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8626 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8628 * kbmap.C (getiso): add support for cyrillic and greek
8630 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8634 * BufferView_pimpl.h:
8635 * BufferView_pimpl.C: move bogus scrolling logic
8638 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8641 * BufferView_pimpl.C: view->resize() change
8643 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8645 * BufferView_pimpl.C: topCursorVisible
8648 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8652 * lyx_gui.C: move to frontends/
8656 * lyx_main.C: changes from above
8658 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8665 * lyx_main.C: minor tidy
8667 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8669 * BufferView_pimpl.h:
8670 * BufferView_pimpl.C:
8672 * BufferView.C: make painter() const,
8675 * BufferView2.C: use screen() accessor
8678 * lyx_main.C: some minor cleanup
8680 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8682 * BufferView_pimpl.h:
8683 * BufferView_pimpl.C: remove enter/leaveView,
8686 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8691 * BufferView_pimpl.h:
8692 * BufferView_pimpl.C: only construct screen once,
8695 * lyxrc.C: remove pointless comment
8697 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8700 * BufferView.C: remove active() and belowMouse()
8702 * BufferView_pimpl.h:
8703 * BufferView_pimpl.C: use workarea() not workarea_,
8704 and make it use a scoped_ptr instead
8706 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8708 * lyx_gui.C: add debug message on BadWindow
8710 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8712 * sp_spell.C: fdopen is not part of the C++ standard.
8714 * paragraph.C (InsetIterator): use >= instead of ==
8716 2002-06-07 Angus Leeming <leeming@lyx.org>
8718 Fixes needed to compile with Compaq cxx 6.5.
8719 * BufferView_pimpl.C:
8726 * lyxtextclasslist.C:
8731 all c-library variables have been moved into namespace std. Wrap
8732 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8737 Add a using std::abs declaration.
8739 * kbmap.h (modifier_pair):
8740 * paragraph.h (InsetTable, InsetList):
8741 * lyxfont.h (FontBits):
8742 type definition made public.
8744 * bufferlist.C (emergencyWriteAll): the compiler complains that
8745 there is more than one possible lyx::class_fun template to choose from.
8746 I re-named the void specialisation as lyx::void_class_fun.
8748 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8750 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8751 the compiler is is unable to find tostr in write_attribute.
8753 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8755 * buffer.C (sgmlError): hide #warning
8757 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8759 * xtl/*: get rid of xtl, which is not in use anyway
8761 * LyXAction.C (init):
8762 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8763 were unimplemented xtl experimentation
8765 2002-06-04 André Pönitz <poenitz@gmx.net>
8767 * lyxfunc.C: disable array operation on simple formulae
8769 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8771 * converter.C: constify a bit
8773 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8775 * lyx_gui.C: check xforms version correctly
8777 2002-04-30 Herbert Voss <voss@lyx.org>
8779 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8782 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8784 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8785 attempt to register it with a VCS)
8787 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8789 * lyx_main.C (init): honor variables LYX_DIR_13x and
8792 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8796 * lyx_main.C: fix a crash on bad command line,
8797 and give a useful exit status on error
8799 * lyxfunc.C (doImport): allow -i lyx to work
8801 2002-03-30 André Pönitz <poenitz@gmx.net>
8803 * lyxfunc.C: mathed font changes
8805 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8820 * trans_mgr.h: srcdocs, and some minor cleanups
8822 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8824 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8825 call getFont all the time)
8827 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8829 * switch from SigC signals to boost::signals
8831 2002-05-29 André Pönitz <poenitz@gmx.net>
8833 * paragraph_pimpl.C (getChar): don't call size() too often...
8835 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8837 * paragraph_pimpl.C (insertChar): do not try to update tables when
8838 appending (pos == size())
8840 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8841 in order to reduce drastically the number of comparisons needed to
8842 parse a large document
8844 2002-05-29 André Pönitz <poenitz@gmx.net>
8850 * textclasslist.[Ch]:
8851 * sp_ispell.h: whitespace change
8853 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8855 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8856 lyxaction directly now.
8858 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8862 * lyxvc.C: remove unused headers
8864 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8871 * undo_funcs.C: some cleanups. Use shared_ptr
8872 and a template for the undo stacks.
8874 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8876 * BufferView_pimpl.h:
8877 * BufferView_pimpl.C:
8884 * text2.C: use key_state/mouse_state
8886 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8888 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8891 * chset.C: change include order
8892 (loadFile): use boost regex and get rid of LRegex and LSubstring
8894 * Makefile.am (BOOST_LIBS): new variable
8897 * LaTeX.C: change include order.
8898 (scanAuxFile): use boost regex and get rid of LRegex and
8902 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8907 * FontInfo.C: moved to frontends/xforms/
8910 * FontLoader.C: moved into frontends for GUIIzation
8915 * lyxfunc.C: changes from above
8917 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8919 * LColor.C: remove spurious X include
8921 * BufferView_pimpl.C:
8926 * text2.C: move font metrics to frontends/
8928 2002-05-24 Juergen Vigna <jug@sad.it>
8930 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8931 setting the undo_cursor.
8933 * ParagraphParameters.h: include local includes first.
8935 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8937 * BufferView_pimpl.C:
8938 * BufferView_pimpl.h:
8942 * screen.C: move WorkArea into frontends/
8948 * BufferView2.C: move LyXScreen into frontends/
8952 * lyx_gui.C: move lyxlookup into frontends/xforms/
8954 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8957 * BufferView_pimpl.C:
8967 * bufferview_funcs.C:
8980 * vc-backend.C: move LyX/XFormsView into frontends/
8982 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8994 * text2.C: move Painter to frontends/
8996 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8998 * buffer.C: comment out some some code that depend upon lyx_format
9001 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9002 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9004 * buffer.h (NO_COMPABILITY): turn off compability
9006 * ColorHandler.C: include scoped_array.hpp
9008 * font.C: Use more specific smart_ptr header.
9011 * ShareContainer.h: ditto
9015 * BufferView_pimpl.h: ditto
9016 * ColorHandler.h: ditto
9018 * kbmap.C (defkey): change call to shared_ptr::reset
9020 2002-05-21 Juergen Vigna <jug@sad.it>
9022 * buffer.C (insertErtContents): fix to insert ert asis if it is
9023 non empty. Skip it completely if it contains only whitespaces.
9025 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9027 * BufferView_pimpl.C:
9028 * BufferView2.C: clear selection on paste (bug 393)
9030 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9032 * DepTable.C: include ctime
9034 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9036 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9038 2002-05-14 Juergen Vigna <jug@sad.it>
9040 * text.C (breakParagraph): fixed function to honor the keepempty
9041 layout in the right maner and also to permit the right breaking
9042 algorithm on empty or non empyt keepempty paragraphs.
9044 * paragraph.C (breakParagraph): we have to check also if the par
9045 is really empty (!size()) for isempty otherwise we do the wrong
9048 2002-05-10 Juergen Vigna <jug@sad.it>
9050 * buffer.[Ch] : The following are only changes to the ert
9051 compatibility read reading old LaTeX layout and font stuff and
9052 convert it to ERTInsets.
9054 * buffer.h: added isErtInset().
9056 * buffer.C (struct ErtComp): add a fromlayout bool to check
9057 if we're inside a LaTeX layout.
9058 (isErtInset): new helper function.
9059 (insertErtContents): look for other ert insets before this one
9060 and insert the contents there, so that we don't have subsequent
9061 ERT insets with nothing between them. This way we create only one
9062 inset with multiple paragraphs. Also check if we don't insert only
9063 spaces ' ' as they are ignored anyway afterwards in the .tex file
9064 so if we have only spaces we will ignore this latex part in the
9066 (parseSingleLyXformat2Token \\layout): better compatibility when
9067 reading layout-latex stuff.
9068 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9070 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9071 stuff after reading the inset only get the information back from
9074 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9076 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9078 * LaTeXFeatures.C (getBabelOptions): New method.
9080 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9082 * BufferView_pimpl.C (Dispatch): work around missing argument for
9085 2002-05-08 Juergen Vigna <jug@sad.it>
9087 * text.C (leftMargin): handle paragraph leftindent.
9089 * paragraph.C (writeFile): write the new \\leftindent tag.
9090 (validate): handle leftindent code.
9091 (TeXEnvironment): handle paragraphleftindent code again.
9093 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9095 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9096 for paragrap_extra indent code and new token \\leftindent.
9097 (latexParagraphs): handle the leftindent as environment.
9099 * ParameterStruct.h: added leftindent support.
9101 * ParagraphParameters.C (leftIndent): added support functions for
9102 the paragraph left indent.
9104 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9107 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9109 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9112 * text.C (computeBidiTables): No bidi in insetERT.
9114 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9117 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9119 * version.C.in: pre 5
9121 2002-05-02 José Matos <jamatos@fep.up.pt>
9122 * buffer.C (makeDocBookFile): white space changes, add newline to
9124 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9126 * tabular.C (docBook): fix typo.
9128 2002-05-03 Juergen Vigna <jug@sad.it>
9130 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9131 change in LyXText as we can not be sure it was not freed.
9132 (drawOneRow): remove unused code.
9134 * text.C (drawInset): redo the calculation of the need_break_row as
9135 it could have a row which was already freed.
9136 (draw): look at the return value of drawInset and return false if
9137 it also returned false.
9138 (paintRowText): look at the return value of draw and return false if
9139 it also returned false.
9141 * lyxtext.h: added bool return type to drawInset() and draw() so that
9142 if we have a change in the row so that the rowbreak has to be redone
9143 we abort drawing as it will be called again.
9145 2002-05-02 Juergen Vigna <jug@sad.it>
9147 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9148 a change in the maintext also if we're inside an inset.
9149 (Dispatch): set the cursor again after a break line and after the
9150 screen has been updated as it could be we're in a different row.
9152 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9153 to set the cursor behind the pargraph with > size().
9154 (setCursor): check also for the same paragraph when checking where
9155 to put the cursor if we have a NFR inset.
9157 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9158 parts of layout read further up as it still was in the wrong
9161 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9163 * screen.C (drawFromTo): change sine fullRebreak always return
9166 * buffer.C (parseSingleLyXformat2Token): reindent some
9168 * BufferView_pimpl.C (update): change since fullRebreak always
9170 (Dispatch): git rid of the last hardcoded "Standard"s.
9172 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9174 * text2.[Ch] (fullRebreak): make it return void now that we always
9177 2002-04-30 Juergen Vigna <jug@sad.it>
9179 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9180 ert compatibility check for "latex" layout.
9182 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9184 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9185 minipages: use col% instead of p%, and also use the current font.
9186 (makeLaTeXFile): Fix use babel condition.
9187 (parseSingleLyXformat2Token): Correct font when reading old floats.
9189 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9191 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9192 inserting list of floats.
9194 2002-04-25 Herbert Voss <voss@lyx.org>
9196 * MenuBackend.C (expand): don't add the graphics extensions to the
9199 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9201 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9202 non-existing layout, do not complain if it was the default layout
9203 of the original class (bug #342)
9205 2002-04-24 Juergen Vigna <jug@sad.it>
9207 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9208 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9210 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9212 * buffer.C (getBibkeyList): If using \bibliography, return the
9213 option field with the reference itself. Enables us to provide natbib
9214 support when using \bibliography.
9216 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9218 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9220 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9221 natbib is provided by the LaTeX class.
9223 2002-04-23 Juergen Vigna <jug@sad.it>
9225 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9228 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9230 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9232 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9234 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9235 ensuremath around textordmasculine, textordfeminine and
9238 2002-04-19 Juergen Vigna <jug@sad.it>
9240 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9241 reinitializing the buffer otherwise row-dimensions may be wrong.
9242 (update): reset also the selection cursors if they do exits otherwise
9243 their x/y positions may be wrong.
9245 * text2.C (cursorDown): don't enter the inset if we came from a row
9246 above and are one row over the inset.
9248 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9249 really leaving an inset.
9251 2002-04-18 Juergen Vigna <jug@sad.it>
9253 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9254 of the selected paragraph does not have the selected layout also if
9257 * text2.C (setLayout): fixed bug which did not change last selected
9260 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9261 changed the read and substituted \\end_float with \\end_inset!
9263 * BufferView_pimpl.C (cursorPrevious):
9264 (cursorNext): fixed to make it work with rows heigher than the work
9265 area without moving the cursor only the draw of the row.
9266 (workAreaMotionNotify): fix jumping over high rows.
9268 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9270 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9273 2002-04-16 Juergen Vigna <jug@sad.it>
9275 * text2.C (setCursor): set also the irow().
9276 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9278 (cursorDown): support for locking an inset if the x_fix value goes
9279 inside it. That way I can transverse insets too with cursor up/down.
9281 * lyxrow.h: added irow helper function same as other (i) functions.
9283 * BufferView_pimpl.C (cursorPrevious):
9284 (cursorNext): fixed for insets!
9286 2002-04-15 Juergen Vigna <jug@sad.it>
9288 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9289 position otherwise it is wrong in some cases.
9291 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9292 inside the inset before the call.
9294 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9296 * buffer.[Ch] (getBibkeyList): make it const.
9298 2002-04-12 Juergen Vigna <jug@sad.it>
9300 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9302 * text2.C (getCursorX): new helper function
9303 (setCursor): compute also ix_
9304 (setCursorFromCoordinates): set also ix.
9306 * lyxcursor.h: added ix_ and helper functions.
9308 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9310 * buffer.C (insertStringAsLines): dont break paragraph if the this
9311 paragraph is inside an inset which does not permit it!
9313 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9314 also with no chars on this paragraph.
9315 (paintRowText): only paint stuff if it's inside the workarea!
9317 * paragraph.C (breakParagraph): honor keepempty flag and break the
9318 paragraph always below not above.
9320 * BufferView2.C (unlockInset): update the paragraph layout on inset
9321 unlock as we changed paragraph in such a case.
9323 * lyxfind.C (LyXFind): clear the former selection if not found!
9325 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9326 again called in insertChar().
9328 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9329 an inset which uses the whole row!
9330 (rightMargin): ditto.
9331 (insertChar): force a rebreak if we inserted an inset!
9333 2002-03-28 Herbert Voss <voss@lyx.org>
9335 * lyxlength.[Ch]: add inBP() to get the right PS-point
9336 units (BigPoint). With inPixels we have rounding errors
9338 2002-04-11 Juergen Vigna <jug@sad.it>
9340 * text2.C (setCursorFromCoordinates): set iy to the right value.
9341 (setCursor): add check if row->previous exists!
9343 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9344 an old float_type as this was the case in the old code!
9346 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9348 * BufferView2.C (showLockedInsetCursor): use iy
9349 (fitLockedInsetCursor): ditto
9351 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9352 locked insets as there we have the right value now.
9354 * lyxcursor.C: added iy_ variable and iy functions to set to the
9355 baseline of cursor-y of the locked inset.
9357 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9358 (setCursor): fixed for insets which need a full row.
9360 * text.C (rowLastPrintable): don't ignore the last space when before
9361 an inset which needs a full row.
9362 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9363 as last character of a row when before a inset which needs a full row.
9365 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9367 * version.C.in: update date
9369 * text2.C (fullRebreak): try to always return true and see what
9372 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9374 * MenuBackend.C (expand): use Floating::listName
9376 * FloatList.C (FloatList): add listName argument to the built-in
9379 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9380 text associated with the float.
9382 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9384 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9386 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9388 * ShareContainer.h: add a couple of missing typenames.
9390 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9392 * lyxrc.C (getDescription): use _() correctly rather than N_().
9394 2002-03-28 Herbert Voss <voss@lyx.org>
9396 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9397 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9399 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9401 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9402 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9404 2002-03-29 Juergen Vigna <jug@sad.it>
9406 * lyxfunc.C (dispatch): add a missing fitCursor call.
9408 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9409 it was scrolled by a cursor move, so return the bool status.
9411 * BufferView.C (fitCursor): return the bool flag also to the outside
9412 world as this is needed.
9414 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9416 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9417 call the edit() as it is not needed (and wrong) IMO.
9418 (workAreaButtonPress): set the screen_first variable before evt.
9419 unlock the inset as this may change screen_first and then we have
9420 a wrong y position for the click!
9422 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9424 * MenuBackend.C (expand): another translation that I missed
9426 2002-03-28 Juergen Vigna <jug@sad.it>
9428 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9430 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9432 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9434 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9436 * MenuBackend.C (expand): fix export/view/update when there is no
9439 2002-03-27 Herbert Voss <voss@lyx.org>
9441 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9444 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9446 * bufferview_funcs.C (currentState): only show paragraph number
9447 for is DEVEL_VERSION is set.
9449 * lyxfunc.C (dispatch): put warning in INFO channel
9451 * MenuBackend.C (expand): translate the name of floats
9453 * FloatList.C (FloatList): mark the float names for translation
9455 * converter.C (convert): use LibScriptSearch
9457 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9459 * MenuBackend.C (defaults): fix default menu (we might as well get
9462 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9464 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9467 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9469 * lyxvc.C: reorder includes.
9471 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9473 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9476 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9478 * CutAndPaste.C: change layouts earlier on paste
9479 to avoid crashing when calling getFont()
9481 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9483 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9486 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9488 * WorkArea.C: remove 'Pending' debug message.
9490 * most files: ws cleanup
9492 * buffer.[Ch]: ws changes
9494 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9496 2002-03-21 Juergen Vigna <jug@sad.it>
9498 * tabular.C (SetMultiColumn): collapse also the contents of the
9499 cells and set the last border right. Added a Buffer const * param.
9501 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9503 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9506 2002-03-19 Juergen Vigna <jug@sad.it>
9508 * text2.C (clearSelection): reset also xsel_cache.
9510 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9511 where it needs to be called (John tells us to do so too :)
9512 (selectionLost): reset sel_cache.
9514 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9516 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9518 * text2.C (setCursorIntern): put debuging code in INSETS channel
9520 2002-03-19 André Pönitz <poenitz@gmx.net>
9522 * lyxfunc.C: tiny whitespace change
9524 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9526 * ToolbarDefaults.C (init):
9527 * LyXAction.C (init):
9529 * BufferView_pimpl.C (Dispatch):
9530 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9532 2002-03-19 Allan Rae <rae@lyx.org>
9534 * exporter.C (Export): removeAutoInsets before doing anything else.
9535 While I've just introduced a dependency on BufferView this really is
9536 the best place to clean the buffer otherwise you need to cleanup in
9537 a dozen places before calling export or cleanup in a dozen functions
9540 * converter.C (runLaTeX):
9541 (scanLog): Better handling of removeAutoInsets and screen updates.
9543 * lyxfunc.C (dispatch): small whitespace changes
9545 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9547 * WorkArea.C (C_WorkAreaEvent): return a value.
9548 (event_cb): return 1 if we handled the event, 0 otherwise.
9550 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9552 2002-03-18 Juergen Vigna <jug@sad.it>
9554 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9555 (GetAdditionalWidth): ditto.
9559 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9560 inset if we're there actually (probably not used right now but this
9561 is the direction to go for unifying code).
9562 (paste): disable code to clear the selection.
9564 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9565 inside an InsetText and move the check further up as it is in the
9568 * text2.C (pasteSelection): set a selection over the pasted text.
9570 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9572 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9573 and libgraphics to build on Cygwin.
9575 2002-03-15 Juergen Vigna <jug@sad.it>
9577 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9578 inserting an Inset into the paragraph. I know this is not the best
9579 fix but we already use current_view in CutAndPaste so we will remove
9580 all of it's using at the same time.
9582 * buffer.C (sgmlError): deactivated function till it is rewritten in
9583 the right mode, now it can create problems.
9585 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9586 before accessing it.
9588 2002-03-14 Juergen Vigna <jug@sad.it>
9590 * undo_funcs.C (textHandleUndo): do the right thing when updating
9591 the inset after the undo/redo.
9593 * text2.C (setCursor): just some testcode for #44 not ready yet.
9595 * undo_funcs.C (textHandleUndo): set the next() and previous()
9596 pointers of the paragraph to 0 before deleting otherwise we have
9597 problems with the Paragraph::[destructor].
9599 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9600 on a paragraph insertion.
9602 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9604 * buffer.C (asciiParagraph): use += operator for char append to
9607 * paragraph.C (getFontSettings): compare >= not just >
9608 (highestFontInRange): ditto
9611 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9613 * paragraph.C: change several algorithm to be more appripriate for
9614 the problem domain. This is lookip in FontList and in the InsetList.
9616 2002-03-13 André Pönitz <poenitz@gmx.net>
9619 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9621 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9626 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9628 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9630 * Painter.C (display): anon helper function, adjust code for this
9632 (pixmap): remove function.
9634 * Painter.h: remove private display variable.
9636 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9638 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9640 * WorkArea.[Ch]: remove figinset_canvas cruft.
9642 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9644 * lyxtextclass.C (operator): add one item cache optimization.
9646 * bufferlist.h: doxy changes
9648 * bufferlist.C: ws changes
9650 * DepTable.[Ch] (ext_exist): place const in the right spot.
9652 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9654 (workAreaExpose): call resizeInsets when the with BufferView changes.
9655 (Dispatch): adjust for protectedBlank removal
9656 (specialChar): call updateInset if the insert went ok.
9658 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9659 specialChar instead.
9661 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9663 * BufferView.h: doxy change
9665 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9667 * lyxtextclass.C (operator[]): remove non-const version
9668 (defaultLayout): remove non-const version
9670 2002-03-12 Juergen Vigna <jug@sad.it>
9672 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9673 did resize the LyXText too.
9675 * buffer.C (readLyXformat2): set layout information on newly allocated
9678 * tabular.C (OldFormatRead): set layout information on the paragraph.
9680 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9682 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9684 2002-03-11 Juergen Vigna <jug@sad.it>
9686 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9688 (resizeCurrentBuffer): force also the insets to resize themselfes.
9689 (moveCursorUpdate): fixed up for InsetText.
9691 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9694 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9695 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9696 value of Dialogs::tooltipsEnabled().
9697 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9699 2002-03-08 Juergen Vigna <jug@sad.it>
9701 * BufferView_pimpl.C (updateInset): update inset inside inset also
9702 if it isn't inside theLockingInset().
9704 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9706 * buffer.C (asciiParagraph): redo some of the word and line length
9708 (getLists): look for Caption instead of caption.
9710 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9712 * buffer.C (Buffer): initialize niceFile to true
9715 (makeDocBookFile): make sure niceFile is true on exit
9717 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9719 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9721 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9723 * LyXSendto.C: remove.
9724 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9725 * lyx_gui.C: remove now-redundant comment.
9726 * ColorHandler.h: remove forward declaration of class WorkArea.
9727 * lyxfunc.C: remove #include "WorkArea.h".
9729 2002-03-07 Juergen Vigna <jug@sad.it>
9731 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9732 got moved away with the DEPM and also set the inset_owner always
9733 right which before could have been omitted.
9735 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9737 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9738 wanted layout is not found.
9740 2002-03-07 Juergen Vigna <jug@sad.it>
9742 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9744 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9746 * paragraph.C (breakParagraph): use default layout not layout of
9748 (Paragraph): clear ParagraphParameters.
9750 2002-03-06 Juergen Vigna <jug@sad.it>
9752 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9753 otherwise it would not be a valid lenght. Fixed a special case in
9754 the minipage compatibility read where we end the document with a
9757 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9758 was set as it could be 0 for InsetTexts first entry.
9760 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9762 * paragraph.C (writeFile): if layout is empty write out
9763 defaultLayoutName().
9765 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9766 file without named layout we set layout to defaultLayoutName().
9768 2002-03-06 Juergen Vigna <jug@sad.it>
9770 * CutAndPaste.C (copySelection): set layout for new paragraph.
9772 * text.C (prepareToPrint): leave ERT inset left aligned
9773 (leftMargin): don't indent paragraphs inside ERT insets
9775 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9777 * paragraph.C (breakParagraph): dont call clear do the work manually
9779 * paragraph.[Ch] (clear): remove function
9781 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9783 * paragraph.C (Paragraph): dont call clear, the work has already
9786 * lyxtextclass.C (operator): assert if n is empty
9788 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9789 work manually instead.
9791 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9793 * BufferView_pimpl.C: protect selectionLost against text == 0
9795 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9797 * text.C (breakParagraph): fix a setting layout to '0' problem.
9799 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9801 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9802 final location of file, for the included files, and graphics.
9804 2002-03-05 Juergen Vigna <jug@sad.it>
9806 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9808 2002-03-04 Juergen Vigna <jug@sad.it>
9810 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9812 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9813 last column of multicolumn cells.
9814 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9816 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9818 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9819 file if it doesn't go to a temporary file.
9821 * buffer.C (sgmlOpenTag):
9822 (sgmlCloseTag): remove extra newline insertion.
9824 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9826 * text.C (getRowNearY): comment out debug msg
9828 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9830 * text2.C: first -> first_y
9832 * text.C (getRowNearY): add some attemts at a possible
9833 optimization, not working.
9835 * tabular.[Ch]: add BufferParams to several function so that newly
9836 created paragraph can be initialized to he default layotu for the
9839 * tabular-old.C (ReadOld): add buf->params to call of Init
9841 * screen.C: rename text->first to text->first_y
9843 * paragraph.C (breakParagraph): always set layout in the broken
9846 * lyxtextclass.C (Read): remove lowercase
9849 (delete_layout): ditto
9851 * lyxtext.h: rename first -> first_y
9853 * lyxlayout.C (Read): remove lowercase
9856 (obsoleted_by): ditto
9858 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9860 * buffer.C (insertErtContents): add params are to InsetERT
9861 (parseSingleLyXformat2Token): add code to check if a paragraphs
9862 layout really exist.
9863 (parseSingleLyXformat2Token): add params to several inset
9865 (asciiParagraph): remove lowercase, do the layout comparisons with
9868 * BufferView_pimpl.C (cursorNext): first -> first_y
9869 (resizeCurrentBuffer): first -> first_y
9870 (updateScrollbar): first -> first_y
9871 (scrollCB): first -> first_y
9872 (workAreaMotionNotify): first -> first_y
9873 (workAreaButtonPress): first -> first_y
9874 (checkInsetHit): first -> first_y
9875 (cursorPrevious): first -> first_y
9876 (cursorNext): first -> first_y
9877 (Dispatch): add buffer_->params to severl inset contructors
9879 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9881 * lyxlayout.C (Read): remove some debug info that I forgot.
9883 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9884 clean up the code slightly.
9885 (makeLinuxDocFile): ditto
9886 (makeDocBookFile): ditto
9888 * text2.C: layout as string
9890 * text.C: layout as string
9892 * paragraph_pimpl.C: layout as string
9894 * paragraph.[Ch]: layout as string
9896 * lyxtextclasslist.[Ch]: layout as string
9898 * lyxtextclass.[Ch]: layout as string
9900 * lyxtext.h: layout as string
9902 * lyxlayout.[Ch]: layout as string
9904 * lyx_cb.C: layout as string
9906 * bufferview_funcs.C: layout as string
9908 * bufferparams.C: layout as string
9910 * buffer.C: layout as string
9912 * LyXView.[Ch]: layout as string
9914 * LaTeXFeatures.[Ch]: layout as string
9916 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9918 * BufferView_pimpl.C: change current_layout to string, remove
9923 (workAreaButtonRelease): layout as string
9925 * BufferView2.C (unlockInset): adjust
9927 * vspace.C (asLatexCommand): use an explict temp variable.
9929 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9931 * Makefile.am: use FRONTEND_*
9933 2002-03-01 Juergen Vigna <jug@sad.it>
9935 * tabular.C (SetWidthOfMulticolCell): changed to something better
9936 I hope but still work in progress.
9937 (recalculateMulticolumnsOfColumn): renamed function from
9938 recalculateMulticolCells as it is more appropriate now.
9939 (SetWidthOfCell): calculate multicols better.
9941 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9943 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9945 * lyxfunc.C (processKeySym): print sequence also if it is
9946 `deleted' (complete)
9948 * kbsequence.C (print): print sequence even if it is deleted
9949 (complete would be a better word, actually).
9951 * lyxfunc.C (dispatch): print complete options after a prefix key
9953 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9955 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9957 * text2.C (setCharFont): eliminate setCharFont code duplication.
9959 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9961 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9962 LFUN_TABULAR_FEATURE (bug #177)
9964 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9966 * Makefile.am: remove figure.h
9968 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9970 * Bufferview_pimpl.C:
9982 * text2.C: remove #include "lyx_gui_misc.h".
9984 * LaTeX.C: added #include <cstdio>
9986 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9988 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9989 that the paragraph following this one can have.
9991 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9993 * vspace.C (asLatexCommand): fix bogus gcc warning
9995 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9997 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9999 * text2.C (setLayout): get rid of redundant code
10001 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10003 * text2.C (incDepth): make sure depth cannot be increased beyond
10006 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10008 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10009 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10011 * PainterBase.h (image):
10012 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10013 a LyXImage const *.
10015 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10019 * BufferView_pimpl.C:
10020 * BufferView_pimpl.h:
10040 * sp_spell.C: remove fig inset, and the crap house of
10041 cards that follows it
10043 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10048 * os2_errortable.h:
10049 * nt_defines.h: move .h into support/
10051 * vms_defines.h: remove
10053 * WorkArea.C: add space in debug output
10057 * buffer.C: add WITH_WARNINGS
10061 * bufferlist.C: s/retrive/retrieve/, add docs
10070 * chset.C: add docs
10072 * lyxgui.C: add ID to X error handler
10074 * lyxtestclass.c: fix typo
10076 2002-02-26 Juergen Vigna <jug@sad.it>
10078 * tabular_funcs.C (write_attribute): changed so that some default
10079 attributes are not written at all.
10080 (getTokenValue): set default values before trying to read the
10081 value so we have the return value always set as default if we don't
10082 find the token we search for.
10084 * tabular.C (Write): write bools as bools not as strings!
10086 2002-02-22 Juergen Vigna <jug@sad.it>
10088 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10089 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10091 * text.C (leftMargin): don't add an indent for paragraphs inside
10092 tabular cells (fix #208).
10094 2002-02-21 José Matos <jamatos@fep.up.pt>
10096 * tabular.C (docBook): fixed support for long tables.
10098 2002-02-20 Juergen Vigna <jug@sad.it>
10100 * text2.C (getFont): get the drawing font of the Inset if this
10101 paragraph is inside an inset (only important for InsetERT for now).
10103 * buffer.C (insertErtContents): use new lanugage params in ERT
10106 * CutAndPaste.C: commenting out seemingly uneeded code.
10108 2002-02-19 Allan Rae <rae@lyx.org>
10110 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10111 Iterators might be simple to use but they also get invalidated.
10112 (removeAutoInsets): renamed saved cursor tracking variables and added
10113 some comments to clarify what everything does.
10115 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10122 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10123 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10126 * vc-backend.h: remove #include "support/syscall.h"
10130 * converter.C: rearrange #includes in Lars' approved fashion.
10132 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10133 forward declare class Timeout in the header file.
10135 * XFormsView.C: changes due to the above.
10137 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10138 similar to LyXView.
10140 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10141 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10143 2002-02-18 José Matos <jamatos@fep.up.pt>
10145 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10148 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10150 * a lot of small ws changes
10151 * add a lot of using std::XXX
10152 * use std construcs some places where approp.
10153 * use some exisint stuff from lyxfunctional where approp.
10154 * Make file changes to use partial linking (lets test this now...)
10156 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10160 remove #include "support/syscontr.h" as it's redundant. Always has been.
10168 change Systemcalls::System to Systemcalls::Wait and
10169 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10170 No change of functionality, just reflects the stripped down Systemcalls
10173 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10175 * debug.[Ch]: add a GRAPHICS type to the enum.
10177 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10179 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10181 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10184 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10186 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10187 match the changes below.
10189 * text2.C (toggleInset): if there is not editable inset at cursor
10190 position, try to see if cursor is _inside_ a collapsable inset
10193 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10195 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10196 document menu has a nice checkbox
10198 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10200 * lyxlength.C (asLatexString): change PW to output as percent of
10203 * lengthcommon.C: change '%' to 't%'
10205 * lyxfunc.C (dispatch): a few comments from Martin
10207 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10211 * BufferView_pimpl.h:
10212 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10215 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10217 * vspace.C (inPixels): fix compiler warning
10219 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10221 * lyxfunc.C (getStatus): fix status message for disabled commands.
10223 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10225 * BufferView_pimpl.C: fix crash on close buffer
10226 during selection (#227)
10228 2002-01-27 Herbert Voss <voss@lyx.org>
10230 * buffer.C: link old Figure to new graphic inset
10232 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10234 * FontLoader.C (getFontinfo): Change the latex font names in order
10235 to match the names of type1inst.
10237 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10239 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10241 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10242 (extchanged): ditto
10244 (remove_files_with_extension): ditto
10245 (remove_file): ditto
10248 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10249 document is smaller than the work area height. Do not initialize
10250 static variables to 0.
10252 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10254 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10256 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10257 LFUN_LAYOUT_PARAGRAPHS.
10259 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10260 tabular. It is possible to provide a possible cell, which will
10261 typically be the actcell from the corresponding insettabular
10263 * lyxfunc.C (getStatus): small cleanup; disable
10264 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10267 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10269 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10271 * paragraph.C (startTeXParParams):
10272 (endTeXParParams): new methods. The LaTeX code to
10273 start/end paragraph formatting
10274 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10275 empty (fixes bug #200)
10277 * vspace.C (inPixels): adapt to the change below
10278 (inPixels): [later] more cleanups (remove unused variables)
10280 * lyxlength.C (inPixels): change to use a width and a height as
10283 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10285 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10286 Replaced with \paperwidth
10288 * DepTable.C (insert): add std:: qualifier
10290 2002-01-18 Allan Rae <rae@lyx.org>
10292 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10295 * text.C (drawInset): Turned out I didn't know enough about how
10296 rebreaking worked. This fixes most of the redraw problems. I see
10297 an occasional cursor trail when a line is broken now and the cursor
10298 placement can seem out by a few pixels also after a rebreak.
10300 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10302 * buffer.C (parseSingleLyXformat2Token): update because minipage
10303 width is now a LyXLength
10305 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10307 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10310 2002-01-17 Juergen Vigna <jug@sad.it>
10312 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10314 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10315 is set correctly and the inset is updated correctly.
10317 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10319 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10320 the beginning of the loop.
10322 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10324 * lyxrc.C: improve help for use_scalable_fonts
10326 2002-01-17 Allan Rae <rae@lyx.org>
10328 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10330 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10332 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10333 make sure to set their inset_owner to the right value (bug #171)
10335 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10338 * DepTable.C: Implement mtime checking to reduce time spent doing
10341 2002-01-16 Juergen Vigna <jug@sad.it>
10343 * tabular.C (GetAdditionalHeight): one of error fixed.
10345 * lyxrc.C (output): small fix in writing use_pspell.
10347 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10349 * sp_base.h: #include LString.h
10351 2002-01-16 Allan Rae <rae@lyx.org>
10353 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10354 Can someone check this please?
10356 * text.C (drawInset): It was possible that p.row would be removed by
10357 breakAgainOneRow upsetting a few other settings. There may be another
10358 small tweak possible by setting need_break_row = 0 when p.row has been
10359 removed but I don't know enough about the logic here.
10361 2002-01-15 Allan Rae <rae@lyx.org>
10363 * text.C (insertChar): removed conditional truism.
10365 * BufferView2.C (removeAutoInsets): More tweaks.
10366 cur_par_prev could be a stray pointer. Check for trailing empty line
10367 in case last line was cur_par and only had an error inset on it.
10369 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10371 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10374 * vc-backend.C (most methods):
10375 * exporter.C (Export):
10376 * converter.C (convert):
10378 * LyXSendto.C (SendtoApplyCB):
10379 * lyxfunc.C (dispatch):
10383 * lyx_cb.C (AutoSave):
10385 * BufferView_pimpl.C (MenuInsertLyXFile):
10386 * buffer.C (runChktex): use Buffer::filePath().
10388 * buffer.h: rename filename to filename_; rename filepath to
10389 filepath_ and make it private
10390 (filePath): new method
10392 * buffer.C (writeFile): use fileName()
10395 * lyx_main.C (init): fix starting of LyX when the binary is a
10396 link from so,ewhere else.
10398 * minibuffer.C: include <cctype> for isprint
10400 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10402 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10403 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10404 name clash with InsetCollapsable's width function.
10406 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10408 * lastfiles.C: include <iterator>
10410 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10412 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10415 * buffer.C (makeLaTeXFile): ditto.
10416 Also make loop operation more transparent.
10418 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10420 * ToolbarDefaults.C: remove trailing comma closing namespace.
10422 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10424 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10427 * trans.C (Load): comment out unused variable, allowed.
10429 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10431 * minibuffer.[Ch] (append_char): new method to recieve input from the
10432 drop-down completion browser. If a key was pressed, then recieve this
10433 char and append it to the existing string.
10434 (peek_event): modify the positioning data passed to the completion
10435 browser so that it can be placed above the minibuffer rather than below.
10436 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10438 * LyXAction.C (init): alloe error-next for readonly documents.
10440 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10443 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10445 * bufferlist.C (readFile): create the buffer _after_ checking that
10448 * lyxfunc.C (verboseDispatch): fix handling of arguments
10450 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10452 * lyxrc.C: use string::erase() instead of initializing to "".
10455 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10457 * BufferView_pimpl.h:
10458 * BufferView_pimpl.C:
10461 * text2.C: tell X when we have made a selection for copying
10463 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10465 * BufferView_pimpl.C (MenuInsertLyXFile):
10466 * lyxfunc.C (menuNew):
10468 (doImport): add shortcuts to directory buttons
10470 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10473 * lyxfunc.C (setStatusMessage):
10474 (getStatusMessage): new methods
10475 (getStatus):use setStatusMessage instead of setErrorMessage
10476 (dispatch): when function is disabled, set error message here
10477 [instead of in getStatus previously]
10479 * BufferView_pimpl.C (workAreaButtonRelease): update
10480 toolbar/menubar here too.
10482 2002-01-13 Allan Rae <rae@lyx.org>
10484 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10485 Now seems indestructible. Remaining task is to audit all other
10486 code affected by deleteEmptyParagraphMechanism. One small quirk
10487 left is that an empty document with an error in the preamble can
10488 be made to report an error but no error box appears. I don't know
10490 (removeAutoInsets): Improved comments.
10492 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10495 * Thesaurus.C: update for Aiksaurus 0.14
10497 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10499 * text2.C (firstParagraph): removed member function, all uses
10500 replaces with ownerParagraph
10501 (redoParagraphs): here
10502 (updateInset): here
10503 (toggleAppendix): here
10504 * BufferView2.C (insertErrors): here
10505 (setCursorFromRow): here
10507 2002-01-13 Allan Rae <rae@lyx.org>
10509 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10510 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10511 There is still a way to segfault this although you may have to do this
10512 multiple times: Have an InsetERT with an unknown command in it.
10513 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10514 <down-arrow>, <Enter> again, View->DVI, BANG!
10516 * text2.C (setCursor):
10517 (deleteEmptyParagraphMechanism):
10518 * lyxtext.h (setCursor):
10519 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10520 Making use of the return value may help fix other bugs.
10522 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10524 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10526 * LyXView.C (updateMenubar): call MenuBar::update here
10527 (updateToolbar): but not here
10528 (showState): do not update toolbar/menubar
10530 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10531 should need to care about that.
10533 * lyxfunc.C (verboseDispatch): simplify a bit
10534 (getStatus): have a version which takes a pseudoaction, and
10535 another which requires a (kb_action,string).
10537 * LyXAction.C (retrieveActionArg): make it work also when action
10538 is not a pseudo-action.
10539 (getActionName): simplify a bit
10542 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10544 * lyxfunc.C (verboseDispatch): new families of methods with
10545 several ways to specify a command and a bool to indicate whether
10546 the command name and shortcut should be displayed in minibuffer
10547 (eventually, we could extend that to a finer bitmask like
10548 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10549 (dispatch): the pristine dispatch command which just, well,
10550 dispatchs! Note it still sets its result to minibuffer; I'm not
10553 * lyxfunc.h: remove setHintMessage
10555 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10557 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10559 * BufferView_pimpl.C (specialChar): delete new inset if we have
10560 not been able to insert it.
10562 * kbmap.C: revert to using int instead of kb_action, since all we
10563 are dealing with is pseudo-actions.
10565 * LyXAction.C (searchActionArg): change to return int instead of
10566 kb_action, since the result is a pseudoaction.
10568 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10570 * buffer.C (insertErtContents): Fix (partially) the font bug.
10572 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10574 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10575 as the other one is broken on my machine!
10577 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10580 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10582 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10584 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10585 reflect their actual use. Provide compatibility code for older lyxrc
10588 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10590 change names of popup font variables in line with the changes to lyxrc.C
10592 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10594 * buffer.C (asciiParagraph): avoid outputing a word twice after
10597 * lyxrc.C (getDescription): document that document_path and
10598 template_path can be empty.
10600 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10602 * LaTeXFeatures.C (getMacros):
10603 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10605 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10607 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10609 (getPackages): rename feature "floats" to "float". Use an array to
10610 iterate over 'simple' features (i.e. just a \usepackage). Add
10611 handling of "amsmath" (renamed from "amsstyle").
10613 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10615 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10618 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10620 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10621 FuncStaus::FuncStatus & FuncStaus::some_method().
10623 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10625 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10626 of the func_satus stuff. Edited and massaged in various ways by
10629 * lyxfunc.C (getStatus): use FuncStatus
10631 2002-01-08 Juergen Vigna <jug@sad.it>
10633 * text.C (nextBreakPoint): use function Inset::isChar().
10635 * paragraph.C (TeXOnePar): use function
10636 Inset::forceDefaultParagraphs.
10638 * buffer.C (latexParagraphs): use function
10639 Inset::forceDefaultParagraphs.
10641 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10643 * lyx_gui.C (init): set the style of the menu popups to
10644 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10646 2002-01-07 Juergen Vigna <jug@sad.it>
10648 * text.C (setHeightOfRow): small fix
10649 (prepareToPrint): don't look at alignment if we don't have the place
10652 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10654 * box.C: New file. Move the Box methods and functions out of box.h,
10655 following Lars' suggestion.
10657 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10659 * box.h: #include "support/LOstream.h", needed for inlined function.
10662 * lyxtextclasslist.C: added some using std declarations.
10664 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10666 * box.h: make signed dimensions to allow insets wider than
10667 the screen (bug #162)
10669 * BufferView_pimpl.C: add some insetHit debug
10671 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10673 * vc-backend.C: add FIXME
10675 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10677 * lyxfunc.C (getStatus): enable code for showing math font status
10680 2002-01-07 Juergen Vigna <jug@sad.it>
10682 * text.C (nextBreakPoint): removed debug output not needed anymore.
10684 2002-01-06 Juergen Vigna <jug@sad.it>
10686 * text.C (nextBreakPoint): fixed up this function we had this bug
10687 since ever but now hopefully we break row better.
10688 (insertChar): we have to check if an inset is the next char as it
10689 could now happen that a large inset is causing a break.
10691 2002-01-05 Juergen Vigna <jug@sad.it>
10693 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10694 if it doesn't like to be drawed.
10696 2002-01-04 Juergen Vigna <jug@sad.it>
10698 * BufferView2.C (lockInset): forgot to set a cursor.
10700 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10702 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10704 * FormMathsPanel.C:
10707 * form_maths_panel.C:
10708 * form_maths_panel.h:
10709 * form_maths_panel.fd: implemented sub- and super- buttons in math
10712 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10713 (or ^ space) to be used as in TeX (req'd by André).
10715 * lyxfunc.C: Allow ^ and _ again to be used both as
10716 super/subscript (mathed) and as themselves (in text).
10718 2002-01-03 Allan Rae <rae@lyx.org>
10720 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10721 "LyX" or the filename of the current buffer if it has one. This is a
10722 modified form of John Levon's patch.
10724 * XFormsView.C (setWindowTitle): also set icon title.
10726 * LyXView.h (setWindowTitle): signature changed.
10727 * XFormsView.h (setWindowTitle): ditto.
10729 2002-01-02 Juergen Vigna <jug@sad.it>
10731 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10733 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10735 * screen.C (topCursorVisible): introduce a temp var for
10736 text->cursor.row(), handle the case where this row is null. (kindo
10739 * text2.C (setCursor): add a couple of asserts.
10741 * paragraph.h (inset_iterator): add -> operator
10743 * paragraph.[Ch] (autoDeleteInsets): remove member function
10745 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10746 cursor pos correctly and handle inset deletion by itself.
10747 (insertErrors): move iterator declaration out of for expression
10749 * lyxtextclass.C: add <algorithm>
10751 * Makefile.am: added the new files to sources, removed layout.C
10753 * layout.C: removed file
10755 * layout.h: remove LYX_DUMMY_LAYOUT
10757 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10761 * lyxtextclass.[Ch]:
10762 * lyxtextclasslist.[Ch]: new files
10764 * include order changes to a lot of files, also changes because of
10767 2001-12-27 Juergen Vigna <jug@sad.it>
10769 * buffer.C (asciiParagraph): more fixes.
10771 * tabular.C (ascii): make ascii export support export of only the
10772 data separated by a column-delimiter.
10773 (ascii): better support for ascii export.
10775 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10777 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10779 * tabular_funcs.C: use a "using std::getline" instead of the
10780 previous fix from Angus (necessary for cxx + lyxstring)
10782 2001-12-24 Juergen Vigna <jug@sad.it>
10784 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10786 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10787 problems. First check a minipage also if we have some ert-contents
10788 (not only on par->size(), second set the right depth of the paragraph
10789 on the relink to the root-paragraph-list!
10791 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10792 which then did not anymore update the main paragraphs on undo/redo!
10794 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10796 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10797 code. Support all font-changing funcs (even those which are not in
10798 menu currently). Support for reporting font settings in
10799 mathed (disabled until Andre provides a function on mathed's side).
10801 * func_status.h (toggle): small helper function to set toggle
10804 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10806 * tabular_funcs.C: getline -> std::getline
10808 2001-12-21 Juergen Vigna <jug@sad.it>
10810 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10811 accessed and could be 0 (I couldn't generate this but it seems
10814 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10816 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10817 * tabular_funcs.h: here and include iosfwd
10819 2001-12-20 Juergen Vigna <jug@sad.it>
10821 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10822 inside inset but undo_par was.
10824 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10826 * Thesaurus.C: always include <config.h> in sources.
10830 * box.h: do not include <config.h> in header files
10832 * text.C (paintLastRow): remove unused variable
10834 * text.C (transformChar):
10836 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10838 * Painter.C (text):
10839 * font.C (width): rewrite to use uppercase() instead of
10842 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10844 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10846 * lyxfind.C: clean up of find failure position change
10848 2001-12-20 Juergen Vigna <jug@sad.it>
10850 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10852 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10853 (TeXRow): added to LaTeX a single tabular row.
10854 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10855 (Latex): simplified and finally good LT-h/f support.
10856 (various_functions): just small adaptions for LT-h/f support.
10858 * tabular_funcs.[hC]: added and moved here all not classfunctions
10861 2001-12-19 Juergen Vigna <jug@sad.it>
10863 * tabular.[Ch]: better support for longtabular options (not finished
10866 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10868 * text.C (paintLastRow): use the label font instead of the font of
10869 the last character to compute the size of *_BOX. This makes more
10870 sense and avoids a crash with empty paragraphs.
10871 Use Painter::rectangle to draw EMPTY_BOX.
10873 2001-12-19 Juergen Vigna <jug@sad.it>
10875 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10876 the paragraphs if the replaced paragraph is not the first one!
10877 Tried to delete not used paragraphs but does not work yet so for
10878 now it's inside #ifdef's and by default off!
10880 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10882 * MenuBackend.C: include "lyx_main.h" instead of declaring
10883 lastfiles (actually was declared as LastFiles* instead of a
10886 2001-12-17 Juergen Vigna <jug@sad.it>
10888 * tabular.C (AppendColumn): applied John's fix
10890 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10894 * BufferView_pimpl.h:
10895 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10898 * box.h: new start of class for above
10900 * lyxfunc.C: ignore space-only minibuffer dispatches.
10901 Show the command name when it doesn't exist
10903 * minibuffer.C: don't add empty lines to the history
10905 * minibuffer.C: add a space on dropdown completion
10907 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10909 * text.C: fix line above/below drawing in insets
10911 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10913 * lyxlength.C (LyXLength): Initialize private variables.
10915 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10917 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10918 when inserting error insets.
10920 2001-12-13 Juergen Vigna <jug@sad.it>
10922 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10923 actually sometimes the before-paragraph.
10924 (setUndo): don't clear the redostack if we're not actually undoing!
10926 2001-12-06 Juergen Vigna <jug@sad.it>
10928 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10929 and fixed redoing of main paragraph, so we can use it now ;)
10931 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10933 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10935 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10938 2001-12-13 André Pönitz <poenitz@gmx.net>
10941 * undo_func.C: minor cleanup
10943 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10945 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10946 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10947 font in urw-fonts package which is marked as -urw-fontspecific and
10948 does not work (incidentally, changing the encoding in the
10949 fonts.dir of this package to -adobe-fontspecific fixes the
10952 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10953 is a crash when undoing first paragraph (Juergen, please take a
10954 look). THis does not mean the undo fix is wrong, just that it
10957 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10958 the (Paragraph*) version when needed instead of duplicating the
10961 * text.C (workWidth): use Inset::parOwner to find out where the
10962 inset has been inserted. This is a huge performance gain for large
10963 documents with lots of insets. If Inset::parOwner is not set, fall
10964 back on the brute force method
10966 * paragraph_pimpl.C (insertInset):
10967 * paragraph.C (Paragraph):
10968 (cutIntoMinibuffer): set parOwner of insets when
10969 inserting/removing them
10971 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10973 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10979 * mathed/formulabase.C:
10980 * mathed/math_cursor.[Ch]:
10981 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10984 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10986 * lyxlength.[Ch] (operator!=): new function
10988 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10990 * text.C (workWidth): use Inset::parOwner to find out where the
10991 inset has been inserted. This is a huge performance gain for large
10992 documents with lots of insets. If Inset::parOwner is not set, fall
10993 back on the brute force method
10995 * paragraph_pimpl.C (insertInset):
10996 * paragraph.C (Paragraph):
10997 (cutIntoMinibuffer): set parOwner of insets when
10998 inserting/removing them
11000 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11002 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11004 * tabular-old.C (getTokenValue):
11005 * tabular.C (getTokenValue):
11006 (write_attribute): new versions for LyXLength
11007 (everywhere): adjust the use of widths
11009 * tabular.h: change the type of widths from string to LyXLength
11011 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11013 * paragraph.C: fixed missing line number count when exporting
11014 Environments to LaTeX file
11016 * buffer.C: added informational message for checking line numbers.
11018 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11020 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11021 paragraph, do the 'double space' part, but not the 'empty
11024 * text.C (workWidth): small optimization
11025 (getLengthMarkerHeight): use minimal size for negative lengths.
11027 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11029 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11031 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11033 2001-12-11 André Pönitz <poenitz@gmx.net>
11036 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11038 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11040 * text2.C: keep selection on a setFont()
11042 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11044 * lyx_cb.C: another bv->text misuse, from insert label
11046 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11049 * kbsequence.C: re-instate nmodifier mask
11051 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11053 * lyx_main.h: make lyxGUI private.
11055 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11057 * lyxfind.C: place the cursor correctly on failed search
11059 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11061 * text.C (getLengthMarkerHeight): for small heights, the arrows
11062 are not always on top/bottom of the text
11063 (drawLengthMarker): smaller arrows; take the left margin in
11064 account; draw also vfills.
11066 (paintLastRow): remove special code for vfill and standard spaces,
11067 since everything is handled in drawLengthMarker now.
11069 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11071 * buffer.C (insertErtContents): try to handle font and language
11072 interaction a bit better.g
11074 * ColorHandler.C (updateColor): change the hash to cover the whole
11075 LColor enum, ws cleanup
11076 (getGCLinepars): ditto
11077 (getGCLinepars): only lookup in the linecache once.
11079 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11081 * iterators.C (operator++): Make the iterator more robust
11083 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11085 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11087 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11090 * text.C: better added space drawing
11092 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11095 * BufferView2.C: fix layout combo update on inset unlock
11097 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11099 * Makefile.am: don't compile unused files
11101 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11105 * LyXAction.C: remove old LFUN_LAYOUTNO
11107 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11109 * paragraph_pimpl.h:
11110 * paragraph_pimpl.C: isTextAt() doesn't need font param
11112 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11115 * lyxlex.C: little cleanup
11117 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11119 * BufferView_pimpl.C: fix insertAscii for insets
11121 2001-12-05 Juergen Vigna <jug@sad.it>
11123 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11124 set the right font on the "multi" paragraph paste!
11126 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11132 * lyxlength.C: remove out-commented code.
11134 * BufferView_pimpl:
11148 * vc-backend.C: change "while(" to "while ("
11150 * lyxlength.[Ch]: add zero function to check if length is zero or
11152 * lyxgluelength.C: use it
11154 2001-12-05 Allan Rae <rae@lyx.org>
11156 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11157 Works for 2.95.3, from what I understand of Garst's reports this should
11158 work for other g++ versions. We're screwed if the abs(int) definition
11159 changed between bugfix releases of gcc.
11161 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11163 * text.C: fix chapter label offset !
11165 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11168 * text.C: fix hfill at end of line, clean up
11170 2001-12-04 Juergen Vigna <jug@sad.it>
11172 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11173 that we force an update of the inset and it's owners if neccessary.
11175 2001-12-03 Juergen Vigna <jug@sad.it>
11177 * text.C (rowLast): simplified code
11179 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11181 * lyxfunc.C: fix show options on timeout
11183 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11185 * screen.C (topCursorVisible): scroll half a page when the cursor
11186 reached top of bottom of screen
11188 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11190 * minibuffer.C: deactivate on loss of focus
11192 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11194 * vspace.[Ch] (operator!=): add operator.
11196 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11198 * BufferView_pimpl.C: refuse to open an inset when
11199 there's a selection.
11201 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11203 * BufferView_pimpl.C: allow to click on RHS of full row insets
11205 2001-11-30 Juergen Vigna <jug@sad.it>
11207 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11208 insets for undo reasons.
11210 2001-11-28 André Pönitz <poenitz@gmx.net>
11212 * vspace.[Ch]: cosmetical changes
11214 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11224 * kbsequence.C: part re-write of old kb code
11227 * WorkArea.C: remove Lgb_bug_find_hack
11229 2001-11-30 José Matos <jamatos@fep.up.pt>
11231 * buffer.C (makeDocBookFile): add a comment to point a hack.
11232 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11233 Fixed a double write of labels.
11235 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11238 * LaTeX.h Fixed bug in LaTeX class where it would not
11239 re-run latex if no depfiles were changed, but the .dvi was removed.
11241 2001-11-28 André Pönitz <poenitz@gmx.net>
11243 * all the files from the change on 2001/11/26:
11244 use lyx::layout_type instead of LyXTextClass::size_type
11245 use lyx::textclass_type instead of LyXTextClassList::size_type
11247 2001-11-29 Juergen Vigna <jug@sad.it>
11249 * text.C: added support for paragraph::isFreeSpacing()
11251 * buffer.C: same as above
11253 * paragraph.h: inserted isFreeSpacing() function to enable
11254 FreeSpacing inside InsetERT.
11256 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11257 of the paragraph's in the cut/copy buffer to 0!
11259 * text2.C (removeRow): remove the assert as it can!
11261 * lyxtext.h: added helper function firstRow returning firstrow and
11262 made firstrow private again.
11264 * BufferView2.C (lockInset): don't relock if we're already locked!
11266 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11267 the only paragraph.
11268 (removeRow): added Assert::(firstrow)
11270 * debug.C: forgot to add INSETTEXT here.
11272 2001-11-28 Juergen Vigna <jug@sad.it>
11274 * sp_spell.C (initialize): changed error text to more general
11275 spellchecker command use (not only ispell!)
11277 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11279 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11281 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11283 * vspace.C: initialise lyxgluelength on failure
11285 2001-11-28 Allan Rae <rae@lyx.org>
11287 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11288 declaration & definition that looks like a function declaration.
11290 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11292 * BufferView2.C (copy):
11293 (copyEnvironment): do not clear the selection when doing a copy.
11295 * text.C (paintFirstRow): compilation fix
11297 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11299 * tabular.C (Latex): correct line count when writing latex.
11301 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11303 * paragraph_pimpl.h:
11304 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11307 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11311 * LColor.C: change vfillline->added_space
11313 * text.C: add markers and text for added space
11315 * vspace.C: fix comment
11317 2001-11-28 André Pönitz <poenitz@gmx.net>
11319 * paragraph.C: whitespace changes
11320 * all the other files from the change on 2001/11/26:
11321 change *::pos_type into lyx::pos_type
11323 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11325 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11326 language of the document when inserting error insets.
11328 2001-11-26 André Pönitz <poenitz@gmx.net>
11330 * BufferView_pimpl.[Ch]:
11338 * paragraph_pimpl.[Ch]:
11341 * text2.C: reduce header dependencies, introduce type for positions
11343 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11345 * <various>: change to use Alert.h
11347 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11349 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11350 when encountering an unknown token.
11351 (readLyXformat2): Show an error message if there were unknown tokens.
11353 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11356 * BufferView_pimpl.C:
11360 * text2.C: use par->isInset()
11362 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11364 * paragraph_pimpl.h:
11365 * paragraph_pimpl.C: cleanup
11367 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11369 * text2.C (removeRow):
11370 * text.C (setHeightOfRow): remove useless (and costly) call to
11373 2001-11-20 Allan Rae <rae@lyx.org>
11375 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11376 Now need Inset*::checkInsertChar() to return true for appropriate
11377 cases so that the characters in the minibuffer will actually be
11380 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11382 * text.C: change the order of the includes.
11383 (workWidth): initialize it at once.
11384 (workWidth): make maxw unsigned
11385 (setHeightOfRow): remove unused variable (inset)
11386 (selectSelectedWord): remove unused variable (inset)
11387 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11389 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11391 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11392 server is not running.
11394 (closeConnection): add debug info when server is disabled.
11396 * ColorHandler.C (getGCForeground): send debug message to GUI
11399 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11401 * kbmap.C (bind): modify because return conventions of
11402 kb_sequence::parse have changed.
11404 * kbsequence.C (parse): only ignore spaces and not any stupid
11405 control character. This avoids tests like s[i] <= ' ', which are
11406 guaranteed to fail with 8bit characters and signed chars.
11407 Change return code to string::npos when there have been no error
11408 (0 was a bad idea when error is at first character)
11410 2001-11-14 José Matos <jamatos@fep.up.pt>
11413 * buffer.C (simpleDocBookOnePar): removed unused argument.
11415 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11417 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11418 insets which are part of a word. Paragraph::isLetter takes care of
11419 that now. Use Paragraph::isInset to identify insets.
11420 (selectSelectedWord): do not test for hyphenation break.
11422 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11423 that protected spaces are considered as spaces.
11425 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11428 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11431 * lyxserver.C: fix it. and small cleanup.
11433 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11435 * BufferView_pimpl.C: use inline helpers
11438 * LaTeXFeatures.C: fix typos
11441 * Spacing.C: move spacing_string into class
11443 * ToolbarDefaults.C: move stuff into namespace anon
11445 * layout.h: update enum
11447 * lyxfunc.C: use better debug
11449 * minibuffer.h: fix typo
11453 * WorkArea.C: add and use Debug::WORKAREA
11457 * text2.C: code re-organisation, inline helpers
11459 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11461 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11462 std::vector.empty().
11464 2001-11-09 Allan Rae <rae@lyx.org>
11466 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11467 '\n's after tables. Tabular and ERT inset work now makes this no
11470 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11473 * minibuffer.C: fix crash, improve drop-down completion
11475 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11478 * lyxserver.C: invalidate fd's when doing endPipe()
11480 2001-11-08 José Matos <jamatos@fep.up.pt>
11482 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11483 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11486 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11488 2001-11-07 José Matos <jamatos@fep.up.pt>
11491 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11494 * buffer.C (sgmlOpenTag):
11495 * buffer.C (sgmlCloseTag): removed debug info.
11497 * buffer.h (sgmlOpenTag):
11498 * buffer.h (sgmlCloseTag): made public.
11500 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11502 * buffer.C (saveParamsAsDefaults):
11503 * lyx_cb.C (MenuLayoutSave): remove
11505 * LyXAction.C (init):
11507 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11509 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11511 * buffer.C (setPaperStuff): removed from here...
11513 * bufferparams.C (setPaperStuff): ... and moved there.
11515 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11519 * XFormsView.C: add support for drop-down completion
11521 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11523 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11526 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11528 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11531 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11533 * lyx_main.C: change ref to known bugs
11535 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11537 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11538 to work around older babel problems.
11540 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11542 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11544 2001-10-24 Juergen Vigna <jug@sad.it>
11546 * tabular-old.C (ReadOld): below variable changes reflected.
11548 * tabular.[Ch]: added ltType struct for longtable header/footer
11549 defines and changed all instances where they are used. Added
11550 future support for double top/bottom rows.
11552 2001-10-24 José Matos <jamatos@fep.up.pt>
11554 * buffer.h (docbookHandleCaption):
11555 * buffer.C (docbookHandleCaption): removed unused function.
11556 (makeDocBookFile): moved docbook supported version to v4.1.
11558 2001-10-24 José Matos <jamatos@fep.up.pt>
11561 * tabular.C (docbookRow): new function to export docbook code of a row.
11562 (DocBook): now honors the longtable flags.
11564 2001-10-23 José Matos <jamatos@fep.up.pt>
11567 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11568 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11570 * buffer.C (makeLinuxDocFile):
11571 (makeDocBookFile): reworked the preamble, more clean, and with
11572 support for lyx defined entities. Changed the document declaration
11573 to be more XML friendly.
11575 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11576 if we need to output XML that should be done with a filter.
11578 2001-10-22 Juergen Vigna <jug@sad.it>
11580 * sp_pspell.h (class PSpell): add alive function needed in the
11581 controller to see if the spellchecker could be started.
11583 2001-10-22 Juergen Vigna <jug@sad.it>
11585 * buffer.C (insertStringAsLines): modify the font for inserting
11586 chars in certain conditions by calling checkInsertChar(font).
11588 2001-10-19 Juergen Vigna <jug@sad.it>
11590 * text.C (workWidth): use getRow instead of wrong algorithm.
11591 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11593 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11598 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11600 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11602 * text.C (workWidth): do not search for the exact row when
11603 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11604 optimization for big documents.
11606 2001-10-18 Juergen Vigna <jug@sad.it>
11608 * text.C (workWidth): new function with added Inset * parameter.
11610 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11612 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11614 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11615 change return type of getColumnNearX.
11618 * text.C (changeRegionCase): use uppercase/lowercase instead of
11621 (rightMargin): simplify code by factoring out the uses of
11626 (appendParagraph): use Paragraph::size_type
11628 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11630 * vspace.C (asLatexString): add a missing break
11632 2001-10-15 Herbert Voss <voss@perce.de>
11634 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11636 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11638 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11641 2001-10-10 André Pönitz <poenitz@gmx.net>
11643 * lyxfunc.C: removed greek_kb_flag.
11645 2001-10-10 Herbert Voss <voss@perce.de>
11647 * lyx_main.C: delete global string help_lyxdir.
11649 2001-10-09 Herbert Voss <voss@perce.de>
11651 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11653 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11655 * lyx_main.C: added global string help_lyxdir.
11657 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11659 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11661 * lyxrc.C (set_font_norm_type): support iso8859-4
11663 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11665 * LaTeX.C (deplog): add another regex for MikTeX
11667 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11669 * lyxrc.C (set_font_norm_type): support iso8859-3
11671 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11673 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11675 * LaTeXFeatures.C: remove special case of french and index
11677 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11678 before \begin{document}). This solves several incompatibilities.
11680 2001-10-03 Garst Reese <reese@isn.net>
11682 * lyx_cb.C: change CheckTex error msg.
11684 2001-10-03 José Matos <jamatos@fep.up.pt>
11686 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11688 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11690 * .cvsignore: update
11692 * lyx_main.C (commandLineVersionInfo): use new style version info.
11694 * buffer.C (writeFile):
11696 (makeLinuxDocFile):
11697 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11699 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11701 * version.h: update to use stuff in version.C
11703 * version.C.in: new file. Contains version information determined
11704 at compile time. This is a merging of version.h and
11707 2001-10-03 Juergen Vigna <jug@sad.it>
11709 * BufferView_pimpl.C (update): don't change "dirty" status in
11712 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11714 * WorkArea.C (c-tor): re-position version string slightly.
11716 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11718 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11719 revert to previous code.
11721 WorkArea.[Ch]: (show, destroySplash): methods removed.
11723 WorkArea.C: rework code so that it's an amalgam of the codes before and
11724 after the splash screen was moved to WorkArea.
11726 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11729 * vspace.C (inPixels):
11732 * buffer.C (insertStringAsLines):
11733 (asciiParagraph): fix types to be large enough
11735 * lyxlex_pimpl.h: change member status from short to int
11737 * layout.h: fix type of endlabeltype
11740 * kbsequence.C (parse): change return type to string::size_type
11742 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11745 * Bullet.C (bulletSize):
11746 (bulletEntry): do not use short ints as parameters
11748 * BufferView2.C (insertLyXFile): change a char to an int.
11750 * WorkArea.C (WorkArea): remove unneeded floats in computation
11752 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11754 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11756 * paragraph.C (asString): Do not ignore newline/hfill chars when
11757 copying to the clipboard.
11759 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11761 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11762 after a multi-line inset.
11764 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11766 * paragraph.C (validate): Set NeedLyXFootnoteCode
11768 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11770 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11771 and decrease-error to decrease.
11773 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11775 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11776 it more readable (should be equivalent)
11778 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11780 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11782 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11784 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11785 of a cursor (row, etc.) after a character has been deleted
11786 (deleteEmptyParagraphMechanism): call the method above on _all_
11787 cursors held by the LyXText when a double space has been
11790 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11792 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11794 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11796 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11797 background. Use greyOut() and the new show() methods to toggle between
11798 the foreground and background. Add code to remove the splash after
11799 its initial showing.
11801 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11802 (create_forms): no longer call Dialogs::showSplash.
11804 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11806 * .cvsignore: add version_info.h
11808 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11810 * version_info.h.in: new file
11812 * Makefile.am: add version_info.h.in
11814 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11815 version_info.h instead of VERSION_INFO
11817 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11819 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11820 The ERT inset now returns string().
11822 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11824 * lyxtext.h, text.C (selectNextWord): renamed as
11825 selectNextWordToSpellcheck.
11827 * text.C (selectNextWordToSpellcheck): Modified to not select
11828 words inside an ERT inset.
11830 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11832 * lyx_cb.C (MenuLayoutSave): change a bit the question
11834 * sp_base.h: include <sys/types.h>
11836 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11838 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11840 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11842 * several files: fix typos in user-visible strings
11844 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11846 * text2.C (pasteSelection): do not set the selection, since it
11847 will be cleared later. Actually, the intent was to fix the way the
11848 selection was set, but I figured rmoving the code was just as good.
11850 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11852 * FontLoader.C (available): Check if font is available without
11855 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11857 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11859 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11861 * lyxrc.[Ch]: added display_graphics variable and associated code.
11863 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11865 * bufferparams.C (hasClassDefaults): new method. Returns true if
11866 the buffer parameters correspond to known class defaults
11868 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11870 * XFormsView.C (show): set minimum size to the main window.
11872 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11874 * text2.C (copySelection):
11876 * lyxfind.C (LyXReplace):
11877 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11878 LyXText::selectionAsString.
11880 * paragraph.C (asString): add "label" argument to the second form
11882 * text2.C (selectionAsString): add "label" argument and pass it to
11883 Paragraph::asString.
11885 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11887 * lyx_main.C (commandLineHelp): remove version information
11889 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11891 * lyx_main.C: add -version commandline option
11893 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11895 * paragraph.h: make the optional constructor arg required instead.
11896 some modifications to other files because of this.
11898 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11900 * lyxserver.C (C_LyXComm_callback): make it static
11902 * lyx_main.C (error_handler): make it static
11904 * lyx_gui.C (LyX_XErrHandler): make it static
11906 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11908 * WorkArea.C: make the extern "C" methods static.
11910 * Makefile.am (lyx_LDADD): simplify
11912 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11914 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11915 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11917 * LyXAction.C (init):
11918 * lyxfunc.C (dispatch): associated code removal.
11920 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11922 * lyxfont.h (isSymbolFont): shut off warning
11924 * text.C (setHeightOfRow):
11925 (getVisibleRow): fix crash with empty paragraphs which have a
11928 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11930 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11933 2001-09-04 José Matos <jamatos@fep.up.pt>
11936 * tabular.C (docbook): rename docBook method to docbook.
11938 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11940 * Makefile.am: add dependencies to main.o.
11942 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11944 * FontLoader.C (available): Return false if !lyxrc.use_gui
11946 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11948 * FontInfo.C (query):
11949 * converter.C (view):
11950 * importer.C (Import):
11951 * exporter.C (Export): Can not -> cannot.
11953 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11955 * BufferView_pimpl.C: allow to create index inset even if
11958 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11960 * buffer.C (getLists): replace boost::tie code with an explicit pair
11961 as boost::tie can break some compilers.
11963 * iterators.h: Added a std:: declaration to the return type of
11966 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11968 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11971 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11973 * iterators.[Ch]: New files. Provide paragraph iterators.
11975 * buffer.C (changeLanguage): Use paragraph iterators.
11976 (isMultiLingual): ditto
11978 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11980 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11982 * FontLoader.C: Support for cmr font.
11984 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11986 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11987 (available): New method.
11989 * FontInfo.C (getFontname): Use scalable fonts even when
11990 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11993 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11995 * converter.C (Formats::view): reverted! Incorrect fix.
11997 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11999 * converter.C (Formats::view): only output the -paper option
12000 if the dvi viewer is xdvi, thereby fixing bug #233429.
12002 2001-08-23 Herbert Voss <voss@perce>
12004 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12006 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12008 * Spacing.h (Spacing): Set space to Default on in the default
12011 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12013 * vc-backend.h (RCS::versionString): add RCS to version
12014 (CVS::versionString): add CVS to version
12016 * vc-backend.C (scanMaster): do not add CVS to version.
12017 (scanMaster): do not add RCS to version
12019 * lyxvc.C (versionString): new method
12021 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12023 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12025 * Spacing.C (set): initialize fval
12027 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12029 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12032 2001-08-16 Juergen Vigna <jug@sad.it>
12034 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12036 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12038 * BufferView_pimpl.C:
12041 * text2.C: setParagraph takes linespacing now
12043 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12045 * LyxAction.C: add internal LFUN_CITATION_INSERT
12047 * LyXView.C: actually apply fix
12049 * bufferlist.C: fix open non-existent file
12051 * lyxfind.C: fix indentation
12053 * lyxfunc.C: remove unneeded assert, fix typo
12055 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12057 * MenuBackend.C: use "Floatname List"
12059 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12061 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12062 when converting LaTeX layout to insetERT.
12063 Generate a non-collapsed float when reading old float
12065 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12067 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12070 2001-08-13 Juergen Vigna <jug@sad.it>
12072 * text.C (fill): return 0 instead of 20 as this seems to be the more
12075 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12077 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12080 2001-08-13 Juergen Vigna <jug@sad.it>
12082 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12084 (SearchBackward): comment out the unlocking of the inset_owner this
12085 should not be needed!
12087 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12089 * Many files: Remove inherit_language, and add latex_language
12091 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12092 collapsible insets.
12094 2001-08-10 Juergen Vigna <jug@sad.it>
12096 * text.C (prepareToPrint): fixed hfill-width in draw!
12098 * BufferView2.C (selectLastWord): save the selection cursor as this
12099 now is cleared in the function LyXText::clearSelection!
12101 2001-08-08 Juergen Vigna <jug@sad.it>
12103 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12104 BACKSPACE type functions.
12106 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12107 is only cutted from the document but not put in the cut-buffer, where
12108 still the old stuff should be.
12110 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12112 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12114 * tabular.C (SetWidthOfCell): fixed special case where the width
12116 (LeftLine): handle '|' in align_special.
12118 (LeftAlreadyDrawed): ditto
12119 (SetWidthOfCell): ditto
12121 2001-08-07 Juergen Vigna <jug@sad.it>
12123 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12125 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12127 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12128 * lyxlex.[hC]: ditto
12130 2001-08-06 Juergen Vigna <jug@sad.it>
12132 * text.C (getVisibleRow): fix up row clearing a bit.
12134 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12136 * minibuffer.C: make sure the X server sees the changes in the input.
12138 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12140 * paragraph.C (getFont): split into...
12141 (getLabelFont): this
12142 (getLayoutFont): and this
12143 * paragraph_pimpl.C (realizeFont): calling this
12145 * text2.C (getFont): split into...
12146 (getLayoutFont): this
12147 (getLabelFont): and this
12148 (realizeFont): all three calling this
12150 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12153 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12155 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12157 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12159 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12160 layouts from the Quote inset insertion.
12162 2001-08-03 Juergen Vigna <jug@sad.it>
12164 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12166 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12167 only if status not is already CHANGED_IN_DRAW (second level).
12169 * text.C (draw): don't set the need_break_row when inside an
12172 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12174 * buffer.C (parseSingleLyXformat2Token): handle more latex
12177 * bufferview_funcs.[hC]: change function names to
12178 begin with small char, adjust other files.
12180 2001-08-02 André Pönitz <poenitz@gmx.net>
12183 BufferView_pimpl.C: remove broken special code for math-greek
12185 2001-08-02 Juergen Vigna <jug@sad.it>
12187 * BufferView_pimpl.C (update): redone this function so that we
12188 update the text again if there was a CHANGE_IN_DRAW.
12190 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12191 (drawFromTo): added a new internal bool which is used by draw() and
12193 (general): some cursor drawing problems fixed.
12195 2001-08-01 Juergen Vigna <jug@sad.it>
12197 * lyxfind.C (LyXFind): fixed
12198 (SearchForward): ditto
12199 (SearchBackward): ditto
12201 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12202 spurius drawing of the cursor in the main area.
12204 * text2.C (status): small fix which could lead to a segfault!
12205 (clearSelection): remove unneeded BufferView param.
12207 2001-08-01 André Pönitz <poenitz@gmx.net>
12209 * lyxfunc.C: small change due to changed mathed interface
12211 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12213 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12215 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12217 * lyxfunc.c: fail gracefully if file doesn't exist
12222 * BufferView_pimpl.C: IsDirWriteable() proto changed
12224 * LyXView.C: fix updateWindowTitle() to store the last title
12226 2001-07-31 Juergen Vigna <jug@sad.it>
12228 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12229 the font (wrong since using of Paragraph::highestFontInRange).
12231 * paragraph.C (highestFontInRange): added a default_size parameter.
12233 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12234 (setHeightOfRow): reformat
12236 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12238 * converter.[hC] + affected files: move to (inital-char)lowercase
12241 * ParagraphParameters.C (ParagraphParameters): remove commented code
12243 * PainterBase.[Ch]: remove commented code
12245 * LaTeXFeatures.h: add "bool floats" for float.sty
12247 * LaTeXFeatures.C (LaTeXFeatures): init floats
12248 (require): handle float
12249 (getPackages): do it with floats
12251 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12253 * BufferView_pimpl.C (Dispatch): improve handling of
12254 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12256 * commandtags.h: #include lyxfont.h here temporarily to avoid
12259 * bufferlist.h: include LString.h here.
12261 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12263 * text2.C (getStringToIndex): new method.
12265 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12267 * *: Reduced header file dependencies all over.
12269 2001-07-30 Baruch Even <baruch@lyx.org>
12271 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12273 2001-07-29 Baruch Even <baruch@lyx.org>
12275 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12277 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12279 * ParameterStruct.h (endif): add a default constructor to make
12280 sure that all variables is initialized.
12282 * ParagraphParameters.C (ParagraphParameters): adjust
12284 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12286 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12287 index; also, check that there is something to index, and that it
12288 does not span over several paragraphs.
12289 (doubleClick): use WHOLE_WORD_STRICT for double click.
12291 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12293 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12296 2001-07-26 Baruch Even <baruch@lyx.org>
12298 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12299 an InsetFig figure, backwards compatible reading of old figure code.
12301 2001-07-27 Juergen Vigna <jug@sad.it>
12303 * text2.C: font.realize function adaption.
12305 * text.C (draw): add a warnings lyxerr text if needed.
12307 * layout.C: font.realize function adaption.
12309 * language.C: add inherit_language and implement it's handlings
12311 * bufferview_funcs.C (StyleReset): remove language parameter from
12312 font creation (should be language_inherit now).
12314 * bufferparams.C (writeFile): handle ignore_language.
12316 * paragraph.C (getFontSettings): the language has to be resolved
12317 otherwise we have problems in LyXFont!
12319 * lyxfont.C (lyxWriteChanges): added document_language parameter
12320 (update): removed unneeded language parameter
12322 * paragraph.C (validate): fixed wrong output of color-package when
12323 using interface colors for certain fonts in certain environments,
12324 which should not seen as that on the final output.
12326 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12328 * BufferView_pimpl.C:
12333 * LyXAction.C: add thesaurus support
12336 * lyxfind.C: add "once" parameter, for thesaurus, to not
12337 move to the next match
12339 2001-07-26 Juergen Vigna <jug@sad.it>
12341 * lyxfont.C (realize): honor ignore_language too!
12344 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12346 * text.C (draw): one place more for ignore_language to not draw
12349 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12351 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12353 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12355 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12356 the minipage conversion problem.
12358 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12360 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12363 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12365 * BufferView.h: don't forward declare WorkArea
12367 * BufferView.C: don't include WorkArea.h
12369 2001-07-25 André Pönitz <poenitz@gmx.net>
12373 * lyxfunc.C: new LFUN 'math-space'
12375 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12377 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12379 * text2.C (toggleInset): call open/close
12381 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12383 * lyxfunc.C (dispatch): add debug for the disabled case
12385 * font.C (buttonText): make similar to rectText
12387 * buffer.C (readInset): comment out parsing of insetlist and
12390 * PainterBase.C (rectText): small correction
12392 * BufferView_pimpl.C: comment out insettheorem and insetlist
12393 * LyXAction.C: ditto
12394 * commandtags.h: ditto
12396 2001-07-24 Juergen Vigna <jug@sad.it>
12398 * text.C (draw): honor the ignore_language.
12400 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12402 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12404 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12407 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12409 * lyxtext.h: remove unused (and unimplemented) methods
12411 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12413 * text.C (getVisibleRow): honor background color
12416 * Painter.h: remove default color argument for fillRectangle
12418 * text.C (backgroundColor): new method
12420 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12422 * text.C (getVisibleRow): adjust
12424 * font.[Ch] (rectText): new method, metrics
12425 (buttonText): new method, metrics
12427 * PainterBase.[hC]: make rectText and buttonText always draw and take
12430 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12432 * ToolbarDefaults.C (read):
12433 * MenuBackend.C (read): allow escaping in all strings
12435 * BufferView_pimpl.C (insertAndEditInset): new method.
12436 (Dispatch): use insertAndEditInset whenever appropriate.
12438 * BufferView_pimpl.C (insertNote): removed
12440 * BufferView_pimpl.C (smartQuote): new method, moved from
12441 BufferView; if an insetquote cannot be inserted, insert a '"'
12444 * BufferView2.C: remove insertCorrectQuote();
12446 * lyxfunc.C (getStatus): Add support for all remaingin
12447 inset-insert lfuns.
12449 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12451 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12452 command (necessary to pass " as parameter of self-insert.
12454 * text.C (selectWordWhenUnderCursor):
12455 (selectWord): add word_location parameter
12456 (selectWordWhenUnderCursor): same + remove special code for word
12458 (selectNextWord): use kind() to guess type of insetspecialchar,
12461 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12462 (insertErtContents): create ert insets as collapsed.
12463 (readInset): better compatibility code for Info inset.
12465 2001-07-20 Juergen Vigna <jug@sad.it>
12467 * lyxfunc.C (dispatch): use always LyXFind now!
12469 * text2.C (init): add a reinit flag so that the LyXText can be
12470 reinited instead of deleted and reallocated (used in InsetText).
12472 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12478 2001-07-18 Juergen Vigna <jug@sad.it>
12480 * text.C (selectNextWord): handle insets inside inset by calling
12481 always the bv->text functions so that we can go up the_locking_inset!
12483 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12484 in strange locations when inside an inset!
12486 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12487 handling to include insets.
12489 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12491 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12493 * LyXAction.C (init):
12495 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12496 LIGATURE_BREAK, since the name is so stupid.
12498 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12500 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12503 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12505 * sp_form.[Ch]: remove.
12507 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12509 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12512 * src/buffer.C (readInset): ditto.
12514 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12516 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12517 menuSeparator(), endOfSentenceDot(), ldots() and
12518 hyphenationPoint(), which are therefore removed.
12519 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12521 * LyXAction.C (init):
12522 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12524 * paragraph.C (getWord): removed.
12526 * BufferView_pimpl.C (Dispatch): use last word or selection for
12527 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12529 * lyx_main.C (queryUserLyXDir): do not ask before creating
12530 user_dir, except if it has been named explicitely.
12532 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12534 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12535 a document of zero size.
12537 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12539 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12540 approriately in the c-tor and in require().
12541 (getPackages): output the appropriate LaTeX for natbib support.
12543 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12544 variables "use_natbib" and "use_numerical_citations" when reading the
12546 (readInset): read the various natbib cite commands.
12547 (validate): white-space change.
12549 * bufferparams.[Ch]: new variables "bool use_natbib" and
12550 "bool use_numerical_citations".
12551 (writeFile): output them in the LyX file.
12553 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12555 * lyxfunc.C (getStatus): add support for all the inset insertion
12558 * text2.C (insertInset):
12559 * paragraph.C (insetAllowed):
12560 * BufferView_pimpl.C (insertInset): update to take in account the
12561 renaming of insertInsetAllowed
12563 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12565 * text2.C (getInset): new method. returns inset at cursor position.
12567 * BufferView_pimpl.C (Dispatch): changes because of this.
12569 * LyXAction.C (init): rename open-stuff to inset-toggle.
12571 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12573 * text2.C (toggleInset): renamed from openStuff; use
12576 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12578 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12580 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12582 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12584 * buffer.C (readLyXformat2): Add filename to the error dialog
12586 2001-07-18 Juergen Vigna <jug@sad.it>
12588 * tabular.C (GetCellNumber): put an assert here instead of the check!
12590 2001-07-17 Juergen Vigna <jug@sad.it>
12592 * BufferView_pimpl.C (toggleSelection): adapted too.
12594 * text.C (selectNextWord): adapted for use with insets.
12595 (selectSelectedWord): ditto
12597 2001-07-17 Juergen Vigna <jug@sad.it>
12599 * sp_spell.C (PSpell): fix initialitation order.
12601 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12603 * paragraph.C: spacing
12605 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12607 * sp_spell.C: repair language selection for pspell
12609 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12611 * lyxfunc.h: change more methods to begin with lower char.
12613 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12615 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12616 for unknown layouts.
12618 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12620 * buffer.C (readLyXformat2): Generate an error dialog if there are
12623 2001-07-16 Juergen Vigna <jug@sad.it>
12625 * sp_spell.C: always compile ISpell part.
12627 * lyxrc.C: added use_pspell entry and it's handling.
12629 2001-07-13 Juergen Vigna <jug@sad.it>
12631 * sp_spell.C: removed double includes.
12633 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12635 Consistent use of Lsstream.h:
12636 * Lsstream.h: added using std::stringstream for consistencies sake.
12638 * buffer.C: removed using std::stringstream
12640 * lyxfont.C (stateText):
12641 * paragraph.C (asString):
12642 * text.C (selectNextWord, selectSelectedWord):
12643 * text2.C (setCounter):
12644 * vspace.C (asString, asLatexString):
12645 std::ostringstream -> ostringstream.
12647 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12649 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12650 * commandtags.h: add LFUN_HELP_ABOUTLYX
12651 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12653 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12655 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12657 * lyx_gui_misc.C: remove spellchecker
12658 * lyxfunc.C: showSpellchecker
12660 * sp_ispell.h: added
12661 * sp_pspell.h: added
12662 * sp_spell.C: added
12663 * sp_form.[Ch]: removed
12664 * spellchecker.[Ch]: removed
12666 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12668 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12670 (simpleTeXSpecialChars): Simply print the input character without
12671 any special translation if pass_thru is set.
12673 * layout.h: Added bool pass_thru to layout class for being able to
12674 implement pass through of a paragraph for Literate Programming.
12676 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12677 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12678 * layout.C (Read): add "passthru" to list of layout tags and add
12679 code to set the pass_thru boolean when it is read.
12681 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12683 * trans_decl.h: remove allowed from KmodInfo
12685 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12686 remove allowed code
12689 * paragraph_pimpl.C (erase): use boost::prior
12691 * Painter.C (text): use data() instead of c_str() when length is
12693 * WorkArea.C (putClipboard): ditto
12694 * font.h (width): ditto
12696 * BufferView2.C: use it-> instead of (*it). for iterators
12698 * paragraph_pimpl.C: ditto
12699 * paragraph.C: ditto
12700 * minibuffer.C: ditto
12701 * language.C: ditto
12703 * encoding.C: ditto
12704 * counters.C: ditto
12705 * converter.C: ditto
12707 * Variables.C: ditto
12708 * TextCache.C: ditto
12709 * MenuBackend.C: ditto
12710 * LyXAction.C: ditto
12712 * FloatList.C: ditto
12713 * DepTable.C: ditto
12714 * ColorHandler.C (LyXColorHandler): ditto
12716 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12718 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12720 * text2.C (openStuff): reintroduce this method (which had been
12721 nuked in NEW_INSETS frenzy).
12723 * lyxfunc.C (Dispatch): when an action has not been handled, use
12724 its name in the error message, not its number.
12726 * paragraph.C (inInset): change method name to begin with lowercase.
12729 * text2.C: updates because of this.
12731 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12733 * ToolbarDefaults.C (add): add spaces in error message
12735 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12737 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12738 (readLyXformat2): rename return_par to first_par, use lyxlex's
12739 pushToken and remove the manual push handling.
12740 (parseSingleLyXformat2Token): add another ert comp. variable:
12741 in_tabular, rename return_par to first_par. handle newlines better
12743 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12745 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12747 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12749 * text2.C (getParFromID): removed
12751 * buffer.C (getParFromID): new method moved form lyxtext.
12752 * BufferView2.C (insertErrors): adjust
12753 (setCursorFromRow): adjust
12754 * BufferView_pimpl.C (restorePosition): adjust
12755 * lyxfunc.C (Dispatch): adjust
12756 * undo_funcs.C (textUndo): adjust
12758 (textHandleUndo): adjust
12759 (textHandleUndo): adjust
12761 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12763 * buffer.C: up' the LYX_FORMAT
12765 * lyxfont.h: turn NO_LATEX on as default
12767 * buffer.C (insertErtContents): new methods of tex style compability.
12768 (parseSingleLyXformat2Token): use it several places.
12769 * tabular.C (OldFormatRead): and here
12771 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12773 * text2.C: remove some commented code.
12776 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12777 * trans.C: changes because of the above.
12779 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12781 * text2.C (setCounter): Fix counters bug with bibliography layout.
12783 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12785 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12786 own member functions
12787 (simpleTeXSpecialChars): ditto
12789 2001-07-06 Juergen Vigna <jug@sad.it>
12791 * a lot of files: changed the access to LyXText::status and the
12792 call of undo-functions.
12794 * undo.[Ch]: added a inset_id to the undo informations.
12796 * undo_funcs.[Ch]: added and moved here all undo functions.
12798 * lyxtext.h: give the status enum a weight, made status_ a private
12799 variable and made accessor functions for it, removed the whole bunch
12800 of undo-functions as they are now in their own file, make some
12801 functions publically available. Added function ownerParagraph with
12804 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12805 made InInset() a const function, added getParFromID() function.
12807 * buffer.[Ch]: added const version for inset_iterator functions,
12808 added getInsetFromID() function.
12810 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12811 changed undo functions for new version.
12813 2001-07-05 Juergen Vigna <jug@sad.it>
12815 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12816 unknow mechanism does not call the proper constructor but only this
12817 one also if I request the other!?
12819 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12821 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12823 * text2.C (LyXText): use initialization lists.
12825 * lyxtext.h (Selection): initialize set_ and mark_
12826 (init): remove method
12828 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12830 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12832 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12834 * screen.[Ch]: change method names to begin with lowercase
12836 * BufferView_pimpl.C (updateScrollbar): simplify further and
12837 hopefully make it a bit faster.
12839 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12841 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12842 calling directly xforms functions.
12844 * Painter.C (Painter):
12845 * lyx_cb.C (MenuWrite):
12846 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12849 * lyx_gui.C: remove bogus guiruntime extern declaration.
12851 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12853 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12855 (redoDrawingOfParagraph): ditto
12856 (redoParagraphs): ditto
12857 (cutSelection): don't create a object for CutAndPaste use the
12858 static method directly
12859 (pasteSelection): ditto
12861 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12864 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12866 * modifications to some other files because of this.
12868 * Makefile.am (lyx_SOURCES): add XFormsView
12870 * XFormsView.[Ch]: new files
12872 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12873 the main window. Move the gui dependent stuff to XFormsView
12875 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12877 * tabular.C (GetCellInset): update cur_cell also in the row/col
12878 version of this function.
12880 * lyxfunc.C: no need to include figure_form.h here.
12886 * lyxvc.C: no need to include forms.h here.
12888 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12890 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12892 * lyxfunc.C (Dispatch):
12894 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12895 constructor argument.
12897 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12899 * paragraph.C (Paragraph): dont't clear, and just set layout.
12900 (makeSameLayout): use params's copy contructor.
12902 * ParagraphParameters.[Ch] (makeSame): delete method
12904 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12906 * Variables.[Ch]: fix indentation, rename set to isSet
12908 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12910 * lyxfunc.C (Dispatch): fix typo
12912 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12914 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12917 * bufferlist.C: include assert.h for emergencyWrite().
12919 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12921 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12922 give up at last (bug #425202) !
12924 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12930 * spellchecker.C: strip spellchecker options and bring up
12931 preferences tab instead
12933 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12935 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12936 the istringstream constructor
12938 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12940 * paragraph.C (getLayout): fix return value
12942 * paragraph.h: do not declare getLayout as inline.
12944 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12946 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12948 * lyxcursor.h (operator<): new func
12949 (operator>): new func
12950 (operator>=): new func
12951 (operator<=): new func
12953 * text.C (changeCase): use selection.start and selection.end
12954 (changeRegionCase): require from to be <= to. Require par to be a
12957 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12959 2001-06-27 Juergen Vigna <jug@sad.it>
12961 * text.C (cursorLeftOneWord): changed to return the cursor and added
12962 overlay with BufferView * parameter which calls this one.
12964 (selectWord): use new getWord function.
12965 (changeCase): renamed from changeWordCase as and extended to work
12966 also on selections.
12968 * lyxtext.h: added enum word_location
12970 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12971 changeCase as this operates now also on selections.
12973 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12975 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12977 * many files: send debug output to Debug::INFO instead of
12980 * converter.C (View):
12982 (Move): send debug output to Debug::FILES instead of console.
12984 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12986 * lyxfunc.C (getStatus): use func_status
12988 * func_status.h: new header, describing the results of
12989 LyXFunc::getStatus;
12991 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12994 2001-06-25 The LyX Project <jug@sad.it>
12996 * buffer.C (sgmlOpenTag):
12998 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13000 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13002 * text2.C: remove some dead code
13004 * tabular.C (GetCellInset): store the last cell checked (gotten)
13006 * tabular.h: add the helper for the speedup
13008 * lyxtext.h: remove some dead code
13010 2001-06-26 The LyX Project <Asger>
13012 * paragraph.C: Change export to LaTeX of alignment to
13013 \begin{center} and family for better roundtrip work with reLyX.
13015 * Tune the math drawing a bit.
13017 2001-06-25 The LyX Project <Asger>
13019 * LColor.C (LColor): New color for math background. New color
13022 2001-06-25 The LyX Project <jug@sad.it>
13024 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13026 * lyxfunc.C (Open):
13027 * bufferlist.C (newFile): do not restrict to files ending with
13030 * BufferView_pimpl.C (MenuInsertLyXFile):
13032 2001-06-24 The LyX Project <jug@sad.it>
13034 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13037 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13039 * lyxtext.h: rename most methods to begin with a small char.
13040 Lots of changes because of this.
13042 * paragraph.C (Paragraph): do not call fitToSize
13043 (erase): call Pimpl::erase
13044 (insertChar): call Pimpl::insertChar
13045 (insertInset): call Pipl::insertInset
13046 (breakParagraph): do not call fitToSize
13047 (breakParagraphConservative): do not call fitToSize
13048 (fitToSize): remove method
13050 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13052 2001-06-24 The LyX Project <Asger>
13054 * Fix Qt compilation^2
13056 2001-06-24 The LyX Project <jug@sad.it>
13058 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13059 depthHook(getDepth()-1).
13062 * ParagraphParameters.h:
13063 * ParameterStruct.h: change type of depth to unsigned int ==
13064 depth_type. Many adaptations to other files before of that.
13066 2001-06-24 The LyX Project <Asger>
13068 * Fix Qt compilation.
13070 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13072 * paragraph.h: renamed several methods to begin with small letter.
13073 several changes to many parts of the code because of this.
13075 2001-06-23 The LyX Project <jug@sad.it>
13077 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13078 rewritten to discard all double spaces when KeepEmpty is off
13079 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13080 to only handle newlines but not fiddle with spaces and friends.
13082 * lyxfunc.C (MenuNew): when doing 'new from template', use
13083 template_path as default directory
13085 2001-06-23 The LyX Project <Asger>
13087 * Clean-up of header file includes all over
13088 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13090 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13092 * paragraph.h: renamed from lyxparagraph.h
13094 2001-06-23 Asger <lyx@violet.home.sad.it>
13096 * Buffer.h: Removed Buffer::resize
13097 * BufferList.h: Removed BufferList::resize
13098 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13099 the document lazily when we change the width, or the font settings.
13101 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13103 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13105 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13107 * buffer.h: remove out of date comment
13109 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13112 * screen.C: fix "theoretical" GC leak
13114 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13116 * LaTeX.C (scanAuxFile):
13117 (deplog): remove trailing \r when reading stream (useful under
13120 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13122 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13123 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13124 and BufferView::theLockingInset(Inset*), so should use them and not
13125 access bv_->text->the_locking_inset directly.
13127 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13129 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13132 * tex-defs.h: remove old unused file
13134 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13136 * BufferView_pimpl.C: fix typo, remove minibuffer message
13137 when buffer has loaded
13139 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13141 * lyxfunc.C (Dispatch): use stringstream
13142 (MenuNew): use stringstream
13143 (Open): use stringstream
13145 * importer.C (Import): use stringstream
13147 * bufferview_funcs.C (CurrentState): use stringstream
13149 * LaTeX.C (run): use stringstream
13151 * BufferView_pimpl.C (savePosition): use stringstream
13152 (restorePosition): use stringstream
13153 (MenuInsertLyXFile): use stringstream
13155 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13168 * vspace.C: removed // -*- C++ -*- as first line.
13171 * version.h: added // -*- C++ -*- as first line.
13173 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13175 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13177 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13180 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13182 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13185 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13187 * gettext.C: include LString.h even when --disable-nls is on.
13189 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13191 * converter.h (Get): changed argument type from int to
13192 FormatList::size_type to avoid unnecessary conversion.
13194 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13197 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13199 * gettext.h: include LString.h even when --disable-nls is on.
13201 2001-06-07 Juergen Vigna <jug@sad.it>
13203 * text.C (BreakAgain): subst spaces with tabs.
13205 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13206 (resizeInsetsLyXText): set force on resizeLyXText.
13208 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13210 * gettext.h (gettext_init):
13211 (locale_init): use a real definition instead of a macro
13213 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13215 * Bufferview_pimpl.C:
13217 * LColor.C: further lcolor tidies
13219 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13221 * BufferView_pimpl.C (updateScrollbar): simplify.
13223 * BufferView2.C: don't include insets/insetinfo.h, change
13224 prototype for insertInset and call the Pimpl version. let
13225 updateInset call Pimpl version.
13227 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13228 gotoInset to BufferView::Pimpl
13230 2001-06-01 Juergen Vigna <jug@sad.it>
13232 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13233 inside a LockingInset (is the update needed at all?).
13235 2001-05-31 Juergen Vigna <jug@sad.it>
13237 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13238 here not the old one otherwise how should we compare it afterwards
13241 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13246 * FontInfo.C: bring C functions into global namespace when
13249 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13251 * LString.h: make sure config.h has been loaded before LString.h.
13253 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13254 (one for each char read by EatLine!).
13256 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13259 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13261 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13262 to the same as the par we break from
13264 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13266 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13268 * MenuBackend.C (expand): also create menu entries for wide
13269 versions of the floats.
13271 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13273 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13275 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13276 frontends/Makefile.am
13282 * tabular.C (getTokenValue): add std::
13284 * tabular-old.C (getTokenValue): add std::
13285 (getTokenValue): ditto
13286 (getTokenValue): ditto
13288 * screen.C (ToggleSelection): adjust
13290 * lyxtext.h: put selection cursors inside a Selection struct.
13292 * lyxfunc.C (moveCursorUpdate): adjust
13294 * lyxfont.C (latexWriteStartChanges): add std::
13296 * lyxfind.C: adjust
13298 * font.h: delete with(char const *, LyXFont const &)
13300 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13302 * FontInfo.C (getFontname): add std::
13304 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13305 (workAreaButtonPress): adjust
13306 (tripleClick): adjust
13308 (moveCursorUpdate): adjust
13311 * BufferView2.C (gotoInset): adjust
13313 2001-05-30 Juergen Vigna <jug@sad.it>
13315 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13316 to check pspell I add this as default as I now have new pspell
13317 libraries and they seem to use this.
13319 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13321 * text2.C (CutSelection): make the cursor valid before the call to
13324 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13326 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13327 relied on 0 terminated strings and other horrors. Bug found due to
13328 the new assert in lyxstring!
13330 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13333 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13335 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13338 * lyxfunc.C (processKeySym): change method of getting to the
13341 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13342 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13343 * BufferView_pimpl.[Ch]: here as private methods.
13345 2001-05-28 Juergen Vigna <jug@sad.it>
13347 * text.C (SetHeightOfRow): added the update() call again as it is
13348 needed to initialize inset dimensions!
13350 2001-05-16 Juergen Vigna <jug@sad.it>
13352 * text2.C (SetCharFont): Add new function with BufferView * and
13353 bool toggleall parameters for setting insets internal fonts.
13354 (SetFont): Freeze the undo as we may change fonts in Insets and
13355 all this change should be inside only one Undo!
13357 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13358 setting font's in insets as for them we have the SetFont function!
13360 2001-05-15 Juergen Vigna <jug@sad.it>
13362 * text2.C (ClearSelection): to be sure we REALLY don't have any
13365 * tabular.C (TeXCellPreamble): fixed the left border problem for
13368 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13370 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13373 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13375 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13376 LFUN_BREAKPARAGRAPH.
13378 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13379 help test to "internal only", similar for LFUN_INSERT_URL
13381 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13382 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13383 auto_region_delete and deadkeys.
13385 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13388 * LColor.C: remove some dead entries, tidy a little
13390 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13392 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13394 (Dispatch): implement LFUN_ESCAPE
13396 * commandtags.h: add LFUN_ESCAPE
13398 * LyXAction.C (init): add entry for LFUN_ESCAPE
13400 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13401 Remove commented code.
13402 (insertNote): moved here
13403 (open_new_inset): moved here
13405 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13408 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13410 * kbmap.C (findbinding): clean it up and make it work correctly.
13412 * lyx_main.C (init): do not pass argc and argv as parameters
13414 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13416 * buffer.C: fix path for OS/2 & Win32
13420 * lyx_main.C: Added os:: class.
13422 * os2_defines.h: update
13424 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13426 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13427 better by trying again with reduced state.
13429 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13431 * lyxrc.C (read): print error about invalid key sequence only when
13432 debugging (because not all latinX keysyms are known to some X
13435 * kbsequence.C (getiso): add a few std:: qualifiers
13436 (getiso): comment out extra return statement.
13438 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13440 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13442 (Dispatch): enhance the accent inset a bit. (not perfect)
13444 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13446 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13448 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13450 * bufferlist.C (emergencyWrite): fix assert() call
13452 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13454 * text.C (InsertChar): Added trivial patch to only send the "you
13455 can not do multiple spaces this way" message once during a
13458 2001-05-08 Baruch Even <baruch@lyx.org>
13460 * Makefile.am: Changed order of libraries to get LyX to link properly
13461 with the gnome frontend.
13463 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13465 * LaTeXFeatures.h: add a std:: qualifier
13467 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13469 * paragraph.C (String): use stringstream
13471 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13473 * paragraph.C (writeFile): remove footflag arg
13475 * buffer.C (makeLaTeXFile): use stringstream
13476 (latexParagraphs): remove footnot gurba
13478 * LaTeXFeatures.C (getPackages): use stringstream
13479 (getMacros): likewise
13480 (getTClassPreamble): likewise
13481 (getFloatDefinitions): new method
13483 * paragraph.C (writeFile): reindent
13486 * WorkArea.h: revert the xpos + etc changes.
13488 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13490 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13492 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13493 (pasteSelection): likewise
13494 * text2.C (CreateUndo): likewise
13496 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13498 * minibuffer.C (peek_event): temporarily reduce the functionality
13499 of the minibuffer (to allow args on lfuns)
13501 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13502 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13504 * buffer.C (readInset): add compability reading of old float
13505 lists, add reading of new style float list.
13506 (readInset): avoid reevaluation of inscmd.getCmdName()
13507 (getLists): reindent
13509 * MenuBackend.C (MenuItem): implement parsing of
13510 md_floatlistinsert and md_floatinsert.
13511 (expand::LastFiles): move initalizaton of iterators out of loop,
13512 avoid reevaluation.
13513 (expand::Documents): introduce typdedef vector<string> Strings,
13515 (expand::ExportFormats): introduce typedef vector<Format const *>
13516 Formats, and use it.
13517 (expand): implement FloatListInsert and FloatInsert.
13519 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13520 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13521 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13523 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13525 (Dispatch::LFUN_FLOAT_LIST): implement
13527 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13529 * LaTeX.C (run): Fix problem with --export code.
13531 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13533 * BufferView.[Ch] (workarea): removed.
13534 (getClipboard) new method; wrapper for workarea()->getClipboard()
13536 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13539 * WorkArea.h (width, height, xpos, ypos): These methods all
13540 returned the dimensions of the work_area sub-area of WorkArea,
13541 resulting in a position error if the WorkArea were resized. Now
13542 return the dimensions of the entire WorkArea.
13544 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13546 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13548 * LaTeX.C (deplog): correct the syntax of regex reg1
13550 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13552 * undo.C: remove !NEW_INSETS cruft
13554 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13556 * text2.C: remove !NEW_INSETS cruft
13558 * text.C: remove !NEW_INSETS cruft
13560 * tabular.C: remove !NEW_INSETS cruft
13562 * spellchecker.C: remove !NEW_INSETS cruft
13564 * lyxtext.h: remove !NEW_INSETS cruft
13566 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13568 * lyxfunc.C: remove !NEW_INSETS cruft
13570 * lyxfind.C: remove !NEW_INSETS cruft
13572 * lyx_cb.C: remove !NEW_INSETS cruft
13574 * figureForm.C: remove !NEW_INSETS cruft
13576 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13578 * buffer.[Ch]: remove !NEW_INSETS cruft
13580 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13582 * CutAndPaste.C: remove !NEW_INSETS cruft
13584 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13586 * BufferView2.C: remove !NEW_INSETS cruft
13588 * BufferView.h: remove !NEW_INSETS cruft
13590 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13592 * Lsstream.h: include LString.h before the sstream headers to
13593 fix problem with gcc 2.95.3 and lyxstring
13595 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13597 * lyx_main.C: add using directives when needed for C functions
13598 declared in std:: namespace.
13600 2001-04-27 Juergen Vigna <jug@sad.it>
13602 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13603 (SetHeightOfRow): comment out the update call should not be needed!
13605 2001-04-13 Juergen Vigna <jug@sad.it>
13607 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13608 (LyXTabular): tried to minimize operator= operations (and realized
13609 hopfully Lars wish).
13611 2001-04-27 Juergen Vigna <jug@sad.it>
13613 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13615 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13617 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13619 * buffer.C (readInset): hack to make listof algorithm work
13621 * BufferView_pimpl.C: hack to make listof algorithm work
13623 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13625 * LyXAction.C: removed all !NEW_INSETS cruft
13626 (init): moved lfun_item in method
13628 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13630 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13632 * BufferView2.C (theLockingInset): white space.
13634 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13636 * minibuffer.C: include <iostream>
13638 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13640 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13642 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13644 * text.[Ch] (TransposeChars): new method
13646 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13648 * call message directly through LyXView instead of through LyXFunc
13649 * BufferView2.C: adjust
13650 * BufferView_pimpl.C: adjust
13651 * FontLoader.C: adjust
13653 * bufferview_funcs.C: adjust
13654 * converter.C: adjust
13655 * figureForm.C: adjust
13656 * importer.C: adjust
13658 * lyx_gui_misc.C: adjust
13659 * lyxfunc.C: adjust
13662 + more files in subdirs
13664 * lyxparagraph.h (size): move up int file
13667 * adjust all uses of Assert to lyx::Assert.
13669 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13670 lyxfunctional in namespace lyx
13671 * layout.C (hasLayout): ditto
13674 (delete_layout): ditto
13675 (NumberOfClass): ditto
13676 * converter.C (GetFormat): ditto
13681 * bufferlist.C (getFileNames): ditto
13682 (emergencyWriteAll): ditto
13685 * MenuBackend.C (hasSubmenu): ditto
13688 * BufferView_pimpl.C (getInsetByCode): ditto
13690 2001-04-18 Juergen Vigna <jug@sad.it>
13692 * vspace.C (asLatexString): fixed the 100% problem.
13694 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13696 * lyxfunc.C (Dispatch):
13698 * minibuffer.h: add a few std:: qualifiers
13700 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13702 * minibuffer.[Ch]: reimplement so that commands is initiated and
13703 run from lyxfunc, simplified som handling, and made the completion
13704 and history code for complete. wip.
13706 * lyxfunc.C (processKeySym): call message
13707 (miniDispatch): new temporary method
13708 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13709 (LFUN_MESSAGE): implement
13710 (LFUN_MESSAGE_PUSH): implement
13711 (LFUN_MESSAGE_POP): implement
13712 (initMiniBuffer): the initial/defualt minibuffer message.
13714 * lyxfont.[Ch]: inline some more getters
13716 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13718 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13720 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13721 (AutoSave): use LFUN_MESSAGE
13722 (Reconfigure): ditto
13724 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13726 * figureForm.C: use LFUN_MESSAGE
13728 * converter.C (runLaTeX): use LFUN_MESSAGE
13730 * bufferview_funcs.C: use LFUN_MESSAGE
13732 (changeDepth): ditto
13734 * bufferparams.h: use boost::
13736 * bufferlist.h: inherit privately from noncopyable
13738 * bufferlist.C (loadLyXFile): remove some commented code.
13740 * buffer.C (runChktex): use LFUN_MESSAGE
13742 * ShareContainer.h: inherit privately from noncopyable
13744 * ParagraphParameters.[hC] (depth): inline it.
13746 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13748 (message): new method
13749 (messagePush): ditto
13750 (messagePop): ditto
13751 (show): init minibuffer
13752 (showState): direct call
13754 * LaTeX.[Ch]: inherit privately from noncopyable
13755 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13756 instead of WriteStatus.
13758 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13760 * BufferView_pimpl.C (buffer): don't init minibuffer
13761 (workAreaButtonPress): use LFUN_MESSAGE
13762 (workAreaButtonRelease): ditto
13763 (savePosition): ditto
13764 (restorePosition): ditto
13765 (MenuInsertLyXFile): ditto
13766 (workAreaExpose): don't init minibuffer
13767 (update): remove commented code, simplify
13769 * BufferView2.C (openStuff): use LFUN_MESSAGE
13770 (toggleFloat): ditto
13773 (copyEnvironment): ditto
13774 (pasteEnvironment): ditto
13779 (updateInset): remove some commented code
13781 * lastfiles.h: inherit privately from noncopyable
13784 * lyx_main.h: ditto
13786 * lyxlex_pimpl.h: ditto
13788 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13789 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13790 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13792 * LyXAction.h: inherit privately from noncopyable, add methods
13793 func_begin, func_end, returning iterators to the func map.
13795 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13796 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13797 (func_begin): new method
13798 (func_end): new method
13800 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13802 (copySelection): ditto
13803 (pasteSelection): ditto
13805 * BufferView.C: whitespace change
13806 * BufferView.h: inherit privately from noncopyable
13808 2001-04-16 Allan Rae <rae@lyx.org>
13810 * tabular-old.C (l_getline):
13811 * spellchecker.C (sc_check_word):
13812 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13813 an unrecognised preprocessor directive. So ensure they're wrapped.
13815 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13817 * src/exporter.C (Export): Give an error message when path to file
13820 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13822 * LaTeX.C (deplog): Always check that foundfile exists.
13824 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13827 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13829 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13831 * tabular.[Ch] (getLabelList): implement new method
13833 * minibuffer.h: comment ouf setTiimer
13835 * minibuffer.C (ExecutingCB): constify res
13836 (peek_event): constify s
13837 (Set): constify ntext
13838 (Init): constify nicename
13840 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13842 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13843 (savePosition): use two params to Minibuffer::Set
13844 (restorePosition): ditto
13846 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13848 * lyx_main.C: include language.h
13850 * Makefile.am (lyx_main.o): add language.h
13852 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13858 * CutAndPaste.C: include gettext.h
13860 * lyxfont.h: remove old hack with ON and OFF.
13863 * lyxfont.h: do not include language.h...
13868 * bufferview_funcs.C:
13874 * paragraph.C: ... but do it here instead
13876 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13878 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13880 * tabular.C: small reformat
13882 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13885 (BreakParagraph): ditto
13886 (SetOnlyLayout): ditto
13889 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13892 * lastfiles.C: removed most using decl, add std:: where needed
13894 * buffer.C: ws changes
13896 * MenuBackend.C (class compare_format): put into anon namespace
13897 (expand): constify label, names, action, action2
13900 * text.C (SingleWidth): constify font
13901 (IsBoundary): constify rtl2
13902 (GetVisibleRow): constify ww
13904 * LaTeX.C (deplog): constify logfile
13906 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13908 (workAreaExpose): constify widthChange, heightChange
13910 * lyxrow.C (par): moved
13913 * lyxrow.h: as inlines here
13915 * lyxfont.h (shape): moved from lyxfont.C
13916 (emph): moved from lyxfont.C
13918 * lyxfont.C (LyXFont): use initialization list for all
13920 (shape): move to lyxfont.h as inline
13921 (emph): move to lyxfont.h as inline
13924 2001-04-04 Juergen Vigna <jug@sad.it>
13926 * vspace.C: had to include stdio.h for use of sscanf
13928 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13931 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13932 independent of xforms.
13934 2001-04-02 Juergen Vigna <jug@sad.it>
13936 * spellchecker.C: fixed namespace placing!
13938 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13940 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13941 the LyXParagraph * is 0.
13943 2001-03-29 Juergen Vigna <jug@sad.it>
13945 * vspace.C: added support for %, c%, p%, l%.
13946 (stringFromUnit): added helper function.
13947 (asLatexString): changed to give right results for the %-values.
13949 * buffer.C: convert the widthp in a width%.
13951 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13953 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13956 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13957 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13959 * lyx_cb.[Ch]: see above.
13961 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13965 * lyx.[Ch]: replaced by figure_form.[Ch].
13969 * lyxfunc.C: changed headers associated with above changes.
13971 2001-03-27 Juergen Vigna <jug@sad.it>
13973 * BufferView_pimpl.C: set the temporary cursor right!
13975 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13977 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13979 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13981 * LString.h: removed "using std::getline"!
13983 * BufferView_pimpl.C (Dispatch): changes due to changes in
13984 InsetInclude::Params.
13986 * buffer.C (tag_name): removed redundant break statements as they were
13987 producing lots of warnings with my compiler.
13989 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13991 * LString.h: add "using std::getline" when using the real <string>.
13993 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13995 * buffer.C: removed bitset usage.
13996 PAR_TAG moved to an anonymous name space.
13997 (tag_name): new funtion, also in the anonymous namespace.
13998 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13999 (makeDocBookFile): clean code. Completed transition from string arrays
14001 (SimpleDocBookOnePar): code clean.
14003 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14005 * tabular.C: add some comments.
14007 2001-03-22 Juergen Vigna <jug@sad.it>
14009 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14010 compatibility read a bit and fixed bug with minipage in different
14013 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14015 * buffer.C (pop_tag): removed.
14016 (push_tag): removed.
14017 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14018 array replaced with vector. Added support for CDATA sections.
14019 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14021 (makeDocBookFile): XML conformant declaration of CDATA section,
14022 fixed bug related to <emphasis> in the first paragraph char.
14023 (sgmlOpenTag): exclude empty tags.
14024 (sgmlCloseTag): ditto.
14026 * buffer.h (pop_tag): removed.
14027 (push_tag): removed.
14029 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14031 * language.h (Languages): added size_type and size().
14033 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14035 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14036 response on compability reading of minipages. One probliem is that
14037 the old usage of minipages was «flertydig»
14039 * several files here and in subdirs: don't use static at file
14040 scope use anon namespaces instead.
14042 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14044 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14045 LaTeX output. This is necessary for Literate document
14048 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14050 * buffer.C: insert hfill when needed.
14052 * tabular.C (l_getline): use string::erase, small whitespace change.
14054 * BufferView_pimpl.C: try the anon namespace.
14055 * WorkArea.C: ditto
14057 2001-03-16 Juergen Vigna <jug@sad.it>
14059 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14060 otherwise it won't open options-dialogs.
14062 * buffer.C: honor pextraWidth(p) on converting minipages.
14064 * tabular.C (l_getline): changed the functions to strip trailing \r.
14066 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14068 * BufferView_pimpl.C:
14069 * minibuffer..C: added "using SigC::slot" declaration.
14071 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14073 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14079 * paragraph.C: ditto
14081 * lyxtext.h: NO_PEXTRA
14083 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14085 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14086 * ParameterStruct.h: ditto
14087 * ParagraphParameters.h: ditto
14088 * lyxparagraph.h: ditto
14090 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14092 * buffer.C: add compability for minipage alignment.
14093 (latexParagraphs): remove unwanted pextra check.
14095 * several files: remove CXX_WORKING_NAMESPACES
14097 * buffer.C (pop_tag): tie is in namespace boost
14099 * BufferView.h: noncopyable is in namespace boost
14101 * lyx_main.h: ditto
14104 * lastfiles.h: ditto
14105 * bufferlist.h: ditto
14106 * ShareContainer.h: ditto
14108 * LyXAction.h: ditto
14111 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14113 * Merging changes from BRANCH_MVC back into HEAD.
14115 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14117 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14119 * BufferView_pimpl.C: change from intl.C
14123 * Makefile.am: move combox.*
14129 * intl.C: remove dialog (covered by prefs)
14131 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14133 * lyxfunc.C (Dispatch): removed redundant break statement.
14135 2001-03-14 Juergen Vigna <jug@sad.it>
14137 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14139 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14141 * buffer.C: add hack to fix compability reading of minipages.
14143 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14145 * buffer.C (getLists): Cleanup.
14147 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14149 * lyxfont.C (update): don't honor toggleall on font size.
14151 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14155 * Makefile.am: moved to frontends/xforms/
14159 * BufferView_pimpl.C: changes for moved mathpanel
14161 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14163 * gettext.h: fix gettext_init() in --disable-nls
14165 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14167 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14169 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14172 * lyx.h: strip external form
14174 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14176 * BufferView_pimpl.C: add comment, destroySplash()
14178 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14180 * BufferView_pimpl.C:
14184 * lyxfunc.C: use re-worked insetinclude
14186 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14188 * buffer.C: add using std::stringstream.
14190 * lyx_cb.C: readd using std::ios.
14192 * buffer.C: add using std::map.
14194 * BufferView_pimpl.C: add using std::vector.
14196 * ShareContainer.h: add std:: to swap.
14198 * buffer.h: add some typedefs
14199 * buffer.C (getLists): use them
14200 (getLists): renamed from getTocList.
14201 add a counter for the different float types and use it in the
14203 (getLists): use the same counter for the NEW_INSETS and the "non"
14206 * lyx_cb.h: remove unused items, includes, using etc.
14208 * ShareContainer.h: remove some commented code, add more comments
14209 and "documentation".
14211 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14213 * buffer.C (getTocList): make the list also when NEW_INSETS is
14216 * buffer.h: remove TocType
14218 * buffer.C (getTocList): change to return a map<string,
14219 vector<TocItem> >, implement for dynamic number of list.
14221 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14222 * text2.C (PasteSelection): adjust
14223 * CutAndPaste.C (pasteSelection): adjust
14225 * FloatList.C (FloatList): update from the new_insets branch.
14226 * Floating.[Ch]: ditto
14227 * LaTeXFeatures.C: ditto
14229 * lyxlex_pimpl.C: ditto
14231 * paragraph.C (Last): remove when NEW_INSETS is defined.
14233 * other file: changes because of the above.
14235 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14237 * lyxparagraph.h: rename next to next_, previous to previous_,
14238 make them private for NEW_INSETS. Rename Next() to next(),
14239 Previous() to previous().
14241 * other files: changes because of the above.
14243 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14246 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14249 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14251 * main.C (main): pass lyx_localedir to gettext_init().
14253 * gettext.h: remove locale_init and gettext_init macros
14255 * gettext.C (locale_init): new function
14256 (gettext_init): new function
14258 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14261 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14263 * Moved credits to frontends:
14264 * credits.[Ch]: removed
14265 * credits_form.[Ch]: removed
14266 * lyx_gui_misc.C: remove credits stuff
14269 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14271 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14273 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14274 unneeded destructor.
14276 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14277 a standalone pointer again.
14279 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14281 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14287 * ToolbarDefaults.C:
14296 * BufferView_pimpl.C: use new file dialog in GUII
14299 * lyx_cb.C: remove LayoutsCB to Toolbar
14301 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14303 * ShareContainer.h (get): add std:: qualifier
14305 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14307 * ShareContainer.h: define a proper ShareContainer::value_type
14308 type (and use typename to please compaq cxx)
14310 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14312 * lyxparagraph.h: move serveral local vars to
14313 ParameterStruct/ParagraphParameters., use ShareContainer in
14314 FontTable., make vars in FontTable private and add getter and
14317 * paragraph.C: changes because of the above.
14319 * lyxfont.h: remove copy constructor and copy assignment. (the
14320 default ones is ok), move number inside FontBits. move inlines to
14323 * lyxfont.C: add number to initializaton of statics, move several
14324 inlines here. constify several local vars. some whitespace
14325 cleanup. Dont hide outerscope variables.
14327 * Spacing.h: add two new constructors to match the set methods.
14329 * ShareContainer.h: new file, will perhaps be moved to support
14331 * ParameterStruct.h: new file
14333 * ParagraphParameters.h: new file
14335 * ParagraphParameters.C: new file
14337 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14338 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14340 * BufferView_pimpl.C: ParagraphParameter changes.
14341 * buffer.C: Likewise.
14342 * bufferview_funcs.C: Likewise.
14343 * text.C: Likewise.
14344 * text2.C: Likewise.
14346 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14348 * lyxfind.C (LyXReplace): do not redefine default argument in
14350 (IsStringInText): ditto
14351 (SearchForward): ditto
14352 (SearchBackward): ditto
14354 2001-03-06 Juergen Vigna <jug@sad.it>
14356 * lyxfind.C (IsStringInText): put parentes around expressions.
14358 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14360 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14362 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14364 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14366 * stl_string_fwd.h: add comment
14368 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14371 * tabular.C: remove unused DocBook methods
14377 killed DO_USE_DEFAULT_LANGUAGE
14379 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14381 * lyx_gui.C: do not include language.h.
14383 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14384 arguments in function implementation.
14386 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14388 * BufferView_pimpl.C: add <ctime>
14390 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14392 * BufferView_pimpl.C: add using std::find_if
14394 2001-02-27 José Matos <jamatos@fep.up.pt>
14396 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14399 2001-02-11 José Matos <jamatos@fep.up.pt>
14401 * buffer.C (makeDocBookFile): command styles now have a parameter as
14402 "title" by default.
14404 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14406 * layout_forms.[Ch]: removed
14407 * lyx_cb.[Ch]: out character
14408 * lyx_gui.C: out character
14409 * lyx_gui_misc.C: out character
14410 * bufferview_funcs.C: : out character,
14411 added toggleall as parameter in ToggleAndShow
14413 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14415 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14417 * text2.C (SetCurrentFont): Disable number property at boundary.
14419 2001-02-26 Juergen Vigna <jug@sad.it>
14421 * lyxfunc.C (getStatus): added a string argument override function so
14422 that this is correctly called from LyXFunc::Dispatch if it contains a
14423 do_not_use_argument which is used!
14424 (Dispatch): added check for "custom" export and call appropriate func.
14426 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14428 * lyxrc.C: Add language_command_local, language_use_babel and
14429 language_global_options.
14431 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14433 * buffer.C (makeLaTeXFile): Use language_use_babel and
14434 language_global_options.
14436 2001-02-23 Juergen Vigna <jug@sad.it>
14438 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14439 which works with LyXText and putted it inside BufferView. Here now we
14440 only call for that part the BufferView::Dispatch() function.
14442 * BufferView.C (Dispatch): added.
14444 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14445 functions which needs to use a LyXText over from LyXFunc.
14446 (MenuInsertLyXFile): added
14447 (getInsetByCode): added
14448 (moveCursorUpdate): added
14449 (static TEXT): added
14451 2001-02-22 Juergen Vigna <jug@sad.it>
14453 * BufferView_pimpl.C (update): call a status update to see if LyXText
14456 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14458 * vc-backend.C (revert): implement for CVS
14459 (getLog): implement for CVS
14461 2001-02-20 Juergen Vigna <jug@sad.it>
14463 * text2.C (ClearSelection): added BufferView param for inset_owner call
14465 * lyxfunc.C (TEXT): added this function and use it instead of
14466 directly owner->view()-text of getLyXText().
14468 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14470 * src/layout_forms.C: out preamble
14471 * src/layout_forms.h: out preamble
14472 * src/lyx_cb.C: out preamble
14473 * src/lyx_cb.h: out preamble
14474 * src/lyx_gui.C: out preamble
14475 * src/lyx_gui_misc.C: out preamble
14476 * src/lyxfunc.C: connect with guii preamble
14478 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14480 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14482 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14484 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14485 whether to run bibtex.
14487 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14489 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14491 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14493 * Makefile.am (lyx_SOURCES): removed bibforms.h
14495 * vspace.h: doxygen
14497 * text.C (GetVisibleRow): make several local vars const
14499 * tabular.C: small cleanup.
14501 * lyxserver.C (callback): use compare instead of strncmp
14503 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14504 inlines to after class or to paragraph.C
14506 * lyxfont.h: remove friend operator!=
14508 * converter.h: move friend bool operator< to non friend and after
14511 * combox.h: small cleanup
14513 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14514 to inlines after class def.
14516 * buffer.C (pop_tag): use string operations instead of strcmp
14518 * bmtable.c: doxygen, small cleanup
14520 * LaTeX.h: remove friend operator==
14522 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14534 * BufferView_pimpl.C:
14535 * BufferView.[Ch]: remove cruft
14537 2001-02-14 Juergen Vigna <jug@sad.it>
14539 * lyxfunc.C: removed #if 0 unused code
14541 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14543 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14545 * text2.C (SetSelection): added a BufferView * parameter
14547 2001-02-13 Juergen Vigna <jug@sad.it>
14549 * lyxfunc.C (Dispatch): fixed protected blank problem.
14550 * BufferView2.C (protectedBlank): added LyxText * parameter.
14552 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14553 (AppendColumn): same as above for column_info.
14555 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14556 (moveCursorUpdate): use a LyXText param for support of InsetText.
14558 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14559 (tripleClick): ditto
14561 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14563 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14565 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14567 * text2.C (SetSelection): set correct update status if inset_owner
14568 (ToggleFree): ditto
14570 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14572 * tabular.C: remove some commented code.
14574 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14576 * BufferView_pimpl.C: call hideSplash()
14578 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14581 * bibforms.h: remove
14584 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14585 add LFUN_CHILD_CREATE
14587 * counters.h: fix tiny typo
14592 * lyx.C: move splash to frontends/xforms/
14594 * lyx_gui_misc.C: move Include and Bibform to frontends
14596 * lyxvc.h: clarify comment
14598 * vspace.C: tiny housekeeping
14600 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14602 * text.C (PrepareToPrint): RTL Fix.
14604 * paragraph.C (GetUChar): New method.
14605 (String): Use GetUChar.
14607 * buffer.C (asciiParagraph): Use GetUChar.
14609 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14611 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14613 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14616 * buffer.C: rename to getLogName(), handle
14617 build log / latex log nicely
14619 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14622 * MenuBackend.h: remove support for reference menuitem type.
14624 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14626 * BufferView_pimpl.C: housekeeping
14627 * BufferView_pimpl.h:
14632 * minibuffer.h: move Timeout GUI-I
14634 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14636 * lyxrc.C (read): Update converters data-structures.
14638 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14640 * LaTeX.h (operator!=): add operator != for Aux_Info
14642 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14644 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14646 * LaTeXLog.C: deleted, useful code moved to Buffer
14649 * buffer.C: new function getLatexLogName()
14655 * lyxfunc.C: use frontends for LaTeX and VC logs
14657 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14659 * LaTeX.h: yet another std:: that Allan forgot.
14661 * Variables.C (set): renamed from isset(), because this clashes
14662 with some HP-UX macros (grr).
14664 2001-02-06 Allan Rae <rae@lyx.org>
14666 * LaTeX.h: Another bug fix. Missing std:: this time.
14668 2001-02-04 Allan Rae <rae@lyx.org>
14670 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14671 floats problem. I've left it commented out because it's not quite
14672 correct. It should also test that the current object is a table or
14673 figure inset. But I haven't gotten around to figuring out how to do
14674 that. I *think* it'll be something like: "table" == inset.type()
14676 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14679 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14681 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14682 all the citation/databases/styles in the auxilary file.
14683 (run): Rerun latex if there was a babel language error.
14685 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14687 * text.C (Backspace): Preserve the font when changing newline char
14689 (BreakParagraph): If the cursor is before a space, delete the space.
14691 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14693 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14695 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14696 new argument (code).
14697 (ChangeCitationsIfUnique): New method.
14699 * paragraph.C (GetPositionOfInset): Handle bibkey.
14701 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14703 * BufferView_pimpl.h: change type of Position::par_pos to
14704 LyXParagraph::size_type.
14706 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14708 * BufferView_pimpl.C (savePosition, restorePosition): Write
14709 messages to minibuffer.
14711 2001-01-28 José Matos <jamatos@fep.up.pt>
14713 * buffer.C (makeDocBookFile): adds support for document language.
14714 A silly restriction on the name of LatexCommand types where removed.
14715 Added support for CDATA sections, allows to chars unescaped, used
14716 among others in code, to avoid escape < and >.
14718 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14720 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14721 saved positions instrad of a stack. Furthermore, a position is
14722 stored using paragraph id/paragraph position.
14724 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14725 Remove LFUN_REF_BACK.
14727 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14729 * converter.C (dvipdfm_options): New method.
14731 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14733 * vspace.C (isValidLength): Fix for empty input string.
14735 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14737 * LyXAction.C (init): change description of LFUN_FIGURE to
14740 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14742 * LaTeX.C: add using directive
14744 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14746 * MenuBackend.C (expand): Fix the sorting of the formats.
14748 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14750 * lyx_main.C: tiny error message fix
14752 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14754 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14755 calling fl_initialize(). This fixes the problem with ',' as
14756 decimal separator in text files.
14758 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14760 * trans.C (process): Fix the keymap bug.
14762 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14764 * LaTeX.C (scanAuxFiles): New method. Provides support for
14765 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14766 (scanLogFile) Scan for "run BibTeX" messages.
14768 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14769 OT1 font encoding. Also, load the aecompl package if the ae
14772 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14774 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14776 * texrow.C (increasePos): turn two error messages into debug
14779 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14781 * LaTeX.C (scanAux): Handle the \@input macro.
14782 (runBibTeX): Use scanAux().
14784 * language.C (latex_options_): New field.
14786 * LaTeXFeatures.C (getMacros): Add language macros.
14788 * buffer.C (makeLaTeXFile): Small fix.
14790 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14792 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14794 * text2.C: add a using directive.
14796 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14801 * lyxfunc.C: kill LyXBell.
14803 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14805 * text.C (IsBoundary): Remove the error message
14807 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14809 * lyxrc.C (setDefaults): Correct initialization value for
14812 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14814 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14817 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14818 and GotoNextNote().
14820 * src/LyXAction.C: Added reference-next.
14822 * text.C (InsertChar): Use contains instead of strchr.
14824 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14826 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14828 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14829 alignment commands (when needed).
14831 * text.C (InsertChar): Add ':' to number separator chars.