1 2004-01-07 Angus Leeming <leeming@lyx.org>
4 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
6 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
8 * text.C (breakParagraph): remove an outdated #warning
10 2004-01-07 André Pönitz <poenitz@gmx.net>
12 * lyxfind.C: somewhat clearer logic
14 * text.C: prevent crash in cursorX on unitialized row cache
16 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
18 * lyxcursor.[Ch] (operator>): add
19 * textcursor.C (selStart, selEnd): use std::min and std::max
21 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
23 * Chktex.C: include boost/format.hpp
25 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
27 * InsetList.C: replace functor MathcIt with adaptable functor
29 (insetIterator): modify accordingly
31 * BranchList.h: move the BranchNamesEqual functor here from...
32 * BranchList.C: ... to here
34 * BranchList.C: new BranchListEqual fuctor, use it. Remove
36 (add): replace a finding loop with std::find_if.
38 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
40 * output_docbook.C: moving LatexParam functionality into
43 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
45 * buffer.C: increment format to 229.
47 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
50 * lyx_sty.[Ch]: remove minipageindent_def
56 * text3.C: remove LFUN_INSET_MINIPAGE
58 2003-12-28 Angus Leeming <leeming@lyx.org>
60 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
62 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
64 * text2.C (setParagraph): fix off-by-one crash
66 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
68 * output_docbook.C: header stuff for AGU
70 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
72 * text2.C (redoCursor): remove
75 * BufferView_pimpl.C: remove calls to redoCursor and
76 setCursor(cursor.par(), cursor.pos()) all around
78 2003-12-15 Angus Leeming <leeming@lyx.org>
80 * buffer.C: up the format to 228.
82 2003-12-15 André Pönitz <poenitz@gmx.net>
84 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
98 2003-12-15 Angus Leeming <leeming@lyx.org>
100 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
101 than getFromGUIName to manipulate the color.
103 2003-12-14 Angus Leeming <leeming@lyx.org>
105 * BranchList.[Ch]: minimize the API.
106 (Branch::getBranch, getColor): now return a 'const &'.
107 (Branch::setSelected) now returns a bool set to true if the
108 selection status changes.
109 (BranchList::clear, size, getColor, setColor, setSelected,
110 allBranches, allSelected, separator): removed.
111 (BranchList::find): new functions, returning the Branch with
113 (BranchList::add, remove): return a bool indicating that
114 the operation was successful.
116 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
117 new InsetBranch::isBranchSlected member function.
119 * LColor.[Ch]: mimimize the API.
120 (fill): renamed as addColor and made private.
121 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
122 versions of these functions taking a string arg have been removed.
124 * bufferparams.C (readToken):
125 * lyxfunc.C (dispatch):
126 * lyxrc.C (read): changes due to the altered BranchList and
129 * factory.C (createInset, readInset): changes due to altered
132 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
135 * lyxfunc.C: remove insetminipage. "minipage-insert"
136 now produces a frameless minipage box inset.
138 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
140 * textcursor.[Ch] (selStart,selEnd): add new methods
141 remove selection::start, end, use LyXCursor::operator<
142 * lyxcursor.[Ch] (operator<): add
143 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
144 * BufferView.[Ch] (unsetXSel): add
145 * text2.C (clearSelection): use unsetXSel,adjust
148 * rowpainter.C: adjust
149 * bufferview_funcs.C (put_selection_at): adjust
151 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
153 * BufferView_pimpl.C: small coord. correction
155 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
157 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
158 dragging over the splash screen.
160 2003-12-11 Angus Leeming <leeming@lyx.org>
162 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
163 as it is now handled in LyXText::dispatch.
165 * text3.C (doInsertInset): remove a level of nesting.
167 2003-12-11 Angus Leeming <leeming@lyx.org>
169 * factory.C (createInset): changes due to the changed interface to
170 InsetCommandMailer::string2params.
172 2003-12-10 Angus Leeming <leeming@lyx.org>
174 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
175 'dialog-show-new-inset <inset name>'
177 2003-12-10 Angus Leeming <leeming@lyx.org>
179 * buffer.C: up the format to 227.
181 * factory.C: the box inset is now identified simply by 'Box'.
183 2003-12-10 Angus Leeming <leeming@lyx.org>
185 * buffer.C: up the format to 226.
187 * factory.C: the note inset is now identified simply by 'Note'.
189 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
191 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
192 when a pit is enough. Standarize a couple of loops.
194 2003-12-05 Angus Leeming <leeming@lyx.org>
196 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
197 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
198 data to the re-worked "log" dialog.
200 2003-12-03 André Pönitz <poenitz@gmx.net>
208 * text2.C: use Inset::getText instead of Inset::getParagraph
210 2003-12-03 André Pönitz <poenitz@gmx.net>
214 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
215 InsetText::read() as LyXText::read()
217 2003-12-02 Angus Leeming <leeming@lyx.org>
219 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
220 type. Add a comment in the implementation that the function uses
221 the stream's bad() function rather than fail() as the std::streams
224 2003-12-02 André Pönitz <poenitz@gmx.net>
226 * lyxlex.[Ch]: make interface more similar to std::stream
228 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
230 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
232 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
234 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
236 * vspace.[Ch]: remove VSpace::NONE
238 2003-12-01 André Pönitz <poenitz@gmx.net>
241 * lyxtext.h: move ParagraphList member to LyXText
242 rename LyXText::ownerParagraphs to LyXText::paragraph
245 * bufferview_funcs.C:
255 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
257 * undo.C: fix cursor positioning
259 2003-12-01 John Levon <levon@movementarian.org>
261 * BufferView_pimpl.C: fix a crash on exit with
264 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
266 * BranchList.C: fix setSelected() method.
268 2003-11-28 André Pönitz <poenitz@gmx.net>
270 * ParagraphParameters.[Ch]:
271 * ParameterStruct.h: remove space above/below from Paragraph to
274 * BufferView_pimpl.C:
286 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
288 * factory.C: Syntax change for CharStyles
290 2003-11-28 André Pönitz <poenitz@gmx.net>
295 * buffer.[Ch]: move LyXText member
297 2003-11-28 André Pönitz <poenitz@gmx.net>
299 * BufferView.[Ch]: make LyXText * text a private member
301 * BufferView_pimpl.C:
312 * output_plaintext.C: cleanup
314 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
317 * lyxtextclass.[Ch]: parametrize SGML document header
319 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
322 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
325 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
327 * text2.C (setFont): rework using PosIterator (no more recursive)
328 (setCharFont): no more needed
329 (setLayout): no more selection cursors fiddling (done by redoCursor)
330 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
331 destroy remaining ones)
333 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
335 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
337 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
340 * text3.C: adjust + re-allow multi par depth changes
341 * textcursor.C: simplify a bit
343 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
349 * src/output_docbook.C:
350 * src/output_latex.C:
355 * src/text2.C: Introducing a number of tags parametrizing various
356 XML formats that we may want to support
358 2003-11-25 André Pönitz <poenitz@gmx.net>
360 * InsetList.[Ch] (begein, end): inline as suggested by profiler
362 * lyxtext.h (leftMargin/rightMargin): simplify interface
369 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
371 * lyxfunc.C (dispatch): propogate the bibtex databases from the
372 master file to any child files. Fixes bug 546.
374 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
376 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
378 2003-11-24 André Pönitz <poenitz@gmx.net>
380 * rowpainter.C: simplification
382 * text2.C (updateCounters): remove call to redoParagraph on
383 changed labels as this is far too expensive.
385 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
387 * converter.C (convert): fix a crash: this function gets
388 called with buffer == 0 from importer code.
390 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
392 * text3.C (cursorPrevious): make sure that we do not compare
393 iterators form different containers.
396 * rowpainter.C (paintSelection): make sure that we do not compare
397 iterators from different containers.
399 * text3.C (dispatch): [PRIOR] make sure that we do not compare
400 iterators from different ParagraphList containers.
403 * text2.C (LyXText): change order of initialization slightly
404 (operator=): new function. copy all variables except cache_par_
405 (moveUp): make sure that we do not compare iterators from
406 different ParagraphList constainers.
409 * text.C (firstPar): new function
410 (lastPar): new function
411 (endPar): new function
413 * lyxtext.h: move things around and group public functions, public
414 variables, private functions, private variables
416 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
418 * factory.C: change call to InsetERT constructor to avoid
419 additional invocation of method status
420 * text2.C (toggleInset): remove redundant update() call
421 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
422 instead of a Bufferview pointer
424 2003-11-21 André Pönitz <poenitz@gmx.net>
426 * rowpainter.C: simplification
428 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
430 * text3.C (dispatch): make possible to extend a word/row selection
433 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
435 * lyxtext.h: x0_,y0_ -> xo_,yo_
436 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
437 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
438 * rowpainter.C (paintRows): paint full paragraphs
440 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
442 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
445 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
447 * lyxtext.h: add x0_, y0_
448 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
449 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
451 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
453 * text2.C (setCursorIntern): move the x_target update here *
454 * text3.C: change some bv() to true/false in calls to
455 cursorUp/Down/Right/Left
456 * cursor.C: use helper function.
458 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
460 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
461 * paragraph_funcs.[Ch]: correct comment
462 * rowpainter.C: do not paint selections away from bv->cursor()
463 Fix a long standing selection painting bug.
464 * text3.C: generalize mouse-selection code to LyXTexts other that
466 * textcursor.C: do not use y coords if we can use par offsets
468 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
470 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
471 cursor position after e.g. inset insert)
473 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
475 * lyxfind.C (replace): adjust to locking removal + some
478 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
480 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
483 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
486 * output_docbook.C: XML sanitation: new layout
487 parameters InnerTag and CommandDepth
489 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
491 * BufferView_pimpl.C:
493 * text3.C: Fix the insertion and modification of button-style
496 2003-11-13 André Pönitz <poenitz@gmx.net>
498 * InsetList.[Ch]: remove deleteLyXText
500 * paragraph.[Ch]: cache beginOfBody position
505 * text3.C: remove superfluous update() calls
509 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
511 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
512 * BufferView.C (fitLockedInsetCursor): remove
513 * cursor.[Ch] (getDim): add
514 * text.C (getRowNearY): add faster version
515 * text3.C: remove some update calls
517 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
529 * text3.C: The Character Style /XML short element patch.
531 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
534 * factory.C: Small step to solving 'unable to insert some insets'
537 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
539 * cursor.[Ch] (updatePos): new function for updating the y
540 position of the tip inset
541 * bufferview_funcs.C (put_selection_at):
542 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
544 2003-11-11 André Pönitz <poenitz@gmx.net>
546 * text.C: remove big comment on invalid Paragraph pointers as it is
549 2003-11-11 André Pönitz <poenitz@gmx.net>
551 * text_funcs.[Ch]: merge with ...
559 * Makefile.am: remove text_funcs.[Ch]
561 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
563 * cursor.C (getPos): return absolute cached y coord
565 * BufferView_pimpl.C (fitCursor): new simplistic code
566 (workAreaDispatch): add a fitCursor call
568 2003-11-10 André Pönitz <poenitz@gmx.net>
571 * BufferView_pimpl.[Ch]: merge update() and updateInset()
573 2003-11-10 André Pönitz <poenitz@gmx.net>
575 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
576 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
577 indicate that the cursor needs to leave an inset
579 * lyxtext.h: remove inset locking
581 * cursor.[Ch]: re-implement functionality provided by inset locking
584 * BufferView_pimpl.[Ch]:
586 * bufferview_funcs.[Ch]:
598 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
600 * PosIterator.[Ch]: replace the stack with a vector, add inset
602 * iterators.[C]: adjust
604 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
606 * lyxfind.C (replaceAll): mark the buffer dirty if something was
608 * paragraph_funcs.C (readParToken): put the correct id in the
609 error item, not the id of the top paragraph
611 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
613 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
614 * bufferview_funcs.C (put_selection_at): use the above
616 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
618 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
620 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
623 * output_plaintext.h:
625 * output_docbook.h: add #include statements
627 2003-11-05 José Matos <jamatos@lyx.org>
629 * output_docbook.[Ch]:
631 * output_linuxdoc.[Ch]:
632 * output_plaintext.[Ch]: New files for output formats.
633 * output.[Ch]: New file for helper functions.
636 * paragraph_funcs.[Ch]: output functions moved to new files.
638 * outputparams.h: rename of latexrunparams.h
646 * paragraph_funcs.[Ch]:
647 * paragraph_pimpl.[Ch]:
648 * tabular.[Ch]: rename ascii to plaintext
649 and LatexRunParams to OutputParams.
651 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
653 * iterators.[Ch] (text): require bv argument
654 * undo.C (recordUndo):
655 * lyxfunc.C (dispatch):
656 * bufferview_funcs.C (put_selection_at): adjust
658 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
660 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
662 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
664 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
667 2003-11-04 André Pönitz <poenitz@gmx.net>
669 * cursor.[Ch]: restructure
672 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
674 * iterators.[Ch] (asCursor): remove
676 * lfuns.h: remove LFUN_INSET_EDIT
682 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
684 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
686 * lyxfind.[Ch]: complete overhaul
687 * BufferView_pimpl.C:
689 * paragraph.[Ch] (insert): add
691 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
695 * text.C: remove dead spellcheck code
697 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
699 * dispatchresult.h: add a val setter
701 * cursor.C (dispatch): use a tempvar for data_[i]
703 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
705 * PosIterator.[Ch]: compile fix
707 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
709 * text.C (cursorPar): deactivate the cursor cache
711 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
713 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
715 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
717 * text3.C (dispatch): adjust for new DisptchResult semantics.
719 * lyxfunc.C (dispatch): handle update when return from
720 Cursor::dispatch, adjust for new DispatchResult semantics.
722 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
723 DispatchResult(true) mean to not update. Add class functions for
724 setting dispatched and update, as well as reading.
726 * cursor.C (dispatch): don't handle update here
728 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
730 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
731 * trans_mgr.C: adjust
733 * paragraph_funcs.C (readParToken): exception safety
735 * lyxvc.h: store the vcs pointer in a scoped_ptr
738 * lyxsocket.C (serverCallback): exception safety
740 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
742 * ispell.C (clone): make it return a auto_ptr
744 * factory.C (createInset): exception safety
745 (readInset): exception safety
747 * bufferlist.C (newBuffer): exception safety
749 * Thesaurus.C (Thesaurus): use initialization for aik_
751 * MenuBackend.C (expandToc): exception safety.
753 2003-11-03 André Pönitz <poenitz@gmx.net>
757 * bufferview_funcs.C: remove getInsetFromId()
760 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
766 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
768 * PosIterator.C (distance, advance): new
769 * bufferview_funcs.[Ch] (put_selection_at): new
770 * iterators.[Ch] (lockPath): new
772 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
774 * iterators.[Ch] (asPosIterator): added
775 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
776 * PosIterator.[Ch]: added
778 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
782 * cursor.C (dispatch):
783 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
785 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
786 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
787 contructor, add a class function dispatched. Remove operator>=
789 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
791 * debug.C: only use the default constructor for debugstream
794 * main.C (main): include debug.h and setup the lyxerr streambuf
797 2003-10-31 José Matos <jamatos@lyx.org>
799 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
801 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
802 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
803 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
804 * paragraph_pimpl.C (simpleTeXSpecialC):
805 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
806 add LatexRunParams argument.
808 * exporter.C (Export): change call accordingly.
810 * latexrunparams.h: add new member to take care of the other backends.
811 2003-10-30 José Matos <jamatos@lyx.org>
813 * buffer.C (makeLinuxDocFile, makeDocBookFile):
814 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
815 factorise code for paragraph output.
817 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
820 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
822 * text3.C (dispatch):
823 * lyxfunc.C (dispatch):
824 * cursor.C (dispatch):
825 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
827 * dispatchresult.h: make the dispatch_result_t ctor explicit
829 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
832 * buffer.C: small refactoring of docbook stuff
834 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
836 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
839 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
841 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
842 operator dispatch_result_t, and operators for == != and >=
844 * cursor.C (dispatch): adjust for operator dispatch_result_t
845 removal. comment out call to update
847 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
849 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
857 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
860 * dispatchresult.h: new file, DispatchResult broken out of
863 * Makefile.am (lyx_SOURCES): add dispatchresult.h
865 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
867 * text.C (rowBreakPoint): put a hack inside #if 0
869 2003-10-28 André Pönitz <poenitz@gmx.net>
876 * text2.C: general cleanup (lots of small stuff)
878 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
880 * text2.C (cursorEnd): simple fix to the "end key goes to one
881 before the end on last row" bug
883 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
885 * text.C (backspace): fix the "zombie characters"
887 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
889 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
891 2003-10-27 André Pönitz <poenitz@gmx.net>
893 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
895 * factory.C: handle new InsetPagebreak, InsetLine
897 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
898 and move handling into new InsetPagebreak, InsetLine
900 * BufferView_pimpl.C:
902 * ParagraphParameters.C:
915 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
924 * text3.C: remove lastPos uses in favour of Row::endpos
926 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
928 * undo.C (performUndoOrRedo): fix two crashes by setting a
929 cursor by hand and reordering some calls. Use bv->lockInset instead
930 of inset->edit because the latter loses cursor information
932 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
934 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
936 (rowBreakPoint): fix width. change point to point + 1.
939 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
942 * lyxfunc.C: fix (at least partly) the problems
943 with the Nav menu and headers inside branch insets
946 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
948 * paragraph.C (getChar): add strong asserts
950 * lyxrow_funcs.C (lastPos): remove hideous hack
952 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
953 (fill): adjust to that (avoid an infinite loop)
955 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
957 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
959 2003-10-23 André Pönitz <poenitz@gmx.net>
961 * RowList_fwd.h: change list<> to vector<> to gain speed
962 after suggestion from Alfredo
964 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
966 * lyxtext.h: move the bidi stuff from here...
969 * Bidi.[Ch]: ... to here
971 2003-10-23 André Pönitz <poenitz@gmx.net>
974 * text.C (isLastRow, isFirstRow): new functions
976 * paragraph.h: new width cache member
978 * rowpainter.C: replace RowList::iterator with Row & where possible
980 * lyxfunc.C: replace several view()->text with a single call
982 * toc.C: fix 'unused' warning
984 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
986 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
987 when woring with stream::pos_type
988 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
990 2003-10-22 André Pönitz <poenitz@gmx.net>
993 * text.C: use Row & instead of RowList::iterator
995 * lyxrow.h: rename end() to endpos()
1001 2003-10-22 Angus Leeming <leeming@lyx.org>
1003 * buffer.[Ch] (fully_loaded): new member function, returning true
1004 only when the file has been loaded fully.
1005 Used to prevent the premature generation of previews and by the
1006 citation inset to prevent computation of the natbib-style label.
1008 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1009 templates are all set up.
1011 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1013 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1015 * text.C: fixed an "oops" in the "is a bit silly"
1018 2003-10-21 André Pönitz <poenitz@gmx.net>
1020 * FuncStatus.[Ch]: small stuff, whitespace
1022 * lyxfont.[Ch]: operator<<() for debug reasons
1026 * lyxtext.h: whitespace, spelling
1028 * paragraph.C: naming of variables
1031 * text2.C: small stuff
1034 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1036 * text.C: (1) finish off the inset display() work;
1037 (2) fix the "is a bit silly" bug (accessing char
1040 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1042 * text.C: re-introduce display() for insets, fixing the
1043 various bugs (stretch of line above, math inset
1046 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1048 * text.C (rightMargin): remove spurious semicolon
1050 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1053 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1055 * text3.C: fix one crash due to wrong cursor def
1057 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1059 * vc-backend.C (scanMaster): make the regex static
1061 * LaTeX.C (scanAuxFile): make the regexs static
1063 * text3.C (doInsertInset, dispatch, dispatch):
1064 * text2.C (cursorUp, cursorDown):
1065 * text.C (selectNextWordToSpellcheck):
1066 * BufferView_pimpl.C (dispatch):
1067 * lyxfunc.C (dispatch): localDispatch -> dispatch
1069 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1071 * lyxsocket.C: include <cerrno>
1073 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1075 * lyxfunc.C (dispatch): remove textcache stuff
1077 * bufferlist.C (release): remove textcache stuff
1080 * TextCache.C: delete file
1081 * TextCache.h: delete file
1083 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1085 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1086 delete of the bv_->text.
1087 (resizeCurrentBuffer): remove texcache stuff
1088 (workAreaResize): ditto
1090 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1092 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1095 2003-10-16 André Pönitz <poenitz@gmx.net>
1102 * text3.C: speed up by storing y positions per paragraph plus per-row
1103 offset instead of having a 'full' y position in the row.
1105 2003-10-15 André Pönitz <poenitz@gmx.net>
1109 * undo.[Ch]: make undo aware of inner insets
1111 2003-10-14 Angus Leeming <leeming@lyx.org>
1113 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1114 static member functions LyX::ref() and LyX::cref.
1115 (lastfiles): new accessor functions for the new lastfiles_ member var.
1116 (addLyXView, views_): add a new LyXView to the list of views_.
1117 (updateInset): loop over all LyXViews to call their own updateInset
1118 member function, returning a pointer to the Buffer owning the inset.
1120 * BufferView_pimpl.C (loadLyXFile):
1121 * MenuBackend.C (expandLastfiles):
1122 * bufferlist.C (MenuWrite, QuitLyX):
1123 lastfiles is no longer a global variable.
1124 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1126 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1127 static function. Access through LyX::cref().emergencyCleanup().
1129 2003-10-14 André Pönitz <poenitz@gmx.net>
1131 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1133 * undo.[Ch]: restoring part of 'undo in insets'
1136 * undo_funcs.[Ch]: merge with undo.[Ch]
1138 * tabular.C: small cleansing stuff
1140 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1142 * paragraph_funcs.C (readParToken): report unknown insets as error
1143 boxes. Use the outer paragraph as location (also for unknown
1146 * factory.C (readInset): do not abort on reading an unknown inset.
1147 Eat it and return 0.
1149 2003-10-13 Angus Leeming <leeming@lyx.org>
1151 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1153 * lyxrc.C: displayTranslator is now a function,
1154 declared in GraphicsTypes.h.
1156 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1158 * format.C: new placeholder $$a to pass the socket address.
1160 * bufferlist.[Ch]: new function getBufferFromTmp.
1162 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1163 files in the temporary dir.
1165 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1167 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1169 * Makefile.am: add lyxsocket.[Ch].
1171 * lyx_main.C (error_handler): handle SIGPIPE.
1173 2003-10-13 André Pönitz <poenitz@gmx.net>
1175 * BufferView_pimpl.C:
1180 * undo_funcs.[Ch]: use paroffset_type instead of
1181 ParagraphList::iterators to prevent multiple conversion
1182 (and get a more robust interface)
1184 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1186 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1188 * text3.C (dispatch): ditto
1190 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1192 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1193 move the onlyfile, use onlyfile instead of foundfile in a couple
1196 * DepTable.C (update): flush the error stream a bit more
1198 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1200 * lyxserver.C (callback): adjust
1202 * lyxfunc.C (getStatus): add a missing brace in commented code
1203 (ensureBufferClean): reindent
1204 (dispatch): delete version taking a string
1206 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1208 * LaTeX.C (deplog): move found file handlig from here...
1209 (handleFoundFile): .. to new function here.
1210 (deplog): make sure to discover several files mentioned on the
1213 2003-10-10 André Pönitz <poenitz@gmx.net>
1220 * text3.C: fix some of the tabular crashes
1222 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1224 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1226 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1228 2003-10-09 André Pönitz <poenitz@gmx.net>
1230 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1233 * BufferView_pimpl.C:
1234 * bufferview_funcs.C:
1245 * undo_funcs.C: adjust
1247 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1249 * text2.C (incrementItemDepth): new function, use a backtracking
1250 algorithm to discover the correct item depth.
1251 (resetEnumCounterIfNeeded): new function, use a backtracking
1252 algorithm to discover if counter reset is needed.
1253 (setCounter): use them. Simplify a bit. Add different labels for
1254 different item depths for itemize.
1256 * paragraph.C (Paragraph): remove initialization of enumdepth
1259 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1260 enumerate and itemize. Change the type of itemdepth to signed char.
1262 2003-10-08 André Pönitz <poenitz@gmx.net>
1264 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1269 * tabular.[Ch]: fix crash after 'row-insert'
1271 2003-10-08 Angus Leeming <leeming@lyx.org>
1273 Fix doxygen warnings.
1275 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1276 Remove CutAndPaste:: prefix from header file declaration.
1278 * LColor.h (fill): remove LColor:: prefix from declaration.
1280 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1281 use lyx::depth_type rather than Paragraph::depth_type so that
1282 header file and .C file match.
1284 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1286 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1287 * aspell.C: \file aspell_local.C -> \file aspell.C
1288 * gettext.C: \file gettext.C -> \file src/gettext.C
1289 * gettext.h: \file gettext.h -> \file src/gettext.h
1290 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1291 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1292 * text.C: \file text.C -> \file src/text.C
1294 * toc.C: move comment so that doxygen is not confused.
1296 2003-10-07 Angus Leeming <leeming@lyx.org>
1298 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1300 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1303 * aspell_local.h: add forgotten std::string's.
1305 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1312 * text3.C: The Box patch. Fancybox support, minipage, parbox
1314 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1320 * ParagraphParameters.h:
1330 * lyxtextclasslist.h:
1333 * paragraph_pimpl.C:
1334 * textcursor.h: add <string> and other small fixes to make Lars'
1335 std::string patch compile with STLport.
1337 2003-10-06 Angus Leeming <leeming@lyx.org>
1339 * LColor.h: Add missing #include <string>.
1341 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1343 * All most all file in all subdirs: Make <string> be the prefered
1344 way of getting to std::string, add using declarations.
1346 2003-10-06 André Pönitz <poenitz@gmx.net>
1348 * metricsinfo.C: initialize LyXFont before changing attribute.
1349 (fixes the 'math in \emph is upright' bug)
1351 2003-10-06 André Pönitz <poenitz@gmx.net>
1353 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1355 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1358 * paragraph_pimpl.C: Small fixes to build using STLport
1360 2003-10-02 André Pönitz <poenitz@gmx.net>
1363 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1365 2003-10-01 André Pönitz <poenitz@gmx.net>
1367 * factory.C: assert early
1369 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1371 * lyx_main.C: remove the global debug object
1373 * debug.h: adjust for new debugstream
1375 * debug.C: adjust for new debugstream and keep the global debug
1378 2003-09-22 Angus Leeming <leeming@lyx.org>
1380 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1381 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1382 an incomplete class LyXFont.
1384 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1386 * factory.C: bug fix in branches
1388 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1390 * lyxfunc.C (processKeySym): adjust
1392 (dispatch): change arg name from ev to func, adjust
1393 (sendDispatchMessage): ditto
1395 * lyx_main.C (defaultKeyBindings): adjust keybindings
1396 (deadKeyBindings): ditto
1398 * kbsequence.C (addkey): return a FuncRequest
1400 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1402 * kbmap.C (bind): take a FuncRequest as arg, adjust
1405 (defkey): change to take a FuncRequest as arg, adjust
1406 (findbinding): take a FuncRequest as arg, adjust.
1408 * funcrequest.h (operator=): added
1410 * funcrequest.C (FuncRequest): default kb_action changed from
1411 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1413 * buffer.C (dispatch): simplify
1414 (dispatch): adjust to take a FuncRequest as arg, adjust
1416 * boost.C (assertion_failed): change assertion message slightly
1418 * ToolbarBackend.C (read): simplify
1420 * MenuBackend.C (binding): adjust call to findbinding, add a
1421 message if no binding is found.
1423 (expandToc): correct by adding a empty FuncRequest
1425 * LyXAction.C: include <boost/assert.hpp>
1426 (isPseudoAction): delete function
1427 (LookupFunc): change name to...
1428 (lookupFunc): this. change return type to FuncRequest.
1429 (getActionName): take kb_action as arg, simplify
1430 (funcHasFlag): add an assert, simplify.
1432 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1434 * toc.C (action): return a FuncRequest, simplify
1436 * lyxfunc.C (processKeySym): adjust
1437 (getStatus): delete version that takes an int.
1439 (dispatch): delete version that takes action as int
1441 (sendDispatchMessage): simplify and adjust
1443 * funcrequest.C (getArg): take unsigned int as arg
1445 * ToolbarBackend.C (read): adjust
1446 (add): delete version that takes func as a string.
1447 (getIton): take a FuncRequest as arg
1449 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1452 * MenuBackend.C (MenuItem): add a new construct that only takes a
1453 Kind, simplify the constructor use for submenus.
1455 (expandLastfiles): adjust
1456 (expandDocuments): adjust
1457 (expandFormats): adjust
1458 (expandFloatListInsert): adjust
1459 (expandFloatInsert): adjust
1460 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1462 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1463 Remove class variables lyx_pseudo_map and lyx_arg_map
1465 * LyXAction.C (searchActionArg): delete function
1466 (getPseudoAction): delete function
1467 (retrieveActionArg): delete function
1468 (LookupFunc): make it return kb_action, simplify.
1469 (getActionName): simplify
1471 * factory.C (createInset): fix new bug
1473 2003-09-19 Angus Leeming <leeming@lyx.org>
1475 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1476 masterFilename_ parameter in the include inset.
1478 * factory.C (createInset): changes due to the changes to InsetInclude.
1480 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1482 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1484 2003-09-18 Angus Leeming <leeming@lyx.org>
1487 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1488 Inset::fillWithBibKeys.
1489 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1491 2003-09-18 Angus Leeming <leeming@lyx.org>
1493 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1495 (ctor): pass and store a 'Buffer const &'
1496 (buffer): new member function.
1498 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1499 '*this' to the LaTeXFeatures ctor.
1501 2003-09-18 Angus Leeming <leeming@lyx.org>
1507 * text.C: rename EnumLColor as LColor_color.
1509 2003-09-18 Angus Leeming <leeming@lyx.org>
1511 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1512 remove #include "insets/insetbase.h" from cursor.h.
1514 2003-09-18 Angus Leeming <leeming@lyx.org>
1516 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1517 InsetOld_code to remove #include "inset.h".
1519 * iterators.C: add #include "insets/inset.h"
1521 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1523 * BufferView.C: remove more locking stuff that apparently doesn't
1524 do anything sensible.
1526 2003-09-16 André Pönitz <poenitz@gmx.net>
1529 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1532 2003-09-16 Angus Leeming <leeming@lyx.org>
1534 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1536 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1539 * paragraph.h: remove #include "lyxfont.h". Forward declare
1542 2003-09-16 Angus Leeming <leeming@lyx.org>
1544 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1545 of support/textutils.h.
1546 (isWord): move the contents of support/textutils.h's IsWordChar here.
1552 * text2.C: add #include "paragraph.h".
1555 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1557 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1563 * LaTeX.C: use namespace alias for lyx::support::os
1565 2003-09-16 Angus Leeming <leeming@lyx.org>
1568 * bufferview_funcs.C:
1571 * paragraph_pimpl.C:
1573 * text.C: add #include "LColor.h".
1575 2003-09-16 Angus Leeming <leeming@lyx.org>
1577 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1578 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1580 Store the FontBits::color variable as an int rather than as an
1581 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1584 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1585 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1586 string calls together.
1588 * lyxrc.C: add #include "LColor.h".
1590 2003-09-15 Angus Leeming <leeming@lyx.org>
1592 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1595 2003-09-15 Angus Leeming <leeming@lyx.org>
1597 * LColor.h: add an EnumLColor wrapper for LColor::color.
1599 * lyxfont.[Ch] (color, setColor, realColor):
1600 * lyxtext.h, text.C (backgroundColor):
1601 pass EnumLColor args to/from the functions, rather than LColor::color
1605 * lyxtext.h: forward declare EnumLColor.
1607 * lyx_main.C: add #include "LColor.h".
1609 2003-09-15 Angus Leeming <leeming@lyx.org>
1611 * .cvsignore: add lyx-gtk.
1613 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1618 * ParagraphParameters.C
1622 * bufferview_funcs.C
1632 * vc-backend.C: remove usage of STRCONV
1634 2003-09-15 Angus Leeming <leeming@lyx.org>
1636 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1637 explicitly define the color passed to the painter.
1639 2003-09-15 Angus Leeming <leeming@lyx.org>
1641 * bufferparams.C (BufferParams): reorder member initializers to avoid
1644 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1646 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1647 * text.C (updateRowPositions): remove an unusual nop
1649 2003-09-12 André Pönitz <poenitz@gmx.net>
1651 * BufferView_pimpl.C:
1660 * Counters.[Ch]: finish the 'automatic counters' job
1662 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1664 * aspell.C: include <boost/assert.cpp> (compile fix)
1666 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1668 * boost.C (assertion_failed): use lyx::support::abort instead of
1671 2003-09-10 Angus Leeming <leeming@lyx.org>
1673 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1674 with their _fwd progeny.
1676 2003-09-09 Angus Leeming <leeming@lyx.org>
1678 134 files throughtout the source tree: replace 'using namespace abc;'
1679 directives with the appropriate 'using abc::xyz;' declarations.
1681 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1683 * boost.C (emergencyCleanup): moved here from LAssert.c
1684 (assertion_failed): new function, called by BOOST_ASSERT
1686 * several files: change Assert to BOOST_ASSERT
1688 2003-09-09 Angus Leeming <leeming@lyx.org>
1690 * buffer.[Ch]: Add an Impl class and move Buffer's member
1691 variables into it. As a result move several header files out of
1694 Add header files to lots of .C files all over the tree as a result.
1696 2003-09-09 Angus Leeming <leeming@lyx.org>
1698 * buffer.[Ch]: make Buffer's member variables private. Add
1701 Lots of changes all over the tree as a result.
1703 2003-09-08 Angus Leeming <leeming@lyx.org>
1705 * graph.C: #include <config.h>.
1707 2003-09-08 Angus Leeming <leeming@lyx.org>
1711 * BufferView_pimpl.C:
1740 * toc.C: remove redundant using directives.
1742 2003-09-07 Angus Leeming <leeming@lyx.org>
1744 * LaTeXFeatures.h: remove #include "support/types.h".
1745 * ToolbarBackend.h: remove #include <algorithm>.
1746 * changes.h: remove #include <ctime>.
1747 * debug.h: remove #include <iosfwd>.
1748 * graph.h: remove #include "support/std_string.h".
1749 * lyx_main.h: remove #include <csignal>.
1750 * lyxlex_pimpl.h: remove #include <fstream>.
1751 * sgml.h: remove #include <algorithm>, <utility>.
1752 * toc.h: remove #include "support/std_ostream.h".
1753 Add #include <iosfwd>.
1755 2003-09-07 Angus Leeming <leeming@lyx.org>
1757 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1759 * converter.h: forward declare LatexRunParams.
1760 * encoding.h: remove #include "lyxrc.h".
1761 * lyxtext.h: remove #include "LColor.h".
1762 * lyxtextclass.h: remove #include "support/types.h".
1763 * trans.h: remove #include "tex-accent.h".
1764 * trans_mgr.h: remove #include "tex-accent.h".
1765 * insets/inset.h: remove #include "support/types.h", <vector>.
1766 * insets/insetcollapsable.h: remove #include "LColor.h".
1767 * insets/insetinclude.h: remove #include "dimension.h".
1768 * insets/insetlatexaccent.h: remove #include "dimension.h".
1769 * insets/insetoptarg.h:: remove #include "insettext.h".
1770 * insets/insettext.h: remove #include "dimension.h",
1771 <boost/shared_ptr.hpp>
1773 * insets/renderers.h: add #include "dimension.h".
1774 * insets/updatableinset.h: add #include "support/types.h".
1776 * many .C files: Associated changes.
1778 2003-09-06 Angus Leeming <leeming@lyx.org>
1780 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1781 one, inside testInvariant.
1783 * PrinterParams.C: new file.
1784 * PrinterParams.[Ch]: move the function bodies out of line.
1786 2003-09-06 Angus Leeming <leeming@lyx.org>
1788 * ParagraphParameters.h: forward declare ParameterStruct rather than
1789 including its header file.
1790 (depth): moved out-of-line.
1792 2003-09-06 Angus Leeming <leeming@lyx.org>
1794 * BufferView_pimpl.h:
1797 * lyxfunc.h: forward declare LyXKeySym rather than
1798 #include "frontends/LyXKeySym.h".
1800 * BufferView_pimpl.C:
1803 * lyxfunc.C: associated changes.
1805 2003-09-06 Angus Leeming <leeming@lyx.org>
1807 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1808 As a result, can remove the #include "insets/inset.h" from BufferView.h
1810 2003-09-06 Angus Leeming <leeming@lyx.org>
1812 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1813 As a result, can remove the #include "insets/inset.h" from BufferView.h
1815 2003-09-06 Angus Leeming <leeming@lyx.org>
1821 * bufferview_funcs.C:
1822 * BufferView_pimpl.C:
1827 * ParagraphParameters.C:
1832 * frontends/controllers/ControlDocument.C:
1833 * insets/insetcaption.C: rearrange the #includes into some sort of
1836 * buffer.h: remove #includes ErrorList.h, undo.h
1838 2003-09-06 Angus Leeming <leeming@lyx.org>
1840 * support/types.h: add a 'depth_type' typedef, used to store the
1841 nesting depth of a paragraph.
1844 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1845 defining explicitly.
1848 * paragraph_funcs.h:
1849 * ParagraphParameters.h:
1850 * sgml.h: use lyx::depth_type rather than Paragraph or
1851 ParameterStruct's depth_type.
1854 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1857 * BufferView_pimpl.C:
1859 * ParagraphParameters.C:
1862 * bufferview_funcs.C:
1869 * frontends/LyXView.C:
1870 * frontends/controllers/ControlDocument.C:
1871 * frontends/controllers/ControlErrorList.C:
1872 * insets/insetbibitem.C:
1873 * insets/insetbranch.C:
1874 * insets/insetcaption.C:
1875 * insets/insetcollapsable.C:
1876 * insets/insetenv.C:
1877 * insets/insetert.C:
1878 * insets/insetfloat.C:
1879 * insets/insetfoot.C:
1880 * insets/insetfootlike.C:
1881 * insets/insetnewline.C:
1882 * insets/insetquotes.C:
1883 * insets/insettabular.C:
1884 * insets/insettext.C:
1885 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1887 * frontends/controllers/ControlChanges.C: #include "changes.h".
1889 2003-09-06 Angus Leeming <leeming@lyx.org>
1891 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1892 than #including paragraph.h.
1895 * RowList.h: deleted. Superfluous.
1905 * insets/insettext.h: use ParagraphList_fwd.h rather than
1908 * paragraph.h: don't forward declare ParagraphList.
1911 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1912 rather than ParagraphList.h. paragraph.h is still needed for the
1913 Paragraph::depth_type parameters.
1915 * textcursor.h: enable it to compile stand-alone in light of the
1918 * bufferview_funcs.C:
1930 * frontends/controllers/ControlParagraph.C:
1931 * frontends/controllers/ControlTabular.C:
1932 * insets/insetmarginal.C:
1933 * insets/insetminipage.C:
1934 * insets/insetnote.C:
1935 * insets/insetoptarg.C: add header files needed to compile again.
1937 2003-09-06 Angus Leeming <leeming@lyx.org>
1939 * RowList_fwd.h: new file, forward-declaring Row rather than
1940 #including lyxrow.h.
1945 * insets/insettext.h: use it instead of RowList.h
1947 * bufferview_funcs.C:
1954 * text3.C: #include "RowList.h".
1956 2003-09-05 Angus Leeming <leeming@lyx.org>
1958 * factory.C (createInset):
1959 * vspace.C (c-tor): replace sscanf call with an istringstream.
1960 * ispell.C: re-add missing HP/UX headers.
1961 * lyxserver.C: re-add missing os2 headers.
1963 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1972 * text3.C: re-add missing system headers, needed for 2.95.2.
1974 2003-09-05 Angus Leeming <leeming@lyx.org>
1976 Changes most place everywhere due to the removal of using directives
1977 from support/std_sstream.h.
1979 2003-09-05 Angus Leeming <leeming@lyx.org>
1981 Replace LString.h with support/std_string.h,
1982 Lsstream.h with support/std_sstream.h,
1983 support/LIstream.h with support/std_istream.h,
1984 support/LOstream.h with support/std_ostream.h.
1986 Changes resulting throughout the tree.
1988 2003-09-05 Angus Leeming <leeming@lyx.org>
1990 * sgml.h: ensure that the header file can be compiled stand-alone.
1991 * *.C: strip out redundant #includes. (320 in total.)
1993 2003-09-04 Angus Leeming <leeming@lyx.org>
1995 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1996 here (from getPackages).
1998 * debug.[Ch]: add a new EXTERNAL tag.
2000 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2002 * text2.C (cursorEnd): simplify
2004 (getColumnNearX): adjust
2006 * text.C (computeBidiTables): adjust
2009 * rowpainter.C (paintChars): adjust
2010 (paintSelection): adjust
2011 (paintChangeBar): adjust
2014 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2016 (numberOfSeparators): adjust
2018 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2024 * text3.C: Restricts the mouse click functionality
2025 of insets like bibtex, include, toc and floatlist to the visible
2026 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2027 up the dialogs. Cursor has to be in front of the inset (i.e.
2028 start of row) for this to function.
2030 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2032 * bufferview_funcs.C (currentState): output row information
2034 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2036 * bufferview_funcs.C (currentState): output paragraph position
2038 2003-09-04 Angus Leeming <leeming@lyx.org>
2040 * FloatList.h: move out #include "Floating.h".
2041 * LaTeX.h: move out #include "DepTable.h".
2042 * LyXAction.h: move out #include "funcrequest.h".
2043 * buffer.h: move out #include "author.h", "iterators.h".
2044 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2045 * lyx_main.h: move out #include "errorlist.h".
2046 * lyxfunc.h: move out #include "FuncStatus.h".
2047 * lyxtext: move out #include "lyxcursor.h".
2048 * paragraph_pimpl.h: move out #include "counters.h".
2050 2003-09-03 Angus Leeming <leeming@lyx.org>
2052 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2053 preamble_snippets list, enabling us to add snippets to the preamble
2054 only if the snippet was not there already.
2056 2003-09-04 Angus Leeming <leeming@lyx.org>
2058 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2060 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2062 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2065 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2067 * BranchList.C: point fix, earlier forgotten
2069 2003-09-02 Angus Leeming <leeming@lyx.org>
2071 * box.C (contains): renamed from 'contained' after a fantastic
2074 2003-09-02 John Levon <levon@movementarian.org>
2080 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2082 2003-09-02 John Levon <levon@movementarian.org>
2084 * text2.C: simplification of cursorEnd(), including partial
2087 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2089 * buffer.C (readFile): add a space
2091 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2093 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2095 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2097 * buffer.C (readFile): new function, take a filename and a
2098 ParagraphList::iterator
2100 (readFile): adjust, make it private. don't use setStream, make
2101 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2102 always contain the filename.
2104 * BufferView.C (insertLyXFile): simplify and make it work for
2107 2003-08-30 John Levon <levon@movementarian.org>
2109 * Makefile.am: fix dist (from Kayvan)
2111 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2113 * most files: change to use const Buffer refs
2115 2003-08-27 André Pönitz <poenitz@gmx.net>
2117 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2118 on top of ownerPar().
2120 2003-08-27 John Levon <levon@movementarian.org>
2122 * funcrequest.C: properly initialise POD members
2124 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2126 * lyxtext.h (top_y): move top_y from here
2131 * BufferView_pimpl.[Ch]: to here
2132 * frontends/screen.C:
2133 * insets/insettabular.C:
2134 * insets/insettext.C: adjust
2135 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2137 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2140 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2142 2003-08-26 André Pönitz <poenitz@gmx.net>
2144 * paragraph_func.[Ch] (outerPar): new function
2147 * paragraph_funcs.C:
2148 * paragraph_funcs.h:
2149 * paragraph_pimpl.C:
2150 * text2.C: remove Inset::par_owner
2152 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2157 * text2.C: eliminates the needFullRow/display() stuff
2158 altogether, putting the logic in metrics/draw in the insets.
2160 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2162 * text2.C (redoParagraphInternal, redoParagraphs):
2163 * text.C (redoParagraph): add a call to updateRowPositions at the
2164 end of each 'metrics-like' call. Remove all others.
2165 (getRow): remove the 'y-computing' version.
2166 (getRowNearY): do not compute nor return the real y. Solve the
2167 'y < 0' problem and simplify.
2169 2003-08-22 Angus Leeming <leeming@lyx.org>
2171 * *.[Ch]: clean-up of licence and author blurbs.
2172 Also move config.h out of a few .h files and into a few .C files.
2174 2003-08-22 André Pönitz <poenitz@gmx.net>
2176 * lyxrow.[Ch]: add x_ and *fill_ members
2181 * text2.C: adjust/remove prepareToPrint() calls
2183 2003-08-22 André Pönitz <poenitz@gmx.net>
2185 * lyxrow.[Ch]: add end_ member
2187 * lyxrow_funcs.C: use LyXRow::end_
2189 * lyxtext.h (singleWidth): add LyXFont parameter
2192 * text2.C: adjust LyXText::singleWidth() calls
2194 * text.C (redoParagraph): simplify row breaking logic
2197 2003-08-19 André Pönitz <poenitz@gmx.net>
2199 * funcrequest.C: initialize button_ member
2202 * rowpainter.[Ch]: interface consolidation
2204 2003-08-18 André Pönitz <poenitz@gmx.net>
2207 * BufferView_pimpl.C:
2209 * paragraph_funcs.C:
2211 * text3.C: remove LyXScreen::draw() and fitCursor calls
2213 * BranchList.h: remove spurious semicolons
2215 * MenuBackend.C: fix branchlist related crash
2217 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2225 * bufferparams.[Ch]:
2229 * text3.C: implements the 'branch inset'
2230 idea. This allows the output of various versions of a document
2231 from a single source version, selectively outputing or suppressing
2232 output of parts of the text.
2233 This implementation contains a 'branch list editor' in a separate
2234 tab of the document settings dialog. Branches are user definable
2235 and have a "display colour" to distinguish them on-screen.
2237 ColorHandler was somewhat cleaned up.
2238 (1) make possible a dynamically growing LColor list by allowing
2239 the graphic context cache to grow along (vector);
2240 (2) eliminate an IMHO unnecessary step in colour allocation.
2242 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2244 * BufferView_pimpl.C: compile fix
2246 2003-08-15 André Pönitz <poenitz@gmx.net>
2248 * rowpainter.C: remove extra metrics calls
2250 * lyxtext.h: merge the two constructors into a single one,
2251 pass reference to owner's par list
2253 * BufferView_pimpl.C:
2257 2003-08-15 André Pönitz <poenitz@gmx.net>
2259 * lyxrow_funcs.[Ch]:
2262 * paragraph_funcs.C:
2267 * text_funcs.C: split LyXText::rowlist_ into individual
2268 Paragraph::rows_ chunks
2271 * BufferView_pimpl.[Ch]:
2274 * text3.C: remove toggleSelection()
2276 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2278 * bufferlist.C: beautify two alerts (shorter text of buttons)
2279 * buffer.C: Remove redundant ' ' from message
2281 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2282 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2283 rename VALIGN_CENTER to VALIGN_MIDDLE
2285 2003-08-11 André Pönitz <poenitz@gmx.net>
2287 * lyxtext.h (getPar):
2288 * text.C: new function
2290 2003-08-11 André Pönitz <poenitz@gmx.net>
2293 * tracer.[Ch]: remove unneeded files
2295 * InsetList.[Ch]: remove resizeInsetsLyXText()
2300 * text3.C: merge insertParagraphs() and appendParagraph()
2301 remove breakAgain(), update()
2303 * BufferView_pimpl.[Ch]:
2304 * bufferview_funcs.[Ch]:
2308 * tabular.C: adjust after text & InsetList changes.
2310 2003-08-08 André Pönitz <poenitz@gmx.net>
2312 * text.C (insertChar, backspace): replace rowlist fiddling
2313 with rebreak of full par
2316 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2317 checkParagraph, updateInset): removed
2319 2003-08-07 André Pönitz <poenitz@gmx.net>
2322 * text3.C: merge some LFUN handlers, remove dead code
2324 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2326 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2328 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2330 * text2.C (DEPM): fix part of bug 1255 and 1256
2332 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2334 * BufferView_pimpl.C (workAreaDispatch): change to use
2335 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2336 that are no mouse related.
2338 2003-08-05 André Pönitz <poenitz@gmx.net>
2341 * BufferView_pimpl.[Ch]:
2342 * bufferview_funcs.C:
2344 * text3.C: rip out "deep update"
2346 * textcursor.[Ch] (last_sel_cursor): remove unused member
2348 2003-08-04 André Pönitz <poenitz@gmx.net>
2351 * BufferView_pimpl.[Ch]:
2352 * ParagraphParameters.C:
2353 * bufferview_funcs.C:
2359 * text3.C: replace "complicated" BufferView::update(...) calls with
2362 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2364 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2366 * Makefile.am (lyx_SOURCES): add paper.h
2368 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2370 * Makefile.am: move things around so that both lyx-qt and
2371 lyx-xforms can be built (according to --with-frontend). Then lyx
2372 is a symbolic link to lyx-[firstfrontend]
2374 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2376 * Always use std::endl with lyxerr
2378 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2380 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2382 2003-08-01 André Pönitz <poenitz@gmx.net>
2385 * BufferView_pimpl.[Ch]:
2387 * text3.C: merge BufferView::repaint() and BufferView::update()
2389 2003-08-01 José Matos <jamatos@lyx.org>
2391 * buffer.[Ch]: file_format is no longer a buffer data element.
2393 2003-08-01 André Pönitz <poenitz@gmx.net>
2398 * text2.C: make redoParagraph more independent of current cursor
2400 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2402 * text2.C: remove unneeded members
2404 2003-07-30 André Pönitz <poenitz@gmx.net>
2406 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2408 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2409 create a single function...
2411 * paragraph_funcs.C (moveItem): ... here.
2414 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2416 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2418 * LColor.[Ch]: Add comment and greyedout logical colors.
2420 2003-07-30 André Pönitz <poenitz@gmx.net>
2422 * tabular.C: don't use Assert too heavily. This crashes where it
2425 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2427 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2428 is disabled (bug 1232)
2430 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2432 * factory.C: limited 'arg' scope
2434 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2436 * factory.C: fixed Note submenu issues
2438 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2440 * factory.C: submenu for Note/Comment/Greyedout
2442 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2445 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2447 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2450 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2451 greyedout. Patch provided by Jürgen Spitzmüller.
2453 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2455 * kbmap.C (read): fix error message when reading bind files
2457 2003-07-29 Angus Leeming <leeming@lyx.org>
2459 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2460 certainly does not do what it purports to do. I am doing it, and
2461 us, a favour by killing it.
2463 2003-07-28 José Matos <jamatos@lyx.org>
2465 * buffer.C (readBody, do_writeFile):
2466 * paragraph.C(readParagraph): \end_document replaces \the_end.
2468 2003-07-29 André Pönitz <poenitz@gmx.net>
2471 * BufferView_pimpl.[Ch]:
2475 * textcursor.[Ch]: remove toggleToggle & Co
2477 2003-07-28 José Matos <jamatos@fep.up.pt>
2479 * buffer.C (readParagraph):
2480 * params_func (readParToken, readParagraph):
2481 * paragraph.C (write): \layout -> \begin_layout.
2483 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2485 * lyxlex_pimpl.C (setFile): clean up slightly.
2487 * bufferparams.h: add compressed var
2489 * buffer_funcs.C (readFile): adjust for LyXLex change
2490 (newFile): ditto + simplify
2492 * buffer.C (writeFile): handle writing of compressed files
2494 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2495 Check if the file is compressed and set a bufferparm if so.
2497 * Makefile.am (lyx_LDADD): remove explicit -lz
2499 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2501 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2502 makeDocBookFile): put the real LyX version in the first line of
2506 * version.C.in: remove lyx_docversion
2508 * tabular.C (write_attribute): add a template-based version to
2509 write enums properly
2511 2003-07-28 André Pönitz <poenitz@gmx.net>
2516 * text3.C: use doubles again for x-coordinates. They are needed.
2518 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2520 * messages.C (getLocaleDir): use lyx_localedir()
2522 * lyxlex_pimpl.C (setFile): compress stuff
2524 * buffer.C (writeFile): add some compression stuff
2525 (do_writeFile): new func, dont call expliti close... will this
2528 * Makefile.am (lyx_LDADD): add -lz
2530 2003-07-28 José Matos <jamatos@fep.up.pt>
2532 * buffer.C: increment file format.
2533 * paragraph_funcs (readParagraph, readParToken):
2534 * paragraph.C (readParagraph): add \end_layout.
2536 2003-07-27 Angus Leeming <leeming@lyx.org>
2538 * Makefile.am: remove special casing for configure-time setting of
2539 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2541 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2542 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2544 2003-07-26 André Pönitz <poenitz@gmx.net>
2546 * paragraph_func.[Ch]:
2547 * paragraph.C (realizeFont): inline it whereever it is used
2552 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2555 2003-07-26 André Pönitz <poenitz@gmx.net>
2559 * text2.C: get rid of LyXText::need_break_row
2561 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2563 * toc.[Ch]: put namespace toc inside namespace lyx
2565 * MenuBackend.C (expandToc2): adjust for lyx::toc
2568 * lyxfunc.C (dispatch): adjust for lyx::find
2570 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2571 lyx::find instead. Reorganize a bit.
2572 (LyXReplace): rename to replace
2573 (LyXFind): rename to find
2575 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2578 2003-07-26 André Pönitz <poenitz@gmx.net>
2580 * text.C (setHeightOfRow): restrict scope of temporary variable
2582 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2583 code (never has been used?)
2585 2003-07-27 Asger Alstrup <alstrup@local>
2587 * text.C (fill): Optimise algorithm to exploit that we can reuse
2588 the LyXFont for many characters.
2589 (setHeightOfRow): Same thing.
2590 (rowBreakPoint): Same thing.
2592 2003-07-26 Asger Alstrup <alstrup@local>
2594 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2596 * text.C (singleWidth): Spurious font copying in hot-spot
2597 singleWidth avoided. Reorder tests for arabic for efficiency.
2599 * text.C (fill): handle empty paragraphs better.
2601 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2604 * encoding.h: add includes
2606 * lyxrc.C: remove reading of bind files
2608 * lyx_main.C (init): setup bindings and menus only if we have a
2611 * kbmap.C (read): new method. Do the actual reading of bind
2614 * converter.C (dvipdfm_options):
2617 (output): adapt PAPER_* enums.
2619 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2621 * bufferparams.h: remove paper-related enums from there
2623 * paper.h: New file. A trivial header file to hold paper-related
2624 enums. It should later expand to contain many paper-related
2627 * lyxrc.C: declare extern displayTranslator
2629 2003-07-27 José Matos <jamatos@fep.up.pt>
2631 * tabular.[Ch] (linuxdoc): add support for tables and figures
2634 2003-07-27 José Matos <jamatos@fep.up.pt>
2636 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2637 consistency in both functions.
2638 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2640 2003-07-26 Asger Alstrup <alstrup@local>
2642 * rowpainter.C (paintRows): Change algorithm to work directly on
2643 the insets rather than asking every character in the document
2644 whether its an inset.
2646 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2648 * buffer.C (openFileWrite): factorize some code
2650 2003-07-26 Angus Leeming <leeming@lyx.org>
2653 * lyx_main.[Ch]: replace occurances of system_tempdir with
2656 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2658 * rename Inset to InsetOld
2660 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2662 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2663 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2664 which I think is a bit clearer. EDIT is gone, since it was
2665 premature optimisation, and broken for mathed anyway.
2666 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2667 with cursor positioning in insets as well (math insets still do not
2668 work, but that's a different story anyway.) It mysteriously
2669 crashes sometimes with undo in the first paragraph, but I'm fairly
2670 confident that this is a compiler bug.
2672 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2674 * paragraph.C (Paragraph): adjust for new clone return type
2676 (copyIntoMinibuffer): ditto
2678 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2680 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2681 by not having a special case, and always doing a full rebreak of
2682 the document after undo.
2684 2003-07-23 Angus Leeming <leeming@lyx.org>
2686 * factory.C (createInset): InsetExternal::setParams now takes a
2689 2003-07-23 Angus Leeming <leeming@lyx.org>
2691 * factory.C (createInset): changed interface to the external and
2692 graphics mailers' string2params functions.
2694 2003-07-23 Angus Leeming <leeming@lyx.org>
2696 * factory.C (createInset): pass a
2697 Buffer const * parameter to InsetExternalMailer's string2params.
2699 2003-07-22 John Levon <levon@movementarian.org>
2701 * Thesaurus.h: include the right aiksaurus header
2703 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2705 * MenuBackend.C (expand): check menu shortcuts unconditionally
2707 2003-07-21 Angus Leeming <leeming@lyx.org>
2709 * factory.C (createInset): pass a
2710 buffer_path parameter to InsetGraphicsMailer's string2params.
2712 2003-07-21 Angus Leeming <leeming@lyx.org>
2714 * BufferView_pimpl.C (buffer):
2717 * lyxfunc.C (dispatch):
2718 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2719 rather than the grfx shortcut.
2721 2003-07-21 André Pönitz <poenitz@gmx.net>
2723 * rowpainter.C: remove unused variables
2726 * tabular_funcs.h: move to tabular.C
2727 * Makefile.am: adjust
2729 * tabular.[Ch]: basic optical cleaning
2731 * author.h: pass references, not values
2733 2003-07-18 André Pönitz <poenitz@gmx.net>
2741 * text3.C: two-phase drawing for InsetText and InsetTabular
2742 some float -> int changes.
2744 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2746 * lyx_main.C: fix the fix
2748 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2750 * lyx_main.C: fix a crash in batch mode if no files specified
2753 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2755 * format.[Ch] (papersize): moved to BufferParams
2756 * converter.[Ch] (dvips_options): moved to BufferParams
2757 (dvipdfm_options): moved to anon namespace
2758 * bufferparams.[Ch]: added above functions.
2760 2003-07-17 André Pönitz <poenitz@gmx.net>
2764 * text2.C: don't call inset->update() anymore
2766 * metricsinfo.[Ch]: add convenience constructor
2768 2003-07-16 André Pönitz <poenitz@gmx.net>
2773 * text2.C: replace the LyXCursor::irow_ member with
2774 on-demand computation of the value
2776 2003-07-16 John Levon <levon@movementarian.org>
2778 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2780 2003-07-15 André Pönitz <poenitz@gmx.net>
2783 * text2.C: remove no more needed refresh_row
2785 2003-07-15 André Pönitz <poenitz@gmx.net>
2790 * text3.C: refresh_status tristate -> need_update bool
2792 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2794 * lyxtext.h (init): remove reinit argument (act as if always true)
2795 * text2.C: adjust to that
2797 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2799 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2800 * text3.C: use it to delete selections in some cases
2801 (bugs 441, 673, 702, 954).
2803 2003-07-14 André Pönitz <poenitz@gmx.net>
2805 * rowpainter.[Ch]: reduce interface
2807 2003-07-14 André Pönitz <poenitz@gmx.net>
2809 * BufferView_pimpl.C:
2810 * text2.C: adjust after removing unused BufferView * argument
2812 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2814 * text2.C (init): fix a crash fired on resize
2816 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2818 * buffer.[Ch]: added new closing signal
2819 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2820 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2821 BufferView::Pimpl via the closing the signal
2823 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2825 * buffer.[Ch]: take out all bv-related from buffer
2827 * BufferView_pimpl.[Ch]: connect to new signals
2828 * CutAndPaste.C: removed useless asserts
2829 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2832 * lyxfunc.C: moved view-related funciontality from vc here
2833 * paragraph.C: removed outdated comments
2836 2003-07-10 André Pönitz <poenitz@gmx.net>
2838 * BufferView_pimpl.C:
2842 * text2.C: remove InsetText::InnerCache, clean up consequences
2844 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2846 * ispell.C: fix two typos in error messages
2848 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2850 * Extend Note inset to other forms of annotation like Comment
2851 and Greyedout. Right button click gives dialog.
2853 Files modified or added (+):
2857 * ControlNote.[Ch] +
2859 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2860 frontends/controllers
2864 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2866 * aspell.C: add missing namespace lyx::support
2868 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2870 * BufferView.[Ch] (newFile): Add
2871 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2872 * LaTeX.[Ch] (message): added this signal and use it
2873 * buffer.[Ch] (busy, message): added these signals and use them
2874 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2878 * importer.C: use buffer signals instead of direct bv calling
2879 * lyx_cb.[Ch] (ShowMessage): removed
2882 * paragraph_funcs.C:
2883 * text2.C: use buffer signals
2885 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2887 * introduce namespace lyx::graphics
2889 2003-07-02 André Pönitz <poenitz@gmx.net>
2891 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2893 2003-07-01 André Pönitz <poenitz@gmx.net>
2900 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2901 text*.C to text_func.C
2903 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2905 * introduce namespace lyx::support
2907 2003-06-30 André Pönitz <poenitz@gmx.net>
2912 * text.C: re-enable --with-included-string
2914 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2916 * textcursor.C: add <config.h>
2918 * text.C (getWord): remove const from word_location arg
2920 * lyxvc.C (getLogFile): fix const type order
2922 * lyxtext.h: remove const from word_location arg, add arg name
2924 * lyxlayout.h: currect type on labeltype.
2926 * importer.C: correct \file
2928 * converter.C (intToFormat): use std:: on ret val, ws changes
2930 * bufferlist.h: correct \file
2932 * buffer.C (makeLinuxDocFile): fix const type order
2933 (makeDocBookFile): ditto
2934 (fillWithBibKeys): use std:: on stdlib args.
2936 * CutAndPaste.C: fix authors.
2937 (availableSelections): use std:: on return vector
2939 2003-06-27 André Pönitz <poenitz@gmx.net>
2941 * BufferView_pimpl.C:
2942 * bufferview_funcs.C:
2950 * text3.C: remove LyXCursor::row_ member
2953 * text.C: rename fullRebreak() to partialRebreak() and implement
2954 a fullRebreak() that really bereks fully
2956 * textcursor.h: new struct for cursor-related data
2958 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2960 * lyx_main.C (LyX): get full path of document loaded on the
2963 2003-06-26 André Pönitz <poenitz@gmx.net>
2965 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2966 remove unused/broken operator>,<,>=.
2968 * text.C: remove only use of broken operator<= in an Assert().
2970 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2972 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2973 moved errorlist_.clear to showErrorList
2975 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2977 * converter.C (scanLog, runLaTeX):
2978 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2979 move the bv->showErrorList call to the callers
2980 * lyxfunc.C: i.e. here...
2982 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2983 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2984 namespace, the second to...
2985 * buffer_funcs (BufferFormat, parseErrors): added
2986 * errorlist.C (ErrorList(TeXErrors const &)): removed
2988 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2990 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2992 2003-06-24 "Garst R. Reese" <reese@isn.net>
2996 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2998 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3000 * version.C.in: change docversion to 1.4
3002 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3004 * buffer.C: fix a bug just introduced
3006 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3008 * buffer.[Ch]: added the parseError signal and use it, removed
3010 * BufferView.[Ch] (addError): moved to ...
3011 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3012 to the Buffer::parseError signal to catch (guess what) parse errors
3013 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3015 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3017 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3018 ability to create a buffer and to return an existing one from
3019 the list. Moved these functions to...
3020 * buffer_funcs.[Ch]: added
3021 * BufferView.[Ch] (loadLyXFile): added
3022 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3023 job removed from bufferlist::loadLyXFile.
3024 * buffer.C (setReadOnly): make it work without view
3025 (i.e added an if (users))
3027 2003-06-19 Angus Leeming <leeming@lyx.org>
3030 * LyXAction.C (init):
3031 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3032 with LFUN_DIALOG_SHOW <name> <data>.
3034 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3036 * CutAndPaste.C (availableSelections): small compilation fix for
3037 ancient (gcc 2.9x) compilers
3039 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3041 * text3.C (cursorNext): add tmp var
3043 * text2.C (updateCounters): for function calling out of for clause
3044 (replaceSelectionWithString): ditto
3045 (insertStringAsParagraphs): ditto
3046 (getColumnNearX): add tmp var
3047 (setCursorFromCoordinates): add tmp var
3048 (cursorDownParagraph): add tmp var
3049 (deleteEmptyParagraphMechanism): add tmp var
3051 * text.C (insertChar): add tmp var
3053 * rowpainter.C (paintDepthBar): add tmp var
3055 * CutAndPaste.C (availableSelections): potentially check all
3056 paragraphs in a cut to fill the shown strings.
3058 2003-06-18 André Pönitz <poenitz@gmx.net>
3060 * kbmap.[Ch]: use vector<> instead of list<>
3062 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3064 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3065 pasteSelection with index
3067 * text2.C (pasteSelection): modify, call pasteSelection with index
3069 * paragraph.C (asString): reimplement version with no interval to
3070 call the one with interval.
3072 * lyxtext.h: add index arg to pasteSelection
3074 * MenuBackend.C (MenuItem): handle PasteRecent
3075 (Menu::read::Menutags): add md_pasterecent
3077 (expandPasteRecent): new function
3080 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3082 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3084 (availableSelections): new function
3086 2003-06-17 Angus Leeming <leeming@lyx.org>
3088 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3090 2003-06-17 Angus Leeming <leeming@lyx.org>
3093 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3095 * lyxfunc.C (dispatch): invoke it.
3097 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3099 * iterators.C (operator++, ParPosition): reintroduce some
3100 const_cast for the benefit of older compilers.
3102 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3104 * text3.C (dispatch): do not modify clipboard when doing
3105 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3106 LFUN_DELETE_SKIP on a selection selection
3108 2003-06-16 André Pönitz <poenitz@gmx.net>
3114 * tabular.[Ch]: IU of clone() and getLabelList();
3116 2003-06-13 André Pönitz <poenitz@gmx.net>
3118 * tabular.h: compactification
3120 2003-06-12 André Pönitz <poenitz@gmx.net>
3124 * tabular_funcs.h: some renaming plus whitespace
3126 2003-06-12 André Pönitz <poenitz@gmx.net>
3129 * BufferView_pimpl.C:
3135 * toc.C: Return a Paragraph & for ParIterator::operator*()
3137 2003-06-11 John Levon <levon@movementarian.org>
3141 * ToolbarBackend.C: add "Toolbars" section and
3144 2003-06-10 Angus Leeming <leeming@lyx.org>
3147 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3149 * lyxfunc.C (dispatch): invoke it.
3151 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3153 * main.C: protect <ios> with HAVE_IOS
3154 (main): protect sync_with_stdio with HAVE_IOS
3156 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3158 * text2.C (cutSelection): adjust
3159 (pasteSelection): adjust
3161 * messages.C: handle get of empty string
3163 * main.C (main): use sync_with_stdio(false)
3165 * lyxfunc.C (dispatch): adjust
3167 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3168 (WriteAs): remove unneeded BufferView arg.
3170 * bufferparams.h: use correct types on papersize, papersize2 and
3173 * bufferparams.C (readToken): adjust for type
3174 (writeLaTeX): add missing cases to switch.
3176 * bufferlist.C (quitWriteBuffer): adjust
3179 * buffer.C (asciiParagraph): remove some commented code.
3181 * CutAndPaste.C: remove current_view extern variable.
3182 (cutSelection): add BufferParams arg.
3183 (eraseSelection): add BufferParams arg.
3184 (pasteSelection): add Buffer const & arg
3186 2003-06-07 John Levon <levon@movementarian.org>
3189 * paragraph_funcs.C:
3190 * paragraph_pimpl.C:
3194 * paragraph.C: allow InsetERT to freely space lines,
3195 and some consolidation of code
3197 2003-06-06 José Matos <jamatos@fep.up.pt>
3199 * buffer.C (makeDocBookFile): fix bug #821
3201 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3203 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3205 2003-06-04 Angus Leeming <leeming@lyx.org>
3207 * buffer.C: bump format to 224.
3209 2003-06-05 André Pönitz <poenitz@gmx.net>
3211 * text2.C (redoParagraphs): remove two const_cast<>
3213 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3215 * ParagraphList.h: remove last remnants of NO_STD_LIST
3217 2003-06-03 Angus Leeming <leeming@lyx.org>
3219 * factory.C (createInset): small change to the way InsetExternal's params
3222 2003-06-04 André Pönitz <poenitz@gmx.net>
3224 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3226 * paragraph_pimpl.h:
3227 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3229 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3231 * undo_funcs.C: make some simple cases of undo work again
3233 2003-06-03 John Levon <levon@movementarian.org>
3235 * ispell.C: HPUX doesn't have sys/select.h
3238 2003-06-03 John Levon <levon@movementarian.org>
3240 * CutAndPaste.C: update tabular and include inset
3245 * paragraph.C: remove owningBuffer(), don't pass Buffer
3248 * factory.C: insetGraphicsParams changed
3250 2003-06-02 John Levon <levon@movementarian.org>
3256 * text3.C: remove insetparent
3258 2003-06-02 John Levon <levon@movementarian.org>
3261 * buffer.C: fix inset_iterator.end(), move out of line
3264 2003-06-01 John Levon <levon@movementarian.org>
3266 * text3.C: use a proper cut/paste when doing inset
3267 insert (from Jürgen Spitzmüller)
3269 2003-06-01 John Levon <levon@movementarian.org>
3271 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3273 2003-05-30 André Pönitz <poenitz@gmx.net>
3275 * rowpainter.C: unify second drawing phase
3277 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3279 * trans_mgr.C: remove one case of current_view
3281 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3283 * paragraph_funcs.h: remove paragraph.h include
3285 * paragraph.h: delete NO_STD_LIST stuff
3287 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3289 * buffer.h: remove paragraph.h include
3291 * ParagraphList.C: delete file
3293 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3295 * toc.C (getTocList): adjust
3297 * paragraph_pimpl.C (validate): adjust
3299 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3301 * paragraph.C (Paragraph): adjust
3302 (getPositionOfInset): use const_iterator, adjust
3303 (bibitem): use const_iterator, adjust
3304 (setInsetOwner): adjust
3306 * iterators.C (operator++): adjust
3308 * InsetList.[Ch]: Replace selfmade iterator with standard
3309 vector::iterator also introduce const_iterator. Remove getPos,
3310 getInset and setInset from InsetTable. Adjust accordingly.
3312 * BufferView.C (lockInset): adjust
3313 (ChangeInsets): adjust
3315 * tabular.[Ch]: delete commented same_id functions
3317 2003-05-28 John Levon <levon@movementarian.org>
3319 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3321 2003-05-28 André Pönitz <poenitz@gmx.net>
3323 * metricsinfo.[Ch]: remove 'fullredraw' member
3325 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3327 * lyxtextclass.C (operator): remove caching.
3329 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3333 * text2.C (cursorBottom): adjust
3334 (setCounter): use ParagraphList::find, adjust
3336 * text.C (workWidth): use ParagraphList::find, adjust
3338 * lyxcursor.C (LyXCursor): adjust
3340 * buffer.C (inset_iterator): adjust
3342 * ParagraphList.h: make iterator(value_type) private, make
3343 ParagraphList a friend of iterator.
3345 * ParagraphList.C (find): new function
3347 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3349 2003-05-27 André Pönitz <poenitz@gmx.net>
3351 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3353 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3355 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3357 2003-05-26 John Levon <levon@movementarian.org>
3359 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3361 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3363 * remove same_id from function signatures, adjust.
3365 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3367 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3369 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3371 * paragraph.C (Paragraph): get rid of same_ids parameter
3373 * ParagraphList.C (insert): adjust
3376 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3378 * paragraph_funcs.C (breakParagraph): adjust
3379 (breakParagraphConservative): adjust
3381 * buffer.C (readParagraph): adjust
3383 * ParagraphList.C (insert): take a reference instead of a pointer
3386 * paragraph.[Ch] (id): new function
3388 * bufferlist.C (newFile): adjust
3390 * ParagraphList.C (ParagraphList): adjust
3392 (push_back): take a reference instead of a pointer.
3394 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3396 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3399 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3400 set else use old code.
3402 * ParagraphList.C: remove all NO_NEXT code and only compile this
3403 code of NO_STD_LIST is set.
3405 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3407 * BufferView_pimpl.C:
3417 * graphics/GraphicsConverter.C:
3418 * graphics/PreviewLoader.C: header adjustment
3420 2003-05-23 Angus Leeming <leeming@lyx.org>
3422 * LaTeXFeatures.[Ch] (useBabel): new method.
3423 * bufferparams.C (writeLaTeX): use it.
3425 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3427 * ParagraphList.h (set): remove unused function.
3429 2003-05-23 André Pönitz <poenitz@gmx.net>
3432 * BufferView_pimpl.C:
3436 * undo_funcs.C: setUndo reworked
3438 * iterators.[Ch]: add access to topmost ParagraphList
3440 * lyxtext.[Ch] (workWidth): add a const
3442 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3444 * texrow.[Ch] (increasePos): remove function
3445 * exporter.C (export): removed unused var and outdated comment
3447 2003-05-23 Angus Leeming <leeming@lyx.org>
3449 * latexrunparams.h: rename fragile as moving_arg.
3450 * paragraph.C (simpleTeXOnePar): ditto.
3451 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3453 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3455 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3457 (textUndoOrRedo): comment out a currently unused var.
3459 * paragraph.h (NO_NEXT): enable NO_NEXT
3461 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3463 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3465 * exporter.C (Export): adjust for removeAutoInsets removal.
3467 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3469 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3471 * BufferView.[Ch] (removeAutoInsets): delete function
3473 2003-05-22 Angus Leeming <leeming@lyx.org>
3475 * latexrunparams.h: add a free_spacing variable.
3477 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3478 to pass moving_arg, as the data is stored in runparams.fragile.
3480 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3481 to Inset::latexOptional or to simpleTeXOnePar.
3483 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3484 free_spacing arg to Inset::latexOptional.
3486 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3489 2003-05-22 Angus Leeming <leeming@lyx.org>
3491 * latexrunparams.h: add fragile and use_babel variables.
3493 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3494 * buffer.C (makeLaTeXFile): store this returned value in
3495 runparams.use_babel, thus passing it to the inset::latex methods.
3497 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3498 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3500 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3501 longer has a fragile arg, as it is stored in runparams.fragile.
3503 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3504 moving_arg parameter as the data is stored in runparams.fragile.
3506 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3507 a fragile parameter as the data is stored in runparams.fragile.
3509 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3511 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3513 2003-05-22 Angus Leeming <leeming@lyx.org>
3515 * latexrunparams.h: add a 'bool nice' which defaults to false.
3517 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3518 now encapsulated within runparams.
3520 * bufferlist.C (updateIncludedTeXfiles):
3521 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3523 2003-05-22 Angus Leeming <leeming@lyx.org>
3525 * latexrunparams.h: new file containing struct LatexRunParams.
3526 * Makefile.am: add new file.
3528 * LaTeX.[Ch] (c-tor, run):
3529 * buffer.[Ch] (makeLaTeXFile):
3530 * bufferlist.[Ch] (updateIncludedTeXfiles):
3531 * converter.C (convert, scanLog):
3532 * converter.[Ch] (runLaTeX):
3533 * exporter.C (Export):
3534 * paragraph.[Ch] (simpleTeXOnePar):
3535 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3536 * paragraph_funcs.[Ch] (latexParagraphs):
3537 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3538 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3539 pass around a LatexRunParams parameter.
3541 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3543 * paragraph.[Ch]: remove unused constructor
3545 * ParagraphList.C (erase): new function, taking two iterators
3547 2003-05-22 André Pönitz <poenitz@gmx.net>
3549 * undo_funcs.C: remove duplicated code
3551 * iterator.[Ch]: operator=
3553 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3555 * tabular.C (SetMultiColumn): ws changes
3557 * rowpainter.C (paintFirst): get rid of a ->previous
3559 * lyx_cb.C (getPossibleLabel): parlist simplification
3561 * BufferView.C (ChangeInsets): simplify slightly.
3563 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3565 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3566 * lfuns.h: new LFUN_SPACE
3567 * lyxfunc.C: protected space has a new lfun
3568 * paragraph_funcs.C: read new space insets
3570 * factory.C: handle new space insets
3572 2003-05-22 André Pönitz <poenitz@gmx.net>
3575 * BufferView_pimpl.C:
3578 * undo_funcs.C: return a ParIterator from getParFromID.
3580 * iterators.[Ch]: add two const's
3582 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3584 * toc.C (getTocList): adjust
3586 * iterators.[Ch]: rework for parlist
3588 * buffer.C (par_iterator_begin): adjust
3589 (par_iterator_end): adjust
3591 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3593 * BufferView.C (removeAutoInsets): adjust
3594 (ChangeInsets): adjust
3596 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3598 * text.C (top_y): fix bug 1110
3600 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3602 * errorlist.[Ch]: added
3605 * BufferView_pimpl.C:
3606 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3609 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3611 * Makefile.am: ensure that lyx is relinked upon changes to the
3612 various "convenience" libs.
3614 2003-05-20 Angus Leeming <leeming@lyx.org>
3616 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3617 files are compiled in alphabetical order again.
3619 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3621 2003-05-19 Angus Leeming <leeming@lyx.org>
3623 * gettext.[Ch]: remove "char const * _(char const *)".
3625 2003-05-19 André Pönitz <poenitz@gmx.net>
3627 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3636 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3638 2003-05-19 André Pönitz <poenitz@gmx.net>
3642 * lyxtextclass.[Ch]:
3644 * paragraph_funcs.[Ch]:
3646 * text3.C: more insetenv work
3648 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3650 * ParagraphParameters.C (params2string): small bug fixed
3652 2003-05-16 André Pönitz <poenitz@gmx.net>
3655 * bufferview_funcs.C: patch from Kornel Benko to prevent
3656 crash when _(...) is called twice in a statement
3658 2003-05-16 André Pönitz <poenitz@gmx.net>
3665 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3667 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3669 * lyx_main.C (init): remove spurious static_cast
3671 2003-05-14 André Pönitz <poenitz@gmx.net>
3673 * BufferView.C: fix format string
3675 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3677 * BufferView.[Ch] (insertErrors): removed
3678 * BufferView.[Ch] (showErrorList): added
3679 * buffer.C (runChkTeX):
3680 * converter.C (scanLog): call showErrorList instead of inserterrors
3682 2003-05-13 André Pönitz <poenitz@gmx.net>
3684 * BufferView_pimpl.C:
3686 * bufferview_func.C:
3693 * tabular_funcs.h: tostr() from its own header
3695 * ParagraphParameters.C:
3700 * text3.C: STRCONV()
3702 2003-05-12 André Pönitz <poenitz@gmx.net>
3705 * BufferView_pimpl.C:
3709 * ParagraphParameters.C:
3713 * bufferview_funcs.C:
3726 * paragraph_funcs.C:
3730 * text3.C: boost::format -> bformat all over the place
3733 2003-05-09 André Pönitz <poenitz@gmx.net>
3735 * LColor.[Ch]: Pimpl the #include <map> away
3737 2003-05-09 John Levon <levon@movementarian.org>
3739 * bufferlist.C: never remove emergency saves
3741 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3743 * Makefile.am: better lib building
3745 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3747 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3749 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3750 (simpleTeXSpecialChars): adjust
3751 (simpleTeXSpecialChars): adjust
3752 * paragraph.C (simpleTeXOnePar): adjust
3753 * buffer.C (makeLaTeXFile): adjust
3755 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3757 * text2.C (changeDepth): parlist cleanup
3758 (getColumnNearX): ditto
3760 * rowpainter.C (getLabelFont): parlist cleanup
3762 * bufferlist.C (newFile): parlist cleanup
3764 * CutAndPaste.C (eraseSelection): parlist cleanup
3766 * BufferView_pimpl.C (trackChanges): parlist cleanup
3769 * BufferView.C (lockInset): parlist cleanup.
3770 (ChangeInsets): ditto
3772 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3774 * CutAndPaste.h: Update file header.
3776 * CutAndPaste.C: Update file header.
3777 Store the parts cut out of the Document in a limited_stack.
3778 (copySelection): adjust
3779 (pasteSelection): new function, takes the index in the limited stack.
3780 (nrOfParagraphs): adjust
3781 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3782 simplify error inset insertion.
3783 (checkPastePossible): adjust
3785 2003-05-06 John Levon <levon@movementarian.org>
3787 * text2.C: don't cast wrap inset to float
3789 2003-05-05 André Pönitz <poenitz@gmx.net>
3792 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3794 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3795 few naked Paragraph *.
3797 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3799 * bufferparams.C: Output warning if a document with missing
3800 TeX document class is loaded
3801 * exporter.C: Disable TeX exports if the document class is missing
3804 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3805 isTeXClassAvailable()
3807 2003-05-03 John Levon <levon@movementarian.org>
3810 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3811 explicit cursor show/hide
3813 * BufferView_pimpl.h:
3814 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3815 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3817 * lyxfunc.C: hide cursor before dispatching.
3822 * text3.C: remove explicit cursor hides
3824 2003-05-02 André Pönitz <poenitz@gmx.net>
3826 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3829 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3832 * text2.C: tiny whitespace
3834 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3836 * undo_funcs.C: almost only ws changes.
3838 * ParagraphList.C (splice): just return if pl is empty.
3840 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3842 * ParagraphList.C (splice): new function.
3844 * CutAndPaste.C (pasteSelection): use it
3846 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3848 * CutAndPaste.C (pasteSelection): remove the last next and
3849 previous from this file.
3851 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3853 * CutAndPaste.C (pasteSelection): more clean up, user proper
3854 ParagraphList functions for pasteing.
3856 * ParagraphList.C (insert): new function, three arg insert
3858 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3860 * ParagraphList.C (insert): new function, three arg insert
3862 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3865 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3867 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3869 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3871 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3873 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3875 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3876 (copySelection): clean up a bit.
3877 (pasteSelection): use make_pair
3879 * ParagraphList.C (ParagraphList): implement copy constructor
3880 (operator=): implement, base on copy constructor.
3883 * paragraph.C (erase): return a bool
3885 * paragraph_pimpl.C (erasePos): remove function, move contents...
3886 (erase): ... here. Return a bool.
3887 (erase): call erase instead of erasePos.
3889 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3891 * ParagraphList.h: define PitPosPair
3892 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3893 ParagraphList, fix a bug on pasting multiple pars
3894 * text2.C: change interface to C&P
3896 2003-04-30 André Pönitz <poenitz@gmx.net>
3898 * undo_func.C: revert part of yesterday's patch 2
3900 2003-04-30 John Levon <levon@movementarian.org>
3902 * LColor.C: s/tabular/table/
3904 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3906 * text3.C (dispatch): do not convert iterator -> pointer
3907 * undo_funcs.C (setCursorParUndo): ditto
3908 * text_funcs.C (transposeChars): ditto
3910 * text2.C (setLayout): ws changes only
3912 * text.C (breakParagraph): do not convert iterator -> pointer
3914 (acceptChange): ditto
3915 (rejectChange): ditto
3920 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3923 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3925 * text3.C (gotoInset): YABG (yet another bad getChar)
3927 2003-04-29 André Pönitz <poenitz@gmx.net>
3929 * paragraph.h: make operator= private unimplemented as long as
3932 * ParagraphList.C: whitespace
3935 * paragraph_pimpl.[Ch]:
3936 * paragraph_funcs.C:
3938 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3941 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3943 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3945 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3946 * paragraph.[Ch] (erase):
3947 * paragraph_pimpl.[Ch] (erase): change return type and value
3948 * text2.C (cutSelection): some rework
3950 2003-04-28 John Levon <levon@movementarian.org>
3952 * bufferlist.C: changes for unsaved changes dialog
3954 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3956 * bufferlist.C (newFile): set language (messages_) for new
3959 * buffer.C (readFile): ws changes only.
3961 2003-04-28 André Pönitz <poenitz@gmx.net>
3966 * BufferView_pimpl.C:
3967 * BufferView.C: getParFromID related ParagraphList::iterator changes
3969 2003-04-28 André Pönitz <poenitz@gmx.net>
3971 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3974 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3976 * messages.C: remove one more localedir class variable.
3978 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3980 * messages.C (getLocaleDir): singleton generation function
3982 (Messages): add a default constructor.
3984 * main.C (main): do not setup localedir here, do not call
3987 * gettext.C (_): use it.
3988 (gettext_init): delete funciton
3990 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3992 * gettext.C (getLyXMessages): new singleton generating function.
3994 * buffer.C (updateDocLang): adjust
3996 * Makefile.am (messages.o): add target
3997 (main.o): remove target
3999 2003-04-27 John Levon <levon@movementarian.org>
4004 * lyxvc.C: specify cancel button in Alert::prompt
4006 2003-04-26 John Levon <levon@movementarian.org>
4011 * LyXAction.C: add LFUN_INSET_SETTINGS
4013 * lyxfunc.C: don't enable tabular-feature when there's
4014 just any locking inset
4016 2003-04-26 John Levon <levon@movementarian.org>
4018 * bufferlist.C: re-add Cancel to buffer close question
4020 * lyxfunc.C: fix import UI a bit
4022 2003-04-25 John Levon <levon@movementarian.org>
4024 * gettext.C: remove the broken asserts for now
4026 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4028 * messages.C: make case where setlocale cannot comply work better.
4030 * buffer.C (updateDocLang): new function
4031 (changeLanguage): use it
4034 * text2.C (setCounter): use B_ a bit.
4036 * lyxlayout.C (Read): be sure to trim the label strings.
4038 * messages.C (Messages): fix typo in comment
4040 * buffer.C (readFile): set message_ after file is loaded.
4041 (makeDocBookFile): remove double return
4042 (changeLanguage): reset message_ upon language change.
4043 (B_): new func, use this to get translated buffer strings.
4045 * main.C: add myself and Jean Marc as authors.
4047 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4049 * messages.[hC]: pimplify Messages, and three different pimpls to be
4050 used in different circumstances.
4052 * gettext.[Ch]: change for use with new message code.
4054 2003-04-24 André Pönitz <poenitz@gmx.net>
4056 * factory.C: support for eqref
4058 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4060 * messages.[Ch]: add missing char
4062 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4064 * messages.[Ch]: New files
4066 2003-04-18 John Levon <levon@movementarian.org>
4070 * BufferView_pimpl.C:
4074 * text2.C: remove layout-copy/paste (bug 778)
4076 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4078 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4080 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4082 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4083 if they succeed. Act accordingly.
4085 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4087 * text2.C (setCharFont): adjust
4088 (setCounter): adjust
4089 (insertStringAsLines): adjust
4091 * text.C (leftMargin): adjust
4092 (setHeightOfRow): adjust
4094 * rowpainter.C (paintFirst): adjust
4097 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4099 (isFirstInSequence): ditto
4100 (getEndLabel): ditto
4103 * paragraph.C (getParLanguage): comment out some hard stuff.
4105 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4107 (simpleDocBookOnePar): ditto
4108 (makeDocBookFile): use ParagraphList::iterator
4110 * CutAndPaste.C (pasteSelection): adjust
4112 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4114 * text2.C (getFont): adjust
4115 (getLayoutFont): adjust
4116 (getLabelFont): adjust
4118 * paragraph_funcs.C (TeXOnePar): adjust
4120 * buffer.C (simpleLinuxDocOnePar): adjust
4121 (simpleDocBookOnePar): adjust
4123 * CutAndPaste.C (pasteSelection): adjust
4125 * BufferView.C (getEncoding): adjust
4127 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4129 2003-04-16 John Levon <levon@movementarian.org>
4131 * lyxfind.C: use parlist stuff for search/changes
4133 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4135 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4137 * text2.C (deleteEmptyParagraphMechanism): adjust
4139 * text2.[Ch] (ownerParagraph): delete func (both of them
4141 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4143 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4145 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4147 * ParagraphList.C: prepare for NO_NEXT
4149 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4151 * text2.C (getFont): adjust
4152 (getLayoutFont): adjust
4153 (getLabelFont): adjust
4155 * paragraph.C (getFont): adjust
4156 (getLabelFont): adjust
4157 (getLayoutFont): adjust
4159 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4161 2003-04-15 John Levon <levon@movementarian.org>
4165 * lyx_main.C: handle Include in .ui files
4167 2003-04-15 John Levon <levon@movementarian.org>
4169 * MenuBackend.C: make the doc files length shorter
4172 * ToolbarBackend.C: handle toolbar placement flags,
4175 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4177 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4180 * paragraph_funcs.C (TeXOnePar): adjust
4182 * paragraph.C (getLabelFont): add outerfont arg, adjust
4183 (getLayoutFont): ditto
4184 (simpleTeXOnePar): adjust
4186 * paragraph_pimpl.C (realizeFont): delete func
4188 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4190 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4191 row argument, constify cur argument.
4193 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4195 * text2.C (getFont): adjust
4196 (getLayoutFont): adjust
4197 (getLabelFont): adjust
4199 * paragraph_funcs.C (TeXOnePar): adjust
4200 (outerFont): new func...
4201 (realizeFont): ...moved out from here, changed this to facilitate
4204 * paragraph.C (getFont): take outerfont as arg, adjust
4205 (simpleTeXOnePar): add outerfont arg, adjust
4207 * buffer.C (simpleLinuxDocOnePar): adjust
4208 (simpleDocBookOnePar): adjust
4210 * CutAndPaste.C (pasteSelection): adjust
4212 * BufferView.C (getEncoding): adjust
4214 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4216 * text2.C (setCharFont): adjust
4217 (setCounter): adjust
4219 * text.C (leftMargin): adjust
4220 (setHeightOfRow): adjust
4222 * rowpainter.C (paintFirst): adjust
4225 * paragraph_pimpl.C (realizeFont): adjust
4227 * paragraph.C (isFirstInSequence): move from here...
4228 * paragraph_funcs.C (isFirstInSequence): ...to here
4230 * paragraph.C (outerHook): move from here...
4231 * paragraph_funcs.C (outerHook): ...to here
4233 * paragraph.C (depthHook): move from here...
4234 * paragraph_funcs.C (depthHook): ...to here
4236 * paragraph.C (getEndLabel): move from here...
4237 * paragraph_funcs.C (getEndLabel): ...to here
4239 * text2.C (realizeFont): move from here...
4240 * paragraph_funcs.C (realizeFont): ...to here
4242 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4244 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4246 2003-04-14 Angus Leeming <leeming@lyx.org>
4248 * LColor.[Ch]: scrap LColor mathcursor.
4250 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4252 * lyxlex.[Ch] (text): delete function
4253 * trans.C (Load): adjust
4254 * paragraph_funcs.C (readParToken): adjust
4256 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4258 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4259 vector<char> instead of a char[].
4261 * lyxlex_pimpl.C (getString): adjust
4263 (lex): use getString
4267 * lyxlex.C (text): use pimpl_->getString()
4271 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4273 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4274 (makeFontEntriesLayoutSpecific): temp var for par.size()
4275 (setLayout): temp var for ownerParagraphs().end()
4276 (fullRebreak): temp var for rows().end()
4277 (selectionAsString): temp var for boost::next(startpit), realize
4278 that the while really is a regular for loop.
4279 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4280 setCursor in one place.
4281 (setParagraph): temp vr for ownerParagraphs().end()
4282 (updateCounters): make the while loop a for loop
4283 (cutSelection): temp var for ownerParagraphs().end()
4284 (updateInset): make the do {} while() a regular for loop
4285 (getCursorX): use temp vars
4286 (setCurrentFont): use temp vars
4287 (getColumnNearX): use temp vars
4289 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4291 * text.C (transformChar): use temp var for getChar
4292 (computeBidiTables): use temp var for row->par()
4293 (fill): move temp vars for row->par() and pit->layout() earlier in
4295 (labelFill): use temp var for row->par()
4296 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4297 asc and desc, realize that pit never changes and that firstpit is
4298 just a duplicate and not needed. Exchange rit->par() with pit in a
4300 (breakAgain): use a temp var for boost::next(rit)
4301 (breakAgainOneRow): ditto
4302 (breakParagraph): use a temp var for rows().begin()
4303 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4304 (cursorRightOneWord): use temp var for cursor.par() and
4305 cursor.pos(), remove usage of tmpcursor.
4306 (cursorLeftOneWord): use temp var for cursor.par() and
4307 cursor.pos() only set cur at end of function.
4309 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4311 * text.C, text2.C: exchange all usage of Paragraph::next with
4312 boost::next(ParagraphList::iterator)
4314 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4316 * text2.C (cursorTop): simplify implementation
4317 (cursorBottom): ditto
4318 (setParagraph): use ParagraphList::iterator
4319 (setCurrentFont): adjust
4320 (getColumnNearX): adjust
4321 (cursorRight): adjust
4322 (cursorLeft): remove usage of Paragraph::previous
4323 (cursorUpParagraph): ditto
4324 (deleteEmptyParagraphMechanism): slight cleanup
4326 * text.C (isBoundary): take a Paragraph const & instead of a
4328 (addressBreakPoint): ditto
4329 (leftMargin): remove usage of Paragraph::previous.
4330 (setHeightOfRow): ditto
4331 (cursorLeftOneWord): ditto
4332 (selectNextWordToSpellcheck): ditto
4335 (breakParagraph): remove one usage of Paragraph::next
4336 (redoParagraph): ditto
4337 (acceptChange): ditto
4338 (insertChar): adjust
4339 (rowBreakPoint): adjust
4341 * bufferview_funcs.C (toggleAndShow): adjust
4343 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4345 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4346 methods to access it.
4348 * text.C: Added updateRowPositions to compute all row positions.
4349 Make top_y and getRowNearY() to use the cached y position
4351 2003-04-11 John Levon <levon@movementarian.org>
4353 * text.C (rowBreakPoint): reintroduce the labelEnd
4354 checks, code copied from the row fill stuff. Deep voodoo.
4356 * text.C (fill): add a comment and debugging for the
4359 2003-04-11 John Levon <levon@movementarian.org>
4361 * text.C: make sure fullrow insets get wrapped to the next line,
4362 even when they're in a manual label
4364 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4366 * text2.C (insertParagraph): make it take ParagraphList::iterator
4368 (setLayout): make it return ParagraphList::iterator
4369 (redoParagraphs): ditto
4371 (checkParagraph): ditto
4373 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4375 * text2.C: adjust several funcs.
4376 (realizeFont): take a ParagraphList::iterator as arg.
4377 (getLayoutFont): ditto
4378 (getLabelFont): ditto
4379 (setCharFont): ditto
4381 * text.C: adjust several funcs.
4383 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4385 * text.C (selectNextWordToSpellcheck): don't accidentally
4388 2003-04-10 John Levon <levon@movementarian.org>
4390 * ToolbarBackend.C (getIcon): special handling for
4393 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4395 * text2.C (cursorRight): a getChar assert fixed
4397 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4399 * text2.C (getFont): change to take a ParagraphList::iterator
4400 instead of Paragraph*
4401 Adjust several functions.
4403 * text.C (transformChar): change to take a ParagraphList::iterator
4404 instead of Paragraph*
4405 (singleWidth): ditto
4406 Adjust several functions.
4408 * rowpainter.C: adjust several functions
4409 * rowpainter.h:store a ParagraphList::iterator and not a
4413 2003-04-09 John Levon <levon@movementarian.org>
4418 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4419 and the "help" bits as well
4421 2003-04-09 John Levon <levon@movementarian.org>
4424 * ToolbarBackend.C: allow multiple toolbars
4426 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4428 * undo_funcs.C (setCursorParUndo): adjust
4430 * text_funcs.C (transposeChars): adjust
4432 * text3.C (gotoNextInset): adjust
4435 * text2.C (setLayout): adjust
4436 (changeDepth): adjust
4438 (redoParagraphs): adjust
4439 (selectionAsString): adjust
4440 (setParagraph): adjust
4441 (insertInset): adjust
4442 (cutSelection): adjust
4443 (copySelection): adjust
4444 (pasteSelection): adjust
4445 (insertStringAsLines): adjust
4446 (updateInset): adjust
4447 (setCursor): change to take a ParagraphList::iterator parameter
4448 (setCursorIntern): change to take a ParagraphList::iterator parameter
4449 (setCurrentFont): adjust
4450 (cursorLeft): adjust
4451 (cursorRight): adjust
4452 (deleteEmptyParagraphMechanism): adjust
4454 * text.C (breakParagraph): adjust
4455 (insertChar): adjust
4456 (acceptChange): adjust
4457 (rejectChange): adjust
4458 (selectNextWordToSpellcheck): adjust
4459 (changeCase): adjust
4463 * lyxfind.C (SearchForward): adjust
4464 (SearchBackward): adjust
4465 (nextChange): adjust
4467 * lyxcursor.C (par): adjust
4469 * lyxcursor.h: store a ParagraphList::iterator instead of a
4472 * lyx_cb.C (getPossibleLabel): adjust
4474 * bufferview_funcs.C (toggleAndShow): adjust
4476 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4479 * BufferView.C (removeAutoInsets): adjust
4480 (lockedInsetStoreUndo): adjust
4482 2003-04-09 John Levon <levon@movementarian.org>
4484 * ToolbarBackend.C: try icon without argument
4485 if with argument fails
4487 2003-04-08 John Levon <levon@movementarian.org>
4490 * ToolbarBackend.C: add getIcon(), handle tooltip,
4491 and change from "Icon" to "Item".
4493 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4495 * BufferView.C (lockInset): another bad getchar crunched
4497 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4499 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4502 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4504 * lyxfind.C (searchForward, searchBackwards): bug 782
4506 2003-04-07 John Levon <levon@movementarian.org>
4508 * paragraph.C: remove dead comment
4510 * text.C: remove troublesome depth-fiddling code
4511 in leftMargin() and rightMargin() (bug 1017)
4513 * text.C: fix breaking of rows in nested lists
4516 * text2.C (updateCounters): fix up depth values
4519 2003-04-07 John Levon <levon@movementarian.org>
4521 * BufferView_pimpl.C: clear message when doc finishes resizing,
4522 and after a mouse event
4524 * lyxfunc.C: clear message after exiting inset
4526 2003-04-07 John Levon <levon@movementarian.org>
4528 * bufferview_funcs.C: show math status not outside
4529 status in the statusbar
4531 2003-04-07 John Levon <levon@movementarian.org>
4533 * lyxfunc.C: note status changed after a depth change
4535 2003-04-04 Angus Leeming <leeming@lyx.org>
4537 * LaTeX.h: move AuxInfo operator==, != out of line.
4538 Remove LaTeX virtual destructor; nothing derives from it.
4539 Move operator()() out of public area and rename it startscript().
4540 Change protected for private.
4542 2003-04-04 Angus Leeming <leeming@lyx.org>
4545 * text2.C: remove unneeded #includes.
4547 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4549 * text2.C (dEPM): fix the heigth of the next row
4551 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4553 * text.C: squashed an invalid getChar requester + some ws changes
4555 2003-04-03 John Levon <levon@movementarian.org>
4557 * bufferview_funcs.h:
4558 * bufferview_funcs.C:
4561 * text2.C: make getStatus work for the env depth lfuns
4563 2003-04-03 John Levon <levon@movementarian.org>
4565 * bufferview_funcs.h:
4566 * bufferview_funcs.C:
4569 * text2.C: parlistize decDepth(), by merging it with incDepth()
4571 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4573 * lyxrow.h: store a ParagraphList::iterator instead of a
4574 Paragraph* and adjust other class functions to suit.
4576 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4579 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4581 * text2.C (setCursor): do not anchor to cursor row for the time being
4583 2003-04-02 John Levon <levon@movementarian.org>
4590 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4592 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4594 * paragraph.h: make ParagraphList and ParagraphList::iterator
4595 friends of Paragraph.
4597 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4599 * ParagraphList.C: Use the private next_ and previous_ from
4602 2003-04-01 John Levon <levon@movementarian.org>
4606 * Makefile.am: rename, remove defaults gunk
4609 * MenuBackend.C: remove defaults gunk
4612 * Languages.C: remove defaults gunk
4615 * lyx_main.C: error out if files couldn't be found.
4617 2003-04-02 John Levon <levon@movementarian.org>
4619 * text2.C: make incDepth() use parlist
4621 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4623 * undo_funcs.C (firstUndoParagraph): adjust
4625 * text3.C (gotoInset): adjust
4626 (dispatch): adjust, and rewrite loop.
4628 * text2.C (init): adjust, and rewrite loop.
4629 (redoParagraphs): adjust
4630 (updateInset): adjust, and rewrite loop.
4631 (deleteEmptyParagraphMechanism): adjust
4633 * tabular.C (LyXTabular): adjust
4634 (SetMultiColumn): adjust
4637 * lyxtext.[Ch] (ownerParagraph): delete function
4638 (ownerParagraphs): new function returns a ParagraphList.
4640 * BufferView.C (removeAutoInsets): adjust
4641 (insertErrors): adjust
4642 (setCursorFromRow): adjust
4644 2003-04-01 Angus Leeming <leeming@lyx.org>
4646 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4649 2003-04-02 John Levon <levon@movementarian.org>
4655 * text_funcs.C: make transposeChars a free function
4657 * lyxrow_funcs.C: remove wrong comment
4659 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4662 * rowpainter.C: adjust
4667 * lyxrow_funcs. [Ch]: new files
4669 * lyxrow.[Ch]: remove next and previous pointers
4670 (next,previous): remove accessor functions
4671 (isParEnd): move to lyxrow_funcs
4672 (lastPos): move to lyxrow_funcs
4673 (nextRowIsAllInset): move to lyxrow_funcs
4674 (lastPrintablePos): move to lyxrow_funcs
4675 (numberOfSeparators): move to lyxrow_funcs
4676 (numberOfHfills): move to lyxrow_funcs
4677 (numberOfLabelHfills): move to lyxrow_funcs
4678 (hfillExpansion): move to lyxrow_funcs
4682 * bufferview_funcs.C (toggleAndShow): adjust
4684 * RowList.h: Remove class RowList from file leave just a
4687 * RowList.C: delete file
4689 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4692 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4694 * text3.C (cursorPrevious): adjust
4695 (cursorNext): adjust
4698 * text2.C (redoHeightOfParagraph): adjust
4699 (redoDrawingOfParagraph): adjust
4702 * text.C (breakParagraph): adjust
4703 (insertChar): adjust
4706 * rowpainter.C (RowPainter): adjust
4707 (leftMargin): simplify and adjust
4708 (most rowpainter functions): adjust.
4710 * rowpainter.h: store the row as RowList::iterator not as Row*
4712 * lyxcursor.C (row): taka RowList::iterator as arg
4715 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4718 2003-04-01 Angus Leeming <leeming@lyx.org>
4720 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4721 stuff like bool Bool.
4723 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4725 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4728 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4730 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4733 * lyxtext.h (rows): drop one version and leve a const variant that
4734 returns a RowList::iterator.
4736 2003-03-31 Angus Leeming <leeming@lyx.org>
4738 * text.C (fill): ensure that the signature is the same as that in the
4741 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4743 * text2.C (redoParagraphs): adjust
4744 (updateCounters): adjust
4745 (checkParagraph): adjust
4746 (getColumnNearX): adjust and reformat a bit.
4748 * text.C (top_y): adjust
4750 (leftMargin): adjust
4751 (prepareToPrint): adjust
4753 (getRowNearY): adjust
4755 * lyxtext.h: make rowlist_ mutable.
4757 * RowList.h: add const_iterator
4758 * RowList.C: adjust for RowList::const_iterator.
4760 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4763 2003-03-31 John Levon <levon@movementarian.org>
4766 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4768 * lyx_main.C: set default fonts from using lyx_gui funcs
4770 * exporter.C: pdf_mode moved from lyxrc
4773 * lyxfunc.C: changes from above
4775 2003-03-31 John Levon <levon@movementarian.org>
4777 * lyx_main.C: fix to the last fix
4779 2003-03-31 John Levon <levon@movementarian.org>
4781 * bufferlist.C: "Load original" -> "Load Original"
4787 * format.C: more Alert cleanups
4789 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4791 * text2.C (removeParagraph): make it take a RowList::iterator as
4793 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4794 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4796 * text.C (anchor_row): make it take a RowList::iterator as arg,
4798 (computeBidiTables): make it take a const reference to Row instead
4799 of Row pointer, adjust.
4800 (leftMargin): make it take a RowList::iterator as arg, adjust.
4801 (rowBreakPoint): adjust
4802 (breakAgainOneRow): make it take a RowList::iterator as arg,
4804 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4806 * bufferview_funcs.C (toggleAndShow): adjust
4808 2003-03-30 John Levon <levon@movementarian.org>
4812 * boost-inst.C: moved to support
4814 * several files: changes as a result
4816 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4818 * text2.C (LyXText): adjust.
4820 (removeRow): make it take a RowList::iterator as arg, adjust.
4821 (fullRebreak): adjust
4822 (deleteEmptyParagraphMechanism): adjust
4823 (clearPaint): adjust
4826 * text.C (top_y): adjust
4827 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4828 (breakAgain): make it take a RowList::iterator as arg, adjust.
4829 (breakParagraph): adjust
4830 (insertChar): adjust
4833 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4834 need_break_row, and refresh_row.
4836 * text3.C (dispatch): adjust
4838 * text2.C (checkParagraph): adjust
4840 (setCursorFromCoordinates): adjust
4842 * text.C (top_y): adjust
4844 (getRow): make it return a RowList::iterator, adjust
4845 (getRowNearY): make it return a RowList::iterator, adjust
4847 * text2.C (init): adjust
4848 (insertRow): remove function
4849 (insertParagraph): adjust
4850 (redoParagraphs): adjust
4851 (fullRebreak): adjust
4852 (updateCounters): adjust
4854 * text.C (top_y): rewrite to use RowList iterators.
4856 (setHeightOfRow): rewrite to sue RowList iterators.
4857 (appendParagraph): adjust
4858 (breakAgain): adjust
4859 (breakAgainOneRow): adjust
4860 (breakParagraph): adjust
4862 (getRowNearY): adjust, and remove commented code.
4864 * lyxtext.h (firstRow): delete function
4865 (lastRow): delete function
4866 (rows): new function (const and non-const versions.)
4867 (insertRow): delete function
4869 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4871 2003-03-29 John Levon <levon@movementarian.org>
4873 * BufferView_pimpl.C: always update scrollbar top
4874 because pasting text when we're anchored could mean we
4875 miss an update altogether
4877 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4879 * text2.C (init): use rowlist_.end() and not 0.
4880 (insertRow): change to take a RowList::iterator as arg, adjust
4882 (insertParagraph): change to take a RowList::iterator as arg,
4884 (redoParagraphs): remove some debug msgs.
4886 * text.C (appendParagraph): change to take a RowList::iterator
4887 arg, adjust for this.
4888 (breakAgain): add an assert
4889 (breakAgainOneRow): ditto
4891 2003-03-29 John Levon <levon@movementarian.org>
4893 * text2.C: do not clear selection after inc/decDepth
4896 2003-03-29 John Levon <levon@movementarian.org>
4899 * buffer.C: fix broken strerrors according to Lars
4901 2003-03-29 John Levon <levon@movementarian.org>
4903 * converters.C: more Alert cleanups
4905 2003-03-29 John Levon <levon@movementarian.org>
4907 * bufferview_funcs.C: remove pointless Alert
4909 * buffer.C: fix confusing error message when
4910 a template is chmoded 000
4912 2003-03-29 John Levon <levon@movementarian.org>
4916 * BufferView_pimpl.C: Alert fixes
4920 * tabular-old.C: remove unused table compat reading
4922 2003-03-29 John Levon <levon@movementarian.org>
4927 * lyx_cb.C: more Alert cleanups
4929 * lyxfunc.C: don't allow chktex if not latex document
4931 2003-03-29 John Levon <levon@movementarian.org>
4935 * buffer.C: warnings pushed down from support/,
4938 2003-03-29 John Levon <levon@movementarian.org>
4940 * lyxfunc.C: safety check for C-r (revert)
4942 2003-03-29 John Levon <levon@movementarian.org>
4945 * bufferlist.C: several UI fixes using Alert::prompt.
4946 Fix the pointless looping quit code. Fix stupid revert
4951 * lyx_cb.C: use Alert::prompt
4953 * lyx_main.C: remove a silly question
4955 * lyxfunc.C: remove a couple of silly questions,
4958 2003-03-28 John Levon <levon@movementarian.org>
4960 * text2.C: fix bug 974 (End on empty par)
4962 2003-03-28 John Levon <levon@movementarian.org>
4964 * BufferView_pimpl.C:
4966 * lfuns.h: remove do-nothing math greek lfuns
4968 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4970 * lyxgluelength.h (isValidGlueLength): add default arg on
4971 parameter 2. Remove default arg from friend in class.
4973 * lyxlength.h (isValidLength): add default arg on parameter 2.
4974 Remove default arg from friend in class.
4976 * text2.C (LyXText): adjust, initialize refresh_row.
4980 (insertParagraph): adjst
4981 (redoParagraphs): adjust
4982 (fullRebreak): adjust
4983 (updateCounters): adjust
4984 (deleteEmptyParagraphMechanism): first attempt at fixing a
4987 * text.C (top_y): adjust
4988 (setHeightOfRow): adjust
4990 (getRowNearY): adjust
4992 * lyxtext.h: include RowList.h
4993 (~LyXText): not needed anymore, deleted.
4994 (firstRow): modify for RowList
4995 (lastRow): new function
4996 Delete firstrow and lastrow class variables, add a Rowlist
4997 rowlist_ class variable.
4999 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5002 * RowList.C (insert): fix case where it == begin().
5004 2003-03-26 Angus Leeming <leeming@lyx.org>
5006 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5007 the thesaurus dialog.
5009 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5011 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5013 * RowList.[Ch]: new files
5015 * ParagraphList.C (erase): handle the case where it == begin
5018 2003-03-25 John Levon <levon@movementarian.org>
5022 * aspell.C: add new aspell support
5025 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5028 2003-03-25 Angus Leeming <leeming@lyx.org>
5031 * LyXAction.C (init): new LFUN_INSET_INSERT.
5033 * BufferView_pimpl.C (dispatch): split out part of the
5034 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5036 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5039 2003-03-25 Angus Leeming <leeming@lyx.org>
5041 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5043 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5046 * text3.C: remove useless row->height(0)
5048 2003-03-25 John Levon <levon@movementarian.org>
5052 * text3.C: rename the refreshing stuff to better names
5054 2003-03-24 John Levon <levon@movementarian.org>
5056 * BufferView_pimpl.h:
5057 * BufferView_pimpl.C: update layout choice on a mouse
5060 2003-03-23 John Levon <levon@movementarian.org>
5062 * Makefile.am: fix commandtags.h reference
5064 2003-03-22 John Levon <levon@movementarian.org>
5066 * BufferView_pimpl.C:
5071 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5073 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5076 * text.C: take the rtl methods out of line
5078 2003-03-21 André Pönitz <poenitz@gmx.net>
5080 * metricsinfo.[Ch]: new files containing structures to be passed around
5081 during the two-phase-drawing...
5083 2003-03-21 André Pönitz <poenitz@gmx.net>
5085 * lyxtextclass.C: read 'environment' tag.
5087 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5089 * text2.C (removeRow): fix bug 964
5091 2003-03-20 John Levon <levon@movementarian.org>
5095 * text2.C: paint cleanups. Inset::update() dropped font
5098 2003-03-19 John Levon <levon@movementarian.org>
5100 * lyxfunc.C: only fitcursor/markDirty if available()
5102 2003-03-19 John Levon <levon@movementarian.org>
5104 * commandtags.h: rename to ...
5106 * lfuns.h: ... this, and renumber / cleanup
5108 2003-03-19 John Levon <levon@movementarian.org>
5110 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5111 fit the cursor after an lfun
5115 * BufferView_pimpl.h:
5116 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5118 * LyXAction.C: layout-character should have ReadOnly
5120 * ParagraphParameters.C:
5122 * bufferview_funcs.C:
5129 * undo_funcs.C: changes from above
5131 2003-03-18 John Levon <levon@movementarian.org>
5133 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5134 remove it from update()
5136 * lyxfunc.C: update layout choice after an lfun
5138 * text3.C: remove extra updateLayoutChoice()s
5140 2003-03-18 John Levon <levon@movementarian.org>
5142 * text.C: top_y change means full repaint, fix
5143 a drawing bug with cursor movement
5145 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5149 * text2.C: anchor row on setCursor
5151 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5153 * lyxtext.h: remove almost all mutable keywords
5156 * text3.C: remove const keywords accordingly
5158 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5160 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5162 (TeXEnvironment): ditto
5165 2003-03-17 John Levon <levon@movementarian.org>
5167 * text.C (rowBreakPoint): remove attempt to fix displayed
5168 math insets inside a manual label
5170 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5172 * lyxtext.h: remove BufferView* as first arg from almost all class
5174 * other files: adjust.
5176 2003-03-17 John Levon <levon@movementarian.org>
5180 * text2.C: more paint cleanups
5182 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5185 * rowpainter.C: remove "smart" background painting code
5187 2003-03-16 John Levon <levon@movementarian.org>
5192 * text3.C: add helper functions for setting refresh_row/y
5194 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5196 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5197 newline inset which *can* get inserted in the pass_thru layouts.
5198 This is primarily for literate documents.
5200 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5202 * buffer.C: increment LYX_FORMAT to 223
5204 2003-03-14 André Pönitz <poenitz@gmx.net>
5206 * textclass.h: prepare for environment handling, ws changes
5207 * lyxlayout.C: read latexheader and latexfooter tags
5209 2003-03-14 John Levon <levon@movementarian.org>
5211 * text2.C: rewrite ::status() a bit
5213 2003-03-13 John Levon <levon@movementarian.org>
5215 * lyxtext.h: add some docs
5217 2003-03-13 John Levon <levon@movementarian.org>
5222 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5224 2003-03-13 John Levon <levon@movementarian.org>
5226 * text3.C: fix appendix redrawing
5228 2003-03-13 John Levon <levon@movementarian.org>
5230 * text.C (setHeightOfRow):
5232 * rowpainter.C: make appendix mark have the text
5233 "Appendix" so the user knows what it is
5236 * LColor.C: s/appendixline/appendix/ from above
5238 2003-03-13 John Levon <levon@movementarian.org>
5240 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5242 * text.C: fix a getChar(pos) bug properly
5244 2003-03-13 Angus Leeming <leeming@lyx.org>
5247 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5248 Probably only temporary. Let's see how things pan out.
5250 * BufferView.C (unlockInset):
5251 * BufferView_pimpl.C (fitCursor):
5252 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5254 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5255 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5257 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5258 new functions that convert ParagraphParameters to and from a string.
5260 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5261 BufferView::Pimpl's dispatch.
5262 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5264 2003-03-13 André Pönitz <poenitz@gmx.net>
5268 * factory.C: make it aware of InsetEnv
5270 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5272 * text2.C (setCursor): never ask for one past last
5273 (setCursor): add some debugging messages.
5275 * text.C (singleWidth): never ask for one past last
5276 (singleWidth): ditto
5278 (rightMargin): ditto
5279 (rowBreakPoint): ditto
5280 (setHeightOfRow): ditto
5281 (prepareToPrint): ditto
5283 * rowpainter.C (paintBackground): never ask for one past last
5284 (paintText): never ask for one past last
5286 * paragraph_pimpl.C (getChar): make the assert stricter, never
5287 allow the one past last pos to be taken
5289 * paragraph.C (getChar): ws changes only
5291 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5292 (numberOfSeparators): ditto
5293 (numberOfHfills): ditto
5295 2003-03-12 John Levon <levon@movementarian.org>
5301 * paragraph_funcs.C: fix per-buffer authorlists
5303 2003-03-12 John Levon <levon@movementarian.org>
5305 * text.C: fix newline in right address
5307 2003-03-12 Angus Leeming <leeming@lyx.org>
5309 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5310 duplicate those in LyXFunc::dispatch.
5314 * ToolbarDefaults.C:
5315 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5316 Add LFUN_FONTFREE_UPDATE.
5318 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5319 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5321 * bufferview_func.[Ch]: several new functions to facilliate
5322 transfer of data to and from the character dialog.
5324 2003-03-12 John Levon <levon@movementarian.org>
5329 * paragraph_funcs.C:
5330 * paragraph_pimpl.C:
5334 * text3.C: remove META_NEWLINE in favour of an inset
5337 * rowpainter.C: remove paintNewline (done by inset)
5339 2003-03-12 John Levon <levon@movementarian.org>
5341 * paragraph_pimpl.C: complain about bad getChar()s
5342 for a while at least
5344 2003-03-12 John Levon <levon@movementarian.org>
5347 * buffer.C: move paragraph read into a separate function,
5348 a little renaming to reflect that.
5351 * bufferparams.C: remove the author_ids map, not necessary now
5354 * factory.C: moved Buffer::readInset to here
5356 * paragraph_funcs.h:
5357 * paragraph_funcs.C: readParagraph free function moved from
5360 * tabular.C: name change
5362 2003-03-12 John Levon <levon@movementarian.org>
5365 * ParagraphParameters.C: move par params input to
5368 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5369 behave like a normal read from the stream wrt reading
5370 a line vs. a \\token
5372 2003-03-12 John Levon <levon@movementarian.org>
5375 * ParagraphParameters.h:
5376 * ParagraphParameters.C: move output code to a
5379 2003-03-12 John Levon <levon@movementarian.org>
5381 * BufferView.C (insertLyXFile):
5384 * tabular.C: use a parlist iterator for creating the
5387 2003-03-12 John Levon <levon@movementarian.org>
5389 * buffer.C: make current_change static local not
5392 2003-03-12 John Levon <levon@movementarian.org>
5394 * buffer.C: fix insertStringAsLines for change tracking
5396 2003-03-12 John Levon <levon@movementarian.org>
5403 * bufferparams.C: move author list into params. Rename some
5404 functions. Move the header reading into a separate token
5405 loop. Move the header token reading into BufferParams.
5407 2003-03-12 John Levon <levon@movementarian.org>
5409 * changes.C: put debug inside lyxerr.debugging() checks
5411 2003-03-11 André Pönitz <poenitz@gmx.net>
5413 * factory.C: make it aware of InsetHFill
5415 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5417 * buffer.C (latexParagraphs): move function from here...
5418 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5421 2003-03-10 Angus Leeming <leeming@lyx.org>
5423 * LyXAction.C (init): fix bug in poplating array with multiple entries
5424 with the same LFUN (spotted by JMarc).
5426 2003-03-10 John Levon <levon@movementarian.org>
5429 * text2.C: move getColumnNearX() near its
5432 2003-03-10 John Levon <levon@movementarian.org>
5434 * text.C: fix break before a minipage
5436 2003-03-10 John Levon <levon@movementarian.org>
5438 * text.C: fix the last commit
5440 2003-03-09 John Levon <levon@movementarian.org>
5444 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5445 bug 365 (don't break before insets unless needed). Don't
5446 return a value > last under any circumstances.
5448 2003-03-09 Angus Leeming <leeming@lyx.org>
5450 * BufferView_pimpl.C (trackChanges, dispatch): call
5451 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5453 2003-03-09 Angus Leeming <leeming@lyx.org>
5455 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5456 than Dialogs::showAboutlyx().
5458 2003-03-09 Angus Leeming <leeming@lyx.org>
5460 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5461 than Dialogs::showTabularCreate().
5463 2003-03-09 John Levon <levon@movementarian.org>
5467 * text2.C: 3rd arg to nextBreakPoint was always the same.
5470 2003-03-08 John Levon <levon@movementarian.org>
5477 * text2.C: Remove the "main" bit from the "main body"
5480 2003-03-08 John Levon <levon@movementarian.org>
5482 * text.C (leftMargin): The left margin of an empty
5483 manual label paragraph should not include the label width
5486 * text.C (prepareToPrint): don't attempt to measure hfills
5487 for empty manual label paragraphs - the answer should be 0
5489 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5491 * CutAndPaste.C: remove commented code and reindent.
5493 2003-03-08 John Levon <levon@movementarian.org>
5496 * lyxfunc.C: move reloadBuffer()
5499 * BufferView.C: to here
5501 * lyxvc.C: add comment
5504 * vc-backend.C: call bv->reload() to avoid
5505 getStatus() check on MENURELOAD
5507 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5509 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5510 to an old format .dep file.
5512 2003-03-07 Angus Leeming <leeming@lyx.org>
5514 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5515 when the LFUN_MOUSE_RELEASE should have been handled by
5516 inset->localDispatch.
5518 2003-03-07 Angus Leeming <leeming@lyx.org>
5520 * BufferView_pimpl.C (dispatch):
5521 * LyXAction.C (init):
5522 * ToolbarDefaults.C (init):
5524 * lyxfunc.C (getStatus):
5525 remove LFUN_INSET_GRAPHICS.
5527 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5529 2003-03-07 Angus Leeming <leeming@lyx.org>
5532 * LyXAction.C (init):
5533 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5535 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5538 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5540 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5541 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5543 2003-03-07 Angus Leeming <leeming@lyx.org>
5545 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5548 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5550 * ParagraphList.C (front): new function
5553 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5555 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5556 and top_row_offset_. removed var first_y.
5558 * text2.C (LyXText, removeRow):
5560 * BufferView_pimpl.C:
5561 use these methods instead of using first_y
5563 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5565 * text2.C (pasteSelection): adjust for checkPastePossible
5567 * CutAndPaste.C: remove Paragraph * buf and replace with
5568 ParagraphList paragraphs.
5569 (DeleteBuffer): delete
5570 (cutSelection): change the tc type to textclass_type
5571 (copySelection): change the tc type to textclass_type
5572 (copySelection): adjust for ParagraphList
5573 (pasteSelection): change the tc type to textclass_type
5574 (pasteSelection): adjust for Paragraphlist
5575 (nrOfParagraphs): simplify for ParagraphList
5576 (checkPastePossible): simplify for ParagraphList
5577 (checkPastePossible): remove unused arg
5579 * ParagraphList.C (insert): handle the case where there are no
5582 * CutAndPaste.h: make CutAndPaste a namespace.
5584 * text3.C (dispatch): adjust
5586 * text.C (breakParagraph): add a ParagraphList as arg
5588 * paragraph_funcs.C (breakParagraph): change to take a
5589 BufferParams and a ParagraphList as args.
5590 (breakParagraphConservative): ditto
5591 (mergeParagraph): ditto
5592 (TeXDeeper): add a ParagraphList arg
5593 (TeXEnvironment): ditto
5596 * buffer.C (readLyXformat2): adjust
5597 (insertStringAsLines): adjust
5598 (latexParagraphs): adjust
5600 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5601 (cutSelection): adjust
5602 (pasteSelection): adjust
5604 * BufferView_pimpl.C (insertInset): adjust
5606 2003-03-05 Angus Leeming <leeming@lyx.org>
5609 * LyXAction.C (init):
5610 * BufferView_pimpl.C (dispatch):
5611 * lyxfunc.C (getStatus):
5612 remove LFUN_CHILD_INSERT.
5614 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5616 2003-03-05 Angus Leeming <leeming@lyx.org>
5619 * LyXAction.C (init):
5620 * src/factory.C (createInset):
5621 * lyxfunc.C (getStatus):
5622 * text3.C (dispatch):
5623 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5625 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5627 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5629 * ParagraphList.C (insert): handle insert right before end()
5630 (erase): fix cases where it can be first or last paragraph.
5632 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5634 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5635 Paragraph::next and Paragraph::previous
5638 * text.C (breakParagraph): adjust
5640 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5641 BufferParams& as arg.
5642 (breakParagraph): use ParagraphList::insert
5643 (breakParagraphConservative): take a Buffer* instead of a
5644 BufferParams& as arg.
5645 (breakParagraphConservative): use ParagraphList::insert.
5647 * buffer.C (insertStringAsLines): un-const it
5648 (insertStringAsLines): adjust
5650 * ParagraphList.C (insert): new function
5652 * CutAndPaste.C (pasteSelection): adjust
5654 * text.C (backspace): adjust
5656 * tabular.C (SetMultiColumn): adjust
5658 * CutAndPaste.C (cutSelection): adjust
5659 (pasteSelection): adjust
5661 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5662 Buffer const * as arg
5664 * ParagraphList.C (erase): new function
5665 * paragraph_funcs.C (mergeParagraph): use it
5666 (mergeParagraph): make it take a Buffer* instead of a
5667 BufferParams* as arg
5669 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5671 (breakParagraphConservative): ditto
5673 * paragraph.h: remove the breakParagraph friend
5675 * paragraph.C (eraseIntern): new function
5676 (setChange): new function
5678 * paragraph_funcs.C (mergeParagraph): make it take a
5679 ParagraphList::iterator instead of a Paragraph *, adjust
5682 * paragraph.h: move an #endif so that the change tracking stuff
5683 also works in the NO_NEXT case.
5685 2003-03-04 Angus Leeming <leeming@lyx.org>
5688 * LyXAction.C: new LFUN_INSET_MODIFY.
5690 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5691 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5693 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5695 * several files: ws changes only
5697 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5698 (TeXEnvironment): ditto
5701 * buffer.C (makeLaTeXFile): adjust
5702 (latexParagraphs): make it take ParagraphList::iterator as args
5704 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5706 * buffer.C (latexParagraphs): adjust
5708 * paragraph.C (TeXOnePar): move function...
5709 (optArgInset): move function...
5710 (TeXEnvironment): move function...
5711 * paragraph_pimpl.C (TeXDeeper): move function...
5712 * paragraph_funcs.C: ...here
5714 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5716 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5718 * buffer.C (readInset): remove compability code for old Figure and
5721 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5723 * buffer.C: ws changes
5726 * BufferView_pimpl.C: ditto
5729 * bufferlist.h: ditto
5733 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5735 * converter.[Ch]: split into itself +
5738 * Makefile.am: += graph.[Ch] + format.[Ch]
5745 * lyxrc.C: added #include "format.h"
5747 2003-02-27 Angus Leeming <leeming@lyx.org>
5749 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5752 * factory.C (createInset): add "label" to the factory.
5754 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5755 string and do no more.
5757 2003-02-27 Angus Leeming <leeming@lyx.org>
5760 * LyXAction.C (init):
5761 * factory.C (createInset):
5762 * BufferView_pimpl.C (dispatch):
5763 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5765 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5767 * lyxfunc.C (dispatch):
5768 * text3.C (dispatch): pass name to params2string.
5770 2003-02-26 Angus Leeming <leeming@lyx.org>
5772 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5774 Rearrange the ~includes. Strip out the unnecessary ones.
5776 * factory.C (createInset): reformat.
5777 create new insets for the various LFUN_XYZ_APPLY lfuns.
5779 2003-02-26 John Levon <levon@movementarian.org>
5782 * lyxrow.C: add isParStart,isParEnd helpers
5784 * paragraph.h: make isInserted/DeletedText take refs
5786 * paragraph_funcs.h:
5787 * paragraph_funcs.C: remove #if 0'd code
5792 * text.C: use lyxrow helpers above.
5793 Move draw and paint routines to RowPainter.
5794 Make several methods use refs not pointers.
5795 Make backgroundColor() const.
5796 Add markChangeInDraw(), isInInset().
5797 Merge changeRegionCase into changeCase.
5798 Make workWidth() shouldn't-happen code into an Assert.
5801 * rowpainter.C: new class for painting a row.
5804 * vspace.C: make inPixels take a ref
5806 2003-02-26 Angus Leeming <leeming@lyx.org>
5808 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5811 2003-02-25 John Levon <levon@movementarian.org>
5813 * ispell.C: give the forked command a more accurate name
5815 2003-02-22 John Levon <levon@movementarian.org>
5818 * toc.C: make TocItem store an id not a Paragraph *
5821 2003-02-21 Angus Leeming <leeming@lyx.org>
5823 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5824 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5825 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5826 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5827 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5828 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5830 * BufferView_pimpl.C (dispatch):
5831 * LyXAction.C (init):
5832 * factory.C (createInset):
5833 * lyxfunc.C (getStatus, dispatch):
5834 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5836 2003-02-21 Angus Leeming <leeming@lyx.org>
5838 * BufferView_pimpl.C (MenuInsertLyXFile):
5839 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5840 * lyxfunc.C (menuNew, open, doImport):
5841 no longer pass a LyXView & to fileDlg.
5843 2003-02-21 Angus Leeming <leeming@lyx.org>
5845 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5846 * LyXAction.C: change, BIBKEY to BIBITEM.
5847 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5848 Change InsetBibKey to InsetBibitem.
5849 Change BIBKEY_CODE to BIBITEM_CODE.
5850 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5851 * factory.C: replace insetbib.h with insetbibitem.h.
5852 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5853 * paragraph.C: replace insetbib.h with insetbibitem.h.
5854 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5855 Change bibkey() to bibitem().
5856 * text.C: remove insetbib.h.
5857 * text2.C: replace insetbib.h with insetbibitem.h.
5858 change bibkey() to bibitem().
5859 * text3.C: remove insetbib.h.
5860 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5862 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5864 * lyxrc.C (output): enclose user email in quotes (in case there are
5867 2003-02-18 John Levon <levon@movementarian.org>
5869 * buffer.h: add std::
5871 2003-02-17 John Levon <levon@movementarian.org>
5877 * pspell.C: reworking. Especially in ispell, a large
5878 number of clean ups and bug fixes.
5880 * lyxfunc.C: fix revert to behave sensibly
5882 2003-02-17 André Pönitz <poenitz@gmx.net>
5885 * commandtags.h: new LFUN_INSERT_BIBKEY
5895 * paragraph_func.C: remove special bibkey handling
5897 2003-02-17 John Levon <levon@movementarian.org>
5899 * text.C (Delete): fix case where delete at the end of
5900 the very first paragraph would not merge the pars
5902 2003-02-17 John Levon <levon@movementarian.org>
5904 * lyxrow.C: fix lastPrintablePos()
5906 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5908 * bufferparams.C (writeLaTeX): add a std:here
5910 * buffer.C: and remove a using directive there
5912 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5914 * buffer.C (makeLaTeXFile): move the code that generates the
5917 * bufferparams.C (writeLaTeX): ... in this new method
5919 * LaTeXFeatures.C (getEncodingSet): make const
5920 (getLanguages): make const
5922 * MenuBackend.C (binding): returns the binding associated to this
5924 (add): sets the status of each item by calling getStatus. Adds
5926 (read): add support for OptSubMenu
5927 (expand): remove extra separator at the end of expanded menu
5929 2003-02-15 John Levon <levon@movementarian.org>
5932 * BufferView_pimpl.C:
5934 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5935 inset code that had no actual effect. Remove unneeded status
5938 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5940 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5943 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5945 * text.C (drawLengthMarker): also draw an arrow marker for
5946 symbolic lengths (medskip...)
5948 2003-02-14 John Levon <levon@movementarian.org>
5951 * tabular.C: better method names
5953 2003-02-14 John Levon <levon@movementarian.org>
5955 * BufferView_pimpl.C:
5960 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5961 it's a more accurate name. Remove some pointless uses.
5963 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5965 * text2.C (LyXText): change order of initilizers to shut off
5968 2003-02-14 John Levon <levon@movementarian.org>
5970 * buffer.C: use ParIterator for getParFromID()
5974 * paragraph_pimpl.h:
5975 * paragraph_pimpl.C: remove unused getParFromID()
5977 2003-02-14 John Levon <levon@movementarian.org>
5979 * buffer.C: remove some very old #if 0'd parse code
5981 2003-02-13 John Levon <levon@movementarian.org>
5985 * text2.C: move hfillExpansion(), numberOfSeparators(),
5986 rowLast(), rowLastPrintable(), numberofHfills(),
5987 numberOfLabelHfills() ...
5990 * lyxrow.C: ... to member functions here.
5995 * text.C: remove LyXText::beginningOfMainBody(), and call
5996 p->beginningOfMainBody() directly. Move the check for
5997 LABEL_MANUAL into the latter.
6004 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6010 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6011 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6013 2003-02-13 John Levon <levon@movementarian.org>
6015 * CutAndPaste.C: remove debug
6017 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6019 * paragraph.C (asString): remove two unused variables
6021 * lyxtextclass.C (readTitleType):
6023 (LyXTextClass): handle new members titletype_ and titlename_
6025 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6027 2003-02-09 John Levon <levon@movementarian.org>
6030 * buffer.C: replace hand-coded list with a map for the dep clean
6032 2003-02-08 John Levon <levon@movementarian.org>
6034 * LaTeX.C: consolidate code into showRunMessage() helper
6036 2003-02-08 John Levon <levon@movementarian.org>
6041 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6042 and pass the size in explicitly
6044 * BufferView_pimpl.h:
6045 * BufferView_pimpl.C:
6047 * BufferView.C: add getCurrentChange()
6049 * BufferView_pimpl.h:
6050 * BufferView_pimpl.C: handle change lfuns
6052 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6053 for changes. Mark pasted paragraphs as new.
6055 * support/lyxtime.h:
6056 * support/lyxtime.C:
6057 * DepTable.C: abstract time_t as lyx::time_type
6060 * LColor.C: add colours for new text, deleted text, changebars
6062 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6063 package use "usenames" option.
6067 * LyXAction.C: add change lfuns
6071 * author.C: author handling
6074 * buffer.C: add a per-buffer author list, with first entry as
6075 current author. Handle new .lyx tokens for change tracking. Output
6076 author list to .lyx file. Output dvipost stuff to .tex preamble.
6077 Bump lyx format to 222.
6080 * bufferlist.C: add setCurrentAuthor() to reset current author details
6084 * bufferparams.C: add param for tracking
6086 * bufferview_funcs.C: output change info in minibuffer
6090 * changes.C: add change-tracking structure
6093 * debug.C: add CHANGES debug flag
6096 * lyxfind.C: add code for finding the next change piece
6099 * lyxrc.C: add user_name and user_email
6102 * lyxrow.C: add a metric for the top of the text line
6105 * text.C: implement accept/rejectChange()
6108 * text.C: paint changebars. Paint new/deleted text in the chosen
6109 colours. Strike through deleted text.
6113 * paragraph_pimpl.h:
6114 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6115 in the current change to the insert functions. Rework erase to
6116 mark text as deleted, adding an eraseIntern() and a range-based
6117 erase(). Implement per-paragraph change lookup and
6120 * paragraph_funcs.C: Fixup paste for change tracking.
6122 * tabular.C: mark added row/columns as new.
6124 * text.C: fix rowLast() to never return -1. Don't allow
6125 spellchecking of deleted text. Track transpose changes. Don't
6126 allow paragraph break or merge where appropriate.
6128 * text2.C: leave cursor at end of selection after a cut.
6130 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6132 * text.C (getLengthMarkerHeight):
6133 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6134 visible on screen too.
6136 2003-02-07 John Levon <levon@movementarian.org>
6138 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6140 2003-02-05 Angus Leeming <leeming@lyx.org>
6142 * lyxserver.C (read_ready): revert my patch of 11 September last year
6143 as it sends PC cpu through the roof. Presumably this means that
6144 the lyxserver will no longer run on an Alpha...
6146 2003-01-30 Angus Leeming <leeming@lyx.org>
6148 * factory.C (createInset): create an InsetCommandParam of type "index"
6149 and use it to 'do the right thing'.
6151 * text2.C (getStringToIndex): ensure that cursor position is always
6152 reset to the reset_cursor position.
6154 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6156 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6159 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6163 * lyxfunc.C: Output messages with identical spelling, punctuation,
6166 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6168 * MenuBackend.C (expandFormats): List only viewable export formats
6171 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6174 * lyxfunc.C (getStatus): Make sure that formats other than
6175 "fax" can also be disabled
6177 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6179 * text3.C (dispatch): put the lfuns that insert insets in 3
6180 groups, and call doInsertInset with appropriate arguments.
6181 (doInsertInset): new function, that creates an inset and inserts
6182 it according to some boolean parameters.
6184 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6186 * buffer.C (readFile): remember to pass on 'par' when calling
6187 readFile recursively.
6189 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6191 * MenuBackend.C (expandFormats): add "..." to import formats.
6193 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6195 * paragraph.C (asString): Remove XForms RTL hacks.
6197 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6198 * buffer.C: fix typo
6200 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6202 * Makefile.am (LIBS): delete var
6203 (lyx_LDADD): add @LIBS@ here instead.
6205 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6207 * Clarify the meaning of "wheel mouse jump"
6209 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6211 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6214 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6216 * importer.C (Loaders): do not preallocate 3 elements in the
6217 vector, since one ends up with 6 elements otherwise
6219 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6221 * DepTable.C (write): write the file name as last element of the
6222 .dep file (because it may contain spaces)
6223 (read): read info in the right order
6225 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6227 * paragraph_pimpl.C (simpleTeXBlanks):
6228 (simpleTeXSpecialChars):
6229 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6231 * tabular.C (latex): add some missing case statements. Reindent.
6233 * MenuBackend.C (expandToc): remove unused variable.
6235 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6244 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6247 2003-01-05 John Levon <levon@movementarian.org>
6250 * BufferView.C: add getEncoding()
6253 * kbsequence.C: do not store last keypress
6256 * lyxfunc.C: store last keypress here instead. Pass encoding
6259 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6261 * lyx_main.C (init): remove annoying error message when following
6262 symbolic links (bug #780)
6264 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6266 * text.C (insertChar):
6267 * lyxrc.C (getDescription): remove extra spaces
6269 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6271 * lyxrc.C (getDescription): remove extra spaces
6273 2002-12-20 John Levon <levon@movementarian.org>
6275 * text3.C: hack fix for page up/down across tall rows
6277 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6279 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6282 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6284 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6285 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6286 thesaurus is not compiled in
6288 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6290 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6292 2002-12-16 Angus Leeming <leeming@lyx.org>
6295 * lyx_main.C (init): remove override_x_deadkeys stuff.
6297 2002-12-12 John Levon <levon@movementarian.org>
6299 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6300 insert. Only remove shift modifier under strict
6303 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6305 * MenuBackend.C (expandToc): fix crash.
6307 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6309 * MenuBackend.C (expandToc): gettext on float names.
6311 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6313 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6314 implement bool empty() [bug 490]
6316 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6318 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6320 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6322 * several files: ws changes
6324 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6326 * text2.C (setCounter): clean up a bit, use boost.format.
6327 (updateCounters): initialize par upon declaration.
6329 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6330 if the layout exists. We do not just store the layout any more.
6331 (SwitchLayoutsBetweenClasses): use boost.format
6333 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6335 * converter.C (convert): if from and to files are the same, use a
6336 temporary files as intermediary
6338 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6341 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6343 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6345 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6347 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6349 * tabular.C (asciiPrintCell): use string(size, char) instead of
6352 * sgml.C (openTag): fix order of arguments to string constructor
6355 * lyxfunc.C (dispatch): use boost.format
6357 * lots of files: change "c" -> 'c'
6359 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6361 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6363 2002-11-25 Angus Leeming <leeming@lyx.org>
6365 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6367 * lyx_main.C (init): compile fix.
6369 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6371 * lyx_cb.C (start): boost.formatify
6372 do not include <iostream>
6374 * lengthcommon.C: ws only
6376 * boost-inst.C,BoostFormat.h: add more explict instantations
6378 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6380 * lots of files: handle USE_BOOST_FORMAT
6382 2002-11-21 John Levon <levon@movementarian.org>
6384 * pspell.C: fix compile
6386 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6388 * lyxfunc.C (dispatch): use boost::format
6392 * lyxfont.C (stateText): use boost::format
6394 * lyx_main.C (LyX): use boost::format
6396 (queryUserLyXDir): ditto
6399 (typedef boost::function): use the recommened syntax.
6401 * importer.C (Import): use boost::format
6403 * debug.C (showLevel): use boost::format
6405 * converter.C (view): use boost::format
6410 * bufferview_funcs.C (currentState): use boost::format
6412 * bufferlist.C (emergencyWrite): use boost::format
6414 * buffer.C (readLyXformat2): use boost::format
6415 (parseSingleLyXformat2Token): ditto
6417 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6419 * LaTeX.C (run): use boost::format
6421 * Chktex.C (scanLogFile): use boost::format
6423 * BufferView_pimpl.C (savePosition): use boost::format
6424 (restorePosition): ditto
6425 (MenuInsertLyXFile): ditto
6427 * BoostFormat.h: help file for explicit instation.
6429 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6431 * tabular.C (latex): Support for block alignment in fixed width
6434 2002-11-17 John Levon <levon@movementarian.org>
6436 * BufferView_pimpl.C:
6438 * lyxfunc.C: split filedialog into open/save
6440 2002-11-08 Juergen Vigna <jug@sad.it>
6442 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6443 by my last patch (hopefully).
6445 2002-11-08 John Levon <levon@movementarian.org>
6454 * toc.C: ParConstIterator, and use it (from Lars)
6456 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6458 * lyxtextclass.[Ch]: revise and add doxygen comments
6460 2002-11-07 John Levon <levon@movementarian.org>
6462 * text.C: fix progress value for spellchecker
6464 * toc.C: fix navigate menu for insetwrap inside minipage
6466 * paragraph_funcs.C: added FIXME for suspect code
6468 2002-11-07 John Levon <levon@movementarian.org>
6470 * BufferView_pimpl.C: fix redrawing of insets
6473 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6475 * text2.C (updateCounters): fix bug 668
6477 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6479 * text3.C (dispatch): Do not make the buffer dirty when moving the
6482 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6484 * vc-backend.C: STRCONV
6487 * text2.C (setCounter): STRCONV
6489 * paragraph.C (asString): STRCONV
6491 * lyxlength.C (asString): STRCONV
6492 (asLatexString): ditto
6494 * lyxgluelength.C (asString): STRCONV
6495 (asLatexString): ditto
6497 * lyxfunc.C (dispatch): STRCONV
6500 * lyxfont.C (stateText): STRCONV
6502 * importer.C (Import): STRCONV
6504 * counters.C (labelItem): STRCONV
6505 (numberLabel): ditto
6506 (numberLabel): remove unused ostringstream o
6511 * bufferview_funcs.C (currentState): STRCONV
6513 * buffer.C (readFile): STRCONV
6514 (asciiParagraph): ditto
6515 (makeLaTeXFile): ditto
6517 * Spacing.C (writeEnvirBegin): STRCONV
6519 * LaTeXFeatures.C (getLanguages): STRCONV
6520 (getPackages): ditto
6522 (getBabelOptions): ditto
6523 (getTClassPreamble): ditto
6524 (getLyXSGMLEntities): ditto
6525 (getIncludedFiles): ditto
6529 (scanAuxFile): ditto
6532 * LString.h: add the STRCONV macros
6534 * BufferView_pimpl.C (savePosition): STRCONV
6535 (restorePosition): ditto
6536 (MenuInsertLyXFile): ditto
6538 * vc-backend.C (scanMaster): change from submatch[...] to
6541 * funcrequest.C: include config.h
6543 * factory.C: include config.h
6545 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6547 * box.C: include config.h
6549 * LaTeX.C (scanAuxFile): change from submatch[...] to
6553 2002-10-25 Angus Leeming <leeming@lyx.org>
6555 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6557 * ispell.[Ch] (setError): new method.
6558 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6559 Use setError() insetead of goto END.
6561 * lyx_cb.C (AutoSave): move out child process into new class
6564 2002-10-30 John Levon <levon@movementarian.org>
6566 * text3.C: make start appendix undoable
6568 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6570 * lyxlength.C (inPixels): Fix returned value.
6572 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6575 2002-10-24 Angus Leeming <leeming@lyx.org>
6577 * lyxgluelength.h: no need to forward declare BufferParams
6578 or BufferView, so don't.
6580 2002-10-21 John Levon <levon@movementarian.org>
6582 * BufferView.C: menuUndo ->undo, redo
6584 * BufferView.h: document, remove dead, make some methods private
6586 * paragraph_funcs.h:
6587 * paragraph_funcs.C:
6588 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6593 * sgml.C: move sgml open/close tag into sgml.C
6595 * bufferview_funcs.h: unused prototype
6598 * lyxfunc.C: remove unused
6601 * text.C: remove unused
6603 2002-10-21 John Levon <levon@movementarian.org>
6607 * BufferView_pimpl.h:
6608 * BufferView_pimpl.C: fix mouse wheel handling based on
6609 patch from Darren Freeman
6611 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6613 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6615 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6617 * lyxlength.C (inPixels): Fix hanfling of negative length.
6618 Fix LyXLength::MU case.
6620 2002-10-16 John Levon <levon@movementarian.org>
6622 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6624 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6626 * converter.C (view): add support for $$i (file name) and $$p
6627 (file path) for the viewer command. If $$i is not specified, then
6628 it is appended to the command (for compatibility with old syntax)
6630 2002-10-14 Juergen Vigna <jug@sad.it>
6632 * undo_funcs.C (textHandleUndo): alter the order in which the
6633 new undopar is added to the LyXText, as we have to set first
6634 the right prev/next and then add it as otherwise the rebuild of
6635 LyXText is not correct. Also reset the cursor to the right paragraph,
6636 with this IMO we could remove the hack in "redoParagraphs()".
6638 2002-10-09 Angus Leeming <leeming@lyx.org>
6640 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6641 to turn off an optimisation if a new inset is to be inserted.
6643 2002-10-11 André Pönitz <poenitz@gmx.net>
6645 * lyxtext.h: make some functions public to allow access
6646 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6648 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6650 * text3.C (dispatch): when changing layout, avoid an infinite loop
6653 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6655 * lyxrc.C (read): treat a viewer or converter command of "none" as
6658 * MenuBackend.C (expandFormats): for an update, also allow the
6659 formats that are not viewable
6661 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6662 script if it is newer than the lyxrc.defaults in user directory
6664 2002-10-07 André Pönitz <poenitz@gmx.net>
6666 * text.C: Vitaly Lipatov's small i18n fix
6668 2002-09-25 Angus Leeming <leeming@lyx.org>
6670 * ispell.h: doxygen fix.
6672 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6674 * buffer.h (readFile): Add a new argument to the method, to allow
6675 reading of old-format templates.
6677 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6679 * toc.C (getTocList): Get TOC from InsetWrap.
6681 2002-09-16 John Levon <levon@movementarian.org>
6683 * lyxfunc.C: check tabular for cut/copy too
6685 2002-09-12 John Levon <levon@movementarian.org>
6690 * factory.C: add header
6692 * paragraph_funcs.h:
6693 * paragraph_funcs.C: cleanup
6695 2002-09-11 John Levon <levon@movementarian.org>
6697 * PrinterParams.h: odd/even default to true
6699 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6701 * PrinterParams.h: update printer parameters for new xforms dialog
6703 2002-09-11 Angus Leeming <leeming@lyx.org>
6705 * lyxserver.C (read_ready): re-write to make it more transparent
6706 and to make it work in coherent fashion under Tru64 Unix.
6708 2002-09-11 André Pönitz <poenitz@gmx.net>
6712 * text3.C: implement LFUN_WORDSEL
6714 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6716 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6717 make floatlist_ a boost::shared_ptr<FloatList>
6719 * lyxtextclass.C: include FloatList.h
6720 (LyXTextClass): initialize floatlist_
6721 (TextClassTags): add TC_NOFLOAT
6722 (Read): match "nofloat" to TC_NOFLOAT and use it.
6723 (readFloat): modify call to floatlist_
6727 * FloatList.[Ch] (FloatList): remove commented out float
6729 (erase): new function
6731 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6733 * MenuBackend.C (expandToc): fix crash when there is no document
6736 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6738 * many files: Add insetwrap.
6740 2002-09-09 John Levon <levon@movementarian.org>
6742 * text2.C: remove confusing and awkward depth wraparound
6744 2002-09-09 John Levon <levon@movementarian.org>
6746 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6749 * buffer.C: remove getIncludeonlyList()
6752 * lyxfunc.C: remove headers
6754 2002-09-09 Juergen Vigna <jug@sad.it>
6756 * text.C (getColumnNearX): fix form Michael this is most
6757 probably a cut&paste bug.
6759 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6761 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6763 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6764 references, ws changes.
6766 * text2.C (init): update counters after init
6767 (insertParagraph): no need to set counter on idividual paragraphs.
6768 (setCounter): access the counters object in the textclass object
6769 on in the buffer object.
6770 (updateCounters): ditto
6772 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6773 shared_ptr<Counters> to avoid loading counters.h in all
6775 (LyXTextClass): initialize ctrs_
6776 (TextClassTags): add TC_COUNTER, and ...
6777 (Read): use it here.
6778 (CounterTags): new tags
6779 (readCounter): new function
6780 (counters): new funtion
6781 (defaultLayoutName): return a const reference
6783 * counters.C (Counters): remove contructor
6784 (newCounter): remove a couple of unneeded statements.
6785 (newCounter): simplify a bit.
6786 (numberLabel): some small formatting changes.
6788 * buffer.[Ch]: remove all traces of counters, move the Counters
6789 object to the LyXTextClass.
6791 2002-09-06 Alain Castera <castera@in2p3.fr>
6793 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6794 package to set the horizontal alignment on fixed width columns.
6797 * lyx_sty.h: added tabularnewline macro def.
6799 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6801 2002-09-06 John Levon <levon@movementarian.org>
6803 * LyXAction.C: tooltips for sub/superscript
6805 * MenuBackend.C: a bit more verbose
6807 * lyxfunc.C: tiny clean
6809 * undo_funcs.C: document undo_frozen
6811 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6813 * counters.C (Counters): add missing algorithm counter.
6815 * text2.C (setCounter): lookup the counter with layouts latexname
6816 instead of by section number.
6817 (setCounter): use a hackish way to lookup the correct enum
6819 a float name->type change
6820 reset enum couners with counter name directly instead of depth value.
6822 * counters.C (Counters): remove the push_backs, change to use the
6823 float type not the float name.
6824 (labelItem): remove unused string, float name->type change
6826 * counters.h: don't include vector, loose the enums and sects vectors
6828 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6830 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6831 (Read): add float->TC_FLOAT to textclassTags
6832 (Read): and handle it in the switch
6833 (readFloat): new function
6835 * FloatList.C (FloatList): comment out the hardcoded float
6838 * lyxlayout.h: ws change.
6840 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6842 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6844 2002-09-03 Angus Leeming <leeming@lyx.org>
6846 * BufferView_pimpl.h: qualified name is not allowed in member
6847 declaration: WorkArea & Pimpl::workarea() const;
6849 * factory.C: added using std::endl directive.
6851 * text3.C: added using std::find and std::vector directives.
6853 2002-08-29 André Pönitz <poenitz@gmx.net>
6856 * text2.C: remove unused member number_of_rows
6859 * BufferView2.C: remove file, move contents to...
6860 * BufferView.C: ... here
6862 * BufferView_pimpl.C:
6863 * factory.C: move more inset creation to factory
6865 * vspace.C: avoid direct usage of LyXText, ws changes
6868 don't provide direct access to WorkArea, use two simple
6869 acessors haveSelction() and workHeight() instead
6872 2002-08-29 John Levon <levon@movementarian.org>
6874 * BufferView_pimpl.C (dispatch): do not continue when
6877 2002-08-28 André Pönitz <poenitz@gmx.net>
6879 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6882 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6884 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6886 * buffer.C: increment LYX_FORMAT to 221
6888 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6889 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6891 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6893 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6895 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6897 * factory.C (createInset): use LyXTextClass::floats
6899 * MenuBackend.C (expandFloatListInsert):
6900 (expandFloatInsert):
6903 * text2.C (setCounter):
6905 * LaTeXFeatures.C (useFloat):
6906 (getFloatDefinitions):
6908 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6910 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6911 floatlist_, with accessor floats().
6913 * FloatList.h: remove global FloatList
6915 2002-08-26 André Pönitz <poenitz@gmx.net>
6917 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6921 * BufferView_pimpl.C:
6922 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6924 2002-08-25 John Levon <levon@movementarian.org>
6926 * LyXAction.C: fix margin note description
6928 2002-08-24 John Levon <levon@movementarian.org>
6932 * bufferview_funcs.C:
6934 * undo_funcs.C: cleanups
6936 * lyxfunc.C: disable CUT/COPY when no selection
6938 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6940 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6941 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6943 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6944 Add backward compatibility to "mono", "gray" and "no".
6946 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6948 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6949 (and file_format >= 200).
6951 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6953 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6955 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6957 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6959 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6961 * BufferView_pimpl.C:
6968 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6969 inset and code to make it work with the paragraph code. The inset
6970 can be anywhere in the paragraph, but will only do the expected
6971 thing in LaTeX if the layout file contains the parameter line
6973 (or more generally, a nonzero value) for that layout.
6975 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6977 * paragraph.h: remove the declaration of undefined counters class
6980 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6982 * text2.C (setCounter): fixed enumeration mis-count as reported by
6983 Dr. Richard Hawkins.
6985 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6987 * paragraph_funcs.h: remove some unneeded includes
6989 * text.C (backspace): pasteParagraph now in global scipe
6991 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6992 (pasteSelection): ditto
6994 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6995 * paragraph_funcs.C (pasteParagraph): ... here
6997 2002-08-20 André Pönitz <poenitz@gmx.net>
6999 * commandtags.h: new LFUNs for swapping/copying table row/colums
7002 * lyxfunc.C: support for new lfuns
7004 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7007 * buffer.[Ch]: remove NO_COMPABILITY stuff
7009 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7011 * boost.C (throw_exception): new file, with helper function for
7012 boost compiled without exceptions.
7017 * ParameterStruct.h:
7018 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7020 * bufferlist.C (emergencyWriteAll): use boost bind
7022 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7024 * text.C: include paragraph_funcs.h
7025 (breakParagraph): breakParagraph is now in global scope
7027 * paragraph_funcs.[Ch]: new files
7029 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7032 * buffer.C: include paragraph_funcs.h
7033 (insertStringAsLines): breakParagraph is now in global scope
7035 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7038 * CutAndPaste.C: include paragraph_funcs.h
7039 (cutSelection): breakParagraphConservative is now in global scope
7040 (pasteSelection): ditto
7042 * buffer.h: declare oprator== and operator!= for
7043 Buffer::inset_iterator
7045 * bufferlist.C (emergencyWrite): don't use fmt(...)
7047 * text3.C: add using std::endl
7049 * BufferView.C (moveCursorUpdate): remove default arg
7051 2002-08-20 André Pönitz <poenitz@gmx.net>
7053 * buffer.[Ch]: move inline functions to .C
7056 * BufferView_pimpl.C:
7058 * buffer.[Ch]: use improved inset_iterator
7061 * paragraph.[Ch]: write one paragraph at a time
7063 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7065 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7066 style if style is not specified.
7068 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7070 * text2.C (setCounter): when searching for right label for a
7071 caption, make sure to recurse to parent insets (so that a caption
7072 in a minipage in a figure float works) (bug #568)
7074 2002-08-20 André Pönitz <poenitz@gmx.net>
7076 * text3.C: new file for LyXText::dispatch() and helpers
7078 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7080 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7082 2002-08-19 André Pönitz <poenitz@gmx.net>
7085 * text.C: new LyXText::dispatch()
7087 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7089 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7091 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7093 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7096 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7098 * Makefile.am: use $(variables) instead of @substitutions@
7100 2002-08-15 André Pönitz <poenitz@gmx.net>
7103 * BufferView_pimpl.C: streamlining mathed <-> outer world
7107 * LyXAction.C: remove unused LFUN_MATH
7109 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7111 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7113 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7115 * paragraph.C (Paragraph): reformat a bit
7116 (cutIntoMinibuffer): use builtin InsetList function instad of
7120 * buffer.C: include boost/bind.hpp, add using std::for_each
7121 (writeFileAscii): use ParagraphList iterators
7122 (validate): use for_each for validate traversal of paragraphs
7123 (getBibkeyList): use ParagraphList iterators
7124 (resizeInsets): use for_each to resizeInsetsLyXText for all
7126 (getParFromID): use ParagraphList iterators
7128 * BufferView2.C (lockInset): use paragraph list and iterators
7130 2002-08-14 John Levon <levon@movementarian.org>
7132 * lyxserver.C: remove spurious xforms include
7134 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7136 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7138 2002-08-13 André Pönitz <poenitz@gmx.net>
7141 * lyxfunc.C: further cleaning
7143 2002-08-13 André Pönitz <poenitz@gmx.net>
7145 * funcrequest.h: new constructor
7147 * funcrequest.C: move stuff here from .h
7150 * BufferView_pimpl.C:
7153 * lyxfunc.C: subsequent changes
7155 * lyxfunc.h: new view() member function
7157 * lyxfunc.C: subsequent changes
7159 2002-08-13 Angus Leeming <leeming@lyx.org>
7162 * BufferView_pimpl.C:
7170 changes due to the changed LyXView interface that now returns references
7171 to member variables not pointers.
7173 2002-08-13 Angus Leeming <leeming@lyx.org>
7175 * WordLangTuple (word, lang_code): return references to strings,
7180 * lyxtext.h: forward-declare WordLangTuple.
7185 * text.C: #include "WordLangTuple.h".
7188 * text.C: (selectNextWordToSpellcheck): constify return type.
7190 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7196 * paragraph_pimpl.h:
7199 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7201 Made updateCounter always count from start of buffer, and removed
7202 second argument (par).
7203 Reverted floats number display to '#'. Perhaps I'll try again when the
7204 code base is sanitized a bit.
7206 2002-08-12 Angus Leeming <leeming@lyx.org>
7208 * buffer.[Ch] (getLabelList): constify.
7210 2002-08-07 André Pönitz <poenitz@gmx.net>
7212 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7214 * funcrequest.h: extension to keep mouse (x,y) position
7216 2002-08-12 Juergen Vigna <jug@sad.it>
7218 * BufferView2.C (insertErrors): forbid undo when inserting error
7221 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7223 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7225 * ParagraphList.[Ch]: new files
7227 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7229 * BufferView2.C (lockInset): ParagraphList changes
7232 * bufferlist.C: ditto
7236 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7238 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7239 unused class variable counter_,
7241 * paragraph.[Ch] (getFirstCounter): delete unused function
7243 * counters.C: include LAssert.h
7244 (reset): add a new function with no arg, change other version to
7245 not have def. arg and to not allow empty arg.
7247 * text2.C (setCounter): remove empty arg from call to Counters::reset
7249 2002-08-11 John Levon <levon@movementarian.org>
7251 * Makefile.am: add WordLangTuple.h
7253 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7255 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7256 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7258 * insets/insettext.C: InsetList changes
7260 * graphics/GraphicsSupport.C (operator()): InsetList changes
7262 * toc.C (getTocList): InsetList changes
7264 * paragraph_pimpl.[Ch]: InsetList changes
7266 * paragraph.[Ch]: InsetList changes
7268 * buffer.C (inset_iterator): InsetList changes
7269 (setParagraph): ditto
7270 * buffer.h (inset_iterator): ditto
7271 * iterators.C (operator++): ditto
7272 * iterators.h: ditto
7274 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7276 * InsetList.[Ch]: new files, most InsetList handling moved out of
7279 * BufferView2.C (removeAutoInsets): InsetList changes
7281 (ChangeInsets): ditto
7283 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7285 * paragraph_pimpl.h (empty): new function
7287 * paragraph.[Ch] (empty): new function
7289 * other files: use the new Paragraph::empty function
7291 2002-08-09 John Levon <levon@movementarian.org>
7293 * lyxtext.h: remove unused refresh_height
7295 2002-08-09 John Levon <levon@movementarian.org>
7302 * paragraph.C: move sgml char escaping out of paragraph
7305 * paragraph.C: remove id setter
7309 * paragraph_pimpl.C: remove dead tex_code_break_column
7311 * bufferview_funcs.C: small cleanup
7313 * lyxfunc.C: remove dead proto
7315 * lyxtext.h: make some stuff private. Remove some dead stuff.
7317 * lyxgluelength.C: make as[LyX]String() readable
7319 2002-08-08 John Levon <levon@movementarian.org>
7324 * ToolbarDefaults.C:
7327 * toc.C: lyxaction cleanup
7329 2002-08-08 John Levon <levon@movementarian.org>
7331 * BufferView2.C: small cleanup
7334 * lyxfind.C: move unnecessary header into the .C
7336 2002-08-08 John Levon <levon@movementarian.org>
7338 * funcrequest.h: just tedious nonsense
7341 * lyx_main.C: cleanups
7344 * vspace.C: remove dead header lyx_main.h
7346 2002-08-07 Angus Leeming <leeming@lyx.org>
7349 * paragraph_pimpl.h:
7350 Forward declare class Counters in paragraph.h by moving the ctrs member
7351 variable into Paragraph::Pimpl.
7352 (counters): new method, returning a reference to pimpl_->ctrs.
7354 * text2.C: ensuing changes.
7356 2002-08-07 John Levon <levon@movementarian.org>
7358 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7360 * BufferView_pimpl.C: announce X selection on double/triple
7363 * lyx_main.C: use correct bool in batch dispatch
7365 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7367 2002-08-07 André Pönitz <poenitz@gmx.net>
7369 * funcrequest.h: new class to wrap a kb_action and its argument
7372 * BufferView_pimpl[Ch]:
7376 * lyxrc.C: subsequent changes
7379 2002-08-07 John Levon <levon@movementarian.org>
7381 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7382 document options change.
7384 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7389 * makefile.am: move counters functionality over from
7390 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7392 2002-08-06 John Levon <levon@movementarian.org>
7394 * WordLangTuple.h: new file for word + language code tuple
7405 * BufferView2.C: use WordLangTuple
7408 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7410 2002-08-06 John Levon <levon@movementarian.org>
7412 * lyx_main.C: fix cmdline batch handling
7414 2002-08-06 André Pönitz <poenitz@gmx.net>
7416 * lyxrc.C: set default for show_banner to true
7418 2002-08-06 John Levon <levon@movementarian.org>
7420 * pspell.C: fix a crash, and allow new aspell to work
7422 2002-08-06 John Levon <levon@movementarian.org>
7425 * kbmap.C: small cleanup
7428 * vspace.C: add const
7430 2002-08-05 John Levon <levon@movementarian.org>
7432 * LyXAction.C: back to tabular-insert
7434 2002-08-04 John Levon <levon@movementarian.org>
7437 * BufferView.C: cosmetic change
7439 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7449 * BufferView2.C: purge all "Lyx" not "LyX" strings
7452 * lyxcursor.C: attempt to add some documentation
7457 * ToolbarDefaults.C:
7458 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7459 merge with LFUN_TABULAR_INSERT
7466 * pspell.C: split up i/pspell implementations into separate
7467 files, many cleanups
7469 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7471 * text2.C: some cleanup
7473 * lyxfunc.C: don't check for isp_command == "none" any more, it
7474 didn't make any sense
7476 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7481 * makefile.am: move counters functionality over
7482 from text2.C/paragraph.[Ch] to counters.[Ch], and
7484 2002-08-02 John Levon <levon@movementarian.org>
7486 * buffer.C: s/lyxconvert/lyx2lyx/
7488 2002-08-02 Angus Leeming <leeming@lyx.org>
7490 * lyxlex.C: revert John's change as it breaks reading of the user
7493 2002-08-02 Angus Leeming <leeming@lyx.org>
7495 * importer.C (Import):
7496 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7497 changes due to LyXView::view() now returning a boost::shared_ptr.
7499 2002-08-02 John Levon <levon@movementarian.org>
7501 * lyxlex.C: small cleanup
7503 2002-08-02 John Levon <levon@movementarian.org>
7505 * text2.C (status): small cleanup, no logic change
7507 2002-08-01 John Levon <levon@movementarian.org>
7510 * buffer.C (writeFile): don't output alerts, caller
7514 * lyx_cb.C: from above
7516 * lyxfunc.C: allow to open non-existent files
7518 2002-07-31 John Levon <levon@movementarian.org>
7520 * lyxserver.C: don't let incidental errors get
7523 2002-07-30 John Levon <levon@movementarian.org>
7525 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7527 2002-07-30 John Levon <levon@movementarian.org>
7530 * lyxserver.C: remove I/O callback too
7532 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7534 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7537 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7539 * many files: strip,frontStrip -> trim,ltrim,rtrim
7541 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7543 * PrinterParams.h: remove extern containsOnly, and include
7544 support/lstrings.h instead.
7546 * LaTeX.C (scanAuxFile): modify because of strip changes
7548 * buffer.C (makeLaTeXFile): ditto
7549 * bufferparams.C (writeFile): ditt
7550 * lyxfont.C (stateText): ditto
7551 * lyxserver.C (read_ready): ditto
7552 * vc-backend.C (scanMaster): ditto
7554 * BufferView_pimpl.h: ws changes
7556 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7558 2002-07-26 André Pönitz <poenitz@gmx.net>
7560 * kb_sequence.C: remove unnedred usings
7562 2002-07-26 Juergen Vigna <jug@sad.it>
7564 * lyxfind.C (LyXReplace): we have to check better if the returned
7565 text is not of theLockingInset()->getLockingInset().
7567 2002-07-25 Juergen Vigna <jug@sad.it>
7569 * lyxfind.C (LyXReplace): don't replace if we don't get the
7572 * undo_funcs.C (createUndo): remove debugging code.
7574 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7576 * buffer.C (parseSingleLyXformat2Token): Use default placement
7577 when reading old floats.
7579 * FloatList.C (FloatList): Change the default placement of figure
7580 and tables to "tbp".
7582 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7584 * MenuBackend.C: using std::max
7586 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7588 * MenuBackend.C (expandToc):
7589 (expandToc2): code moved from xforms menu frontend. It is now
7590 generic and TOCs are transparent to menu frontends.
7592 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7594 * toc.C (getTocList): protect against buf=0
7596 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7597 Menu as first parameter. Now, this calls itself recursively to
7598 expand a whole tree (this will be useful for TOC handling)
7599 (expandFloatInsert): remove 'wide' version of floats
7601 * MenuBackend.h (submenuname): returns the name of the submenu.
7602 (submenu): returns the submenu itself, provided it has been
7603 created by MenuBackend::expand
7605 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7607 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7608 insets which have noFontChange == true. (bug #172)
7610 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7612 * BufferView_pimpl.C: add connection objects and use them...
7615 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7617 * MenuBackend.C (expandLastfiles):
7620 (expandFloatListInsert):
7621 (expandFloatInsert):
7622 (expand): split expand in parts
7624 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7626 * lyx_gui.C: use lyx_gui::exit()
7628 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7630 * LyXAction.C: show the failing pseudo action
7632 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7634 * buffer.C (readFile): Run the lyxconvert script in order to read
7637 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7641 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7643 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7647 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7649 2002-07-22 Herbert Voss <voss@lyx.org>
7652 * lyxlength.[Ch]: add support for the vertical lengths
7654 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7656 * toc.[Ch]: std:: fixes
7658 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7660 * lyxrc.C: do not include lyx_main.h
7662 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7668 * BufferView2.C: include "lyxlex.h"
7671 * bufferparams.h: do not #include "lyxlex.h"
7673 * lyxtextclasslist.C (Add): remove method
7674 (classlist): renamed to classlist_
7676 * paragraph_pimpl.C:
7680 * bufferview_funcs.C:
7685 * toc.C (getTocList): use BufferParams::getLyXTextClass
7687 * toc.C (getTocList): use InsetFloat::addToToc
7689 * toc.[Ch]: new files, containing helper functions to handle table
7692 * lyxfunc.C (dispatch): no need to remove spaces around command
7694 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7695 first command of the sequence; it is not very clever, but I do not
7696 have a better idea, actually
7698 * LyXAction.C (LookupFunc): make sure to remove space at the
7699 beginning and end of the command
7701 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7703 * MenuBackend.C (getMenubar): new method: return the menubar of
7705 (read): treat differently reading of menu and menubar (in
7706 particular, the menubar has no name now)
7707 (Menu::menubar): remove
7709 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7712 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7714 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7715 a bibitem inset in a RTL paragraph.
7717 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7719 * paragraph_pimpl.C: constify
7721 * BufferView_pimpl.C:
7723 * lyxfunc.C: fix dispatch in a nicer way
7725 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7727 * lyxfunc.C (dispatch):
7728 * BufferView_pimpl.C:
7729 * BufferView_pimpl.h:
7731 * BufferView.h: rename Dispatch() to dispatch()
7733 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7735 * lyxlayout.C (Read): honor DependsOn tag
7737 * lyxlayout.[Ch] (depends_on): new method
7739 * version.C.in: update lyx_docversion
7741 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7743 * paragraph.C (validate): remove from here...
7744 * paragraph_pimpl.C (validate): ... and move here
7745 (isTextAt): make it const
7747 * buffer.C (getLists): ws cleanup
7749 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7751 * language.C (read): Use iso8859-1 encoding in latex_lang
7752 (this prevents LyX from crashing when using iso10646-1 encoding).
7754 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7756 * text2.C (toggleInset): if cursor is inside an inset, close the
7757 inset and leave cursor _after_ it
7759 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7761 * lyxfunc.C: move minibuffer completion handling out of here
7763 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7765 * BufferView_pimpl.C:
7766 * LaTeX.C: fix dispatch calls
7768 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7770 * text.C (drawChars): Fix Arabic text rendering.
7772 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7776 * lyxfunc.C: remove message-push/pop
7780 * lyxfunc.C: rationalise some code by removing verboseDispatch
7781 in favour of a bool argument to dispatch()
7783 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7785 * lyx_main.C (init): make sure to read symlinks as absolute paths
7787 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7790 * lyxfunc.C: no need for commandshortcut to be a member
7792 2002-07-15 André Pönitz <poenitz@gmx.net>
7794 * converter.C: add support for $$s (scripts from lib/scripts dir)
7795 * lyx_main.C: white space
7797 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7801 * lyxrc.C: remove second exit confirmation
7803 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7808 * BufferView_pimpl.h:
7809 * BufferView_pimpl.C:
7810 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7812 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7814 * MenuBackend.C (expand): add numeric shortcuts to document menu
7816 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7818 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7820 * lyxfont.C (setLyXFamily):
7827 * buffer.C (asciiParagraph): use ascii_lowercase
7829 2002-07-15 Mike Fabian <mfabian@suse.de>
7831 * lyxlex_pimpl.C (search_kw):
7832 * lyxlex.C (getLongString):
7833 * converter.h (operator<):
7834 * converter.C (operator<):
7835 * buffer.C (parseSingleLyXformat2Token):
7837 * ToolbarDefaults.C (read):
7838 * MenuBackend.C (checkShortcuts):
7840 * LColor.C (getFromGUIName):
7841 (getFromLyXName): use the compare_ascii_no_case instead of
7842 compare_no_case, because in turkish, 'i' is not the lowercase
7843 version of 'I', and thus turkish locale breaks parsing of tags.
7845 2002-07-16 Angus Leeming <leeming@lyx.org>
7847 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7848 now takes a Buffer const & argument.
7850 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7852 * BufferView.C (resize): check there's a buffer to resize
7854 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7856 * lyxfunc.C: remove dead code
7859 * lyxserver.C: use lyx_guii::set_read_callback
7861 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7863 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7864 an inset in a RTL paragraph.
7866 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7868 * lyxfunc.C: repaint after a font size update
7870 2002-07-15 André Pönitz <poenitz@gmx.net>
7872 * lyxlength.C: inBP should be able to return negative values
7874 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7876 * lyxfunc.C: use lyx_gui::update_fonts()
7878 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7880 * lyxfunc.C: use lyx_gui::update_color()
7882 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7888 * lyxrc.C: remove file->new asks for name option, and let
7889 buffer-new take an argument
7891 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7893 * BufferView_pimpl.C: remove unneeded extra repaint()
7895 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7897 * LyXAction.C: allow command-sequence with NoBuffer
7899 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7901 2002-07-10 Angus Leeming <leeming@lyx.org>
7903 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7905 2002-07-09 Angus Leeming <leeming@lyx.org>
7907 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7909 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7911 * lengthcommon.h: whitespace
7913 * lyxfunc.C: update scrollbar after goto paragraph
7915 * lyxtext.h: factor out page break drawing, and fix it so
7916 page break/added space paints as selected nicely
7918 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7920 * BufferView_pimpl.C: add FIXMEs, clean up a little
7922 2002-07-09 André Pönitz <poenitz@gmx.net>
7924 * lyxfont.[Ch]: support for wasy symbols
7926 2002-07-08 André Pönitz <poenitz@gmx.net>
7928 * BufferView_pimpl.C: apply John's patch for #93.
7930 2002-07-05 Angus Leeming <leeming@lyx.org>
7932 * BufferView_pimpl.C (buffer): generate previews if desired.
7934 * LColor.h: add "preview" to the color enum.
7936 * LColor.C (LColor): add a corresponding entry to the items array.
7938 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7941 2002-07-05 Angus Leeming <leeming@lyx.org>
7943 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7944 The body of the code is now in the method that is passed an ostream &
7945 rather than a file name.
7946 Pass an additional only_preamble parameter, useful for the forthcoming
7949 2002-07-03 André Pönitz <poenitz@gmx.net>
7951 * lyxfunc.C: simplify getStatus() a bit for math stuff
7953 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7955 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7957 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7959 * text.C (changeRegionCase): do not change case of all the
7960 document when region ends at paragraph end (bug #461)
7962 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7964 * paragraph.C (startTeXParParams):
7965 (endTeXParParams): add \protect when necessary
7967 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7969 * BufferView_pimpl.C (workAreaExpose): remove warning
7971 2002-06-27 Angus Leeming <leeming@lyx.org>
7973 * Makefile.am: add lyxlayout_ptr_fwd.h.
7975 2002-06-26 André Pönitz <poenitz@gmx.net>
7977 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7979 2002-06-25 Angus Leeming <leeming@lyx.org>
7981 * lyxfunc.C (dispatch): Comment out the call to
7982 grfx::GCache::changeDisplay. The method no longer exists now that the
7983 pixmap generation part of the graphics loader has been moved into
7986 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7988 * text2.C: layout as layout
7990 * text.C: layout as layout
7992 * tabular.C (OldFormatRead): layout as layout
7994 * paragraph_pimpl.C (TeXDeeper): layout as layout
7995 (realizeFont): layout as layout
7997 * paragraph.C (writeFile): layout as layout
7998 (validate): layout as layout
7999 (getFont): layout as layout
8000 (getLabelFont): layout as layout
8001 (getLayoutFont): layout as layout
8002 (breakParagraph): layout as layout
8003 (stripLeadingSpaces): layout as layout
8004 (getEndLabel): layout as layout
8005 (getMaxDepthAfter): layout as layout
8006 (applyLayout): layout as layout
8007 (TeXOnePar): layout as layout
8008 (simpleTeXOnePar): layout as layout
8009 (TeXEnvironment): layout as layout
8010 (layout): layout as layout
8011 (layout): layout as layout
8013 * lyxtextclass.C (compare_name): new functor to work with
8014 shared_ptr, layout as layout
8015 (Read): layout as layout
8016 (hasLayout): layout as layout
8017 (operator): layout as layout
8018 (delete_layout): layout as layout
8019 (defaultLayout): layout as layout
8021 * lyxlayout_ptr_fwd.h: new file
8023 * lyxlayout.C (Read): layout as layout
8025 * lyx_cb.C (MenuInsertLabel): layout as layout
8027 * bufferlist.C (newFile): layout as layout
8029 * buffer.C (readLyXformat2): layout as layout
8030 (parseSingleLyXformat2Token): layout as layout
8031 (insertStringAsLines): layout as layout
8032 (asciiParagraph): layout as layout
8033 (latexParagraphs): layout as layout
8034 (makeLinuxDocFile): layout as layout
8035 (simpleLinuxDocOnePar): layout as layout
8036 (makeDocBookFile): layout as layout
8037 (simpleDocBookOnePar): layout as layout
8038 (getLists): layout as layout
8040 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8042 * CutAndPaste.C (cutSelection): layout as layout
8043 (pasteSelection): layout as layout
8044 (SwitchLayoutsBetweenClasses): layout as layout
8046 * BufferView_pimpl.C (Dispatch): layout as layout
8047 (smartQuote): layout as layout
8049 * BufferView2.C (unlockInset): layout as layout
8051 2002-06-24 André Pönitz <poenitz@gmx.net>
8053 * lyxfunc.C: fix #487
8055 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8059 * lyxfunc.C: remove display_shortcuts, show_banner
8061 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8063 * Buffer_pimpl.C: oops, update on resize
8065 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8072 * BufferView.C: use repaint()
8074 * BufferView_pimpl.h:
8075 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8076 as it's a clearer description. Remove superfluous
8079 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8081 * text.C: fix bug 488. Not ideal, but getting
8082 getWord() to work properly for the insets that
8083 matter is more difficult ...
8085 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8087 * BufferView_pimpl.C:
8090 * lyxfunc.C: remove the six million index lyxfuncs to just
8091 one, and DTRT (bug 458)
8093 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8097 * BufferView_pimpl.h:
8098 * BufferView_pimpl.C: clean up resize() stuff,
8099 and unnecessary updateScreen()s
8101 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8105 * BufferView_pimpl.h:
8106 * BufferView_pimpl.C:
8109 * minibuffer.C: remove focus management of workarea,
8110 not needed. Use screen's greyOut()
8112 2002-06-17 Herbert Voss <voss@lyx.org>
8114 * converter.C: (convert) do not post a message, when converting
8115 fails, let the calling function decide what to do in this case
8117 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8119 * lyxfunc.C: tidy up a little
8121 2002-06-16 <alstrup@diku.dk>
8123 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8124 Got rid of FORMS_H_LOCATION include. Now we are
8127 2002-06-15 LyX Development team <lyx@rilke>
8129 * buffer.[Ch] (sgmlOpenTag):
8130 (sgmlCloseTag): Added support for avoiding pernicious mixed
8131 content. Return number of lines written.
8134 (makeDocBookFile): Fixed calls to sgml*Tag.
8135 Simple white space clean.
8137 (simpleDocBookOnePar): Simple white space clean.
8139 * tabular.[Ch] (docBook): Renamed to docbook and got another
8140 argument to related with the pernicious mixed content.
8142 (docbookRow): Fixed calls for docbook inset method.
8144 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8146 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8147 so it's X11 independent.
8151 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8153 2002-06-15 Lyx Development team <lyx@electronia>
8155 * intl.h: Renamed getTrans to getTransManager.
8157 2002-06-14 Angus Leeming <leeming@lyx.org>
8159 * Makefile.am: nuke forgotten stl_string_fwd.h.
8161 2002-06-12 Angus Leeming <leeming@lyx.org>
8163 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8165 2002-06-13 Angus Leeming <leeming@lyx.org>
8168 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8170 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8172 * kbmap.C (getiso): add support for cyrillic and greek
8174 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8178 * BufferView_pimpl.h:
8179 * BufferView_pimpl.C: move bogus scrolling logic
8182 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8185 * BufferView_pimpl.C: view->resize() change
8187 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8189 * BufferView_pimpl.C: topCursorVisible
8192 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8196 * lyx_gui.C: move to frontends/
8200 * lyx_main.C: changes from above
8202 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8209 * lyx_main.C: minor tidy
8211 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8213 * BufferView_pimpl.h:
8214 * BufferView_pimpl.C:
8216 * BufferView.C: make painter() const,
8219 * BufferView2.C: use screen() accessor
8222 * lyx_main.C: some minor cleanup
8224 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8226 * BufferView_pimpl.h:
8227 * BufferView_pimpl.C: remove enter/leaveView,
8230 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8235 * BufferView_pimpl.h:
8236 * BufferView_pimpl.C: only construct screen once,
8239 * lyxrc.C: remove pointless comment
8241 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8244 * BufferView.C: remove active() and belowMouse()
8246 * BufferView_pimpl.h:
8247 * BufferView_pimpl.C: use workarea() not workarea_,
8248 and make it use a scoped_ptr instead
8250 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8252 * lyx_gui.C: add debug message on BadWindow
8254 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8256 * sp_spell.C: fdopen is not part of the C++ standard.
8258 * paragraph.C (InsetIterator): use >= instead of ==
8260 2002-06-07 Angus Leeming <leeming@lyx.org>
8262 Fixes needed to compile with Compaq cxx 6.5.
8263 * BufferView_pimpl.C:
8270 * lyxtextclasslist.C:
8275 all c-library variables have been moved into namespace std. Wrap
8276 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8281 Add a using std::abs declaration.
8283 * kbmap.h (modifier_pair):
8284 * paragraph.h (InsetTable, InsetList):
8285 * lyxfont.h (FontBits):
8286 type definition made public.
8288 * bufferlist.C (emergencyWriteAll): the compiler complains that
8289 there is more than one possible lyx::class_fun template to choose from.
8290 I re-named the void specialisation as lyx::void_class_fun.
8292 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8294 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8295 the compiler is is unable to find tostr in write_attribute.
8297 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8299 * buffer.C (sgmlError): hide #warning
8301 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8303 * xtl/*: get rid of xtl, which is not in use anyway
8305 * LyXAction.C (init):
8306 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8307 were unimplemented xtl experimentation
8309 2002-06-04 André Pönitz <poenitz@gmx.net>
8311 * lyxfunc.C: disable array operation on simple formulae
8313 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8315 * converter.C: constify a bit
8317 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8319 * lyx_gui.C: check xforms version correctly
8321 2002-04-30 Herbert Voss <voss@lyx.org>
8323 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8326 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8328 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8329 attempt to register it with a VCS)
8331 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8333 * lyx_main.C (init): honor variables LYX_DIR_13x and
8336 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8340 * lyx_main.C: fix a crash on bad command line,
8341 and give a useful exit status on error
8343 * lyxfunc.C (doImport): allow -i lyx to work
8345 2002-03-30 André Pönitz <poenitz@gmx.net>
8347 * lyxfunc.C: mathed font changes
8349 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8364 * trans_mgr.h: srcdocs, and some minor cleanups
8366 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8368 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8369 call getFont all the time)
8371 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8373 * switch from SigC signals to boost::signals
8375 2002-05-29 André Pönitz <poenitz@gmx.net>
8377 * paragraph_pimpl.C (getChar): don't call size() too often...
8379 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8381 * paragraph_pimpl.C (insertChar): do not try to update tables when
8382 appending (pos == size())
8384 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8385 in order to reduce drastically the number of comparisons needed to
8386 parse a large document
8388 2002-05-29 André Pönitz <poenitz@gmx.net>
8394 * textclasslist.[Ch]:
8395 * sp_ispell.h: whitespace change
8397 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8399 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8400 lyxaction directly now.
8402 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8406 * lyxvc.C: remove unused headers
8408 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8415 * undo_funcs.C: some cleanups. Use shared_ptr
8416 and a template for the undo stacks.
8418 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8420 * BufferView_pimpl.h:
8421 * BufferView_pimpl.C:
8428 * text2.C: use key_state/mouse_state
8430 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8432 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8435 * chset.C: change include order
8436 (loadFile): use boost regex and get rid of LRegex and LSubstring
8438 * Makefile.am (BOOST_LIBS): new variable
8441 * LaTeX.C: change include order.
8442 (scanAuxFile): use boost regex and get rid of LRegex and
8446 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8451 * FontInfo.C: moved to frontends/xforms/
8454 * FontLoader.C: moved into frontends for GUIIzation
8459 * lyxfunc.C: changes from above
8461 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8463 * LColor.C: remove spurious X include
8465 * BufferView_pimpl.C:
8470 * text2.C: move font metrics to frontends/
8472 2002-05-24 Juergen Vigna <jug@sad.it>
8474 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8475 setting the undo_cursor.
8477 * ParagraphParameters.h: include local includes first.
8479 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8481 * BufferView_pimpl.C:
8482 * BufferView_pimpl.h:
8486 * screen.C: move WorkArea into frontends/
8492 * BufferView2.C: move LyXScreen into frontends/
8496 * lyx_gui.C: move lyxlookup into frontends/xforms/
8498 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8501 * BufferView_pimpl.C:
8511 * bufferview_funcs.C:
8524 * vc-backend.C: move LyX/XFormsView into frontends/
8526 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8538 * text2.C: move Painter to frontends/
8540 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8542 * buffer.C: comment out some some code that depend upon lyx_format
8545 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8546 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8548 * buffer.h (NO_COMPABILITY): turn off compability
8550 * ColorHandler.C: include scoped_array.hpp
8552 * font.C: Use more specific smart_ptr header.
8555 * ShareContainer.h: ditto
8559 * BufferView_pimpl.h: ditto
8560 * ColorHandler.h: ditto
8562 * kbmap.C (defkey): change call to shared_ptr::reset
8564 2002-05-21 Juergen Vigna <jug@sad.it>
8566 * buffer.C (insertErtContents): fix to insert ert asis if it is
8567 non empty. Skip it completely if it contains only whitespaces.
8569 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8571 * BufferView_pimpl.C:
8572 * BufferView2.C: clear selection on paste (bug 393)
8574 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8576 * DepTable.C: include ctime
8578 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8580 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8582 2002-05-14 Juergen Vigna <jug@sad.it>
8584 * text.C (breakParagraph): fixed function to honor the keepempty
8585 layout in the right maner and also to permit the right breaking
8586 algorithm on empty or non empyt keepempty paragraphs.
8588 * paragraph.C (breakParagraph): we have to check also if the par
8589 is really empty (!size()) for isempty otherwise we do the wrong
8592 2002-05-10 Juergen Vigna <jug@sad.it>
8594 * buffer.[Ch] : The following are only changes to the ert
8595 compatibility read reading old LaTeX layout and font stuff and
8596 convert it to ERTInsets.
8598 * buffer.h: added isErtInset().
8600 * buffer.C (struct ErtComp): add a fromlayout bool to check
8601 if we're inside a LaTeX layout.
8602 (isErtInset): new helper function.
8603 (insertErtContents): look for other ert insets before this one
8604 and insert the contents there, so that we don't have subsequent
8605 ERT insets with nothing between them. This way we create only one
8606 inset with multiple paragraphs. Also check if we don't insert only
8607 spaces ' ' as they are ignored anyway afterwards in the .tex file
8608 so if we have only spaces we will ignore this latex part in the
8610 (parseSingleLyXformat2Token \\layout): better compatibility when
8611 reading layout-latex stuff.
8612 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8614 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8615 stuff after reading the inset only get the information back from
8618 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8620 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8622 * LaTeXFeatures.C (getBabelOptions): New method.
8624 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8626 * BufferView_pimpl.C (Dispatch): work around missing argument for
8629 2002-05-08 Juergen Vigna <jug@sad.it>
8631 * text.C (leftMargin): handle paragraph leftindent.
8633 * paragraph.C (writeFile): write the new \\leftindent tag.
8634 (validate): handle leftindent code.
8635 (TeXEnvironment): handle paragraphleftindent code again.
8637 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8639 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8640 for paragrap_extra indent code and new token \\leftindent.
8641 (latexParagraphs): handle the leftindent as environment.
8643 * ParameterStruct.h: added leftindent support.
8645 * ParagraphParameters.C (leftIndent): added support functions for
8646 the paragraph left indent.
8648 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8651 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8653 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8656 * text.C (computeBidiTables): No bidi in insetERT.
8658 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8661 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8663 * version.C.in: pre 5
8665 2002-05-02 José Matos <jamatos@fep.up.pt>
8666 * buffer.C (makeDocBookFile): white space changes, add newline to
8668 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8670 * tabular.C (docBook): fix typo.
8672 2002-05-03 Juergen Vigna <jug@sad.it>
8674 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8675 change in LyXText as we can not be sure it was not freed.
8676 (drawOneRow): remove unused code.
8678 * text.C (drawInset): redo the calculation of the need_break_row as
8679 it could have a row which was already freed.
8680 (draw): look at the return value of drawInset and return false if
8681 it also returned false.
8682 (paintRowText): look at the return value of draw and return false if
8683 it also returned false.
8685 * lyxtext.h: added bool return type to drawInset() and draw() so that
8686 if we have a change in the row so that the rowbreak has to be redone
8687 we abort drawing as it will be called again.
8689 2002-05-02 Juergen Vigna <jug@sad.it>
8691 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8692 a change in the maintext also if we're inside an inset.
8693 (Dispatch): set the cursor again after a break line and after the
8694 screen has been updated as it could be we're in a different row.
8696 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8697 to set the cursor behind the pargraph with > size().
8698 (setCursor): check also for the same paragraph when checking where
8699 to put the cursor if we have a NFR inset.
8701 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8702 parts of layout read further up as it still was in the wrong
8705 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8707 * screen.C (drawFromTo): change sine fullRebreak always return
8710 * buffer.C (parseSingleLyXformat2Token): reindent some
8712 * BufferView_pimpl.C (update): change since fullRebreak always
8714 (Dispatch): git rid of the last hardcoded "Standard"s.
8716 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8718 * text2.[Ch] (fullRebreak): make it return void now that we always
8721 2002-04-30 Juergen Vigna <jug@sad.it>
8723 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8724 ert compatibility check for "latex" layout.
8726 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8728 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8729 minipages: use col% instead of p%, and also use the current font.
8730 (makeLaTeXFile): Fix use babel condition.
8731 (parseSingleLyXformat2Token): Correct font when reading old floats.
8733 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8735 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8736 inserting list of floats.
8738 2002-04-25 Herbert Voss <voss@lyx.org>
8740 * MenuBackend.C (expand): don't add the graphics extensions to the
8743 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8745 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8746 non-existing layout, do not complain if it was the default layout
8747 of the original class (bug #342)
8749 2002-04-24 Juergen Vigna <jug@sad.it>
8751 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8752 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8754 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8756 * buffer.C (getBibkeyList): If using \bibliography, return the
8757 option field with the reference itself. Enables us to provide natbib
8758 support when using \bibliography.
8760 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8762 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8764 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8765 natbib is provided by the LaTeX class.
8767 2002-04-23 Juergen Vigna <jug@sad.it>
8769 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8772 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8774 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8776 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8778 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8779 ensuremath around textordmasculine, textordfeminine and
8782 2002-04-19 Juergen Vigna <jug@sad.it>
8784 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8785 reinitializing the buffer otherwise row-dimensions may be wrong.
8786 (update): reset also the selection cursors if they do exits otherwise
8787 their x/y positions may be wrong.
8789 * text2.C (cursorDown): don't enter the inset if we came from a row
8790 above and are one row over the inset.
8792 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8793 really leaving an inset.
8795 2002-04-18 Juergen Vigna <jug@sad.it>
8797 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8798 of the selected paragraph does not have the selected layout also if
8801 * text2.C (setLayout): fixed bug which did not change last selected
8804 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8805 changed the read and substituted \\end_float with \\end_inset!
8807 * BufferView_pimpl.C (cursorPrevious):
8808 (cursorNext): fixed to make it work with rows heigher than the work
8809 area without moving the cursor only the draw of the row.
8810 (workAreaMotionNotify): fix jumping over high rows.
8812 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8814 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8817 2002-04-16 Juergen Vigna <jug@sad.it>
8819 * text2.C (setCursor): set also the irow().
8820 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8822 (cursorDown): support for locking an inset if the x_fix value goes
8823 inside it. That way I can transverse insets too with cursor up/down.
8825 * lyxrow.h: added irow helper function same as other (i) functions.
8827 * BufferView_pimpl.C (cursorPrevious):
8828 (cursorNext): fixed for insets!
8830 2002-04-15 Juergen Vigna <jug@sad.it>
8832 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8833 position otherwise it is wrong in some cases.
8835 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8836 inside the inset before the call.
8838 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8840 * buffer.[Ch] (getBibkeyList): make it const.
8842 2002-04-12 Juergen Vigna <jug@sad.it>
8844 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8846 * text2.C (getCursorX): new helper function
8847 (setCursor): compute also ix_
8848 (setCursorFromCoordinates): set also ix.
8850 * lyxcursor.h: added ix_ and helper functions.
8852 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8854 * buffer.C (insertStringAsLines): dont break paragraph if the this
8855 paragraph is inside an inset which does not permit it!
8857 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8858 also with no chars on this paragraph.
8859 (paintRowText): only paint stuff if it's inside the workarea!
8861 * paragraph.C (breakParagraph): honor keepempty flag and break the
8862 paragraph always below not above.
8864 * BufferView2.C (unlockInset): update the paragraph layout on inset
8865 unlock as we changed paragraph in such a case.
8867 * lyxfind.C (LyXFind): clear the former selection if not found!
8869 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8870 again called in insertChar().
8872 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8873 an inset which uses the whole row!
8874 (rightMargin): ditto.
8875 (insertChar): force a rebreak if we inserted an inset!
8877 2002-03-28 Herbert Voss <voss@lyx.org>
8879 * lyxlength.[Ch]: add inBP() to get the right PS-point
8880 units (BigPoint). With inPixels we have rounding errors
8882 2002-04-11 Juergen Vigna <jug@sad.it>
8884 * text2.C (setCursorFromCoordinates): set iy to the right value.
8885 (setCursor): add check if row->previous exists!
8887 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8888 an old float_type as this was the case in the old code!
8890 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8892 * BufferView2.C (showLockedInsetCursor): use iy
8893 (fitLockedInsetCursor): ditto
8895 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8896 locked insets as there we have the right value now.
8898 * lyxcursor.C: added iy_ variable and iy functions to set to the
8899 baseline of cursor-y of the locked inset.
8901 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8902 (setCursor): fixed for insets which need a full row.
8904 * text.C (rowLastPrintable): don't ignore the last space when before
8905 an inset which needs a full row.
8906 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8907 as last character of a row when before a inset which needs a full row.
8909 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8911 * version.C.in: update date
8913 * text2.C (fullRebreak): try to always return true and see what
8916 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8918 * MenuBackend.C (expand): use Floating::listName
8920 * FloatList.C (FloatList): add listName argument to the built-in
8923 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8924 text associated with the float.
8926 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8928 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8930 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8932 * ShareContainer.h: add a couple of missing typenames.
8934 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8936 * lyxrc.C (getDescription): use _() correctly rather than N_().
8938 2002-03-28 Herbert Voss <voss@lyx.org>
8940 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8941 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8943 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8945 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8946 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8948 2002-03-29 Juergen Vigna <jug@sad.it>
8950 * lyxfunc.C (dispatch): add a missing fitCursor call.
8952 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8953 it was scrolled by a cursor move, so return the bool status.
8955 * BufferView.C (fitCursor): return the bool flag also to the outside
8956 world as this is needed.
8958 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8960 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8961 call the edit() as it is not needed (and wrong) IMO.
8962 (workAreaButtonPress): set the screen_first variable before evt.
8963 unlock the inset as this may change screen_first and then we have
8964 a wrong y position for the click!
8966 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8968 * MenuBackend.C (expand): another translation that I missed
8970 2002-03-28 Juergen Vigna <jug@sad.it>
8972 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8974 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8976 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8978 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8980 * MenuBackend.C (expand): fix export/view/update when there is no
8983 2002-03-27 Herbert Voss <voss@lyx.org>
8985 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8988 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8990 * bufferview_funcs.C (currentState): only show paragraph number
8991 for is DEVEL_VERSION is set.
8993 * lyxfunc.C (dispatch): put warning in INFO channel
8995 * MenuBackend.C (expand): translate the name of floats
8997 * FloatList.C (FloatList): mark the float names for translation
8999 * converter.C (convert): use LibScriptSearch
9001 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9003 * MenuBackend.C (defaults): fix default menu (we might as well get
9006 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9008 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9011 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9013 * lyxvc.C: reorder includes.
9015 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9017 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9020 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9022 * CutAndPaste.C: change layouts earlier on paste
9023 to avoid crashing when calling getFont()
9025 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9027 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9030 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9032 * WorkArea.C: remove 'Pending' debug message.
9034 * most files: ws cleanup
9036 * buffer.[Ch]: ws changes
9038 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9040 2002-03-21 Juergen Vigna <jug@sad.it>
9042 * tabular.C (SetMultiColumn): collapse also the contents of the
9043 cells and set the last border right. Added a Buffer const * param.
9045 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9047 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9050 2002-03-19 Juergen Vigna <jug@sad.it>
9052 * text2.C (clearSelection): reset also xsel_cache.
9054 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9055 where it needs to be called (John tells us to do so too :)
9056 (selectionLost): reset sel_cache.
9058 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9060 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9062 * text2.C (setCursorIntern): put debuging code in INSETS channel
9064 2002-03-19 André Pönitz <poenitz@gmx.net>
9066 * lyxfunc.C: tiny whitespace change
9068 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9070 * ToolbarDefaults.C (init):
9071 * LyXAction.C (init):
9073 * BufferView_pimpl.C (Dispatch):
9074 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9076 2002-03-19 Allan Rae <rae@lyx.org>
9078 * exporter.C (Export): removeAutoInsets before doing anything else.
9079 While I've just introduced a dependency on BufferView this really is
9080 the best place to clean the buffer otherwise you need to cleanup in
9081 a dozen places before calling export or cleanup in a dozen functions
9084 * converter.C (runLaTeX):
9085 (scanLog): Better handling of removeAutoInsets and screen updates.
9087 * lyxfunc.C (dispatch): small whitespace changes
9089 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9091 * WorkArea.C (C_WorkAreaEvent): return a value.
9092 (event_cb): return 1 if we handled the event, 0 otherwise.
9094 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9096 2002-03-18 Juergen Vigna <jug@sad.it>
9098 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9099 (GetAdditionalWidth): ditto.
9103 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9104 inset if we're there actually (probably not used right now but this
9105 is the direction to go for unifying code).
9106 (paste): disable code to clear the selection.
9108 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9109 inside an InsetText and move the check further up as it is in the
9112 * text2.C (pasteSelection): set a selection over the pasted text.
9114 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9116 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9117 and libgraphics to build on Cygwin.
9119 2002-03-15 Juergen Vigna <jug@sad.it>
9121 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9122 inserting an Inset into the paragraph. I know this is not the best
9123 fix but we already use current_view in CutAndPaste so we will remove
9124 all of it's using at the same time.
9126 * buffer.C (sgmlError): deactivated function till it is rewritten in
9127 the right mode, now it can create problems.
9129 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9130 before accessing it.
9132 2002-03-14 Juergen Vigna <jug@sad.it>
9134 * undo_funcs.C (textHandleUndo): do the right thing when updating
9135 the inset after the undo/redo.
9137 * text2.C (setCursor): just some testcode for #44 not ready yet.
9139 * undo_funcs.C (textHandleUndo): set the next() and previous()
9140 pointers of the paragraph to 0 before deleting otherwise we have
9141 problems with the Paragraph::[destructor].
9143 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9144 on a paragraph insertion.
9146 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9148 * buffer.C (asciiParagraph): use += operator for char append to
9151 * paragraph.C (getFontSettings): compare >= not just >
9152 (highestFontInRange): ditto
9155 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9157 * paragraph.C: change several algorithm to be more appripriate for
9158 the problem domain. This is lookip in FontList and in the InsetList.
9160 2002-03-13 André Pönitz <poenitz@gmx.net>
9163 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9165 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9170 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9172 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9174 * Painter.C (display): anon helper function, adjust code for this
9176 (pixmap): remove function.
9178 * Painter.h: remove private display variable.
9180 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9182 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9184 * WorkArea.[Ch]: remove figinset_canvas cruft.
9186 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9188 * lyxtextclass.C (operator): add one item cache optimization.
9190 * bufferlist.h: doxy changes
9192 * bufferlist.C: ws changes
9194 * DepTable.[Ch] (ext_exist): place const in the right spot.
9196 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9198 (workAreaExpose): call resizeInsets when the with BufferView changes.
9199 (Dispatch): adjust for protectedBlank removal
9200 (specialChar): call updateInset if the insert went ok.
9202 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9203 specialChar instead.
9205 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9207 * BufferView.h: doxy change
9209 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9211 * lyxtextclass.C (operator[]): remove non-const version
9212 (defaultLayout): remove non-const version
9214 2002-03-12 Juergen Vigna <jug@sad.it>
9216 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9217 did resize the LyXText too.
9219 * buffer.C (readLyXformat2): set layout information on newly allocated
9222 * tabular.C (OldFormatRead): set layout information on the paragraph.
9224 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9226 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9228 2002-03-11 Juergen Vigna <jug@sad.it>
9230 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9232 (resizeCurrentBuffer): force also the insets to resize themselfes.
9233 (moveCursorUpdate): fixed up for InsetText.
9235 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9238 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9239 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9240 value of Dialogs::tooltipsEnabled().
9241 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9243 2002-03-08 Juergen Vigna <jug@sad.it>
9245 * BufferView_pimpl.C (updateInset): update inset inside inset also
9246 if it isn't inside theLockingInset().
9248 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9250 * buffer.C (asciiParagraph): redo some of the word and line length
9252 (getLists): look for Caption instead of caption.
9254 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9256 * buffer.C (Buffer): initialize niceFile to true
9259 (makeDocBookFile): make sure niceFile is true on exit
9261 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9263 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9265 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9267 * LyXSendto.C: remove.
9268 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9269 * lyx_gui.C: remove now-redundant comment.
9270 * ColorHandler.h: remove forward declaration of class WorkArea.
9271 * lyxfunc.C: remove #include "WorkArea.h".
9273 2002-03-07 Juergen Vigna <jug@sad.it>
9275 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9276 got moved away with the DEPM and also set the inset_owner always
9277 right which before could have been omitted.
9279 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9281 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9282 wanted layout is not found.
9284 2002-03-07 Juergen Vigna <jug@sad.it>
9286 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9288 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9290 * paragraph.C (breakParagraph): use default layout not layout of
9292 (Paragraph): clear ParagraphParameters.
9294 2002-03-06 Juergen Vigna <jug@sad.it>
9296 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9297 otherwise it would not be a valid lenght. Fixed a special case in
9298 the minipage compatibility read where we end the document with a
9301 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9302 was set as it could be 0 for InsetTexts first entry.
9304 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9306 * paragraph.C (writeFile): if layout is empty write out
9307 defaultLayoutName().
9309 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9310 file without named layout we set layout to defaultLayoutName().
9312 2002-03-06 Juergen Vigna <jug@sad.it>
9314 * CutAndPaste.C (copySelection): set layout for new paragraph.
9316 * text.C (prepareToPrint): leave ERT inset left aligned
9317 (leftMargin): don't indent paragraphs inside ERT insets
9319 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9321 * paragraph.C (breakParagraph): dont call clear do the work manually
9323 * paragraph.[Ch] (clear): remove function
9325 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9327 * paragraph.C (Paragraph): dont call clear, the work has already
9330 * lyxtextclass.C (operator): assert if n is empty
9332 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9333 work manually instead.
9335 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9337 * BufferView_pimpl.C: protect selectionLost against text == 0
9339 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9341 * text.C (breakParagraph): fix a setting layout to '0' problem.
9343 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9345 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9346 final location of file, for the included files, and graphics.
9348 2002-03-05 Juergen Vigna <jug@sad.it>
9350 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9352 2002-03-04 Juergen Vigna <jug@sad.it>
9354 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9356 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9357 last column of multicolumn cells.
9358 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9360 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9362 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9363 file if it doesn't go to a temporary file.
9365 * buffer.C (sgmlOpenTag):
9366 (sgmlCloseTag): remove extra newline insertion.
9368 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9370 * text.C (getRowNearY): comment out debug msg
9372 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9374 * text2.C: first -> first_y
9376 * text.C (getRowNearY): add some attemts at a possible
9377 optimization, not working.
9379 * tabular.[Ch]: add BufferParams to several function so that newly
9380 created paragraph can be initialized to he default layotu for the
9383 * tabular-old.C (ReadOld): add buf->params to call of Init
9385 * screen.C: rename text->first to text->first_y
9387 * paragraph.C (breakParagraph): always set layout in the broken
9390 * lyxtextclass.C (Read): remove lowercase
9393 (delete_layout): ditto
9395 * lyxtext.h: rename first -> first_y
9397 * lyxlayout.C (Read): remove lowercase
9400 (obsoleted_by): ditto
9402 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9404 * buffer.C (insertErtContents): add params are to InsetERT
9405 (parseSingleLyXformat2Token): add code to check if a paragraphs
9406 layout really exist.
9407 (parseSingleLyXformat2Token): add params to several inset
9409 (asciiParagraph): remove lowercase, do the layout comparisons with
9412 * BufferView_pimpl.C (cursorNext): first -> first_y
9413 (resizeCurrentBuffer): first -> first_y
9414 (updateScrollbar): first -> first_y
9415 (scrollCB): first -> first_y
9416 (workAreaMotionNotify): first -> first_y
9417 (workAreaButtonPress): first -> first_y
9418 (checkInsetHit): first -> first_y
9419 (cursorPrevious): first -> first_y
9420 (cursorNext): first -> first_y
9421 (Dispatch): add buffer_->params to severl inset contructors
9423 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9425 * lyxlayout.C (Read): remove some debug info that I forgot.
9427 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9428 clean up the code slightly.
9429 (makeLinuxDocFile): ditto
9430 (makeDocBookFile): ditto
9432 * text2.C: layout as string
9434 * text.C: layout as string
9436 * paragraph_pimpl.C: layout as string
9438 * paragraph.[Ch]: layout as string
9440 * lyxtextclasslist.[Ch]: layout as string
9442 * lyxtextclass.[Ch]: layout as string
9444 * lyxtext.h: layout as string
9446 * lyxlayout.[Ch]: layout as string
9448 * lyx_cb.C: layout as string
9450 * bufferview_funcs.C: layout as string
9452 * bufferparams.C: layout as string
9454 * buffer.C: layout as string
9456 * LyXView.[Ch]: layout as string
9458 * LaTeXFeatures.[Ch]: layout as string
9460 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9462 * BufferView_pimpl.C: change current_layout to string, remove
9467 (workAreaButtonRelease): layout as string
9469 * BufferView2.C (unlockInset): adjust
9471 * vspace.C (asLatexCommand): use an explict temp variable.
9473 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9475 * Makefile.am: use FRONTEND_*
9477 2002-03-01 Juergen Vigna <jug@sad.it>
9479 * tabular.C (SetWidthOfMulticolCell): changed to something better
9480 I hope but still work in progress.
9481 (recalculateMulticolumnsOfColumn): renamed function from
9482 recalculateMulticolCells as it is more appropriate now.
9483 (SetWidthOfCell): calculate multicols better.
9485 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9487 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9489 * lyxfunc.C (processKeySym): print sequence also if it is
9490 `deleted' (complete)
9492 * kbsequence.C (print): print sequence even if it is deleted
9493 (complete would be a better word, actually).
9495 * lyxfunc.C (dispatch): print complete options after a prefix key
9497 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9499 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9501 * text2.C (setCharFont): eliminate setCharFont code duplication.
9503 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9505 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9506 LFUN_TABULAR_FEATURE (bug #177)
9508 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9510 * Makefile.am: remove figure.h
9512 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9514 * Bufferview_pimpl.C:
9526 * text2.C: remove #include "lyx_gui_misc.h".
9528 * LaTeX.C: added #include <cstdio>
9530 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9532 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9533 that the paragraph following this one can have.
9535 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9537 * vspace.C (asLatexCommand): fix bogus gcc warning
9539 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9541 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9543 * text2.C (setLayout): get rid of redundant code
9545 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9547 * text2.C (incDepth): make sure depth cannot be increased beyond
9550 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9552 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9553 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9555 * PainterBase.h (image):
9556 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9559 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9563 * BufferView_pimpl.C:
9564 * BufferView_pimpl.h:
9584 * sp_spell.C: remove fig inset, and the crap house of
9585 cards that follows it
9587 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9593 * nt_defines.h: move .h into support/
9595 * vms_defines.h: remove
9597 * WorkArea.C: add space in debug output
9601 * buffer.C: add WITH_WARNINGS
9605 * bufferlist.C: s/retrive/retrieve/, add docs
9616 * lyxgui.C: add ID to X error handler
9618 * lyxtestclass.c: fix typo
9620 2002-02-26 Juergen Vigna <jug@sad.it>
9622 * tabular_funcs.C (write_attribute): changed so that some default
9623 attributes are not written at all.
9624 (getTokenValue): set default values before trying to read the
9625 value so we have the return value always set as default if we don't
9626 find the token we search for.
9628 * tabular.C (Write): write bools as bools not as strings!
9630 2002-02-22 Juergen Vigna <jug@sad.it>
9632 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9633 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9635 * text.C (leftMargin): don't add an indent for paragraphs inside
9636 tabular cells (fix #208).
9638 2002-02-21 José Matos <jamatos@fep.up.pt>
9640 * tabular.C (docBook): fixed support for long tables.
9642 2002-02-20 Juergen Vigna <jug@sad.it>
9644 * text2.C (getFont): get the drawing font of the Inset if this
9645 paragraph is inside an inset (only important for InsetERT for now).
9647 * buffer.C (insertErtContents): use new lanugage params in ERT
9650 * CutAndPaste.C: commenting out seemingly uneeded code.
9652 2002-02-19 Allan Rae <rae@lyx.org>
9654 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9655 Iterators might be simple to use but they also get invalidated.
9656 (removeAutoInsets): renamed saved cursor tracking variables and added
9657 some comments to clarify what everything does.
9659 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9666 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9667 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9670 * vc-backend.h: remove #include "support/syscall.h"
9674 * converter.C: rearrange #includes in Lars' approved fashion.
9676 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9677 forward declare class Timeout in the header file.
9679 * XFormsView.C: changes due to the above.
9681 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9684 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9685 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9687 2002-02-18 José Matos <jamatos@fep.up.pt>
9689 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9692 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9694 * a lot of small ws changes
9695 * add a lot of using std::XXX
9696 * use std construcs some places where approp.
9697 * use some exisint stuff from lyxfunctional where approp.
9698 * Make file changes to use partial linking (lets test this now...)
9700 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9704 remove #include "support/syscontr.h" as it's redundant. Always has been.
9712 change Systemcalls::System to Systemcalls::Wait and
9713 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9714 No change of functionality, just reflects the stripped down Systemcalls
9717 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9719 * debug.[Ch]: add a GRAPHICS type to the enum.
9721 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9723 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9725 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9728 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9730 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9731 match the changes below.
9733 * text2.C (toggleInset): if there is not editable inset at cursor
9734 position, try to see if cursor is _inside_ a collapsable inset
9737 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9739 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9740 document menu has a nice checkbox
9742 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9744 * lyxlength.C (asLatexString): change PW to output as percent of
9747 * lengthcommon.C: change '%' to 't%'
9749 * lyxfunc.C (dispatch): a few comments from Martin
9751 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9755 * BufferView_pimpl.h:
9756 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9759 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9761 * vspace.C (inPixels): fix compiler warning
9763 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9765 * lyxfunc.C (getStatus): fix status message for disabled commands.
9767 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9769 * BufferView_pimpl.C: fix crash on close buffer
9770 during selection (#227)
9772 2002-01-27 Herbert Voss <voss@lyx.org>
9774 * buffer.C: link old Figure to new graphic inset
9776 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9778 * FontLoader.C (getFontinfo): Change the latex font names in order
9779 to match the names of type1inst.
9781 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9783 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9785 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9788 (remove_files_with_extension): ditto
9789 (remove_file): ditto
9792 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9793 document is smaller than the work area height. Do not initialize
9794 static variables to 0.
9796 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9798 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9800 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9801 LFUN_LAYOUT_PARAGRAPHS.
9803 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9804 tabular. It is possible to provide a possible cell, which will
9805 typically be the actcell from the corresponding insettabular
9807 * lyxfunc.C (getStatus): small cleanup; disable
9808 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9811 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9813 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9815 * paragraph.C (startTeXParParams):
9816 (endTeXParParams): new methods. The LaTeX code to
9817 start/end paragraph formatting
9818 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9819 empty (fixes bug #200)
9821 * vspace.C (inPixels): adapt to the change below
9822 (inPixels): [later] more cleanups (remove unused variables)
9824 * lyxlength.C (inPixels): change to use a width and a height as
9827 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9829 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9830 Replaced with \paperwidth
9832 * DepTable.C (insert): add std:: qualifier
9834 2002-01-18 Allan Rae <rae@lyx.org>
9836 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9839 * text.C (drawInset): Turned out I didn't know enough about how
9840 rebreaking worked. This fixes most of the redraw problems. I see
9841 an occasional cursor trail when a line is broken now and the cursor
9842 placement can seem out by a few pixels also after a rebreak.
9844 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9846 * buffer.C (parseSingleLyXformat2Token): update because minipage
9847 width is now a LyXLength
9849 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9851 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9854 2002-01-17 Juergen Vigna <jug@sad.it>
9856 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9858 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9859 is set correctly and the inset is updated correctly.
9861 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9863 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9864 the beginning of the loop.
9866 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9868 * lyxrc.C: improve help for use_scalable_fonts
9870 2002-01-17 Allan Rae <rae@lyx.org>
9872 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9874 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9876 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9877 make sure to set their inset_owner to the right value (bug #171)
9879 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9882 * DepTable.C: Implement mtime checking to reduce time spent doing
9885 2002-01-16 Juergen Vigna <jug@sad.it>
9887 * tabular.C (GetAdditionalHeight): one of error fixed.
9889 * lyxrc.C (output): small fix in writing use_pspell.
9891 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9893 * sp_base.h: #include LString.h
9895 2002-01-16 Allan Rae <rae@lyx.org>
9897 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9898 Can someone check this please?
9900 * text.C (drawInset): It was possible that p.row would be removed by
9901 breakAgainOneRow upsetting a few other settings. There may be another
9902 small tweak possible by setting need_break_row = 0 when p.row has been
9903 removed but I don't know enough about the logic here.
9905 2002-01-15 Allan Rae <rae@lyx.org>
9907 * text.C (insertChar): removed conditional truism.
9909 * BufferView2.C (removeAutoInsets): More tweaks.
9910 cur_par_prev could be a stray pointer. Check for trailing empty line
9911 in case last line was cur_par and only had an error inset on it.
9913 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9915 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9918 * vc-backend.C (most methods):
9919 * exporter.C (Export):
9920 * converter.C (convert):
9922 * LyXSendto.C (SendtoApplyCB):
9923 * lyxfunc.C (dispatch):
9927 * lyx_cb.C (AutoSave):
9929 * BufferView_pimpl.C (MenuInsertLyXFile):
9930 * buffer.C (runChktex): use Buffer::filePath().
9932 * buffer.h: rename filename to filename_; rename filepath to
9933 filepath_ and make it private
9934 (filePath): new method
9936 * buffer.C (writeFile): use fileName()
9939 * lyx_main.C (init): fix starting of LyX when the binary is a
9940 link from so,ewhere else.
9942 * minibuffer.C: include <cctype> for isprint
9944 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9946 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9947 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9948 name clash with InsetCollapsable's width function.
9950 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9952 * lastfiles.C: include <iterator>
9954 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9956 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9959 * buffer.C (makeLaTeXFile): ditto.
9960 Also make loop operation more transparent.
9962 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9964 * ToolbarDefaults.C: remove trailing comma closing namespace.
9966 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9968 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9971 * trans.C (Load): comment out unused variable, allowed.
9973 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9975 * minibuffer.[Ch] (append_char): new method to recieve input from the
9976 drop-down completion browser. If a key was pressed, then recieve this
9977 char and append it to the existing string.
9978 (peek_event): modify the positioning data passed to the completion
9979 browser so that it can be placed above the minibuffer rather than below.
9980 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9982 * LyXAction.C (init): alloe error-next for readonly documents.
9984 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9987 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9989 * bufferlist.C (readFile): create the buffer _after_ checking that
9992 * lyxfunc.C (verboseDispatch): fix handling of arguments
9994 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9996 * lyxrc.C: use string::erase() instead of initializing to "".
9999 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10001 * BufferView_pimpl.h:
10002 * BufferView_pimpl.C:
10005 * text2.C: tell X when we have made a selection for copying
10007 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10009 * BufferView_pimpl.C (MenuInsertLyXFile):
10010 * lyxfunc.C (menuNew):
10012 (doImport): add shortcuts to directory buttons
10014 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10017 * lyxfunc.C (setStatusMessage):
10018 (getStatusMessage): new methods
10019 (getStatus):use setStatusMessage instead of setErrorMessage
10020 (dispatch): when function is disabled, set error message here
10021 [instead of in getStatus previously]
10023 * BufferView_pimpl.C (workAreaButtonRelease): update
10024 toolbar/menubar here too.
10026 2002-01-13 Allan Rae <rae@lyx.org>
10028 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10029 Now seems indestructible. Remaining task is to audit all other
10030 code affected by deleteEmptyParagraphMechanism. One small quirk
10031 left is that an empty document with an error in the preamble can
10032 be made to report an error but no error box appears. I don't know
10034 (removeAutoInsets): Improved comments.
10036 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10039 * Thesaurus.C: update for Aiksaurus 0.14
10041 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10043 * text2.C (firstParagraph): removed member function, all uses
10044 replaces with ownerParagraph
10045 (redoParagraphs): here
10046 (updateInset): here
10047 (toggleAppendix): here
10048 * BufferView2.C (insertErrors): here
10049 (setCursorFromRow): here
10051 2002-01-13 Allan Rae <rae@lyx.org>
10053 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10054 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10055 There is still a way to segfault this although you may have to do this
10056 multiple times: Have an InsetERT with an unknown command in it.
10057 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10058 <down-arrow>, <Enter> again, View->DVI, BANG!
10060 * text2.C (setCursor):
10061 (deleteEmptyParagraphMechanism):
10062 * lyxtext.h (setCursor):
10063 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10064 Making use of the return value may help fix other bugs.
10066 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10068 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10070 * LyXView.C (updateMenubar): call MenuBar::update here
10071 (updateToolbar): but not here
10072 (showState): do not update toolbar/menubar
10074 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10075 should need to care about that.
10077 * lyxfunc.C (verboseDispatch): simplify a bit
10078 (getStatus): have a version which takes a pseudoaction, and
10079 another which requires a (kb_action,string).
10081 * LyXAction.C (retrieveActionArg): make it work also when action
10082 is not a pseudo-action.
10083 (getActionName): simplify a bit
10086 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10088 * lyxfunc.C (verboseDispatch): new families of methods with
10089 several ways to specify a command and a bool to indicate whether
10090 the command name and shortcut should be displayed in minibuffer
10091 (eventually, we could extend that to a finer bitmask like
10092 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10093 (dispatch): the pristine dispatch command which just, well,
10094 dispatchs! Note it still sets its result to minibuffer; I'm not
10097 * lyxfunc.h: remove setHintMessage
10099 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10101 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10103 * BufferView_pimpl.C (specialChar): delete new inset if we have
10104 not been able to insert it.
10106 * kbmap.C: revert to using int instead of kb_action, since all we
10107 are dealing with is pseudo-actions.
10109 * LyXAction.C (searchActionArg): change to return int instead of
10110 kb_action, since the result is a pseudoaction.
10112 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10114 * buffer.C (insertErtContents): Fix (partially) the font bug.
10116 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10118 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10119 as the other one is broken on my machine!
10121 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10124 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10126 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10128 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10129 reflect their actual use. Provide compatibility code for older lyxrc
10132 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10134 change names of popup font variables in line with the changes to lyxrc.C
10136 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10138 * buffer.C (asciiParagraph): avoid outputing a word twice after
10141 * lyxrc.C (getDescription): document that document_path and
10142 template_path can be empty.
10144 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10146 * LaTeXFeatures.C (getMacros):
10147 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10149 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10151 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10153 (getPackages): rename feature "floats" to "float". Use an array to
10154 iterate over 'simple' features (i.e. just a \usepackage). Add
10155 handling of "amsmath" (renamed from "amsstyle").
10157 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10159 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10162 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10164 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10165 FuncStaus::FuncStatus & FuncStaus::some_method().
10167 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10169 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10170 of the func_satus stuff. Edited and massaged in various ways by
10173 * lyxfunc.C (getStatus): use FuncStatus
10175 2002-01-08 Juergen Vigna <jug@sad.it>
10177 * text.C (nextBreakPoint): use function Inset::isChar().
10179 * paragraph.C (TeXOnePar): use function
10180 Inset::forceDefaultParagraphs.
10182 * buffer.C (latexParagraphs): use function
10183 Inset::forceDefaultParagraphs.
10185 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10187 * lyx_gui.C (init): set the style of the menu popups to
10188 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10190 2002-01-07 Juergen Vigna <jug@sad.it>
10192 * text.C (setHeightOfRow): small fix
10193 (prepareToPrint): don't look at alignment if we don't have the place
10196 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10198 * box.C: New file. Move the Box methods and functions out of box.h,
10199 following Lars' suggestion.
10201 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10203 * box.h: #include "support/LOstream.h", needed for inlined function.
10206 * lyxtextclasslist.C: added some using std declarations.
10208 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10210 * box.h: make signed dimensions to allow insets wider than
10211 the screen (bug #162)
10213 * BufferView_pimpl.C: add some insetHit debug
10215 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10217 * vc-backend.C: add FIXME
10219 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10221 * lyxfunc.C (getStatus): enable code for showing math font status
10224 2002-01-07 Juergen Vigna <jug@sad.it>
10226 * text.C (nextBreakPoint): removed debug output not needed anymore.
10228 2002-01-06 Juergen Vigna <jug@sad.it>
10230 * text.C (nextBreakPoint): fixed up this function we had this bug
10231 since ever but now hopefully we break row better.
10232 (insertChar): we have to check if an inset is the next char as it
10233 could now happen that a large inset is causing a break.
10235 2002-01-05 Juergen Vigna <jug@sad.it>
10237 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10238 if it doesn't like to be drawed.
10240 2002-01-04 Juergen Vigna <jug@sad.it>
10242 * BufferView2.C (lockInset): forgot to set a cursor.
10244 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10246 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10248 * FormMathsPanel.C:
10251 * form_maths_panel.C:
10252 * form_maths_panel.h:
10253 * form_maths_panel.fd: implemented sub- and super- buttons in math
10256 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10257 (or ^ space) to be used as in TeX (req'd by André).
10259 * lyxfunc.C: Allow ^ and _ again to be used both as
10260 super/subscript (mathed) and as themselves (in text).
10262 2002-01-03 Allan Rae <rae@lyx.org>
10264 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10265 "LyX" or the filename of the current buffer if it has one. This is a
10266 modified form of John Levon's patch.
10268 * XFormsView.C (setWindowTitle): also set icon title.
10270 * LyXView.h (setWindowTitle): signature changed.
10271 * XFormsView.h (setWindowTitle): ditto.
10273 2002-01-02 Juergen Vigna <jug@sad.it>
10275 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10277 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10279 * screen.C (topCursorVisible): introduce a temp var for
10280 text->cursor.row(), handle the case where this row is null. (kindo
10283 * text2.C (setCursor): add a couple of asserts.
10285 * paragraph.h (inset_iterator): add -> operator
10287 * paragraph.[Ch] (autoDeleteInsets): remove member function
10289 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10290 cursor pos correctly and handle inset deletion by itself.
10291 (insertErrors): move iterator declaration out of for expression
10293 * lyxtextclass.C: add <algorithm>
10295 * Makefile.am: added the new files to sources, removed layout.C
10297 * layout.C: removed file
10299 * layout.h: remove LYX_DUMMY_LAYOUT
10301 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10305 * lyxtextclass.[Ch]:
10306 * lyxtextclasslist.[Ch]: new files
10308 * include order changes to a lot of files, also changes because of
10311 2001-12-27 Juergen Vigna <jug@sad.it>
10313 * buffer.C (asciiParagraph): more fixes.
10315 * tabular.C (ascii): make ascii export support export of only the
10316 data separated by a column-delimiter.
10317 (ascii): better support for ascii export.
10319 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10321 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10323 * tabular_funcs.C: use a "using std::getline" instead of the
10324 previous fix from Angus (necessary for cxx + lyxstring)
10326 2001-12-24 Juergen Vigna <jug@sad.it>
10328 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10330 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10331 problems. First check a minipage also if we have some ert-contents
10332 (not only on par->size(), second set the right depth of the paragraph
10333 on the relink to the root-paragraph-list!
10335 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10336 which then did not anymore update the main paragraphs on undo/redo!
10338 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10340 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10341 code. Support all font-changing funcs (even those which are not in
10342 menu currently). Support for reporting font settings in
10343 mathed (disabled until Andre provides a function on mathed's side).
10345 * func_status.h (toggle): small helper function to set toggle
10348 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10350 * tabular_funcs.C: getline -> std::getline
10352 2001-12-21 Juergen Vigna <jug@sad.it>
10354 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10355 accessed and could be 0 (I couldn't generate this but it seems
10358 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10360 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10361 * tabular_funcs.h: here and include iosfwd
10363 2001-12-20 Juergen Vigna <jug@sad.it>
10365 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10366 inside inset but undo_par was.
10368 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10370 * Thesaurus.C: always include <config.h> in sources.
10374 * box.h: do not include <config.h> in header files
10376 * text.C (paintLastRow): remove unused variable
10378 * text.C (transformChar):
10380 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10382 * Painter.C (text):
10383 * font.C (width): rewrite to use uppercase() instead of
10386 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10388 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10390 * lyxfind.C: clean up of find failure position change
10392 2001-12-20 Juergen Vigna <jug@sad.it>
10394 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10396 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10397 (TeXRow): added to LaTeX a single tabular row.
10398 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10399 (Latex): simplified and finally good LT-h/f support.
10400 (various_functions): just small adaptions for LT-h/f support.
10402 * tabular_funcs.[hC]: added and moved here all not classfunctions
10405 2001-12-19 Juergen Vigna <jug@sad.it>
10407 * tabular.[Ch]: better support for longtabular options (not finished
10410 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10412 * text.C (paintLastRow): use the label font instead of the font of
10413 the last character to compute the size of *_BOX. This makes more
10414 sense and avoids a crash with empty paragraphs.
10415 Use Painter::rectangle to draw EMPTY_BOX.
10417 2001-12-19 Juergen Vigna <jug@sad.it>
10419 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10420 the paragraphs if the replaced paragraph is not the first one!
10421 Tried to delete not used paragraphs but does not work yet so for
10422 now it's inside #ifdef's and by default off!
10424 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10426 * MenuBackend.C: include "lyx_main.h" instead of declaring
10427 lastfiles (actually was declared as LastFiles* instead of a
10430 2001-12-17 Juergen Vigna <jug@sad.it>
10432 * tabular.C (AppendColumn): applied John's fix
10434 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10438 * BufferView_pimpl.h:
10439 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10442 * box.h: new start of class for above
10444 * lyxfunc.C: ignore space-only minibuffer dispatches.
10445 Show the command name when it doesn't exist
10447 * minibuffer.C: don't add empty lines to the history
10449 * minibuffer.C: add a space on dropdown completion
10451 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10453 * text.C: fix line above/below drawing in insets
10455 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10457 * lyxlength.C (LyXLength): Initialize private variables.
10459 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10461 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10462 when inserting error insets.
10464 2001-12-13 Juergen Vigna <jug@sad.it>
10466 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10467 actually sometimes the before-paragraph.
10468 (setUndo): don't clear the redostack if we're not actually undoing!
10470 2001-12-06 Juergen Vigna <jug@sad.it>
10472 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10473 and fixed redoing of main paragraph, so we can use it now ;)
10475 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10477 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10479 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10482 2001-12-13 André Pönitz <poenitz@gmx.net>
10485 * undo_func.C: minor cleanup
10487 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10489 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10490 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10491 font in urw-fonts package which is marked as -urw-fontspecific and
10492 does not work (incidentally, changing the encoding in the
10493 fonts.dir of this package to -adobe-fontspecific fixes the
10496 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10497 is a crash when undoing first paragraph (Juergen, please take a
10498 look). THis does not mean the undo fix is wrong, just that it
10501 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10502 the (Paragraph*) version when needed instead of duplicating the
10505 * text.C (workWidth): use Inset::parOwner to find out where the
10506 inset has been inserted. This is a huge performance gain for large
10507 documents with lots of insets. If Inset::parOwner is not set, fall
10508 back on the brute force method
10510 * paragraph_pimpl.C (insertInset):
10511 * paragraph.C (Paragraph):
10512 (cutIntoMinibuffer): set parOwner of insets when
10513 inserting/removing them
10515 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10517 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10523 * mathed/formulabase.C:
10524 * mathed/math_cursor.[Ch]:
10525 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10528 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10530 * lyxlength.[Ch] (operator!=): new function
10532 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10534 * text.C (workWidth): use Inset::parOwner to find out where the
10535 inset has been inserted. This is a huge performance gain for large
10536 documents with lots of insets. If Inset::parOwner is not set, fall
10537 back on the brute force method
10539 * paragraph_pimpl.C (insertInset):
10540 * paragraph.C (Paragraph):
10541 (cutIntoMinibuffer): set parOwner of insets when
10542 inserting/removing them
10544 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10546 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10548 * tabular-old.C (getTokenValue):
10549 * tabular.C (getTokenValue):
10550 (write_attribute): new versions for LyXLength
10551 (everywhere): adjust the use of widths
10553 * tabular.h: change the type of widths from string to LyXLength
10555 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10557 * paragraph.C: fixed missing line number count when exporting
10558 Environments to LaTeX file
10560 * buffer.C: added informational message for checking line numbers.
10562 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10564 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10565 paragraph, do the 'double space' part, but not the 'empty
10568 * text.C (workWidth): small optimization
10569 (getLengthMarkerHeight): use minimal size for negative lengths.
10571 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10573 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10575 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10577 2001-12-11 André Pönitz <poenitz@gmx.net>
10580 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10582 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10584 * text2.C: keep selection on a setFont()
10586 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10588 * lyx_cb.C: another bv->text misuse, from insert label
10590 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10593 * kbsequence.C: re-instate nmodifier mask
10595 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10597 * lyx_main.h: make lyxGUI private.
10599 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10601 * lyxfind.C: place the cursor correctly on failed search
10603 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10605 * text.C (getLengthMarkerHeight): for small heights, the arrows
10606 are not always on top/bottom of the text
10607 (drawLengthMarker): smaller arrows; take the left margin in
10608 account; draw also vfills.
10610 (paintLastRow): remove special code for vfill and standard spaces,
10611 since everything is handled in drawLengthMarker now.
10613 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10615 * buffer.C (insertErtContents): try to handle font and language
10616 interaction a bit better.g
10618 * ColorHandler.C (updateColor): change the hash to cover the whole
10619 LColor enum, ws cleanup
10620 (getGCLinepars): ditto
10621 (getGCLinepars): only lookup in the linecache once.
10623 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10625 * iterators.C (operator++): Make the iterator more robust
10627 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10629 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10631 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10634 * text.C: better added space drawing
10636 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10639 * BufferView2.C: fix layout combo update on inset unlock
10641 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10643 * Makefile.am: don't compile unused files
10645 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10649 * LyXAction.C: remove old LFUN_LAYOUTNO
10651 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10653 * paragraph_pimpl.h:
10654 * paragraph_pimpl.C: isTextAt() doesn't need font param
10656 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10659 * lyxlex.C: little cleanup
10661 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10663 * BufferView_pimpl.C: fix insertAscii for insets
10665 2001-12-05 Juergen Vigna <jug@sad.it>
10667 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10668 set the right font on the "multi" paragraph paste!
10670 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10676 * lyxlength.C: remove out-commented code.
10678 * BufferView_pimpl:
10692 * vc-backend.C: change "while(" to "while ("
10694 * lyxlength.[Ch]: add zero function to check if length is zero or
10696 * lyxgluelength.C: use it
10698 2001-12-05 Allan Rae <rae@lyx.org>
10700 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10701 Works for 2.95.3, from what I understand of Garst's reports this should
10702 work for other g++ versions. We're screwed if the abs(int) definition
10703 changed between bugfix releases of gcc.
10705 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10707 * text.C: fix chapter label offset !
10709 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10712 * text.C: fix hfill at end of line, clean up
10714 2001-12-04 Juergen Vigna <jug@sad.it>
10716 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10717 that we force an update of the inset and it's owners if neccessary.
10719 2001-12-03 Juergen Vigna <jug@sad.it>
10721 * text.C (rowLast): simplified code
10723 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10725 * lyxfunc.C: fix show options on timeout
10727 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10729 * screen.C (topCursorVisible): scroll half a page when the cursor
10730 reached top of bottom of screen
10732 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10734 * minibuffer.C: deactivate on loss of focus
10736 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10738 * vspace.[Ch] (operator!=): add operator.
10740 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10742 * BufferView_pimpl.C: refuse to open an inset when
10743 there's a selection.
10745 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10747 * BufferView_pimpl.C: allow to click on RHS of full row insets
10749 2001-11-30 Juergen Vigna <jug@sad.it>
10751 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10752 insets for undo reasons.
10754 2001-11-28 André Pönitz <poenitz@gmx.net>
10756 * vspace.[Ch]: cosmetical changes
10758 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10768 * kbsequence.C: part re-write of old kb code
10771 * WorkArea.C: remove Lgb_bug_find_hack
10773 2001-11-30 José Matos <jamatos@fep.up.pt>
10775 * buffer.C (makeDocBookFile): add a comment to point a hack.
10776 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10777 Fixed a double write of labels.
10779 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10782 * LaTeX.h Fixed bug in LaTeX class where it would not
10783 re-run latex if no depfiles were changed, but the .dvi was removed.
10785 2001-11-28 André Pönitz <poenitz@gmx.net>
10787 * all the files from the change on 2001/11/26:
10788 use lyx::layout_type instead of LyXTextClass::size_type
10789 use lyx::textclass_type instead of LyXTextClassList::size_type
10791 2001-11-29 Juergen Vigna <jug@sad.it>
10793 * text.C: added support for paragraph::isFreeSpacing()
10795 * buffer.C: same as above
10797 * paragraph.h: inserted isFreeSpacing() function to enable
10798 FreeSpacing inside InsetERT.
10800 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10801 of the paragraph's in the cut/copy buffer to 0!
10803 * text2.C (removeRow): remove the assert as it can!
10805 * lyxtext.h: added helper function firstRow returning firstrow and
10806 made firstrow private again.
10808 * BufferView2.C (lockInset): don't relock if we're already locked!
10810 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10811 the only paragraph.
10812 (removeRow): added Assert::(firstrow)
10814 * debug.C: forgot to add INSETTEXT here.
10816 2001-11-28 Juergen Vigna <jug@sad.it>
10818 * sp_spell.C (initialize): changed error text to more general
10819 spellchecker command use (not only ispell!)
10821 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10823 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10825 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10827 * vspace.C: initialise lyxgluelength on failure
10829 2001-11-28 Allan Rae <rae@lyx.org>
10831 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10832 declaration & definition that looks like a function declaration.
10834 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10836 * BufferView2.C (copy):
10837 (copyEnvironment): do not clear the selection when doing a copy.
10839 * text.C (paintFirstRow): compilation fix
10841 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10843 * tabular.C (Latex): correct line count when writing latex.
10845 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10847 * paragraph_pimpl.h:
10848 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10851 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10855 * LColor.C: change vfillline->added_space
10857 * text.C: add markers and text for added space
10859 * vspace.C: fix comment
10861 2001-11-28 André Pönitz <poenitz@gmx.net>
10863 * paragraph.C: whitespace changes
10864 * all the other files from the change on 2001/11/26:
10865 change *::pos_type into lyx::pos_type
10867 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10869 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10870 language of the document when inserting error insets.
10872 2001-11-26 André Pönitz <poenitz@gmx.net>
10874 * BufferView_pimpl.[Ch]:
10882 * paragraph_pimpl.[Ch]:
10885 * text2.C: reduce header dependencies, introduce type for positions
10887 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10889 * <various>: change to use Alert.h
10891 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10893 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10894 when encountering an unknown token.
10895 (readLyXformat2): Show an error message if there were unknown tokens.
10897 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10900 * BufferView_pimpl.C:
10904 * text2.C: use par->isInset()
10906 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10908 * paragraph_pimpl.h:
10909 * paragraph_pimpl.C: cleanup
10911 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10913 * text2.C (removeRow):
10914 * text.C (setHeightOfRow): remove useless (and costly) call to
10917 2001-11-20 Allan Rae <rae@lyx.org>
10919 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10920 Now need Inset*::checkInsertChar() to return true for appropriate
10921 cases so that the characters in the minibuffer will actually be
10924 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10926 * text.C: change the order of the includes.
10927 (workWidth): initialize it at once.
10928 (workWidth): make maxw unsigned
10929 (setHeightOfRow): remove unused variable (inset)
10930 (selectSelectedWord): remove unused variable (inset)
10931 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10933 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10935 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10936 server is not running.
10938 (closeConnection): add debug info when server is disabled.
10940 * ColorHandler.C (getGCForeground): send debug message to GUI
10943 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10945 * kbmap.C (bind): modify because return conventions of
10946 kb_sequence::parse have changed.
10948 * kbsequence.C (parse): only ignore spaces and not any stupid
10949 control character. This avoids tests like s[i] <= ' ', which are
10950 guaranteed to fail with 8bit characters and signed chars.
10951 Change return code to string::npos when there have been no error
10952 (0 was a bad idea when error is at first character)
10954 2001-11-14 José Matos <jamatos@fep.up.pt>
10957 * buffer.C (simpleDocBookOnePar): removed unused argument.
10959 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10961 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10962 insets which are part of a word. Paragraph::isLetter takes care of
10963 that now. Use Paragraph::isInset to identify insets.
10964 (selectSelectedWord): do not test for hyphenation break.
10966 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10967 that protected spaces are considered as spaces.
10969 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10972 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10975 * lyxserver.C: fix it. and small cleanup.
10977 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10979 * BufferView_pimpl.C: use inline helpers
10982 * LaTeXFeatures.C: fix typos
10985 * Spacing.C: move spacing_string into class
10987 * ToolbarDefaults.C: move stuff into namespace anon
10989 * layout.h: update enum
10991 * lyxfunc.C: use better debug
10993 * minibuffer.h: fix typo
10997 * WorkArea.C: add and use Debug::WORKAREA
11001 * text2.C: code re-organisation, inline helpers
11003 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11005 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11006 std::vector.empty().
11008 2001-11-09 Allan Rae <rae@lyx.org>
11010 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11011 '\n's after tables. Tabular and ERT inset work now makes this no
11014 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11017 * minibuffer.C: fix crash, improve drop-down completion
11019 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11022 * lyxserver.C: invalidate fd's when doing endPipe()
11024 2001-11-08 José Matos <jamatos@fep.up.pt>
11026 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11027 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11030 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11032 2001-11-07 José Matos <jamatos@fep.up.pt>
11035 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11038 * buffer.C (sgmlOpenTag):
11039 * buffer.C (sgmlCloseTag): removed debug info.
11041 * buffer.h (sgmlOpenTag):
11042 * buffer.h (sgmlCloseTag): made public.
11044 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11046 * buffer.C (saveParamsAsDefaults):
11047 * lyx_cb.C (MenuLayoutSave): remove
11049 * LyXAction.C (init):
11051 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11053 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11055 * buffer.C (setPaperStuff): removed from here...
11057 * bufferparams.C (setPaperStuff): ... and moved there.
11059 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11063 * XFormsView.C: add support for drop-down completion
11065 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11067 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11070 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11072 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11075 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11077 * lyx_main.C: change ref to known bugs
11079 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11081 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11082 to work around older babel problems.
11084 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11086 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11088 2001-10-24 Juergen Vigna <jug@sad.it>
11090 * tabular-old.C (ReadOld): below variable changes reflected.
11092 * tabular.[Ch]: added ltType struct for longtable header/footer
11093 defines and changed all instances where they are used. Added
11094 future support for double top/bottom rows.
11096 2001-10-24 José Matos <jamatos@fep.up.pt>
11098 * buffer.h (docbookHandleCaption):
11099 * buffer.C (docbookHandleCaption): removed unused function.
11100 (makeDocBookFile): moved docbook supported version to v4.1.
11102 2001-10-24 José Matos <jamatos@fep.up.pt>
11105 * tabular.C (docbookRow): new function to export docbook code of a row.
11106 (DocBook): now honors the longtable flags.
11108 2001-10-23 José Matos <jamatos@fep.up.pt>
11111 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11112 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11114 * buffer.C (makeLinuxDocFile):
11115 (makeDocBookFile): reworked the preamble, more clean, and with
11116 support for lyx defined entities. Changed the document declaration
11117 to be more XML friendly.
11119 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11120 if we need to output XML that should be done with a filter.
11122 2001-10-22 Juergen Vigna <jug@sad.it>
11124 * sp_pspell.h (class PSpell): add alive function needed in the
11125 controller to see if the spellchecker could be started.
11127 2001-10-22 Juergen Vigna <jug@sad.it>
11129 * buffer.C (insertStringAsLines): modify the font for inserting
11130 chars in certain conditions by calling checkInsertChar(font).
11132 2001-10-19 Juergen Vigna <jug@sad.it>
11134 * text.C (workWidth): use getRow instead of wrong algorithm.
11135 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11137 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11142 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11144 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11146 * text.C (workWidth): do not search for the exact row when
11147 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11148 optimization for big documents.
11150 2001-10-18 Juergen Vigna <jug@sad.it>
11152 * text.C (workWidth): new function with added Inset * parameter.
11154 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11156 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11158 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11159 change return type of getColumnNearX.
11162 * text.C (changeRegionCase): use uppercase/lowercase instead of
11165 (rightMargin): simplify code by factoring out the uses of
11170 (appendParagraph): use Paragraph::size_type
11172 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11174 * vspace.C (asLatexString): add a missing break
11176 2001-10-15 Herbert Voss <voss@perce.de>
11178 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11180 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11182 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11185 2001-10-10 André Pönitz <poenitz@gmx.net>
11187 * lyxfunc.C: removed greek_kb_flag.
11189 2001-10-10 Herbert Voss <voss@perce.de>
11191 * lyx_main.C: delete global string help_lyxdir.
11193 2001-10-09 Herbert Voss <voss@perce.de>
11195 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11197 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11199 * lyx_main.C: added global string help_lyxdir.
11201 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11203 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11205 * lyxrc.C (set_font_norm_type): support iso8859-4
11207 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11209 * LaTeX.C (deplog): add another regex for MikTeX
11211 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11213 * lyxrc.C (set_font_norm_type): support iso8859-3
11215 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11217 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11219 * LaTeXFeatures.C: remove special case of french and index
11221 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11222 before \begin{document}). This solves several incompatibilities.
11224 2001-10-03 Garst Reese <reese@isn.net>
11226 * lyx_cb.C: change CheckTex error msg.
11228 2001-10-03 José Matos <jamatos@fep.up.pt>
11230 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11232 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11234 * .cvsignore: update
11236 * lyx_main.C (commandLineVersionInfo): use new style version info.
11238 * buffer.C (writeFile):
11240 (makeLinuxDocFile):
11241 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11243 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11245 * version.h: update to use stuff in version.C
11247 * version.C.in: new file. Contains version information determined
11248 at compile time. This is a merging of version.h and
11251 2001-10-03 Juergen Vigna <jug@sad.it>
11253 * BufferView_pimpl.C (update): don't change "dirty" status in
11256 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11258 * WorkArea.C (c-tor): re-position version string slightly.
11260 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11262 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11263 revert to previous code.
11265 WorkArea.[Ch]: (show, destroySplash): methods removed.
11267 WorkArea.C: rework code so that it's an amalgam of the codes before and
11268 after the splash screen was moved to WorkArea.
11270 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11273 * vspace.C (inPixels):
11276 * buffer.C (insertStringAsLines):
11277 (asciiParagraph): fix types to be large enough
11279 * lyxlex_pimpl.h: change member status from short to int
11281 * layout.h: fix type of endlabeltype
11284 * kbsequence.C (parse): change return type to string::size_type
11286 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11289 * Bullet.C (bulletSize):
11290 (bulletEntry): do not use short ints as parameters
11292 * BufferView2.C (insertLyXFile): change a char to an int.
11294 * WorkArea.C (WorkArea): remove unneeded floats in computation
11296 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11298 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11300 * paragraph.C (asString): Do not ignore newline/hfill chars when
11301 copying to the clipboard.
11303 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11305 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11306 after a multi-line inset.
11308 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11310 * paragraph.C (validate): Set NeedLyXFootnoteCode
11312 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11314 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11315 and decrease-error to decrease.
11317 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11319 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11320 it more readable (should be equivalent)
11322 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11324 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11326 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11328 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11329 of a cursor (row, etc.) after a character has been deleted
11330 (deleteEmptyParagraphMechanism): call the method above on _all_
11331 cursors held by the LyXText when a double space has been
11334 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11336 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11338 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11340 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11341 background. Use greyOut() and the new show() methods to toggle between
11342 the foreground and background. Add code to remove the splash after
11343 its initial showing.
11345 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11346 (create_forms): no longer call Dialogs::showSplash.
11348 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11350 * .cvsignore: add version_info.h
11352 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11354 * version_info.h.in: new file
11356 * Makefile.am: add version_info.h.in
11358 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11359 version_info.h instead of VERSION_INFO
11361 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11363 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11364 The ERT inset now returns string().
11366 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11368 * lyxtext.h, text.C (selectNextWord): renamed as
11369 selectNextWordToSpellcheck.
11371 * text.C (selectNextWordToSpellcheck): Modified to not select
11372 words inside an ERT inset.
11374 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11376 * lyx_cb.C (MenuLayoutSave): change a bit the question
11378 * sp_base.h: include <sys/types.h>
11380 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11382 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11384 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11386 * several files: fix typos in user-visible strings
11388 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11390 * text2.C (pasteSelection): do not set the selection, since it
11391 will be cleared later. Actually, the intent was to fix the way the
11392 selection was set, but I figured rmoving the code was just as good.
11394 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11396 * FontLoader.C (available): Check if font is available without
11399 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11401 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11403 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11405 * lyxrc.[Ch]: added display_graphics variable and associated code.
11407 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11409 * bufferparams.C (hasClassDefaults): new method. Returns true if
11410 the buffer parameters correspond to known class defaults
11412 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11414 * XFormsView.C (show): set minimum size to the main window.
11416 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11418 * text2.C (copySelection):
11420 * lyxfind.C (LyXReplace):
11421 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11422 LyXText::selectionAsString.
11424 * paragraph.C (asString): add "label" argument to the second form
11426 * text2.C (selectionAsString): add "label" argument and pass it to
11427 Paragraph::asString.
11429 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11431 * lyx_main.C (commandLineHelp): remove version information
11433 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11435 * lyx_main.C: add -version commandline option
11437 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11439 * paragraph.h: make the optional constructor arg required instead.
11440 some modifications to other files because of this.
11442 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11444 * lyxserver.C (C_LyXComm_callback): make it static
11446 * lyx_main.C (error_handler): make it static
11448 * lyx_gui.C (LyX_XErrHandler): make it static
11450 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11452 * WorkArea.C: make the extern "C" methods static.
11454 * Makefile.am (lyx_LDADD): simplify
11456 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11458 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11459 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11461 * LyXAction.C (init):
11462 * lyxfunc.C (dispatch): associated code removal.
11464 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11466 * lyxfont.h (isSymbolFont): shut off warning
11468 * text.C (setHeightOfRow):
11469 (getVisibleRow): fix crash with empty paragraphs which have a
11472 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11474 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11477 2001-09-04 José Matos <jamatos@fep.up.pt>
11480 * tabular.C (docbook): rename docBook method to docbook.
11482 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11484 * Makefile.am: add dependencies to main.o.
11486 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11488 * FontLoader.C (available): Return false if !lyxrc.use_gui
11490 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11492 * FontInfo.C (query):
11493 * converter.C (view):
11494 * importer.C (Import):
11495 * exporter.C (Export): Can not -> cannot.
11497 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11499 * BufferView_pimpl.C: allow to create index inset even if
11502 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11504 * buffer.C (getLists): replace boost::tie code with an explicit pair
11505 as boost::tie can break some compilers.
11507 * iterators.h: Added a std:: declaration to the return type of
11510 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11512 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11515 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11517 * iterators.[Ch]: New files. Provide paragraph iterators.
11519 * buffer.C (changeLanguage): Use paragraph iterators.
11520 (isMultiLingual): ditto
11522 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11524 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11526 * FontLoader.C: Support for cmr font.
11528 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11530 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11531 (available): New method.
11533 * FontInfo.C (getFontname): Use scalable fonts even when
11534 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11537 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11539 * converter.C (Formats::view): reverted! Incorrect fix.
11541 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11543 * converter.C (Formats::view): only output the -paper option
11544 if the dvi viewer is xdvi, thereby fixing bug #233429.
11546 2001-08-23 Herbert Voss <voss@perce>
11548 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11550 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11552 * Spacing.h (Spacing): Set space to Default on in the default
11555 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11557 * vc-backend.h (RCS::versionString): add RCS to version
11558 (CVS::versionString): add CVS to version
11560 * vc-backend.C (scanMaster): do not add CVS to version.
11561 (scanMaster): do not add RCS to version
11563 * lyxvc.C (versionString): new method
11565 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11567 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11569 * Spacing.C (set): initialize fval
11571 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11573 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11576 2001-08-16 Juergen Vigna <jug@sad.it>
11578 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11580 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11582 * BufferView_pimpl.C:
11585 * text2.C: setParagraph takes linespacing now
11587 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11589 * LyxAction.C: add internal LFUN_CITATION_INSERT
11591 * LyXView.C: actually apply fix
11593 * bufferlist.C: fix open non-existent file
11595 * lyxfind.C: fix indentation
11597 * lyxfunc.C: remove unneeded assert, fix typo
11599 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11601 * MenuBackend.C: use "Floatname List"
11603 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11605 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11606 when converting LaTeX layout to insetERT.
11607 Generate a non-collapsed float when reading old float
11609 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11611 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11614 2001-08-13 Juergen Vigna <jug@sad.it>
11616 * text.C (fill): return 0 instead of 20 as this seems to be the more
11619 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11621 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11624 2001-08-13 Juergen Vigna <jug@sad.it>
11626 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11628 (SearchBackward): comment out the unlocking of the inset_owner this
11629 should not be needed!
11631 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11633 * Many files: Remove inherit_language, and add latex_language
11635 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11636 collapsible insets.
11638 2001-08-10 Juergen Vigna <jug@sad.it>
11640 * text.C (prepareToPrint): fixed hfill-width in draw!
11642 * BufferView2.C (selectLastWord): save the selection cursor as this
11643 now is cleared in the function LyXText::clearSelection!
11645 2001-08-08 Juergen Vigna <jug@sad.it>
11647 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11648 BACKSPACE type functions.
11650 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11651 is only cutted from the document but not put in the cut-buffer, where
11652 still the old stuff should be.
11654 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11656 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11658 * tabular.C (SetWidthOfCell): fixed special case where the width
11660 (LeftLine): handle '|' in align_special.
11662 (LeftAlreadyDrawed): ditto
11663 (SetWidthOfCell): ditto
11665 2001-08-07 Juergen Vigna <jug@sad.it>
11667 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11669 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11671 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11672 * lyxlex.[hC]: ditto
11674 2001-08-06 Juergen Vigna <jug@sad.it>
11676 * text.C (getVisibleRow): fix up row clearing a bit.
11678 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11680 * minibuffer.C: make sure the X server sees the changes in the input.
11682 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11684 * paragraph.C (getFont): split into...
11685 (getLabelFont): this
11686 (getLayoutFont): and this
11687 * paragraph_pimpl.C (realizeFont): calling this
11689 * text2.C (getFont): split into...
11690 (getLayoutFont): this
11691 (getLabelFont): and this
11692 (realizeFont): all three calling this
11694 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11697 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11699 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11701 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11703 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11704 layouts from the Quote inset insertion.
11706 2001-08-03 Juergen Vigna <jug@sad.it>
11708 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11710 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11711 only if status not is already CHANGED_IN_DRAW (second level).
11713 * text.C (draw): don't set the need_break_row when inside an
11716 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11718 * buffer.C (parseSingleLyXformat2Token): handle more latex
11721 * bufferview_funcs.[hC]: change function names to
11722 begin with small char, adjust other files.
11724 2001-08-02 André Pönitz <poenitz@gmx.net>
11727 BufferView_pimpl.C: remove broken special code for math-greek
11729 2001-08-02 Juergen Vigna <jug@sad.it>
11731 * BufferView_pimpl.C (update): redone this function so that we
11732 update the text again if there was a CHANGE_IN_DRAW.
11734 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11735 (drawFromTo): added a new internal bool which is used by draw() and
11737 (general): some cursor drawing problems fixed.
11739 2001-08-01 Juergen Vigna <jug@sad.it>
11741 * lyxfind.C (LyXFind): fixed
11742 (SearchForward): ditto
11743 (SearchBackward): ditto
11745 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11746 spurius drawing of the cursor in the main area.
11748 * text2.C (status): small fix which could lead to a segfault!
11749 (clearSelection): remove unneeded BufferView param.
11751 2001-08-01 André Pönitz <poenitz@gmx.net>
11753 * lyxfunc.C: small change due to changed mathed interface
11755 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11757 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11759 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11761 * lyxfunc.c: fail gracefully if file doesn't exist
11766 * BufferView_pimpl.C: IsDirWriteable() proto changed
11768 * LyXView.C: fix updateWindowTitle() to store the last title
11770 2001-07-31 Juergen Vigna <jug@sad.it>
11772 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11773 the font (wrong since using of Paragraph::highestFontInRange).
11775 * paragraph.C (highestFontInRange): added a default_size parameter.
11777 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11778 (setHeightOfRow): reformat
11780 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11782 * converter.[hC] + affected files: move to (inital-char)lowercase
11785 * ParagraphParameters.C (ParagraphParameters): remove commented code
11787 * PainterBase.[Ch]: remove commented code
11789 * LaTeXFeatures.h: add "bool floats" for float.sty
11791 * LaTeXFeatures.C (LaTeXFeatures): init floats
11792 (require): handle float
11793 (getPackages): do it with floats
11795 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11797 * BufferView_pimpl.C (Dispatch): improve handling of
11798 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11800 * commandtags.h: #include lyxfont.h here temporarily to avoid
11803 * bufferlist.h: include LString.h here.
11805 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11807 * text2.C (getStringToIndex): new method.
11809 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11811 * *: Reduced header file dependencies all over.
11813 2001-07-30 Baruch Even <baruch@lyx.org>
11815 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11817 2001-07-29 Baruch Even <baruch@lyx.org>
11819 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11821 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11823 * ParameterStruct.h (endif): add a default constructor to make
11824 sure that all variables is initialized.
11826 * ParagraphParameters.C (ParagraphParameters): adjust
11828 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11830 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11831 index; also, check that there is something to index, and that it
11832 does not span over several paragraphs.
11833 (doubleClick): use WHOLE_WORD_STRICT for double click.
11835 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11837 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11840 2001-07-26 Baruch Even <baruch@lyx.org>
11842 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11843 an InsetFig figure, backwards compatible reading of old figure code.
11845 2001-07-27 Juergen Vigna <jug@sad.it>
11847 * text2.C: font.realize function adaption.
11849 * text.C (draw): add a warnings lyxerr text if needed.
11851 * layout.C: font.realize function adaption.
11853 * language.C: add inherit_language and implement it's handlings
11855 * bufferview_funcs.C (StyleReset): remove language parameter from
11856 font creation (should be language_inherit now).
11858 * bufferparams.C (writeFile): handle ignore_language.
11860 * paragraph.C (getFontSettings): the language has to be resolved
11861 otherwise we have problems in LyXFont!
11863 * lyxfont.C (lyxWriteChanges): added document_language parameter
11864 (update): removed unneeded language parameter
11866 * paragraph.C (validate): fixed wrong output of color-package when
11867 using interface colors for certain fonts in certain environments,
11868 which should not seen as that on the final output.
11870 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11872 * BufferView_pimpl.C:
11877 * LyXAction.C: add thesaurus support
11880 * lyxfind.C: add "once" parameter, for thesaurus, to not
11881 move to the next match
11883 2001-07-26 Juergen Vigna <jug@sad.it>
11885 * lyxfont.C (realize): honor ignore_language too!
11888 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11890 * text.C (draw): one place more for ignore_language to not draw
11893 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11895 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11897 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11899 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11900 the minipage conversion problem.
11902 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11904 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11907 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11909 * BufferView.h: don't forward declare WorkArea
11911 * BufferView.C: don't include WorkArea.h
11913 2001-07-25 André Pönitz <poenitz@gmx.net>
11917 * lyxfunc.C: new LFUN 'math-space'
11919 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11921 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11923 * text2.C (toggleInset): call open/close
11925 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11927 * lyxfunc.C (dispatch): add debug for the disabled case
11929 * font.C (buttonText): make similar to rectText
11931 * buffer.C (readInset): comment out parsing of insetlist and
11934 * PainterBase.C (rectText): small correction
11936 * BufferView_pimpl.C: comment out insettheorem and insetlist
11937 * LyXAction.C: ditto
11938 * commandtags.h: ditto
11940 2001-07-24 Juergen Vigna <jug@sad.it>
11942 * text.C (draw): honor the ignore_language.
11944 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11946 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11948 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11951 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11953 * lyxtext.h: remove unused (and unimplemented) methods
11955 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11957 * text.C (getVisibleRow): honor background color
11960 * Painter.h: remove default color argument for fillRectangle
11962 * text.C (backgroundColor): new method
11964 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11966 * text.C (getVisibleRow): adjust
11968 * font.[Ch] (rectText): new method, metrics
11969 (buttonText): new method, metrics
11971 * PainterBase.[hC]: make rectText and buttonText always draw and take
11974 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11976 * ToolbarDefaults.C (read):
11977 * MenuBackend.C (read): allow escaping in all strings
11979 * BufferView_pimpl.C (insertAndEditInset): new method.
11980 (Dispatch): use insertAndEditInset whenever appropriate.
11982 * BufferView_pimpl.C (insertNote): removed
11984 * BufferView_pimpl.C (smartQuote): new method, moved from
11985 BufferView; if an insetquote cannot be inserted, insert a '"'
11988 * BufferView2.C: remove insertCorrectQuote();
11990 * lyxfunc.C (getStatus): Add support for all remaingin
11991 inset-insert lfuns.
11993 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11995 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11996 command (necessary to pass " as parameter of self-insert.
11998 * text.C (selectWordWhenUnderCursor):
11999 (selectWord): add word_location parameter
12000 (selectWordWhenUnderCursor): same + remove special code for word
12002 (selectNextWord): use kind() to guess type of insetspecialchar,
12005 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12006 (insertErtContents): create ert insets as collapsed.
12007 (readInset): better compatibility code for Info inset.
12009 2001-07-20 Juergen Vigna <jug@sad.it>
12011 * lyxfunc.C (dispatch): use always LyXFind now!
12013 * text2.C (init): add a reinit flag so that the LyXText can be
12014 reinited instead of deleted and reallocated (used in InsetText).
12016 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12022 2001-07-18 Juergen Vigna <jug@sad.it>
12024 * text.C (selectNextWord): handle insets inside inset by calling
12025 always the bv->text functions so that we can go up the_locking_inset!
12027 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12028 in strange locations when inside an inset!
12030 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12031 handling to include insets.
12033 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12035 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12037 * LyXAction.C (init):
12039 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12040 LIGATURE_BREAK, since the name is so stupid.
12042 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12044 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12047 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12049 * sp_form.[Ch]: remove.
12051 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12053 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12056 * src/buffer.C (readInset): ditto.
12058 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12060 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12061 menuSeparator(), endOfSentenceDot(), ldots() and
12062 hyphenationPoint(), which are therefore removed.
12063 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12065 * LyXAction.C (init):
12066 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12068 * paragraph.C (getWord): removed.
12070 * BufferView_pimpl.C (Dispatch): use last word or selection for
12071 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12073 * lyx_main.C (queryUserLyXDir): do not ask before creating
12074 user_dir, except if it has been named explicitely.
12076 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12078 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12079 a document of zero size.
12081 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12083 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12084 approriately in the c-tor and in require().
12085 (getPackages): output the appropriate LaTeX for natbib support.
12087 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12088 variables "use_natbib" and "use_numerical_citations" when reading the
12090 (readInset): read the various natbib cite commands.
12091 (validate): white-space change.
12093 * bufferparams.[Ch]: new variables "bool use_natbib" and
12094 "bool use_numerical_citations".
12095 (writeFile): output them in the LyX file.
12097 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12099 * lyxfunc.C (getStatus): add support for all the inset insertion
12102 * text2.C (insertInset):
12103 * paragraph.C (insetAllowed):
12104 * BufferView_pimpl.C (insertInset): update to take in account the
12105 renaming of insertInsetAllowed
12107 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12109 * text2.C (getInset): new method. returns inset at cursor position.
12111 * BufferView_pimpl.C (Dispatch): changes because of this.
12113 * LyXAction.C (init): rename open-stuff to inset-toggle.
12115 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12117 * text2.C (toggleInset): renamed from openStuff; use
12120 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12122 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12124 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12126 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12128 * buffer.C (readLyXformat2): Add filename to the error dialog
12130 2001-07-18 Juergen Vigna <jug@sad.it>
12132 * tabular.C (GetCellNumber): put an assert here instead of the check!
12134 2001-07-17 Juergen Vigna <jug@sad.it>
12136 * BufferView_pimpl.C (toggleSelection): adapted too.
12138 * text.C (selectNextWord): adapted for use with insets.
12139 (selectSelectedWord): ditto
12141 2001-07-17 Juergen Vigna <jug@sad.it>
12143 * sp_spell.C (PSpell): fix initialitation order.
12145 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12147 * paragraph.C: spacing
12149 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12151 * sp_spell.C: repair language selection for pspell
12153 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12155 * lyxfunc.h: change more methods to begin with lower char.
12157 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12159 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12160 for unknown layouts.
12162 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12164 * buffer.C (readLyXformat2): Generate an error dialog if there are
12167 2001-07-16 Juergen Vigna <jug@sad.it>
12169 * sp_spell.C: always compile ISpell part.
12171 * lyxrc.C: added use_pspell entry and it's handling.
12173 2001-07-13 Juergen Vigna <jug@sad.it>
12175 * sp_spell.C: removed double includes.
12177 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12179 Consistent use of Lsstream.h:
12180 * Lsstream.h: added using std::stringstream for consistencies sake.
12182 * buffer.C: removed using std::stringstream
12184 * lyxfont.C (stateText):
12185 * paragraph.C (asString):
12186 * text.C (selectNextWord, selectSelectedWord):
12187 * text2.C (setCounter):
12188 * vspace.C (asString, asLatexString):
12189 std::ostringstream -> ostringstream.
12191 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12193 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12194 * commandtags.h: add LFUN_HELP_ABOUTLYX
12195 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12197 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12199 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12201 * lyx_gui_misc.C: remove spellchecker
12202 * lyxfunc.C: showSpellchecker
12204 * sp_ispell.h: added
12205 * sp_pspell.h: added
12206 * sp_spell.C: added
12207 * sp_form.[Ch]: removed
12208 * spellchecker.[Ch]: removed
12210 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12212 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12214 (simpleTeXSpecialChars): Simply print the input character without
12215 any special translation if pass_thru is set.
12217 * layout.h: Added bool pass_thru to layout class for being able to
12218 implement pass through of a paragraph for Literate Programming.
12220 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12221 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12222 * layout.C (Read): add "passthru" to list of layout tags and add
12223 code to set the pass_thru boolean when it is read.
12225 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12227 * trans_decl.h: remove allowed from KmodInfo
12229 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12230 remove allowed code
12233 * paragraph_pimpl.C (erase): use boost::prior
12235 * Painter.C (text): use data() instead of c_str() when length is
12237 * WorkArea.C (putClipboard): ditto
12238 * font.h (width): ditto
12240 * BufferView2.C: use it-> instead of (*it). for iterators
12242 * paragraph_pimpl.C: ditto
12243 * paragraph.C: ditto
12244 * minibuffer.C: ditto
12245 * language.C: ditto
12247 * encoding.C: ditto
12248 * counters.C: ditto
12249 * converter.C: ditto
12251 * Variables.C: ditto
12252 * TextCache.C: ditto
12253 * MenuBackend.C: ditto
12254 * LyXAction.C: ditto
12256 * FloatList.C: ditto
12257 * DepTable.C: ditto
12258 * ColorHandler.C (LyXColorHandler): ditto
12260 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12262 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12264 * text2.C (openStuff): reintroduce this method (which had been
12265 nuked in NEW_INSETS frenzy).
12267 * lyxfunc.C (Dispatch): when an action has not been handled, use
12268 its name in the error message, not its number.
12270 * paragraph.C (inInset): change method name to begin with lowercase.
12273 * text2.C: updates because of this.
12275 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12277 * ToolbarDefaults.C (add): add spaces in error message
12279 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12281 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12282 (readLyXformat2): rename return_par to first_par, use lyxlex's
12283 pushToken and remove the manual push handling.
12284 (parseSingleLyXformat2Token): add another ert comp. variable:
12285 in_tabular, rename return_par to first_par. handle newlines better
12287 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12289 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12291 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12293 * text2.C (getParFromID): removed
12295 * buffer.C (getParFromID): new method moved form lyxtext.
12296 * BufferView2.C (insertErrors): adjust
12297 (setCursorFromRow): adjust
12298 * BufferView_pimpl.C (restorePosition): adjust
12299 * lyxfunc.C (Dispatch): adjust
12300 * undo_funcs.C (textUndo): adjust
12302 (textHandleUndo): adjust
12303 (textHandleUndo): adjust
12305 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12307 * buffer.C: up' the LYX_FORMAT
12309 * lyxfont.h: turn NO_LATEX on as default
12311 * buffer.C (insertErtContents): new methods of tex style compability.
12312 (parseSingleLyXformat2Token): use it several places.
12313 * tabular.C (OldFormatRead): and here
12315 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12317 * text2.C: remove some commented code.
12320 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12321 * trans.C: changes because of the above.
12323 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12325 * text2.C (setCounter): Fix counters bug with bibliography layout.
12327 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12329 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12330 own member functions
12331 (simpleTeXSpecialChars): ditto
12333 2001-07-06 Juergen Vigna <jug@sad.it>
12335 * a lot of files: changed the access to LyXText::status and the
12336 call of undo-functions.
12338 * undo.[Ch]: added a inset_id to the undo informations.
12340 * undo_funcs.[Ch]: added and moved here all undo functions.
12342 * lyxtext.h: give the status enum a weight, made status_ a private
12343 variable and made accessor functions for it, removed the whole bunch
12344 of undo-functions as they are now in their own file, make some
12345 functions publically available. Added function ownerParagraph with
12348 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12349 made InInset() a const function, added getParFromID() function.
12351 * buffer.[Ch]: added const version for inset_iterator functions,
12352 added getInsetFromID() function.
12354 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12355 changed undo functions for new version.
12357 2001-07-05 Juergen Vigna <jug@sad.it>
12359 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12360 unknow mechanism does not call the proper constructor but only this
12361 one also if I request the other!?
12363 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12365 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12367 * text2.C (LyXText): use initialization lists.
12369 * lyxtext.h (Selection): initialize set_ and mark_
12370 (init): remove method
12372 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12374 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12376 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12378 * screen.[Ch]: change method names to begin with lowercase
12380 * BufferView_pimpl.C (updateScrollbar): simplify further and
12381 hopefully make it a bit faster.
12383 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12385 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12386 calling directly xforms functions.
12388 * Painter.C (Painter):
12389 * lyx_cb.C (MenuWrite):
12390 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12393 * lyx_gui.C: remove bogus guiruntime extern declaration.
12395 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12397 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12399 (redoDrawingOfParagraph): ditto
12400 (redoParagraphs): ditto
12401 (cutSelection): don't create a object for CutAndPaste use the
12402 static method directly
12403 (pasteSelection): ditto
12405 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12408 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12410 * modifications to some other files because of this.
12412 * Makefile.am (lyx_SOURCES): add XFormsView
12414 * XFormsView.[Ch]: new files
12416 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12417 the main window. Move the gui dependent stuff to XFormsView
12419 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12421 * tabular.C (GetCellInset): update cur_cell also in the row/col
12422 version of this function.
12424 * lyxfunc.C: no need to include figure_form.h here.
12430 * lyxvc.C: no need to include forms.h here.
12432 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12434 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12436 * lyxfunc.C (Dispatch):
12438 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12439 constructor argument.
12441 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12443 * paragraph.C (Paragraph): dont't clear, and just set layout.
12444 (makeSameLayout): use params's copy contructor.
12446 * ParagraphParameters.[Ch] (makeSame): delete method
12448 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12450 * Variables.[Ch]: fix indentation, rename set to isSet
12452 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12454 * lyxfunc.C (Dispatch): fix typo
12456 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12458 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12461 * bufferlist.C: include assert.h for emergencyWrite().
12463 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12465 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12466 give up at last (bug #425202) !
12468 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12474 * spellchecker.C: strip spellchecker options and bring up
12475 preferences tab instead
12477 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12479 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12480 the istringstream constructor
12482 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12484 * paragraph.C (getLayout): fix return value
12486 * paragraph.h: do not declare getLayout as inline.
12488 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12490 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12492 * lyxcursor.h (operator<): new func
12493 (operator>): new func
12494 (operator>=): new func
12495 (operator<=): new func
12497 * text.C (changeCase): use selection.start and selection.end
12498 (changeRegionCase): require from to be <= to. Require par to be a
12501 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12503 2001-06-27 Juergen Vigna <jug@sad.it>
12505 * text.C (cursorLeftOneWord): changed to return the cursor and added
12506 overlay with BufferView * parameter which calls this one.
12508 (selectWord): use new getWord function.
12509 (changeCase): renamed from changeWordCase as and extended to work
12510 also on selections.
12512 * lyxtext.h: added enum word_location
12514 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12515 changeCase as this operates now also on selections.
12517 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12519 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12521 * many files: send debug output to Debug::INFO instead of
12524 * converter.C (View):
12526 (Move): send debug output to Debug::FILES instead of console.
12528 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12530 * lyxfunc.C (getStatus): use func_status
12532 * func_status.h: new header, describing the results of
12533 LyXFunc::getStatus;
12535 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12538 2001-06-25 The LyX Project <jug@sad.it>
12540 * buffer.C (sgmlOpenTag):
12542 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12544 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12546 * text2.C: remove some dead code
12548 * tabular.C (GetCellInset): store the last cell checked (gotten)
12550 * tabular.h: add the helper for the speedup
12552 * lyxtext.h: remove some dead code
12554 2001-06-26 The LyX Project <Asger>
12556 * paragraph.C: Change export to LaTeX of alignment to
12557 \begin{center} and family for better roundtrip work with reLyX.
12559 * Tune the math drawing a bit.
12561 2001-06-25 The LyX Project <Asger>
12563 * LColor.C (LColor): New color for math background. New color
12566 2001-06-25 The LyX Project <jug@sad.it>
12568 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12570 * lyxfunc.C (Open):
12571 * bufferlist.C (newFile): do not restrict to files ending with
12574 * BufferView_pimpl.C (MenuInsertLyXFile):
12576 2001-06-24 The LyX Project <jug@sad.it>
12578 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12581 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12583 * lyxtext.h: rename most methods to begin with a small char.
12584 Lots of changes because of this.
12586 * paragraph.C (Paragraph): do not call fitToSize
12587 (erase): call Pimpl::erase
12588 (insertChar): call Pimpl::insertChar
12589 (insertInset): call Pipl::insertInset
12590 (breakParagraph): do not call fitToSize
12591 (breakParagraphConservative): do not call fitToSize
12592 (fitToSize): remove method
12594 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12596 2001-06-24 The LyX Project <Asger>
12598 * Fix Qt compilation^2
12600 2001-06-24 The LyX Project <jug@sad.it>
12602 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12603 depthHook(getDepth()-1).
12606 * ParagraphParameters.h:
12607 * ParameterStruct.h: change type of depth to unsigned int ==
12608 depth_type. Many adaptations to other files before of that.
12610 2001-06-24 The LyX Project <Asger>
12612 * Fix Qt compilation.
12614 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12616 * paragraph.h: renamed several methods to begin with small letter.
12617 several changes to many parts of the code because of this.
12619 2001-06-23 The LyX Project <jug@sad.it>
12621 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12622 rewritten to discard all double spaces when KeepEmpty is off
12623 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12624 to only handle newlines but not fiddle with spaces and friends.
12626 * lyxfunc.C (MenuNew): when doing 'new from template', use
12627 template_path as default directory
12629 2001-06-23 The LyX Project <Asger>
12631 * Clean-up of header file includes all over
12632 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12634 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12636 * paragraph.h: renamed from lyxparagraph.h
12638 2001-06-23 Asger <lyx@violet.home.sad.it>
12640 * Buffer.h: Removed Buffer::resize
12641 * BufferList.h: Removed BufferList::resize
12642 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12643 the document lazily when we change the width, or the font settings.
12645 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12647 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12649 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12651 * buffer.h: remove out of date comment
12653 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12656 * screen.C: fix "theoretical" GC leak
12658 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12660 * LaTeX.C (scanAuxFile):
12661 (deplog): remove trailing \r when reading stream (useful under
12664 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12666 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12667 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12668 and BufferView::theLockingInset(Inset*), so should use them and not
12669 access bv_->text->the_locking_inset directly.
12671 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12673 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12676 * tex-defs.h: remove old unused file
12678 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12680 * BufferView_pimpl.C: fix typo, remove minibuffer message
12681 when buffer has loaded
12683 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12685 * lyxfunc.C (Dispatch): use stringstream
12686 (MenuNew): use stringstream
12687 (Open): use stringstream
12689 * importer.C (Import): use stringstream
12691 * bufferview_funcs.C (CurrentState): use stringstream
12693 * LaTeX.C (run): use stringstream
12695 * BufferView_pimpl.C (savePosition): use stringstream
12696 (restorePosition): use stringstream
12697 (MenuInsertLyXFile): use stringstream
12699 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12712 * vspace.C: removed // -*- C++ -*- as first line.
12715 * version.h: added // -*- C++ -*- as first line.
12717 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12719 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12721 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12724 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12726 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12729 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12731 * gettext.C: include LString.h even when --disable-nls is on.
12733 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12735 * converter.h (Get): changed argument type from int to
12736 FormatList::size_type to avoid unnecessary conversion.
12738 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12741 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12743 * gettext.h: include LString.h even when --disable-nls is on.
12745 2001-06-07 Juergen Vigna <jug@sad.it>
12747 * text.C (BreakAgain): subst spaces with tabs.
12749 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12750 (resizeInsetsLyXText): set force on resizeLyXText.
12752 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12754 * gettext.h (gettext_init):
12755 (locale_init): use a real definition instead of a macro
12757 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12759 * Bufferview_pimpl.C:
12761 * LColor.C: further lcolor tidies
12763 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12765 * BufferView_pimpl.C (updateScrollbar): simplify.
12767 * BufferView2.C: don't include insets/insetinfo.h, change
12768 prototype for insertInset and call the Pimpl version. let
12769 updateInset call Pimpl version.
12771 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12772 gotoInset to BufferView::Pimpl
12774 2001-06-01 Juergen Vigna <jug@sad.it>
12776 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12777 inside a LockingInset (is the update needed at all?).
12779 2001-05-31 Juergen Vigna <jug@sad.it>
12781 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12782 here not the old one otherwise how should we compare it afterwards
12785 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12790 * FontInfo.C: bring C functions into global namespace when
12793 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12795 * LString.h: make sure config.h has been loaded before LString.h.
12797 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12798 (one for each char read by EatLine!).
12800 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12803 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12805 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12806 to the same as the par we break from
12808 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12810 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12812 * MenuBackend.C (expand): also create menu entries for wide
12813 versions of the floats.
12815 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12817 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12819 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12820 frontends/Makefile.am
12826 * tabular.C (getTokenValue): add std::
12828 * tabular-old.C (getTokenValue): add std::
12829 (getTokenValue): ditto
12830 (getTokenValue): ditto
12832 * screen.C (ToggleSelection): adjust
12834 * lyxtext.h: put selection cursors inside a Selection struct.
12836 * lyxfunc.C (moveCursorUpdate): adjust
12838 * lyxfont.C (latexWriteStartChanges): add std::
12840 * lyxfind.C: adjust
12842 * font.h: delete with(char const *, LyXFont const &)
12844 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12846 * FontInfo.C (getFontname): add std::
12848 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12849 (workAreaButtonPress): adjust
12850 (tripleClick): adjust
12852 (moveCursorUpdate): adjust
12855 * BufferView2.C (gotoInset): adjust
12857 2001-05-30 Juergen Vigna <jug@sad.it>
12859 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12860 to check pspell I add this as default as I now have new pspell
12861 libraries and they seem to use this.
12863 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12865 * text2.C (CutSelection): make the cursor valid before the call to
12868 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12870 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12871 relied on 0 terminated strings and other horrors. Bug found due to
12872 the new assert in lyxstring!
12874 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12877 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12879 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12882 * lyxfunc.C (processKeySym): change method of getting to the
12885 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12886 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12887 * BufferView_pimpl.[Ch]: here as private methods.
12889 2001-05-28 Juergen Vigna <jug@sad.it>
12891 * text.C (SetHeightOfRow): added the update() call again as it is
12892 needed to initialize inset dimensions!
12894 2001-05-16 Juergen Vigna <jug@sad.it>
12896 * text2.C (SetCharFont): Add new function with BufferView * and
12897 bool toggleall parameters for setting insets internal fonts.
12898 (SetFont): Freeze the undo as we may change fonts in Insets and
12899 all this change should be inside only one Undo!
12901 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12902 setting font's in insets as for them we have the SetFont function!
12904 2001-05-15 Juergen Vigna <jug@sad.it>
12906 * text2.C (ClearSelection): to be sure we REALLY don't have any
12909 * tabular.C (TeXCellPreamble): fixed the left border problem for
12912 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12914 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12917 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12919 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12920 LFUN_BREAKPARAGRAPH.
12922 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12923 help test to "internal only", similar for LFUN_INSERT_URL
12925 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12926 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12927 auto_region_delete and deadkeys.
12929 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12932 * LColor.C: remove some dead entries, tidy a little
12934 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12936 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12938 (Dispatch): implement LFUN_ESCAPE
12940 * commandtags.h: add LFUN_ESCAPE
12942 * LyXAction.C (init): add entry for LFUN_ESCAPE
12944 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12945 Remove commented code.
12946 (insertNote): moved here
12947 (open_new_inset): moved here
12949 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12952 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12954 * kbmap.C (findbinding): clean it up and make it work correctly.
12956 * lyx_main.C (init): do not pass argc and argv as parameters
12958 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12960 * buffer.C: fix path for OS/2 & Win32
12964 * lyx_main.C: Added os:: class.
12966 * os2_defines.h: update
12968 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12970 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12971 better by trying again with reduced state.
12973 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12975 * lyxrc.C (read): print error about invalid key sequence only when
12976 debugging (because not all latinX keysyms are known to some X
12979 * kbsequence.C (getiso): add a few std:: qualifiers
12980 (getiso): comment out extra return statement.
12982 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12984 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12986 (Dispatch): enhance the accent inset a bit. (not perfect)
12988 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12990 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12992 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12994 * bufferlist.C (emergencyWrite): fix assert() call
12996 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12998 * text.C (InsertChar): Added trivial patch to only send the "you
12999 can not do multiple spaces this way" message once during a
13002 2001-05-08 Baruch Even <baruch@lyx.org>
13004 * Makefile.am: Changed order of libraries to get LyX to link properly
13005 with the gnome frontend.
13007 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13009 * LaTeXFeatures.h: add a std:: qualifier
13011 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13013 * paragraph.C (String): use stringstream
13015 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13017 * paragraph.C (writeFile): remove footflag arg
13019 * buffer.C (makeLaTeXFile): use stringstream
13020 (latexParagraphs): remove footnot gurba
13022 * LaTeXFeatures.C (getPackages): use stringstream
13023 (getMacros): likewise
13024 (getTClassPreamble): likewise
13025 (getFloatDefinitions): new method
13027 * paragraph.C (writeFile): reindent
13030 * WorkArea.h: revert the xpos + etc changes.
13032 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13034 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13036 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13037 (pasteSelection): likewise
13038 * text2.C (CreateUndo): likewise
13040 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13042 * minibuffer.C (peek_event): temporarily reduce the functionality
13043 of the minibuffer (to allow args on lfuns)
13045 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13046 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13048 * buffer.C (readInset): add compability reading of old float
13049 lists, add reading of new style float list.
13050 (readInset): avoid reevaluation of inscmd.getCmdName()
13051 (getLists): reindent
13053 * MenuBackend.C (MenuItem): implement parsing of
13054 md_floatlistinsert and md_floatinsert.
13055 (expand::LastFiles): move initalizaton of iterators out of loop,
13056 avoid reevaluation.
13057 (expand::Documents): introduce typdedef vector<string> Strings,
13059 (expand::ExportFormats): introduce typedef vector<Format const *>
13060 Formats, and use it.
13061 (expand): implement FloatListInsert and FloatInsert.
13063 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13064 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13065 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13067 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13069 (Dispatch::LFUN_FLOAT_LIST): implement
13071 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13073 * LaTeX.C (run): Fix problem with --export code.
13075 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13077 * BufferView.[Ch] (workarea): removed.
13078 (getClipboard) new method; wrapper for workarea()->getClipboard()
13080 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13083 * WorkArea.h (width, height, xpos, ypos): These methods all
13084 returned the dimensions of the work_area sub-area of WorkArea,
13085 resulting in a position error if the WorkArea were resized. Now
13086 return the dimensions of the entire WorkArea.
13088 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13090 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13092 * LaTeX.C (deplog): correct the syntax of regex reg1
13094 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13096 * undo.C: remove !NEW_INSETS cruft
13098 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13100 * text2.C: remove !NEW_INSETS cruft
13102 * text.C: remove !NEW_INSETS cruft
13104 * tabular.C: remove !NEW_INSETS cruft
13106 * spellchecker.C: remove !NEW_INSETS cruft
13108 * lyxtext.h: remove !NEW_INSETS cruft
13110 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13112 * lyxfunc.C: remove !NEW_INSETS cruft
13114 * lyxfind.C: remove !NEW_INSETS cruft
13116 * lyx_cb.C: remove !NEW_INSETS cruft
13118 * figureForm.C: remove !NEW_INSETS cruft
13120 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13122 * buffer.[Ch]: remove !NEW_INSETS cruft
13124 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13126 * CutAndPaste.C: remove !NEW_INSETS cruft
13128 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13130 * BufferView2.C: remove !NEW_INSETS cruft
13132 * BufferView.h: remove !NEW_INSETS cruft
13134 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13136 * Lsstream.h: include LString.h before the sstream headers to
13137 fix problem with gcc 2.95.3 and lyxstring
13139 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13141 * lyx_main.C: add using directives when needed for C functions
13142 declared in std:: namespace.
13144 2001-04-27 Juergen Vigna <jug@sad.it>
13146 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13147 (SetHeightOfRow): comment out the update call should not be needed!
13149 2001-04-13 Juergen Vigna <jug@sad.it>
13151 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13152 (LyXTabular): tried to minimize operator= operations (and realized
13153 hopfully Lars wish).
13155 2001-04-27 Juergen Vigna <jug@sad.it>
13157 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13159 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13161 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13163 * buffer.C (readInset): hack to make listof algorithm work
13165 * BufferView_pimpl.C: hack to make listof algorithm work
13167 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13169 * LyXAction.C: removed all !NEW_INSETS cruft
13170 (init): moved lfun_item in method
13172 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13174 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13176 * BufferView2.C (theLockingInset): white space.
13178 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13180 * minibuffer.C: include <iostream>
13182 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13184 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13186 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13188 * text.[Ch] (TransposeChars): new method
13190 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13192 * call message directly through LyXView instead of through LyXFunc
13193 * BufferView2.C: adjust
13194 * BufferView_pimpl.C: adjust
13195 * FontLoader.C: adjust
13197 * bufferview_funcs.C: adjust
13198 * converter.C: adjust
13199 * figureForm.C: adjust
13200 * importer.C: adjust
13202 * lyx_gui_misc.C: adjust
13203 * lyxfunc.C: adjust
13206 + more files in subdirs
13208 * lyxparagraph.h (size): move up int file
13211 * adjust all uses of Assert to lyx::Assert.
13213 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13214 lyxfunctional in namespace lyx
13215 * layout.C (hasLayout): ditto
13218 (delete_layout): ditto
13219 (NumberOfClass): ditto
13220 * converter.C (GetFormat): ditto
13225 * bufferlist.C (getFileNames): ditto
13226 (emergencyWriteAll): ditto
13229 * MenuBackend.C (hasSubmenu): ditto
13232 * BufferView_pimpl.C (getInsetByCode): ditto
13234 2001-04-18 Juergen Vigna <jug@sad.it>
13236 * vspace.C (asLatexString): fixed the 100% problem.
13238 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13240 * lyxfunc.C (Dispatch):
13242 * minibuffer.h: add a few std:: qualifiers
13244 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13246 * minibuffer.[Ch]: reimplement so that commands is initiated and
13247 run from lyxfunc, simplified som handling, and made the completion
13248 and history code for complete. wip.
13250 * lyxfunc.C (processKeySym): call message
13251 (miniDispatch): new temporary method
13252 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13253 (LFUN_MESSAGE): implement
13254 (LFUN_MESSAGE_PUSH): implement
13255 (LFUN_MESSAGE_POP): implement
13256 (initMiniBuffer): the initial/defualt minibuffer message.
13258 * lyxfont.[Ch]: inline some more getters
13260 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13262 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13264 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13265 (AutoSave): use LFUN_MESSAGE
13266 (Reconfigure): ditto
13268 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13270 * figureForm.C: use LFUN_MESSAGE
13272 * converter.C (runLaTeX): use LFUN_MESSAGE
13274 * bufferview_funcs.C: use LFUN_MESSAGE
13276 (changeDepth): ditto
13278 * bufferparams.h: use boost::
13280 * bufferlist.h: inherit privately from noncopyable
13282 * bufferlist.C (loadLyXFile): remove some commented code.
13284 * buffer.C (runChktex): use LFUN_MESSAGE
13286 * ShareContainer.h: inherit privately from noncopyable
13288 * ParagraphParameters.[hC] (depth): inline it.
13290 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13292 (message): new method
13293 (messagePush): ditto
13294 (messagePop): ditto
13295 (show): init minibuffer
13296 (showState): direct call
13298 * LaTeX.[Ch]: inherit privately from noncopyable
13299 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13300 instead of WriteStatus.
13302 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13304 * BufferView_pimpl.C (buffer): don't init minibuffer
13305 (workAreaButtonPress): use LFUN_MESSAGE
13306 (workAreaButtonRelease): ditto
13307 (savePosition): ditto
13308 (restorePosition): ditto
13309 (MenuInsertLyXFile): ditto
13310 (workAreaExpose): don't init minibuffer
13311 (update): remove commented code, simplify
13313 * BufferView2.C (openStuff): use LFUN_MESSAGE
13314 (toggleFloat): ditto
13317 (copyEnvironment): ditto
13318 (pasteEnvironment): ditto
13323 (updateInset): remove some commented code
13325 * lastfiles.h: inherit privately from noncopyable
13328 * lyx_main.h: ditto
13330 * lyxlex_pimpl.h: ditto
13332 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13333 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13334 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13336 * LyXAction.h: inherit privately from noncopyable, add methods
13337 func_begin, func_end, returning iterators to the func map.
13339 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13340 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13341 (func_begin): new method
13342 (func_end): new method
13344 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13346 (copySelection): ditto
13347 (pasteSelection): ditto
13349 * BufferView.C: whitespace change
13350 * BufferView.h: inherit privately from noncopyable
13352 2001-04-16 Allan Rae <rae@lyx.org>
13354 * tabular-old.C (l_getline):
13355 * spellchecker.C (sc_check_word):
13356 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13357 an unrecognised preprocessor directive. So ensure they're wrapped.
13359 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13361 * src/exporter.C (Export): Give an error message when path to file
13364 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13366 * LaTeX.C (deplog): Always check that foundfile exists.
13368 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13371 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13373 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13375 * tabular.[Ch] (getLabelList): implement new method
13377 * minibuffer.h: comment ouf setTiimer
13379 * minibuffer.C (ExecutingCB): constify res
13380 (peek_event): constify s
13381 (Set): constify ntext
13382 (Init): constify nicename
13384 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13386 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13387 (savePosition): use two params to Minibuffer::Set
13388 (restorePosition): ditto
13390 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13392 * lyx_main.C: include language.h
13394 * Makefile.am (lyx_main.o): add language.h
13396 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13402 * CutAndPaste.C: include gettext.h
13404 * lyxfont.h: remove old hack with ON and OFF.
13407 * lyxfont.h: do not include language.h...
13412 * bufferview_funcs.C:
13418 * paragraph.C: ... but do it here instead
13420 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13422 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13424 * tabular.C: small reformat
13426 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13429 (BreakParagraph): ditto
13430 (SetOnlyLayout): ditto
13433 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13436 * lastfiles.C: removed most using decl, add std:: where needed
13438 * buffer.C: ws changes
13440 * MenuBackend.C (class compare_format): put into anon namespace
13441 (expand): constify label, names, action, action2
13444 * text.C (SingleWidth): constify font
13445 (IsBoundary): constify rtl2
13446 (GetVisibleRow): constify ww
13448 * LaTeX.C (deplog): constify logfile
13450 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13452 (workAreaExpose): constify widthChange, heightChange
13454 * lyxrow.C (par): moved
13457 * lyxrow.h: as inlines here
13459 * lyxfont.h (shape): moved from lyxfont.C
13460 (emph): moved from lyxfont.C
13462 * lyxfont.C (LyXFont): use initialization list for all
13464 (shape): move to lyxfont.h as inline
13465 (emph): move to lyxfont.h as inline
13468 2001-04-04 Juergen Vigna <jug@sad.it>
13470 * vspace.C: had to include stdio.h for use of sscanf
13472 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13475 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13476 independent of xforms.
13478 2001-04-02 Juergen Vigna <jug@sad.it>
13480 * spellchecker.C: fixed namespace placing!
13482 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13484 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13485 the LyXParagraph * is 0.
13487 2001-03-29 Juergen Vigna <jug@sad.it>
13489 * vspace.C: added support for %, c%, p%, l%.
13490 (stringFromUnit): added helper function.
13491 (asLatexString): changed to give right results for the %-values.
13493 * buffer.C: convert the widthp in a width%.
13495 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13497 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13500 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13501 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13503 * lyx_cb.[Ch]: see above.
13505 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13509 * lyx.[Ch]: replaced by figure_form.[Ch].
13513 * lyxfunc.C: changed headers associated with above changes.
13515 2001-03-27 Juergen Vigna <jug@sad.it>
13517 * BufferView_pimpl.C: set the temporary cursor right!
13519 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13521 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13523 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13525 * LString.h: removed "using std::getline"!
13527 * BufferView_pimpl.C (Dispatch): changes due to changes in
13528 InsetInclude::Params.
13530 * buffer.C (tag_name): removed redundant break statements as they were
13531 producing lots of warnings with my compiler.
13533 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13535 * LString.h: add "using std::getline" when using the real <string>.
13537 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13539 * buffer.C: removed bitset usage.
13540 PAR_TAG moved to an anonymous name space.
13541 (tag_name): new funtion, also in the anonymous namespace.
13542 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13543 (makeDocBookFile): clean code. Completed transition from string arrays
13545 (SimpleDocBookOnePar): code clean.
13547 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13549 * tabular.C: add some comments.
13551 2001-03-22 Juergen Vigna <jug@sad.it>
13553 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13554 compatibility read a bit and fixed bug with minipage in different
13557 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13559 * buffer.C (pop_tag): removed.
13560 (push_tag): removed.
13561 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13562 array replaced with vector. Added support for CDATA sections.
13563 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13565 (makeDocBookFile): XML conformant declaration of CDATA section,
13566 fixed bug related to <emphasis> in the first paragraph char.
13567 (sgmlOpenTag): exclude empty tags.
13568 (sgmlCloseTag): ditto.
13570 * buffer.h (pop_tag): removed.
13571 (push_tag): removed.
13573 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13575 * language.h (Languages): added size_type and size().
13577 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13579 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13580 response on compability reading of minipages. One probliem is that
13581 the old usage of minipages was «flertydig»
13583 * several files here and in subdirs: don't use static at file
13584 scope use anon namespaces instead.
13586 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13588 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13589 LaTeX output. This is necessary for Literate document
13592 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13594 * buffer.C: insert hfill when needed.
13596 * tabular.C (l_getline): use string::erase, small whitespace change.
13598 * BufferView_pimpl.C: try the anon namespace.
13599 * WorkArea.C: ditto
13601 2001-03-16 Juergen Vigna <jug@sad.it>
13603 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13604 otherwise it won't open options-dialogs.
13606 * buffer.C: honor pextraWidth(p) on converting minipages.
13608 * tabular.C (l_getline): changed the functions to strip trailing \r.
13610 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13612 * BufferView_pimpl.C:
13613 * minibuffer..C: added "using SigC::slot" declaration.
13615 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13617 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13623 * paragraph.C: ditto
13625 * lyxtext.h: NO_PEXTRA
13627 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13629 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13630 * ParameterStruct.h: ditto
13631 * ParagraphParameters.h: ditto
13632 * lyxparagraph.h: ditto
13634 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13636 * buffer.C: add compability for minipage alignment.
13637 (latexParagraphs): remove unwanted pextra check.
13639 * several files: remove CXX_WORKING_NAMESPACES
13641 * buffer.C (pop_tag): tie is in namespace boost
13643 * BufferView.h: noncopyable is in namespace boost
13645 * lyx_main.h: ditto
13648 * lastfiles.h: ditto
13649 * bufferlist.h: ditto
13650 * ShareContainer.h: ditto
13652 * LyXAction.h: ditto
13655 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13657 * Merging changes from BRANCH_MVC back into HEAD.
13659 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13661 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13663 * BufferView_pimpl.C: change from intl.C
13667 * Makefile.am: move combox.*
13673 * intl.C: remove dialog (covered by prefs)
13675 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13677 * lyxfunc.C (Dispatch): removed redundant break statement.
13679 2001-03-14 Juergen Vigna <jug@sad.it>
13681 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13683 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13685 * buffer.C: add hack to fix compability reading of minipages.
13687 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13689 * buffer.C (getLists): Cleanup.
13691 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13693 * lyxfont.C (update): don't honor toggleall on font size.
13695 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13699 * Makefile.am: moved to frontends/xforms/
13703 * BufferView_pimpl.C: changes for moved mathpanel
13705 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13707 * gettext.h: fix gettext_init() in --disable-nls
13709 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13711 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13713 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13716 * lyx.h: strip external form
13718 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13720 * BufferView_pimpl.C: add comment, destroySplash()
13722 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13724 * BufferView_pimpl.C:
13728 * lyxfunc.C: use re-worked insetinclude
13730 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13732 * buffer.C: add using std::stringstream.
13734 * lyx_cb.C: readd using std::ios.
13736 * buffer.C: add using std::map.
13738 * BufferView_pimpl.C: add using std::vector.
13740 * ShareContainer.h: add std:: to swap.
13742 * buffer.h: add some typedefs
13743 * buffer.C (getLists): use them
13744 (getLists): renamed from getTocList.
13745 add a counter for the different float types and use it in the
13747 (getLists): use the same counter for the NEW_INSETS and the "non"
13750 * lyx_cb.h: remove unused items, includes, using etc.
13752 * ShareContainer.h: remove some commented code, add more comments
13753 and "documentation".
13755 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13757 * buffer.C (getTocList): make the list also when NEW_INSETS is
13760 * buffer.h: remove TocType
13762 * buffer.C (getTocList): change to return a map<string,
13763 vector<TocItem> >, implement for dynamic number of list.
13765 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13766 * text2.C (PasteSelection): adjust
13767 * CutAndPaste.C (pasteSelection): adjust
13769 * FloatList.C (FloatList): update from the new_insets branch.
13770 * Floating.[Ch]: ditto
13771 * LaTeXFeatures.C: ditto
13773 * lyxlex_pimpl.C: ditto
13775 * paragraph.C (Last): remove when NEW_INSETS is defined.
13777 * other file: changes because of the above.
13779 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13781 * lyxparagraph.h: rename next to next_, previous to previous_,
13782 make them private for NEW_INSETS. Rename Next() to next(),
13783 Previous() to previous().
13785 * other files: changes because of the above.
13787 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13790 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13793 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13795 * main.C (main): pass lyx_localedir to gettext_init().
13797 * gettext.h: remove locale_init and gettext_init macros
13799 * gettext.C (locale_init): new function
13800 (gettext_init): new function
13802 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13805 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13807 * Moved credits to frontends:
13808 * credits.[Ch]: removed
13809 * credits_form.[Ch]: removed
13810 * lyx_gui_misc.C: remove credits stuff
13813 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13815 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13817 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13818 unneeded destructor.
13820 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13821 a standalone pointer again.
13823 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13825 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13831 * ToolbarDefaults.C:
13840 * BufferView_pimpl.C: use new file dialog in GUII
13843 * lyx_cb.C: remove LayoutsCB to Toolbar
13845 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13847 * ShareContainer.h (get): add std:: qualifier
13849 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13851 * ShareContainer.h: define a proper ShareContainer::value_type
13852 type (and use typename to please compaq cxx)
13854 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13856 * lyxparagraph.h: move serveral local vars to
13857 ParameterStruct/ParagraphParameters., use ShareContainer in
13858 FontTable., make vars in FontTable private and add getter and
13861 * paragraph.C: changes because of the above.
13863 * lyxfont.h: remove copy constructor and copy assignment. (the
13864 default ones is ok), move number inside FontBits. move inlines to
13867 * lyxfont.C: add number to initializaton of statics, move several
13868 inlines here. constify several local vars. some whitespace
13869 cleanup. Dont hide outerscope variables.
13871 * Spacing.h: add two new constructors to match the set methods.
13873 * ShareContainer.h: new file, will perhaps be moved to support
13875 * ParameterStruct.h: new file
13877 * ParagraphParameters.h: new file
13879 * ParagraphParameters.C: new file
13881 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13882 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13884 * BufferView_pimpl.C: ParagraphParameter changes.
13885 * buffer.C: Likewise.
13886 * bufferview_funcs.C: Likewise.
13887 * text.C: Likewise.
13888 * text2.C: Likewise.
13890 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13892 * lyxfind.C (LyXReplace): do not redefine default argument in
13894 (IsStringInText): ditto
13895 (SearchForward): ditto
13896 (SearchBackward): ditto
13898 2001-03-06 Juergen Vigna <jug@sad.it>
13900 * lyxfind.C (IsStringInText): put parentes around expressions.
13902 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13904 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13906 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13908 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13910 * stl_string_fwd.h: add comment
13912 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13915 * tabular.C: remove unused DocBook methods
13921 killed DO_USE_DEFAULT_LANGUAGE
13923 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13925 * lyx_gui.C: do not include language.h.
13927 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13928 arguments in function implementation.
13930 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13932 * BufferView_pimpl.C: add <ctime>
13934 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13936 * BufferView_pimpl.C: add using std::find_if
13938 2001-02-27 José Matos <jamatos@fep.up.pt>
13940 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13943 2001-02-11 José Matos <jamatos@fep.up.pt>
13945 * buffer.C (makeDocBookFile): command styles now have a parameter as
13946 "title" by default.
13948 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13950 * layout_forms.[Ch]: removed
13951 * lyx_cb.[Ch]: out character
13952 * lyx_gui.C: out character
13953 * lyx_gui_misc.C: out character
13954 * bufferview_funcs.C: : out character,
13955 added toggleall as parameter in ToggleAndShow
13957 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13959 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13961 * text2.C (SetCurrentFont): Disable number property at boundary.
13963 2001-02-26 Juergen Vigna <jug@sad.it>
13965 * lyxfunc.C (getStatus): added a string argument override function so
13966 that this is correctly called from LyXFunc::Dispatch if it contains a
13967 do_not_use_argument which is used!
13968 (Dispatch): added check for "custom" export and call appropriate func.
13970 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13972 * lyxrc.C: Add language_command_local, language_use_babel and
13973 language_global_options.
13975 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13977 * buffer.C (makeLaTeXFile): Use language_use_babel and
13978 language_global_options.
13980 2001-02-23 Juergen Vigna <jug@sad.it>
13982 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13983 which works with LyXText and putted it inside BufferView. Here now we
13984 only call for that part the BufferView::Dispatch() function.
13986 * BufferView.C (Dispatch): added.
13988 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13989 functions which needs to use a LyXText over from LyXFunc.
13990 (MenuInsertLyXFile): added
13991 (getInsetByCode): added
13992 (moveCursorUpdate): added
13993 (static TEXT): added
13995 2001-02-22 Juergen Vigna <jug@sad.it>
13997 * BufferView_pimpl.C (update): call a status update to see if LyXText
14000 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14002 * vc-backend.C (revert): implement for CVS
14003 (getLog): implement for CVS
14005 2001-02-20 Juergen Vigna <jug@sad.it>
14007 * text2.C (ClearSelection): added BufferView param for inset_owner call
14009 * lyxfunc.C (TEXT): added this function and use it instead of
14010 directly owner->view()-text of getLyXText().
14012 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14014 * src/layout_forms.C: out preamble
14015 * src/layout_forms.h: out preamble
14016 * src/lyx_cb.C: out preamble
14017 * src/lyx_cb.h: out preamble
14018 * src/lyx_gui.C: out preamble
14019 * src/lyx_gui_misc.C: out preamble
14020 * src/lyxfunc.C: connect with guii preamble
14022 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14024 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14026 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14028 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14029 whether to run bibtex.
14031 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14033 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14035 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14037 * Makefile.am (lyx_SOURCES): removed bibforms.h
14039 * vspace.h: doxygen
14041 * text.C (GetVisibleRow): make several local vars const
14043 * tabular.C: small cleanup.
14045 * lyxserver.C (callback): use compare instead of strncmp
14047 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14048 inlines to after class or to paragraph.C
14050 * lyxfont.h: remove friend operator!=
14052 * converter.h: move friend bool operator< to non friend and after
14055 * combox.h: small cleanup
14057 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14058 to inlines after class def.
14060 * buffer.C (pop_tag): use string operations instead of strcmp
14062 * bmtable.c: doxygen, small cleanup
14064 * LaTeX.h: remove friend operator==
14066 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14078 * BufferView_pimpl.C:
14079 * BufferView.[Ch]: remove cruft
14081 2001-02-14 Juergen Vigna <jug@sad.it>
14083 * lyxfunc.C: removed #if 0 unused code
14085 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14087 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14089 * text2.C (SetSelection): added a BufferView * parameter
14091 2001-02-13 Juergen Vigna <jug@sad.it>
14093 * lyxfunc.C (Dispatch): fixed protected blank problem.
14094 * BufferView2.C (protectedBlank): added LyxText * parameter.
14096 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14097 (AppendColumn): same as above for column_info.
14099 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14100 (moveCursorUpdate): use a LyXText param for support of InsetText.
14102 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14103 (tripleClick): ditto
14105 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14107 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14109 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14111 * text2.C (SetSelection): set correct update status if inset_owner
14112 (ToggleFree): ditto
14114 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14116 * tabular.C: remove some commented code.
14118 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14120 * BufferView_pimpl.C: call hideSplash()
14122 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14125 * bibforms.h: remove
14128 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14129 add LFUN_CHILD_CREATE
14131 * counters.h: fix tiny typo
14136 * lyx.C: move splash to frontends/xforms/
14138 * lyx_gui_misc.C: move Include and Bibform to frontends
14140 * lyxvc.h: clarify comment
14142 * vspace.C: tiny housekeeping
14144 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14146 * text.C (PrepareToPrint): RTL Fix.
14148 * paragraph.C (GetUChar): New method.
14149 (String): Use GetUChar.
14151 * buffer.C (asciiParagraph): Use GetUChar.
14153 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14155 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14157 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14160 * buffer.C: rename to getLogName(), handle
14161 build log / latex log nicely
14163 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14166 * MenuBackend.h: remove support for reference menuitem type.
14168 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14170 * BufferView_pimpl.C: housekeeping
14171 * BufferView_pimpl.h:
14176 * minibuffer.h: move Timeout GUI-I
14178 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14180 * lyxrc.C (read): Update converters data-structures.
14182 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14184 * LaTeX.h (operator!=): add operator != for Aux_Info
14186 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14188 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14190 * LaTeXLog.C: deleted, useful code moved to Buffer
14193 * buffer.C: new function getLatexLogName()
14199 * lyxfunc.C: use frontends for LaTeX and VC logs
14201 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14203 * LaTeX.h: yet another std:: that Allan forgot.
14205 * Variables.C (set): renamed from isset(), because this clashes
14206 with some HP-UX macros (grr).
14208 2001-02-06 Allan Rae <rae@lyx.org>
14210 * LaTeX.h: Another bug fix. Missing std:: this time.
14212 2001-02-04 Allan Rae <rae@lyx.org>
14214 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14215 floats problem. I've left it commented out because it's not quite
14216 correct. It should also test that the current object is a table or
14217 figure inset. But I haven't gotten around to figuring out how to do
14218 that. I *think* it'll be something like: "table" == inset.type()
14220 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14223 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14225 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14226 all the citation/databases/styles in the auxilary file.
14227 (run): Rerun latex if there was a babel language error.
14229 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14231 * text.C (Backspace): Preserve the font when changing newline char
14233 (BreakParagraph): If the cursor is before a space, delete the space.
14235 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14237 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14239 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14240 new argument (code).
14241 (ChangeCitationsIfUnique): New method.
14243 * paragraph.C (GetPositionOfInset): Handle bibkey.
14245 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14247 * BufferView_pimpl.h: change type of Position::par_pos to
14248 LyXParagraph::size_type.
14250 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14252 * BufferView_pimpl.C (savePosition, restorePosition): Write
14253 messages to minibuffer.
14255 2001-01-28 José Matos <jamatos@fep.up.pt>
14257 * buffer.C (makeDocBookFile): adds support for document language.
14258 A silly restriction on the name of LatexCommand types where removed.
14259 Added support for CDATA sections, allows to chars unescaped, used
14260 among others in code, to avoid escape < and >.
14262 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14264 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14265 saved positions instrad of a stack. Furthermore, a position is
14266 stored using paragraph id/paragraph position.
14268 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14269 Remove LFUN_REF_BACK.
14271 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14273 * converter.C (dvipdfm_options): New method.
14275 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14277 * vspace.C (isValidLength): Fix for empty input string.
14279 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14281 * LyXAction.C (init): change description of LFUN_FIGURE to
14284 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14286 * LaTeX.C: add using directive
14288 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14290 * MenuBackend.C (expand): Fix the sorting of the formats.
14292 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14294 * lyx_main.C: tiny error message fix
14296 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14298 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14299 calling fl_initialize(). This fixes the problem with ',' as
14300 decimal separator in text files.
14302 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14304 * trans.C (process): Fix the keymap bug.
14306 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14308 * LaTeX.C (scanAuxFiles): New method. Provides support for
14309 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14310 (scanLogFile) Scan for "run BibTeX" messages.
14312 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14313 OT1 font encoding. Also, load the aecompl package if the ae
14316 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14318 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14320 * texrow.C (increasePos): turn two error messages into debug
14323 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14325 * LaTeX.C (scanAux): Handle the \@input macro.
14326 (runBibTeX): Use scanAux().
14328 * language.C (latex_options_): New field.
14330 * LaTeXFeatures.C (getMacros): Add language macros.
14332 * buffer.C (makeLaTeXFile): Small fix.
14334 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14336 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14338 * text2.C: add a using directive.
14340 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14345 * lyxfunc.C: kill LyXBell.
14347 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14349 * text.C (IsBoundary): Remove the error message
14351 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14353 * lyxrc.C (setDefaults): Correct initialization value for
14356 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14358 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14361 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14362 and GotoNextNote().
14364 * src/LyXAction.C: Added reference-next.
14366 * text.C (InsertChar): Use contains instead of strchr.
14368 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14370 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14372 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14373 alignment commands (when needed).
14375 * text.C (InsertChar): Add ':' to number separator chars.