1 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3 * text.C (breakParagraph): remove an outdated #warning
5 2004-01-07 André Pönitz <poenitz@gmx.net>
7 * lyxfind.C: somewhat clearer logic
9 * text.C: prevent crash in cursorX on unitialized row cache
11 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
13 * lyxcursor.[Ch] (operator>): add
14 * textcursor.C (selStart, selEnd): use std::min and std::max
16 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
18 * Chktex.C: include boost/format.hpp
20 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
22 * InsetList.C: replace functor MathcIt with adaptable functor
24 (insetIterator): modify accordingly
26 * BranchList.h: move the BranchNamesEqual functor here from...
27 * BranchList.C: ... to here
29 * BranchList.C: new BranchListEqual fuctor, use it. Remove
31 (add): replace a finding loop with std::find_if.
33 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
35 * output_docbook.C: moving LatexParam functionality into
38 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
40 * buffer.C: increment format to 229.
42 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
45 * lyx_sty.[Ch]: remove minipageindent_def
51 * text3.C: remove LFUN_INSET_MINIPAGE
53 2003-12-28 Angus Leeming <leeming@lyx.org>
55 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
57 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
59 * text2.C (setParagraph): fix off-by-one crash
61 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
63 * output_docbook.C: header stuff for AGU
65 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
67 * text2.C (redoCursor): remove
70 * BufferView_pimpl.C: remove calls to redoCursor and
71 setCursor(cursor.par(), cursor.pos()) all around
73 2003-12-15 Angus Leeming <leeming@lyx.org>
75 * buffer.C: up the format to 228.
77 2003-12-15 André Pönitz <poenitz@gmx.net>
79 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
93 2003-12-15 Angus Leeming <leeming@lyx.org>
95 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
96 than getFromGUIName to manipulate the color.
98 2003-12-14 Angus Leeming <leeming@lyx.org>
100 * BranchList.[Ch]: minimize the API.
101 (Branch::getBranch, getColor): now return a 'const &'.
102 (Branch::setSelected) now returns a bool set to true if the
103 selection status changes.
104 (BranchList::clear, size, getColor, setColor, setSelected,
105 allBranches, allSelected, separator): removed.
106 (BranchList::find): new functions, returning the Branch with
108 (BranchList::add, remove): return a bool indicating that
109 the operation was successful.
111 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
112 new InsetBranch::isBranchSlected member function.
114 * LColor.[Ch]: mimimize the API.
115 (fill): renamed as addColor and made private.
116 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
117 versions of these functions taking a string arg have been removed.
119 * bufferparams.C (readToken):
120 * lyxfunc.C (dispatch):
121 * lyxrc.C (read): changes due to the altered BranchList and
124 * factory.C (createInset, readInset): changes due to altered
127 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
130 * lyxfunc.C: remove insetminipage. "minipage-insert"
131 now produces a frameless minipage box inset.
133 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
135 * textcursor.[Ch] (selStart,selEnd): add new methods
136 remove selection::start, end, use LyXCursor::operator<
137 * lyxcursor.[Ch] (operator<): add
138 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
139 * BufferView.[Ch] (unsetXSel): add
140 * text2.C (clearSelection): use unsetXSel,adjust
143 * rowpainter.C: adjust
144 * bufferview_funcs.C (put_selection_at): adjust
146 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
148 * BufferView_pimpl.C: small coord. correction
150 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
152 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
153 dragging over the splash screen.
155 2003-12-11 Angus Leeming <leeming@lyx.org>
157 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
158 as it is now handled in LyXText::dispatch.
160 * text3.C (doInsertInset): remove a level of nesting.
162 2003-12-11 Angus Leeming <leeming@lyx.org>
164 * factory.C (createInset): changes due to the changed interface to
165 InsetCommandMailer::string2params.
167 2003-12-10 Angus Leeming <leeming@lyx.org>
169 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
170 'dialog-show-new-inset <inset name>'
172 2003-12-10 Angus Leeming <leeming@lyx.org>
174 * buffer.C: up the format to 227.
176 * factory.C: the box inset is now identified simply by 'Box'.
178 2003-12-10 Angus Leeming <leeming@lyx.org>
180 * buffer.C: up the format to 226.
182 * factory.C: the note inset is now identified simply by 'Note'.
184 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
186 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
187 when a pit is enough. Standarize a couple of loops.
189 2003-12-05 Angus Leeming <leeming@lyx.org>
191 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
192 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
193 data to the re-worked "log" dialog.
195 2003-12-03 André Pönitz <poenitz@gmx.net>
203 * text2.C: use Inset::getText instead of Inset::getParagraph
205 2003-12-03 André Pönitz <poenitz@gmx.net>
209 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
210 InsetText::read() as LyXText::read()
212 2003-12-02 Angus Leeming <leeming@lyx.org>
214 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
215 type. Add a comment in the implementation that the function uses
216 the stream's bad() function rather than fail() as the std::streams
219 2003-12-02 André Pönitz <poenitz@gmx.net>
221 * lyxlex.[Ch]: make interface more similar to std::stream
223 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
225 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
227 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
229 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
231 * vspace.[Ch]: remove VSpace::NONE
233 2003-12-01 André Pönitz <poenitz@gmx.net>
236 * lyxtext.h: move ParagraphList member to LyXText
237 rename LyXText::ownerParagraphs to LyXText::paragraph
240 * bufferview_funcs.C:
250 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
252 * undo.C: fix cursor positioning
254 2003-12-01 John Levon <levon@movementarian.org>
256 * BufferView_pimpl.C: fix a crash on exit with
259 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
261 * BranchList.C: fix setSelected() method.
263 2003-11-28 André Pönitz <poenitz@gmx.net>
265 * ParagraphParameters.[Ch]:
266 * ParameterStruct.h: remove space above/below from Paragraph to
269 * BufferView_pimpl.C:
281 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
283 * factory.C: Syntax change for CharStyles
285 2003-11-28 André Pönitz <poenitz@gmx.net>
290 * buffer.[Ch]: move LyXText member
292 2003-11-28 André Pönitz <poenitz@gmx.net>
294 * BufferView.[Ch]: make LyXText * text a private member
296 * BufferView_pimpl.C:
307 * output_plaintext.C: cleanup
309 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
312 * lyxtextclass.[Ch]: parametrize SGML document header
314 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
317 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
320 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
322 * text2.C (setFont): rework using PosIterator (no more recursive)
323 (setCharFont): no more needed
324 (setLayout): no more selection cursors fiddling (done by redoCursor)
325 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
326 destroy remaining ones)
328 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
330 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
332 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
335 * text3.C: adjust + re-allow multi par depth changes
336 * textcursor.C: simplify a bit
338 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
344 * src/output_docbook.C:
345 * src/output_latex.C:
350 * src/text2.C: Introducing a number of tags parametrizing various
351 XML formats that we may want to support
353 2003-11-25 André Pönitz <poenitz@gmx.net>
355 * InsetList.[Ch] (begein, end): inline as suggested by profiler
357 * lyxtext.h (leftMargin/rightMargin): simplify interface
364 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
366 * lyxfunc.C (dispatch): propogate the bibtex databases from the
367 master file to any child files. Fixes bug 546.
369 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
371 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
373 2003-11-24 André Pönitz <poenitz@gmx.net>
375 * rowpainter.C: simplification
377 * text2.C (updateCounters): remove call to redoParagraph on
378 changed labels as this is far too expensive.
380 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
382 * converter.C (convert): fix a crash: this function gets
383 called with buffer == 0 from importer code.
385 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
387 * text3.C (cursorPrevious): make sure that we do not compare
388 iterators form different containers.
391 * rowpainter.C (paintSelection): make sure that we do not compare
392 iterators from different containers.
394 * text3.C (dispatch): [PRIOR] make sure that we do not compare
395 iterators from different ParagraphList containers.
398 * text2.C (LyXText): change order of initialization slightly
399 (operator=): new function. copy all variables except cache_par_
400 (moveUp): make sure that we do not compare iterators from
401 different ParagraphList constainers.
404 * text.C (firstPar): new function
405 (lastPar): new function
406 (endPar): new function
408 * lyxtext.h: move things around and group public functions, public
409 variables, private functions, private variables
411 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
413 * factory.C: change call to InsetERT constructor to avoid
414 additional invocation of method status
415 * text2.C (toggleInset): remove redundant update() call
416 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
417 instead of a Bufferview pointer
419 2003-11-21 André Pönitz <poenitz@gmx.net>
421 * rowpainter.C: simplification
423 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
425 * text3.C (dispatch): make possible to extend a word/row selection
428 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
430 * lyxtext.h: x0_,y0_ -> xo_,yo_
431 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
432 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
433 * rowpainter.C (paintRows): paint full paragraphs
435 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
437 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
440 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
442 * lyxtext.h: add x0_, y0_
443 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
444 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
446 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
448 * text2.C (setCursorIntern): move the x_target update here *
449 * text3.C: change some bv() to true/false in calls to
450 cursorUp/Down/Right/Left
451 * cursor.C: use helper function.
453 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
455 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
456 * paragraph_funcs.[Ch]: correct comment
457 * rowpainter.C: do not paint selections away from bv->cursor()
458 Fix a long standing selection painting bug.
459 * text3.C: generalize mouse-selection code to LyXTexts other that
461 * textcursor.C: do not use y coords if we can use par offsets
463 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
465 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
466 cursor position after e.g. inset insert)
468 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
470 * lyxfind.C (replace): adjust to locking removal + some
473 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
475 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
478 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
481 * output_docbook.C: XML sanitation: new layout
482 parameters InnerTag and CommandDepth
484 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
486 * BufferView_pimpl.C:
488 * text3.C: Fix the insertion and modification of button-style
491 2003-11-13 André Pönitz <poenitz@gmx.net>
493 * InsetList.[Ch]: remove deleteLyXText
495 * paragraph.[Ch]: cache beginOfBody position
500 * text3.C: remove superfluous update() calls
504 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
506 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
507 * BufferView.C (fitLockedInsetCursor): remove
508 * cursor.[Ch] (getDim): add
509 * text.C (getRowNearY): add faster version
510 * text3.C: remove some update calls
512 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
524 * text3.C: The Character Style /XML short element patch.
526 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
529 * factory.C: Small step to solving 'unable to insert some insets'
532 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
534 * cursor.[Ch] (updatePos): new function for updating the y
535 position of the tip inset
536 * bufferview_funcs.C (put_selection_at):
537 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
539 2003-11-11 André Pönitz <poenitz@gmx.net>
541 * text.C: remove big comment on invalid Paragraph pointers as it is
544 2003-11-11 André Pönitz <poenitz@gmx.net>
546 * text_funcs.[Ch]: merge with ...
554 * Makefile.am: remove text_funcs.[Ch]
556 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
558 * cursor.C (getPos): return absolute cached y coord
560 * BufferView_pimpl.C (fitCursor): new simplistic code
561 (workAreaDispatch): add a fitCursor call
563 2003-11-10 André Pönitz <poenitz@gmx.net>
566 * BufferView_pimpl.[Ch]: merge update() and updateInset()
568 2003-11-10 André Pönitz <poenitz@gmx.net>
570 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
571 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
572 indicate that the cursor needs to leave an inset
574 * lyxtext.h: remove inset locking
576 * cursor.[Ch]: re-implement functionality provided by inset locking
579 * BufferView_pimpl.[Ch]:
581 * bufferview_funcs.[Ch]:
593 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
595 * PosIterator.[Ch]: replace the stack with a vector, add inset
597 * iterators.[C]: adjust
599 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
601 * lyxfind.C (replaceAll): mark the buffer dirty if something was
603 * paragraph_funcs.C (readParToken): put the correct id in the
604 error item, not the id of the top paragraph
606 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
608 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
609 * bufferview_funcs.C (put_selection_at): use the above
611 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
613 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
615 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
618 * output_plaintext.h:
620 * output_docbook.h: add #include statements
622 2003-11-05 José Matos <jamatos@lyx.org>
624 * output_docbook.[Ch]:
626 * output_linuxdoc.[Ch]:
627 * output_plaintext.[Ch]: New files for output formats.
628 * output.[Ch]: New file for helper functions.
631 * paragraph_funcs.[Ch]: output functions moved to new files.
633 * outputparams.h: rename of latexrunparams.h
641 * paragraph_funcs.[Ch]:
642 * paragraph_pimpl.[Ch]:
643 * tabular.[Ch]: rename ascii to plaintext
644 and LatexRunParams to OutputParams.
646 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
648 * iterators.[Ch] (text): require bv argument
649 * undo.C (recordUndo):
650 * lyxfunc.C (dispatch):
651 * bufferview_funcs.C (put_selection_at): adjust
653 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
655 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
657 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
659 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
662 2003-11-04 André Pönitz <poenitz@gmx.net>
664 * cursor.[Ch]: restructure
667 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
669 * iterators.[Ch] (asCursor): remove
671 * lfuns.h: remove LFUN_INSET_EDIT
677 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
679 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
681 * lyxfind.[Ch]: complete overhaul
682 * BufferView_pimpl.C:
684 * paragraph.[Ch] (insert): add
686 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
690 * text.C: remove dead spellcheck code
692 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
694 * dispatchresult.h: add a val setter
696 * cursor.C (dispatch): use a tempvar for data_[i]
698 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
700 * PosIterator.[Ch]: compile fix
702 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
704 * text.C (cursorPar): deactivate the cursor cache
706 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
708 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
710 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
712 * text3.C (dispatch): adjust for new DisptchResult semantics.
714 * lyxfunc.C (dispatch): handle update when return from
715 Cursor::dispatch, adjust for new DispatchResult semantics.
717 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
718 DispatchResult(true) mean to not update. Add class functions for
719 setting dispatched and update, as well as reading.
721 * cursor.C (dispatch): don't handle update here
723 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
725 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
726 * trans_mgr.C: adjust
728 * paragraph_funcs.C (readParToken): exception safety
730 * lyxvc.h: store the vcs pointer in a scoped_ptr
733 * lyxsocket.C (serverCallback): exception safety
735 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
737 * ispell.C (clone): make it return a auto_ptr
739 * factory.C (createInset): exception safety
740 (readInset): exception safety
742 * bufferlist.C (newBuffer): exception safety
744 * Thesaurus.C (Thesaurus): use initialization for aik_
746 * MenuBackend.C (expandToc): exception safety.
748 2003-11-03 André Pönitz <poenitz@gmx.net>
752 * bufferview_funcs.C: remove getInsetFromId()
755 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
761 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
763 * PosIterator.C (distance, advance): new
764 * bufferview_funcs.[Ch] (put_selection_at): new
765 * iterators.[Ch] (lockPath): new
767 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
769 * iterators.[Ch] (asPosIterator): added
770 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
771 * PosIterator.[Ch]: added
773 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
777 * cursor.C (dispatch):
778 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
780 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
781 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
782 contructor, add a class function dispatched. Remove operator>=
784 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
786 * debug.C: only use the default constructor for debugstream
789 * main.C (main): include debug.h and setup the lyxerr streambuf
792 2003-10-31 José Matos <jamatos@lyx.org>
794 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
796 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
797 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
798 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
799 * paragraph_pimpl.C (simpleTeXSpecialC):
800 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
801 add LatexRunParams argument.
803 * exporter.C (Export): change call accordingly.
805 * latexrunparams.h: add new member to take care of the other backends.
806 2003-10-30 José Matos <jamatos@lyx.org>
808 * buffer.C (makeLinuxDocFile, makeDocBookFile):
809 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
810 factorise code for paragraph output.
812 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
815 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
817 * text3.C (dispatch):
818 * lyxfunc.C (dispatch):
819 * cursor.C (dispatch):
820 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
822 * dispatchresult.h: make the dispatch_result_t ctor explicit
824 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
827 * buffer.C: small refactoring of docbook stuff
829 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
831 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
834 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
836 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
837 operator dispatch_result_t, and operators for == != and >=
839 * cursor.C (dispatch): adjust for operator dispatch_result_t
840 removal. comment out call to update
842 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
844 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
852 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
855 * dispatchresult.h: new file, DispatchResult broken out of
858 * Makefile.am (lyx_SOURCES): add dispatchresult.h
860 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
862 * text.C (rowBreakPoint): put a hack inside #if 0
864 2003-10-28 André Pönitz <poenitz@gmx.net>
871 * text2.C: general cleanup (lots of small stuff)
873 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
875 * text2.C (cursorEnd): simple fix to the "end key goes to one
876 before the end on last row" bug
878 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
880 * text.C (backspace): fix the "zombie characters"
882 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
884 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
886 2003-10-27 André Pönitz <poenitz@gmx.net>
888 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
890 * factory.C: handle new InsetPagebreak, InsetLine
892 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
893 and move handling into new InsetPagebreak, InsetLine
895 * BufferView_pimpl.C:
897 * ParagraphParameters.C:
910 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
919 * text3.C: remove lastPos uses in favour of Row::endpos
921 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
923 * undo.C (performUndoOrRedo): fix two crashes by setting a
924 cursor by hand and reordering some calls. Use bv->lockInset instead
925 of inset->edit because the latter loses cursor information
927 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
929 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
931 (rowBreakPoint): fix width. change point to point + 1.
934 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
937 * lyxfunc.C: fix (at least partly) the problems
938 with the Nav menu and headers inside branch insets
941 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
943 * paragraph.C (getChar): add strong asserts
945 * lyxrow_funcs.C (lastPos): remove hideous hack
947 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
948 (fill): adjust to that (avoid an infinite loop)
950 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
952 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
954 2003-10-23 André Pönitz <poenitz@gmx.net>
956 * RowList_fwd.h: change list<> to vector<> to gain speed
957 after suggestion from Alfredo
959 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
961 * lyxtext.h: move the bidi stuff from here...
964 * Bidi.[Ch]: ... to here
966 2003-10-23 André Pönitz <poenitz@gmx.net>
969 * text.C (isLastRow, isFirstRow): new functions
971 * paragraph.h: new width cache member
973 * rowpainter.C: replace RowList::iterator with Row & where possible
975 * lyxfunc.C: replace several view()->text with a single call
977 * toc.C: fix 'unused' warning
979 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
981 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
982 when woring with stream::pos_type
983 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
985 2003-10-22 André Pönitz <poenitz@gmx.net>
988 * text.C: use Row & instead of RowList::iterator
990 * lyxrow.h: rename end() to endpos()
996 2003-10-22 Angus Leeming <leeming@lyx.org>
998 * buffer.[Ch] (fully_loaded): new member function, returning true
999 only when the file has been loaded fully.
1000 Used to prevent the premature generation of previews and by the
1001 citation inset to prevent computation of the natbib-style label.
1003 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1004 templates are all set up.
1006 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1008 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1010 * text.C: fixed an "oops" in the "is a bit silly"
1013 2003-10-21 André Pönitz <poenitz@gmx.net>
1015 * FuncStatus.[Ch]: small stuff, whitespace
1017 * lyxfont.[Ch]: operator<<() for debug reasons
1021 * lyxtext.h: whitespace, spelling
1023 * paragraph.C: naming of variables
1026 * text2.C: small stuff
1029 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1031 * text.C: (1) finish off the inset display() work;
1032 (2) fix the "is a bit silly" bug (accessing char
1035 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1037 * text.C: re-introduce display() for insets, fixing the
1038 various bugs (stretch of line above, math inset
1041 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1043 * text.C (rightMargin): remove spurious semicolon
1045 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1048 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1050 * text3.C: fix one crash due to wrong cursor def
1052 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1054 * vc-backend.C (scanMaster): make the regex static
1056 * LaTeX.C (scanAuxFile): make the regexs static
1058 * text3.C (doInsertInset, dispatch, dispatch):
1059 * text2.C (cursorUp, cursorDown):
1060 * text.C (selectNextWordToSpellcheck):
1061 * BufferView_pimpl.C (dispatch):
1062 * lyxfunc.C (dispatch): localDispatch -> dispatch
1064 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1066 * lyxsocket.C: include <cerrno>
1068 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1070 * lyxfunc.C (dispatch): remove textcache stuff
1072 * bufferlist.C (release): remove textcache stuff
1075 * TextCache.C: delete file
1076 * TextCache.h: delete file
1078 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1080 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1081 delete of the bv_->text.
1082 (resizeCurrentBuffer): remove texcache stuff
1083 (workAreaResize): ditto
1085 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1087 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1090 2003-10-16 André Pönitz <poenitz@gmx.net>
1097 * text3.C: speed up by storing y positions per paragraph plus per-row
1098 offset instead of having a 'full' y position in the row.
1100 2003-10-15 André Pönitz <poenitz@gmx.net>
1104 * undo.[Ch]: make undo aware of inner insets
1106 2003-10-14 Angus Leeming <leeming@lyx.org>
1108 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1109 static member functions LyX::ref() and LyX::cref.
1110 (lastfiles): new accessor functions for the new lastfiles_ member var.
1111 (addLyXView, views_): add a new LyXView to the list of views_.
1112 (updateInset): loop over all LyXViews to call their own updateInset
1113 member function, returning a pointer to the Buffer owning the inset.
1115 * BufferView_pimpl.C (loadLyXFile):
1116 * MenuBackend.C (expandLastfiles):
1117 * bufferlist.C (MenuWrite, QuitLyX):
1118 lastfiles is no longer a global variable.
1119 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1121 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1122 static function. Access through LyX::cref().emergencyCleanup().
1124 2003-10-14 André Pönitz <poenitz@gmx.net>
1126 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1128 * undo.[Ch]: restoring part of 'undo in insets'
1131 * undo_funcs.[Ch]: merge with undo.[Ch]
1133 * tabular.C: small cleansing stuff
1135 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1137 * paragraph_funcs.C (readParToken): report unknown insets as error
1138 boxes. Use the outer paragraph as location (also for unknown
1141 * factory.C (readInset): do not abort on reading an unknown inset.
1142 Eat it and return 0.
1144 2003-10-13 Angus Leeming <leeming@lyx.org>
1146 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1148 * lyxrc.C: displayTranslator is now a function,
1149 declared in GraphicsTypes.h.
1151 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1153 * format.C: new placeholder $$a to pass the socket address.
1155 * bufferlist.[Ch]: new function getBufferFromTmp.
1157 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1158 files in the temporary dir.
1160 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1162 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1164 * Makefile.am: add lyxsocket.[Ch].
1166 * lyx_main.C (error_handler): handle SIGPIPE.
1168 2003-10-13 André Pönitz <poenitz@gmx.net>
1170 * BufferView_pimpl.C:
1175 * undo_funcs.[Ch]: use paroffset_type instead of
1176 ParagraphList::iterators to prevent multiple conversion
1177 (and get a more robust interface)
1179 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1181 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1183 * text3.C (dispatch): ditto
1185 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1187 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1188 move the onlyfile, use onlyfile instead of foundfile in a couple
1191 * DepTable.C (update): flush the error stream a bit more
1193 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1195 * lyxserver.C (callback): adjust
1197 * lyxfunc.C (getStatus): add a missing brace in commented code
1198 (ensureBufferClean): reindent
1199 (dispatch): delete version taking a string
1201 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1203 * LaTeX.C (deplog): move found file handlig from here...
1204 (handleFoundFile): .. to new function here.
1205 (deplog): make sure to discover several files mentioned on the
1208 2003-10-10 André Pönitz <poenitz@gmx.net>
1215 * text3.C: fix some of the tabular crashes
1217 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1219 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1221 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1223 2003-10-09 André Pönitz <poenitz@gmx.net>
1225 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1228 * BufferView_pimpl.C:
1229 * bufferview_funcs.C:
1240 * undo_funcs.C: adjust
1242 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1244 * text2.C (incrementItemDepth): new function, use a backtracking
1245 algorithm to discover the correct item depth.
1246 (resetEnumCounterIfNeeded): new function, use a backtracking
1247 algorithm to discover if counter reset is needed.
1248 (setCounter): use them. Simplify a bit. Add different labels for
1249 different item depths for itemize.
1251 * paragraph.C (Paragraph): remove initialization of enumdepth
1254 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1255 enumerate and itemize. Change the type of itemdepth to signed char.
1257 2003-10-08 André Pönitz <poenitz@gmx.net>
1259 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1264 * tabular.[Ch]: fix crash after 'row-insert'
1266 2003-10-08 Angus Leeming <leeming@lyx.org>
1268 Fix doxygen warnings.
1270 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1271 Remove CutAndPaste:: prefix from header file declaration.
1273 * LColor.h (fill): remove LColor:: prefix from declaration.
1275 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1276 use lyx::depth_type rather than Paragraph::depth_type so that
1277 header file and .C file match.
1279 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1281 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1282 * aspell.C: \file aspell_local.C -> \file aspell.C
1283 * gettext.C: \file gettext.C -> \file src/gettext.C
1284 * gettext.h: \file gettext.h -> \file src/gettext.h
1285 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1286 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1287 * text.C: \file text.C -> \file src/text.C
1289 * toc.C: move comment so that doxygen is not confused.
1291 2003-10-07 Angus Leeming <leeming@lyx.org>
1293 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1295 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1298 * aspell_local.h: add forgotten std::string's.
1300 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1307 * text3.C: The Box patch. Fancybox support, minipage, parbox
1309 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1315 * ParagraphParameters.h:
1325 * lyxtextclasslist.h:
1328 * paragraph_pimpl.C:
1329 * textcursor.h: add <string> and other small fixes to make Lars'
1330 std::string patch compile with STLport.
1332 2003-10-06 Angus Leeming <leeming@lyx.org>
1334 * LColor.h: Add missing #include <string>.
1336 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1338 * All most all file in all subdirs: Make <string> be the prefered
1339 way of getting to std::string, add using declarations.
1341 2003-10-06 André Pönitz <poenitz@gmx.net>
1343 * metricsinfo.C: initialize LyXFont before changing attribute.
1344 (fixes the 'math in \emph is upright' bug)
1346 2003-10-06 André Pönitz <poenitz@gmx.net>
1348 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1350 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1353 * paragraph_pimpl.C: Small fixes to build using STLport
1355 2003-10-02 André Pönitz <poenitz@gmx.net>
1358 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1360 2003-10-01 André Pönitz <poenitz@gmx.net>
1362 * factory.C: assert early
1364 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1366 * lyx_main.C: remove the global debug object
1368 * debug.h: adjust for new debugstream
1370 * debug.C: adjust for new debugstream and keep the global debug
1373 2003-09-22 Angus Leeming <leeming@lyx.org>
1375 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1376 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1377 an incomplete class LyXFont.
1379 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1381 * factory.C: bug fix in branches
1383 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1385 * lyxfunc.C (processKeySym): adjust
1387 (dispatch): change arg name from ev to func, adjust
1388 (sendDispatchMessage): ditto
1390 * lyx_main.C (defaultKeyBindings): adjust keybindings
1391 (deadKeyBindings): ditto
1393 * kbsequence.C (addkey): return a FuncRequest
1395 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1397 * kbmap.C (bind): take a FuncRequest as arg, adjust
1400 (defkey): change to take a FuncRequest as arg, adjust
1401 (findbinding): take a FuncRequest as arg, adjust.
1403 * funcrequest.h (operator=): added
1405 * funcrequest.C (FuncRequest): default kb_action changed from
1406 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1408 * buffer.C (dispatch): simplify
1409 (dispatch): adjust to take a FuncRequest as arg, adjust
1411 * boost.C (assertion_failed): change assertion message slightly
1413 * ToolbarBackend.C (read): simplify
1415 * MenuBackend.C (binding): adjust call to findbinding, add a
1416 message if no binding is found.
1418 (expandToc): correct by adding a empty FuncRequest
1420 * LyXAction.C: include <boost/assert.hpp>
1421 (isPseudoAction): delete function
1422 (LookupFunc): change name to...
1423 (lookupFunc): this. change return type to FuncRequest.
1424 (getActionName): take kb_action as arg, simplify
1425 (funcHasFlag): add an assert, simplify.
1427 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1429 * toc.C (action): return a FuncRequest, simplify
1431 * lyxfunc.C (processKeySym): adjust
1432 (getStatus): delete version that takes an int.
1434 (dispatch): delete version that takes action as int
1436 (sendDispatchMessage): simplify and adjust
1438 * funcrequest.C (getArg): take unsigned int as arg
1440 * ToolbarBackend.C (read): adjust
1441 (add): delete version that takes func as a string.
1442 (getIton): take a FuncRequest as arg
1444 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1447 * MenuBackend.C (MenuItem): add a new construct that only takes a
1448 Kind, simplify the constructor use for submenus.
1450 (expandLastfiles): adjust
1451 (expandDocuments): adjust
1452 (expandFormats): adjust
1453 (expandFloatListInsert): adjust
1454 (expandFloatInsert): adjust
1455 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1457 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1458 Remove class variables lyx_pseudo_map and lyx_arg_map
1460 * LyXAction.C (searchActionArg): delete function
1461 (getPseudoAction): delete function
1462 (retrieveActionArg): delete function
1463 (LookupFunc): make it return kb_action, simplify.
1464 (getActionName): simplify
1466 * factory.C (createInset): fix new bug
1468 2003-09-19 Angus Leeming <leeming@lyx.org>
1470 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1471 masterFilename_ parameter in the include inset.
1473 * factory.C (createInset): changes due to the changes to InsetInclude.
1475 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1477 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1479 2003-09-18 Angus Leeming <leeming@lyx.org>
1482 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1483 Inset::fillWithBibKeys.
1484 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1486 2003-09-18 Angus Leeming <leeming@lyx.org>
1488 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1490 (ctor): pass and store a 'Buffer const &'
1491 (buffer): new member function.
1493 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1494 '*this' to the LaTeXFeatures ctor.
1496 2003-09-18 Angus Leeming <leeming@lyx.org>
1502 * text.C: rename EnumLColor as LColor_color.
1504 2003-09-18 Angus Leeming <leeming@lyx.org>
1506 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1507 remove #include "insets/insetbase.h" from cursor.h.
1509 2003-09-18 Angus Leeming <leeming@lyx.org>
1511 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1512 InsetOld_code to remove #include "inset.h".
1514 * iterators.C: add #include "insets/inset.h"
1516 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1518 * BufferView.C: remove more locking stuff that apparently doesn't
1519 do anything sensible.
1521 2003-09-16 André Pönitz <poenitz@gmx.net>
1524 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1527 2003-09-16 Angus Leeming <leeming@lyx.org>
1529 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1531 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1534 * paragraph.h: remove #include "lyxfont.h". Forward declare
1537 2003-09-16 Angus Leeming <leeming@lyx.org>
1539 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1540 of support/textutils.h.
1541 (isWord): move the contents of support/textutils.h's IsWordChar here.
1547 * text2.C: add #include "paragraph.h".
1550 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1552 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1558 * LaTeX.C: use namespace alias for lyx::support::os
1560 2003-09-16 Angus Leeming <leeming@lyx.org>
1563 * bufferview_funcs.C:
1566 * paragraph_pimpl.C:
1568 * text.C: add #include "LColor.h".
1570 2003-09-16 Angus Leeming <leeming@lyx.org>
1572 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1573 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1575 Store the FontBits::color variable as an int rather than as an
1576 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1579 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1580 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1581 string calls together.
1583 * lyxrc.C: add #include "LColor.h".
1585 2003-09-15 Angus Leeming <leeming@lyx.org>
1587 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1590 2003-09-15 Angus Leeming <leeming@lyx.org>
1592 * LColor.h: add an EnumLColor wrapper for LColor::color.
1594 * lyxfont.[Ch] (color, setColor, realColor):
1595 * lyxtext.h, text.C (backgroundColor):
1596 pass EnumLColor args to/from the functions, rather than LColor::color
1600 * lyxtext.h: forward declare EnumLColor.
1602 * lyx_main.C: add #include "LColor.h".
1604 2003-09-15 Angus Leeming <leeming@lyx.org>
1606 * .cvsignore: add lyx-gtk.
1608 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1613 * ParagraphParameters.C
1617 * bufferview_funcs.C
1627 * vc-backend.C: remove usage of STRCONV
1629 2003-09-15 Angus Leeming <leeming@lyx.org>
1631 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1632 explicitly define the color passed to the painter.
1634 2003-09-15 Angus Leeming <leeming@lyx.org>
1636 * bufferparams.C (BufferParams): reorder member initializers to avoid
1639 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1641 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1642 * text.C (updateRowPositions): remove an unusual nop
1644 2003-09-12 André Pönitz <poenitz@gmx.net>
1646 * BufferView_pimpl.C:
1655 * Counters.[Ch]: finish the 'automatic counters' job
1657 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1659 * aspell.C: include <boost/assert.cpp> (compile fix)
1661 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1663 * boost.C (assertion_failed): use lyx::support::abort instead of
1666 2003-09-10 Angus Leeming <leeming@lyx.org>
1668 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1669 with their _fwd progeny.
1671 2003-09-09 Angus Leeming <leeming@lyx.org>
1673 134 files throughtout the source tree: replace 'using namespace abc;'
1674 directives with the appropriate 'using abc::xyz;' declarations.
1676 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1678 * boost.C (emergencyCleanup): moved here from LAssert.c
1679 (assertion_failed): new function, called by BOOST_ASSERT
1681 * several files: change Assert to BOOST_ASSERT
1683 2003-09-09 Angus Leeming <leeming@lyx.org>
1685 * buffer.[Ch]: Add an Impl class and move Buffer's member
1686 variables into it. As a result move several header files out of
1689 Add header files to lots of .C files all over the tree as a result.
1691 2003-09-09 Angus Leeming <leeming@lyx.org>
1693 * buffer.[Ch]: make Buffer's member variables private. Add
1696 Lots of changes all over the tree as a result.
1698 2003-09-08 Angus Leeming <leeming@lyx.org>
1700 * graph.C: #include <config.h>.
1702 2003-09-08 Angus Leeming <leeming@lyx.org>
1706 * BufferView_pimpl.C:
1735 * toc.C: remove redundant using directives.
1737 2003-09-07 Angus Leeming <leeming@lyx.org>
1739 * LaTeXFeatures.h: remove #include "support/types.h".
1740 * ToolbarBackend.h: remove #include <algorithm>.
1741 * changes.h: remove #include <ctime>.
1742 * debug.h: remove #include <iosfwd>.
1743 * graph.h: remove #include "support/std_string.h".
1744 * lyx_main.h: remove #include <csignal>.
1745 * lyxlex_pimpl.h: remove #include <fstream>.
1746 * sgml.h: remove #include <algorithm>, <utility>.
1747 * toc.h: remove #include "support/std_ostream.h".
1748 Add #include <iosfwd>.
1750 2003-09-07 Angus Leeming <leeming@lyx.org>
1752 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1754 * converter.h: forward declare LatexRunParams.
1755 * encoding.h: remove #include "lyxrc.h".
1756 * lyxtext.h: remove #include "LColor.h".
1757 * lyxtextclass.h: remove #include "support/types.h".
1758 * trans.h: remove #include "tex-accent.h".
1759 * trans_mgr.h: remove #include "tex-accent.h".
1760 * insets/inset.h: remove #include "support/types.h", <vector>.
1761 * insets/insetcollapsable.h: remove #include "LColor.h".
1762 * insets/insetinclude.h: remove #include "dimension.h".
1763 * insets/insetlatexaccent.h: remove #include "dimension.h".
1764 * insets/insetoptarg.h:: remove #include "insettext.h".
1765 * insets/insettext.h: remove #include "dimension.h",
1766 <boost/shared_ptr.hpp>
1768 * insets/renderers.h: add #include "dimension.h".
1769 * insets/updatableinset.h: add #include "support/types.h".
1771 * many .C files: Associated changes.
1773 2003-09-06 Angus Leeming <leeming@lyx.org>
1775 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1776 one, inside testInvariant.
1778 * PrinterParams.C: new file.
1779 * PrinterParams.[Ch]: move the function bodies out of line.
1781 2003-09-06 Angus Leeming <leeming@lyx.org>
1783 * ParagraphParameters.h: forward declare ParameterStruct rather than
1784 including its header file.
1785 (depth): moved out-of-line.
1787 2003-09-06 Angus Leeming <leeming@lyx.org>
1789 * BufferView_pimpl.h:
1792 * lyxfunc.h: forward declare LyXKeySym rather than
1793 #include "frontends/LyXKeySym.h".
1795 * BufferView_pimpl.C:
1798 * lyxfunc.C: associated changes.
1800 2003-09-06 Angus Leeming <leeming@lyx.org>
1802 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1803 As a result, can remove the #include "insets/inset.h" from BufferView.h
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>
1816 * bufferview_funcs.C:
1817 * BufferView_pimpl.C:
1822 * ParagraphParameters.C:
1827 * frontends/controllers/ControlDocument.C:
1828 * insets/insetcaption.C: rearrange the #includes into some sort of
1831 * buffer.h: remove #includes ErrorList.h, undo.h
1833 2003-09-06 Angus Leeming <leeming@lyx.org>
1835 * support/types.h: add a 'depth_type' typedef, used to store the
1836 nesting depth of a paragraph.
1839 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1840 defining explicitly.
1843 * paragraph_funcs.h:
1844 * ParagraphParameters.h:
1845 * sgml.h: use lyx::depth_type rather than Paragraph or
1846 ParameterStruct's depth_type.
1849 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1852 * BufferView_pimpl.C:
1854 * ParagraphParameters.C:
1857 * bufferview_funcs.C:
1864 * frontends/LyXView.C:
1865 * frontends/controllers/ControlDocument.C:
1866 * frontends/controllers/ControlErrorList.C:
1867 * insets/insetbibitem.C:
1868 * insets/insetbranch.C:
1869 * insets/insetcaption.C:
1870 * insets/insetcollapsable.C:
1871 * insets/insetenv.C:
1872 * insets/insetert.C:
1873 * insets/insetfloat.C:
1874 * insets/insetfoot.C:
1875 * insets/insetfootlike.C:
1876 * insets/insetnewline.C:
1877 * insets/insetquotes.C:
1878 * insets/insettabular.C:
1879 * insets/insettext.C:
1880 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1882 * frontends/controllers/ControlChanges.C: #include "changes.h".
1884 2003-09-06 Angus Leeming <leeming@lyx.org>
1886 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1887 than #including paragraph.h.
1890 * RowList.h: deleted. Superfluous.
1900 * insets/insettext.h: use ParagraphList_fwd.h rather than
1903 * paragraph.h: don't forward declare ParagraphList.
1906 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1907 rather than ParagraphList.h. paragraph.h is still needed for the
1908 Paragraph::depth_type parameters.
1910 * textcursor.h: enable it to compile stand-alone in light of the
1913 * bufferview_funcs.C:
1925 * frontends/controllers/ControlParagraph.C:
1926 * frontends/controllers/ControlTabular.C:
1927 * insets/insetmarginal.C:
1928 * insets/insetminipage.C:
1929 * insets/insetnote.C:
1930 * insets/insetoptarg.C: add header files needed to compile again.
1932 2003-09-06 Angus Leeming <leeming@lyx.org>
1934 * RowList_fwd.h: new file, forward-declaring Row rather than
1935 #including lyxrow.h.
1940 * insets/insettext.h: use it instead of RowList.h
1942 * bufferview_funcs.C:
1949 * text3.C: #include "RowList.h".
1951 2003-09-05 Angus Leeming <leeming@lyx.org>
1953 * factory.C (createInset):
1954 * vspace.C (c-tor): replace sscanf call with an istringstream.
1955 * ispell.C: re-add missing HP/UX headers.
1956 * lyxserver.C: re-add missing os2 headers.
1958 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1967 * text3.C: re-add missing system headers, needed for 2.95.2.
1969 2003-09-05 Angus Leeming <leeming@lyx.org>
1971 Changes most place everywhere due to the removal of using directives
1972 from support/std_sstream.h.
1974 2003-09-05 Angus Leeming <leeming@lyx.org>
1976 Replace LString.h with support/std_string.h,
1977 Lsstream.h with support/std_sstream.h,
1978 support/LIstream.h with support/std_istream.h,
1979 support/LOstream.h with support/std_ostream.h.
1981 Changes resulting throughout the tree.
1983 2003-09-05 Angus Leeming <leeming@lyx.org>
1985 * sgml.h: ensure that the header file can be compiled stand-alone.
1986 * *.C: strip out redundant #includes. (320 in total.)
1988 2003-09-04 Angus Leeming <leeming@lyx.org>
1990 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1991 here (from getPackages).
1993 * debug.[Ch]: add a new EXTERNAL tag.
1995 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1997 * text2.C (cursorEnd): simplify
1999 (getColumnNearX): adjust
2001 * text.C (computeBidiTables): adjust
2004 * rowpainter.C (paintChars): adjust
2005 (paintSelection): adjust
2006 (paintChangeBar): adjust
2009 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2011 (numberOfSeparators): adjust
2013 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2019 * text3.C: Restricts the mouse click functionality
2020 of insets like bibtex, include, toc and floatlist to the visible
2021 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2022 up the dialogs. Cursor has to be in front of the inset (i.e.
2023 start of row) for this to function.
2025 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2027 * bufferview_funcs.C (currentState): output row information
2029 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2031 * bufferview_funcs.C (currentState): output paragraph position
2033 2003-09-04 Angus Leeming <leeming@lyx.org>
2035 * FloatList.h: move out #include "Floating.h".
2036 * LaTeX.h: move out #include "DepTable.h".
2037 * LyXAction.h: move out #include "funcrequest.h".
2038 * buffer.h: move out #include "author.h", "iterators.h".
2039 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2040 * lyx_main.h: move out #include "errorlist.h".
2041 * lyxfunc.h: move out #include "FuncStatus.h".
2042 * lyxtext: move out #include "lyxcursor.h".
2043 * paragraph_pimpl.h: move out #include "counters.h".
2045 2003-09-03 Angus Leeming <leeming@lyx.org>
2047 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2048 preamble_snippets list, enabling us to add snippets to the preamble
2049 only if the snippet was not there already.
2051 2003-09-04 Angus Leeming <leeming@lyx.org>
2053 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2055 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2057 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2060 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2062 * BranchList.C: point fix, earlier forgotten
2064 2003-09-02 Angus Leeming <leeming@lyx.org>
2066 * box.C (contains): renamed from 'contained' after a fantastic
2069 2003-09-02 John Levon <levon@movementarian.org>
2075 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2077 2003-09-02 John Levon <levon@movementarian.org>
2079 * text2.C: simplification of cursorEnd(), including partial
2082 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2084 * buffer.C (readFile): add a space
2086 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2088 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2090 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2092 * buffer.C (readFile): new function, take a filename and a
2093 ParagraphList::iterator
2095 (readFile): adjust, make it private. don't use setStream, make
2096 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2097 always contain the filename.
2099 * BufferView.C (insertLyXFile): simplify and make it work for
2102 2003-08-30 John Levon <levon@movementarian.org>
2104 * Makefile.am: fix dist (from Kayvan)
2106 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2108 * most files: change to use const Buffer refs
2110 2003-08-27 André Pönitz <poenitz@gmx.net>
2112 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2113 on top of ownerPar().
2115 2003-08-27 John Levon <levon@movementarian.org>
2117 * funcrequest.C: properly initialise POD members
2119 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2121 * lyxtext.h (top_y): move top_y from here
2126 * BufferView_pimpl.[Ch]: to here
2127 * frontends/screen.C:
2128 * insets/insettabular.C:
2129 * insets/insettext.C: adjust
2130 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2132 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2135 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2137 2003-08-26 André Pönitz <poenitz@gmx.net>
2139 * paragraph_func.[Ch] (outerPar): new function
2142 * paragraph_funcs.C:
2143 * paragraph_funcs.h:
2144 * paragraph_pimpl.C:
2145 * text2.C: remove Inset::par_owner
2147 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2152 * text2.C: eliminates the needFullRow/display() stuff
2153 altogether, putting the logic in metrics/draw in the insets.
2155 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2157 * text2.C (redoParagraphInternal, redoParagraphs):
2158 * text.C (redoParagraph): add a call to updateRowPositions at the
2159 end of each 'metrics-like' call. Remove all others.
2160 (getRow): remove the 'y-computing' version.
2161 (getRowNearY): do not compute nor return the real y. Solve the
2162 'y < 0' problem and simplify.
2164 2003-08-22 Angus Leeming <leeming@lyx.org>
2166 * *.[Ch]: clean-up of licence and author blurbs.
2167 Also move config.h out of a few .h files and into a few .C files.
2169 2003-08-22 André Pönitz <poenitz@gmx.net>
2171 * lyxrow.[Ch]: add x_ and *fill_ members
2176 * text2.C: adjust/remove prepareToPrint() calls
2178 2003-08-22 André Pönitz <poenitz@gmx.net>
2180 * lyxrow.[Ch]: add end_ member
2182 * lyxrow_funcs.C: use LyXRow::end_
2184 * lyxtext.h (singleWidth): add LyXFont parameter
2187 * text2.C: adjust LyXText::singleWidth() calls
2189 * text.C (redoParagraph): simplify row breaking logic
2192 2003-08-19 André Pönitz <poenitz@gmx.net>
2194 * funcrequest.C: initialize button_ member
2197 * rowpainter.[Ch]: interface consolidation
2199 2003-08-18 André Pönitz <poenitz@gmx.net>
2202 * BufferView_pimpl.C:
2204 * paragraph_funcs.C:
2206 * text3.C: remove LyXScreen::draw() and fitCursor calls
2208 * BranchList.h: remove spurious semicolons
2210 * MenuBackend.C: fix branchlist related crash
2212 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2220 * bufferparams.[Ch]:
2224 * text3.C: implements the 'branch inset'
2225 idea. This allows the output of various versions of a document
2226 from a single source version, selectively outputing or suppressing
2227 output of parts of the text.
2228 This implementation contains a 'branch list editor' in a separate
2229 tab of the document settings dialog. Branches are user definable
2230 and have a "display colour" to distinguish them on-screen.
2232 ColorHandler was somewhat cleaned up.
2233 (1) make possible a dynamically growing LColor list by allowing
2234 the graphic context cache to grow along (vector);
2235 (2) eliminate an IMHO unnecessary step in colour allocation.
2237 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2239 * BufferView_pimpl.C: compile fix
2241 2003-08-15 André Pönitz <poenitz@gmx.net>
2243 * rowpainter.C: remove extra metrics calls
2245 * lyxtext.h: merge the two constructors into a single one,
2246 pass reference to owner's par list
2248 * BufferView_pimpl.C:
2252 2003-08-15 André Pönitz <poenitz@gmx.net>
2254 * lyxrow_funcs.[Ch]:
2257 * paragraph_funcs.C:
2262 * text_funcs.C: split LyXText::rowlist_ into individual
2263 Paragraph::rows_ chunks
2266 * BufferView_pimpl.[Ch]:
2269 * text3.C: remove toggleSelection()
2271 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2273 * bufferlist.C: beautify two alerts (shorter text of buttons)
2274 * buffer.C: Remove redundant ' ' from message
2276 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2277 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2278 rename VALIGN_CENTER to VALIGN_MIDDLE
2280 2003-08-11 André Pönitz <poenitz@gmx.net>
2282 * lyxtext.h (getPar):
2283 * text.C: new function
2285 2003-08-11 André Pönitz <poenitz@gmx.net>
2288 * tracer.[Ch]: remove unneeded files
2290 * InsetList.[Ch]: remove resizeInsetsLyXText()
2295 * text3.C: merge insertParagraphs() and appendParagraph()
2296 remove breakAgain(), update()
2298 * BufferView_pimpl.[Ch]:
2299 * bufferview_funcs.[Ch]:
2303 * tabular.C: adjust after text & InsetList changes.
2305 2003-08-08 André Pönitz <poenitz@gmx.net>
2307 * text.C (insertChar, backspace): replace rowlist fiddling
2308 with rebreak of full par
2311 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2312 checkParagraph, updateInset): removed
2314 2003-08-07 André Pönitz <poenitz@gmx.net>
2317 * text3.C: merge some LFUN handlers, remove dead code
2319 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2321 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2323 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2325 * text2.C (DEPM): fix part of bug 1255 and 1256
2327 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2329 * BufferView_pimpl.C (workAreaDispatch): change to use
2330 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2331 that are no mouse related.
2333 2003-08-05 André Pönitz <poenitz@gmx.net>
2336 * BufferView_pimpl.[Ch]:
2337 * bufferview_funcs.C:
2339 * text3.C: rip out "deep update"
2341 * textcursor.[Ch] (last_sel_cursor): remove unused member
2343 2003-08-04 André Pönitz <poenitz@gmx.net>
2346 * BufferView_pimpl.[Ch]:
2347 * ParagraphParameters.C:
2348 * bufferview_funcs.C:
2354 * text3.C: replace "complicated" BufferView::update(...) calls with
2357 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2359 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2361 * Makefile.am (lyx_SOURCES): add paper.h
2363 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2365 * Makefile.am: move things around so that both lyx-qt and
2366 lyx-xforms can be built (according to --with-frontend). Then lyx
2367 is a symbolic link to lyx-[firstfrontend]
2369 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2371 * Always use std::endl with lyxerr
2373 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2375 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2377 2003-08-01 André Pönitz <poenitz@gmx.net>
2380 * BufferView_pimpl.[Ch]:
2382 * text3.C: merge BufferView::repaint() and BufferView::update()
2384 2003-08-01 José Matos <jamatos@lyx.org>
2386 * buffer.[Ch]: file_format is no longer a buffer data element.
2388 2003-08-01 André Pönitz <poenitz@gmx.net>
2393 * text2.C: make redoParagraph more independent of current cursor
2395 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2397 * text2.C: remove unneeded members
2399 2003-07-30 André Pönitz <poenitz@gmx.net>
2401 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2403 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2404 create a single function...
2406 * paragraph_funcs.C (moveItem): ... here.
2409 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2411 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2413 * LColor.[Ch]: Add comment and greyedout logical colors.
2415 2003-07-30 André Pönitz <poenitz@gmx.net>
2417 * tabular.C: don't use Assert too heavily. This crashes where it
2420 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2422 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2423 is disabled (bug 1232)
2425 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2427 * factory.C: limited 'arg' scope
2429 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2431 * factory.C: fixed Note submenu issues
2433 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2435 * factory.C: submenu for Note/Comment/Greyedout
2437 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2440 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2442 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2445 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2446 greyedout. Patch provided by Jürgen Spitzmüller.
2448 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2450 * kbmap.C (read): fix error message when reading bind files
2452 2003-07-29 Angus Leeming <leeming@lyx.org>
2454 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2455 certainly does not do what it purports to do. I am doing it, and
2456 us, a favour by killing it.
2458 2003-07-28 José Matos <jamatos@lyx.org>
2460 * buffer.C (readBody, do_writeFile):
2461 * paragraph.C(readParagraph): \end_document replaces \the_end.
2463 2003-07-29 André Pönitz <poenitz@gmx.net>
2466 * BufferView_pimpl.[Ch]:
2470 * textcursor.[Ch]: remove toggleToggle & Co
2472 2003-07-28 José Matos <jamatos@fep.up.pt>
2474 * buffer.C (readParagraph):
2475 * params_func (readParToken, readParagraph):
2476 * paragraph.C (write): \layout -> \begin_layout.
2478 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2480 * lyxlex_pimpl.C (setFile): clean up slightly.
2482 * bufferparams.h: add compressed var
2484 * buffer_funcs.C (readFile): adjust for LyXLex change
2485 (newFile): ditto + simplify
2487 * buffer.C (writeFile): handle writing of compressed files
2489 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2490 Check if the file is compressed and set a bufferparm if so.
2492 * Makefile.am (lyx_LDADD): remove explicit -lz
2494 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2496 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2497 makeDocBookFile): put the real LyX version in the first line of
2501 * version.C.in: remove lyx_docversion
2503 * tabular.C (write_attribute): add a template-based version to
2504 write enums properly
2506 2003-07-28 André Pönitz <poenitz@gmx.net>
2511 * text3.C: use doubles again for x-coordinates. They are needed.
2513 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2515 * messages.C (getLocaleDir): use lyx_localedir()
2517 * lyxlex_pimpl.C (setFile): compress stuff
2519 * buffer.C (writeFile): add some compression stuff
2520 (do_writeFile): new func, dont call expliti close... will this
2523 * Makefile.am (lyx_LDADD): add -lz
2525 2003-07-28 José Matos <jamatos@fep.up.pt>
2527 * buffer.C: increment file format.
2528 * paragraph_funcs (readParagraph, readParToken):
2529 * paragraph.C (readParagraph): add \end_layout.
2531 2003-07-27 Angus Leeming <leeming@lyx.org>
2533 * Makefile.am: remove special casing for configure-time setting of
2534 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2536 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2537 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2539 2003-07-26 André Pönitz <poenitz@gmx.net>
2541 * paragraph_func.[Ch]:
2542 * paragraph.C (realizeFont): inline it whereever it is used
2547 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2550 2003-07-26 André Pönitz <poenitz@gmx.net>
2554 * text2.C: get rid of LyXText::need_break_row
2556 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2558 * toc.[Ch]: put namespace toc inside namespace lyx
2560 * MenuBackend.C (expandToc2): adjust for lyx::toc
2563 * lyxfunc.C (dispatch): adjust for lyx::find
2565 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2566 lyx::find instead. Reorganize a bit.
2567 (LyXReplace): rename to replace
2568 (LyXFind): rename to find
2570 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2573 2003-07-26 André Pönitz <poenitz@gmx.net>
2575 * text.C (setHeightOfRow): restrict scope of temporary variable
2577 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2578 code (never has been used?)
2580 2003-07-27 Asger Alstrup <alstrup@local>
2582 * text.C (fill): Optimise algorithm to exploit that we can reuse
2583 the LyXFont for many characters.
2584 (setHeightOfRow): Same thing.
2585 (rowBreakPoint): Same thing.
2587 2003-07-26 Asger Alstrup <alstrup@local>
2589 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2591 * text.C (singleWidth): Spurious font copying in hot-spot
2592 singleWidth avoided. Reorder tests for arabic for efficiency.
2594 * text.C (fill): handle empty paragraphs better.
2596 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2599 * encoding.h: add includes
2601 * lyxrc.C: remove reading of bind files
2603 * lyx_main.C (init): setup bindings and menus only if we have a
2606 * kbmap.C (read): new method. Do the actual reading of bind
2609 * converter.C (dvipdfm_options):
2612 (output): adapt PAPER_* enums.
2614 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2616 * bufferparams.h: remove paper-related enums from there
2618 * paper.h: New file. A trivial header file to hold paper-related
2619 enums. It should later expand to contain many paper-related
2622 * lyxrc.C: declare extern displayTranslator
2624 2003-07-27 José Matos <jamatos@fep.up.pt>
2626 * tabular.[Ch] (linuxdoc): add support for tables and figures
2629 2003-07-27 José Matos <jamatos@fep.up.pt>
2631 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2632 consistency in both functions.
2633 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2635 2003-07-26 Asger Alstrup <alstrup@local>
2637 * rowpainter.C (paintRows): Change algorithm to work directly on
2638 the insets rather than asking every character in the document
2639 whether its an inset.
2641 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2643 * buffer.C (openFileWrite): factorize some code
2645 2003-07-26 Angus Leeming <leeming@lyx.org>
2648 * lyx_main.[Ch]: replace occurances of system_tempdir with
2651 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2653 * rename Inset to InsetOld
2655 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2657 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2658 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2659 which I think is a bit clearer. EDIT is gone, since it was
2660 premature optimisation, and broken for mathed anyway.
2661 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2662 with cursor positioning in insets as well (math insets still do not
2663 work, but that's a different story anyway.) It mysteriously
2664 crashes sometimes with undo in the first paragraph, but I'm fairly
2665 confident that this is a compiler bug.
2667 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2669 * paragraph.C (Paragraph): adjust for new clone return type
2671 (copyIntoMinibuffer): ditto
2673 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2675 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2676 by not having a special case, and always doing a full rebreak of
2677 the document after undo.
2679 2003-07-23 Angus Leeming <leeming@lyx.org>
2681 * factory.C (createInset): InsetExternal::setParams now takes a
2684 2003-07-23 Angus Leeming <leeming@lyx.org>
2686 * factory.C (createInset): changed interface to the external and
2687 graphics mailers' string2params functions.
2689 2003-07-23 Angus Leeming <leeming@lyx.org>
2691 * factory.C (createInset): pass a
2692 Buffer const * parameter to InsetExternalMailer's string2params.
2694 2003-07-22 John Levon <levon@movementarian.org>
2696 * Thesaurus.h: include the right aiksaurus header
2698 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2700 * MenuBackend.C (expand): check menu shortcuts unconditionally
2702 2003-07-21 Angus Leeming <leeming@lyx.org>
2704 * factory.C (createInset): pass a
2705 buffer_path parameter to InsetGraphicsMailer's string2params.
2707 2003-07-21 Angus Leeming <leeming@lyx.org>
2709 * BufferView_pimpl.C (buffer):
2712 * lyxfunc.C (dispatch):
2713 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2714 rather than the grfx shortcut.
2716 2003-07-21 André Pönitz <poenitz@gmx.net>
2718 * rowpainter.C: remove unused variables
2721 * tabular_funcs.h: move to tabular.C
2722 * Makefile.am: adjust
2724 * tabular.[Ch]: basic optical cleaning
2726 * author.h: pass references, not values
2728 2003-07-18 André Pönitz <poenitz@gmx.net>
2736 * text3.C: two-phase drawing for InsetText and InsetTabular
2737 some float -> int changes.
2739 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2741 * lyx_main.C: fix the fix
2743 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2745 * lyx_main.C: fix a crash in batch mode if no files specified
2748 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2750 * format.[Ch] (papersize): moved to BufferParams
2751 * converter.[Ch] (dvips_options): moved to BufferParams
2752 (dvipdfm_options): moved to anon namespace
2753 * bufferparams.[Ch]: added above functions.
2755 2003-07-17 André Pönitz <poenitz@gmx.net>
2759 * text2.C: don't call inset->update() anymore
2761 * metricsinfo.[Ch]: add convenience constructor
2763 2003-07-16 André Pönitz <poenitz@gmx.net>
2768 * text2.C: replace the LyXCursor::irow_ member with
2769 on-demand computation of the value
2771 2003-07-16 John Levon <levon@movementarian.org>
2773 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2775 2003-07-15 André Pönitz <poenitz@gmx.net>
2778 * text2.C: remove no more needed refresh_row
2780 2003-07-15 André Pönitz <poenitz@gmx.net>
2785 * text3.C: refresh_status tristate -> need_update bool
2787 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2789 * lyxtext.h (init): remove reinit argument (act as if always true)
2790 * text2.C: adjust to that
2792 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2794 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2795 * text3.C: use it to delete selections in some cases
2796 (bugs 441, 673, 702, 954).
2798 2003-07-14 André Pönitz <poenitz@gmx.net>
2800 * rowpainter.[Ch]: reduce interface
2802 2003-07-14 André Pönitz <poenitz@gmx.net>
2804 * BufferView_pimpl.C:
2805 * text2.C: adjust after removing unused BufferView * argument
2807 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2809 * text2.C (init): fix a crash fired on resize
2811 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2813 * buffer.[Ch]: added new closing signal
2814 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2815 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2816 BufferView::Pimpl via the closing the signal
2818 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2820 * buffer.[Ch]: take out all bv-related from buffer
2822 * BufferView_pimpl.[Ch]: connect to new signals
2823 * CutAndPaste.C: removed useless asserts
2824 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2827 * lyxfunc.C: moved view-related funciontality from vc here
2828 * paragraph.C: removed outdated comments
2831 2003-07-10 André Pönitz <poenitz@gmx.net>
2833 * BufferView_pimpl.C:
2837 * text2.C: remove InsetText::InnerCache, clean up consequences
2839 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2841 * ispell.C: fix two typos in error messages
2843 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2845 * Extend Note inset to other forms of annotation like Comment
2846 and Greyedout. Right button click gives dialog.
2848 Files modified or added (+):
2852 * ControlNote.[Ch] +
2854 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2855 frontends/controllers
2859 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2861 * aspell.C: add missing namespace lyx::support
2863 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2865 * BufferView.[Ch] (newFile): Add
2866 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2867 * LaTeX.[Ch] (message): added this signal and use it
2868 * buffer.[Ch] (busy, message): added these signals and use them
2869 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2873 * importer.C: use buffer signals instead of direct bv calling
2874 * lyx_cb.[Ch] (ShowMessage): removed
2877 * paragraph_funcs.C:
2878 * text2.C: use buffer signals
2880 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2882 * introduce namespace lyx::graphics
2884 2003-07-02 André Pönitz <poenitz@gmx.net>
2886 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2888 2003-07-01 André Pönitz <poenitz@gmx.net>
2895 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2896 text*.C to text_func.C
2898 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2900 * introduce namespace lyx::support
2902 2003-06-30 André Pönitz <poenitz@gmx.net>
2907 * text.C: re-enable --with-included-string
2909 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2911 * textcursor.C: add <config.h>
2913 * text.C (getWord): remove const from word_location arg
2915 * lyxvc.C (getLogFile): fix const type order
2917 * lyxtext.h: remove const from word_location arg, add arg name
2919 * lyxlayout.h: currect type on labeltype.
2921 * importer.C: correct \file
2923 * converter.C (intToFormat): use std:: on ret val, ws changes
2925 * bufferlist.h: correct \file
2927 * buffer.C (makeLinuxDocFile): fix const type order
2928 (makeDocBookFile): ditto
2929 (fillWithBibKeys): use std:: on stdlib args.
2931 * CutAndPaste.C: fix authors.
2932 (availableSelections): use std:: on return vector
2934 2003-06-27 André Pönitz <poenitz@gmx.net>
2936 * BufferView_pimpl.C:
2937 * bufferview_funcs.C:
2945 * text3.C: remove LyXCursor::row_ member
2948 * text.C: rename fullRebreak() to partialRebreak() and implement
2949 a fullRebreak() that really bereks fully
2951 * textcursor.h: new struct for cursor-related data
2953 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2955 * lyx_main.C (LyX): get full path of document loaded on the
2958 2003-06-26 André Pönitz <poenitz@gmx.net>
2960 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2961 remove unused/broken operator>,<,>=.
2963 * text.C: remove only use of broken operator<= in an Assert().
2965 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2967 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2968 moved errorlist_.clear to showErrorList
2970 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2972 * converter.C (scanLog, runLaTeX):
2973 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2974 move the bv->showErrorList call to the callers
2975 * lyxfunc.C: i.e. here...
2977 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2978 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2979 namespace, the second to...
2980 * buffer_funcs (BufferFormat, parseErrors): added
2981 * errorlist.C (ErrorList(TeXErrors const &)): removed
2983 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2985 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2987 2003-06-24 "Garst R. Reese" <reese@isn.net>
2991 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2993 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2995 * version.C.in: change docversion to 1.4
2997 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2999 * buffer.C: fix a bug just introduced
3001 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3003 * buffer.[Ch]: added the parseError signal and use it, removed
3005 * BufferView.[Ch] (addError): moved to ...
3006 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3007 to the Buffer::parseError signal to catch (guess what) parse errors
3008 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3010 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3012 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3013 ability to create a buffer and to return an existing one from
3014 the list. Moved these functions to...
3015 * buffer_funcs.[Ch]: added
3016 * BufferView.[Ch] (loadLyXFile): added
3017 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3018 job removed from bufferlist::loadLyXFile.
3019 * buffer.C (setReadOnly): make it work without view
3020 (i.e added an if (users))
3022 2003-06-19 Angus Leeming <leeming@lyx.org>
3025 * LyXAction.C (init):
3026 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3027 with LFUN_DIALOG_SHOW <name> <data>.
3029 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3031 * CutAndPaste.C (availableSelections): small compilation fix for
3032 ancient (gcc 2.9x) compilers
3034 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3036 * text3.C (cursorNext): add tmp var
3038 * text2.C (updateCounters): for function calling out of for clause
3039 (replaceSelectionWithString): ditto
3040 (insertStringAsParagraphs): ditto
3041 (getColumnNearX): add tmp var
3042 (setCursorFromCoordinates): add tmp var
3043 (cursorDownParagraph): add tmp var
3044 (deleteEmptyParagraphMechanism): add tmp var
3046 * text.C (insertChar): add tmp var
3048 * rowpainter.C (paintDepthBar): add tmp var
3050 * CutAndPaste.C (availableSelections): potentially check all
3051 paragraphs in a cut to fill the shown strings.
3053 2003-06-18 André Pönitz <poenitz@gmx.net>
3055 * kbmap.[Ch]: use vector<> instead of list<>
3057 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3059 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3060 pasteSelection with index
3062 * text2.C (pasteSelection): modify, call pasteSelection with index
3064 * paragraph.C (asString): reimplement version with no interval to
3065 call the one with interval.
3067 * lyxtext.h: add index arg to pasteSelection
3069 * MenuBackend.C (MenuItem): handle PasteRecent
3070 (Menu::read::Menutags): add md_pasterecent
3072 (expandPasteRecent): new function
3075 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3077 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3079 (availableSelections): new function
3081 2003-06-17 Angus Leeming <leeming@lyx.org>
3083 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3085 2003-06-17 Angus Leeming <leeming@lyx.org>
3088 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3090 * lyxfunc.C (dispatch): invoke it.
3092 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3094 * iterators.C (operator++, ParPosition): reintroduce some
3095 const_cast for the benefit of older compilers.
3097 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3099 * text3.C (dispatch): do not modify clipboard when doing
3100 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3101 LFUN_DELETE_SKIP on a selection selection
3103 2003-06-16 André Pönitz <poenitz@gmx.net>
3109 * tabular.[Ch]: IU of clone() and getLabelList();
3111 2003-06-13 André Pönitz <poenitz@gmx.net>
3113 * tabular.h: compactification
3115 2003-06-12 André Pönitz <poenitz@gmx.net>
3119 * tabular_funcs.h: some renaming plus whitespace
3121 2003-06-12 André Pönitz <poenitz@gmx.net>
3124 * BufferView_pimpl.C:
3130 * toc.C: Return a Paragraph & for ParIterator::operator*()
3132 2003-06-11 John Levon <levon@movementarian.org>
3136 * ToolbarBackend.C: add "Toolbars" section and
3139 2003-06-10 Angus Leeming <leeming@lyx.org>
3142 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3144 * lyxfunc.C (dispatch): invoke it.
3146 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3148 * main.C: protect <ios> with HAVE_IOS
3149 (main): protect sync_with_stdio with HAVE_IOS
3151 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3153 * text2.C (cutSelection): adjust
3154 (pasteSelection): adjust
3156 * messages.C: handle get of empty string
3158 * main.C (main): use sync_with_stdio(false)
3160 * lyxfunc.C (dispatch): adjust
3162 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3163 (WriteAs): remove unneeded BufferView arg.
3165 * bufferparams.h: use correct types on papersize, papersize2 and
3168 * bufferparams.C (readToken): adjust for type
3169 (writeLaTeX): add missing cases to switch.
3171 * bufferlist.C (quitWriteBuffer): adjust
3174 * buffer.C (asciiParagraph): remove some commented code.
3176 * CutAndPaste.C: remove current_view extern variable.
3177 (cutSelection): add BufferParams arg.
3178 (eraseSelection): add BufferParams arg.
3179 (pasteSelection): add Buffer const & arg
3181 2003-06-07 John Levon <levon@movementarian.org>
3184 * paragraph_funcs.C:
3185 * paragraph_pimpl.C:
3189 * paragraph.C: allow InsetERT to freely space lines,
3190 and some consolidation of code
3192 2003-06-06 José Matos <jamatos@fep.up.pt>
3194 * buffer.C (makeDocBookFile): fix bug #821
3196 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3198 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3200 2003-06-04 Angus Leeming <leeming@lyx.org>
3202 * buffer.C: bump format to 224.
3204 2003-06-05 André Pönitz <poenitz@gmx.net>
3206 * text2.C (redoParagraphs): remove two const_cast<>
3208 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3210 * ParagraphList.h: remove last remnants of NO_STD_LIST
3212 2003-06-03 Angus Leeming <leeming@lyx.org>
3214 * factory.C (createInset): small change to the way InsetExternal's params
3217 2003-06-04 André Pönitz <poenitz@gmx.net>
3219 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3221 * paragraph_pimpl.h:
3222 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3224 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3226 * undo_funcs.C: make some simple cases of undo work again
3228 2003-06-03 John Levon <levon@movementarian.org>
3230 * ispell.C: HPUX doesn't have sys/select.h
3233 2003-06-03 John Levon <levon@movementarian.org>
3235 * CutAndPaste.C: update tabular and include inset
3240 * paragraph.C: remove owningBuffer(), don't pass Buffer
3243 * factory.C: insetGraphicsParams changed
3245 2003-06-02 John Levon <levon@movementarian.org>
3251 * text3.C: remove insetparent
3253 2003-06-02 John Levon <levon@movementarian.org>
3256 * buffer.C: fix inset_iterator.end(), move out of line
3259 2003-06-01 John Levon <levon@movementarian.org>
3261 * text3.C: use a proper cut/paste when doing inset
3262 insert (from Jürgen Spitzmüller)
3264 2003-06-01 John Levon <levon@movementarian.org>
3266 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3268 2003-05-30 André Pönitz <poenitz@gmx.net>
3270 * rowpainter.C: unify second drawing phase
3272 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3274 * trans_mgr.C: remove one case of current_view
3276 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3278 * paragraph_funcs.h: remove paragraph.h include
3280 * paragraph.h: delete NO_STD_LIST stuff
3282 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3284 * buffer.h: remove paragraph.h include
3286 * ParagraphList.C: delete file
3288 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3290 * toc.C (getTocList): adjust
3292 * paragraph_pimpl.C (validate): adjust
3294 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3296 * paragraph.C (Paragraph): adjust
3297 (getPositionOfInset): use const_iterator, adjust
3298 (bibitem): use const_iterator, adjust
3299 (setInsetOwner): adjust
3301 * iterators.C (operator++): adjust
3303 * InsetList.[Ch]: Replace selfmade iterator with standard
3304 vector::iterator also introduce const_iterator. Remove getPos,
3305 getInset and setInset from InsetTable. Adjust accordingly.
3307 * BufferView.C (lockInset): adjust
3308 (ChangeInsets): adjust
3310 * tabular.[Ch]: delete commented same_id functions
3312 2003-05-28 John Levon <levon@movementarian.org>
3314 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3316 2003-05-28 André Pönitz <poenitz@gmx.net>
3318 * metricsinfo.[Ch]: remove 'fullredraw' member
3320 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3322 * lyxtextclass.C (operator): remove caching.
3324 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3328 * text2.C (cursorBottom): adjust
3329 (setCounter): use ParagraphList::find, adjust
3331 * text.C (workWidth): use ParagraphList::find, adjust
3333 * lyxcursor.C (LyXCursor): adjust
3335 * buffer.C (inset_iterator): adjust
3337 * ParagraphList.h: make iterator(value_type) private, make
3338 ParagraphList a friend of iterator.
3340 * ParagraphList.C (find): new function
3342 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3344 2003-05-27 André Pönitz <poenitz@gmx.net>
3346 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3348 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3350 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3352 2003-05-26 John Levon <levon@movementarian.org>
3354 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3356 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3358 * remove same_id from function signatures, adjust.
3360 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3362 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3364 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3366 * paragraph.C (Paragraph): get rid of same_ids parameter
3368 * ParagraphList.C (insert): adjust
3371 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3373 * paragraph_funcs.C (breakParagraph): adjust
3374 (breakParagraphConservative): adjust
3376 * buffer.C (readParagraph): adjust
3378 * ParagraphList.C (insert): take a reference instead of a pointer
3381 * paragraph.[Ch] (id): new function
3383 * bufferlist.C (newFile): adjust
3385 * ParagraphList.C (ParagraphList): adjust
3387 (push_back): take a reference instead of a pointer.
3389 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3391 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3394 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3395 set else use old code.
3397 * ParagraphList.C: remove all NO_NEXT code and only compile this
3398 code of NO_STD_LIST is set.
3400 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3402 * BufferView_pimpl.C:
3412 * graphics/GraphicsConverter.C:
3413 * graphics/PreviewLoader.C: header adjustment
3415 2003-05-23 Angus Leeming <leeming@lyx.org>
3417 * LaTeXFeatures.[Ch] (useBabel): new method.
3418 * bufferparams.C (writeLaTeX): use it.
3420 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3422 * ParagraphList.h (set): remove unused function.
3424 2003-05-23 André Pönitz <poenitz@gmx.net>
3427 * BufferView_pimpl.C:
3431 * undo_funcs.C: setUndo reworked
3433 * iterators.[Ch]: add access to topmost ParagraphList
3435 * lyxtext.[Ch] (workWidth): add a const
3437 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3439 * texrow.[Ch] (increasePos): remove function
3440 * exporter.C (export): removed unused var and outdated comment
3442 2003-05-23 Angus Leeming <leeming@lyx.org>
3444 * latexrunparams.h: rename fragile as moving_arg.
3445 * paragraph.C (simpleTeXOnePar): ditto.
3446 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3448 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3450 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3452 (textUndoOrRedo): comment out a currently unused var.
3454 * paragraph.h (NO_NEXT): enable NO_NEXT
3456 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3458 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3460 * exporter.C (Export): adjust for removeAutoInsets removal.
3462 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3464 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3466 * BufferView.[Ch] (removeAutoInsets): delete function
3468 2003-05-22 Angus Leeming <leeming@lyx.org>
3470 * latexrunparams.h: add a free_spacing variable.
3472 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3473 to pass moving_arg, as the data is stored in runparams.fragile.
3475 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3476 to Inset::latexOptional or to simpleTeXOnePar.
3478 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3479 free_spacing arg to Inset::latexOptional.
3481 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3484 2003-05-22 Angus Leeming <leeming@lyx.org>
3486 * latexrunparams.h: add fragile and use_babel variables.
3488 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3489 * buffer.C (makeLaTeXFile): store this returned value in
3490 runparams.use_babel, thus passing it to the inset::latex methods.
3492 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3493 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3495 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3496 longer has a fragile arg, as it is stored in runparams.fragile.
3498 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3499 moving_arg parameter as the data is stored in runparams.fragile.
3501 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3502 a fragile parameter as the data is stored in runparams.fragile.
3504 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3506 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3508 2003-05-22 Angus Leeming <leeming@lyx.org>
3510 * latexrunparams.h: add a 'bool nice' which defaults to false.
3512 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3513 now encapsulated within runparams.
3515 * bufferlist.C (updateIncludedTeXfiles):
3516 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3518 2003-05-22 Angus Leeming <leeming@lyx.org>
3520 * latexrunparams.h: new file containing struct LatexRunParams.
3521 * Makefile.am: add new file.
3523 * LaTeX.[Ch] (c-tor, run):
3524 * buffer.[Ch] (makeLaTeXFile):
3525 * bufferlist.[Ch] (updateIncludedTeXfiles):
3526 * converter.C (convert, scanLog):
3527 * converter.[Ch] (runLaTeX):
3528 * exporter.C (Export):
3529 * paragraph.[Ch] (simpleTeXOnePar):
3530 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3531 * paragraph_funcs.[Ch] (latexParagraphs):
3532 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3533 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3534 pass around a LatexRunParams parameter.
3536 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3538 * paragraph.[Ch]: remove unused constructor
3540 * ParagraphList.C (erase): new function, taking two iterators
3542 2003-05-22 André Pönitz <poenitz@gmx.net>
3544 * undo_funcs.C: remove duplicated code
3546 * iterator.[Ch]: operator=
3548 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3550 * tabular.C (SetMultiColumn): ws changes
3552 * rowpainter.C (paintFirst): get rid of a ->previous
3554 * lyx_cb.C (getPossibleLabel): parlist simplification
3556 * BufferView.C (ChangeInsets): simplify slightly.
3558 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3560 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3561 * lfuns.h: new LFUN_SPACE
3562 * lyxfunc.C: protected space has a new lfun
3563 * paragraph_funcs.C: read new space insets
3565 * factory.C: handle new space insets
3567 2003-05-22 André Pönitz <poenitz@gmx.net>
3570 * BufferView_pimpl.C:
3573 * undo_funcs.C: return a ParIterator from getParFromID.
3575 * iterators.[Ch]: add two const's
3577 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3579 * toc.C (getTocList): adjust
3581 * iterators.[Ch]: rework for parlist
3583 * buffer.C (par_iterator_begin): adjust
3584 (par_iterator_end): adjust
3586 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3588 * BufferView.C (removeAutoInsets): adjust
3589 (ChangeInsets): adjust
3591 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3593 * text.C (top_y): fix bug 1110
3595 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3597 * errorlist.[Ch]: added
3600 * BufferView_pimpl.C:
3601 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3604 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3606 * Makefile.am: ensure that lyx is relinked upon changes to the
3607 various "convenience" libs.
3609 2003-05-20 Angus Leeming <leeming@lyx.org>
3611 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3612 files are compiled in alphabetical order again.
3614 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3616 2003-05-19 Angus Leeming <leeming@lyx.org>
3618 * gettext.[Ch]: remove "char const * _(char const *)".
3620 2003-05-19 André Pönitz <poenitz@gmx.net>
3622 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3631 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3633 2003-05-19 André Pönitz <poenitz@gmx.net>
3637 * lyxtextclass.[Ch]:
3639 * paragraph_funcs.[Ch]:
3641 * text3.C: more insetenv work
3643 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3645 * ParagraphParameters.C (params2string): small bug fixed
3647 2003-05-16 André Pönitz <poenitz@gmx.net>
3650 * bufferview_funcs.C: patch from Kornel Benko to prevent
3651 crash when _(...) is called twice in a statement
3653 2003-05-16 André Pönitz <poenitz@gmx.net>
3660 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3662 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3664 * lyx_main.C (init): remove spurious static_cast
3666 2003-05-14 André Pönitz <poenitz@gmx.net>
3668 * BufferView.C: fix format string
3670 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3672 * BufferView.[Ch] (insertErrors): removed
3673 * BufferView.[Ch] (showErrorList): added
3674 * buffer.C (runChkTeX):
3675 * converter.C (scanLog): call showErrorList instead of inserterrors
3677 2003-05-13 André Pönitz <poenitz@gmx.net>
3679 * BufferView_pimpl.C:
3681 * bufferview_func.C:
3688 * tabular_funcs.h: tostr() from its own header
3690 * ParagraphParameters.C:
3695 * text3.C: STRCONV()
3697 2003-05-12 André Pönitz <poenitz@gmx.net>
3700 * BufferView_pimpl.C:
3704 * ParagraphParameters.C:
3708 * bufferview_funcs.C:
3721 * paragraph_funcs.C:
3725 * text3.C: boost::format -> bformat all over the place
3728 2003-05-09 André Pönitz <poenitz@gmx.net>
3730 * LColor.[Ch]: Pimpl the #include <map> away
3732 2003-05-09 John Levon <levon@movementarian.org>
3734 * bufferlist.C: never remove emergency saves
3736 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3738 * Makefile.am: better lib building
3740 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3742 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3744 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3745 (simpleTeXSpecialChars): adjust
3746 (simpleTeXSpecialChars): adjust
3747 * paragraph.C (simpleTeXOnePar): adjust
3748 * buffer.C (makeLaTeXFile): adjust
3750 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3752 * text2.C (changeDepth): parlist cleanup
3753 (getColumnNearX): ditto
3755 * rowpainter.C (getLabelFont): parlist cleanup
3757 * bufferlist.C (newFile): parlist cleanup
3759 * CutAndPaste.C (eraseSelection): parlist cleanup
3761 * BufferView_pimpl.C (trackChanges): parlist cleanup
3764 * BufferView.C (lockInset): parlist cleanup.
3765 (ChangeInsets): ditto
3767 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3769 * CutAndPaste.h: Update file header.
3771 * CutAndPaste.C: Update file header.
3772 Store the parts cut out of the Document in a limited_stack.
3773 (copySelection): adjust
3774 (pasteSelection): new function, takes the index in the limited stack.
3775 (nrOfParagraphs): adjust
3776 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3777 simplify error inset insertion.
3778 (checkPastePossible): adjust
3780 2003-05-06 John Levon <levon@movementarian.org>
3782 * text2.C: don't cast wrap inset to float
3784 2003-05-05 André Pönitz <poenitz@gmx.net>
3787 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3789 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3790 few naked Paragraph *.
3792 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3794 * bufferparams.C: Output warning if a document with missing
3795 TeX document class is loaded
3796 * exporter.C: Disable TeX exports if the document class is missing
3799 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3800 isTeXClassAvailable()
3802 2003-05-03 John Levon <levon@movementarian.org>
3805 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3806 explicit cursor show/hide
3808 * BufferView_pimpl.h:
3809 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3810 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3812 * lyxfunc.C: hide cursor before dispatching.
3817 * text3.C: remove explicit cursor hides
3819 2003-05-02 André Pönitz <poenitz@gmx.net>
3821 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3824 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3827 * text2.C: tiny whitespace
3829 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3831 * undo_funcs.C: almost only ws changes.
3833 * ParagraphList.C (splice): just return if pl is empty.
3835 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3837 * ParagraphList.C (splice): new function.
3839 * CutAndPaste.C (pasteSelection): use it
3841 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3843 * CutAndPaste.C (pasteSelection): remove the last next and
3844 previous from this file.
3846 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3848 * CutAndPaste.C (pasteSelection): more clean up, user proper
3849 ParagraphList functions for pasteing.
3851 * ParagraphList.C (insert): new function, three arg insert
3853 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3855 * ParagraphList.C (insert): new function, three arg insert
3857 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3860 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3862 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3864 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3866 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3868 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3870 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3871 (copySelection): clean up a bit.
3872 (pasteSelection): use make_pair
3874 * ParagraphList.C (ParagraphList): implement copy constructor
3875 (operator=): implement, base on copy constructor.
3878 * paragraph.C (erase): return a bool
3880 * paragraph_pimpl.C (erasePos): remove function, move contents...
3881 (erase): ... here. Return a bool.
3882 (erase): call erase instead of erasePos.
3884 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3886 * ParagraphList.h: define PitPosPair
3887 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3888 ParagraphList, fix a bug on pasting multiple pars
3889 * text2.C: change interface to C&P
3891 2003-04-30 André Pönitz <poenitz@gmx.net>
3893 * undo_func.C: revert part of yesterday's patch 2
3895 2003-04-30 John Levon <levon@movementarian.org>
3897 * LColor.C: s/tabular/table/
3899 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3901 * text3.C (dispatch): do not convert iterator -> pointer
3902 * undo_funcs.C (setCursorParUndo): ditto
3903 * text_funcs.C (transposeChars): ditto
3905 * text2.C (setLayout): ws changes only
3907 * text.C (breakParagraph): do not convert iterator -> pointer
3909 (acceptChange): ditto
3910 (rejectChange): ditto
3915 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3918 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3920 * text3.C (gotoInset): YABG (yet another bad getChar)
3922 2003-04-29 André Pönitz <poenitz@gmx.net>
3924 * paragraph.h: make operator= private unimplemented as long as
3927 * ParagraphList.C: whitespace
3930 * paragraph_pimpl.[Ch]:
3931 * paragraph_funcs.C:
3933 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3936 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3938 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3940 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3941 * paragraph.[Ch] (erase):
3942 * paragraph_pimpl.[Ch] (erase): change return type and value
3943 * text2.C (cutSelection): some rework
3945 2003-04-28 John Levon <levon@movementarian.org>
3947 * bufferlist.C: changes for unsaved changes dialog
3949 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3951 * bufferlist.C (newFile): set language (messages_) for new
3954 * buffer.C (readFile): ws changes only.
3956 2003-04-28 André Pönitz <poenitz@gmx.net>
3961 * BufferView_pimpl.C:
3962 * BufferView.C: getParFromID related ParagraphList::iterator changes
3964 2003-04-28 André Pönitz <poenitz@gmx.net>
3966 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3969 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3971 * messages.C: remove one more localedir class variable.
3973 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3975 * messages.C (getLocaleDir): singleton generation function
3977 (Messages): add a default constructor.
3979 * main.C (main): do not setup localedir here, do not call
3982 * gettext.C (_): use it.
3983 (gettext_init): delete funciton
3985 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3987 * gettext.C (getLyXMessages): new singleton generating function.
3989 * buffer.C (updateDocLang): adjust
3991 * Makefile.am (messages.o): add target
3992 (main.o): remove target
3994 2003-04-27 John Levon <levon@movementarian.org>
3999 * lyxvc.C: specify cancel button in Alert::prompt
4001 2003-04-26 John Levon <levon@movementarian.org>
4006 * LyXAction.C: add LFUN_INSET_SETTINGS
4008 * lyxfunc.C: don't enable tabular-feature when there's
4009 just any locking inset
4011 2003-04-26 John Levon <levon@movementarian.org>
4013 * bufferlist.C: re-add Cancel to buffer close question
4015 * lyxfunc.C: fix import UI a bit
4017 2003-04-25 John Levon <levon@movementarian.org>
4019 * gettext.C: remove the broken asserts for now
4021 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4023 * messages.C: make case where setlocale cannot comply work better.
4025 * buffer.C (updateDocLang): new function
4026 (changeLanguage): use it
4029 * text2.C (setCounter): use B_ a bit.
4031 * lyxlayout.C (Read): be sure to trim the label strings.
4033 * messages.C (Messages): fix typo in comment
4035 * buffer.C (readFile): set message_ after file is loaded.
4036 (makeDocBookFile): remove double return
4037 (changeLanguage): reset message_ upon language change.
4038 (B_): new func, use this to get translated buffer strings.
4040 * main.C: add myself and Jean Marc as authors.
4042 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4044 * messages.[hC]: pimplify Messages, and three different pimpls to be
4045 used in different circumstances.
4047 * gettext.[Ch]: change for use with new message code.
4049 2003-04-24 André Pönitz <poenitz@gmx.net>
4051 * factory.C: support for eqref
4053 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4055 * messages.[Ch]: add missing char
4057 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4059 * messages.[Ch]: New files
4061 2003-04-18 John Levon <levon@movementarian.org>
4065 * BufferView_pimpl.C:
4069 * text2.C: remove layout-copy/paste (bug 778)
4071 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4073 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4075 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4077 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4078 if they succeed. Act accordingly.
4080 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4082 * text2.C (setCharFont): adjust
4083 (setCounter): adjust
4084 (insertStringAsLines): adjust
4086 * text.C (leftMargin): adjust
4087 (setHeightOfRow): adjust
4089 * rowpainter.C (paintFirst): adjust
4092 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4094 (isFirstInSequence): ditto
4095 (getEndLabel): ditto
4098 * paragraph.C (getParLanguage): comment out some hard stuff.
4100 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4102 (simpleDocBookOnePar): ditto
4103 (makeDocBookFile): use ParagraphList::iterator
4105 * CutAndPaste.C (pasteSelection): adjust
4107 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4109 * text2.C (getFont): adjust
4110 (getLayoutFont): adjust
4111 (getLabelFont): adjust
4113 * paragraph_funcs.C (TeXOnePar): adjust
4115 * buffer.C (simpleLinuxDocOnePar): adjust
4116 (simpleDocBookOnePar): adjust
4118 * CutAndPaste.C (pasteSelection): adjust
4120 * BufferView.C (getEncoding): adjust
4122 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4124 2003-04-16 John Levon <levon@movementarian.org>
4126 * lyxfind.C: use parlist stuff for search/changes
4128 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4130 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4132 * text2.C (deleteEmptyParagraphMechanism): adjust
4134 * text2.[Ch] (ownerParagraph): delete func (both of them
4136 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4138 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4140 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4142 * ParagraphList.C: prepare for NO_NEXT
4144 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4146 * text2.C (getFont): adjust
4147 (getLayoutFont): adjust
4148 (getLabelFont): adjust
4150 * paragraph.C (getFont): adjust
4151 (getLabelFont): adjust
4152 (getLayoutFont): adjust
4154 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4156 2003-04-15 John Levon <levon@movementarian.org>
4160 * lyx_main.C: handle Include in .ui files
4162 2003-04-15 John Levon <levon@movementarian.org>
4164 * MenuBackend.C: make the doc files length shorter
4167 * ToolbarBackend.C: handle toolbar placement flags,
4170 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4172 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4175 * paragraph_funcs.C (TeXOnePar): adjust
4177 * paragraph.C (getLabelFont): add outerfont arg, adjust
4178 (getLayoutFont): ditto
4179 (simpleTeXOnePar): adjust
4181 * paragraph_pimpl.C (realizeFont): delete func
4183 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4185 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4186 row argument, constify cur argument.
4188 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4190 * text2.C (getFont): adjust
4191 (getLayoutFont): adjust
4192 (getLabelFont): adjust
4194 * paragraph_funcs.C (TeXOnePar): adjust
4195 (outerFont): new func...
4196 (realizeFont): ...moved out from here, changed this to facilitate
4199 * paragraph.C (getFont): take outerfont as arg, adjust
4200 (simpleTeXOnePar): add outerfont arg, adjust
4202 * buffer.C (simpleLinuxDocOnePar): adjust
4203 (simpleDocBookOnePar): adjust
4205 * CutAndPaste.C (pasteSelection): adjust
4207 * BufferView.C (getEncoding): adjust
4209 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4211 * text2.C (setCharFont): adjust
4212 (setCounter): adjust
4214 * text.C (leftMargin): adjust
4215 (setHeightOfRow): adjust
4217 * rowpainter.C (paintFirst): adjust
4220 * paragraph_pimpl.C (realizeFont): adjust
4222 * paragraph.C (isFirstInSequence): move from here...
4223 * paragraph_funcs.C (isFirstInSequence): ...to here
4225 * paragraph.C (outerHook): move from here...
4226 * paragraph_funcs.C (outerHook): ...to here
4228 * paragraph.C (depthHook): move from here...
4229 * paragraph_funcs.C (depthHook): ...to here
4231 * paragraph.C (getEndLabel): move from here...
4232 * paragraph_funcs.C (getEndLabel): ...to here
4234 * text2.C (realizeFont): move from here...
4235 * paragraph_funcs.C (realizeFont): ...to here
4237 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4239 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4241 2003-04-14 Angus Leeming <leeming@lyx.org>
4243 * LColor.[Ch]: scrap LColor mathcursor.
4245 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4247 * lyxlex.[Ch] (text): delete function
4248 * trans.C (Load): adjust
4249 * paragraph_funcs.C (readParToken): adjust
4251 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4253 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4254 vector<char> instead of a char[].
4256 * lyxlex_pimpl.C (getString): adjust
4258 (lex): use getString
4262 * lyxlex.C (text): use pimpl_->getString()
4266 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4268 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4269 (makeFontEntriesLayoutSpecific): temp var for par.size()
4270 (setLayout): temp var for ownerParagraphs().end()
4271 (fullRebreak): temp var for rows().end()
4272 (selectionAsString): temp var for boost::next(startpit), realize
4273 that the while really is a regular for loop.
4274 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4275 setCursor in one place.
4276 (setParagraph): temp vr for ownerParagraphs().end()
4277 (updateCounters): make the while loop a for loop
4278 (cutSelection): temp var for ownerParagraphs().end()
4279 (updateInset): make the do {} while() a regular for loop
4280 (getCursorX): use temp vars
4281 (setCurrentFont): use temp vars
4282 (getColumnNearX): use temp vars
4284 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4286 * text.C (transformChar): use temp var for getChar
4287 (computeBidiTables): use temp var for row->par()
4288 (fill): move temp vars for row->par() and pit->layout() earlier in
4290 (labelFill): use temp var for row->par()
4291 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4292 asc and desc, realize that pit never changes and that firstpit is
4293 just a duplicate and not needed. Exchange rit->par() with pit in a
4295 (breakAgain): use a temp var for boost::next(rit)
4296 (breakAgainOneRow): ditto
4297 (breakParagraph): use a temp var for rows().begin()
4298 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4299 (cursorRightOneWord): use temp var for cursor.par() and
4300 cursor.pos(), remove usage of tmpcursor.
4301 (cursorLeftOneWord): use temp var for cursor.par() and
4302 cursor.pos() only set cur at end of function.
4304 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4306 * text.C, text2.C: exchange all usage of Paragraph::next with
4307 boost::next(ParagraphList::iterator)
4309 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4311 * text2.C (cursorTop): simplify implementation
4312 (cursorBottom): ditto
4313 (setParagraph): use ParagraphList::iterator
4314 (setCurrentFont): adjust
4315 (getColumnNearX): adjust
4316 (cursorRight): adjust
4317 (cursorLeft): remove usage of Paragraph::previous
4318 (cursorUpParagraph): ditto
4319 (deleteEmptyParagraphMechanism): slight cleanup
4321 * text.C (isBoundary): take a Paragraph const & instead of a
4323 (addressBreakPoint): ditto
4324 (leftMargin): remove usage of Paragraph::previous.
4325 (setHeightOfRow): ditto
4326 (cursorLeftOneWord): ditto
4327 (selectNextWordToSpellcheck): ditto
4330 (breakParagraph): remove one usage of Paragraph::next
4331 (redoParagraph): ditto
4332 (acceptChange): ditto
4333 (insertChar): adjust
4334 (rowBreakPoint): adjust
4336 * bufferview_funcs.C (toggleAndShow): adjust
4338 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4340 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4341 methods to access it.
4343 * text.C: Added updateRowPositions to compute all row positions.
4344 Make top_y and getRowNearY() to use the cached y position
4346 2003-04-11 John Levon <levon@movementarian.org>
4348 * text.C (rowBreakPoint): reintroduce the labelEnd
4349 checks, code copied from the row fill stuff. Deep voodoo.
4351 * text.C (fill): add a comment and debugging for the
4354 2003-04-11 John Levon <levon@movementarian.org>
4356 * text.C: make sure fullrow insets get wrapped to the next line,
4357 even when they're in a manual label
4359 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4361 * text2.C (insertParagraph): make it take ParagraphList::iterator
4363 (setLayout): make it return ParagraphList::iterator
4364 (redoParagraphs): ditto
4366 (checkParagraph): ditto
4368 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4370 * text2.C: adjust several funcs.
4371 (realizeFont): take a ParagraphList::iterator as arg.
4372 (getLayoutFont): ditto
4373 (getLabelFont): ditto
4374 (setCharFont): ditto
4376 * text.C: adjust several funcs.
4378 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4380 * text.C (selectNextWordToSpellcheck): don't accidentally
4383 2003-04-10 John Levon <levon@movementarian.org>
4385 * ToolbarBackend.C (getIcon): special handling for
4388 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4390 * text2.C (cursorRight): a getChar assert fixed
4392 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4394 * text2.C (getFont): change to take a ParagraphList::iterator
4395 instead of Paragraph*
4396 Adjust several functions.
4398 * text.C (transformChar): change to take a ParagraphList::iterator
4399 instead of Paragraph*
4400 (singleWidth): ditto
4401 Adjust several functions.
4403 * rowpainter.C: adjust several functions
4404 * rowpainter.h:store a ParagraphList::iterator and not a
4408 2003-04-09 John Levon <levon@movementarian.org>
4413 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4414 and the "help" bits as well
4416 2003-04-09 John Levon <levon@movementarian.org>
4419 * ToolbarBackend.C: allow multiple toolbars
4421 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4423 * undo_funcs.C (setCursorParUndo): adjust
4425 * text_funcs.C (transposeChars): adjust
4427 * text3.C (gotoNextInset): adjust
4430 * text2.C (setLayout): adjust
4431 (changeDepth): adjust
4433 (redoParagraphs): adjust
4434 (selectionAsString): adjust
4435 (setParagraph): adjust
4436 (insertInset): adjust
4437 (cutSelection): adjust
4438 (copySelection): adjust
4439 (pasteSelection): adjust
4440 (insertStringAsLines): adjust
4441 (updateInset): adjust
4442 (setCursor): change to take a ParagraphList::iterator parameter
4443 (setCursorIntern): change to take a ParagraphList::iterator parameter
4444 (setCurrentFont): adjust
4445 (cursorLeft): adjust
4446 (cursorRight): adjust
4447 (deleteEmptyParagraphMechanism): adjust
4449 * text.C (breakParagraph): adjust
4450 (insertChar): adjust
4451 (acceptChange): adjust
4452 (rejectChange): adjust
4453 (selectNextWordToSpellcheck): adjust
4454 (changeCase): adjust
4458 * lyxfind.C (SearchForward): adjust
4459 (SearchBackward): adjust
4460 (nextChange): adjust
4462 * lyxcursor.C (par): adjust
4464 * lyxcursor.h: store a ParagraphList::iterator instead of a
4467 * lyx_cb.C (getPossibleLabel): adjust
4469 * bufferview_funcs.C (toggleAndShow): adjust
4471 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4474 * BufferView.C (removeAutoInsets): adjust
4475 (lockedInsetStoreUndo): adjust
4477 2003-04-09 John Levon <levon@movementarian.org>
4479 * ToolbarBackend.C: try icon without argument
4480 if with argument fails
4482 2003-04-08 John Levon <levon@movementarian.org>
4485 * ToolbarBackend.C: add getIcon(), handle tooltip,
4486 and change from "Icon" to "Item".
4488 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4490 * BufferView.C (lockInset): another bad getchar crunched
4492 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4494 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4497 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4499 * lyxfind.C (searchForward, searchBackwards): bug 782
4501 2003-04-07 John Levon <levon@movementarian.org>
4503 * paragraph.C: remove dead comment
4505 * text.C: remove troublesome depth-fiddling code
4506 in leftMargin() and rightMargin() (bug 1017)
4508 * text.C: fix breaking of rows in nested lists
4511 * text2.C (updateCounters): fix up depth values
4514 2003-04-07 John Levon <levon@movementarian.org>
4516 * BufferView_pimpl.C: clear message when doc finishes resizing,
4517 and after a mouse event
4519 * lyxfunc.C: clear message after exiting inset
4521 2003-04-07 John Levon <levon@movementarian.org>
4523 * bufferview_funcs.C: show math status not outside
4524 status in the statusbar
4526 2003-04-07 John Levon <levon@movementarian.org>
4528 * lyxfunc.C: note status changed after a depth change
4530 2003-04-04 Angus Leeming <leeming@lyx.org>
4532 * LaTeX.h: move AuxInfo operator==, != out of line.
4533 Remove LaTeX virtual destructor; nothing derives from it.
4534 Move operator()() out of public area and rename it startscript().
4535 Change protected for private.
4537 2003-04-04 Angus Leeming <leeming@lyx.org>
4540 * text2.C: remove unneeded #includes.
4542 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4544 * text2.C (dEPM): fix the heigth of the next row
4546 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4548 * text.C: squashed an invalid getChar requester + some ws changes
4550 2003-04-03 John Levon <levon@movementarian.org>
4552 * bufferview_funcs.h:
4553 * bufferview_funcs.C:
4556 * text2.C: make getStatus work for the env depth lfuns
4558 2003-04-03 John Levon <levon@movementarian.org>
4560 * bufferview_funcs.h:
4561 * bufferview_funcs.C:
4564 * text2.C: parlistize decDepth(), by merging it with incDepth()
4566 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4568 * lyxrow.h: store a ParagraphList::iterator instead of a
4569 Paragraph* and adjust other class functions to suit.
4571 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4574 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4576 * text2.C (setCursor): do not anchor to cursor row for the time being
4578 2003-04-02 John Levon <levon@movementarian.org>
4585 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4587 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4589 * paragraph.h: make ParagraphList and ParagraphList::iterator
4590 friends of Paragraph.
4592 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4594 * ParagraphList.C: Use the private next_ and previous_ from
4597 2003-04-01 John Levon <levon@movementarian.org>
4601 * Makefile.am: rename, remove defaults gunk
4604 * MenuBackend.C: remove defaults gunk
4607 * Languages.C: remove defaults gunk
4610 * lyx_main.C: error out if files couldn't be found.
4612 2003-04-02 John Levon <levon@movementarian.org>
4614 * text2.C: make incDepth() use parlist
4616 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4618 * undo_funcs.C (firstUndoParagraph): adjust
4620 * text3.C (gotoInset): adjust
4621 (dispatch): adjust, and rewrite loop.
4623 * text2.C (init): adjust, and rewrite loop.
4624 (redoParagraphs): adjust
4625 (updateInset): adjust, and rewrite loop.
4626 (deleteEmptyParagraphMechanism): adjust
4628 * tabular.C (LyXTabular): adjust
4629 (SetMultiColumn): adjust
4632 * lyxtext.[Ch] (ownerParagraph): delete function
4633 (ownerParagraphs): new function returns a ParagraphList.
4635 * BufferView.C (removeAutoInsets): adjust
4636 (insertErrors): adjust
4637 (setCursorFromRow): adjust
4639 2003-04-01 Angus Leeming <leeming@lyx.org>
4641 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4644 2003-04-02 John Levon <levon@movementarian.org>
4650 * text_funcs.C: make transposeChars a free function
4652 * lyxrow_funcs.C: remove wrong comment
4654 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4657 * rowpainter.C: adjust
4662 * lyxrow_funcs. [Ch]: new files
4664 * lyxrow.[Ch]: remove next and previous pointers
4665 (next,previous): remove accessor functions
4666 (isParEnd): move to lyxrow_funcs
4667 (lastPos): move to lyxrow_funcs
4668 (nextRowIsAllInset): move to lyxrow_funcs
4669 (lastPrintablePos): move to lyxrow_funcs
4670 (numberOfSeparators): move to lyxrow_funcs
4671 (numberOfHfills): move to lyxrow_funcs
4672 (numberOfLabelHfills): move to lyxrow_funcs
4673 (hfillExpansion): move to lyxrow_funcs
4677 * bufferview_funcs.C (toggleAndShow): adjust
4679 * RowList.h: Remove class RowList from file leave just a
4682 * RowList.C: delete file
4684 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4687 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4689 * text3.C (cursorPrevious): adjust
4690 (cursorNext): adjust
4693 * text2.C (redoHeightOfParagraph): adjust
4694 (redoDrawingOfParagraph): adjust
4697 * text.C (breakParagraph): adjust
4698 (insertChar): adjust
4701 * rowpainter.C (RowPainter): adjust
4702 (leftMargin): simplify and adjust
4703 (most rowpainter functions): adjust.
4705 * rowpainter.h: store the row as RowList::iterator not as Row*
4707 * lyxcursor.C (row): taka RowList::iterator as arg
4710 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4713 2003-04-01 Angus Leeming <leeming@lyx.org>
4715 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4716 stuff like bool Bool.
4718 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4720 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4723 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4725 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4728 * lyxtext.h (rows): drop one version and leve a const variant that
4729 returns a RowList::iterator.
4731 2003-03-31 Angus Leeming <leeming@lyx.org>
4733 * text.C (fill): ensure that the signature is the same as that in the
4736 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4738 * text2.C (redoParagraphs): adjust
4739 (updateCounters): adjust
4740 (checkParagraph): adjust
4741 (getColumnNearX): adjust and reformat a bit.
4743 * text.C (top_y): adjust
4745 (leftMargin): adjust
4746 (prepareToPrint): adjust
4748 (getRowNearY): adjust
4750 * lyxtext.h: make rowlist_ mutable.
4752 * RowList.h: add const_iterator
4753 * RowList.C: adjust for RowList::const_iterator.
4755 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4758 2003-03-31 John Levon <levon@movementarian.org>
4761 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4763 * lyx_main.C: set default fonts from using lyx_gui funcs
4765 * exporter.C: pdf_mode moved from lyxrc
4768 * lyxfunc.C: changes from above
4770 2003-03-31 John Levon <levon@movementarian.org>
4772 * lyx_main.C: fix to the last fix
4774 2003-03-31 John Levon <levon@movementarian.org>
4776 * bufferlist.C: "Load original" -> "Load Original"
4782 * format.C: more Alert cleanups
4784 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4786 * text2.C (removeParagraph): make it take a RowList::iterator as
4788 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4789 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4791 * text.C (anchor_row): make it take a RowList::iterator as arg,
4793 (computeBidiTables): make it take a const reference to Row instead
4794 of Row pointer, adjust.
4795 (leftMargin): make it take a RowList::iterator as arg, adjust.
4796 (rowBreakPoint): adjust
4797 (breakAgainOneRow): make it take a RowList::iterator as arg,
4799 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4801 * bufferview_funcs.C (toggleAndShow): adjust
4803 2003-03-30 John Levon <levon@movementarian.org>
4807 * boost-inst.C: moved to support
4809 * several files: changes as a result
4811 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4813 * text2.C (LyXText): adjust.
4815 (removeRow): make it take a RowList::iterator as arg, adjust.
4816 (fullRebreak): adjust
4817 (deleteEmptyParagraphMechanism): adjust
4818 (clearPaint): adjust
4821 * text.C (top_y): adjust
4822 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4823 (breakAgain): make it take a RowList::iterator as arg, adjust.
4824 (breakParagraph): adjust
4825 (insertChar): adjust
4828 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4829 need_break_row, and refresh_row.
4831 * text3.C (dispatch): adjust
4833 * text2.C (checkParagraph): adjust
4835 (setCursorFromCoordinates): adjust
4837 * text.C (top_y): adjust
4839 (getRow): make it return a RowList::iterator, adjust
4840 (getRowNearY): make it return a RowList::iterator, adjust
4842 * text2.C (init): adjust
4843 (insertRow): remove function
4844 (insertParagraph): adjust
4845 (redoParagraphs): adjust
4846 (fullRebreak): adjust
4847 (updateCounters): adjust
4849 * text.C (top_y): rewrite to use RowList iterators.
4851 (setHeightOfRow): rewrite to sue RowList iterators.
4852 (appendParagraph): adjust
4853 (breakAgain): adjust
4854 (breakAgainOneRow): adjust
4855 (breakParagraph): adjust
4857 (getRowNearY): adjust, and remove commented code.
4859 * lyxtext.h (firstRow): delete function
4860 (lastRow): delete function
4861 (rows): new function (const and non-const versions.)
4862 (insertRow): delete function
4864 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4866 2003-03-29 John Levon <levon@movementarian.org>
4868 * BufferView_pimpl.C: always update scrollbar top
4869 because pasting text when we're anchored could mean we
4870 miss an update altogether
4872 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4874 * text2.C (init): use rowlist_.end() and not 0.
4875 (insertRow): change to take a RowList::iterator as arg, adjust
4877 (insertParagraph): change to take a RowList::iterator as arg,
4879 (redoParagraphs): remove some debug msgs.
4881 * text.C (appendParagraph): change to take a RowList::iterator
4882 arg, adjust for this.
4883 (breakAgain): add an assert
4884 (breakAgainOneRow): ditto
4886 2003-03-29 John Levon <levon@movementarian.org>
4888 * text2.C: do not clear selection after inc/decDepth
4891 2003-03-29 John Levon <levon@movementarian.org>
4894 * buffer.C: fix broken strerrors according to Lars
4896 2003-03-29 John Levon <levon@movementarian.org>
4898 * converters.C: more Alert cleanups
4900 2003-03-29 John Levon <levon@movementarian.org>
4902 * bufferview_funcs.C: remove pointless Alert
4904 * buffer.C: fix confusing error message when
4905 a template is chmoded 000
4907 2003-03-29 John Levon <levon@movementarian.org>
4911 * BufferView_pimpl.C: Alert fixes
4915 * tabular-old.C: remove unused table compat reading
4917 2003-03-29 John Levon <levon@movementarian.org>
4922 * lyx_cb.C: more Alert cleanups
4924 * lyxfunc.C: don't allow chktex if not latex document
4926 2003-03-29 John Levon <levon@movementarian.org>
4930 * buffer.C: warnings pushed down from support/,
4933 2003-03-29 John Levon <levon@movementarian.org>
4935 * lyxfunc.C: safety check for C-r (revert)
4937 2003-03-29 John Levon <levon@movementarian.org>
4940 * bufferlist.C: several UI fixes using Alert::prompt.
4941 Fix the pointless looping quit code. Fix stupid revert
4946 * lyx_cb.C: use Alert::prompt
4948 * lyx_main.C: remove a silly question
4950 * lyxfunc.C: remove a couple of silly questions,
4953 2003-03-28 John Levon <levon@movementarian.org>
4955 * text2.C: fix bug 974 (End on empty par)
4957 2003-03-28 John Levon <levon@movementarian.org>
4959 * BufferView_pimpl.C:
4961 * lfuns.h: remove do-nothing math greek lfuns
4963 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4965 * lyxgluelength.h (isValidGlueLength): add default arg on
4966 parameter 2. Remove default arg from friend in class.
4968 * lyxlength.h (isValidLength): add default arg on parameter 2.
4969 Remove default arg from friend in class.
4971 * text2.C (LyXText): adjust, initialize refresh_row.
4975 (insertParagraph): adjst
4976 (redoParagraphs): adjust
4977 (fullRebreak): adjust
4978 (updateCounters): adjust
4979 (deleteEmptyParagraphMechanism): first attempt at fixing a
4982 * text.C (top_y): adjust
4983 (setHeightOfRow): adjust
4985 (getRowNearY): adjust
4987 * lyxtext.h: include RowList.h
4988 (~LyXText): not needed anymore, deleted.
4989 (firstRow): modify for RowList
4990 (lastRow): new function
4991 Delete firstrow and lastrow class variables, add a Rowlist
4992 rowlist_ class variable.
4994 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4997 * RowList.C (insert): fix case where it == begin().
4999 2003-03-26 Angus Leeming <leeming@lyx.org>
5001 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5002 the thesaurus dialog.
5004 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5006 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5008 * RowList.[Ch]: new files
5010 * ParagraphList.C (erase): handle the case where it == begin
5013 2003-03-25 John Levon <levon@movementarian.org>
5017 * aspell.C: add new aspell support
5020 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5023 2003-03-25 Angus Leeming <leeming@lyx.org>
5026 * LyXAction.C (init): new LFUN_INSET_INSERT.
5028 * BufferView_pimpl.C (dispatch): split out part of the
5029 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5031 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5034 2003-03-25 Angus Leeming <leeming@lyx.org>
5036 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5038 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5041 * text3.C: remove useless row->height(0)
5043 2003-03-25 John Levon <levon@movementarian.org>
5047 * text3.C: rename the refreshing stuff to better names
5049 2003-03-24 John Levon <levon@movementarian.org>
5051 * BufferView_pimpl.h:
5052 * BufferView_pimpl.C: update layout choice on a mouse
5055 2003-03-23 John Levon <levon@movementarian.org>
5057 * Makefile.am: fix commandtags.h reference
5059 2003-03-22 John Levon <levon@movementarian.org>
5061 * BufferView_pimpl.C:
5066 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5068 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5071 * text.C: take the rtl methods out of line
5073 2003-03-21 André Pönitz <poenitz@gmx.net>
5075 * metricsinfo.[Ch]: new files containing structures to be passed around
5076 during the two-phase-drawing...
5078 2003-03-21 André Pönitz <poenitz@gmx.net>
5080 * lyxtextclass.C: read 'environment' tag.
5082 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5084 * text2.C (removeRow): fix bug 964
5086 2003-03-20 John Levon <levon@movementarian.org>
5090 * text2.C: paint cleanups. Inset::update() dropped font
5093 2003-03-19 John Levon <levon@movementarian.org>
5095 * lyxfunc.C: only fitcursor/markDirty if available()
5097 2003-03-19 John Levon <levon@movementarian.org>
5099 * commandtags.h: rename to ...
5101 * lfuns.h: ... this, and renumber / cleanup
5103 2003-03-19 John Levon <levon@movementarian.org>
5105 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5106 fit the cursor after an lfun
5110 * BufferView_pimpl.h:
5111 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5113 * LyXAction.C: layout-character should have ReadOnly
5115 * ParagraphParameters.C:
5117 * bufferview_funcs.C:
5124 * undo_funcs.C: changes from above
5126 2003-03-18 John Levon <levon@movementarian.org>
5128 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5129 remove it from update()
5131 * lyxfunc.C: update layout choice after an lfun
5133 * text3.C: remove extra updateLayoutChoice()s
5135 2003-03-18 John Levon <levon@movementarian.org>
5137 * text.C: top_y change means full repaint, fix
5138 a drawing bug with cursor movement
5140 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5144 * text2.C: anchor row on setCursor
5146 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5148 * lyxtext.h: remove almost all mutable keywords
5151 * text3.C: remove const keywords accordingly
5153 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5155 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5157 (TeXEnvironment): ditto
5160 2003-03-17 John Levon <levon@movementarian.org>
5162 * text.C (rowBreakPoint): remove attempt to fix displayed
5163 math insets inside a manual label
5165 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5167 * lyxtext.h: remove BufferView* as first arg from almost all class
5169 * other files: adjust.
5171 2003-03-17 John Levon <levon@movementarian.org>
5175 * text2.C: more paint cleanups
5177 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5180 * rowpainter.C: remove "smart" background painting code
5182 2003-03-16 John Levon <levon@movementarian.org>
5187 * text3.C: add helper functions for setting refresh_row/y
5189 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5191 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5192 newline inset which *can* get inserted in the pass_thru layouts.
5193 This is primarily for literate documents.
5195 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5197 * buffer.C: increment LYX_FORMAT to 223
5199 2003-03-14 André Pönitz <poenitz@gmx.net>
5201 * textclass.h: prepare for environment handling, ws changes
5202 * lyxlayout.C: read latexheader and latexfooter tags
5204 2003-03-14 John Levon <levon@movementarian.org>
5206 * text2.C: rewrite ::status() a bit
5208 2003-03-13 John Levon <levon@movementarian.org>
5210 * lyxtext.h: add some docs
5212 2003-03-13 John Levon <levon@movementarian.org>
5217 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5219 2003-03-13 John Levon <levon@movementarian.org>
5221 * text3.C: fix appendix redrawing
5223 2003-03-13 John Levon <levon@movementarian.org>
5225 * text.C (setHeightOfRow):
5227 * rowpainter.C: make appendix mark have the text
5228 "Appendix" so the user knows what it is
5231 * LColor.C: s/appendixline/appendix/ from above
5233 2003-03-13 John Levon <levon@movementarian.org>
5235 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5237 * text.C: fix a getChar(pos) bug properly
5239 2003-03-13 Angus Leeming <leeming@lyx.org>
5242 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5243 Probably only temporary. Let's see how things pan out.
5245 * BufferView.C (unlockInset):
5246 * BufferView_pimpl.C (fitCursor):
5247 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5249 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5250 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5252 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5253 new functions that convert ParagraphParameters to and from a string.
5255 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5256 BufferView::Pimpl's dispatch.
5257 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5259 2003-03-13 André Pönitz <poenitz@gmx.net>
5263 * factory.C: make it aware of InsetEnv
5265 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5267 * text2.C (setCursor): never ask for one past last
5268 (setCursor): add some debugging messages.
5270 * text.C (singleWidth): never ask for one past last
5271 (singleWidth): ditto
5273 (rightMargin): ditto
5274 (rowBreakPoint): ditto
5275 (setHeightOfRow): ditto
5276 (prepareToPrint): ditto
5278 * rowpainter.C (paintBackground): never ask for one past last
5279 (paintText): never ask for one past last
5281 * paragraph_pimpl.C (getChar): make the assert stricter, never
5282 allow the one past last pos to be taken
5284 * paragraph.C (getChar): ws changes only
5286 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5287 (numberOfSeparators): ditto
5288 (numberOfHfills): ditto
5290 2003-03-12 John Levon <levon@movementarian.org>
5296 * paragraph_funcs.C: fix per-buffer authorlists
5298 2003-03-12 John Levon <levon@movementarian.org>
5300 * text.C: fix newline in right address
5302 2003-03-12 Angus Leeming <leeming@lyx.org>
5304 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5305 duplicate those in LyXFunc::dispatch.
5309 * ToolbarDefaults.C:
5310 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5311 Add LFUN_FONTFREE_UPDATE.
5313 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5314 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5316 * bufferview_func.[Ch]: several new functions to facilliate
5317 transfer of data to and from the character dialog.
5319 2003-03-12 John Levon <levon@movementarian.org>
5324 * paragraph_funcs.C:
5325 * paragraph_pimpl.C:
5329 * text3.C: remove META_NEWLINE in favour of an inset
5332 * rowpainter.C: remove paintNewline (done by inset)
5334 2003-03-12 John Levon <levon@movementarian.org>
5336 * paragraph_pimpl.C: complain about bad getChar()s
5337 for a while at least
5339 2003-03-12 John Levon <levon@movementarian.org>
5342 * buffer.C: move paragraph read into a separate function,
5343 a little renaming to reflect that.
5346 * bufferparams.C: remove the author_ids map, not necessary now
5349 * factory.C: moved Buffer::readInset to here
5351 * paragraph_funcs.h:
5352 * paragraph_funcs.C: readParagraph free function moved from
5355 * tabular.C: name change
5357 2003-03-12 John Levon <levon@movementarian.org>
5360 * ParagraphParameters.C: move par params input to
5363 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5364 behave like a normal read from the stream wrt reading
5365 a line vs. a \\token
5367 2003-03-12 John Levon <levon@movementarian.org>
5370 * ParagraphParameters.h:
5371 * ParagraphParameters.C: move output code to a
5374 2003-03-12 John Levon <levon@movementarian.org>
5376 * BufferView.C (insertLyXFile):
5379 * tabular.C: use a parlist iterator for creating the
5382 2003-03-12 John Levon <levon@movementarian.org>
5384 * buffer.C: make current_change static local not
5387 2003-03-12 John Levon <levon@movementarian.org>
5389 * buffer.C: fix insertStringAsLines for change tracking
5391 2003-03-12 John Levon <levon@movementarian.org>
5398 * bufferparams.C: move author list into params. Rename some
5399 functions. Move the header reading into a separate token
5400 loop. Move the header token reading into BufferParams.
5402 2003-03-12 John Levon <levon@movementarian.org>
5404 * changes.C: put debug inside lyxerr.debugging() checks
5406 2003-03-11 André Pönitz <poenitz@gmx.net>
5408 * factory.C: make it aware of InsetHFill
5410 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5412 * buffer.C (latexParagraphs): move function from here...
5413 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5416 2003-03-10 Angus Leeming <leeming@lyx.org>
5418 * LyXAction.C (init): fix bug in poplating array with multiple entries
5419 with the same LFUN (spotted by JMarc).
5421 2003-03-10 John Levon <levon@movementarian.org>
5424 * text2.C: move getColumnNearX() near its
5427 2003-03-10 John Levon <levon@movementarian.org>
5429 * text.C: fix break before a minipage
5431 2003-03-10 John Levon <levon@movementarian.org>
5433 * text.C: fix the last commit
5435 2003-03-09 John Levon <levon@movementarian.org>
5439 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5440 bug 365 (don't break before insets unless needed). Don't
5441 return a value > last under any circumstances.
5443 2003-03-09 Angus Leeming <leeming@lyx.org>
5445 * BufferView_pimpl.C (trackChanges, dispatch): call
5446 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5448 2003-03-09 Angus Leeming <leeming@lyx.org>
5450 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5451 than Dialogs::showAboutlyx().
5453 2003-03-09 Angus Leeming <leeming@lyx.org>
5455 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5456 than Dialogs::showTabularCreate().
5458 2003-03-09 John Levon <levon@movementarian.org>
5462 * text2.C: 3rd arg to nextBreakPoint was always the same.
5465 2003-03-08 John Levon <levon@movementarian.org>
5472 * text2.C: Remove the "main" bit from the "main body"
5475 2003-03-08 John Levon <levon@movementarian.org>
5477 * text.C (leftMargin): The left margin of an empty
5478 manual label paragraph should not include the label width
5481 * text.C (prepareToPrint): don't attempt to measure hfills
5482 for empty manual label paragraphs - the answer should be 0
5484 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5486 * CutAndPaste.C: remove commented code and reindent.
5488 2003-03-08 John Levon <levon@movementarian.org>
5491 * lyxfunc.C: move reloadBuffer()
5494 * BufferView.C: to here
5496 * lyxvc.C: add comment
5499 * vc-backend.C: call bv->reload() to avoid
5500 getStatus() check on MENURELOAD
5502 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5504 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5505 to an old format .dep file.
5507 2003-03-07 Angus Leeming <leeming@lyx.org>
5509 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5510 when the LFUN_MOUSE_RELEASE should have been handled by
5511 inset->localDispatch.
5513 2003-03-07 Angus Leeming <leeming@lyx.org>
5515 * BufferView_pimpl.C (dispatch):
5516 * LyXAction.C (init):
5517 * ToolbarDefaults.C (init):
5519 * lyxfunc.C (getStatus):
5520 remove LFUN_INSET_GRAPHICS.
5522 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5524 2003-03-07 Angus Leeming <leeming@lyx.org>
5527 * LyXAction.C (init):
5528 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5530 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5533 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5535 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5536 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5538 2003-03-07 Angus Leeming <leeming@lyx.org>
5540 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5543 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5545 * ParagraphList.C (front): new function
5548 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5550 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5551 and top_row_offset_. removed var first_y.
5553 * text2.C (LyXText, removeRow):
5555 * BufferView_pimpl.C:
5556 use these methods instead of using first_y
5558 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5560 * text2.C (pasteSelection): adjust for checkPastePossible
5562 * CutAndPaste.C: remove Paragraph * buf and replace with
5563 ParagraphList paragraphs.
5564 (DeleteBuffer): delete
5565 (cutSelection): change the tc type to textclass_type
5566 (copySelection): change the tc type to textclass_type
5567 (copySelection): adjust for ParagraphList
5568 (pasteSelection): change the tc type to textclass_type
5569 (pasteSelection): adjust for Paragraphlist
5570 (nrOfParagraphs): simplify for ParagraphList
5571 (checkPastePossible): simplify for ParagraphList
5572 (checkPastePossible): remove unused arg
5574 * ParagraphList.C (insert): handle the case where there are no
5577 * CutAndPaste.h: make CutAndPaste a namespace.
5579 * text3.C (dispatch): adjust
5581 * text.C (breakParagraph): add a ParagraphList as arg
5583 * paragraph_funcs.C (breakParagraph): change to take a
5584 BufferParams and a ParagraphList as args.
5585 (breakParagraphConservative): ditto
5586 (mergeParagraph): ditto
5587 (TeXDeeper): add a ParagraphList arg
5588 (TeXEnvironment): ditto
5591 * buffer.C (readLyXformat2): adjust
5592 (insertStringAsLines): adjust
5593 (latexParagraphs): adjust
5595 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5596 (cutSelection): adjust
5597 (pasteSelection): adjust
5599 * BufferView_pimpl.C (insertInset): adjust
5601 2003-03-05 Angus Leeming <leeming@lyx.org>
5604 * LyXAction.C (init):
5605 * BufferView_pimpl.C (dispatch):
5606 * lyxfunc.C (getStatus):
5607 remove LFUN_CHILD_INSERT.
5609 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5611 2003-03-05 Angus Leeming <leeming@lyx.org>
5614 * LyXAction.C (init):
5615 * src/factory.C (createInset):
5616 * lyxfunc.C (getStatus):
5617 * text3.C (dispatch):
5618 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5620 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5622 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5624 * ParagraphList.C (insert): handle insert right before end()
5625 (erase): fix cases where it can be first or last paragraph.
5627 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5629 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5630 Paragraph::next and Paragraph::previous
5633 * text.C (breakParagraph): adjust
5635 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5636 BufferParams& as arg.
5637 (breakParagraph): use ParagraphList::insert
5638 (breakParagraphConservative): take a Buffer* instead of a
5639 BufferParams& as arg.
5640 (breakParagraphConservative): use ParagraphList::insert.
5642 * buffer.C (insertStringAsLines): un-const it
5643 (insertStringAsLines): adjust
5645 * ParagraphList.C (insert): new function
5647 * CutAndPaste.C (pasteSelection): adjust
5649 * text.C (backspace): adjust
5651 * tabular.C (SetMultiColumn): adjust
5653 * CutAndPaste.C (cutSelection): adjust
5654 (pasteSelection): adjust
5656 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5657 Buffer const * as arg
5659 * ParagraphList.C (erase): new function
5660 * paragraph_funcs.C (mergeParagraph): use it
5661 (mergeParagraph): make it take a Buffer* instead of a
5662 BufferParams* as arg
5664 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5666 (breakParagraphConservative): ditto
5668 * paragraph.h: remove the breakParagraph friend
5670 * paragraph.C (eraseIntern): new function
5671 (setChange): new function
5673 * paragraph_funcs.C (mergeParagraph): make it take a
5674 ParagraphList::iterator instead of a Paragraph *, adjust
5677 * paragraph.h: move an #endif so that the change tracking stuff
5678 also works in the NO_NEXT case.
5680 2003-03-04 Angus Leeming <leeming@lyx.org>
5683 * LyXAction.C: new LFUN_INSET_MODIFY.
5685 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5686 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5688 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5690 * several files: ws changes only
5692 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5693 (TeXEnvironment): ditto
5696 * buffer.C (makeLaTeXFile): adjust
5697 (latexParagraphs): make it take ParagraphList::iterator as args
5699 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5701 * buffer.C (latexParagraphs): adjust
5703 * paragraph.C (TeXOnePar): move function...
5704 (optArgInset): move function...
5705 (TeXEnvironment): move function...
5706 * paragraph_pimpl.C (TeXDeeper): move function...
5707 * paragraph_funcs.C: ...here
5709 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5711 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5713 * buffer.C (readInset): remove compability code for old Figure and
5716 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5718 * buffer.C: ws changes
5721 * BufferView_pimpl.C: ditto
5724 * bufferlist.h: ditto
5728 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5730 * converter.[Ch]: split into itself +
5733 * Makefile.am: += graph.[Ch] + format.[Ch]
5740 * lyxrc.C: added #include "format.h"
5742 2003-02-27 Angus Leeming <leeming@lyx.org>
5744 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5747 * factory.C (createInset): add "label" to the factory.
5749 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5750 string and do no more.
5752 2003-02-27 Angus Leeming <leeming@lyx.org>
5755 * LyXAction.C (init):
5756 * factory.C (createInset):
5757 * BufferView_pimpl.C (dispatch):
5758 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5760 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5762 * lyxfunc.C (dispatch):
5763 * text3.C (dispatch): pass name to params2string.
5765 2003-02-26 Angus Leeming <leeming@lyx.org>
5767 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5769 Rearrange the ~includes. Strip out the unnecessary ones.
5771 * factory.C (createInset): reformat.
5772 create new insets for the various LFUN_XYZ_APPLY lfuns.
5774 2003-02-26 John Levon <levon@movementarian.org>
5777 * lyxrow.C: add isParStart,isParEnd helpers
5779 * paragraph.h: make isInserted/DeletedText take refs
5781 * paragraph_funcs.h:
5782 * paragraph_funcs.C: remove #if 0'd code
5787 * text.C: use lyxrow helpers above.
5788 Move draw and paint routines to RowPainter.
5789 Make several methods use refs not pointers.
5790 Make backgroundColor() const.
5791 Add markChangeInDraw(), isInInset().
5792 Merge changeRegionCase into changeCase.
5793 Make workWidth() shouldn't-happen code into an Assert.
5796 * rowpainter.C: new class for painting a row.
5799 * vspace.C: make inPixels take a ref
5801 2003-02-26 Angus Leeming <leeming@lyx.org>
5803 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5806 2003-02-25 John Levon <levon@movementarian.org>
5808 * ispell.C: give the forked command a more accurate name
5810 2003-02-22 John Levon <levon@movementarian.org>
5813 * toc.C: make TocItem store an id not a Paragraph *
5816 2003-02-21 Angus Leeming <leeming@lyx.org>
5818 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5819 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5820 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5821 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5822 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5823 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5825 * BufferView_pimpl.C (dispatch):
5826 * LyXAction.C (init):
5827 * factory.C (createInset):
5828 * lyxfunc.C (getStatus, dispatch):
5829 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5831 2003-02-21 Angus Leeming <leeming@lyx.org>
5833 * BufferView_pimpl.C (MenuInsertLyXFile):
5834 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5835 * lyxfunc.C (menuNew, open, doImport):
5836 no longer pass a LyXView & to fileDlg.
5838 2003-02-21 Angus Leeming <leeming@lyx.org>
5840 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5841 * LyXAction.C: change, BIBKEY to BIBITEM.
5842 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5843 Change InsetBibKey to InsetBibitem.
5844 Change BIBKEY_CODE to BIBITEM_CODE.
5845 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5846 * factory.C: replace insetbib.h with insetbibitem.h.
5847 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5848 * paragraph.C: replace insetbib.h with insetbibitem.h.
5849 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5850 Change bibkey() to bibitem().
5851 * text.C: remove insetbib.h.
5852 * text2.C: replace insetbib.h with insetbibitem.h.
5853 change bibkey() to bibitem().
5854 * text3.C: remove insetbib.h.
5855 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5857 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5859 * lyxrc.C (output): enclose user email in quotes (in case there are
5862 2003-02-18 John Levon <levon@movementarian.org>
5864 * buffer.h: add std::
5866 2003-02-17 John Levon <levon@movementarian.org>
5872 * pspell.C: reworking. Especially in ispell, a large
5873 number of clean ups and bug fixes.
5875 * lyxfunc.C: fix revert to behave sensibly
5877 2003-02-17 André Pönitz <poenitz@gmx.net>
5880 * commandtags.h: new LFUN_INSERT_BIBKEY
5890 * paragraph_func.C: remove special bibkey handling
5892 2003-02-17 John Levon <levon@movementarian.org>
5894 * text.C (Delete): fix case where delete at the end of
5895 the very first paragraph would not merge the pars
5897 2003-02-17 John Levon <levon@movementarian.org>
5899 * lyxrow.C: fix lastPrintablePos()
5901 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5903 * bufferparams.C (writeLaTeX): add a std:here
5905 * buffer.C: and remove a using directive there
5907 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5909 * buffer.C (makeLaTeXFile): move the code that generates the
5912 * bufferparams.C (writeLaTeX): ... in this new method
5914 * LaTeXFeatures.C (getEncodingSet): make const
5915 (getLanguages): make const
5917 * MenuBackend.C (binding): returns the binding associated to this
5919 (add): sets the status of each item by calling getStatus. Adds
5921 (read): add support for OptSubMenu
5922 (expand): remove extra separator at the end of expanded menu
5924 2003-02-15 John Levon <levon@movementarian.org>
5927 * BufferView_pimpl.C:
5929 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5930 inset code that had no actual effect. Remove unneeded status
5933 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5935 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5938 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5940 * text.C (drawLengthMarker): also draw an arrow marker for
5941 symbolic lengths (medskip...)
5943 2003-02-14 John Levon <levon@movementarian.org>
5946 * tabular.C: better method names
5948 2003-02-14 John Levon <levon@movementarian.org>
5950 * BufferView_pimpl.C:
5955 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5956 it's a more accurate name. Remove some pointless uses.
5958 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5960 * text2.C (LyXText): change order of initilizers to shut off
5963 2003-02-14 John Levon <levon@movementarian.org>
5965 * buffer.C: use ParIterator for getParFromID()
5969 * paragraph_pimpl.h:
5970 * paragraph_pimpl.C: remove unused getParFromID()
5972 2003-02-14 John Levon <levon@movementarian.org>
5974 * buffer.C: remove some very old #if 0'd parse code
5976 2003-02-13 John Levon <levon@movementarian.org>
5980 * text2.C: move hfillExpansion(), numberOfSeparators(),
5981 rowLast(), rowLastPrintable(), numberofHfills(),
5982 numberOfLabelHfills() ...
5985 * lyxrow.C: ... to member functions here.
5990 * text.C: remove LyXText::beginningOfMainBody(), and call
5991 p->beginningOfMainBody() directly. Move the check for
5992 LABEL_MANUAL into the latter.
5999 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6005 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6006 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6008 2003-02-13 John Levon <levon@movementarian.org>
6010 * CutAndPaste.C: remove debug
6012 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6014 * paragraph.C (asString): remove two unused variables
6016 * lyxtextclass.C (readTitleType):
6018 (LyXTextClass): handle new members titletype_ and titlename_
6020 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6022 2003-02-09 John Levon <levon@movementarian.org>
6025 * buffer.C: replace hand-coded list with a map for the dep clean
6027 2003-02-08 John Levon <levon@movementarian.org>
6029 * LaTeX.C: consolidate code into showRunMessage() helper
6031 2003-02-08 John Levon <levon@movementarian.org>
6036 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6037 and pass the size in explicitly
6039 * BufferView_pimpl.h:
6040 * BufferView_pimpl.C:
6042 * BufferView.C: add getCurrentChange()
6044 * BufferView_pimpl.h:
6045 * BufferView_pimpl.C: handle change lfuns
6047 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6048 for changes. Mark pasted paragraphs as new.
6050 * support/lyxtime.h:
6051 * support/lyxtime.C:
6052 * DepTable.C: abstract time_t as lyx::time_type
6055 * LColor.C: add colours for new text, deleted text, changebars
6057 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6058 package use "usenames" option.
6062 * LyXAction.C: add change lfuns
6066 * author.C: author handling
6069 * buffer.C: add a per-buffer author list, with first entry as
6070 current author. Handle new .lyx tokens for change tracking. Output
6071 author list to .lyx file. Output dvipost stuff to .tex preamble.
6072 Bump lyx format to 222.
6075 * bufferlist.C: add setCurrentAuthor() to reset current author details
6079 * bufferparams.C: add param for tracking
6081 * bufferview_funcs.C: output change info in minibuffer
6085 * changes.C: add change-tracking structure
6088 * debug.C: add CHANGES debug flag
6091 * lyxfind.C: add code for finding the next change piece
6094 * lyxrc.C: add user_name and user_email
6097 * lyxrow.C: add a metric for the top of the text line
6100 * text.C: implement accept/rejectChange()
6103 * text.C: paint changebars. Paint new/deleted text in the chosen
6104 colours. Strike through deleted text.
6108 * paragraph_pimpl.h:
6109 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6110 in the current change to the insert functions. Rework erase to
6111 mark text as deleted, adding an eraseIntern() and a range-based
6112 erase(). Implement per-paragraph change lookup and
6115 * paragraph_funcs.C: Fixup paste for change tracking.
6117 * tabular.C: mark added row/columns as new.
6119 * text.C: fix rowLast() to never return -1. Don't allow
6120 spellchecking of deleted text. Track transpose changes. Don't
6121 allow paragraph break or merge where appropriate.
6123 * text2.C: leave cursor at end of selection after a cut.
6125 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6127 * text.C (getLengthMarkerHeight):
6128 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6129 visible on screen too.
6131 2003-02-07 John Levon <levon@movementarian.org>
6133 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6135 2003-02-05 Angus Leeming <leeming@lyx.org>
6137 * lyxserver.C (read_ready): revert my patch of 11 September last year
6138 as it sends PC cpu through the roof. Presumably this means that
6139 the lyxserver will no longer run on an Alpha...
6141 2003-01-30 Angus Leeming <leeming@lyx.org>
6143 * factory.C (createInset): create an InsetCommandParam of type "index"
6144 and use it to 'do the right thing'.
6146 * text2.C (getStringToIndex): ensure that cursor position is always
6147 reset to the reset_cursor position.
6149 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6151 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6154 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6158 * lyxfunc.C: Output messages with identical spelling, punctuation,
6161 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6163 * MenuBackend.C (expandFormats): List only viewable export formats
6166 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6169 * lyxfunc.C (getStatus): Make sure that formats other than
6170 "fax" can also be disabled
6172 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6174 * text3.C (dispatch): put the lfuns that insert insets in 3
6175 groups, and call doInsertInset with appropriate arguments.
6176 (doInsertInset): new function, that creates an inset and inserts
6177 it according to some boolean parameters.
6179 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6181 * buffer.C (readFile): remember to pass on 'par' when calling
6182 readFile recursively.
6184 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6186 * MenuBackend.C (expandFormats): add "..." to import formats.
6188 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6190 * paragraph.C (asString): Remove XForms RTL hacks.
6192 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6193 * buffer.C: fix typo
6195 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6197 * Makefile.am (LIBS): delete var
6198 (lyx_LDADD): add @LIBS@ here instead.
6200 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6202 * Clarify the meaning of "wheel mouse jump"
6204 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6206 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6209 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6211 * importer.C (Loaders): do not preallocate 3 elements in the
6212 vector, since one ends up with 6 elements otherwise
6214 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6216 * DepTable.C (write): write the file name as last element of the
6217 .dep file (because it may contain spaces)
6218 (read): read info in the right order
6220 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6222 * paragraph_pimpl.C (simpleTeXBlanks):
6223 (simpleTeXSpecialChars):
6224 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6226 * tabular.C (latex): add some missing case statements. Reindent.
6228 * MenuBackend.C (expandToc): remove unused variable.
6230 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6239 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6242 2003-01-05 John Levon <levon@movementarian.org>
6245 * BufferView.C: add getEncoding()
6248 * kbsequence.C: do not store last keypress
6251 * lyxfunc.C: store last keypress here instead. Pass encoding
6254 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6256 * lyx_main.C (init): remove annoying error message when following
6257 symbolic links (bug #780)
6259 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6261 * text.C (insertChar):
6262 * lyxrc.C (getDescription): remove extra spaces
6264 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6266 * lyxrc.C (getDescription): remove extra spaces
6268 2002-12-20 John Levon <levon@movementarian.org>
6270 * text3.C: hack fix for page up/down across tall rows
6272 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6274 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6277 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6279 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6280 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6281 thesaurus is not compiled in
6283 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6285 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6287 2002-12-16 Angus Leeming <leeming@lyx.org>
6290 * lyx_main.C (init): remove override_x_deadkeys stuff.
6292 2002-12-12 John Levon <levon@movementarian.org>
6294 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6295 insert. Only remove shift modifier under strict
6298 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6300 * MenuBackend.C (expandToc): fix crash.
6302 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6304 * MenuBackend.C (expandToc): gettext on float names.
6306 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6308 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6309 implement bool empty() [bug 490]
6311 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6313 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6315 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6317 * several files: ws changes
6319 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6321 * text2.C (setCounter): clean up a bit, use boost.format.
6322 (updateCounters): initialize par upon declaration.
6324 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6325 if the layout exists. We do not just store the layout any more.
6326 (SwitchLayoutsBetweenClasses): use boost.format
6328 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6330 * converter.C (convert): if from and to files are the same, use a
6331 temporary files as intermediary
6333 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6336 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6338 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6340 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6342 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6344 * tabular.C (asciiPrintCell): use string(size, char) instead of
6347 * sgml.C (openTag): fix order of arguments to string constructor
6350 * lyxfunc.C (dispatch): use boost.format
6352 * lots of files: change "c" -> 'c'
6354 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6356 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6358 2002-11-25 Angus Leeming <leeming@lyx.org>
6360 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6362 * lyx_main.C (init): compile fix.
6364 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6366 * lyx_cb.C (start): boost.formatify
6367 do not include <iostream>
6369 * lengthcommon.C: ws only
6371 * boost-inst.C,BoostFormat.h: add more explict instantations
6373 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6375 * lots of files: handle USE_BOOST_FORMAT
6377 2002-11-21 John Levon <levon@movementarian.org>
6379 * pspell.C: fix compile
6381 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6383 * lyxfunc.C (dispatch): use boost::format
6387 * lyxfont.C (stateText): use boost::format
6389 * lyx_main.C (LyX): use boost::format
6391 (queryUserLyXDir): ditto
6394 (typedef boost::function): use the recommened syntax.
6396 * importer.C (Import): use boost::format
6398 * debug.C (showLevel): use boost::format
6400 * converter.C (view): use boost::format
6405 * bufferview_funcs.C (currentState): use boost::format
6407 * bufferlist.C (emergencyWrite): use boost::format
6409 * buffer.C (readLyXformat2): use boost::format
6410 (parseSingleLyXformat2Token): ditto
6412 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6414 * LaTeX.C (run): use boost::format
6416 * Chktex.C (scanLogFile): use boost::format
6418 * BufferView_pimpl.C (savePosition): use boost::format
6419 (restorePosition): ditto
6420 (MenuInsertLyXFile): ditto
6422 * BoostFormat.h: help file for explicit instation.
6424 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6426 * tabular.C (latex): Support for block alignment in fixed width
6429 2002-11-17 John Levon <levon@movementarian.org>
6431 * BufferView_pimpl.C:
6433 * lyxfunc.C: split filedialog into open/save
6435 2002-11-08 Juergen Vigna <jug@sad.it>
6437 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6438 by my last patch (hopefully).
6440 2002-11-08 John Levon <levon@movementarian.org>
6449 * toc.C: ParConstIterator, and use it (from Lars)
6451 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6453 * lyxtextclass.[Ch]: revise and add doxygen comments
6455 2002-11-07 John Levon <levon@movementarian.org>
6457 * text.C: fix progress value for spellchecker
6459 * toc.C: fix navigate menu for insetwrap inside minipage
6461 * paragraph_funcs.C: added FIXME for suspect code
6463 2002-11-07 John Levon <levon@movementarian.org>
6465 * BufferView_pimpl.C: fix redrawing of insets
6468 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6470 * text2.C (updateCounters): fix bug 668
6472 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6474 * text3.C (dispatch): Do not make the buffer dirty when moving the
6477 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6479 * vc-backend.C: STRCONV
6482 * text2.C (setCounter): STRCONV
6484 * paragraph.C (asString): STRCONV
6486 * lyxlength.C (asString): STRCONV
6487 (asLatexString): ditto
6489 * lyxgluelength.C (asString): STRCONV
6490 (asLatexString): ditto
6492 * lyxfunc.C (dispatch): STRCONV
6495 * lyxfont.C (stateText): STRCONV
6497 * importer.C (Import): STRCONV
6499 * counters.C (labelItem): STRCONV
6500 (numberLabel): ditto
6501 (numberLabel): remove unused ostringstream o
6506 * bufferview_funcs.C (currentState): STRCONV
6508 * buffer.C (readFile): STRCONV
6509 (asciiParagraph): ditto
6510 (makeLaTeXFile): ditto
6512 * Spacing.C (writeEnvirBegin): STRCONV
6514 * LaTeXFeatures.C (getLanguages): STRCONV
6515 (getPackages): ditto
6517 (getBabelOptions): ditto
6518 (getTClassPreamble): ditto
6519 (getLyXSGMLEntities): ditto
6520 (getIncludedFiles): ditto
6524 (scanAuxFile): ditto
6527 * LString.h: add the STRCONV macros
6529 * BufferView_pimpl.C (savePosition): STRCONV
6530 (restorePosition): ditto
6531 (MenuInsertLyXFile): ditto
6533 * vc-backend.C (scanMaster): change from submatch[...] to
6536 * funcrequest.C: include config.h
6538 * factory.C: include config.h
6540 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6542 * box.C: include config.h
6544 * LaTeX.C (scanAuxFile): change from submatch[...] to
6548 2002-10-25 Angus Leeming <leeming@lyx.org>
6550 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6552 * ispell.[Ch] (setError): new method.
6553 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6554 Use setError() insetead of goto END.
6556 * lyx_cb.C (AutoSave): move out child process into new class
6559 2002-10-30 John Levon <levon@movementarian.org>
6561 * text3.C: make start appendix undoable
6563 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6565 * lyxlength.C (inPixels): Fix returned value.
6567 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6570 2002-10-24 Angus Leeming <leeming@lyx.org>
6572 * lyxgluelength.h: no need to forward declare BufferParams
6573 or BufferView, so don't.
6575 2002-10-21 John Levon <levon@movementarian.org>
6577 * BufferView.C: menuUndo ->undo, redo
6579 * BufferView.h: document, remove dead, make some methods private
6581 * paragraph_funcs.h:
6582 * paragraph_funcs.C:
6583 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6588 * sgml.C: move sgml open/close tag into sgml.C
6590 * bufferview_funcs.h: unused prototype
6593 * lyxfunc.C: remove unused
6596 * text.C: remove unused
6598 2002-10-21 John Levon <levon@movementarian.org>
6602 * BufferView_pimpl.h:
6603 * BufferView_pimpl.C: fix mouse wheel handling based on
6604 patch from Darren Freeman
6606 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6608 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6610 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6612 * lyxlength.C (inPixels): Fix hanfling of negative length.
6613 Fix LyXLength::MU case.
6615 2002-10-16 John Levon <levon@movementarian.org>
6617 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6619 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6621 * converter.C (view): add support for $$i (file name) and $$p
6622 (file path) for the viewer command. If $$i is not specified, then
6623 it is appended to the command (for compatibility with old syntax)
6625 2002-10-14 Juergen Vigna <jug@sad.it>
6627 * undo_funcs.C (textHandleUndo): alter the order in which the
6628 new undopar is added to the LyXText, as we have to set first
6629 the right prev/next and then add it as otherwise the rebuild of
6630 LyXText is not correct. Also reset the cursor to the right paragraph,
6631 with this IMO we could remove the hack in "redoParagraphs()".
6633 2002-10-09 Angus Leeming <leeming@lyx.org>
6635 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6636 to turn off an optimisation if a new inset is to be inserted.
6638 2002-10-11 André Pönitz <poenitz@gmx.net>
6640 * lyxtext.h: make some functions public to allow access
6641 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6643 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6645 * text3.C (dispatch): when changing layout, avoid an infinite loop
6648 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6650 * lyxrc.C (read): treat a viewer or converter command of "none" as
6653 * MenuBackend.C (expandFormats): for an update, also allow the
6654 formats that are not viewable
6656 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6657 script if it is newer than the lyxrc.defaults in user directory
6659 2002-10-07 André Pönitz <poenitz@gmx.net>
6661 * text.C: Vitaly Lipatov's small i18n fix
6663 2002-09-25 Angus Leeming <leeming@lyx.org>
6665 * ispell.h: doxygen fix.
6667 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6669 * buffer.h (readFile): Add a new argument to the method, to allow
6670 reading of old-format templates.
6672 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6674 * toc.C (getTocList): Get TOC from InsetWrap.
6676 2002-09-16 John Levon <levon@movementarian.org>
6678 * lyxfunc.C: check tabular for cut/copy too
6680 2002-09-12 John Levon <levon@movementarian.org>
6685 * factory.C: add header
6687 * paragraph_funcs.h:
6688 * paragraph_funcs.C: cleanup
6690 2002-09-11 John Levon <levon@movementarian.org>
6692 * PrinterParams.h: odd/even default to true
6694 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6696 * PrinterParams.h: update printer parameters for new xforms dialog
6698 2002-09-11 Angus Leeming <leeming@lyx.org>
6700 * lyxserver.C (read_ready): re-write to make it more transparent
6701 and to make it work in coherent fashion under Tru64 Unix.
6703 2002-09-11 André Pönitz <poenitz@gmx.net>
6707 * text3.C: implement LFUN_WORDSEL
6709 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6711 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6712 make floatlist_ a boost::shared_ptr<FloatList>
6714 * lyxtextclass.C: include FloatList.h
6715 (LyXTextClass): initialize floatlist_
6716 (TextClassTags): add TC_NOFLOAT
6717 (Read): match "nofloat" to TC_NOFLOAT and use it.
6718 (readFloat): modify call to floatlist_
6722 * FloatList.[Ch] (FloatList): remove commented out float
6724 (erase): new function
6726 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6728 * MenuBackend.C (expandToc): fix crash when there is no document
6731 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6733 * many files: Add insetwrap.
6735 2002-09-09 John Levon <levon@movementarian.org>
6737 * text2.C: remove confusing and awkward depth wraparound
6739 2002-09-09 John Levon <levon@movementarian.org>
6741 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6744 * buffer.C: remove getIncludeonlyList()
6747 * lyxfunc.C: remove headers
6749 2002-09-09 Juergen Vigna <jug@sad.it>
6751 * text.C (getColumnNearX): fix form Michael this is most
6752 probably a cut&paste bug.
6754 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6756 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6758 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6759 references, ws changes.
6761 * text2.C (init): update counters after init
6762 (insertParagraph): no need to set counter on idividual paragraphs.
6763 (setCounter): access the counters object in the textclass object
6764 on in the buffer object.
6765 (updateCounters): ditto
6767 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6768 shared_ptr<Counters> to avoid loading counters.h in all
6770 (LyXTextClass): initialize ctrs_
6771 (TextClassTags): add TC_COUNTER, and ...
6772 (Read): use it here.
6773 (CounterTags): new tags
6774 (readCounter): new function
6775 (counters): new funtion
6776 (defaultLayoutName): return a const reference
6778 * counters.C (Counters): remove contructor
6779 (newCounter): remove a couple of unneeded statements.
6780 (newCounter): simplify a bit.
6781 (numberLabel): some small formatting changes.
6783 * buffer.[Ch]: remove all traces of counters, move the Counters
6784 object to the LyXTextClass.
6786 2002-09-06 Alain Castera <castera@in2p3.fr>
6788 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6789 package to set the horizontal alignment on fixed width columns.
6792 * lyx_sty.h: added tabularnewline macro def.
6794 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6796 2002-09-06 John Levon <levon@movementarian.org>
6798 * LyXAction.C: tooltips for sub/superscript
6800 * MenuBackend.C: a bit more verbose
6802 * lyxfunc.C: tiny clean
6804 * undo_funcs.C: document undo_frozen
6806 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6808 * counters.C (Counters): add missing algorithm counter.
6810 * text2.C (setCounter): lookup the counter with layouts latexname
6811 instead of by section number.
6812 (setCounter): use a hackish way to lookup the correct enum
6814 a float name->type change
6815 reset enum couners with counter name directly instead of depth value.
6817 * counters.C (Counters): remove the push_backs, change to use the
6818 float type not the float name.
6819 (labelItem): remove unused string, float name->type change
6821 * counters.h: don't include vector, loose the enums and sects vectors
6823 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6825 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6826 (Read): add float->TC_FLOAT to textclassTags
6827 (Read): and handle it in the switch
6828 (readFloat): new function
6830 * FloatList.C (FloatList): comment out the hardcoded float
6833 * lyxlayout.h: ws change.
6835 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6837 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6839 2002-09-03 Angus Leeming <leeming@lyx.org>
6841 * BufferView_pimpl.h: qualified name is not allowed in member
6842 declaration: WorkArea & Pimpl::workarea() const;
6844 * factory.C: added using std::endl directive.
6846 * text3.C: added using std::find and std::vector directives.
6848 2002-08-29 André Pönitz <poenitz@gmx.net>
6851 * text2.C: remove unused member number_of_rows
6854 * BufferView2.C: remove file, move contents to...
6855 * BufferView.C: ... here
6857 * BufferView_pimpl.C:
6858 * factory.C: move more inset creation to factory
6860 * vspace.C: avoid direct usage of LyXText, ws changes
6863 don't provide direct access to WorkArea, use two simple
6864 acessors haveSelction() and workHeight() instead
6867 2002-08-29 John Levon <levon@movementarian.org>
6869 * BufferView_pimpl.C (dispatch): do not continue when
6872 2002-08-28 André Pönitz <poenitz@gmx.net>
6874 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6877 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6879 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6881 * buffer.C: increment LYX_FORMAT to 221
6883 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6884 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6886 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6888 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6890 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6892 * factory.C (createInset): use LyXTextClass::floats
6894 * MenuBackend.C (expandFloatListInsert):
6895 (expandFloatInsert):
6898 * text2.C (setCounter):
6900 * LaTeXFeatures.C (useFloat):
6901 (getFloatDefinitions):
6903 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6905 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6906 floatlist_, with accessor floats().
6908 * FloatList.h: remove global FloatList
6910 2002-08-26 André Pönitz <poenitz@gmx.net>
6912 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6916 * BufferView_pimpl.C:
6917 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6919 2002-08-25 John Levon <levon@movementarian.org>
6921 * LyXAction.C: fix margin note description
6923 2002-08-24 John Levon <levon@movementarian.org>
6927 * bufferview_funcs.C:
6929 * undo_funcs.C: cleanups
6931 * lyxfunc.C: disable CUT/COPY when no selection
6933 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6935 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6936 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6938 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6939 Add backward compatibility to "mono", "gray" and "no".
6941 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6943 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6944 (and file_format >= 200).
6946 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6948 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6950 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6952 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6954 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6956 * BufferView_pimpl.C:
6963 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6964 inset and code to make it work with the paragraph code. The inset
6965 can be anywhere in the paragraph, but will only do the expected
6966 thing in LaTeX if the layout file contains the parameter line
6968 (or more generally, a nonzero value) for that layout.
6970 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6972 * paragraph.h: remove the declaration of undefined counters class
6975 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6977 * text2.C (setCounter): fixed enumeration mis-count as reported by
6978 Dr. Richard Hawkins.
6980 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6982 * paragraph_funcs.h: remove some unneeded includes
6984 * text.C (backspace): pasteParagraph now in global scipe
6986 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6987 (pasteSelection): ditto
6989 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6990 * paragraph_funcs.C (pasteParagraph): ... here
6992 2002-08-20 André Pönitz <poenitz@gmx.net>
6994 * commandtags.h: new LFUNs for swapping/copying table row/colums
6997 * lyxfunc.C: support for new lfuns
6999 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7002 * buffer.[Ch]: remove NO_COMPABILITY stuff
7004 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7006 * boost.C (throw_exception): new file, with helper function for
7007 boost compiled without exceptions.
7012 * ParameterStruct.h:
7013 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7015 * bufferlist.C (emergencyWriteAll): use boost bind
7017 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7019 * text.C: include paragraph_funcs.h
7020 (breakParagraph): breakParagraph is now in global scope
7022 * paragraph_funcs.[Ch]: new files
7024 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7027 * buffer.C: include paragraph_funcs.h
7028 (insertStringAsLines): breakParagraph is now in global scope
7030 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7033 * CutAndPaste.C: include paragraph_funcs.h
7034 (cutSelection): breakParagraphConservative is now in global scope
7035 (pasteSelection): ditto
7037 * buffer.h: declare oprator== and operator!= for
7038 Buffer::inset_iterator
7040 * bufferlist.C (emergencyWrite): don't use fmt(...)
7042 * text3.C: add using std::endl
7044 * BufferView.C (moveCursorUpdate): remove default arg
7046 2002-08-20 André Pönitz <poenitz@gmx.net>
7048 * buffer.[Ch]: move inline functions to .C
7051 * BufferView_pimpl.C:
7053 * buffer.[Ch]: use improved inset_iterator
7056 * paragraph.[Ch]: write one paragraph at a time
7058 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7060 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7061 style if style is not specified.
7063 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7065 * text2.C (setCounter): when searching for right label for a
7066 caption, make sure to recurse to parent insets (so that a caption
7067 in a minipage in a figure float works) (bug #568)
7069 2002-08-20 André Pönitz <poenitz@gmx.net>
7071 * text3.C: new file for LyXText::dispatch() and helpers
7073 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7075 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7077 2002-08-19 André Pönitz <poenitz@gmx.net>
7080 * text.C: new LyXText::dispatch()
7082 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7084 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7086 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7088 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7091 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7093 * Makefile.am: use $(variables) instead of @substitutions@
7095 2002-08-15 André Pönitz <poenitz@gmx.net>
7098 * BufferView_pimpl.C: streamlining mathed <-> outer world
7102 * LyXAction.C: remove unused LFUN_MATH
7104 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7106 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7108 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7110 * paragraph.C (Paragraph): reformat a bit
7111 (cutIntoMinibuffer): use builtin InsetList function instad of
7115 * buffer.C: include boost/bind.hpp, add using std::for_each
7116 (writeFileAscii): use ParagraphList iterators
7117 (validate): use for_each for validate traversal of paragraphs
7118 (getBibkeyList): use ParagraphList iterators
7119 (resizeInsets): use for_each to resizeInsetsLyXText for all
7121 (getParFromID): use ParagraphList iterators
7123 * BufferView2.C (lockInset): use paragraph list and iterators
7125 2002-08-14 John Levon <levon@movementarian.org>
7127 * lyxserver.C: remove spurious xforms include
7129 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7131 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7133 2002-08-13 André Pönitz <poenitz@gmx.net>
7136 * lyxfunc.C: further cleaning
7138 2002-08-13 André Pönitz <poenitz@gmx.net>
7140 * funcrequest.h: new constructor
7142 * funcrequest.C: move stuff here from .h
7145 * BufferView_pimpl.C:
7148 * lyxfunc.C: subsequent changes
7150 * lyxfunc.h: new view() member function
7152 * lyxfunc.C: subsequent changes
7154 2002-08-13 Angus Leeming <leeming@lyx.org>
7157 * BufferView_pimpl.C:
7165 changes due to the changed LyXView interface that now returns references
7166 to member variables not pointers.
7168 2002-08-13 Angus Leeming <leeming@lyx.org>
7170 * WordLangTuple (word, lang_code): return references to strings,
7175 * lyxtext.h: forward-declare WordLangTuple.
7180 * text.C: #include "WordLangTuple.h".
7183 * text.C: (selectNextWordToSpellcheck): constify return type.
7185 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7191 * paragraph_pimpl.h:
7194 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7196 Made updateCounter always count from start of buffer, and removed
7197 second argument (par).
7198 Reverted floats number display to '#'. Perhaps I'll try again when the
7199 code base is sanitized a bit.
7201 2002-08-12 Angus Leeming <leeming@lyx.org>
7203 * buffer.[Ch] (getLabelList): constify.
7205 2002-08-07 André Pönitz <poenitz@gmx.net>
7207 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7209 * funcrequest.h: extension to keep mouse (x,y) position
7211 2002-08-12 Juergen Vigna <jug@sad.it>
7213 * BufferView2.C (insertErrors): forbid undo when inserting error
7216 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7218 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7220 * ParagraphList.[Ch]: new files
7222 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7224 * BufferView2.C (lockInset): ParagraphList changes
7227 * bufferlist.C: ditto
7231 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7233 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7234 unused class variable counter_,
7236 * paragraph.[Ch] (getFirstCounter): delete unused function
7238 * counters.C: include LAssert.h
7239 (reset): add a new function with no arg, change other version to
7240 not have def. arg and to not allow empty arg.
7242 * text2.C (setCounter): remove empty arg from call to Counters::reset
7244 2002-08-11 John Levon <levon@movementarian.org>
7246 * Makefile.am: add WordLangTuple.h
7248 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7250 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7251 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7253 * insets/insettext.C: InsetList changes
7255 * graphics/GraphicsSupport.C (operator()): InsetList changes
7257 * toc.C (getTocList): InsetList changes
7259 * paragraph_pimpl.[Ch]: InsetList changes
7261 * paragraph.[Ch]: InsetList changes
7263 * buffer.C (inset_iterator): InsetList changes
7264 (setParagraph): ditto
7265 * buffer.h (inset_iterator): ditto
7266 * iterators.C (operator++): ditto
7267 * iterators.h: ditto
7269 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7271 * InsetList.[Ch]: new files, most InsetList handling moved out of
7274 * BufferView2.C (removeAutoInsets): InsetList changes
7276 (ChangeInsets): ditto
7278 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7280 * paragraph_pimpl.h (empty): new function
7282 * paragraph.[Ch] (empty): new function
7284 * other files: use the new Paragraph::empty function
7286 2002-08-09 John Levon <levon@movementarian.org>
7288 * lyxtext.h: remove unused refresh_height
7290 2002-08-09 John Levon <levon@movementarian.org>
7297 * paragraph.C: move sgml char escaping out of paragraph
7300 * paragraph.C: remove id setter
7304 * paragraph_pimpl.C: remove dead tex_code_break_column
7306 * bufferview_funcs.C: small cleanup
7308 * lyxfunc.C: remove dead proto
7310 * lyxtext.h: make some stuff private. Remove some dead stuff.
7312 * lyxgluelength.C: make as[LyX]String() readable
7314 2002-08-08 John Levon <levon@movementarian.org>
7319 * ToolbarDefaults.C:
7322 * toc.C: lyxaction cleanup
7324 2002-08-08 John Levon <levon@movementarian.org>
7326 * BufferView2.C: small cleanup
7329 * lyxfind.C: move unnecessary header into the .C
7331 2002-08-08 John Levon <levon@movementarian.org>
7333 * funcrequest.h: just tedious nonsense
7336 * lyx_main.C: cleanups
7339 * vspace.C: remove dead header lyx_main.h
7341 2002-08-07 Angus Leeming <leeming@lyx.org>
7344 * paragraph_pimpl.h:
7345 Forward declare class Counters in paragraph.h by moving the ctrs member
7346 variable into Paragraph::Pimpl.
7347 (counters): new method, returning a reference to pimpl_->ctrs.
7349 * text2.C: ensuing changes.
7351 2002-08-07 John Levon <levon@movementarian.org>
7353 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7355 * BufferView_pimpl.C: announce X selection on double/triple
7358 * lyx_main.C: use correct bool in batch dispatch
7360 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7362 2002-08-07 André Pönitz <poenitz@gmx.net>
7364 * funcrequest.h: new class to wrap a kb_action and its argument
7367 * BufferView_pimpl[Ch]:
7371 * lyxrc.C: subsequent changes
7374 2002-08-07 John Levon <levon@movementarian.org>
7376 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7377 document options change.
7379 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7384 * makefile.am: move counters functionality over from
7385 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7387 2002-08-06 John Levon <levon@movementarian.org>
7389 * WordLangTuple.h: new file for word + language code tuple
7400 * BufferView2.C: use WordLangTuple
7403 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7405 2002-08-06 John Levon <levon@movementarian.org>
7407 * lyx_main.C: fix cmdline batch handling
7409 2002-08-06 André Pönitz <poenitz@gmx.net>
7411 * lyxrc.C: set default for show_banner to true
7413 2002-08-06 John Levon <levon@movementarian.org>
7415 * pspell.C: fix a crash, and allow new aspell to work
7417 2002-08-06 John Levon <levon@movementarian.org>
7420 * kbmap.C: small cleanup
7423 * vspace.C: add const
7425 2002-08-05 John Levon <levon@movementarian.org>
7427 * LyXAction.C: back to tabular-insert
7429 2002-08-04 John Levon <levon@movementarian.org>
7432 * BufferView.C: cosmetic change
7434 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7444 * BufferView2.C: purge all "Lyx" not "LyX" strings
7447 * lyxcursor.C: attempt to add some documentation
7452 * ToolbarDefaults.C:
7453 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7454 merge with LFUN_TABULAR_INSERT
7461 * pspell.C: split up i/pspell implementations into separate
7462 files, many cleanups
7464 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7466 * text2.C: some cleanup
7468 * lyxfunc.C: don't check for isp_command == "none" any more, it
7469 didn't make any sense
7471 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7476 * makefile.am: move counters functionality over
7477 from text2.C/paragraph.[Ch] to counters.[Ch], and
7479 2002-08-02 John Levon <levon@movementarian.org>
7481 * buffer.C: s/lyxconvert/lyx2lyx/
7483 2002-08-02 Angus Leeming <leeming@lyx.org>
7485 * lyxlex.C: revert John's change as it breaks reading of the user
7488 2002-08-02 Angus Leeming <leeming@lyx.org>
7490 * importer.C (Import):
7491 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7492 changes due to LyXView::view() now returning a boost::shared_ptr.
7494 2002-08-02 John Levon <levon@movementarian.org>
7496 * lyxlex.C: small cleanup
7498 2002-08-02 John Levon <levon@movementarian.org>
7500 * text2.C (status): small cleanup, no logic change
7502 2002-08-01 John Levon <levon@movementarian.org>
7505 * buffer.C (writeFile): don't output alerts, caller
7509 * lyx_cb.C: from above
7511 * lyxfunc.C: allow to open non-existent files
7513 2002-07-31 John Levon <levon@movementarian.org>
7515 * lyxserver.C: don't let incidental errors get
7518 2002-07-30 John Levon <levon@movementarian.org>
7520 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7522 2002-07-30 John Levon <levon@movementarian.org>
7525 * lyxserver.C: remove I/O callback too
7527 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7529 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7532 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7534 * many files: strip,frontStrip -> trim,ltrim,rtrim
7536 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7538 * PrinterParams.h: remove extern containsOnly, and include
7539 support/lstrings.h instead.
7541 * LaTeX.C (scanAuxFile): modify because of strip changes
7543 * buffer.C (makeLaTeXFile): ditto
7544 * bufferparams.C (writeFile): ditt
7545 * lyxfont.C (stateText): ditto
7546 * lyxserver.C (read_ready): ditto
7547 * vc-backend.C (scanMaster): ditto
7549 * BufferView_pimpl.h: ws changes
7551 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7553 2002-07-26 André Pönitz <poenitz@gmx.net>
7555 * kb_sequence.C: remove unnedred usings
7557 2002-07-26 Juergen Vigna <jug@sad.it>
7559 * lyxfind.C (LyXReplace): we have to check better if the returned
7560 text is not of theLockingInset()->getLockingInset().
7562 2002-07-25 Juergen Vigna <jug@sad.it>
7564 * lyxfind.C (LyXReplace): don't replace if we don't get the
7567 * undo_funcs.C (createUndo): remove debugging code.
7569 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7571 * buffer.C (parseSingleLyXformat2Token): Use default placement
7572 when reading old floats.
7574 * FloatList.C (FloatList): Change the default placement of figure
7575 and tables to "tbp".
7577 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7579 * MenuBackend.C: using std::max
7581 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7583 * MenuBackend.C (expandToc):
7584 (expandToc2): code moved from xforms menu frontend. It is now
7585 generic and TOCs are transparent to menu frontends.
7587 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7589 * toc.C (getTocList): protect against buf=0
7591 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7592 Menu as first parameter. Now, this calls itself recursively to
7593 expand a whole tree (this will be useful for TOC handling)
7594 (expandFloatInsert): remove 'wide' version of floats
7596 * MenuBackend.h (submenuname): returns the name of the submenu.
7597 (submenu): returns the submenu itself, provided it has been
7598 created by MenuBackend::expand
7600 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7602 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7603 insets which have noFontChange == true. (bug #172)
7605 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7607 * BufferView_pimpl.C: add connection objects and use them...
7610 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7612 * MenuBackend.C (expandLastfiles):
7615 (expandFloatListInsert):
7616 (expandFloatInsert):
7617 (expand): split expand in parts
7619 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7621 * lyx_gui.C: use lyx_gui::exit()
7623 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7625 * LyXAction.C: show the failing pseudo action
7627 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7629 * buffer.C (readFile): Run the lyxconvert script in order to read
7632 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7636 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7638 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7642 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7644 2002-07-22 Herbert Voss <voss@lyx.org>
7647 * lyxlength.[Ch]: add support for the vertical lengths
7649 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7651 * toc.[Ch]: std:: fixes
7653 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7655 * lyxrc.C: do not include lyx_main.h
7657 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7663 * BufferView2.C: include "lyxlex.h"
7666 * bufferparams.h: do not #include "lyxlex.h"
7668 * lyxtextclasslist.C (Add): remove method
7669 (classlist): renamed to classlist_
7671 * paragraph_pimpl.C:
7675 * bufferview_funcs.C:
7680 * toc.C (getTocList): use BufferParams::getLyXTextClass
7682 * toc.C (getTocList): use InsetFloat::addToToc
7684 * toc.[Ch]: new files, containing helper functions to handle table
7687 * lyxfunc.C (dispatch): no need to remove spaces around command
7689 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7690 first command of the sequence; it is not very clever, but I do not
7691 have a better idea, actually
7693 * LyXAction.C (LookupFunc): make sure to remove space at the
7694 beginning and end of the command
7696 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7698 * MenuBackend.C (getMenubar): new method: return the menubar of
7700 (read): treat differently reading of menu and menubar (in
7701 particular, the menubar has no name now)
7702 (Menu::menubar): remove
7704 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7707 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7709 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7710 a bibitem inset in a RTL paragraph.
7712 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7714 * paragraph_pimpl.C: constify
7716 * BufferView_pimpl.C:
7718 * lyxfunc.C: fix dispatch in a nicer way
7720 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7722 * lyxfunc.C (dispatch):
7723 * BufferView_pimpl.C:
7724 * BufferView_pimpl.h:
7726 * BufferView.h: rename Dispatch() to dispatch()
7728 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7730 * lyxlayout.C (Read): honor DependsOn tag
7732 * lyxlayout.[Ch] (depends_on): new method
7734 * version.C.in: update lyx_docversion
7736 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7738 * paragraph.C (validate): remove from here...
7739 * paragraph_pimpl.C (validate): ... and move here
7740 (isTextAt): make it const
7742 * buffer.C (getLists): ws cleanup
7744 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7746 * language.C (read): Use iso8859-1 encoding in latex_lang
7747 (this prevents LyX from crashing when using iso10646-1 encoding).
7749 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7751 * text2.C (toggleInset): if cursor is inside an inset, close the
7752 inset and leave cursor _after_ it
7754 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7756 * lyxfunc.C: move minibuffer completion handling out of here
7758 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7760 * BufferView_pimpl.C:
7761 * LaTeX.C: fix dispatch calls
7763 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7765 * text.C (drawChars): Fix Arabic text rendering.
7767 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7771 * lyxfunc.C: remove message-push/pop
7775 * lyxfunc.C: rationalise some code by removing verboseDispatch
7776 in favour of a bool argument to dispatch()
7778 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7780 * lyx_main.C (init): make sure to read symlinks as absolute paths
7782 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7785 * lyxfunc.C: no need for commandshortcut to be a member
7787 2002-07-15 André Pönitz <poenitz@gmx.net>
7789 * converter.C: add support for $$s (scripts from lib/scripts dir)
7790 * lyx_main.C: white space
7792 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7796 * lyxrc.C: remove second exit confirmation
7798 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7803 * BufferView_pimpl.h:
7804 * BufferView_pimpl.C:
7805 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7807 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7809 * MenuBackend.C (expand): add numeric shortcuts to document menu
7811 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7813 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7815 * lyxfont.C (setLyXFamily):
7822 * buffer.C (asciiParagraph): use ascii_lowercase
7824 2002-07-15 Mike Fabian <mfabian@suse.de>
7826 * lyxlex_pimpl.C (search_kw):
7827 * lyxlex.C (getLongString):
7828 * converter.h (operator<):
7829 * converter.C (operator<):
7830 * buffer.C (parseSingleLyXformat2Token):
7832 * ToolbarDefaults.C (read):
7833 * MenuBackend.C (checkShortcuts):
7835 * LColor.C (getFromGUIName):
7836 (getFromLyXName): use the compare_ascii_no_case instead of
7837 compare_no_case, because in turkish, 'i' is not the lowercase
7838 version of 'I', and thus turkish locale breaks parsing of tags.
7840 2002-07-16 Angus Leeming <leeming@lyx.org>
7842 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7843 now takes a Buffer const & argument.
7845 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7847 * BufferView.C (resize): check there's a buffer to resize
7849 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7851 * lyxfunc.C: remove dead code
7854 * lyxserver.C: use lyx_guii::set_read_callback
7856 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7858 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7859 an inset in a RTL paragraph.
7861 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7863 * lyxfunc.C: repaint after a font size update
7865 2002-07-15 André Pönitz <poenitz@gmx.net>
7867 * lyxlength.C: inBP should be able to return negative values
7869 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7871 * lyxfunc.C: use lyx_gui::update_fonts()
7873 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7875 * lyxfunc.C: use lyx_gui::update_color()
7877 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7883 * lyxrc.C: remove file->new asks for name option, and let
7884 buffer-new take an argument
7886 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7888 * BufferView_pimpl.C: remove unneeded extra repaint()
7890 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7892 * LyXAction.C: allow command-sequence with NoBuffer
7894 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7896 2002-07-10 Angus Leeming <leeming@lyx.org>
7898 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7900 2002-07-09 Angus Leeming <leeming@lyx.org>
7902 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7904 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7906 * lengthcommon.h: whitespace
7908 * lyxfunc.C: update scrollbar after goto paragraph
7910 * lyxtext.h: factor out page break drawing, and fix it so
7911 page break/added space paints as selected nicely
7913 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7915 * BufferView_pimpl.C: add FIXMEs, clean up a little
7917 2002-07-09 André Pönitz <poenitz@gmx.net>
7919 * lyxfont.[Ch]: support for wasy symbols
7921 2002-07-08 André Pönitz <poenitz@gmx.net>
7923 * BufferView_pimpl.C: apply John's patch for #93.
7925 2002-07-05 Angus Leeming <leeming@lyx.org>
7927 * BufferView_pimpl.C (buffer): generate previews if desired.
7929 * LColor.h: add "preview" to the color enum.
7931 * LColor.C (LColor): add a corresponding entry to the items array.
7933 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7936 2002-07-05 Angus Leeming <leeming@lyx.org>
7938 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7939 The body of the code is now in the method that is passed an ostream &
7940 rather than a file name.
7941 Pass an additional only_preamble parameter, useful for the forthcoming
7944 2002-07-03 André Pönitz <poenitz@gmx.net>
7946 * lyxfunc.C: simplify getStatus() a bit for math stuff
7948 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7950 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7952 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7954 * text.C (changeRegionCase): do not change case of all the
7955 document when region ends at paragraph end (bug #461)
7957 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7959 * paragraph.C (startTeXParParams):
7960 (endTeXParParams): add \protect when necessary
7962 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7964 * BufferView_pimpl.C (workAreaExpose): remove warning
7966 2002-06-27 Angus Leeming <leeming@lyx.org>
7968 * Makefile.am: add lyxlayout_ptr_fwd.h.
7970 2002-06-26 André Pönitz <poenitz@gmx.net>
7972 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7974 2002-06-25 Angus Leeming <leeming@lyx.org>
7976 * lyxfunc.C (dispatch): Comment out the call to
7977 grfx::GCache::changeDisplay. The method no longer exists now that the
7978 pixmap generation part of the graphics loader has been moved into
7981 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7983 * text2.C: layout as layout
7985 * text.C: layout as layout
7987 * tabular.C (OldFormatRead): layout as layout
7989 * paragraph_pimpl.C (TeXDeeper): layout as layout
7990 (realizeFont): layout as layout
7992 * paragraph.C (writeFile): layout as layout
7993 (validate): layout as layout
7994 (getFont): layout as layout
7995 (getLabelFont): layout as layout
7996 (getLayoutFont): layout as layout
7997 (breakParagraph): layout as layout
7998 (stripLeadingSpaces): layout as layout
7999 (getEndLabel): layout as layout
8000 (getMaxDepthAfter): layout as layout
8001 (applyLayout): layout as layout
8002 (TeXOnePar): layout as layout
8003 (simpleTeXOnePar): layout as layout
8004 (TeXEnvironment): layout as layout
8005 (layout): layout as layout
8006 (layout): layout as layout
8008 * lyxtextclass.C (compare_name): new functor to work with
8009 shared_ptr, layout as layout
8010 (Read): layout as layout
8011 (hasLayout): layout as layout
8012 (operator): layout as layout
8013 (delete_layout): layout as layout
8014 (defaultLayout): layout as layout
8016 * lyxlayout_ptr_fwd.h: new file
8018 * lyxlayout.C (Read): layout as layout
8020 * lyx_cb.C (MenuInsertLabel): layout as layout
8022 * bufferlist.C (newFile): layout as layout
8024 * buffer.C (readLyXformat2): layout as layout
8025 (parseSingleLyXformat2Token): layout as layout
8026 (insertStringAsLines): layout as layout
8027 (asciiParagraph): layout as layout
8028 (latexParagraphs): layout as layout
8029 (makeLinuxDocFile): layout as layout
8030 (simpleLinuxDocOnePar): layout as layout
8031 (makeDocBookFile): layout as layout
8032 (simpleDocBookOnePar): layout as layout
8033 (getLists): layout as layout
8035 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8037 * CutAndPaste.C (cutSelection): layout as layout
8038 (pasteSelection): layout as layout
8039 (SwitchLayoutsBetweenClasses): layout as layout
8041 * BufferView_pimpl.C (Dispatch): layout as layout
8042 (smartQuote): layout as layout
8044 * BufferView2.C (unlockInset): layout as layout
8046 2002-06-24 André Pönitz <poenitz@gmx.net>
8048 * lyxfunc.C: fix #487
8050 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8054 * lyxfunc.C: remove display_shortcuts, show_banner
8056 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8058 * Buffer_pimpl.C: oops, update on resize
8060 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8067 * BufferView.C: use repaint()
8069 * BufferView_pimpl.h:
8070 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8071 as it's a clearer description. Remove superfluous
8074 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8076 * text.C: fix bug 488. Not ideal, but getting
8077 getWord() to work properly for the insets that
8078 matter is more difficult ...
8080 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8082 * BufferView_pimpl.C:
8085 * lyxfunc.C: remove the six million index lyxfuncs to just
8086 one, and DTRT (bug 458)
8088 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8092 * BufferView_pimpl.h:
8093 * BufferView_pimpl.C: clean up resize() stuff,
8094 and unnecessary updateScreen()s
8096 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8100 * BufferView_pimpl.h:
8101 * BufferView_pimpl.C:
8104 * minibuffer.C: remove focus management of workarea,
8105 not needed. Use screen's greyOut()
8107 2002-06-17 Herbert Voss <voss@lyx.org>
8109 * converter.C: (convert) do not post a message, when converting
8110 fails, let the calling function decide what to do in this case
8112 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8114 * lyxfunc.C: tidy up a little
8116 2002-06-16 <alstrup@diku.dk>
8118 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8119 Got rid of FORMS_H_LOCATION include. Now we are
8122 2002-06-15 LyX Development team <lyx@rilke>
8124 * buffer.[Ch] (sgmlOpenTag):
8125 (sgmlCloseTag): Added support for avoiding pernicious mixed
8126 content. Return number of lines written.
8129 (makeDocBookFile): Fixed calls to sgml*Tag.
8130 Simple white space clean.
8132 (simpleDocBookOnePar): Simple white space clean.
8134 * tabular.[Ch] (docBook): Renamed to docbook and got another
8135 argument to related with the pernicious mixed content.
8137 (docbookRow): Fixed calls for docbook inset method.
8139 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8141 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8142 so it's X11 independent.
8146 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8148 2002-06-15 Lyx Development team <lyx@electronia>
8150 * intl.h: Renamed getTrans to getTransManager.
8152 2002-06-14 Angus Leeming <leeming@lyx.org>
8154 * Makefile.am: nuke forgotten stl_string_fwd.h.
8156 2002-06-12 Angus Leeming <leeming@lyx.org>
8158 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8160 2002-06-13 Angus Leeming <leeming@lyx.org>
8163 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8165 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8167 * kbmap.C (getiso): add support for cyrillic and greek
8169 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8173 * BufferView_pimpl.h:
8174 * BufferView_pimpl.C: move bogus scrolling logic
8177 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8180 * BufferView_pimpl.C: view->resize() change
8182 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8184 * BufferView_pimpl.C: topCursorVisible
8187 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8191 * lyx_gui.C: move to frontends/
8195 * lyx_main.C: changes from above
8197 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8204 * lyx_main.C: minor tidy
8206 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8208 * BufferView_pimpl.h:
8209 * BufferView_pimpl.C:
8211 * BufferView.C: make painter() const,
8214 * BufferView2.C: use screen() accessor
8217 * lyx_main.C: some minor cleanup
8219 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8221 * BufferView_pimpl.h:
8222 * BufferView_pimpl.C: remove enter/leaveView,
8225 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8230 * BufferView_pimpl.h:
8231 * BufferView_pimpl.C: only construct screen once,
8234 * lyxrc.C: remove pointless comment
8236 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8239 * BufferView.C: remove active() and belowMouse()
8241 * BufferView_pimpl.h:
8242 * BufferView_pimpl.C: use workarea() not workarea_,
8243 and make it use a scoped_ptr instead
8245 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8247 * lyx_gui.C: add debug message on BadWindow
8249 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8251 * sp_spell.C: fdopen is not part of the C++ standard.
8253 * paragraph.C (InsetIterator): use >= instead of ==
8255 2002-06-07 Angus Leeming <leeming@lyx.org>
8257 Fixes needed to compile with Compaq cxx 6.5.
8258 * BufferView_pimpl.C:
8265 * lyxtextclasslist.C:
8270 all c-library variables have been moved into namespace std. Wrap
8271 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8276 Add a using std::abs declaration.
8278 * kbmap.h (modifier_pair):
8279 * paragraph.h (InsetTable, InsetList):
8280 * lyxfont.h (FontBits):
8281 type definition made public.
8283 * bufferlist.C (emergencyWriteAll): the compiler complains that
8284 there is more than one possible lyx::class_fun template to choose from.
8285 I re-named the void specialisation as lyx::void_class_fun.
8287 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8289 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8290 the compiler is is unable to find tostr in write_attribute.
8292 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8294 * buffer.C (sgmlError): hide #warning
8296 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8298 * xtl/*: get rid of xtl, which is not in use anyway
8300 * LyXAction.C (init):
8301 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8302 were unimplemented xtl experimentation
8304 2002-06-04 André Pönitz <poenitz@gmx.net>
8306 * lyxfunc.C: disable array operation on simple formulae
8308 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8310 * converter.C: constify a bit
8312 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8314 * lyx_gui.C: check xforms version correctly
8316 2002-04-30 Herbert Voss <voss@lyx.org>
8318 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8321 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8323 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8324 attempt to register it with a VCS)
8326 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8328 * lyx_main.C (init): honor variables LYX_DIR_13x and
8331 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8335 * lyx_main.C: fix a crash on bad command line,
8336 and give a useful exit status on error
8338 * lyxfunc.C (doImport): allow -i lyx to work
8340 2002-03-30 André Pönitz <poenitz@gmx.net>
8342 * lyxfunc.C: mathed font changes
8344 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8359 * trans_mgr.h: srcdocs, and some minor cleanups
8361 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8363 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8364 call getFont all the time)
8366 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8368 * switch from SigC signals to boost::signals
8370 2002-05-29 André Pönitz <poenitz@gmx.net>
8372 * paragraph_pimpl.C (getChar): don't call size() too often...
8374 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8376 * paragraph_pimpl.C (insertChar): do not try to update tables when
8377 appending (pos == size())
8379 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8380 in order to reduce drastically the number of comparisons needed to
8381 parse a large document
8383 2002-05-29 André Pönitz <poenitz@gmx.net>
8389 * textclasslist.[Ch]:
8390 * sp_ispell.h: whitespace change
8392 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8394 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8395 lyxaction directly now.
8397 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8401 * lyxvc.C: remove unused headers
8403 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8410 * undo_funcs.C: some cleanups. Use shared_ptr
8411 and a template for the undo stacks.
8413 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8415 * BufferView_pimpl.h:
8416 * BufferView_pimpl.C:
8423 * text2.C: use key_state/mouse_state
8425 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8427 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8430 * chset.C: change include order
8431 (loadFile): use boost regex and get rid of LRegex and LSubstring
8433 * Makefile.am (BOOST_LIBS): new variable
8436 * LaTeX.C: change include order.
8437 (scanAuxFile): use boost regex and get rid of LRegex and
8441 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8446 * FontInfo.C: moved to frontends/xforms/
8449 * FontLoader.C: moved into frontends for GUIIzation
8454 * lyxfunc.C: changes from above
8456 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8458 * LColor.C: remove spurious X include
8460 * BufferView_pimpl.C:
8465 * text2.C: move font metrics to frontends/
8467 2002-05-24 Juergen Vigna <jug@sad.it>
8469 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8470 setting the undo_cursor.
8472 * ParagraphParameters.h: include local includes first.
8474 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8476 * BufferView_pimpl.C:
8477 * BufferView_pimpl.h:
8481 * screen.C: move WorkArea into frontends/
8487 * BufferView2.C: move LyXScreen into frontends/
8491 * lyx_gui.C: move lyxlookup into frontends/xforms/
8493 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8496 * BufferView_pimpl.C:
8506 * bufferview_funcs.C:
8519 * vc-backend.C: move LyX/XFormsView into frontends/
8521 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8533 * text2.C: move Painter to frontends/
8535 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8537 * buffer.C: comment out some some code that depend upon lyx_format
8540 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8541 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8543 * buffer.h (NO_COMPABILITY): turn off compability
8545 * ColorHandler.C: include scoped_array.hpp
8547 * font.C: Use more specific smart_ptr header.
8550 * ShareContainer.h: ditto
8554 * BufferView_pimpl.h: ditto
8555 * ColorHandler.h: ditto
8557 * kbmap.C (defkey): change call to shared_ptr::reset
8559 2002-05-21 Juergen Vigna <jug@sad.it>
8561 * buffer.C (insertErtContents): fix to insert ert asis if it is
8562 non empty. Skip it completely if it contains only whitespaces.
8564 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8566 * BufferView_pimpl.C:
8567 * BufferView2.C: clear selection on paste (bug 393)
8569 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8571 * DepTable.C: include ctime
8573 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8575 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8577 2002-05-14 Juergen Vigna <jug@sad.it>
8579 * text.C (breakParagraph): fixed function to honor the keepempty
8580 layout in the right maner and also to permit the right breaking
8581 algorithm on empty or non empyt keepempty paragraphs.
8583 * paragraph.C (breakParagraph): we have to check also if the par
8584 is really empty (!size()) for isempty otherwise we do the wrong
8587 2002-05-10 Juergen Vigna <jug@sad.it>
8589 * buffer.[Ch] : The following are only changes to the ert
8590 compatibility read reading old LaTeX layout and font stuff and
8591 convert it to ERTInsets.
8593 * buffer.h: added isErtInset().
8595 * buffer.C (struct ErtComp): add a fromlayout bool to check
8596 if we're inside a LaTeX layout.
8597 (isErtInset): new helper function.
8598 (insertErtContents): look for other ert insets before this one
8599 and insert the contents there, so that we don't have subsequent
8600 ERT insets with nothing between them. This way we create only one
8601 inset with multiple paragraphs. Also check if we don't insert only
8602 spaces ' ' as they are ignored anyway afterwards in the .tex file
8603 so if we have only spaces we will ignore this latex part in the
8605 (parseSingleLyXformat2Token \\layout): better compatibility when
8606 reading layout-latex stuff.
8607 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8609 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8610 stuff after reading the inset only get the information back from
8613 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8615 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8617 * LaTeXFeatures.C (getBabelOptions): New method.
8619 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8621 * BufferView_pimpl.C (Dispatch): work around missing argument for
8624 2002-05-08 Juergen Vigna <jug@sad.it>
8626 * text.C (leftMargin): handle paragraph leftindent.
8628 * paragraph.C (writeFile): write the new \\leftindent tag.
8629 (validate): handle leftindent code.
8630 (TeXEnvironment): handle paragraphleftindent code again.
8632 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8634 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8635 for paragrap_extra indent code and new token \\leftindent.
8636 (latexParagraphs): handle the leftindent as environment.
8638 * ParameterStruct.h: added leftindent support.
8640 * ParagraphParameters.C (leftIndent): added support functions for
8641 the paragraph left indent.
8643 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8646 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8648 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8651 * text.C (computeBidiTables): No bidi in insetERT.
8653 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8656 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8658 * version.C.in: pre 5
8660 2002-05-02 José Matos <jamatos@fep.up.pt>
8661 * buffer.C (makeDocBookFile): white space changes, add newline to
8663 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8665 * tabular.C (docBook): fix typo.
8667 2002-05-03 Juergen Vigna <jug@sad.it>
8669 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8670 change in LyXText as we can not be sure it was not freed.
8671 (drawOneRow): remove unused code.
8673 * text.C (drawInset): redo the calculation of the need_break_row as
8674 it could have a row which was already freed.
8675 (draw): look at the return value of drawInset and return false if
8676 it also returned false.
8677 (paintRowText): look at the return value of draw and return false if
8678 it also returned false.
8680 * lyxtext.h: added bool return type to drawInset() and draw() so that
8681 if we have a change in the row so that the rowbreak has to be redone
8682 we abort drawing as it will be called again.
8684 2002-05-02 Juergen Vigna <jug@sad.it>
8686 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8687 a change in the maintext also if we're inside an inset.
8688 (Dispatch): set the cursor again after a break line and after the
8689 screen has been updated as it could be we're in a different row.
8691 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8692 to set the cursor behind the pargraph with > size().
8693 (setCursor): check also for the same paragraph when checking where
8694 to put the cursor if we have a NFR inset.
8696 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8697 parts of layout read further up as it still was in the wrong
8700 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8702 * screen.C (drawFromTo): change sine fullRebreak always return
8705 * buffer.C (parseSingleLyXformat2Token): reindent some
8707 * BufferView_pimpl.C (update): change since fullRebreak always
8709 (Dispatch): git rid of the last hardcoded "Standard"s.
8711 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8713 * text2.[Ch] (fullRebreak): make it return void now that we always
8716 2002-04-30 Juergen Vigna <jug@sad.it>
8718 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8719 ert compatibility check for "latex" layout.
8721 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8723 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8724 minipages: use col% instead of p%, and also use the current font.
8725 (makeLaTeXFile): Fix use babel condition.
8726 (parseSingleLyXformat2Token): Correct font when reading old floats.
8728 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8730 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8731 inserting list of floats.
8733 2002-04-25 Herbert Voss <voss@lyx.org>
8735 * MenuBackend.C (expand): don't add the graphics extensions to the
8738 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8740 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8741 non-existing layout, do not complain if it was the default layout
8742 of the original class (bug #342)
8744 2002-04-24 Juergen Vigna <jug@sad.it>
8746 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8747 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8749 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8751 * buffer.C (getBibkeyList): If using \bibliography, return the
8752 option field with the reference itself. Enables us to provide natbib
8753 support when using \bibliography.
8755 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8757 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8759 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8760 natbib is provided by the LaTeX class.
8762 2002-04-23 Juergen Vigna <jug@sad.it>
8764 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8767 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8769 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8771 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8773 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8774 ensuremath around textordmasculine, textordfeminine and
8777 2002-04-19 Juergen Vigna <jug@sad.it>
8779 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8780 reinitializing the buffer otherwise row-dimensions may be wrong.
8781 (update): reset also the selection cursors if they do exits otherwise
8782 their x/y positions may be wrong.
8784 * text2.C (cursorDown): don't enter the inset if we came from a row
8785 above and are one row over the inset.
8787 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8788 really leaving an inset.
8790 2002-04-18 Juergen Vigna <jug@sad.it>
8792 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8793 of the selected paragraph does not have the selected layout also if
8796 * text2.C (setLayout): fixed bug which did not change last selected
8799 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8800 changed the read and substituted \\end_float with \\end_inset!
8802 * BufferView_pimpl.C (cursorPrevious):
8803 (cursorNext): fixed to make it work with rows heigher than the work
8804 area without moving the cursor only the draw of the row.
8805 (workAreaMotionNotify): fix jumping over high rows.
8807 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8809 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8812 2002-04-16 Juergen Vigna <jug@sad.it>
8814 * text2.C (setCursor): set also the irow().
8815 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8817 (cursorDown): support for locking an inset if the x_fix value goes
8818 inside it. That way I can transverse insets too with cursor up/down.
8820 * lyxrow.h: added irow helper function same as other (i) functions.
8822 * BufferView_pimpl.C (cursorPrevious):
8823 (cursorNext): fixed for insets!
8825 2002-04-15 Juergen Vigna <jug@sad.it>
8827 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8828 position otherwise it is wrong in some cases.
8830 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8831 inside the inset before the call.
8833 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8835 * buffer.[Ch] (getBibkeyList): make it const.
8837 2002-04-12 Juergen Vigna <jug@sad.it>
8839 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8841 * text2.C (getCursorX): new helper function
8842 (setCursor): compute also ix_
8843 (setCursorFromCoordinates): set also ix.
8845 * lyxcursor.h: added ix_ and helper functions.
8847 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8849 * buffer.C (insertStringAsLines): dont break paragraph if the this
8850 paragraph is inside an inset which does not permit it!
8852 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8853 also with no chars on this paragraph.
8854 (paintRowText): only paint stuff if it's inside the workarea!
8856 * paragraph.C (breakParagraph): honor keepempty flag and break the
8857 paragraph always below not above.
8859 * BufferView2.C (unlockInset): update the paragraph layout on inset
8860 unlock as we changed paragraph in such a case.
8862 * lyxfind.C (LyXFind): clear the former selection if not found!
8864 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8865 again called in insertChar().
8867 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8868 an inset which uses the whole row!
8869 (rightMargin): ditto.
8870 (insertChar): force a rebreak if we inserted an inset!
8872 2002-03-28 Herbert Voss <voss@lyx.org>
8874 * lyxlength.[Ch]: add inBP() to get the right PS-point
8875 units (BigPoint). With inPixels we have rounding errors
8877 2002-04-11 Juergen Vigna <jug@sad.it>
8879 * text2.C (setCursorFromCoordinates): set iy to the right value.
8880 (setCursor): add check if row->previous exists!
8882 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8883 an old float_type as this was the case in the old code!
8885 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8887 * BufferView2.C (showLockedInsetCursor): use iy
8888 (fitLockedInsetCursor): ditto
8890 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8891 locked insets as there we have the right value now.
8893 * lyxcursor.C: added iy_ variable and iy functions to set to the
8894 baseline of cursor-y of the locked inset.
8896 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8897 (setCursor): fixed for insets which need a full row.
8899 * text.C (rowLastPrintable): don't ignore the last space when before
8900 an inset which needs a full row.
8901 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8902 as last character of a row when before a inset which needs a full row.
8904 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8906 * version.C.in: update date
8908 * text2.C (fullRebreak): try to always return true and see what
8911 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8913 * MenuBackend.C (expand): use Floating::listName
8915 * FloatList.C (FloatList): add listName argument to the built-in
8918 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8919 text associated with the float.
8921 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8923 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8925 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8927 * ShareContainer.h: add a couple of missing typenames.
8929 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8931 * lyxrc.C (getDescription): use _() correctly rather than N_().
8933 2002-03-28 Herbert Voss <voss@lyx.org>
8935 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8936 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8938 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8940 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8941 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8943 2002-03-29 Juergen Vigna <jug@sad.it>
8945 * lyxfunc.C (dispatch): add a missing fitCursor call.
8947 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8948 it was scrolled by a cursor move, so return the bool status.
8950 * BufferView.C (fitCursor): return the bool flag also to the outside
8951 world as this is needed.
8953 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8955 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8956 call the edit() as it is not needed (and wrong) IMO.
8957 (workAreaButtonPress): set the screen_first variable before evt.
8958 unlock the inset as this may change screen_first and then we have
8959 a wrong y position for the click!
8961 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8963 * MenuBackend.C (expand): another translation that I missed
8965 2002-03-28 Juergen Vigna <jug@sad.it>
8967 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8969 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8971 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8973 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8975 * MenuBackend.C (expand): fix export/view/update when there is no
8978 2002-03-27 Herbert Voss <voss@lyx.org>
8980 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8983 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8985 * bufferview_funcs.C (currentState): only show paragraph number
8986 for is DEVEL_VERSION is set.
8988 * lyxfunc.C (dispatch): put warning in INFO channel
8990 * MenuBackend.C (expand): translate the name of floats
8992 * FloatList.C (FloatList): mark the float names for translation
8994 * converter.C (convert): use LibScriptSearch
8996 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8998 * MenuBackend.C (defaults): fix default menu (we might as well get
9001 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9003 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9006 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9008 * lyxvc.C: reorder includes.
9010 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9012 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9015 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9017 * CutAndPaste.C: change layouts earlier on paste
9018 to avoid crashing when calling getFont()
9020 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9022 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9025 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9027 * WorkArea.C: remove 'Pending' debug message.
9029 * most files: ws cleanup
9031 * buffer.[Ch]: ws changes
9033 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9035 2002-03-21 Juergen Vigna <jug@sad.it>
9037 * tabular.C (SetMultiColumn): collapse also the contents of the
9038 cells and set the last border right. Added a Buffer const * param.
9040 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9042 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9045 2002-03-19 Juergen Vigna <jug@sad.it>
9047 * text2.C (clearSelection): reset also xsel_cache.
9049 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9050 where it needs to be called (John tells us to do so too :)
9051 (selectionLost): reset sel_cache.
9053 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9055 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9057 * text2.C (setCursorIntern): put debuging code in INSETS channel
9059 2002-03-19 André Pönitz <poenitz@gmx.net>
9061 * lyxfunc.C: tiny whitespace change
9063 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9065 * ToolbarDefaults.C (init):
9066 * LyXAction.C (init):
9068 * BufferView_pimpl.C (Dispatch):
9069 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9071 2002-03-19 Allan Rae <rae@lyx.org>
9073 * exporter.C (Export): removeAutoInsets before doing anything else.
9074 While I've just introduced a dependency on BufferView this really is
9075 the best place to clean the buffer otherwise you need to cleanup in
9076 a dozen places before calling export or cleanup in a dozen functions
9079 * converter.C (runLaTeX):
9080 (scanLog): Better handling of removeAutoInsets and screen updates.
9082 * lyxfunc.C (dispatch): small whitespace changes
9084 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9086 * WorkArea.C (C_WorkAreaEvent): return a value.
9087 (event_cb): return 1 if we handled the event, 0 otherwise.
9089 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9091 2002-03-18 Juergen Vigna <jug@sad.it>
9093 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9094 (GetAdditionalWidth): ditto.
9098 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9099 inset if we're there actually (probably not used right now but this
9100 is the direction to go for unifying code).
9101 (paste): disable code to clear the selection.
9103 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9104 inside an InsetText and move the check further up as it is in the
9107 * text2.C (pasteSelection): set a selection over the pasted text.
9109 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9111 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9112 and libgraphics to build on Cygwin.
9114 2002-03-15 Juergen Vigna <jug@sad.it>
9116 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9117 inserting an Inset into the paragraph. I know this is not the best
9118 fix but we already use current_view in CutAndPaste so we will remove
9119 all of it's using at the same time.
9121 * buffer.C (sgmlError): deactivated function till it is rewritten in
9122 the right mode, now it can create problems.
9124 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9125 before accessing it.
9127 2002-03-14 Juergen Vigna <jug@sad.it>
9129 * undo_funcs.C (textHandleUndo): do the right thing when updating
9130 the inset after the undo/redo.
9132 * text2.C (setCursor): just some testcode for #44 not ready yet.
9134 * undo_funcs.C (textHandleUndo): set the next() and previous()
9135 pointers of the paragraph to 0 before deleting otherwise we have
9136 problems with the Paragraph::[destructor].
9138 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9139 on a paragraph insertion.
9141 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9143 * buffer.C (asciiParagraph): use += operator for char append to
9146 * paragraph.C (getFontSettings): compare >= not just >
9147 (highestFontInRange): ditto
9150 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9152 * paragraph.C: change several algorithm to be more appripriate for
9153 the problem domain. This is lookip in FontList and in the InsetList.
9155 2002-03-13 André Pönitz <poenitz@gmx.net>
9158 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9160 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9165 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9167 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9169 * Painter.C (display): anon helper function, adjust code for this
9171 (pixmap): remove function.
9173 * Painter.h: remove private display variable.
9175 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9177 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9179 * WorkArea.[Ch]: remove figinset_canvas cruft.
9181 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9183 * lyxtextclass.C (operator): add one item cache optimization.
9185 * bufferlist.h: doxy changes
9187 * bufferlist.C: ws changes
9189 * DepTable.[Ch] (ext_exist): place const in the right spot.
9191 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9193 (workAreaExpose): call resizeInsets when the with BufferView changes.
9194 (Dispatch): adjust for protectedBlank removal
9195 (specialChar): call updateInset if the insert went ok.
9197 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9198 specialChar instead.
9200 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9202 * BufferView.h: doxy change
9204 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9206 * lyxtextclass.C (operator[]): remove non-const version
9207 (defaultLayout): remove non-const version
9209 2002-03-12 Juergen Vigna <jug@sad.it>
9211 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9212 did resize the LyXText too.
9214 * buffer.C (readLyXformat2): set layout information on newly allocated
9217 * tabular.C (OldFormatRead): set layout information on the paragraph.
9219 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9221 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9223 2002-03-11 Juergen Vigna <jug@sad.it>
9225 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9227 (resizeCurrentBuffer): force also the insets to resize themselfes.
9228 (moveCursorUpdate): fixed up for InsetText.
9230 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9233 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9234 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9235 value of Dialogs::tooltipsEnabled().
9236 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9238 2002-03-08 Juergen Vigna <jug@sad.it>
9240 * BufferView_pimpl.C (updateInset): update inset inside inset also
9241 if it isn't inside theLockingInset().
9243 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9245 * buffer.C (asciiParagraph): redo some of the word and line length
9247 (getLists): look for Caption instead of caption.
9249 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9251 * buffer.C (Buffer): initialize niceFile to true
9254 (makeDocBookFile): make sure niceFile is true on exit
9256 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9258 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9260 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9262 * LyXSendto.C: remove.
9263 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9264 * lyx_gui.C: remove now-redundant comment.
9265 * ColorHandler.h: remove forward declaration of class WorkArea.
9266 * lyxfunc.C: remove #include "WorkArea.h".
9268 2002-03-07 Juergen Vigna <jug@sad.it>
9270 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9271 got moved away with the DEPM and also set the inset_owner always
9272 right which before could have been omitted.
9274 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9276 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9277 wanted layout is not found.
9279 2002-03-07 Juergen Vigna <jug@sad.it>
9281 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9283 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9285 * paragraph.C (breakParagraph): use default layout not layout of
9287 (Paragraph): clear ParagraphParameters.
9289 2002-03-06 Juergen Vigna <jug@sad.it>
9291 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9292 otherwise it would not be a valid lenght. Fixed a special case in
9293 the minipage compatibility read where we end the document with a
9296 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9297 was set as it could be 0 for InsetTexts first entry.
9299 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9301 * paragraph.C (writeFile): if layout is empty write out
9302 defaultLayoutName().
9304 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9305 file without named layout we set layout to defaultLayoutName().
9307 2002-03-06 Juergen Vigna <jug@sad.it>
9309 * CutAndPaste.C (copySelection): set layout for new paragraph.
9311 * text.C (prepareToPrint): leave ERT inset left aligned
9312 (leftMargin): don't indent paragraphs inside ERT insets
9314 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9316 * paragraph.C (breakParagraph): dont call clear do the work manually
9318 * paragraph.[Ch] (clear): remove function
9320 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9322 * paragraph.C (Paragraph): dont call clear, the work has already
9325 * lyxtextclass.C (operator): assert if n is empty
9327 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9328 work manually instead.
9330 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9332 * BufferView_pimpl.C: protect selectionLost against text == 0
9334 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9336 * text.C (breakParagraph): fix a setting layout to '0' problem.
9338 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9340 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9341 final location of file, for the included files, and graphics.
9343 2002-03-05 Juergen Vigna <jug@sad.it>
9345 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9347 2002-03-04 Juergen Vigna <jug@sad.it>
9349 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9351 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9352 last column of multicolumn cells.
9353 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9355 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9357 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9358 file if it doesn't go to a temporary file.
9360 * buffer.C (sgmlOpenTag):
9361 (sgmlCloseTag): remove extra newline insertion.
9363 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9365 * text.C (getRowNearY): comment out debug msg
9367 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9369 * text2.C: first -> first_y
9371 * text.C (getRowNearY): add some attemts at a possible
9372 optimization, not working.
9374 * tabular.[Ch]: add BufferParams to several function so that newly
9375 created paragraph can be initialized to he default layotu for the
9378 * tabular-old.C (ReadOld): add buf->params to call of Init
9380 * screen.C: rename text->first to text->first_y
9382 * paragraph.C (breakParagraph): always set layout in the broken
9385 * lyxtextclass.C (Read): remove lowercase
9388 (delete_layout): ditto
9390 * lyxtext.h: rename first -> first_y
9392 * lyxlayout.C (Read): remove lowercase
9395 (obsoleted_by): ditto
9397 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9399 * buffer.C (insertErtContents): add params are to InsetERT
9400 (parseSingleLyXformat2Token): add code to check if a paragraphs
9401 layout really exist.
9402 (parseSingleLyXformat2Token): add params to several inset
9404 (asciiParagraph): remove lowercase, do the layout comparisons with
9407 * BufferView_pimpl.C (cursorNext): first -> first_y
9408 (resizeCurrentBuffer): first -> first_y
9409 (updateScrollbar): first -> first_y
9410 (scrollCB): first -> first_y
9411 (workAreaMotionNotify): first -> first_y
9412 (workAreaButtonPress): first -> first_y
9413 (checkInsetHit): first -> first_y
9414 (cursorPrevious): first -> first_y
9415 (cursorNext): first -> first_y
9416 (Dispatch): add buffer_->params to severl inset contructors
9418 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9420 * lyxlayout.C (Read): remove some debug info that I forgot.
9422 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9423 clean up the code slightly.
9424 (makeLinuxDocFile): ditto
9425 (makeDocBookFile): ditto
9427 * text2.C: layout as string
9429 * text.C: layout as string
9431 * paragraph_pimpl.C: layout as string
9433 * paragraph.[Ch]: layout as string
9435 * lyxtextclasslist.[Ch]: layout as string
9437 * lyxtextclass.[Ch]: layout as string
9439 * lyxtext.h: layout as string
9441 * lyxlayout.[Ch]: layout as string
9443 * lyx_cb.C: layout as string
9445 * bufferview_funcs.C: layout as string
9447 * bufferparams.C: layout as string
9449 * buffer.C: layout as string
9451 * LyXView.[Ch]: layout as string
9453 * LaTeXFeatures.[Ch]: layout as string
9455 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9457 * BufferView_pimpl.C: change current_layout to string, remove
9462 (workAreaButtonRelease): layout as string
9464 * BufferView2.C (unlockInset): adjust
9466 * vspace.C (asLatexCommand): use an explict temp variable.
9468 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9470 * Makefile.am: use FRONTEND_*
9472 2002-03-01 Juergen Vigna <jug@sad.it>
9474 * tabular.C (SetWidthOfMulticolCell): changed to something better
9475 I hope but still work in progress.
9476 (recalculateMulticolumnsOfColumn): renamed function from
9477 recalculateMulticolCells as it is more appropriate now.
9478 (SetWidthOfCell): calculate multicols better.
9480 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9482 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9484 * lyxfunc.C (processKeySym): print sequence also if it is
9485 `deleted' (complete)
9487 * kbsequence.C (print): print sequence even if it is deleted
9488 (complete would be a better word, actually).
9490 * lyxfunc.C (dispatch): print complete options after a prefix key
9492 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9494 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9496 * text2.C (setCharFont): eliminate setCharFont code duplication.
9498 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9500 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9501 LFUN_TABULAR_FEATURE (bug #177)
9503 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9505 * Makefile.am: remove figure.h
9507 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9509 * Bufferview_pimpl.C:
9521 * text2.C: remove #include "lyx_gui_misc.h".
9523 * LaTeX.C: added #include <cstdio>
9525 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9527 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9528 that the paragraph following this one can have.
9530 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9532 * vspace.C (asLatexCommand): fix bogus gcc warning
9534 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9536 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9538 * text2.C (setLayout): get rid of redundant code
9540 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9542 * text2.C (incDepth): make sure depth cannot be increased beyond
9545 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9547 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9548 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9550 * PainterBase.h (image):
9551 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9554 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9558 * BufferView_pimpl.C:
9559 * BufferView_pimpl.h:
9579 * sp_spell.C: remove fig inset, and the crap house of
9580 cards that follows it
9582 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9588 * nt_defines.h: move .h into support/
9590 * vms_defines.h: remove
9592 * WorkArea.C: add space in debug output
9596 * buffer.C: add WITH_WARNINGS
9600 * bufferlist.C: s/retrive/retrieve/, add docs
9611 * lyxgui.C: add ID to X error handler
9613 * lyxtestclass.c: fix typo
9615 2002-02-26 Juergen Vigna <jug@sad.it>
9617 * tabular_funcs.C (write_attribute): changed so that some default
9618 attributes are not written at all.
9619 (getTokenValue): set default values before trying to read the
9620 value so we have the return value always set as default if we don't
9621 find the token we search for.
9623 * tabular.C (Write): write bools as bools not as strings!
9625 2002-02-22 Juergen Vigna <jug@sad.it>
9627 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9628 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9630 * text.C (leftMargin): don't add an indent for paragraphs inside
9631 tabular cells (fix #208).
9633 2002-02-21 José Matos <jamatos@fep.up.pt>
9635 * tabular.C (docBook): fixed support for long tables.
9637 2002-02-20 Juergen Vigna <jug@sad.it>
9639 * text2.C (getFont): get the drawing font of the Inset if this
9640 paragraph is inside an inset (only important for InsetERT for now).
9642 * buffer.C (insertErtContents): use new lanugage params in ERT
9645 * CutAndPaste.C: commenting out seemingly uneeded code.
9647 2002-02-19 Allan Rae <rae@lyx.org>
9649 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9650 Iterators might be simple to use but they also get invalidated.
9651 (removeAutoInsets): renamed saved cursor tracking variables and added
9652 some comments to clarify what everything does.
9654 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9661 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9662 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9665 * vc-backend.h: remove #include "support/syscall.h"
9669 * converter.C: rearrange #includes in Lars' approved fashion.
9671 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9672 forward declare class Timeout in the header file.
9674 * XFormsView.C: changes due to the above.
9676 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9679 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9680 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9682 2002-02-18 José Matos <jamatos@fep.up.pt>
9684 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9687 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9689 * a lot of small ws changes
9690 * add a lot of using std::XXX
9691 * use std construcs some places where approp.
9692 * use some exisint stuff from lyxfunctional where approp.
9693 * Make file changes to use partial linking (lets test this now...)
9695 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9699 remove #include "support/syscontr.h" as it's redundant. Always has been.
9707 change Systemcalls::System to Systemcalls::Wait and
9708 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9709 No change of functionality, just reflects the stripped down Systemcalls
9712 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9714 * debug.[Ch]: add a GRAPHICS type to the enum.
9716 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9718 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9720 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9723 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9725 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9726 match the changes below.
9728 * text2.C (toggleInset): if there is not editable inset at cursor
9729 position, try to see if cursor is _inside_ a collapsable inset
9732 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9734 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9735 document menu has a nice checkbox
9737 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9739 * lyxlength.C (asLatexString): change PW to output as percent of
9742 * lengthcommon.C: change '%' to 't%'
9744 * lyxfunc.C (dispatch): a few comments from Martin
9746 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9750 * BufferView_pimpl.h:
9751 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9754 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9756 * vspace.C (inPixels): fix compiler warning
9758 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9760 * lyxfunc.C (getStatus): fix status message for disabled commands.
9762 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9764 * BufferView_pimpl.C: fix crash on close buffer
9765 during selection (#227)
9767 2002-01-27 Herbert Voss <voss@lyx.org>
9769 * buffer.C: link old Figure to new graphic inset
9771 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9773 * FontLoader.C (getFontinfo): Change the latex font names in order
9774 to match the names of type1inst.
9776 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9778 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9780 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9783 (remove_files_with_extension): ditto
9784 (remove_file): ditto
9787 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9788 document is smaller than the work area height. Do not initialize
9789 static variables to 0.
9791 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9793 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9795 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9796 LFUN_LAYOUT_PARAGRAPHS.
9798 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9799 tabular. It is possible to provide a possible cell, which will
9800 typically be the actcell from the corresponding insettabular
9802 * lyxfunc.C (getStatus): small cleanup; disable
9803 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9806 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9808 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9810 * paragraph.C (startTeXParParams):
9811 (endTeXParParams): new methods. The LaTeX code to
9812 start/end paragraph formatting
9813 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9814 empty (fixes bug #200)
9816 * vspace.C (inPixels): adapt to the change below
9817 (inPixels): [later] more cleanups (remove unused variables)
9819 * lyxlength.C (inPixels): change to use a width and a height as
9822 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9824 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9825 Replaced with \paperwidth
9827 * DepTable.C (insert): add std:: qualifier
9829 2002-01-18 Allan Rae <rae@lyx.org>
9831 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9834 * text.C (drawInset): Turned out I didn't know enough about how
9835 rebreaking worked. This fixes most of the redraw problems. I see
9836 an occasional cursor trail when a line is broken now and the cursor
9837 placement can seem out by a few pixels also after a rebreak.
9839 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9841 * buffer.C (parseSingleLyXformat2Token): update because minipage
9842 width is now a LyXLength
9844 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9846 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9849 2002-01-17 Juergen Vigna <jug@sad.it>
9851 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9853 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9854 is set correctly and the inset is updated correctly.
9856 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9858 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9859 the beginning of the loop.
9861 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9863 * lyxrc.C: improve help for use_scalable_fonts
9865 2002-01-17 Allan Rae <rae@lyx.org>
9867 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9869 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9871 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9872 make sure to set their inset_owner to the right value (bug #171)
9874 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9877 * DepTable.C: Implement mtime checking to reduce time spent doing
9880 2002-01-16 Juergen Vigna <jug@sad.it>
9882 * tabular.C (GetAdditionalHeight): one of error fixed.
9884 * lyxrc.C (output): small fix in writing use_pspell.
9886 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9888 * sp_base.h: #include LString.h
9890 2002-01-16 Allan Rae <rae@lyx.org>
9892 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9893 Can someone check this please?
9895 * text.C (drawInset): It was possible that p.row would be removed by
9896 breakAgainOneRow upsetting a few other settings. There may be another
9897 small tweak possible by setting need_break_row = 0 when p.row has been
9898 removed but I don't know enough about the logic here.
9900 2002-01-15 Allan Rae <rae@lyx.org>
9902 * text.C (insertChar): removed conditional truism.
9904 * BufferView2.C (removeAutoInsets): More tweaks.
9905 cur_par_prev could be a stray pointer. Check for trailing empty line
9906 in case last line was cur_par and only had an error inset on it.
9908 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9910 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9913 * vc-backend.C (most methods):
9914 * exporter.C (Export):
9915 * converter.C (convert):
9917 * LyXSendto.C (SendtoApplyCB):
9918 * lyxfunc.C (dispatch):
9922 * lyx_cb.C (AutoSave):
9924 * BufferView_pimpl.C (MenuInsertLyXFile):
9925 * buffer.C (runChktex): use Buffer::filePath().
9927 * buffer.h: rename filename to filename_; rename filepath to
9928 filepath_ and make it private
9929 (filePath): new method
9931 * buffer.C (writeFile): use fileName()
9934 * lyx_main.C (init): fix starting of LyX when the binary is a
9935 link from so,ewhere else.
9937 * minibuffer.C: include <cctype> for isprint
9939 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9941 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9942 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9943 name clash with InsetCollapsable's width function.
9945 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9947 * lastfiles.C: include <iterator>
9949 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9951 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9954 * buffer.C (makeLaTeXFile): ditto.
9955 Also make loop operation more transparent.
9957 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9959 * ToolbarDefaults.C: remove trailing comma closing namespace.
9961 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9963 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9966 * trans.C (Load): comment out unused variable, allowed.
9968 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9970 * minibuffer.[Ch] (append_char): new method to recieve input from the
9971 drop-down completion browser. If a key was pressed, then recieve this
9972 char and append it to the existing string.
9973 (peek_event): modify the positioning data passed to the completion
9974 browser so that it can be placed above the minibuffer rather than below.
9975 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9977 * LyXAction.C (init): alloe error-next for readonly documents.
9979 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9982 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9984 * bufferlist.C (readFile): create the buffer _after_ checking that
9987 * lyxfunc.C (verboseDispatch): fix handling of arguments
9989 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9991 * lyxrc.C: use string::erase() instead of initializing to "".
9994 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9996 * BufferView_pimpl.h:
9997 * BufferView_pimpl.C:
10000 * text2.C: tell X when we have made a selection for copying
10002 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10004 * BufferView_pimpl.C (MenuInsertLyXFile):
10005 * lyxfunc.C (menuNew):
10007 (doImport): add shortcuts to directory buttons
10009 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10012 * lyxfunc.C (setStatusMessage):
10013 (getStatusMessage): new methods
10014 (getStatus):use setStatusMessage instead of setErrorMessage
10015 (dispatch): when function is disabled, set error message here
10016 [instead of in getStatus previously]
10018 * BufferView_pimpl.C (workAreaButtonRelease): update
10019 toolbar/menubar here too.
10021 2002-01-13 Allan Rae <rae@lyx.org>
10023 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10024 Now seems indestructible. Remaining task is to audit all other
10025 code affected by deleteEmptyParagraphMechanism. One small quirk
10026 left is that an empty document with an error in the preamble can
10027 be made to report an error but no error box appears. I don't know
10029 (removeAutoInsets): Improved comments.
10031 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10034 * Thesaurus.C: update for Aiksaurus 0.14
10036 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10038 * text2.C (firstParagraph): removed member function, all uses
10039 replaces with ownerParagraph
10040 (redoParagraphs): here
10041 (updateInset): here
10042 (toggleAppendix): here
10043 * BufferView2.C (insertErrors): here
10044 (setCursorFromRow): here
10046 2002-01-13 Allan Rae <rae@lyx.org>
10048 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10049 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10050 There is still a way to segfault this although you may have to do this
10051 multiple times: Have an InsetERT with an unknown command in it.
10052 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10053 <down-arrow>, <Enter> again, View->DVI, BANG!
10055 * text2.C (setCursor):
10056 (deleteEmptyParagraphMechanism):
10057 * lyxtext.h (setCursor):
10058 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10059 Making use of the return value may help fix other bugs.
10061 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10063 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10065 * LyXView.C (updateMenubar): call MenuBar::update here
10066 (updateToolbar): but not here
10067 (showState): do not update toolbar/menubar
10069 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10070 should need to care about that.
10072 * lyxfunc.C (verboseDispatch): simplify a bit
10073 (getStatus): have a version which takes a pseudoaction, and
10074 another which requires a (kb_action,string).
10076 * LyXAction.C (retrieveActionArg): make it work also when action
10077 is not a pseudo-action.
10078 (getActionName): simplify a bit
10081 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10083 * lyxfunc.C (verboseDispatch): new families of methods with
10084 several ways to specify a command and a bool to indicate whether
10085 the command name and shortcut should be displayed in minibuffer
10086 (eventually, we could extend that to a finer bitmask like
10087 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10088 (dispatch): the pristine dispatch command which just, well,
10089 dispatchs! Note it still sets its result to minibuffer; I'm not
10092 * lyxfunc.h: remove setHintMessage
10094 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10096 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10098 * BufferView_pimpl.C (specialChar): delete new inset if we have
10099 not been able to insert it.
10101 * kbmap.C: revert to using int instead of kb_action, since all we
10102 are dealing with is pseudo-actions.
10104 * LyXAction.C (searchActionArg): change to return int instead of
10105 kb_action, since the result is a pseudoaction.
10107 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10109 * buffer.C (insertErtContents): Fix (partially) the font bug.
10111 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10113 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10114 as the other one is broken on my machine!
10116 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10119 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10121 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10123 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10124 reflect their actual use. Provide compatibility code for older lyxrc
10127 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10129 change names of popup font variables in line with the changes to lyxrc.C
10131 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10133 * buffer.C (asciiParagraph): avoid outputing a word twice after
10136 * lyxrc.C (getDescription): document that document_path and
10137 template_path can be empty.
10139 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10141 * LaTeXFeatures.C (getMacros):
10142 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10144 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10146 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10148 (getPackages): rename feature "floats" to "float". Use an array to
10149 iterate over 'simple' features (i.e. just a \usepackage). Add
10150 handling of "amsmath" (renamed from "amsstyle").
10152 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10154 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10157 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10159 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10160 FuncStaus::FuncStatus & FuncStaus::some_method().
10162 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10164 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10165 of the func_satus stuff. Edited and massaged in various ways by
10168 * lyxfunc.C (getStatus): use FuncStatus
10170 2002-01-08 Juergen Vigna <jug@sad.it>
10172 * text.C (nextBreakPoint): use function Inset::isChar().
10174 * paragraph.C (TeXOnePar): use function
10175 Inset::forceDefaultParagraphs.
10177 * buffer.C (latexParagraphs): use function
10178 Inset::forceDefaultParagraphs.
10180 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10182 * lyx_gui.C (init): set the style of the menu popups to
10183 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10185 2002-01-07 Juergen Vigna <jug@sad.it>
10187 * text.C (setHeightOfRow): small fix
10188 (prepareToPrint): don't look at alignment if we don't have the place
10191 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10193 * box.C: New file. Move the Box methods and functions out of box.h,
10194 following Lars' suggestion.
10196 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10198 * box.h: #include "support/LOstream.h", needed for inlined function.
10201 * lyxtextclasslist.C: added some using std declarations.
10203 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10205 * box.h: make signed dimensions to allow insets wider than
10206 the screen (bug #162)
10208 * BufferView_pimpl.C: add some insetHit debug
10210 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10212 * vc-backend.C: add FIXME
10214 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10216 * lyxfunc.C (getStatus): enable code for showing math font status
10219 2002-01-07 Juergen Vigna <jug@sad.it>
10221 * text.C (nextBreakPoint): removed debug output not needed anymore.
10223 2002-01-06 Juergen Vigna <jug@sad.it>
10225 * text.C (nextBreakPoint): fixed up this function we had this bug
10226 since ever but now hopefully we break row better.
10227 (insertChar): we have to check if an inset is the next char as it
10228 could now happen that a large inset is causing a break.
10230 2002-01-05 Juergen Vigna <jug@sad.it>
10232 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10233 if it doesn't like to be drawed.
10235 2002-01-04 Juergen Vigna <jug@sad.it>
10237 * BufferView2.C (lockInset): forgot to set a cursor.
10239 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10241 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10243 * FormMathsPanel.C:
10246 * form_maths_panel.C:
10247 * form_maths_panel.h:
10248 * form_maths_panel.fd: implemented sub- and super- buttons in math
10251 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10252 (or ^ space) to be used as in TeX (req'd by André).
10254 * lyxfunc.C: Allow ^ and _ again to be used both as
10255 super/subscript (mathed) and as themselves (in text).
10257 2002-01-03 Allan Rae <rae@lyx.org>
10259 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10260 "LyX" or the filename of the current buffer if it has one. This is a
10261 modified form of John Levon's patch.
10263 * XFormsView.C (setWindowTitle): also set icon title.
10265 * LyXView.h (setWindowTitle): signature changed.
10266 * XFormsView.h (setWindowTitle): ditto.
10268 2002-01-02 Juergen Vigna <jug@sad.it>
10270 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10272 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10274 * screen.C (topCursorVisible): introduce a temp var for
10275 text->cursor.row(), handle the case where this row is null. (kindo
10278 * text2.C (setCursor): add a couple of asserts.
10280 * paragraph.h (inset_iterator): add -> operator
10282 * paragraph.[Ch] (autoDeleteInsets): remove member function
10284 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10285 cursor pos correctly and handle inset deletion by itself.
10286 (insertErrors): move iterator declaration out of for expression
10288 * lyxtextclass.C: add <algorithm>
10290 * Makefile.am: added the new files to sources, removed layout.C
10292 * layout.C: removed file
10294 * layout.h: remove LYX_DUMMY_LAYOUT
10296 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10300 * lyxtextclass.[Ch]:
10301 * lyxtextclasslist.[Ch]: new files
10303 * include order changes to a lot of files, also changes because of
10306 2001-12-27 Juergen Vigna <jug@sad.it>
10308 * buffer.C (asciiParagraph): more fixes.
10310 * tabular.C (ascii): make ascii export support export of only the
10311 data separated by a column-delimiter.
10312 (ascii): better support for ascii export.
10314 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10316 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10318 * tabular_funcs.C: use a "using std::getline" instead of the
10319 previous fix from Angus (necessary for cxx + lyxstring)
10321 2001-12-24 Juergen Vigna <jug@sad.it>
10323 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10325 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10326 problems. First check a minipage also if we have some ert-contents
10327 (not only on par->size(), second set the right depth of the paragraph
10328 on the relink to the root-paragraph-list!
10330 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10331 which then did not anymore update the main paragraphs on undo/redo!
10333 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10335 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10336 code. Support all font-changing funcs (even those which are not in
10337 menu currently). Support for reporting font settings in
10338 mathed (disabled until Andre provides a function on mathed's side).
10340 * func_status.h (toggle): small helper function to set toggle
10343 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10345 * tabular_funcs.C: getline -> std::getline
10347 2001-12-21 Juergen Vigna <jug@sad.it>
10349 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10350 accessed and could be 0 (I couldn't generate this but it seems
10353 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10355 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10356 * tabular_funcs.h: here and include iosfwd
10358 2001-12-20 Juergen Vigna <jug@sad.it>
10360 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10361 inside inset but undo_par was.
10363 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10365 * Thesaurus.C: always include <config.h> in sources.
10369 * box.h: do not include <config.h> in header files
10371 * text.C (paintLastRow): remove unused variable
10373 * text.C (transformChar):
10375 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10377 * Painter.C (text):
10378 * font.C (width): rewrite to use uppercase() instead of
10381 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10383 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10385 * lyxfind.C: clean up of find failure position change
10387 2001-12-20 Juergen Vigna <jug@sad.it>
10389 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10391 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10392 (TeXRow): added to LaTeX a single tabular row.
10393 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10394 (Latex): simplified and finally good LT-h/f support.
10395 (various_functions): just small adaptions for LT-h/f support.
10397 * tabular_funcs.[hC]: added and moved here all not classfunctions
10400 2001-12-19 Juergen Vigna <jug@sad.it>
10402 * tabular.[Ch]: better support for longtabular options (not finished
10405 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10407 * text.C (paintLastRow): use the label font instead of the font of
10408 the last character to compute the size of *_BOX. This makes more
10409 sense and avoids a crash with empty paragraphs.
10410 Use Painter::rectangle to draw EMPTY_BOX.
10412 2001-12-19 Juergen Vigna <jug@sad.it>
10414 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10415 the paragraphs if the replaced paragraph is not the first one!
10416 Tried to delete not used paragraphs but does not work yet so for
10417 now it's inside #ifdef's and by default off!
10419 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10421 * MenuBackend.C: include "lyx_main.h" instead of declaring
10422 lastfiles (actually was declared as LastFiles* instead of a
10425 2001-12-17 Juergen Vigna <jug@sad.it>
10427 * tabular.C (AppendColumn): applied John's fix
10429 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10433 * BufferView_pimpl.h:
10434 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10437 * box.h: new start of class for above
10439 * lyxfunc.C: ignore space-only minibuffer dispatches.
10440 Show the command name when it doesn't exist
10442 * minibuffer.C: don't add empty lines to the history
10444 * minibuffer.C: add a space on dropdown completion
10446 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10448 * text.C: fix line above/below drawing in insets
10450 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10452 * lyxlength.C (LyXLength): Initialize private variables.
10454 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10456 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10457 when inserting error insets.
10459 2001-12-13 Juergen Vigna <jug@sad.it>
10461 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10462 actually sometimes the before-paragraph.
10463 (setUndo): don't clear the redostack if we're not actually undoing!
10465 2001-12-06 Juergen Vigna <jug@sad.it>
10467 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10468 and fixed redoing of main paragraph, so we can use it now ;)
10470 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10472 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10474 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10477 2001-12-13 André Pönitz <poenitz@gmx.net>
10480 * undo_func.C: minor cleanup
10482 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10484 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10485 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10486 font in urw-fonts package which is marked as -urw-fontspecific and
10487 does not work (incidentally, changing the encoding in the
10488 fonts.dir of this package to -adobe-fontspecific fixes the
10491 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10492 is a crash when undoing first paragraph (Juergen, please take a
10493 look). THis does not mean the undo fix is wrong, just that it
10496 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10497 the (Paragraph*) version when needed instead of duplicating the
10500 * text.C (workWidth): use Inset::parOwner to find out where the
10501 inset has been inserted. This is a huge performance gain for large
10502 documents with lots of insets. If Inset::parOwner is not set, fall
10503 back on the brute force method
10505 * paragraph_pimpl.C (insertInset):
10506 * paragraph.C (Paragraph):
10507 (cutIntoMinibuffer): set parOwner of insets when
10508 inserting/removing them
10510 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10512 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10518 * mathed/formulabase.C:
10519 * mathed/math_cursor.[Ch]:
10520 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10523 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10525 * lyxlength.[Ch] (operator!=): new function
10527 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10529 * text.C (workWidth): use Inset::parOwner to find out where the
10530 inset has been inserted. This is a huge performance gain for large
10531 documents with lots of insets. If Inset::parOwner is not set, fall
10532 back on the brute force method
10534 * paragraph_pimpl.C (insertInset):
10535 * paragraph.C (Paragraph):
10536 (cutIntoMinibuffer): set parOwner of insets when
10537 inserting/removing them
10539 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10541 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10543 * tabular-old.C (getTokenValue):
10544 * tabular.C (getTokenValue):
10545 (write_attribute): new versions for LyXLength
10546 (everywhere): adjust the use of widths
10548 * tabular.h: change the type of widths from string to LyXLength
10550 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10552 * paragraph.C: fixed missing line number count when exporting
10553 Environments to LaTeX file
10555 * buffer.C: added informational message for checking line numbers.
10557 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10559 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10560 paragraph, do the 'double space' part, but not the 'empty
10563 * text.C (workWidth): small optimization
10564 (getLengthMarkerHeight): use minimal size for negative lengths.
10566 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10568 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10570 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10572 2001-12-11 André Pönitz <poenitz@gmx.net>
10575 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10577 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10579 * text2.C: keep selection on a setFont()
10581 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10583 * lyx_cb.C: another bv->text misuse, from insert label
10585 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10588 * kbsequence.C: re-instate nmodifier mask
10590 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10592 * lyx_main.h: make lyxGUI private.
10594 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10596 * lyxfind.C: place the cursor correctly on failed search
10598 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10600 * text.C (getLengthMarkerHeight): for small heights, the arrows
10601 are not always on top/bottom of the text
10602 (drawLengthMarker): smaller arrows; take the left margin in
10603 account; draw also vfills.
10605 (paintLastRow): remove special code for vfill and standard spaces,
10606 since everything is handled in drawLengthMarker now.
10608 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10610 * buffer.C (insertErtContents): try to handle font and language
10611 interaction a bit better.g
10613 * ColorHandler.C (updateColor): change the hash to cover the whole
10614 LColor enum, ws cleanup
10615 (getGCLinepars): ditto
10616 (getGCLinepars): only lookup in the linecache once.
10618 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10620 * iterators.C (operator++): Make the iterator more robust
10622 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10624 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10626 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10629 * text.C: better added space drawing
10631 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10634 * BufferView2.C: fix layout combo update on inset unlock
10636 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10638 * Makefile.am: don't compile unused files
10640 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10644 * LyXAction.C: remove old LFUN_LAYOUTNO
10646 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10648 * paragraph_pimpl.h:
10649 * paragraph_pimpl.C: isTextAt() doesn't need font param
10651 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10654 * lyxlex.C: little cleanup
10656 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10658 * BufferView_pimpl.C: fix insertAscii for insets
10660 2001-12-05 Juergen Vigna <jug@sad.it>
10662 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10663 set the right font on the "multi" paragraph paste!
10665 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10671 * lyxlength.C: remove out-commented code.
10673 * BufferView_pimpl:
10687 * vc-backend.C: change "while(" to "while ("
10689 * lyxlength.[Ch]: add zero function to check if length is zero or
10691 * lyxgluelength.C: use it
10693 2001-12-05 Allan Rae <rae@lyx.org>
10695 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10696 Works for 2.95.3, from what I understand of Garst's reports this should
10697 work for other g++ versions. We're screwed if the abs(int) definition
10698 changed between bugfix releases of gcc.
10700 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10702 * text.C: fix chapter label offset !
10704 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10707 * text.C: fix hfill at end of line, clean up
10709 2001-12-04 Juergen Vigna <jug@sad.it>
10711 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10712 that we force an update of the inset and it's owners if neccessary.
10714 2001-12-03 Juergen Vigna <jug@sad.it>
10716 * text.C (rowLast): simplified code
10718 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10720 * lyxfunc.C: fix show options on timeout
10722 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10724 * screen.C (topCursorVisible): scroll half a page when the cursor
10725 reached top of bottom of screen
10727 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10729 * minibuffer.C: deactivate on loss of focus
10731 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10733 * vspace.[Ch] (operator!=): add operator.
10735 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10737 * BufferView_pimpl.C: refuse to open an inset when
10738 there's a selection.
10740 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10742 * BufferView_pimpl.C: allow to click on RHS of full row insets
10744 2001-11-30 Juergen Vigna <jug@sad.it>
10746 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10747 insets for undo reasons.
10749 2001-11-28 André Pönitz <poenitz@gmx.net>
10751 * vspace.[Ch]: cosmetical changes
10753 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10763 * kbsequence.C: part re-write of old kb code
10766 * WorkArea.C: remove Lgb_bug_find_hack
10768 2001-11-30 José Matos <jamatos@fep.up.pt>
10770 * buffer.C (makeDocBookFile): add a comment to point a hack.
10771 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10772 Fixed a double write of labels.
10774 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10777 * LaTeX.h Fixed bug in LaTeX class where it would not
10778 re-run latex if no depfiles were changed, but the .dvi was removed.
10780 2001-11-28 André Pönitz <poenitz@gmx.net>
10782 * all the files from the change on 2001/11/26:
10783 use lyx::layout_type instead of LyXTextClass::size_type
10784 use lyx::textclass_type instead of LyXTextClassList::size_type
10786 2001-11-29 Juergen Vigna <jug@sad.it>
10788 * text.C: added support for paragraph::isFreeSpacing()
10790 * buffer.C: same as above
10792 * paragraph.h: inserted isFreeSpacing() function to enable
10793 FreeSpacing inside InsetERT.
10795 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10796 of the paragraph's in the cut/copy buffer to 0!
10798 * text2.C (removeRow): remove the assert as it can!
10800 * lyxtext.h: added helper function firstRow returning firstrow and
10801 made firstrow private again.
10803 * BufferView2.C (lockInset): don't relock if we're already locked!
10805 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10806 the only paragraph.
10807 (removeRow): added Assert::(firstrow)
10809 * debug.C: forgot to add INSETTEXT here.
10811 2001-11-28 Juergen Vigna <jug@sad.it>
10813 * sp_spell.C (initialize): changed error text to more general
10814 spellchecker command use (not only ispell!)
10816 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10818 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10820 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10822 * vspace.C: initialise lyxgluelength on failure
10824 2001-11-28 Allan Rae <rae@lyx.org>
10826 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10827 declaration & definition that looks like a function declaration.
10829 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10831 * BufferView2.C (copy):
10832 (copyEnvironment): do not clear the selection when doing a copy.
10834 * text.C (paintFirstRow): compilation fix
10836 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10838 * tabular.C (Latex): correct line count when writing latex.
10840 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10842 * paragraph_pimpl.h:
10843 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10846 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10850 * LColor.C: change vfillline->added_space
10852 * text.C: add markers and text for added space
10854 * vspace.C: fix comment
10856 2001-11-28 André Pönitz <poenitz@gmx.net>
10858 * paragraph.C: whitespace changes
10859 * all the other files from the change on 2001/11/26:
10860 change *::pos_type into lyx::pos_type
10862 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10864 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10865 language of the document when inserting error insets.
10867 2001-11-26 André Pönitz <poenitz@gmx.net>
10869 * BufferView_pimpl.[Ch]:
10877 * paragraph_pimpl.[Ch]:
10880 * text2.C: reduce header dependencies, introduce type for positions
10882 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10884 * <various>: change to use Alert.h
10886 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10888 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10889 when encountering an unknown token.
10890 (readLyXformat2): Show an error message if there were unknown tokens.
10892 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10895 * BufferView_pimpl.C:
10899 * text2.C: use par->isInset()
10901 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10903 * paragraph_pimpl.h:
10904 * paragraph_pimpl.C: cleanup
10906 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10908 * text2.C (removeRow):
10909 * text.C (setHeightOfRow): remove useless (and costly) call to
10912 2001-11-20 Allan Rae <rae@lyx.org>
10914 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10915 Now need Inset*::checkInsertChar() to return true for appropriate
10916 cases so that the characters in the minibuffer will actually be
10919 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10921 * text.C: change the order of the includes.
10922 (workWidth): initialize it at once.
10923 (workWidth): make maxw unsigned
10924 (setHeightOfRow): remove unused variable (inset)
10925 (selectSelectedWord): remove unused variable (inset)
10926 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10928 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10930 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10931 server is not running.
10933 (closeConnection): add debug info when server is disabled.
10935 * ColorHandler.C (getGCForeground): send debug message to GUI
10938 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10940 * kbmap.C (bind): modify because return conventions of
10941 kb_sequence::parse have changed.
10943 * kbsequence.C (parse): only ignore spaces and not any stupid
10944 control character. This avoids tests like s[i] <= ' ', which are
10945 guaranteed to fail with 8bit characters and signed chars.
10946 Change return code to string::npos when there have been no error
10947 (0 was a bad idea when error is at first character)
10949 2001-11-14 José Matos <jamatos@fep.up.pt>
10952 * buffer.C (simpleDocBookOnePar): removed unused argument.
10954 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10956 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10957 insets which are part of a word. Paragraph::isLetter takes care of
10958 that now. Use Paragraph::isInset to identify insets.
10959 (selectSelectedWord): do not test for hyphenation break.
10961 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10962 that protected spaces are considered as spaces.
10964 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10967 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10970 * lyxserver.C: fix it. and small cleanup.
10972 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10974 * BufferView_pimpl.C: use inline helpers
10977 * LaTeXFeatures.C: fix typos
10980 * Spacing.C: move spacing_string into class
10982 * ToolbarDefaults.C: move stuff into namespace anon
10984 * layout.h: update enum
10986 * lyxfunc.C: use better debug
10988 * minibuffer.h: fix typo
10992 * WorkArea.C: add and use Debug::WORKAREA
10996 * text2.C: code re-organisation, inline helpers
10998 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11000 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11001 std::vector.empty().
11003 2001-11-09 Allan Rae <rae@lyx.org>
11005 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11006 '\n's after tables. Tabular and ERT inset work now makes this no
11009 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11012 * minibuffer.C: fix crash, improve drop-down completion
11014 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11017 * lyxserver.C: invalidate fd's when doing endPipe()
11019 2001-11-08 José Matos <jamatos@fep.up.pt>
11021 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11022 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11025 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11027 2001-11-07 José Matos <jamatos@fep.up.pt>
11030 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11033 * buffer.C (sgmlOpenTag):
11034 * buffer.C (sgmlCloseTag): removed debug info.
11036 * buffer.h (sgmlOpenTag):
11037 * buffer.h (sgmlCloseTag): made public.
11039 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11041 * buffer.C (saveParamsAsDefaults):
11042 * lyx_cb.C (MenuLayoutSave): remove
11044 * LyXAction.C (init):
11046 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11048 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11050 * buffer.C (setPaperStuff): removed from here...
11052 * bufferparams.C (setPaperStuff): ... and moved there.
11054 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11058 * XFormsView.C: add support for drop-down completion
11060 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11062 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11065 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11067 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11070 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11072 * lyx_main.C: change ref to known bugs
11074 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11076 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11077 to work around older babel problems.
11079 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11081 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11083 2001-10-24 Juergen Vigna <jug@sad.it>
11085 * tabular-old.C (ReadOld): below variable changes reflected.
11087 * tabular.[Ch]: added ltType struct for longtable header/footer
11088 defines and changed all instances where they are used. Added
11089 future support for double top/bottom rows.
11091 2001-10-24 José Matos <jamatos@fep.up.pt>
11093 * buffer.h (docbookHandleCaption):
11094 * buffer.C (docbookHandleCaption): removed unused function.
11095 (makeDocBookFile): moved docbook supported version to v4.1.
11097 2001-10-24 José Matos <jamatos@fep.up.pt>
11100 * tabular.C (docbookRow): new function to export docbook code of a row.
11101 (DocBook): now honors the longtable flags.
11103 2001-10-23 José Matos <jamatos@fep.up.pt>
11106 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11107 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11109 * buffer.C (makeLinuxDocFile):
11110 (makeDocBookFile): reworked the preamble, more clean, and with
11111 support for lyx defined entities. Changed the document declaration
11112 to be more XML friendly.
11114 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11115 if we need to output XML that should be done with a filter.
11117 2001-10-22 Juergen Vigna <jug@sad.it>
11119 * sp_pspell.h (class PSpell): add alive function needed in the
11120 controller to see if the spellchecker could be started.
11122 2001-10-22 Juergen Vigna <jug@sad.it>
11124 * buffer.C (insertStringAsLines): modify the font for inserting
11125 chars in certain conditions by calling checkInsertChar(font).
11127 2001-10-19 Juergen Vigna <jug@sad.it>
11129 * text.C (workWidth): use getRow instead of wrong algorithm.
11130 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11132 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11137 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11139 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11141 * text.C (workWidth): do not search for the exact row when
11142 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11143 optimization for big documents.
11145 2001-10-18 Juergen Vigna <jug@sad.it>
11147 * text.C (workWidth): new function with added Inset * parameter.
11149 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11151 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11153 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11154 change return type of getColumnNearX.
11157 * text.C (changeRegionCase): use uppercase/lowercase instead of
11160 (rightMargin): simplify code by factoring out the uses of
11165 (appendParagraph): use Paragraph::size_type
11167 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11169 * vspace.C (asLatexString): add a missing break
11171 2001-10-15 Herbert Voss <voss@perce.de>
11173 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11175 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11177 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11180 2001-10-10 André Pönitz <poenitz@gmx.net>
11182 * lyxfunc.C: removed greek_kb_flag.
11184 2001-10-10 Herbert Voss <voss@perce.de>
11186 * lyx_main.C: delete global string help_lyxdir.
11188 2001-10-09 Herbert Voss <voss@perce.de>
11190 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11192 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11194 * lyx_main.C: added global string help_lyxdir.
11196 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11198 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11200 * lyxrc.C (set_font_norm_type): support iso8859-4
11202 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11204 * LaTeX.C (deplog): add another regex for MikTeX
11206 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11208 * lyxrc.C (set_font_norm_type): support iso8859-3
11210 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11212 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11214 * LaTeXFeatures.C: remove special case of french and index
11216 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11217 before \begin{document}). This solves several incompatibilities.
11219 2001-10-03 Garst Reese <reese@isn.net>
11221 * lyx_cb.C: change CheckTex error msg.
11223 2001-10-03 José Matos <jamatos@fep.up.pt>
11225 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11227 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11229 * .cvsignore: update
11231 * lyx_main.C (commandLineVersionInfo): use new style version info.
11233 * buffer.C (writeFile):
11235 (makeLinuxDocFile):
11236 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11238 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11240 * version.h: update to use stuff in version.C
11242 * version.C.in: new file. Contains version information determined
11243 at compile time. This is a merging of version.h and
11246 2001-10-03 Juergen Vigna <jug@sad.it>
11248 * BufferView_pimpl.C (update): don't change "dirty" status in
11251 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11253 * WorkArea.C (c-tor): re-position version string slightly.
11255 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11257 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11258 revert to previous code.
11260 WorkArea.[Ch]: (show, destroySplash): methods removed.
11262 WorkArea.C: rework code so that it's an amalgam of the codes before and
11263 after the splash screen was moved to WorkArea.
11265 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11268 * vspace.C (inPixels):
11271 * buffer.C (insertStringAsLines):
11272 (asciiParagraph): fix types to be large enough
11274 * lyxlex_pimpl.h: change member status from short to int
11276 * layout.h: fix type of endlabeltype
11279 * kbsequence.C (parse): change return type to string::size_type
11281 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11284 * Bullet.C (bulletSize):
11285 (bulletEntry): do not use short ints as parameters
11287 * BufferView2.C (insertLyXFile): change a char to an int.
11289 * WorkArea.C (WorkArea): remove unneeded floats in computation
11291 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11293 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11295 * paragraph.C (asString): Do not ignore newline/hfill chars when
11296 copying to the clipboard.
11298 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11300 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11301 after a multi-line inset.
11303 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11305 * paragraph.C (validate): Set NeedLyXFootnoteCode
11307 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11309 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11310 and decrease-error to decrease.
11312 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11314 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11315 it more readable (should be equivalent)
11317 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11319 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11321 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11323 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11324 of a cursor (row, etc.) after a character has been deleted
11325 (deleteEmptyParagraphMechanism): call the method above on _all_
11326 cursors held by the LyXText when a double space has been
11329 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11331 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11333 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11335 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11336 background. Use greyOut() and the new show() methods to toggle between
11337 the foreground and background. Add code to remove the splash after
11338 its initial showing.
11340 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11341 (create_forms): no longer call Dialogs::showSplash.
11343 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11345 * .cvsignore: add version_info.h
11347 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11349 * version_info.h.in: new file
11351 * Makefile.am: add version_info.h.in
11353 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11354 version_info.h instead of VERSION_INFO
11356 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11358 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11359 The ERT inset now returns string().
11361 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11363 * lyxtext.h, text.C (selectNextWord): renamed as
11364 selectNextWordToSpellcheck.
11366 * text.C (selectNextWordToSpellcheck): Modified to not select
11367 words inside an ERT inset.
11369 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11371 * lyx_cb.C (MenuLayoutSave): change a bit the question
11373 * sp_base.h: include <sys/types.h>
11375 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11377 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11379 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11381 * several files: fix typos in user-visible strings
11383 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11385 * text2.C (pasteSelection): do not set the selection, since it
11386 will be cleared later. Actually, the intent was to fix the way the
11387 selection was set, but I figured rmoving the code was just as good.
11389 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11391 * FontLoader.C (available): Check if font is available without
11394 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11396 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11398 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11400 * lyxrc.[Ch]: added display_graphics variable and associated code.
11402 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11404 * bufferparams.C (hasClassDefaults): new method. Returns true if
11405 the buffer parameters correspond to known class defaults
11407 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11409 * XFormsView.C (show): set minimum size to the main window.
11411 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11413 * text2.C (copySelection):
11415 * lyxfind.C (LyXReplace):
11416 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11417 LyXText::selectionAsString.
11419 * paragraph.C (asString): add "label" argument to the second form
11421 * text2.C (selectionAsString): add "label" argument and pass it to
11422 Paragraph::asString.
11424 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11426 * lyx_main.C (commandLineHelp): remove version information
11428 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11430 * lyx_main.C: add -version commandline option
11432 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11434 * paragraph.h: make the optional constructor arg required instead.
11435 some modifications to other files because of this.
11437 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11439 * lyxserver.C (C_LyXComm_callback): make it static
11441 * lyx_main.C (error_handler): make it static
11443 * lyx_gui.C (LyX_XErrHandler): make it static
11445 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11447 * WorkArea.C: make the extern "C" methods static.
11449 * Makefile.am (lyx_LDADD): simplify
11451 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11453 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11454 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11456 * LyXAction.C (init):
11457 * lyxfunc.C (dispatch): associated code removal.
11459 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11461 * lyxfont.h (isSymbolFont): shut off warning
11463 * text.C (setHeightOfRow):
11464 (getVisibleRow): fix crash with empty paragraphs which have a
11467 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11469 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11472 2001-09-04 José Matos <jamatos@fep.up.pt>
11475 * tabular.C (docbook): rename docBook method to docbook.
11477 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11479 * Makefile.am: add dependencies to main.o.
11481 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11483 * FontLoader.C (available): Return false if !lyxrc.use_gui
11485 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11487 * FontInfo.C (query):
11488 * converter.C (view):
11489 * importer.C (Import):
11490 * exporter.C (Export): Can not -> cannot.
11492 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11494 * BufferView_pimpl.C: allow to create index inset even if
11497 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11499 * buffer.C (getLists): replace boost::tie code with an explicit pair
11500 as boost::tie can break some compilers.
11502 * iterators.h: Added a std:: declaration to the return type of
11505 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11507 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11510 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11512 * iterators.[Ch]: New files. Provide paragraph iterators.
11514 * buffer.C (changeLanguage): Use paragraph iterators.
11515 (isMultiLingual): ditto
11517 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11519 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11521 * FontLoader.C: Support for cmr font.
11523 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11525 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11526 (available): New method.
11528 * FontInfo.C (getFontname): Use scalable fonts even when
11529 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11532 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11534 * converter.C (Formats::view): reverted! Incorrect fix.
11536 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11538 * converter.C (Formats::view): only output the -paper option
11539 if the dvi viewer is xdvi, thereby fixing bug #233429.
11541 2001-08-23 Herbert Voss <voss@perce>
11543 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11545 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11547 * Spacing.h (Spacing): Set space to Default on in the default
11550 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11552 * vc-backend.h (RCS::versionString): add RCS to version
11553 (CVS::versionString): add CVS to version
11555 * vc-backend.C (scanMaster): do not add CVS to version.
11556 (scanMaster): do not add RCS to version
11558 * lyxvc.C (versionString): new method
11560 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11562 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11564 * Spacing.C (set): initialize fval
11566 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11568 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11571 2001-08-16 Juergen Vigna <jug@sad.it>
11573 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11575 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11577 * BufferView_pimpl.C:
11580 * text2.C: setParagraph takes linespacing now
11582 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11584 * LyxAction.C: add internal LFUN_CITATION_INSERT
11586 * LyXView.C: actually apply fix
11588 * bufferlist.C: fix open non-existent file
11590 * lyxfind.C: fix indentation
11592 * lyxfunc.C: remove unneeded assert, fix typo
11594 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11596 * MenuBackend.C: use "Floatname List"
11598 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11600 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11601 when converting LaTeX layout to insetERT.
11602 Generate a non-collapsed float when reading old float
11604 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11606 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11609 2001-08-13 Juergen Vigna <jug@sad.it>
11611 * text.C (fill): return 0 instead of 20 as this seems to be the more
11614 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11616 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11619 2001-08-13 Juergen Vigna <jug@sad.it>
11621 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11623 (SearchBackward): comment out the unlocking of the inset_owner this
11624 should not be needed!
11626 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11628 * Many files: Remove inherit_language, and add latex_language
11630 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11631 collapsible insets.
11633 2001-08-10 Juergen Vigna <jug@sad.it>
11635 * text.C (prepareToPrint): fixed hfill-width in draw!
11637 * BufferView2.C (selectLastWord): save the selection cursor as this
11638 now is cleared in the function LyXText::clearSelection!
11640 2001-08-08 Juergen Vigna <jug@sad.it>
11642 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11643 BACKSPACE type functions.
11645 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11646 is only cutted from the document but not put in the cut-buffer, where
11647 still the old stuff should be.
11649 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11651 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11653 * tabular.C (SetWidthOfCell): fixed special case where the width
11655 (LeftLine): handle '|' in align_special.
11657 (LeftAlreadyDrawed): ditto
11658 (SetWidthOfCell): ditto
11660 2001-08-07 Juergen Vigna <jug@sad.it>
11662 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11664 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11666 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11667 * lyxlex.[hC]: ditto
11669 2001-08-06 Juergen Vigna <jug@sad.it>
11671 * text.C (getVisibleRow): fix up row clearing a bit.
11673 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11675 * minibuffer.C: make sure the X server sees the changes in the input.
11677 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11679 * paragraph.C (getFont): split into...
11680 (getLabelFont): this
11681 (getLayoutFont): and this
11682 * paragraph_pimpl.C (realizeFont): calling this
11684 * text2.C (getFont): split into...
11685 (getLayoutFont): this
11686 (getLabelFont): and this
11687 (realizeFont): all three calling this
11689 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11692 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11694 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11696 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11698 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11699 layouts from the Quote inset insertion.
11701 2001-08-03 Juergen Vigna <jug@sad.it>
11703 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11705 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11706 only if status not is already CHANGED_IN_DRAW (second level).
11708 * text.C (draw): don't set the need_break_row when inside an
11711 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11713 * buffer.C (parseSingleLyXformat2Token): handle more latex
11716 * bufferview_funcs.[hC]: change function names to
11717 begin with small char, adjust other files.
11719 2001-08-02 André Pönitz <poenitz@gmx.net>
11722 BufferView_pimpl.C: remove broken special code for math-greek
11724 2001-08-02 Juergen Vigna <jug@sad.it>
11726 * BufferView_pimpl.C (update): redone this function so that we
11727 update the text again if there was a CHANGE_IN_DRAW.
11729 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11730 (drawFromTo): added a new internal bool which is used by draw() and
11732 (general): some cursor drawing problems fixed.
11734 2001-08-01 Juergen Vigna <jug@sad.it>
11736 * lyxfind.C (LyXFind): fixed
11737 (SearchForward): ditto
11738 (SearchBackward): ditto
11740 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11741 spurius drawing of the cursor in the main area.
11743 * text2.C (status): small fix which could lead to a segfault!
11744 (clearSelection): remove unneeded BufferView param.
11746 2001-08-01 André Pönitz <poenitz@gmx.net>
11748 * lyxfunc.C: small change due to changed mathed interface
11750 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11752 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11754 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11756 * lyxfunc.c: fail gracefully if file doesn't exist
11761 * BufferView_pimpl.C: IsDirWriteable() proto changed
11763 * LyXView.C: fix updateWindowTitle() to store the last title
11765 2001-07-31 Juergen Vigna <jug@sad.it>
11767 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11768 the font (wrong since using of Paragraph::highestFontInRange).
11770 * paragraph.C (highestFontInRange): added a default_size parameter.
11772 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11773 (setHeightOfRow): reformat
11775 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11777 * converter.[hC] + affected files: move to (inital-char)lowercase
11780 * ParagraphParameters.C (ParagraphParameters): remove commented code
11782 * PainterBase.[Ch]: remove commented code
11784 * LaTeXFeatures.h: add "bool floats" for float.sty
11786 * LaTeXFeatures.C (LaTeXFeatures): init floats
11787 (require): handle float
11788 (getPackages): do it with floats
11790 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11792 * BufferView_pimpl.C (Dispatch): improve handling of
11793 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11795 * commandtags.h: #include lyxfont.h here temporarily to avoid
11798 * bufferlist.h: include LString.h here.
11800 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11802 * text2.C (getStringToIndex): new method.
11804 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11806 * *: Reduced header file dependencies all over.
11808 2001-07-30 Baruch Even <baruch@lyx.org>
11810 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11812 2001-07-29 Baruch Even <baruch@lyx.org>
11814 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11816 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11818 * ParameterStruct.h (endif): add a default constructor to make
11819 sure that all variables is initialized.
11821 * ParagraphParameters.C (ParagraphParameters): adjust
11823 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11825 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11826 index; also, check that there is something to index, and that it
11827 does not span over several paragraphs.
11828 (doubleClick): use WHOLE_WORD_STRICT for double click.
11830 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11832 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11835 2001-07-26 Baruch Even <baruch@lyx.org>
11837 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11838 an InsetFig figure, backwards compatible reading of old figure code.
11840 2001-07-27 Juergen Vigna <jug@sad.it>
11842 * text2.C: font.realize function adaption.
11844 * text.C (draw): add a warnings lyxerr text if needed.
11846 * layout.C: font.realize function adaption.
11848 * language.C: add inherit_language and implement it's handlings
11850 * bufferview_funcs.C (StyleReset): remove language parameter from
11851 font creation (should be language_inherit now).
11853 * bufferparams.C (writeFile): handle ignore_language.
11855 * paragraph.C (getFontSettings): the language has to be resolved
11856 otherwise we have problems in LyXFont!
11858 * lyxfont.C (lyxWriteChanges): added document_language parameter
11859 (update): removed unneeded language parameter
11861 * paragraph.C (validate): fixed wrong output of color-package when
11862 using interface colors for certain fonts in certain environments,
11863 which should not seen as that on the final output.
11865 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11867 * BufferView_pimpl.C:
11872 * LyXAction.C: add thesaurus support
11875 * lyxfind.C: add "once" parameter, for thesaurus, to not
11876 move to the next match
11878 2001-07-26 Juergen Vigna <jug@sad.it>
11880 * lyxfont.C (realize): honor ignore_language too!
11883 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11885 * text.C (draw): one place more for ignore_language to not draw
11888 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11890 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11892 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11894 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11895 the minipage conversion problem.
11897 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11899 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11902 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11904 * BufferView.h: don't forward declare WorkArea
11906 * BufferView.C: don't include WorkArea.h
11908 2001-07-25 André Pönitz <poenitz@gmx.net>
11912 * lyxfunc.C: new LFUN 'math-space'
11914 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11916 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11918 * text2.C (toggleInset): call open/close
11920 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11922 * lyxfunc.C (dispatch): add debug for the disabled case
11924 * font.C (buttonText): make similar to rectText
11926 * buffer.C (readInset): comment out parsing of insetlist and
11929 * PainterBase.C (rectText): small correction
11931 * BufferView_pimpl.C: comment out insettheorem and insetlist
11932 * LyXAction.C: ditto
11933 * commandtags.h: ditto
11935 2001-07-24 Juergen Vigna <jug@sad.it>
11937 * text.C (draw): honor the ignore_language.
11939 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11941 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11943 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11946 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11948 * lyxtext.h: remove unused (and unimplemented) methods
11950 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11952 * text.C (getVisibleRow): honor background color
11955 * Painter.h: remove default color argument for fillRectangle
11957 * text.C (backgroundColor): new method
11959 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11961 * text.C (getVisibleRow): adjust
11963 * font.[Ch] (rectText): new method, metrics
11964 (buttonText): new method, metrics
11966 * PainterBase.[hC]: make rectText and buttonText always draw and take
11969 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11971 * ToolbarDefaults.C (read):
11972 * MenuBackend.C (read): allow escaping in all strings
11974 * BufferView_pimpl.C (insertAndEditInset): new method.
11975 (Dispatch): use insertAndEditInset whenever appropriate.
11977 * BufferView_pimpl.C (insertNote): removed
11979 * BufferView_pimpl.C (smartQuote): new method, moved from
11980 BufferView; if an insetquote cannot be inserted, insert a '"'
11983 * BufferView2.C: remove insertCorrectQuote();
11985 * lyxfunc.C (getStatus): Add support for all remaingin
11986 inset-insert lfuns.
11988 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11990 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11991 command (necessary to pass " as parameter of self-insert.
11993 * text.C (selectWordWhenUnderCursor):
11994 (selectWord): add word_location parameter
11995 (selectWordWhenUnderCursor): same + remove special code for word
11997 (selectNextWord): use kind() to guess type of insetspecialchar,
12000 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12001 (insertErtContents): create ert insets as collapsed.
12002 (readInset): better compatibility code for Info inset.
12004 2001-07-20 Juergen Vigna <jug@sad.it>
12006 * lyxfunc.C (dispatch): use always LyXFind now!
12008 * text2.C (init): add a reinit flag so that the LyXText can be
12009 reinited instead of deleted and reallocated (used in InsetText).
12011 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12017 2001-07-18 Juergen Vigna <jug@sad.it>
12019 * text.C (selectNextWord): handle insets inside inset by calling
12020 always the bv->text functions so that we can go up the_locking_inset!
12022 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12023 in strange locations when inside an inset!
12025 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12026 handling to include insets.
12028 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12030 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12032 * LyXAction.C (init):
12034 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12035 LIGATURE_BREAK, since the name is so stupid.
12037 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12039 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12042 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12044 * sp_form.[Ch]: remove.
12046 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12048 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12051 * src/buffer.C (readInset): ditto.
12053 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12055 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12056 menuSeparator(), endOfSentenceDot(), ldots() and
12057 hyphenationPoint(), which are therefore removed.
12058 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12060 * LyXAction.C (init):
12061 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12063 * paragraph.C (getWord): removed.
12065 * BufferView_pimpl.C (Dispatch): use last word or selection for
12066 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12068 * lyx_main.C (queryUserLyXDir): do not ask before creating
12069 user_dir, except if it has been named explicitely.
12071 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12073 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12074 a document of zero size.
12076 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12078 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12079 approriately in the c-tor and in require().
12080 (getPackages): output the appropriate LaTeX for natbib support.
12082 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12083 variables "use_natbib" and "use_numerical_citations" when reading the
12085 (readInset): read the various natbib cite commands.
12086 (validate): white-space change.
12088 * bufferparams.[Ch]: new variables "bool use_natbib" and
12089 "bool use_numerical_citations".
12090 (writeFile): output them in the LyX file.
12092 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12094 * lyxfunc.C (getStatus): add support for all the inset insertion
12097 * text2.C (insertInset):
12098 * paragraph.C (insetAllowed):
12099 * BufferView_pimpl.C (insertInset): update to take in account the
12100 renaming of insertInsetAllowed
12102 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12104 * text2.C (getInset): new method. returns inset at cursor position.
12106 * BufferView_pimpl.C (Dispatch): changes because of this.
12108 * LyXAction.C (init): rename open-stuff to inset-toggle.
12110 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12112 * text2.C (toggleInset): renamed from openStuff; use
12115 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12117 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12119 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12121 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12123 * buffer.C (readLyXformat2): Add filename to the error dialog
12125 2001-07-18 Juergen Vigna <jug@sad.it>
12127 * tabular.C (GetCellNumber): put an assert here instead of the check!
12129 2001-07-17 Juergen Vigna <jug@sad.it>
12131 * BufferView_pimpl.C (toggleSelection): adapted too.
12133 * text.C (selectNextWord): adapted for use with insets.
12134 (selectSelectedWord): ditto
12136 2001-07-17 Juergen Vigna <jug@sad.it>
12138 * sp_spell.C (PSpell): fix initialitation order.
12140 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12142 * paragraph.C: spacing
12144 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12146 * sp_spell.C: repair language selection for pspell
12148 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12150 * lyxfunc.h: change more methods to begin with lower char.
12152 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12154 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12155 for unknown layouts.
12157 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12159 * buffer.C (readLyXformat2): Generate an error dialog if there are
12162 2001-07-16 Juergen Vigna <jug@sad.it>
12164 * sp_spell.C: always compile ISpell part.
12166 * lyxrc.C: added use_pspell entry and it's handling.
12168 2001-07-13 Juergen Vigna <jug@sad.it>
12170 * sp_spell.C: removed double includes.
12172 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12174 Consistent use of Lsstream.h:
12175 * Lsstream.h: added using std::stringstream for consistencies sake.
12177 * buffer.C: removed using std::stringstream
12179 * lyxfont.C (stateText):
12180 * paragraph.C (asString):
12181 * text.C (selectNextWord, selectSelectedWord):
12182 * text2.C (setCounter):
12183 * vspace.C (asString, asLatexString):
12184 std::ostringstream -> ostringstream.
12186 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12188 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12189 * commandtags.h: add LFUN_HELP_ABOUTLYX
12190 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12192 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12194 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12196 * lyx_gui_misc.C: remove spellchecker
12197 * lyxfunc.C: showSpellchecker
12199 * sp_ispell.h: added
12200 * sp_pspell.h: added
12201 * sp_spell.C: added
12202 * sp_form.[Ch]: removed
12203 * spellchecker.[Ch]: removed
12205 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12207 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12209 (simpleTeXSpecialChars): Simply print the input character without
12210 any special translation if pass_thru is set.
12212 * layout.h: Added bool pass_thru to layout class for being able to
12213 implement pass through of a paragraph for Literate Programming.
12215 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12216 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12217 * layout.C (Read): add "passthru" to list of layout tags and add
12218 code to set the pass_thru boolean when it is read.
12220 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12222 * trans_decl.h: remove allowed from KmodInfo
12224 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12225 remove allowed code
12228 * paragraph_pimpl.C (erase): use boost::prior
12230 * Painter.C (text): use data() instead of c_str() when length is
12232 * WorkArea.C (putClipboard): ditto
12233 * font.h (width): ditto
12235 * BufferView2.C: use it-> instead of (*it). for iterators
12237 * paragraph_pimpl.C: ditto
12238 * paragraph.C: ditto
12239 * minibuffer.C: ditto
12240 * language.C: ditto
12242 * encoding.C: ditto
12243 * counters.C: ditto
12244 * converter.C: ditto
12246 * Variables.C: ditto
12247 * TextCache.C: ditto
12248 * MenuBackend.C: ditto
12249 * LyXAction.C: ditto
12251 * FloatList.C: ditto
12252 * DepTable.C: ditto
12253 * ColorHandler.C (LyXColorHandler): ditto
12255 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12257 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12259 * text2.C (openStuff): reintroduce this method (which had been
12260 nuked in NEW_INSETS frenzy).
12262 * lyxfunc.C (Dispatch): when an action has not been handled, use
12263 its name in the error message, not its number.
12265 * paragraph.C (inInset): change method name to begin with lowercase.
12268 * text2.C: updates because of this.
12270 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12272 * ToolbarDefaults.C (add): add spaces in error message
12274 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12276 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12277 (readLyXformat2): rename return_par to first_par, use lyxlex's
12278 pushToken and remove the manual push handling.
12279 (parseSingleLyXformat2Token): add another ert comp. variable:
12280 in_tabular, rename return_par to first_par. handle newlines better
12282 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12284 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12286 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12288 * text2.C (getParFromID): removed
12290 * buffer.C (getParFromID): new method moved form lyxtext.
12291 * BufferView2.C (insertErrors): adjust
12292 (setCursorFromRow): adjust
12293 * BufferView_pimpl.C (restorePosition): adjust
12294 * lyxfunc.C (Dispatch): adjust
12295 * undo_funcs.C (textUndo): adjust
12297 (textHandleUndo): adjust
12298 (textHandleUndo): adjust
12300 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12302 * buffer.C: up' the LYX_FORMAT
12304 * lyxfont.h: turn NO_LATEX on as default
12306 * buffer.C (insertErtContents): new methods of tex style compability.
12307 (parseSingleLyXformat2Token): use it several places.
12308 * tabular.C (OldFormatRead): and here
12310 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12312 * text2.C: remove some commented code.
12315 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12316 * trans.C: changes because of the above.
12318 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12320 * text2.C (setCounter): Fix counters bug with bibliography layout.
12322 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12324 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12325 own member functions
12326 (simpleTeXSpecialChars): ditto
12328 2001-07-06 Juergen Vigna <jug@sad.it>
12330 * a lot of files: changed the access to LyXText::status and the
12331 call of undo-functions.
12333 * undo.[Ch]: added a inset_id to the undo informations.
12335 * undo_funcs.[Ch]: added and moved here all undo functions.
12337 * lyxtext.h: give the status enum a weight, made status_ a private
12338 variable and made accessor functions for it, removed the whole bunch
12339 of undo-functions as they are now in their own file, make some
12340 functions publically available. Added function ownerParagraph with
12343 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12344 made InInset() a const function, added getParFromID() function.
12346 * buffer.[Ch]: added const version for inset_iterator functions,
12347 added getInsetFromID() function.
12349 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12350 changed undo functions for new version.
12352 2001-07-05 Juergen Vigna <jug@sad.it>
12354 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12355 unknow mechanism does not call the proper constructor but only this
12356 one also if I request the other!?
12358 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12360 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12362 * text2.C (LyXText): use initialization lists.
12364 * lyxtext.h (Selection): initialize set_ and mark_
12365 (init): remove method
12367 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12369 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12371 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12373 * screen.[Ch]: change method names to begin with lowercase
12375 * BufferView_pimpl.C (updateScrollbar): simplify further and
12376 hopefully make it a bit faster.
12378 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12380 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12381 calling directly xforms functions.
12383 * Painter.C (Painter):
12384 * lyx_cb.C (MenuWrite):
12385 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12388 * lyx_gui.C: remove bogus guiruntime extern declaration.
12390 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12392 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12394 (redoDrawingOfParagraph): ditto
12395 (redoParagraphs): ditto
12396 (cutSelection): don't create a object for CutAndPaste use the
12397 static method directly
12398 (pasteSelection): ditto
12400 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12403 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12405 * modifications to some other files because of this.
12407 * Makefile.am (lyx_SOURCES): add XFormsView
12409 * XFormsView.[Ch]: new files
12411 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12412 the main window. Move the gui dependent stuff to XFormsView
12414 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12416 * tabular.C (GetCellInset): update cur_cell also in the row/col
12417 version of this function.
12419 * lyxfunc.C: no need to include figure_form.h here.
12425 * lyxvc.C: no need to include forms.h here.
12427 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12429 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12431 * lyxfunc.C (Dispatch):
12433 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12434 constructor argument.
12436 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12438 * paragraph.C (Paragraph): dont't clear, and just set layout.
12439 (makeSameLayout): use params's copy contructor.
12441 * ParagraphParameters.[Ch] (makeSame): delete method
12443 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12445 * Variables.[Ch]: fix indentation, rename set to isSet
12447 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12449 * lyxfunc.C (Dispatch): fix typo
12451 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12453 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12456 * bufferlist.C: include assert.h for emergencyWrite().
12458 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12460 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12461 give up at last (bug #425202) !
12463 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12469 * spellchecker.C: strip spellchecker options and bring up
12470 preferences tab instead
12472 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12474 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12475 the istringstream constructor
12477 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12479 * paragraph.C (getLayout): fix return value
12481 * paragraph.h: do not declare getLayout as inline.
12483 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12485 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12487 * lyxcursor.h (operator<): new func
12488 (operator>): new func
12489 (operator>=): new func
12490 (operator<=): new func
12492 * text.C (changeCase): use selection.start and selection.end
12493 (changeRegionCase): require from to be <= to. Require par to be a
12496 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12498 2001-06-27 Juergen Vigna <jug@sad.it>
12500 * text.C (cursorLeftOneWord): changed to return the cursor and added
12501 overlay with BufferView * parameter which calls this one.
12503 (selectWord): use new getWord function.
12504 (changeCase): renamed from changeWordCase as and extended to work
12505 also on selections.
12507 * lyxtext.h: added enum word_location
12509 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12510 changeCase as this operates now also on selections.
12512 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12514 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12516 * many files: send debug output to Debug::INFO instead of
12519 * converter.C (View):
12521 (Move): send debug output to Debug::FILES instead of console.
12523 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12525 * lyxfunc.C (getStatus): use func_status
12527 * func_status.h: new header, describing the results of
12528 LyXFunc::getStatus;
12530 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12533 2001-06-25 The LyX Project <jug@sad.it>
12535 * buffer.C (sgmlOpenTag):
12537 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12539 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12541 * text2.C: remove some dead code
12543 * tabular.C (GetCellInset): store the last cell checked (gotten)
12545 * tabular.h: add the helper for the speedup
12547 * lyxtext.h: remove some dead code
12549 2001-06-26 The LyX Project <Asger>
12551 * paragraph.C: Change export to LaTeX of alignment to
12552 \begin{center} and family for better roundtrip work with reLyX.
12554 * Tune the math drawing a bit.
12556 2001-06-25 The LyX Project <Asger>
12558 * LColor.C (LColor): New color for math background. New color
12561 2001-06-25 The LyX Project <jug@sad.it>
12563 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12565 * lyxfunc.C (Open):
12566 * bufferlist.C (newFile): do not restrict to files ending with
12569 * BufferView_pimpl.C (MenuInsertLyXFile):
12571 2001-06-24 The LyX Project <jug@sad.it>
12573 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12576 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12578 * lyxtext.h: rename most methods to begin with a small char.
12579 Lots of changes because of this.
12581 * paragraph.C (Paragraph): do not call fitToSize
12582 (erase): call Pimpl::erase
12583 (insertChar): call Pimpl::insertChar
12584 (insertInset): call Pipl::insertInset
12585 (breakParagraph): do not call fitToSize
12586 (breakParagraphConservative): do not call fitToSize
12587 (fitToSize): remove method
12589 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12591 2001-06-24 The LyX Project <Asger>
12593 * Fix Qt compilation^2
12595 2001-06-24 The LyX Project <jug@sad.it>
12597 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12598 depthHook(getDepth()-1).
12601 * ParagraphParameters.h:
12602 * ParameterStruct.h: change type of depth to unsigned int ==
12603 depth_type. Many adaptations to other files before of that.
12605 2001-06-24 The LyX Project <Asger>
12607 * Fix Qt compilation.
12609 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12611 * paragraph.h: renamed several methods to begin with small letter.
12612 several changes to many parts of the code because of this.
12614 2001-06-23 The LyX Project <jug@sad.it>
12616 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12617 rewritten to discard all double spaces when KeepEmpty is off
12618 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12619 to only handle newlines but not fiddle with spaces and friends.
12621 * lyxfunc.C (MenuNew): when doing 'new from template', use
12622 template_path as default directory
12624 2001-06-23 The LyX Project <Asger>
12626 * Clean-up of header file includes all over
12627 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12629 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12631 * paragraph.h: renamed from lyxparagraph.h
12633 2001-06-23 Asger <lyx@violet.home.sad.it>
12635 * Buffer.h: Removed Buffer::resize
12636 * BufferList.h: Removed BufferList::resize
12637 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12638 the document lazily when we change the width, or the font settings.
12640 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12642 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12644 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12646 * buffer.h: remove out of date comment
12648 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12651 * screen.C: fix "theoretical" GC leak
12653 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12655 * LaTeX.C (scanAuxFile):
12656 (deplog): remove trailing \r when reading stream (useful under
12659 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12661 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12662 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12663 and BufferView::theLockingInset(Inset*), so should use them and not
12664 access bv_->text->the_locking_inset directly.
12666 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12668 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12671 * tex-defs.h: remove old unused file
12673 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12675 * BufferView_pimpl.C: fix typo, remove minibuffer message
12676 when buffer has loaded
12678 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12680 * lyxfunc.C (Dispatch): use stringstream
12681 (MenuNew): use stringstream
12682 (Open): use stringstream
12684 * importer.C (Import): use stringstream
12686 * bufferview_funcs.C (CurrentState): use stringstream
12688 * LaTeX.C (run): use stringstream
12690 * BufferView_pimpl.C (savePosition): use stringstream
12691 (restorePosition): use stringstream
12692 (MenuInsertLyXFile): use stringstream
12694 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12707 * vspace.C: removed // -*- C++ -*- as first line.
12710 * version.h: added // -*- C++ -*- as first line.
12712 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12714 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12716 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12719 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12721 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12724 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12726 * gettext.C: include LString.h even when --disable-nls is on.
12728 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12730 * converter.h (Get): changed argument type from int to
12731 FormatList::size_type to avoid unnecessary conversion.
12733 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12736 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12738 * gettext.h: include LString.h even when --disable-nls is on.
12740 2001-06-07 Juergen Vigna <jug@sad.it>
12742 * text.C (BreakAgain): subst spaces with tabs.
12744 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12745 (resizeInsetsLyXText): set force on resizeLyXText.
12747 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12749 * gettext.h (gettext_init):
12750 (locale_init): use a real definition instead of a macro
12752 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12754 * Bufferview_pimpl.C:
12756 * LColor.C: further lcolor tidies
12758 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12760 * BufferView_pimpl.C (updateScrollbar): simplify.
12762 * BufferView2.C: don't include insets/insetinfo.h, change
12763 prototype for insertInset and call the Pimpl version. let
12764 updateInset call Pimpl version.
12766 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12767 gotoInset to BufferView::Pimpl
12769 2001-06-01 Juergen Vigna <jug@sad.it>
12771 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12772 inside a LockingInset (is the update needed at all?).
12774 2001-05-31 Juergen Vigna <jug@sad.it>
12776 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12777 here not the old one otherwise how should we compare it afterwards
12780 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12785 * FontInfo.C: bring C functions into global namespace when
12788 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12790 * LString.h: make sure config.h has been loaded before LString.h.
12792 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12793 (one for each char read by EatLine!).
12795 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12798 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12800 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12801 to the same as the par we break from
12803 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12805 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12807 * MenuBackend.C (expand): also create menu entries for wide
12808 versions of the floats.
12810 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12812 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12814 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12815 frontends/Makefile.am
12821 * tabular.C (getTokenValue): add std::
12823 * tabular-old.C (getTokenValue): add std::
12824 (getTokenValue): ditto
12825 (getTokenValue): ditto
12827 * screen.C (ToggleSelection): adjust
12829 * lyxtext.h: put selection cursors inside a Selection struct.
12831 * lyxfunc.C (moveCursorUpdate): adjust
12833 * lyxfont.C (latexWriteStartChanges): add std::
12835 * lyxfind.C: adjust
12837 * font.h: delete with(char const *, LyXFont const &)
12839 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12841 * FontInfo.C (getFontname): add std::
12843 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12844 (workAreaButtonPress): adjust
12845 (tripleClick): adjust
12847 (moveCursorUpdate): adjust
12850 * BufferView2.C (gotoInset): adjust
12852 2001-05-30 Juergen Vigna <jug@sad.it>
12854 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12855 to check pspell I add this as default as I now have new pspell
12856 libraries and they seem to use this.
12858 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12860 * text2.C (CutSelection): make the cursor valid before the call to
12863 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12865 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12866 relied on 0 terminated strings and other horrors. Bug found due to
12867 the new assert in lyxstring!
12869 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12872 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12874 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12877 * lyxfunc.C (processKeySym): change method of getting to the
12880 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12881 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12882 * BufferView_pimpl.[Ch]: here as private methods.
12884 2001-05-28 Juergen Vigna <jug@sad.it>
12886 * text.C (SetHeightOfRow): added the update() call again as it is
12887 needed to initialize inset dimensions!
12889 2001-05-16 Juergen Vigna <jug@sad.it>
12891 * text2.C (SetCharFont): Add new function with BufferView * and
12892 bool toggleall parameters for setting insets internal fonts.
12893 (SetFont): Freeze the undo as we may change fonts in Insets and
12894 all this change should be inside only one Undo!
12896 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12897 setting font's in insets as for them we have the SetFont function!
12899 2001-05-15 Juergen Vigna <jug@sad.it>
12901 * text2.C (ClearSelection): to be sure we REALLY don't have any
12904 * tabular.C (TeXCellPreamble): fixed the left border problem for
12907 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12909 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12912 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12914 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12915 LFUN_BREAKPARAGRAPH.
12917 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12918 help test to "internal only", similar for LFUN_INSERT_URL
12920 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12921 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12922 auto_region_delete and deadkeys.
12924 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12927 * LColor.C: remove some dead entries, tidy a little
12929 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12931 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12933 (Dispatch): implement LFUN_ESCAPE
12935 * commandtags.h: add LFUN_ESCAPE
12937 * LyXAction.C (init): add entry for LFUN_ESCAPE
12939 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12940 Remove commented code.
12941 (insertNote): moved here
12942 (open_new_inset): moved here
12944 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12947 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12949 * kbmap.C (findbinding): clean it up and make it work correctly.
12951 * lyx_main.C (init): do not pass argc and argv as parameters
12953 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12955 * buffer.C: fix path for OS/2 & Win32
12959 * lyx_main.C: Added os:: class.
12961 * os2_defines.h: update
12963 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12965 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12966 better by trying again with reduced state.
12968 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12970 * lyxrc.C (read): print error about invalid key sequence only when
12971 debugging (because not all latinX keysyms are known to some X
12974 * kbsequence.C (getiso): add a few std:: qualifiers
12975 (getiso): comment out extra return statement.
12977 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12979 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12981 (Dispatch): enhance the accent inset a bit. (not perfect)
12983 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12985 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12987 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12989 * bufferlist.C (emergencyWrite): fix assert() call
12991 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12993 * text.C (InsertChar): Added trivial patch to only send the "you
12994 can not do multiple spaces this way" message once during a
12997 2001-05-08 Baruch Even <baruch@lyx.org>
12999 * Makefile.am: Changed order of libraries to get LyX to link properly
13000 with the gnome frontend.
13002 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13004 * LaTeXFeatures.h: add a std:: qualifier
13006 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13008 * paragraph.C (String): use stringstream
13010 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13012 * paragraph.C (writeFile): remove footflag arg
13014 * buffer.C (makeLaTeXFile): use stringstream
13015 (latexParagraphs): remove footnot gurba
13017 * LaTeXFeatures.C (getPackages): use stringstream
13018 (getMacros): likewise
13019 (getTClassPreamble): likewise
13020 (getFloatDefinitions): new method
13022 * paragraph.C (writeFile): reindent
13025 * WorkArea.h: revert the xpos + etc changes.
13027 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13029 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13031 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13032 (pasteSelection): likewise
13033 * text2.C (CreateUndo): likewise
13035 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13037 * minibuffer.C (peek_event): temporarily reduce the functionality
13038 of the minibuffer (to allow args on lfuns)
13040 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13041 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13043 * buffer.C (readInset): add compability reading of old float
13044 lists, add reading of new style float list.
13045 (readInset): avoid reevaluation of inscmd.getCmdName()
13046 (getLists): reindent
13048 * MenuBackend.C (MenuItem): implement parsing of
13049 md_floatlistinsert and md_floatinsert.
13050 (expand::LastFiles): move initalizaton of iterators out of loop,
13051 avoid reevaluation.
13052 (expand::Documents): introduce typdedef vector<string> Strings,
13054 (expand::ExportFormats): introduce typedef vector<Format const *>
13055 Formats, and use it.
13056 (expand): implement FloatListInsert and FloatInsert.
13058 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13059 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13060 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13062 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13064 (Dispatch::LFUN_FLOAT_LIST): implement
13066 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13068 * LaTeX.C (run): Fix problem with --export code.
13070 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13072 * BufferView.[Ch] (workarea): removed.
13073 (getClipboard) new method; wrapper for workarea()->getClipboard()
13075 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13078 * WorkArea.h (width, height, xpos, ypos): These methods all
13079 returned the dimensions of the work_area sub-area of WorkArea,
13080 resulting in a position error if the WorkArea were resized. Now
13081 return the dimensions of the entire WorkArea.
13083 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13085 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13087 * LaTeX.C (deplog): correct the syntax of regex reg1
13089 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13091 * undo.C: remove !NEW_INSETS cruft
13093 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13095 * text2.C: remove !NEW_INSETS cruft
13097 * text.C: remove !NEW_INSETS cruft
13099 * tabular.C: remove !NEW_INSETS cruft
13101 * spellchecker.C: remove !NEW_INSETS cruft
13103 * lyxtext.h: remove !NEW_INSETS cruft
13105 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13107 * lyxfunc.C: remove !NEW_INSETS cruft
13109 * lyxfind.C: remove !NEW_INSETS cruft
13111 * lyx_cb.C: remove !NEW_INSETS cruft
13113 * figureForm.C: remove !NEW_INSETS cruft
13115 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13117 * buffer.[Ch]: remove !NEW_INSETS cruft
13119 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13121 * CutAndPaste.C: remove !NEW_INSETS cruft
13123 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13125 * BufferView2.C: remove !NEW_INSETS cruft
13127 * BufferView.h: remove !NEW_INSETS cruft
13129 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13131 * Lsstream.h: include LString.h before the sstream headers to
13132 fix problem with gcc 2.95.3 and lyxstring
13134 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13136 * lyx_main.C: add using directives when needed for C functions
13137 declared in std:: namespace.
13139 2001-04-27 Juergen Vigna <jug@sad.it>
13141 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13142 (SetHeightOfRow): comment out the update call should not be needed!
13144 2001-04-13 Juergen Vigna <jug@sad.it>
13146 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13147 (LyXTabular): tried to minimize operator= operations (and realized
13148 hopfully Lars wish).
13150 2001-04-27 Juergen Vigna <jug@sad.it>
13152 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13154 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13156 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13158 * buffer.C (readInset): hack to make listof algorithm work
13160 * BufferView_pimpl.C: hack to make listof algorithm work
13162 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13164 * LyXAction.C: removed all !NEW_INSETS cruft
13165 (init): moved lfun_item in method
13167 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13169 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13171 * BufferView2.C (theLockingInset): white space.
13173 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13175 * minibuffer.C: include <iostream>
13177 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13179 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13181 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13183 * text.[Ch] (TransposeChars): new method
13185 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13187 * call message directly through LyXView instead of through LyXFunc
13188 * BufferView2.C: adjust
13189 * BufferView_pimpl.C: adjust
13190 * FontLoader.C: adjust
13192 * bufferview_funcs.C: adjust
13193 * converter.C: adjust
13194 * figureForm.C: adjust
13195 * importer.C: adjust
13197 * lyx_gui_misc.C: adjust
13198 * lyxfunc.C: adjust
13201 + more files in subdirs
13203 * lyxparagraph.h (size): move up int file
13206 * adjust all uses of Assert to lyx::Assert.
13208 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13209 lyxfunctional in namespace lyx
13210 * layout.C (hasLayout): ditto
13213 (delete_layout): ditto
13214 (NumberOfClass): ditto
13215 * converter.C (GetFormat): ditto
13220 * bufferlist.C (getFileNames): ditto
13221 (emergencyWriteAll): ditto
13224 * MenuBackend.C (hasSubmenu): ditto
13227 * BufferView_pimpl.C (getInsetByCode): ditto
13229 2001-04-18 Juergen Vigna <jug@sad.it>
13231 * vspace.C (asLatexString): fixed the 100% problem.
13233 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13235 * lyxfunc.C (Dispatch):
13237 * minibuffer.h: add a few std:: qualifiers
13239 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13241 * minibuffer.[Ch]: reimplement so that commands is initiated and
13242 run from lyxfunc, simplified som handling, and made the completion
13243 and history code for complete. wip.
13245 * lyxfunc.C (processKeySym): call message
13246 (miniDispatch): new temporary method
13247 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13248 (LFUN_MESSAGE): implement
13249 (LFUN_MESSAGE_PUSH): implement
13250 (LFUN_MESSAGE_POP): implement
13251 (initMiniBuffer): the initial/defualt minibuffer message.
13253 * lyxfont.[Ch]: inline some more getters
13255 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13257 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13259 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13260 (AutoSave): use LFUN_MESSAGE
13261 (Reconfigure): ditto
13263 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13265 * figureForm.C: use LFUN_MESSAGE
13267 * converter.C (runLaTeX): use LFUN_MESSAGE
13269 * bufferview_funcs.C: use LFUN_MESSAGE
13271 (changeDepth): ditto
13273 * bufferparams.h: use boost::
13275 * bufferlist.h: inherit privately from noncopyable
13277 * bufferlist.C (loadLyXFile): remove some commented code.
13279 * buffer.C (runChktex): use LFUN_MESSAGE
13281 * ShareContainer.h: inherit privately from noncopyable
13283 * ParagraphParameters.[hC] (depth): inline it.
13285 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13287 (message): new method
13288 (messagePush): ditto
13289 (messagePop): ditto
13290 (show): init minibuffer
13291 (showState): direct call
13293 * LaTeX.[Ch]: inherit privately from noncopyable
13294 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13295 instead of WriteStatus.
13297 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13299 * BufferView_pimpl.C (buffer): don't init minibuffer
13300 (workAreaButtonPress): use LFUN_MESSAGE
13301 (workAreaButtonRelease): ditto
13302 (savePosition): ditto
13303 (restorePosition): ditto
13304 (MenuInsertLyXFile): ditto
13305 (workAreaExpose): don't init minibuffer
13306 (update): remove commented code, simplify
13308 * BufferView2.C (openStuff): use LFUN_MESSAGE
13309 (toggleFloat): ditto
13312 (copyEnvironment): ditto
13313 (pasteEnvironment): ditto
13318 (updateInset): remove some commented code
13320 * lastfiles.h: inherit privately from noncopyable
13323 * lyx_main.h: ditto
13325 * lyxlex_pimpl.h: ditto
13327 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13328 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13329 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13331 * LyXAction.h: inherit privately from noncopyable, add methods
13332 func_begin, func_end, returning iterators to the func map.
13334 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13335 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13336 (func_begin): new method
13337 (func_end): new method
13339 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13341 (copySelection): ditto
13342 (pasteSelection): ditto
13344 * BufferView.C: whitespace change
13345 * BufferView.h: inherit privately from noncopyable
13347 2001-04-16 Allan Rae <rae@lyx.org>
13349 * tabular-old.C (l_getline):
13350 * spellchecker.C (sc_check_word):
13351 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13352 an unrecognised preprocessor directive. So ensure they're wrapped.
13354 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13356 * src/exporter.C (Export): Give an error message when path to file
13359 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13361 * LaTeX.C (deplog): Always check that foundfile exists.
13363 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13366 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13368 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13370 * tabular.[Ch] (getLabelList): implement new method
13372 * minibuffer.h: comment ouf setTiimer
13374 * minibuffer.C (ExecutingCB): constify res
13375 (peek_event): constify s
13376 (Set): constify ntext
13377 (Init): constify nicename
13379 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13381 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13382 (savePosition): use two params to Minibuffer::Set
13383 (restorePosition): ditto
13385 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13387 * lyx_main.C: include language.h
13389 * Makefile.am (lyx_main.o): add language.h
13391 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13397 * CutAndPaste.C: include gettext.h
13399 * lyxfont.h: remove old hack with ON and OFF.
13402 * lyxfont.h: do not include language.h...
13407 * bufferview_funcs.C:
13413 * paragraph.C: ... but do it here instead
13415 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13417 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13419 * tabular.C: small reformat
13421 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13424 (BreakParagraph): ditto
13425 (SetOnlyLayout): ditto
13428 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13431 * lastfiles.C: removed most using decl, add std:: where needed
13433 * buffer.C: ws changes
13435 * MenuBackend.C (class compare_format): put into anon namespace
13436 (expand): constify label, names, action, action2
13439 * text.C (SingleWidth): constify font
13440 (IsBoundary): constify rtl2
13441 (GetVisibleRow): constify ww
13443 * LaTeX.C (deplog): constify logfile
13445 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13447 (workAreaExpose): constify widthChange, heightChange
13449 * lyxrow.C (par): moved
13452 * lyxrow.h: as inlines here
13454 * lyxfont.h (shape): moved from lyxfont.C
13455 (emph): moved from lyxfont.C
13457 * lyxfont.C (LyXFont): use initialization list for all
13459 (shape): move to lyxfont.h as inline
13460 (emph): move to lyxfont.h as inline
13463 2001-04-04 Juergen Vigna <jug@sad.it>
13465 * vspace.C: had to include stdio.h for use of sscanf
13467 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13470 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13471 independent of xforms.
13473 2001-04-02 Juergen Vigna <jug@sad.it>
13475 * spellchecker.C: fixed namespace placing!
13477 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13479 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13480 the LyXParagraph * is 0.
13482 2001-03-29 Juergen Vigna <jug@sad.it>
13484 * vspace.C: added support for %, c%, p%, l%.
13485 (stringFromUnit): added helper function.
13486 (asLatexString): changed to give right results for the %-values.
13488 * buffer.C: convert the widthp in a width%.
13490 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13492 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13495 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13496 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13498 * lyx_cb.[Ch]: see above.
13500 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13504 * lyx.[Ch]: replaced by figure_form.[Ch].
13508 * lyxfunc.C: changed headers associated with above changes.
13510 2001-03-27 Juergen Vigna <jug@sad.it>
13512 * BufferView_pimpl.C: set the temporary cursor right!
13514 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13516 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13518 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13520 * LString.h: removed "using std::getline"!
13522 * BufferView_pimpl.C (Dispatch): changes due to changes in
13523 InsetInclude::Params.
13525 * buffer.C (tag_name): removed redundant break statements as they were
13526 producing lots of warnings with my compiler.
13528 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13530 * LString.h: add "using std::getline" when using the real <string>.
13532 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13534 * buffer.C: removed bitset usage.
13535 PAR_TAG moved to an anonymous name space.
13536 (tag_name): new funtion, also in the anonymous namespace.
13537 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13538 (makeDocBookFile): clean code. Completed transition from string arrays
13540 (SimpleDocBookOnePar): code clean.
13542 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13544 * tabular.C: add some comments.
13546 2001-03-22 Juergen Vigna <jug@sad.it>
13548 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13549 compatibility read a bit and fixed bug with minipage in different
13552 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13554 * buffer.C (pop_tag): removed.
13555 (push_tag): removed.
13556 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13557 array replaced with vector. Added support for CDATA sections.
13558 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13560 (makeDocBookFile): XML conformant declaration of CDATA section,
13561 fixed bug related to <emphasis> in the first paragraph char.
13562 (sgmlOpenTag): exclude empty tags.
13563 (sgmlCloseTag): ditto.
13565 * buffer.h (pop_tag): removed.
13566 (push_tag): removed.
13568 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13570 * language.h (Languages): added size_type and size().
13572 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13574 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13575 response on compability reading of minipages. One probliem is that
13576 the old usage of minipages was «flertydig»
13578 * several files here and in subdirs: don't use static at file
13579 scope use anon namespaces instead.
13581 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13583 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13584 LaTeX output. This is necessary for Literate document
13587 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13589 * buffer.C: insert hfill when needed.
13591 * tabular.C (l_getline): use string::erase, small whitespace change.
13593 * BufferView_pimpl.C: try the anon namespace.
13594 * WorkArea.C: ditto
13596 2001-03-16 Juergen Vigna <jug@sad.it>
13598 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13599 otherwise it won't open options-dialogs.
13601 * buffer.C: honor pextraWidth(p) on converting minipages.
13603 * tabular.C (l_getline): changed the functions to strip trailing \r.
13605 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13607 * BufferView_pimpl.C:
13608 * minibuffer..C: added "using SigC::slot" declaration.
13610 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13612 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13618 * paragraph.C: ditto
13620 * lyxtext.h: NO_PEXTRA
13622 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13624 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13625 * ParameterStruct.h: ditto
13626 * ParagraphParameters.h: ditto
13627 * lyxparagraph.h: ditto
13629 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13631 * buffer.C: add compability for minipage alignment.
13632 (latexParagraphs): remove unwanted pextra check.
13634 * several files: remove CXX_WORKING_NAMESPACES
13636 * buffer.C (pop_tag): tie is in namespace boost
13638 * BufferView.h: noncopyable is in namespace boost
13640 * lyx_main.h: ditto
13643 * lastfiles.h: ditto
13644 * bufferlist.h: ditto
13645 * ShareContainer.h: ditto
13647 * LyXAction.h: ditto
13650 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13652 * Merging changes from BRANCH_MVC back into HEAD.
13654 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13656 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13658 * BufferView_pimpl.C: change from intl.C
13662 * Makefile.am: move combox.*
13668 * intl.C: remove dialog (covered by prefs)
13670 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13672 * lyxfunc.C (Dispatch): removed redundant break statement.
13674 2001-03-14 Juergen Vigna <jug@sad.it>
13676 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13678 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13680 * buffer.C: add hack to fix compability reading of minipages.
13682 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13684 * buffer.C (getLists): Cleanup.
13686 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13688 * lyxfont.C (update): don't honor toggleall on font size.
13690 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13694 * Makefile.am: moved to frontends/xforms/
13698 * BufferView_pimpl.C: changes for moved mathpanel
13700 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13702 * gettext.h: fix gettext_init() in --disable-nls
13704 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13706 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13708 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13711 * lyx.h: strip external form
13713 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13715 * BufferView_pimpl.C: add comment, destroySplash()
13717 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13719 * BufferView_pimpl.C:
13723 * lyxfunc.C: use re-worked insetinclude
13725 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13727 * buffer.C: add using std::stringstream.
13729 * lyx_cb.C: readd using std::ios.
13731 * buffer.C: add using std::map.
13733 * BufferView_pimpl.C: add using std::vector.
13735 * ShareContainer.h: add std:: to swap.
13737 * buffer.h: add some typedefs
13738 * buffer.C (getLists): use them
13739 (getLists): renamed from getTocList.
13740 add a counter for the different float types and use it in the
13742 (getLists): use the same counter for the NEW_INSETS and the "non"
13745 * lyx_cb.h: remove unused items, includes, using etc.
13747 * ShareContainer.h: remove some commented code, add more comments
13748 and "documentation".
13750 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13752 * buffer.C (getTocList): make the list also when NEW_INSETS is
13755 * buffer.h: remove TocType
13757 * buffer.C (getTocList): change to return a map<string,
13758 vector<TocItem> >, implement for dynamic number of list.
13760 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13761 * text2.C (PasteSelection): adjust
13762 * CutAndPaste.C (pasteSelection): adjust
13764 * FloatList.C (FloatList): update from the new_insets branch.
13765 * Floating.[Ch]: ditto
13766 * LaTeXFeatures.C: ditto
13768 * lyxlex_pimpl.C: ditto
13770 * paragraph.C (Last): remove when NEW_INSETS is defined.
13772 * other file: changes because of the above.
13774 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13776 * lyxparagraph.h: rename next to next_, previous to previous_,
13777 make them private for NEW_INSETS. Rename Next() to next(),
13778 Previous() to previous().
13780 * other files: changes because of the above.
13782 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13785 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13788 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13790 * main.C (main): pass lyx_localedir to gettext_init().
13792 * gettext.h: remove locale_init and gettext_init macros
13794 * gettext.C (locale_init): new function
13795 (gettext_init): new function
13797 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13800 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13802 * Moved credits to frontends:
13803 * credits.[Ch]: removed
13804 * credits_form.[Ch]: removed
13805 * lyx_gui_misc.C: remove credits stuff
13808 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13810 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13812 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13813 unneeded destructor.
13815 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13816 a standalone pointer again.
13818 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13820 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13826 * ToolbarDefaults.C:
13835 * BufferView_pimpl.C: use new file dialog in GUII
13838 * lyx_cb.C: remove LayoutsCB to Toolbar
13840 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13842 * ShareContainer.h (get): add std:: qualifier
13844 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13846 * ShareContainer.h: define a proper ShareContainer::value_type
13847 type (and use typename to please compaq cxx)
13849 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13851 * lyxparagraph.h: move serveral local vars to
13852 ParameterStruct/ParagraphParameters., use ShareContainer in
13853 FontTable., make vars in FontTable private and add getter and
13856 * paragraph.C: changes because of the above.
13858 * lyxfont.h: remove copy constructor and copy assignment. (the
13859 default ones is ok), move number inside FontBits. move inlines to
13862 * lyxfont.C: add number to initializaton of statics, move several
13863 inlines here. constify several local vars. some whitespace
13864 cleanup. Dont hide outerscope variables.
13866 * Spacing.h: add two new constructors to match the set methods.
13868 * ShareContainer.h: new file, will perhaps be moved to support
13870 * ParameterStruct.h: new file
13872 * ParagraphParameters.h: new file
13874 * ParagraphParameters.C: new file
13876 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13877 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13879 * BufferView_pimpl.C: ParagraphParameter changes.
13880 * buffer.C: Likewise.
13881 * bufferview_funcs.C: Likewise.
13882 * text.C: Likewise.
13883 * text2.C: Likewise.
13885 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13887 * lyxfind.C (LyXReplace): do not redefine default argument in
13889 (IsStringInText): ditto
13890 (SearchForward): ditto
13891 (SearchBackward): ditto
13893 2001-03-06 Juergen Vigna <jug@sad.it>
13895 * lyxfind.C (IsStringInText): put parentes around expressions.
13897 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13899 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13901 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13903 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13905 * stl_string_fwd.h: add comment
13907 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13910 * tabular.C: remove unused DocBook methods
13916 killed DO_USE_DEFAULT_LANGUAGE
13918 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13920 * lyx_gui.C: do not include language.h.
13922 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13923 arguments in function implementation.
13925 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13927 * BufferView_pimpl.C: add <ctime>
13929 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13931 * BufferView_pimpl.C: add using std::find_if
13933 2001-02-27 José Matos <jamatos@fep.up.pt>
13935 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13938 2001-02-11 José Matos <jamatos@fep.up.pt>
13940 * buffer.C (makeDocBookFile): command styles now have a parameter as
13941 "title" by default.
13943 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13945 * layout_forms.[Ch]: removed
13946 * lyx_cb.[Ch]: out character
13947 * lyx_gui.C: out character
13948 * lyx_gui_misc.C: out character
13949 * bufferview_funcs.C: : out character,
13950 added toggleall as parameter in ToggleAndShow
13952 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13954 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13956 * text2.C (SetCurrentFont): Disable number property at boundary.
13958 2001-02-26 Juergen Vigna <jug@sad.it>
13960 * lyxfunc.C (getStatus): added a string argument override function so
13961 that this is correctly called from LyXFunc::Dispatch if it contains a
13962 do_not_use_argument which is used!
13963 (Dispatch): added check for "custom" export and call appropriate func.
13965 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13967 * lyxrc.C: Add language_command_local, language_use_babel and
13968 language_global_options.
13970 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13972 * buffer.C (makeLaTeXFile): Use language_use_babel and
13973 language_global_options.
13975 2001-02-23 Juergen Vigna <jug@sad.it>
13977 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13978 which works with LyXText and putted it inside BufferView. Here now we
13979 only call for that part the BufferView::Dispatch() function.
13981 * BufferView.C (Dispatch): added.
13983 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13984 functions which needs to use a LyXText over from LyXFunc.
13985 (MenuInsertLyXFile): added
13986 (getInsetByCode): added
13987 (moveCursorUpdate): added
13988 (static TEXT): added
13990 2001-02-22 Juergen Vigna <jug@sad.it>
13992 * BufferView_pimpl.C (update): call a status update to see if LyXText
13995 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13997 * vc-backend.C (revert): implement for CVS
13998 (getLog): implement for CVS
14000 2001-02-20 Juergen Vigna <jug@sad.it>
14002 * text2.C (ClearSelection): added BufferView param for inset_owner call
14004 * lyxfunc.C (TEXT): added this function and use it instead of
14005 directly owner->view()-text of getLyXText().
14007 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14009 * src/layout_forms.C: out preamble
14010 * src/layout_forms.h: out preamble
14011 * src/lyx_cb.C: out preamble
14012 * src/lyx_cb.h: out preamble
14013 * src/lyx_gui.C: out preamble
14014 * src/lyx_gui_misc.C: out preamble
14015 * src/lyxfunc.C: connect with guii preamble
14017 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14019 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14021 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14023 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14024 whether to run bibtex.
14026 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14028 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14030 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14032 * Makefile.am (lyx_SOURCES): removed bibforms.h
14034 * vspace.h: doxygen
14036 * text.C (GetVisibleRow): make several local vars const
14038 * tabular.C: small cleanup.
14040 * lyxserver.C (callback): use compare instead of strncmp
14042 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14043 inlines to after class or to paragraph.C
14045 * lyxfont.h: remove friend operator!=
14047 * converter.h: move friend bool operator< to non friend and after
14050 * combox.h: small cleanup
14052 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14053 to inlines after class def.
14055 * buffer.C (pop_tag): use string operations instead of strcmp
14057 * bmtable.c: doxygen, small cleanup
14059 * LaTeX.h: remove friend operator==
14061 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14073 * BufferView_pimpl.C:
14074 * BufferView.[Ch]: remove cruft
14076 2001-02-14 Juergen Vigna <jug@sad.it>
14078 * lyxfunc.C: removed #if 0 unused code
14080 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14082 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14084 * text2.C (SetSelection): added a BufferView * parameter
14086 2001-02-13 Juergen Vigna <jug@sad.it>
14088 * lyxfunc.C (Dispatch): fixed protected blank problem.
14089 * BufferView2.C (protectedBlank): added LyxText * parameter.
14091 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14092 (AppendColumn): same as above for column_info.
14094 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14095 (moveCursorUpdate): use a LyXText param for support of InsetText.
14097 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14098 (tripleClick): ditto
14100 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14102 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14104 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14106 * text2.C (SetSelection): set correct update status if inset_owner
14107 (ToggleFree): ditto
14109 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14111 * tabular.C: remove some commented code.
14113 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14115 * BufferView_pimpl.C: call hideSplash()
14117 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14120 * bibforms.h: remove
14123 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14124 add LFUN_CHILD_CREATE
14126 * counters.h: fix tiny typo
14131 * lyx.C: move splash to frontends/xforms/
14133 * lyx_gui_misc.C: move Include and Bibform to frontends
14135 * lyxvc.h: clarify comment
14137 * vspace.C: tiny housekeeping
14139 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14141 * text.C (PrepareToPrint): RTL Fix.
14143 * paragraph.C (GetUChar): New method.
14144 (String): Use GetUChar.
14146 * buffer.C (asciiParagraph): Use GetUChar.
14148 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14150 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14152 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14155 * buffer.C: rename to getLogName(), handle
14156 build log / latex log nicely
14158 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14161 * MenuBackend.h: remove support for reference menuitem type.
14163 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14165 * BufferView_pimpl.C: housekeeping
14166 * BufferView_pimpl.h:
14171 * minibuffer.h: move Timeout GUI-I
14173 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14175 * lyxrc.C (read): Update converters data-structures.
14177 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14179 * LaTeX.h (operator!=): add operator != for Aux_Info
14181 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14183 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14185 * LaTeXLog.C: deleted, useful code moved to Buffer
14188 * buffer.C: new function getLatexLogName()
14194 * lyxfunc.C: use frontends for LaTeX and VC logs
14196 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14198 * LaTeX.h: yet another std:: that Allan forgot.
14200 * Variables.C (set): renamed from isset(), because this clashes
14201 with some HP-UX macros (grr).
14203 2001-02-06 Allan Rae <rae@lyx.org>
14205 * LaTeX.h: Another bug fix. Missing std:: this time.
14207 2001-02-04 Allan Rae <rae@lyx.org>
14209 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14210 floats problem. I've left it commented out because it's not quite
14211 correct. It should also test that the current object is a table or
14212 figure inset. But I haven't gotten around to figuring out how to do
14213 that. I *think* it'll be something like: "table" == inset.type()
14215 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14218 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14220 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14221 all the citation/databases/styles in the auxilary file.
14222 (run): Rerun latex if there was a babel language error.
14224 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14226 * text.C (Backspace): Preserve the font when changing newline char
14228 (BreakParagraph): If the cursor is before a space, delete the space.
14230 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14232 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14234 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14235 new argument (code).
14236 (ChangeCitationsIfUnique): New method.
14238 * paragraph.C (GetPositionOfInset): Handle bibkey.
14240 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14242 * BufferView_pimpl.h: change type of Position::par_pos to
14243 LyXParagraph::size_type.
14245 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14247 * BufferView_pimpl.C (savePosition, restorePosition): Write
14248 messages to minibuffer.
14250 2001-01-28 José Matos <jamatos@fep.up.pt>
14252 * buffer.C (makeDocBookFile): adds support for document language.
14253 A silly restriction on the name of LatexCommand types where removed.
14254 Added support for CDATA sections, allows to chars unescaped, used
14255 among others in code, to avoid escape < and >.
14257 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14259 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14260 saved positions instrad of a stack. Furthermore, a position is
14261 stored using paragraph id/paragraph position.
14263 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14264 Remove LFUN_REF_BACK.
14266 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14268 * converter.C (dvipdfm_options): New method.
14270 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14272 * vspace.C (isValidLength): Fix for empty input string.
14274 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14276 * LyXAction.C (init): change description of LFUN_FIGURE to
14279 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14281 * LaTeX.C: add using directive
14283 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14285 * MenuBackend.C (expand): Fix the sorting of the formats.
14287 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14289 * lyx_main.C: tiny error message fix
14291 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14293 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14294 calling fl_initialize(). This fixes the problem with ',' as
14295 decimal separator in text files.
14297 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14299 * trans.C (process): Fix the keymap bug.
14301 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14303 * LaTeX.C (scanAuxFiles): New method. Provides support for
14304 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14305 (scanLogFile) Scan for "run BibTeX" messages.
14307 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14308 OT1 font encoding. Also, load the aecompl package if the ae
14311 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14313 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14315 * texrow.C (increasePos): turn two error messages into debug
14318 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14320 * LaTeX.C (scanAux): Handle the \@input macro.
14321 (runBibTeX): Use scanAux().
14323 * language.C (latex_options_): New field.
14325 * LaTeXFeatures.C (getMacros): Add language macros.
14327 * buffer.C (makeLaTeXFile): Small fix.
14329 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14331 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14333 * text2.C: add a using directive.
14335 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14340 * lyxfunc.C: kill LyXBell.
14342 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14344 * text.C (IsBoundary): Remove the error message
14346 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14348 * lyxrc.C (setDefaults): Correct initialization value for
14351 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14353 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14356 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14357 and GotoNextNote().
14359 * src/LyXAction.C: Added reference-next.
14361 * text.C (InsertChar): Use contains instead of strchr.
14363 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14365 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14367 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14368 alignment commands (when needed).
14370 * text.C (InsertChar): Add ':' to number separator chars.