2 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4 * factory.C: Syntax change for CharStyles
6 2003-11-28 André Pönitz <poenitz@gmx.net>
11 * buffer.[Ch]: move LyXText member
13 2003-11-28 André Pönitz <poenitz@gmx.net>
15 * BufferView.[Ch]: make LyXText * text a private member
28 * output_plaintext.C: cleanup
30 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
33 * lyxtextclass.[Ch]: parametrize SGML document header
35 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
38 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
41 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
43 * text2.C (setFont): rework using PosIterator (no more recursive)
44 (setCharFont): no more needed
45 (setLayout): no more selection cursors fiddling (done by redoCursor)
46 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
47 destroy remaining ones)
49 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
51 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
53 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
56 * text3.C: adjust + re-allow multi par depth changes
57 * textcursor.C: simplify a bit
59 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
65 * src/output_docbook.C:
71 * src/text2.C: Introducing a number of tags parametrizing various
72 XML formats that we may want to support
74 2003-11-25 André Pönitz <poenitz@gmx.net>
76 * InsetList.[Ch] (begein, end): inline as suggested by profiler
78 * lyxtext.h (leftMargin/rightMargin): simplify interface
85 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
87 * lyxfunc.C (dispatch): propogate the bibtex databases from the
88 master file to any child files. Fixes bug 546.
90 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
92 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
94 2003-11-24 André Pönitz <poenitz@gmx.net>
96 * rowpainter.C: simplification
98 * text2.C (updateCounters): remove call to redoParagraph on
99 changed labels as this is far too expensive.
101 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
103 * converter.C (convert): fix a crash: this function gets
104 called with buffer == 0 from importer code.
106 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
108 * text3.C (cursorPrevious): make sure that we do not compare
109 iterators form different containers.
112 * rowpainter.C (paintSelection): make sure that we do not compare
113 iterators from different containers.
115 * text3.C (dispatch): [PRIOR] make sure that we do not compare
116 iterators from different ParagraphList containers.
119 * text2.C (LyXText): change order of initialization slightly
120 (operator=): new function. copy all variables except cache_par_
121 (moveUp): make sure that we do not compare iterators from
122 different ParagraphList constainers.
125 * text.C (firstPar): new function
126 (lastPar): new function
127 (endPar): new function
129 * lyxtext.h: move things around and group public functions, public
130 variables, private functions, private variables
132 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
134 * factory.C: change call to InsetERT constructor to avoid
135 additional invocation of method status
136 * text2.C (toggleInset): remove redundant update() call
137 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
138 instead of a Bufferview pointer
140 2003-11-21 André Pönitz <poenitz@gmx.net>
142 * rowpainter.C: simplification
144 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
146 * text3.C (dispatch): make possible to extend a word/row selection
149 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
151 * lyxtext.h: x0_,y0_ -> xo_,yo_
152 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
153 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
154 * rowpainter.C (paintRows): paint full paragraphs
156 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
158 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
161 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
163 * lyxtext.h: add x0_, y0_
164 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
165 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
167 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
169 * text2.C (setCursorIntern): move the x_target update here *
170 * text3.C: change some bv() to true/false in calls to
171 cursorUp/Down/Right/Left
172 * cursor.C: use helper function.
174 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
176 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
177 * paragraph_funcs.[Ch]: correct comment
178 * rowpainter.C: do not paint selections away from bv->cursor()
179 Fix a long standing selection painting bug.
180 * text3.C: generalize mouse-selection code to LyXTexts other that
182 * textcursor.C: do not use y coords if we can use par offsets
184 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
186 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
187 cursor position after e.g. inset insert)
189 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
191 * lyxfind.C (replace): adjust to locking removal + some
194 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
196 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
199 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
202 * output_docbook.C: XML sanitation: new layout
203 parameters InnerTag and CommandDepth
205 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
207 * BufferView_pimpl.C:
209 * text3.C: Fix the insertion and modification of button-style
212 2003-11-13 André Pönitz <poenitz@gmx.net>
214 * InsetList.[Ch]: remove deleteLyXText
216 * paragraph.[Ch]: cache beginOfBody position
221 * text3.C: remove superfluous update() calls
225 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
227 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
228 * BufferView.C (fitLockedInsetCursor): remove
229 * cursor.[Ch] (getDim): add
230 * text.C (getRowNearY): add faster version
231 * text3.C: remove some update calls
233 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
245 * text3.C: The Character Style /XML short element patch.
247 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
250 * factory.C: Small step to solving 'unable to insert some insets'
253 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
255 * cursor.[Ch] (updatePos): new function for updating the y
256 position of the tip inset
257 * bufferview_funcs.C (put_selection_at):
258 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
260 2003-11-11 André Pönitz <poenitz@gmx.net>
262 * text.C: remove big comment on invalid Paragraph pointers as it is
265 2003-11-11 André Pönitz <poenitz@gmx.net>
267 * text_funcs.[Ch]: merge with ...
275 * Makefile.am: remove text_funcs.[Ch]
277 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
279 * cursor.C (getPos): return absolute cached y coord
281 * BufferView_pimpl.C (fitCursor): new simplistic code
282 (workAreaDispatch): add a fitCursor call
284 2003-11-10 André Pönitz <poenitz@gmx.net>
287 * BufferView_pimpl.[Ch]: merge update() and updateInset()
289 2003-11-10 André Pönitz <poenitz@gmx.net>
291 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
292 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
293 indicate that the cursor needs to leave an inset
295 * lyxtext.h: remove inset locking
297 * cursor.[Ch]: re-implement functionality provided by inset locking
300 * BufferView_pimpl.[Ch]:
302 * bufferview_funcs.[Ch]:
314 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
316 * PosIterator.[Ch]: replace the stack with a vector, add inset
318 * iterators.[C]: adjust
320 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
322 * lyxfind.C (replaceAll): mark the buffer dirty if something was
324 * paragraph_funcs.C (readParToken): put the correct id in the
325 error item, not the id of the top paragraph
327 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
329 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
330 * bufferview_funcs.C (put_selection_at): use the above
332 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
334 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
336 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
339 * output_plaintext.h:
341 * output_docbook.h: add #include statements
343 2003-11-05 José Matos <jamatos@lyx.org>
345 * output_docbook.[Ch]:
347 * output_linuxdoc.[Ch]:
348 * output_plaintext.[Ch]: New files for output formats.
349 * output.[Ch]: New file for helper functions.
352 * paragraph_funcs.[Ch]: output functions moved to new files.
354 * outputparams.h: rename of latexrunparams.h
362 * paragraph_funcs.[Ch]:
363 * paragraph_pimpl.[Ch]:
364 * tabular.[Ch]: rename ascii to plaintext
365 and LatexRunParams to OutputParams.
367 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
369 * iterators.[Ch] (text): require bv argument
370 * undo.C (recordUndo):
371 * lyxfunc.C (dispatch):
372 * bufferview_funcs.C (put_selection_at): adjust
374 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
376 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
378 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
380 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
383 2003-11-04 André Pönitz <poenitz@gmx.net>
385 * cursor.[Ch]: restructure
388 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
390 * iterators.[Ch] (asCursor): remove
392 * lfuns.h: remove LFUN_INSET_EDIT
398 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
400 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
402 * lyxfind.[Ch]: complete overhaul
403 * BufferView_pimpl.C:
405 * paragraph.[Ch] (insert): add
407 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
411 * text.C: remove dead spellcheck code
413 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
415 * dispatchresult.h: add a val setter
417 * cursor.C (dispatch): use a tempvar for data_[i]
419 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
421 * PosIterator.[Ch]: compile fix
423 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
425 * text.C (cursorPar): deactivate the cursor cache
427 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
429 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
431 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
433 * text3.C (dispatch): adjust for new DisptchResult semantics.
435 * lyxfunc.C (dispatch): handle update when return from
436 Cursor::dispatch, adjust for new DispatchResult semantics.
438 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
439 DispatchResult(true) mean to not update. Add class functions for
440 setting dispatched and update, as well as reading.
442 * cursor.C (dispatch): don't handle update here
444 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
446 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
447 * trans_mgr.C: adjust
449 * paragraph_funcs.C (readParToken): exception safety
451 * lyxvc.h: store the vcs pointer in a scoped_ptr
454 * lyxsocket.C (serverCallback): exception safety
456 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
458 * ispell.C (clone): make it return a auto_ptr
460 * factory.C (createInset): exception safety
461 (readInset): exception safety
463 * bufferlist.C (newBuffer): exception safety
465 * Thesaurus.C (Thesaurus): use initialization for aik_
467 * MenuBackend.C (expandToc): exception safety.
469 2003-11-03 André Pönitz <poenitz@gmx.net>
473 * bufferview_funcs.C: remove getInsetFromId()
476 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
482 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
484 * PosIterator.C (distance, advance): new
485 * bufferview_funcs.[Ch] (put_selection_at): new
486 * iterators.[Ch] (lockPath): new
488 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
490 * iterators.[Ch] (asPosIterator): added
491 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
492 * PosIterator.[Ch]: added
494 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
498 * cursor.C (dispatch):
499 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
501 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
502 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
503 contructor, add a class function dispatched. Remove operator>=
505 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
507 * debug.C: only use the default constructor for debugstream
510 * main.C (main): include debug.h and setup the lyxerr streambuf
513 2003-10-31 José Matos <jamatos@lyx.org>
515 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
517 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
518 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
519 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
520 * paragraph_pimpl.C (simpleTeXSpecialC):
521 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
522 add LatexRunParams argument.
524 * exporter.C (Export): change call accordingly.
526 * latexrunparams.h: add new member to take care of the other backends.
527 2003-10-30 José Matos <jamatos@lyx.org>
529 * buffer.C (makeLinuxDocFile, makeDocBookFile):
530 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
531 factorise code for paragraph output.
533 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
536 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
538 * text3.C (dispatch):
539 * lyxfunc.C (dispatch):
540 * cursor.C (dispatch):
541 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
543 * dispatchresult.h: make the dispatch_result_t ctor explicit
545 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
548 * buffer.C: small refactoring of docbook stuff
550 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
552 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
555 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
557 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
558 operator dispatch_result_t, and operators for == != and >=
560 * cursor.C (dispatch): adjust for operator dispatch_result_t
561 removal. comment out call to update
563 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
565 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
573 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
576 * dispatchresult.h: new file, DispatchResult broken out of
579 * Makefile.am (lyx_SOURCES): add dispatchresult.h
581 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
583 * text.C (rowBreakPoint): put a hack inside #if 0
585 2003-10-28 André Pönitz <poenitz@gmx.net>
592 * text2.C: general cleanup (lots of small stuff)
594 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
596 * text2.C (cursorEnd): simple fix to the "end key goes to one
597 before the end on last row" bug
599 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
601 * text.C (backspace): fix the "zombie characters"
603 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
605 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
607 2003-10-27 André Pönitz <poenitz@gmx.net>
609 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
611 * factory.C: handle new InsetPagebreak, InsetLine
613 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
614 and move handling into new InsetPagebreak, InsetLine
616 * BufferView_pimpl.C:
618 * ParagraphParameters.C:
631 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
640 * text3.C: remove lastPos uses in favour of Row::endpos
642 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
644 * undo.C (performUndoOrRedo): fix two crashes by setting a
645 cursor by hand and reordering some calls. Use bv->lockInset instead
646 of inset->edit because the latter loses cursor information
648 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
650 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
652 (rowBreakPoint): fix width. change point to point + 1.
655 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
658 * lyxfunc.C: fix (at least partly) the problems
659 with the Nav menu and headers inside branch insets
662 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
664 * paragraph.C (getChar): add strong asserts
666 * lyxrow_funcs.C (lastPos): remove hideous hack
668 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
669 (fill): adjust to that (avoid an infinite loop)
671 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
673 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
675 2003-10-23 André Pönitz <poenitz@gmx.net>
677 * RowList_fwd.h: change list<> to vector<> to gain speed
678 after suggestion from Alfredo
680 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
682 * lyxtext.h: move the bidi stuff from here...
685 * Bidi.[Ch]: ... to here
687 2003-10-23 André Pönitz <poenitz@gmx.net>
690 * text.C (isLastRow, isFirstRow): new functions
692 * paragraph.h: new width cache member
694 * rowpainter.C: replace RowList::iterator with Row & where possible
696 * lyxfunc.C: replace several view()->text with a single call
698 * toc.C: fix 'unused' warning
700 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
702 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
703 when woring with stream::pos_type
704 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
706 2003-10-22 André Pönitz <poenitz@gmx.net>
709 * text.C: use Row & instead of RowList::iterator
711 * lyxrow.h: rename end() to endpos()
717 2003-10-22 Angus Leeming <leeming@lyx.org>
719 * buffer.[Ch] (fully_loaded): new member function, returning true
720 only when the file has been loaded fully.
721 Used to prevent the premature generation of previews and by the
722 citation inset to prevent computation of the natbib-style label.
724 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
725 templates are all set up.
727 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
729 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
731 * text.C: fixed an "oops" in the "is a bit silly"
734 2003-10-21 André Pönitz <poenitz@gmx.net>
736 * FuncStatus.[Ch]: small stuff, whitespace
738 * lyxfont.[Ch]: operator<<() for debug reasons
742 * lyxtext.h: whitespace, spelling
744 * paragraph.C: naming of variables
747 * text2.C: small stuff
750 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
752 * text.C: (1) finish off the inset display() work;
753 (2) fix the "is a bit silly" bug (accessing char
756 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
758 * text.C: re-introduce display() for insets, fixing the
759 various bugs (stretch of line above, math inset
762 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
764 * text.C (rightMargin): remove spurious semicolon
766 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
769 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
771 * text3.C: fix one crash due to wrong cursor def
773 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
775 * vc-backend.C (scanMaster): make the regex static
777 * LaTeX.C (scanAuxFile): make the regexs static
779 * text3.C (doInsertInset, dispatch, dispatch):
780 * text2.C (cursorUp, cursorDown):
781 * text.C (selectNextWordToSpellcheck):
782 * BufferView_pimpl.C (dispatch):
783 * lyxfunc.C (dispatch): localDispatch -> dispatch
785 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
787 * lyxsocket.C: include <cerrno>
789 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
791 * lyxfunc.C (dispatch): remove textcache stuff
793 * bufferlist.C (release): remove textcache stuff
796 * TextCache.C: delete file
797 * TextCache.h: delete file
799 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
801 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
802 delete of the bv_->text.
803 (resizeCurrentBuffer): remove texcache stuff
804 (workAreaResize): ditto
806 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
808 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
811 2003-10-16 André Pönitz <poenitz@gmx.net>
818 * text3.C: speed up by storing y positions per paragraph plus per-row
819 offset instead of having a 'full' y position in the row.
821 2003-10-15 André Pönitz <poenitz@gmx.net>
825 * undo.[Ch]: make undo aware of inner insets
827 2003-10-14 Angus Leeming <leeming@lyx.org>
829 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
830 static member functions LyX::ref() and LyX::cref.
831 (lastfiles): new accessor functions for the new lastfiles_ member var.
832 (addLyXView, views_): add a new LyXView to the list of views_.
833 (updateInset): loop over all LyXViews to call their own updateInset
834 member function, returning a pointer to the Buffer owning the inset.
836 * BufferView_pimpl.C (loadLyXFile):
837 * MenuBackend.C (expandLastfiles):
838 * bufferlist.C (MenuWrite, QuitLyX):
839 lastfiles is no longer a global variable.
840 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
842 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
843 static function. Access through LyX::cref().emergencyCleanup().
845 2003-10-14 André Pönitz <poenitz@gmx.net>
847 * iterators.[Ch]: new direct access to innermost LyXText and Inset
849 * undo.[Ch]: restoring part of 'undo in insets'
852 * undo_funcs.[Ch]: merge with undo.[Ch]
854 * tabular.C: small cleansing stuff
856 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
858 * paragraph_funcs.C (readParToken): report unknown insets as error
859 boxes. Use the outer paragraph as location (also for unknown
862 * factory.C (readInset): do not abort on reading an unknown inset.
865 2003-10-13 Angus Leeming <leeming@lyx.org>
867 * lyx_main.C (LyX): remove call to setDisplayTranslator().
869 * lyxrc.C: displayTranslator is now a function,
870 declared in GraphicsTypes.h.
872 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
874 * format.C: new placeholder $$a to pass the socket address.
876 * bufferlist.[Ch]: new function getBufferFromTmp.
878 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
879 files in the temporary dir.
881 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
883 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
885 * Makefile.am: add lyxsocket.[Ch].
887 * lyx_main.C (error_handler): handle SIGPIPE.
889 2003-10-13 André Pönitz <poenitz@gmx.net>
891 * BufferView_pimpl.C:
896 * undo_funcs.[Ch]: use paroffset_type instead of
897 ParagraphList::iterators to prevent multiple conversion
898 (and get a more robust interface)
900 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
902 * lyxfunc.C (dispatch): RESULT -> dispatch_result
904 * text3.C (dispatch): ditto
906 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
908 * LaTeX.C (handleFoundFile): move the static to smaller scope,
909 move the onlyfile, use onlyfile instead of foundfile in a couple
912 * DepTable.C (update): flush the error stream a bit more
914 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
916 * lyxserver.C (callback): adjust
918 * lyxfunc.C (getStatus): add a missing brace in commented code
919 (ensureBufferClean): reindent
920 (dispatch): delete version taking a string
922 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
924 * LaTeX.C (deplog): move found file handlig from here...
925 (handleFoundFile): .. to new function here.
926 (deplog): make sure to discover several files mentioned on the
929 2003-10-10 André Pönitz <poenitz@gmx.net>
936 * text3.C: fix some of the tabular crashes
938 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
940 * MenuBackend.C (binding): put debug message into Debug::KBMAP
942 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
944 2003-10-09 André Pönitz <poenitz@gmx.net>
946 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
949 * BufferView_pimpl.C:
950 * bufferview_funcs.C:
961 * undo_funcs.C: adjust
963 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
965 * text2.C (incrementItemDepth): new function, use a backtracking
966 algorithm to discover the correct item depth.
967 (resetEnumCounterIfNeeded): new function, use a backtracking
968 algorithm to discover if counter reset is needed.
969 (setCounter): use them. Simplify a bit. Add different labels for
970 different item depths for itemize.
972 * paragraph.C (Paragraph): remove initialization of enumdepth
975 * paragraph.h: get rid of enumdepth, and use itemdepth both for
976 enumerate and itemize. Change the type of itemdepth to signed char.
978 2003-10-08 André Pönitz <poenitz@gmx.net>
980 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
985 * tabular.[Ch]: fix crash after 'row-insert'
987 2003-10-08 Angus Leeming <leeming@lyx.org>
989 Fix doxygen warnings.
991 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
992 Remove CutAndPaste:: prefix from header file declaration.
994 * LColor.h (fill): remove LColor:: prefix from declaration.
996 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
997 use lyx::depth_type rather than Paragraph::depth_type so that
998 header file and .C file match.
1000 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1002 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1003 * aspell.C: \file aspell_local.C -> \file aspell.C
1004 * gettext.C: \file gettext.C -> \file src/gettext.C
1005 * gettext.h: \file gettext.h -> \file src/gettext.h
1006 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1007 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1008 * text.C: \file text.C -> \file src/text.C
1010 * toc.C: move comment so that doxygen is not confused.
1012 2003-10-07 Angus Leeming <leeming@lyx.org>
1014 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1016 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1019 * aspell_local.h: add forgotten std::string's.
1021 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1028 * text3.C: The Box patch. Fancybox support, minipage, parbox
1030 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1036 * ParagraphParameters.h:
1046 * lyxtextclasslist.h:
1049 * paragraph_pimpl.C:
1050 * textcursor.h: add <string> and other small fixes to make Lars'
1051 std::string patch compile with STLport.
1053 2003-10-06 Angus Leeming <leeming@lyx.org>
1055 * LColor.h: Add missing #include <string>.
1057 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1059 * All most all file in all subdirs: Make <string> be the prefered
1060 way of getting to std::string, add using declarations.
1062 2003-10-06 André Pönitz <poenitz@gmx.net>
1064 * metricsinfo.C: initialize LyXFont before changing attribute.
1065 (fixes the 'math in \emph is upright' bug)
1067 2003-10-06 André Pönitz <poenitz@gmx.net>
1069 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1071 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1074 * paragraph_pimpl.C: Small fixes to build using STLport
1076 2003-10-02 André Pönitz <poenitz@gmx.net>
1079 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1081 2003-10-01 André Pönitz <poenitz@gmx.net>
1083 * factory.C: assert early
1085 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1087 * lyx_main.C: remove the global debug object
1089 * debug.h: adjust for new debugstream
1091 * debug.C: adjust for new debugstream and keep the global debug
1094 2003-09-22 Angus Leeming <leeming@lyx.org>
1096 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1097 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1098 an incomplete class LyXFont.
1100 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1102 * factory.C: bug fix in branches
1104 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1106 * lyxfunc.C (processKeySym): adjust
1108 (dispatch): change arg name from ev to func, adjust
1109 (sendDispatchMessage): ditto
1111 * lyx_main.C (defaultKeyBindings): adjust keybindings
1112 (deadKeyBindings): ditto
1114 * kbsequence.C (addkey): return a FuncRequest
1116 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1118 * kbmap.C (bind): take a FuncRequest as arg, adjust
1121 (defkey): change to take a FuncRequest as arg, adjust
1122 (findbinding): take a FuncRequest as arg, adjust.
1124 * funcrequest.h (operator=): added
1126 * funcrequest.C (FuncRequest): default kb_action changed from
1127 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1129 * buffer.C (dispatch): simplify
1130 (dispatch): adjust to take a FuncRequest as arg, adjust
1132 * boost.C (assertion_failed): change assertion message slightly
1134 * ToolbarBackend.C (read): simplify
1136 * MenuBackend.C (binding): adjust call to findbinding, add a
1137 message if no binding is found.
1139 (expandToc): correct by adding a empty FuncRequest
1141 * LyXAction.C: include <boost/assert.hpp>
1142 (isPseudoAction): delete function
1143 (LookupFunc): change name to...
1144 (lookupFunc): this. change return type to FuncRequest.
1145 (getActionName): take kb_action as arg, simplify
1146 (funcHasFlag): add an assert, simplify.
1148 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1150 * toc.C (action): return a FuncRequest, simplify
1152 * lyxfunc.C (processKeySym): adjust
1153 (getStatus): delete version that takes an int.
1155 (dispatch): delete version that takes action as int
1157 (sendDispatchMessage): simplify and adjust
1159 * funcrequest.C (getArg): take unsigned int as arg
1161 * ToolbarBackend.C (read): adjust
1162 (add): delete version that takes func as a string.
1163 (getIton): take a FuncRequest as arg
1165 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1168 * MenuBackend.C (MenuItem): add a new construct that only takes a
1169 Kind, simplify the constructor use for submenus.
1171 (expandLastfiles): adjust
1172 (expandDocuments): adjust
1173 (expandFormats): adjust
1174 (expandFloatListInsert): adjust
1175 (expandFloatInsert): adjust
1176 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1178 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1179 Remove class variables lyx_pseudo_map and lyx_arg_map
1181 * LyXAction.C (searchActionArg): delete function
1182 (getPseudoAction): delete function
1183 (retrieveActionArg): delete function
1184 (LookupFunc): make it return kb_action, simplify.
1185 (getActionName): simplify
1187 * factory.C (createInset): fix new bug
1189 2003-09-19 Angus Leeming <leeming@lyx.org>
1191 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1192 masterFilename_ parameter in the include inset.
1194 * factory.C (createInset): changes due to the changes to InsetInclude.
1196 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1198 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1200 2003-09-18 Angus Leeming <leeming@lyx.org>
1203 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1204 Inset::fillWithBibKeys.
1205 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1207 2003-09-18 Angus Leeming <leeming@lyx.org>
1209 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1211 (ctor): pass and store a 'Buffer const &'
1212 (buffer): new member function.
1214 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1215 '*this' to the LaTeXFeatures ctor.
1217 2003-09-18 Angus Leeming <leeming@lyx.org>
1223 * text.C: rename EnumLColor as LColor_color.
1225 2003-09-18 Angus Leeming <leeming@lyx.org>
1227 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1228 remove #include "insets/insetbase.h" from cursor.h.
1230 2003-09-18 Angus Leeming <leeming@lyx.org>
1232 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1233 InsetOld_code to remove #include "inset.h".
1235 * iterators.C: add #include "insets/inset.h"
1237 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1239 * BufferView.C: remove more locking stuff that apparently doesn't
1240 do anything sensible.
1242 2003-09-16 André Pönitz <poenitz@gmx.net>
1245 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1248 2003-09-16 Angus Leeming <leeming@lyx.org>
1250 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1252 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1255 * paragraph.h: remove #include "lyxfont.h". Forward declare
1258 2003-09-16 Angus Leeming <leeming@lyx.org>
1260 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1261 of support/textutils.h.
1262 (isWord): move the contents of support/textutils.h's IsWordChar here.
1268 * text2.C: add #include "paragraph.h".
1271 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1273 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1279 * LaTeX.C: use namespace alias for lyx::support::os
1281 2003-09-16 Angus Leeming <leeming@lyx.org>
1284 * bufferview_funcs.C:
1287 * paragraph_pimpl.C:
1289 * text.C: add #include "LColor.h".
1291 2003-09-16 Angus Leeming <leeming@lyx.org>
1293 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1294 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1296 Store the FontBits::color variable as an int rather than as an
1297 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1300 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1301 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1302 string calls together.
1304 * lyxrc.C: add #include "LColor.h".
1306 2003-09-15 Angus Leeming <leeming@lyx.org>
1308 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1311 2003-09-15 Angus Leeming <leeming@lyx.org>
1313 * LColor.h: add an EnumLColor wrapper for LColor::color.
1315 * lyxfont.[Ch] (color, setColor, realColor):
1316 * lyxtext.h, text.C (backgroundColor):
1317 pass EnumLColor args to/from the functions, rather than LColor::color
1321 * lyxtext.h: forward declare EnumLColor.
1323 * lyx_main.C: add #include "LColor.h".
1325 2003-09-15 Angus Leeming <leeming@lyx.org>
1327 * .cvsignore: add lyx-gtk.
1329 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1334 * ParagraphParameters.C
1338 * bufferview_funcs.C
1348 * vc-backend.C: remove usage of STRCONV
1350 2003-09-15 Angus Leeming <leeming@lyx.org>
1352 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1353 explicitly define the color passed to the painter.
1355 2003-09-15 Angus Leeming <leeming@lyx.org>
1357 * bufferparams.C (BufferParams): reorder member initializers to avoid
1360 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1362 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1363 * text.C (updateRowPositions): remove an unusual nop
1365 2003-09-12 André Pönitz <poenitz@gmx.net>
1367 * BufferView_pimpl.C:
1376 * Counters.[Ch]: finish the 'automatic counters' job
1378 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1380 * aspell.C: include <boost/assert.cpp> (compile fix)
1382 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1384 * boost.C (assertion_failed): use lyx::support::abort instead of
1387 2003-09-10 Angus Leeming <leeming@lyx.org>
1389 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1390 with their _fwd progeny.
1392 2003-09-09 Angus Leeming <leeming@lyx.org>
1394 134 files throughtout the source tree: replace 'using namespace abc;'
1395 directives with the appropriate 'using abc::xyz;' declarations.
1397 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1399 * boost.C (emergencyCleanup): moved here from LAssert.c
1400 (assertion_failed): new function, called by BOOST_ASSERT
1402 * several files: change Assert to BOOST_ASSERT
1404 2003-09-09 Angus Leeming <leeming@lyx.org>
1406 * buffer.[Ch]: Add an Impl class and move Buffer's member
1407 variables into it. As a result move several header files out of
1410 Add header files to lots of .C files all over the tree as a result.
1412 2003-09-09 Angus Leeming <leeming@lyx.org>
1414 * buffer.[Ch]: make Buffer's member variables private. Add
1417 Lots of changes all over the tree as a result.
1419 2003-09-08 Angus Leeming <leeming@lyx.org>
1421 * graph.C: #include <config.h>.
1423 2003-09-08 Angus Leeming <leeming@lyx.org>
1427 * BufferView_pimpl.C:
1456 * toc.C: remove redundant using directives.
1458 2003-09-07 Angus Leeming <leeming@lyx.org>
1460 * LaTeXFeatures.h: remove #include "support/types.h".
1461 * ToolbarBackend.h: remove #include <algorithm>.
1462 * changes.h: remove #include <ctime>.
1463 * debug.h: remove #include <iosfwd>.
1464 * graph.h: remove #include "support/std_string.h".
1465 * lyx_main.h: remove #include <csignal>.
1466 * lyxlex_pimpl.h: remove #include <fstream>.
1467 * sgml.h: remove #include <algorithm>, <utility>.
1468 * toc.h: remove #include "support/std_ostream.h".
1469 Add #include <iosfwd>.
1471 2003-09-07 Angus Leeming <leeming@lyx.org>
1473 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1475 * converter.h: forward declare LatexRunParams.
1476 * encoding.h: remove #include "lyxrc.h".
1477 * lyxtext.h: remove #include "LColor.h".
1478 * lyxtextclass.h: remove #include "support/types.h".
1479 * trans.h: remove #include "tex-accent.h".
1480 * trans_mgr.h: remove #include "tex-accent.h".
1481 * insets/inset.h: remove #include "support/types.h", <vector>.
1482 * insets/insetcollapsable.h: remove #include "LColor.h".
1483 * insets/insetinclude.h: remove #include "dimension.h".
1484 * insets/insetlatexaccent.h: remove #include "dimension.h".
1485 * insets/insetoptarg.h:: remove #include "insettext.h".
1486 * insets/insettext.h: remove #include "dimension.h",
1487 <boost/shared_ptr.hpp>
1489 * insets/renderers.h: add #include "dimension.h".
1490 * insets/updatableinset.h: add #include "support/types.h".
1492 * many .C files: Associated changes.
1494 2003-09-06 Angus Leeming <leeming@lyx.org>
1496 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1497 one, inside testInvariant.
1499 * PrinterParams.C: new file.
1500 * PrinterParams.[Ch]: move the function bodies out of line.
1502 2003-09-06 Angus Leeming <leeming@lyx.org>
1504 * ParagraphParameters.h: forward declare ParameterStruct rather than
1505 including its header file.
1506 (depth): moved out-of-line.
1508 2003-09-06 Angus Leeming <leeming@lyx.org>
1510 * BufferView_pimpl.h:
1513 * lyxfunc.h: forward declare LyXKeySym rather than
1514 #include "frontends/LyXKeySym.h".
1516 * BufferView_pimpl.C:
1519 * lyxfunc.C: associated changes.
1521 2003-09-06 Angus Leeming <leeming@lyx.org>
1523 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1524 As a result, can remove the #include "insets/inset.h" from BufferView.h
1526 2003-09-06 Angus Leeming <leeming@lyx.org>
1528 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1529 As a result, can remove the #include "insets/inset.h" from BufferView.h
1531 2003-09-06 Angus Leeming <leeming@lyx.org>
1537 * bufferview_funcs.C:
1538 * BufferView_pimpl.C:
1543 * ParagraphParameters.C:
1548 * frontends/controllers/ControlDocument.C:
1549 * insets/insetcaption.C: rearrange the #includes into some sort of
1552 * buffer.h: remove #includes ErrorList.h, undo.h
1554 2003-09-06 Angus Leeming <leeming@lyx.org>
1556 * support/types.h: add a 'depth_type' typedef, used to store the
1557 nesting depth of a paragraph.
1560 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1561 defining explicitly.
1564 * paragraph_funcs.h:
1565 * ParagraphParameters.h:
1566 * sgml.h: use lyx::depth_type rather than Paragraph or
1567 ParameterStruct's depth_type.
1570 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1573 * BufferView_pimpl.C:
1575 * ParagraphParameters.C:
1578 * bufferview_funcs.C:
1585 * frontends/LyXView.C:
1586 * frontends/controllers/ControlDocument.C:
1587 * frontends/controllers/ControlErrorList.C:
1588 * insets/insetbibitem.C:
1589 * insets/insetbranch.C:
1590 * insets/insetcaption.C:
1591 * insets/insetcollapsable.C:
1592 * insets/insetenv.C:
1593 * insets/insetert.C:
1594 * insets/insetfloat.C:
1595 * insets/insetfoot.C:
1596 * insets/insetfootlike.C:
1597 * insets/insetnewline.C:
1598 * insets/insetquotes.C:
1599 * insets/insettabular.C:
1600 * insets/insettext.C:
1601 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1603 * frontends/controllers/ControlChanges.C: #include "changes.h".
1605 2003-09-06 Angus Leeming <leeming@lyx.org>
1607 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1608 than #including paragraph.h.
1611 * RowList.h: deleted. Superfluous.
1621 * insets/insettext.h: use ParagraphList_fwd.h rather than
1624 * paragraph.h: don't forward declare ParagraphList.
1627 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1628 rather than ParagraphList.h. paragraph.h is still needed for the
1629 Paragraph::depth_type parameters.
1631 * textcursor.h: enable it to compile stand-alone in light of the
1634 * bufferview_funcs.C:
1646 * frontends/controllers/ControlParagraph.C:
1647 * frontends/controllers/ControlTabular.C:
1648 * insets/insetmarginal.C:
1649 * insets/insetminipage.C:
1650 * insets/insetnote.C:
1651 * insets/insetoptarg.C: add header files needed to compile again.
1653 2003-09-06 Angus Leeming <leeming@lyx.org>
1655 * RowList_fwd.h: new file, forward-declaring Row rather than
1656 #including lyxrow.h.
1661 * insets/insettext.h: use it instead of RowList.h
1663 * bufferview_funcs.C:
1670 * text3.C: #include "RowList.h".
1672 2003-09-05 Angus Leeming <leeming@lyx.org>
1674 * factory.C (createInset):
1675 * vspace.C (c-tor): replace sscanf call with an istringstream.
1676 * ispell.C: re-add missing HP/UX headers.
1677 * lyxserver.C: re-add missing os2 headers.
1679 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1688 * text3.C: re-add missing system headers, needed for 2.95.2.
1690 2003-09-05 Angus Leeming <leeming@lyx.org>
1692 Changes most place everywhere due to the removal of using directives
1693 from support/std_sstream.h.
1695 2003-09-05 Angus Leeming <leeming@lyx.org>
1697 Replace LString.h with support/std_string.h,
1698 Lsstream.h with support/std_sstream.h,
1699 support/LIstream.h with support/std_istream.h,
1700 support/LOstream.h with support/std_ostream.h.
1702 Changes resulting throughout the tree.
1704 2003-09-05 Angus Leeming <leeming@lyx.org>
1706 * sgml.h: ensure that the header file can be compiled stand-alone.
1707 * *.C: strip out redundant #includes. (320 in total.)
1709 2003-09-04 Angus Leeming <leeming@lyx.org>
1711 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1712 here (from getPackages).
1714 * debug.[Ch]: add a new EXTERNAL tag.
1716 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1718 * text2.C (cursorEnd): simplify
1720 (getColumnNearX): adjust
1722 * text.C (computeBidiTables): adjust
1725 * rowpainter.C (paintChars): adjust
1726 (paintSelection): adjust
1727 (paintChangeBar): adjust
1730 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1732 (numberOfSeparators): adjust
1734 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1740 * text3.C: Restricts the mouse click functionality
1741 of insets like bibtex, include, toc and floatlist to the visible
1742 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1743 up the dialogs. Cursor has to be in front of the inset (i.e.
1744 start of row) for this to function.
1746 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1748 * bufferview_funcs.C (currentState): output row information
1750 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1752 * bufferview_funcs.C (currentState): output paragraph position
1754 2003-09-04 Angus Leeming <leeming@lyx.org>
1756 * FloatList.h: move out #include "Floating.h".
1757 * LaTeX.h: move out #include "DepTable.h".
1758 * LyXAction.h: move out #include "funcrequest.h".
1759 * buffer.h: move out #include "author.h", "iterators.h".
1760 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1761 * lyx_main.h: move out #include "errorlist.h".
1762 * lyxfunc.h: move out #include "FuncStatus.h".
1763 * lyxtext: move out #include "lyxcursor.h".
1764 * paragraph_pimpl.h: move out #include "counters.h".
1766 2003-09-03 Angus Leeming <leeming@lyx.org>
1768 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1769 preamble_snippets list, enabling us to add snippets to the preamble
1770 only if the snippet was not there already.
1772 2003-09-04 Angus Leeming <leeming@lyx.org>
1774 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1776 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1778 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1781 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1783 * BranchList.C: point fix, earlier forgotten
1785 2003-09-02 Angus Leeming <leeming@lyx.org>
1787 * box.C (contains): renamed from 'contained' after a fantastic
1790 2003-09-02 John Levon <levon@movementarian.org>
1796 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1798 2003-09-02 John Levon <levon@movementarian.org>
1800 * text2.C: simplification of cursorEnd(), including partial
1803 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1805 * buffer.C (readFile): add a space
1807 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1809 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1811 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1813 * buffer.C (readFile): new function, take a filename and a
1814 ParagraphList::iterator
1816 (readFile): adjust, make it private. don't use setStream, make
1817 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1818 always contain the filename.
1820 * BufferView.C (insertLyXFile): simplify and make it work for
1823 2003-08-30 John Levon <levon@movementarian.org>
1825 * Makefile.am: fix dist (from Kayvan)
1827 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1829 * most files: change to use const Buffer refs
1831 2003-08-27 André Pönitz <poenitz@gmx.net>
1833 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1834 on top of ownerPar().
1836 2003-08-27 John Levon <levon@movementarian.org>
1838 * funcrequest.C: properly initialise POD members
1840 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1842 * lyxtext.h (top_y): move top_y from here
1847 * BufferView_pimpl.[Ch]: to here
1848 * frontends/screen.C:
1849 * insets/insettabular.C:
1850 * insets/insettext.C: adjust
1851 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1853 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1856 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1858 2003-08-26 André Pönitz <poenitz@gmx.net>
1860 * paragraph_func.[Ch] (outerPar): new function
1863 * paragraph_funcs.C:
1864 * paragraph_funcs.h:
1865 * paragraph_pimpl.C:
1866 * text2.C: remove Inset::par_owner
1868 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1873 * text2.C: eliminates the needFullRow/display() stuff
1874 altogether, putting the logic in metrics/draw in the insets.
1876 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1878 * text2.C (redoParagraphInternal, redoParagraphs):
1879 * text.C (redoParagraph): add a call to updateRowPositions at the
1880 end of each 'metrics-like' call. Remove all others.
1881 (getRow): remove the 'y-computing' version.
1882 (getRowNearY): do not compute nor return the real y. Solve the
1883 'y < 0' problem and simplify.
1885 2003-08-22 Angus Leeming <leeming@lyx.org>
1887 * *.[Ch]: clean-up of licence and author blurbs.
1888 Also move config.h out of a few .h files and into a few .C files.
1890 2003-08-22 André Pönitz <poenitz@gmx.net>
1892 * lyxrow.[Ch]: add x_ and *fill_ members
1897 * text2.C: adjust/remove prepareToPrint() calls
1899 2003-08-22 André Pönitz <poenitz@gmx.net>
1901 * lyxrow.[Ch]: add end_ member
1903 * lyxrow_funcs.C: use LyXRow::end_
1905 * lyxtext.h (singleWidth): add LyXFont parameter
1908 * text2.C: adjust LyXText::singleWidth() calls
1910 * text.C (redoParagraph): simplify row breaking logic
1913 2003-08-19 André Pönitz <poenitz@gmx.net>
1915 * funcrequest.C: initialize button_ member
1918 * rowpainter.[Ch]: interface consolidation
1920 2003-08-18 André Pönitz <poenitz@gmx.net>
1923 * BufferView_pimpl.C:
1925 * paragraph_funcs.C:
1927 * text3.C: remove LyXScreen::draw() and fitCursor calls
1929 * BranchList.h: remove spurious semicolons
1931 * MenuBackend.C: fix branchlist related crash
1933 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1941 * bufferparams.[Ch]:
1945 * text3.C: implements the 'branch inset'
1946 idea. This allows the output of various versions of a document
1947 from a single source version, selectively outputing or suppressing
1948 output of parts of the text.
1949 This implementation contains a 'branch list editor' in a separate
1950 tab of the document settings dialog. Branches are user definable
1951 and have a "display colour" to distinguish them on-screen.
1953 ColorHandler was somewhat cleaned up.
1954 (1) make possible a dynamically growing LColor list by allowing
1955 the graphic context cache to grow along (vector);
1956 (2) eliminate an IMHO unnecessary step in colour allocation.
1958 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1960 * BufferView_pimpl.C: compile fix
1962 2003-08-15 André Pönitz <poenitz@gmx.net>
1964 * rowpainter.C: remove extra metrics calls
1966 * lyxtext.h: merge the two constructors into a single one,
1967 pass reference to owner's par list
1969 * BufferView_pimpl.C:
1973 2003-08-15 André Pönitz <poenitz@gmx.net>
1975 * lyxrow_funcs.[Ch]:
1978 * paragraph_funcs.C:
1983 * text_funcs.C: split LyXText::rowlist_ into individual
1984 Paragraph::rows_ chunks
1987 * BufferView_pimpl.[Ch]:
1990 * text3.C: remove toggleSelection()
1992 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1994 * bufferlist.C: beautify two alerts (shorter text of buttons)
1995 * buffer.C: Remove redundant ' ' from message
1997 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1998 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1999 rename VALIGN_CENTER to VALIGN_MIDDLE
2001 2003-08-11 André Pönitz <poenitz@gmx.net>
2003 * lyxtext.h (getPar):
2004 * text.C: new function
2006 2003-08-11 André Pönitz <poenitz@gmx.net>
2009 * tracer.[Ch]: remove unneeded files
2011 * InsetList.[Ch]: remove resizeInsetsLyXText()
2016 * text3.C: merge insertParagraphs() and appendParagraph()
2017 remove breakAgain(), update()
2019 * BufferView_pimpl.[Ch]:
2020 * bufferview_funcs.[Ch]:
2024 * tabular.C: adjust after text & InsetList changes.
2026 2003-08-08 André Pönitz <poenitz@gmx.net>
2028 * text.C (insertChar, backspace): replace rowlist fiddling
2029 with rebreak of full par
2032 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2033 checkParagraph, updateInset): removed
2035 2003-08-07 André Pönitz <poenitz@gmx.net>
2038 * text3.C: merge some LFUN handlers, remove dead code
2040 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2042 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2044 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2046 * text2.C (DEPM): fix part of bug 1255 and 1256
2048 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2050 * BufferView_pimpl.C (workAreaDispatch): change to use
2051 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2052 that are no mouse related.
2054 2003-08-05 André Pönitz <poenitz@gmx.net>
2057 * BufferView_pimpl.[Ch]:
2058 * bufferview_funcs.C:
2060 * text3.C: rip out "deep update"
2062 * textcursor.[Ch] (last_sel_cursor): remove unused member
2064 2003-08-04 André Pönitz <poenitz@gmx.net>
2067 * BufferView_pimpl.[Ch]:
2068 * ParagraphParameters.C:
2069 * bufferview_funcs.C:
2075 * text3.C: replace "complicated" BufferView::update(...) calls with
2078 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2080 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2082 * Makefile.am (lyx_SOURCES): add paper.h
2084 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2086 * Makefile.am: move things around so that both lyx-qt and
2087 lyx-xforms can be built (according to --with-frontend). Then lyx
2088 is a symbolic link to lyx-[firstfrontend]
2090 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2092 * Always use std::endl with lyxerr
2094 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2096 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2098 2003-08-01 André Pönitz <poenitz@gmx.net>
2101 * BufferView_pimpl.[Ch]:
2103 * text3.C: merge BufferView::repaint() and BufferView::update()
2105 2003-08-01 José Matos <jamatos@lyx.org>
2107 * buffer.[Ch]: file_format is no longer a buffer data element.
2109 2003-08-01 André Pönitz <poenitz@gmx.net>
2114 * text2.C: make redoParagraph more independent of current cursor
2116 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2118 * text2.C: remove unneeded members
2120 2003-07-30 André Pönitz <poenitz@gmx.net>
2122 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2124 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2125 create a single function...
2127 * paragraph_funcs.C (moveItem): ... here.
2130 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2132 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2134 * LColor.[Ch]: Add comment and greyedout logical colors.
2136 2003-07-30 André Pönitz <poenitz@gmx.net>
2138 * tabular.C: don't use Assert too heavily. This crashes where it
2141 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2143 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2144 is disabled (bug 1232)
2146 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2148 * factory.C: limited 'arg' scope
2150 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2152 * factory.C: fixed Note submenu issues
2154 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2156 * factory.C: submenu for Note/Comment/Greyedout
2158 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2161 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2163 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2166 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2167 greyedout. Patch provided by Jürgen Spitzmüller.
2169 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2171 * kbmap.C (read): fix error message when reading bind files
2173 2003-07-29 Angus Leeming <leeming@lyx.org>
2175 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2176 certainly does not do what it purports to do. I am doing it, and
2177 us, a favour by killing it.
2179 2003-07-28 José Matos <jamatos@lyx.org>
2181 * buffer.C (readBody, do_writeFile):
2182 * paragraph.C(readParagraph): \end_document replaces \the_end.
2184 2003-07-29 André Pönitz <poenitz@gmx.net>
2187 * BufferView_pimpl.[Ch]:
2191 * textcursor.[Ch]: remove toggleToggle & Co
2193 2003-07-28 José Matos <jamatos@fep.up.pt>
2195 * buffer.C (readParagraph):
2196 * params_func (readParToken, readParagraph):
2197 * paragraph.C (write): \layout -> \begin_layout.
2199 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2201 * lyxlex_pimpl.C (setFile): clean up slightly.
2203 * bufferparams.h: add compressed var
2205 * buffer_funcs.C (readFile): adjust for LyXLex change
2206 (newFile): ditto + simplify
2208 * buffer.C (writeFile): handle writing of compressed files
2210 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2211 Check if the file is compressed and set a bufferparm if so.
2213 * Makefile.am (lyx_LDADD): remove explicit -lz
2215 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2217 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2218 makeDocBookFile): put the real LyX version in the first line of
2222 * version.C.in: remove lyx_docversion
2224 * tabular.C (write_attribute): add a template-based version to
2225 write enums properly
2227 2003-07-28 André Pönitz <poenitz@gmx.net>
2232 * text3.C: use doubles again for x-coordinates. They are needed.
2234 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2236 * messages.C (getLocaleDir): use lyx_localedir()
2238 * lyxlex_pimpl.C (setFile): compress stuff
2240 * buffer.C (writeFile): add some compression stuff
2241 (do_writeFile): new func, dont call expliti close... will this
2244 * Makefile.am (lyx_LDADD): add -lz
2246 2003-07-28 José Matos <jamatos@fep.up.pt>
2248 * buffer.C: increment file format.
2249 * paragraph_funcs (readParagraph, readParToken):
2250 * paragraph.C (readParagraph): add \end_layout.
2252 2003-07-27 Angus Leeming <leeming@lyx.org>
2254 * Makefile.am: remove special casing for configure-time setting of
2255 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2257 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2258 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2260 2003-07-26 André Pönitz <poenitz@gmx.net>
2262 * paragraph_func.[Ch]:
2263 * paragraph.C (realizeFont): inline it whereever it is used
2268 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2271 2003-07-26 André Pönitz <poenitz@gmx.net>
2275 * text2.C: get rid of LyXText::need_break_row
2277 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2279 * toc.[Ch]: put namespace toc inside namespace lyx
2281 * MenuBackend.C (expandToc2): adjust for lyx::toc
2284 * lyxfunc.C (dispatch): adjust for lyx::find
2286 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2287 lyx::find instead. Reorganize a bit.
2288 (LyXReplace): rename to replace
2289 (LyXFind): rename to find
2291 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2294 2003-07-26 André Pönitz <poenitz@gmx.net>
2296 * text.C (setHeightOfRow): restrict scope of temporary variable
2298 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2299 code (never has been used?)
2301 2003-07-27 Asger Alstrup <alstrup@local>
2303 * text.C (fill): Optimise algorithm to exploit that we can reuse
2304 the LyXFont for many characters.
2305 (setHeightOfRow): Same thing.
2306 (rowBreakPoint): Same thing.
2308 2003-07-26 Asger Alstrup <alstrup@local>
2310 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2312 * text.C (singleWidth): Spurious font copying in hot-spot
2313 singleWidth avoided. Reorder tests for arabic for efficiency.
2315 * text.C (fill): handle empty paragraphs better.
2317 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2320 * encoding.h: add includes
2322 * lyxrc.C: remove reading of bind files
2324 * lyx_main.C (init): setup bindings and menus only if we have a
2327 * kbmap.C (read): new method. Do the actual reading of bind
2330 * converter.C (dvipdfm_options):
2333 (output): adapt PAPER_* enums.
2335 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2337 * bufferparams.h: remove paper-related enums from there
2339 * paper.h: New file. A trivial header file to hold paper-related
2340 enums. It should later expand to contain many paper-related
2343 * lyxrc.C: declare extern displayTranslator
2345 2003-07-27 José Matos <jamatos@fep.up.pt>
2347 * tabular.[Ch] (linuxdoc): add support for tables and figures
2350 2003-07-27 José Matos <jamatos@fep.up.pt>
2352 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2353 consistency in both functions.
2354 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2356 2003-07-26 Asger Alstrup <alstrup@local>
2358 * rowpainter.C (paintRows): Change algorithm to work directly on
2359 the insets rather than asking every character in the document
2360 whether its an inset.
2362 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2364 * buffer.C (openFileWrite): factorize some code
2366 2003-07-26 Angus Leeming <leeming@lyx.org>
2369 * lyx_main.[Ch]: replace occurances of system_tempdir with
2372 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2374 * rename Inset to InsetOld
2376 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2378 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2379 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2380 which I think is a bit clearer. EDIT is gone, since it was
2381 premature optimisation, and broken for mathed anyway.
2382 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2383 with cursor positioning in insets as well (math insets still do not
2384 work, but that's a different story anyway.) It mysteriously
2385 crashes sometimes with undo in the first paragraph, but I'm fairly
2386 confident that this is a compiler bug.
2388 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2390 * paragraph.C (Paragraph): adjust for new clone return type
2392 (copyIntoMinibuffer): ditto
2394 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2396 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2397 by not having a special case, and always doing a full rebreak of
2398 the document after undo.
2400 2003-07-23 Angus Leeming <leeming@lyx.org>
2402 * factory.C (createInset): InsetExternal::setParams now takes a
2405 2003-07-23 Angus Leeming <leeming@lyx.org>
2407 * factory.C (createInset): changed interface to the external and
2408 graphics mailers' string2params functions.
2410 2003-07-23 Angus Leeming <leeming@lyx.org>
2412 * factory.C (createInset): pass a
2413 Buffer const * parameter to InsetExternalMailer's string2params.
2415 2003-07-22 John Levon <levon@movementarian.org>
2417 * Thesaurus.h: include the right aiksaurus header
2419 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2421 * MenuBackend.C (expand): check menu shortcuts unconditionally
2423 2003-07-21 Angus Leeming <leeming@lyx.org>
2425 * factory.C (createInset): pass a
2426 buffer_path parameter to InsetGraphicsMailer's string2params.
2428 2003-07-21 Angus Leeming <leeming@lyx.org>
2430 * BufferView_pimpl.C (buffer):
2433 * lyxfunc.C (dispatch):
2434 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2435 rather than the grfx shortcut.
2437 2003-07-21 André Pönitz <poenitz@gmx.net>
2439 * rowpainter.C: remove unused variables
2442 * tabular_funcs.h: move to tabular.C
2443 * Makefile.am: adjust
2445 * tabular.[Ch]: basic optical cleaning
2447 * author.h: pass references, not values
2449 2003-07-18 André Pönitz <poenitz@gmx.net>
2457 * text3.C: two-phase drawing for InsetText and InsetTabular
2458 some float -> int changes.
2460 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2462 * lyx_main.C: fix the fix
2464 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2466 * lyx_main.C: fix a crash in batch mode if no files specified
2469 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2471 * format.[Ch] (papersize): moved to BufferParams
2472 * converter.[Ch] (dvips_options): moved to BufferParams
2473 (dvipdfm_options): moved to anon namespace
2474 * bufferparams.[Ch]: added above functions.
2476 2003-07-17 André Pönitz <poenitz@gmx.net>
2480 * text2.C: don't call inset->update() anymore
2482 * metricsinfo.[Ch]: add convenience constructor
2484 2003-07-16 André Pönitz <poenitz@gmx.net>
2489 * text2.C: replace the LyXCursor::irow_ member with
2490 on-demand computation of the value
2492 2003-07-16 John Levon <levon@movementarian.org>
2494 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2496 2003-07-15 André Pönitz <poenitz@gmx.net>
2499 * text2.C: remove no more needed refresh_row
2501 2003-07-15 André Pönitz <poenitz@gmx.net>
2506 * text3.C: refresh_status tristate -> need_update bool
2508 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2510 * lyxtext.h (init): remove reinit argument (act as if always true)
2511 * text2.C: adjust to that
2513 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2515 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2516 * text3.C: use it to delete selections in some cases
2517 (bugs 441, 673, 702, 954).
2519 2003-07-14 André Pönitz <poenitz@gmx.net>
2521 * rowpainter.[Ch]: reduce interface
2523 2003-07-14 André Pönitz <poenitz@gmx.net>
2525 * BufferView_pimpl.C:
2526 * text2.C: adjust after removing unused BufferView * argument
2528 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2530 * text2.C (init): fix a crash fired on resize
2532 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2534 * buffer.[Ch]: added new closing signal
2535 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2536 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2537 BufferView::Pimpl via the closing the signal
2539 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2541 * buffer.[Ch]: take out all bv-related from buffer
2543 * BufferView_pimpl.[Ch]: connect to new signals
2544 * CutAndPaste.C: removed useless asserts
2545 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2548 * lyxfunc.C: moved view-related funciontality from vc here
2549 * paragraph.C: removed outdated comments
2552 2003-07-10 André Pönitz <poenitz@gmx.net>
2554 * BufferView_pimpl.C:
2558 * text2.C: remove InsetText::InnerCache, clean up consequences
2560 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2562 * ispell.C: fix two typos in error messages
2564 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2566 * Extend Note inset to other forms of annotation like Comment
2567 and Greyedout. Right button click gives dialog.
2569 Files modified or added (+):
2573 * ControlNote.[Ch] +
2575 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2576 frontends/controllers
2580 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2582 * aspell.C: add missing namespace lyx::support
2584 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2586 * BufferView.[Ch] (newFile): Add
2587 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2588 * LaTeX.[Ch] (message): added this signal and use it
2589 * buffer.[Ch] (busy, message): added these signals and use them
2590 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2594 * importer.C: use buffer signals instead of direct bv calling
2595 * lyx_cb.[Ch] (ShowMessage): removed
2598 * paragraph_funcs.C:
2599 * text2.C: use buffer signals
2601 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2603 * introduce namespace lyx::graphics
2605 2003-07-02 André Pönitz <poenitz@gmx.net>
2607 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2609 2003-07-01 André Pönitz <poenitz@gmx.net>
2616 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2617 text*.C to text_func.C
2619 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2621 * introduce namespace lyx::support
2623 2003-06-30 André Pönitz <poenitz@gmx.net>
2628 * text.C: re-enable --with-included-string
2630 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2632 * textcursor.C: add <config.h>
2634 * text.C (getWord): remove const from word_location arg
2636 * lyxvc.C (getLogFile): fix const type order
2638 * lyxtext.h: remove const from word_location arg, add arg name
2640 * lyxlayout.h: currect type on labeltype.
2642 * importer.C: correct \file
2644 * converter.C (intToFormat): use std:: on ret val, ws changes
2646 * bufferlist.h: correct \file
2648 * buffer.C (makeLinuxDocFile): fix const type order
2649 (makeDocBookFile): ditto
2650 (fillWithBibKeys): use std:: on stdlib args.
2652 * CutAndPaste.C: fix authors.
2653 (availableSelections): use std:: on return vector
2655 2003-06-27 André Pönitz <poenitz@gmx.net>
2657 * BufferView_pimpl.C:
2658 * bufferview_funcs.C:
2666 * text3.C: remove LyXCursor::row_ member
2669 * text.C: rename fullRebreak() to partialRebreak() and implement
2670 a fullRebreak() that really bereks fully
2672 * textcursor.h: new struct for cursor-related data
2674 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2676 * lyx_main.C (LyX): get full path of document loaded on the
2679 2003-06-26 André Pönitz <poenitz@gmx.net>
2681 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2682 remove unused/broken operator>,<,>=.
2684 * text.C: remove only use of broken operator<= in an Assert().
2686 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2688 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2689 moved errorlist_.clear to showErrorList
2691 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2693 * converter.C (scanLog, runLaTeX):
2694 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2695 move the bv->showErrorList call to the callers
2696 * lyxfunc.C: i.e. here...
2698 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2699 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2700 namespace, the second to...
2701 * buffer_funcs (BufferFormat, parseErrors): added
2702 * errorlist.C (ErrorList(TeXErrors const &)): removed
2704 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2706 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2708 2003-06-24 "Garst R. Reese" <reese@isn.net>
2712 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2714 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2716 * version.C.in: change docversion to 1.4
2718 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2720 * buffer.C: fix a bug just introduced
2722 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2724 * buffer.[Ch]: added the parseError signal and use it, removed
2726 * BufferView.[Ch] (addError): moved to ...
2727 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2728 to the Buffer::parseError signal to catch (guess what) parse errors
2729 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2731 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2733 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2734 ability to create a buffer and to return an existing one from
2735 the list. Moved these functions to...
2736 * buffer_funcs.[Ch]: added
2737 * BufferView.[Ch] (loadLyXFile): added
2738 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2739 job removed from bufferlist::loadLyXFile.
2740 * buffer.C (setReadOnly): make it work without view
2741 (i.e added an if (users))
2743 2003-06-19 Angus Leeming <leeming@lyx.org>
2746 * LyXAction.C (init):
2747 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2748 with LFUN_DIALOG_SHOW <name> <data>.
2750 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2752 * CutAndPaste.C (availableSelections): small compilation fix for
2753 ancient (gcc 2.9x) compilers
2755 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2757 * text3.C (cursorNext): add tmp var
2759 * text2.C (updateCounters): for function calling out of for clause
2760 (replaceSelectionWithString): ditto
2761 (insertStringAsParagraphs): ditto
2762 (getColumnNearX): add tmp var
2763 (setCursorFromCoordinates): add tmp var
2764 (cursorDownParagraph): add tmp var
2765 (deleteEmptyParagraphMechanism): add tmp var
2767 * text.C (insertChar): add tmp var
2769 * rowpainter.C (paintDepthBar): add tmp var
2771 * CutAndPaste.C (availableSelections): potentially check all
2772 paragraphs in a cut to fill the shown strings.
2774 2003-06-18 André Pönitz <poenitz@gmx.net>
2776 * kbmap.[Ch]: use vector<> instead of list<>
2778 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2780 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2781 pasteSelection with index
2783 * text2.C (pasteSelection): modify, call pasteSelection with index
2785 * paragraph.C (asString): reimplement version with no interval to
2786 call the one with interval.
2788 * lyxtext.h: add index arg to pasteSelection
2790 * MenuBackend.C (MenuItem): handle PasteRecent
2791 (Menu::read::Menutags): add md_pasterecent
2793 (expandPasteRecent): new function
2796 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2798 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2800 (availableSelections): new function
2802 2003-06-17 Angus Leeming <leeming@lyx.org>
2804 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2806 2003-06-17 Angus Leeming <leeming@lyx.org>
2809 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2811 * lyxfunc.C (dispatch): invoke it.
2813 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2815 * iterators.C (operator++, ParPosition): reintroduce some
2816 const_cast for the benefit of older compilers.
2818 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2820 * text3.C (dispatch): do not modify clipboard when doing
2821 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2822 LFUN_DELETE_SKIP on a selection selection
2824 2003-06-16 André Pönitz <poenitz@gmx.net>
2830 * tabular.[Ch]: IU of clone() and getLabelList();
2832 2003-06-13 André Pönitz <poenitz@gmx.net>
2834 * tabular.h: compactification
2836 2003-06-12 André Pönitz <poenitz@gmx.net>
2840 * tabular_funcs.h: some renaming plus whitespace
2842 2003-06-12 André Pönitz <poenitz@gmx.net>
2845 * BufferView_pimpl.C:
2851 * toc.C: Return a Paragraph & for ParIterator::operator*()
2853 2003-06-11 John Levon <levon@movementarian.org>
2857 * ToolbarBackend.C: add "Toolbars" section and
2860 2003-06-10 Angus Leeming <leeming@lyx.org>
2863 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2865 * lyxfunc.C (dispatch): invoke it.
2867 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2869 * main.C: protect <ios> with HAVE_IOS
2870 (main): protect sync_with_stdio with HAVE_IOS
2872 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2874 * text2.C (cutSelection): adjust
2875 (pasteSelection): adjust
2877 * messages.C: handle get of empty string
2879 * main.C (main): use sync_with_stdio(false)
2881 * lyxfunc.C (dispatch): adjust
2883 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2884 (WriteAs): remove unneeded BufferView arg.
2886 * bufferparams.h: use correct types on papersize, papersize2 and
2889 * bufferparams.C (readToken): adjust for type
2890 (writeLaTeX): add missing cases to switch.
2892 * bufferlist.C (quitWriteBuffer): adjust
2895 * buffer.C (asciiParagraph): remove some commented code.
2897 * CutAndPaste.C: remove current_view extern variable.
2898 (cutSelection): add BufferParams arg.
2899 (eraseSelection): add BufferParams arg.
2900 (pasteSelection): add Buffer const & arg
2902 2003-06-07 John Levon <levon@movementarian.org>
2905 * paragraph_funcs.C:
2906 * paragraph_pimpl.C:
2910 * paragraph.C: allow InsetERT to freely space lines,
2911 and some consolidation of code
2913 2003-06-06 José Matos <jamatos@fep.up.pt>
2915 * buffer.C (makeDocBookFile): fix bug #821
2917 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2919 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2921 2003-06-04 Angus Leeming <leeming@lyx.org>
2923 * buffer.C: bump format to 224.
2925 2003-06-05 André Pönitz <poenitz@gmx.net>
2927 * text2.C (redoParagraphs): remove two const_cast<>
2929 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2931 * ParagraphList.h: remove last remnants of NO_STD_LIST
2933 2003-06-03 Angus Leeming <leeming@lyx.org>
2935 * factory.C (createInset): small change to the way InsetExternal's params
2938 2003-06-04 André Pönitz <poenitz@gmx.net>
2940 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2942 * paragraph_pimpl.h:
2943 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2945 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2947 * undo_funcs.C: make some simple cases of undo work again
2949 2003-06-03 John Levon <levon@movementarian.org>
2951 * ispell.C: HPUX doesn't have sys/select.h
2954 2003-06-03 John Levon <levon@movementarian.org>
2956 * CutAndPaste.C: update tabular and include inset
2961 * paragraph.C: remove owningBuffer(), don't pass Buffer
2964 * factory.C: insetGraphicsParams changed
2966 2003-06-02 John Levon <levon@movementarian.org>
2972 * text3.C: remove insetparent
2974 2003-06-02 John Levon <levon@movementarian.org>
2977 * buffer.C: fix inset_iterator.end(), move out of line
2980 2003-06-01 John Levon <levon@movementarian.org>
2982 * text3.C: use a proper cut/paste when doing inset
2983 insert (from Jürgen Spitzmüller)
2985 2003-06-01 John Levon <levon@movementarian.org>
2987 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2989 2003-05-30 André Pönitz <poenitz@gmx.net>
2991 * rowpainter.C: unify second drawing phase
2993 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2995 * trans_mgr.C: remove one case of current_view
2997 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2999 * paragraph_funcs.h: remove paragraph.h include
3001 * paragraph.h: delete NO_STD_LIST stuff
3003 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3005 * buffer.h: remove paragraph.h include
3007 * ParagraphList.C: delete file
3009 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3011 * toc.C (getTocList): adjust
3013 * paragraph_pimpl.C (validate): adjust
3015 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3017 * paragraph.C (Paragraph): adjust
3018 (getPositionOfInset): use const_iterator, adjust
3019 (bibitem): use const_iterator, adjust
3020 (setInsetOwner): adjust
3022 * iterators.C (operator++): adjust
3024 * InsetList.[Ch]: Replace selfmade iterator with standard
3025 vector::iterator also introduce const_iterator. Remove getPos,
3026 getInset and setInset from InsetTable. Adjust accordingly.
3028 * BufferView.C (lockInset): adjust
3029 (ChangeInsets): adjust
3031 * tabular.[Ch]: delete commented same_id functions
3033 2003-05-28 John Levon <levon@movementarian.org>
3035 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3037 2003-05-28 André Pönitz <poenitz@gmx.net>
3039 * metricsinfo.[Ch]: remove 'fullredraw' member
3041 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3043 * lyxtextclass.C (operator): remove caching.
3045 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3049 * text2.C (cursorBottom): adjust
3050 (setCounter): use ParagraphList::find, adjust
3052 * text.C (workWidth): use ParagraphList::find, adjust
3054 * lyxcursor.C (LyXCursor): adjust
3056 * buffer.C (inset_iterator): adjust
3058 * ParagraphList.h: make iterator(value_type) private, make
3059 ParagraphList a friend of iterator.
3061 * ParagraphList.C (find): new function
3063 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3065 2003-05-27 André Pönitz <poenitz@gmx.net>
3067 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3069 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3071 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3073 2003-05-26 John Levon <levon@movementarian.org>
3075 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3077 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3079 * remove same_id from function signatures, adjust.
3081 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3083 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3085 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3087 * paragraph.C (Paragraph): get rid of same_ids parameter
3089 * ParagraphList.C (insert): adjust
3092 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3094 * paragraph_funcs.C (breakParagraph): adjust
3095 (breakParagraphConservative): adjust
3097 * buffer.C (readParagraph): adjust
3099 * ParagraphList.C (insert): take a reference instead of a pointer
3102 * paragraph.[Ch] (id): new function
3104 * bufferlist.C (newFile): adjust
3106 * ParagraphList.C (ParagraphList): adjust
3108 (push_back): take a reference instead of a pointer.
3110 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3112 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3115 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3116 set else use old code.
3118 * ParagraphList.C: remove all NO_NEXT code and only compile this
3119 code of NO_STD_LIST is set.
3121 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3123 * BufferView_pimpl.C:
3133 * graphics/GraphicsConverter.C:
3134 * graphics/PreviewLoader.C: header adjustment
3136 2003-05-23 Angus Leeming <leeming@lyx.org>
3138 * LaTeXFeatures.[Ch] (useBabel): new method.
3139 * bufferparams.C (writeLaTeX): use it.
3141 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3143 * ParagraphList.h (set): remove unused function.
3145 2003-05-23 André Pönitz <poenitz@gmx.net>
3148 * BufferView_pimpl.C:
3152 * undo_funcs.C: setUndo reworked
3154 * iterators.[Ch]: add access to topmost ParagraphList
3156 * lyxtext.[Ch] (workWidth): add a const
3158 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3160 * texrow.[Ch] (increasePos): remove function
3161 * exporter.C (export): removed unused var and outdated comment
3163 2003-05-23 Angus Leeming <leeming@lyx.org>
3165 * latexrunparams.h: rename fragile as moving_arg.
3166 * paragraph.C (simpleTeXOnePar): ditto.
3167 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3169 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3171 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3173 (textUndoOrRedo): comment out a currently unused var.
3175 * paragraph.h (NO_NEXT): enable NO_NEXT
3177 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3179 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3181 * exporter.C (Export): adjust for removeAutoInsets removal.
3183 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3185 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3187 * BufferView.[Ch] (removeAutoInsets): delete function
3189 2003-05-22 Angus Leeming <leeming@lyx.org>
3191 * latexrunparams.h: add a free_spacing variable.
3193 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3194 to pass moving_arg, as the data is stored in runparams.fragile.
3196 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3197 to Inset::latexOptional or to simpleTeXOnePar.
3199 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3200 free_spacing arg to Inset::latexOptional.
3202 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3205 2003-05-22 Angus Leeming <leeming@lyx.org>
3207 * latexrunparams.h: add fragile and use_babel variables.
3209 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3210 * buffer.C (makeLaTeXFile): store this returned value in
3211 runparams.use_babel, thus passing it to the inset::latex methods.
3213 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3214 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3216 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3217 longer has a fragile arg, as it is stored in runparams.fragile.
3219 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3220 moving_arg parameter as the data is stored in runparams.fragile.
3222 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3223 a fragile parameter as the data is stored in runparams.fragile.
3225 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3227 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3229 2003-05-22 Angus Leeming <leeming@lyx.org>
3231 * latexrunparams.h: add a 'bool nice' which defaults to false.
3233 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3234 now encapsulated within runparams.
3236 * bufferlist.C (updateIncludedTeXfiles):
3237 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3239 2003-05-22 Angus Leeming <leeming@lyx.org>
3241 * latexrunparams.h: new file containing struct LatexRunParams.
3242 * Makefile.am: add new file.
3244 * LaTeX.[Ch] (c-tor, run):
3245 * buffer.[Ch] (makeLaTeXFile):
3246 * bufferlist.[Ch] (updateIncludedTeXfiles):
3247 * converter.C (convert, scanLog):
3248 * converter.[Ch] (runLaTeX):
3249 * exporter.C (Export):
3250 * paragraph.[Ch] (simpleTeXOnePar):
3251 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3252 * paragraph_funcs.[Ch] (latexParagraphs):
3253 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3254 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3255 pass around a LatexRunParams parameter.
3257 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3259 * paragraph.[Ch]: remove unused constructor
3261 * ParagraphList.C (erase): new function, taking two iterators
3263 2003-05-22 André Pönitz <poenitz@gmx.net>
3265 * undo_funcs.C: remove duplicated code
3267 * iterator.[Ch]: operator=
3269 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3271 * tabular.C (SetMultiColumn): ws changes
3273 * rowpainter.C (paintFirst): get rid of a ->previous
3275 * lyx_cb.C (getPossibleLabel): parlist simplification
3277 * BufferView.C (ChangeInsets): simplify slightly.
3279 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3281 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3282 * lfuns.h: new LFUN_SPACE
3283 * lyxfunc.C: protected space has a new lfun
3284 * paragraph_funcs.C: read new space insets
3286 * factory.C: handle new space insets
3288 2003-05-22 André Pönitz <poenitz@gmx.net>
3291 * BufferView_pimpl.C:
3294 * undo_funcs.C: return a ParIterator from getParFromID.
3296 * iterators.[Ch]: add two const's
3298 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3300 * toc.C (getTocList): adjust
3302 * iterators.[Ch]: rework for parlist
3304 * buffer.C (par_iterator_begin): adjust
3305 (par_iterator_end): adjust
3307 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3309 * BufferView.C (removeAutoInsets): adjust
3310 (ChangeInsets): adjust
3312 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3314 * text.C (top_y): fix bug 1110
3316 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3318 * errorlist.[Ch]: added
3321 * BufferView_pimpl.C:
3322 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3325 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3327 * Makefile.am: ensure that lyx is relinked upon changes to the
3328 various "convenience" libs.
3330 2003-05-20 Angus Leeming <leeming@lyx.org>
3332 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3333 files are compiled in alphabetical order again.
3335 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3337 2003-05-19 Angus Leeming <leeming@lyx.org>
3339 * gettext.[Ch]: remove "char const * _(char const *)".
3341 2003-05-19 André Pönitz <poenitz@gmx.net>
3343 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3352 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3354 2003-05-19 André Pönitz <poenitz@gmx.net>
3358 * lyxtextclass.[Ch]:
3360 * paragraph_funcs.[Ch]:
3362 * text3.C: more insetenv work
3364 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3366 * ParagraphParameters.C (params2string): small bug fixed
3368 2003-05-16 André Pönitz <poenitz@gmx.net>
3371 * bufferview_funcs.C: patch from Kornel Benko to prevent
3372 crash when _(...) is called twice in a statement
3374 2003-05-16 André Pönitz <poenitz@gmx.net>
3381 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3383 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3385 * lyx_main.C (init): remove spurious static_cast
3387 2003-05-14 André Pönitz <poenitz@gmx.net>
3389 * BufferView.C: fix format string
3391 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3393 * BufferView.[Ch] (insertErrors): removed
3394 * BufferView.[Ch] (showErrorList): added
3395 * buffer.C (runChkTeX):
3396 * converter.C (scanLog): call showErrorList instead of inserterrors
3398 2003-05-13 André Pönitz <poenitz@gmx.net>
3400 * BufferView_pimpl.C:
3402 * bufferview_func.C:
3409 * tabular_funcs.h: tostr() from its own header
3411 * ParagraphParameters.C:
3416 * text3.C: STRCONV()
3418 2003-05-12 André Pönitz <poenitz@gmx.net>
3421 * BufferView_pimpl.C:
3425 * ParagraphParameters.C:
3429 * bufferview_funcs.C:
3442 * paragraph_funcs.C:
3446 * text3.C: boost::format -> bformat all over the place
3449 2003-05-09 André Pönitz <poenitz@gmx.net>
3451 * LColor.[Ch]: Pimpl the #include <map> away
3453 2003-05-09 John Levon <levon@movementarian.org>
3455 * bufferlist.C: never remove emergency saves
3457 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3459 * Makefile.am: better lib building
3461 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3463 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3465 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3466 (simpleTeXSpecialChars): adjust
3467 (simpleTeXSpecialChars): adjust
3468 * paragraph.C (simpleTeXOnePar): adjust
3469 * buffer.C (makeLaTeXFile): adjust
3471 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3473 * text2.C (changeDepth): parlist cleanup
3474 (getColumnNearX): ditto
3476 * rowpainter.C (getLabelFont): parlist cleanup
3478 * bufferlist.C (newFile): parlist cleanup
3480 * CutAndPaste.C (eraseSelection): parlist cleanup
3482 * BufferView_pimpl.C (trackChanges): parlist cleanup
3485 * BufferView.C (lockInset): parlist cleanup.
3486 (ChangeInsets): ditto
3488 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3490 * CutAndPaste.h: Update file header.
3492 * CutAndPaste.C: Update file header.
3493 Store the parts cut out of the Document in a limited_stack.
3494 (copySelection): adjust
3495 (pasteSelection): new function, takes the index in the limited stack.
3496 (nrOfParagraphs): adjust
3497 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3498 simplify error inset insertion.
3499 (checkPastePossible): adjust
3501 2003-05-06 John Levon <levon@movementarian.org>
3503 * text2.C: don't cast wrap inset to float
3505 2003-05-05 André Pönitz <poenitz@gmx.net>
3508 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3510 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3511 few naked Paragraph *.
3513 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3515 * bufferparams.C: Output warning if a document with missing
3516 TeX document class is loaded
3517 * exporter.C: Disable TeX exports if the document class is missing
3520 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3521 isTeXClassAvailable()
3523 2003-05-03 John Levon <levon@movementarian.org>
3526 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3527 explicit cursor show/hide
3529 * BufferView_pimpl.h:
3530 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3531 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3533 * lyxfunc.C: hide cursor before dispatching.
3538 * text3.C: remove explicit cursor hides
3540 2003-05-02 André Pönitz <poenitz@gmx.net>
3542 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3545 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3548 * text2.C: tiny whitespace
3550 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3552 * undo_funcs.C: almost only ws changes.
3554 * ParagraphList.C (splice): just return if pl is empty.
3556 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3558 * ParagraphList.C (splice): new function.
3560 * CutAndPaste.C (pasteSelection): use it
3562 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3564 * CutAndPaste.C (pasteSelection): remove the last next and
3565 previous from this file.
3567 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3569 * CutAndPaste.C (pasteSelection): more clean up, user proper
3570 ParagraphList functions for pasteing.
3572 * ParagraphList.C (insert): new function, three arg insert
3574 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3576 * ParagraphList.C (insert): new function, three arg insert
3578 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3581 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3583 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3585 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3587 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3589 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3591 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3592 (copySelection): clean up a bit.
3593 (pasteSelection): use make_pair
3595 * ParagraphList.C (ParagraphList): implement copy constructor
3596 (operator=): implement, base on copy constructor.
3599 * paragraph.C (erase): return a bool
3601 * paragraph_pimpl.C (erasePos): remove function, move contents...
3602 (erase): ... here. Return a bool.
3603 (erase): call erase instead of erasePos.
3605 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3607 * ParagraphList.h: define PitPosPair
3608 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3609 ParagraphList, fix a bug on pasting multiple pars
3610 * text2.C: change interface to C&P
3612 2003-04-30 André Pönitz <poenitz@gmx.net>
3614 * undo_func.C: revert part of yesterday's patch 2
3616 2003-04-30 John Levon <levon@movementarian.org>
3618 * LColor.C: s/tabular/table/
3620 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3622 * text3.C (dispatch): do not convert iterator -> pointer
3623 * undo_funcs.C (setCursorParUndo): ditto
3624 * text_funcs.C (transposeChars): ditto
3626 * text2.C (setLayout): ws changes only
3628 * text.C (breakParagraph): do not convert iterator -> pointer
3630 (acceptChange): ditto
3631 (rejectChange): ditto
3636 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3639 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3641 * text3.C (gotoInset): YABG (yet another bad getChar)
3643 2003-04-29 André Pönitz <poenitz@gmx.net>
3645 * paragraph.h: make operator= private unimplemented as long as
3648 * ParagraphList.C: whitespace
3651 * paragraph_pimpl.[Ch]:
3652 * paragraph_funcs.C:
3654 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3657 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3659 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3661 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3662 * paragraph.[Ch] (erase):
3663 * paragraph_pimpl.[Ch] (erase): change return type and value
3664 * text2.C (cutSelection): some rework
3666 2003-04-28 John Levon <levon@movementarian.org>
3668 * bufferlist.C: changes for unsaved changes dialog
3670 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3672 * bufferlist.C (newFile): set language (messages_) for new
3675 * buffer.C (readFile): ws changes only.
3677 2003-04-28 André Pönitz <poenitz@gmx.net>
3682 * BufferView_pimpl.C:
3683 * BufferView.C: getParFromID related ParagraphList::iterator changes
3685 2003-04-28 André Pönitz <poenitz@gmx.net>
3687 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3690 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3692 * messages.C: remove one more localedir class variable.
3694 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3696 * messages.C (getLocaleDir): singleton generation function
3698 (Messages): add a default constructor.
3700 * main.C (main): do not setup localedir here, do not call
3703 * gettext.C (_): use it.
3704 (gettext_init): delete funciton
3706 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3708 * gettext.C (getLyXMessages): new singleton generating function.
3710 * buffer.C (updateDocLang): adjust
3712 * Makefile.am (messages.o): add target
3713 (main.o): remove target
3715 2003-04-27 John Levon <levon@movementarian.org>
3720 * lyxvc.C: specify cancel button in Alert::prompt
3722 2003-04-26 John Levon <levon@movementarian.org>
3727 * LyXAction.C: add LFUN_INSET_SETTINGS
3729 * lyxfunc.C: don't enable tabular-feature when there's
3730 just any locking inset
3732 2003-04-26 John Levon <levon@movementarian.org>
3734 * bufferlist.C: re-add Cancel to buffer close question
3736 * lyxfunc.C: fix import UI a bit
3738 2003-04-25 John Levon <levon@movementarian.org>
3740 * gettext.C: remove the broken asserts for now
3742 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3744 * messages.C: make case where setlocale cannot comply work better.
3746 * buffer.C (updateDocLang): new function
3747 (changeLanguage): use it
3750 * text2.C (setCounter): use B_ a bit.
3752 * lyxlayout.C (Read): be sure to trim the label strings.
3754 * messages.C (Messages): fix typo in comment
3756 * buffer.C (readFile): set message_ after file is loaded.
3757 (makeDocBookFile): remove double return
3758 (changeLanguage): reset message_ upon language change.
3759 (B_): new func, use this to get translated buffer strings.
3761 * main.C: add myself and Jean Marc as authors.
3763 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3765 * messages.[hC]: pimplify Messages, and three different pimpls to be
3766 used in different circumstances.
3768 * gettext.[Ch]: change for use with new message code.
3770 2003-04-24 André Pönitz <poenitz@gmx.net>
3772 * factory.C: support for eqref
3774 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3776 * messages.[Ch]: add missing char
3778 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3780 * messages.[Ch]: New files
3782 2003-04-18 John Levon <levon@movementarian.org>
3786 * BufferView_pimpl.C:
3790 * text2.C: remove layout-copy/paste (bug 778)
3792 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3794 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3796 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3798 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3799 if they succeed. Act accordingly.
3801 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3803 * text2.C (setCharFont): adjust
3804 (setCounter): adjust
3805 (insertStringAsLines): adjust
3807 * text.C (leftMargin): adjust
3808 (setHeightOfRow): adjust
3810 * rowpainter.C (paintFirst): adjust
3813 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3815 (isFirstInSequence): ditto
3816 (getEndLabel): ditto
3819 * paragraph.C (getParLanguage): comment out some hard stuff.
3821 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3823 (simpleDocBookOnePar): ditto
3824 (makeDocBookFile): use ParagraphList::iterator
3826 * CutAndPaste.C (pasteSelection): adjust
3828 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3830 * text2.C (getFont): adjust
3831 (getLayoutFont): adjust
3832 (getLabelFont): adjust
3834 * paragraph_funcs.C (TeXOnePar): adjust
3836 * buffer.C (simpleLinuxDocOnePar): adjust
3837 (simpleDocBookOnePar): adjust
3839 * CutAndPaste.C (pasteSelection): adjust
3841 * BufferView.C (getEncoding): adjust
3843 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3845 2003-04-16 John Levon <levon@movementarian.org>
3847 * lyxfind.C: use parlist stuff for search/changes
3849 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3851 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3853 * text2.C (deleteEmptyParagraphMechanism): adjust
3855 * text2.[Ch] (ownerParagraph): delete func (both of them
3857 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3859 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3861 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3863 * ParagraphList.C: prepare for NO_NEXT
3865 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3867 * text2.C (getFont): adjust
3868 (getLayoutFont): adjust
3869 (getLabelFont): adjust
3871 * paragraph.C (getFont): adjust
3872 (getLabelFont): adjust
3873 (getLayoutFont): adjust
3875 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3877 2003-04-15 John Levon <levon@movementarian.org>
3881 * lyx_main.C: handle Include in .ui files
3883 2003-04-15 John Levon <levon@movementarian.org>
3885 * MenuBackend.C: make the doc files length shorter
3888 * ToolbarBackend.C: handle toolbar placement flags,
3891 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3893 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3896 * paragraph_funcs.C (TeXOnePar): adjust
3898 * paragraph.C (getLabelFont): add outerfont arg, adjust
3899 (getLayoutFont): ditto
3900 (simpleTeXOnePar): adjust
3902 * paragraph_pimpl.C (realizeFont): delete func
3904 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3906 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3907 row argument, constify cur argument.
3909 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3911 * text2.C (getFont): adjust
3912 (getLayoutFont): adjust
3913 (getLabelFont): adjust
3915 * paragraph_funcs.C (TeXOnePar): adjust
3916 (outerFont): new func...
3917 (realizeFont): ...moved out from here, changed this to facilitate
3920 * paragraph.C (getFont): take outerfont as arg, adjust
3921 (simpleTeXOnePar): add outerfont arg, adjust
3923 * buffer.C (simpleLinuxDocOnePar): adjust
3924 (simpleDocBookOnePar): adjust
3926 * CutAndPaste.C (pasteSelection): adjust
3928 * BufferView.C (getEncoding): adjust
3930 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3932 * text2.C (setCharFont): adjust
3933 (setCounter): adjust
3935 * text.C (leftMargin): adjust
3936 (setHeightOfRow): adjust
3938 * rowpainter.C (paintFirst): adjust
3941 * paragraph_pimpl.C (realizeFont): adjust
3943 * paragraph.C (isFirstInSequence): move from here...
3944 * paragraph_funcs.C (isFirstInSequence): ...to here
3946 * paragraph.C (outerHook): move from here...
3947 * paragraph_funcs.C (outerHook): ...to here
3949 * paragraph.C (depthHook): move from here...
3950 * paragraph_funcs.C (depthHook): ...to here
3952 * paragraph.C (getEndLabel): move from here...
3953 * paragraph_funcs.C (getEndLabel): ...to here
3955 * text2.C (realizeFont): move from here...
3956 * paragraph_funcs.C (realizeFont): ...to here
3958 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3960 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3962 2003-04-14 Angus Leeming <leeming@lyx.org>
3964 * LColor.[Ch]: scrap LColor mathcursor.
3966 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3968 * lyxlex.[Ch] (text): delete function
3969 * trans.C (Load): adjust
3970 * paragraph_funcs.C (readParToken): adjust
3972 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3974 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3975 vector<char> instead of a char[].
3977 * lyxlex_pimpl.C (getString): adjust
3979 (lex): use getString
3983 * lyxlex.C (text): use pimpl_->getString()
3987 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3989 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3990 (makeFontEntriesLayoutSpecific): temp var for par.size()
3991 (setLayout): temp var for ownerParagraphs().end()
3992 (fullRebreak): temp var for rows().end()
3993 (selectionAsString): temp var for boost::next(startpit), realize
3994 that the while really is a regular for loop.
3995 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3996 setCursor in one place.
3997 (setParagraph): temp vr for ownerParagraphs().end()
3998 (updateCounters): make the while loop a for loop
3999 (cutSelection): temp var for ownerParagraphs().end()
4000 (updateInset): make the do {} while() a regular for loop
4001 (getCursorX): use temp vars
4002 (setCurrentFont): use temp vars
4003 (getColumnNearX): use temp vars
4005 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4007 * text.C (transformChar): use temp var for getChar
4008 (computeBidiTables): use temp var for row->par()
4009 (fill): move temp vars for row->par() and pit->layout() earlier in
4011 (labelFill): use temp var for row->par()
4012 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4013 asc and desc, realize that pit never changes and that firstpit is
4014 just a duplicate and not needed. Exchange rit->par() with pit in a
4016 (breakAgain): use a temp var for boost::next(rit)
4017 (breakAgainOneRow): ditto
4018 (breakParagraph): use a temp var for rows().begin()
4019 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4020 (cursorRightOneWord): use temp var for cursor.par() and
4021 cursor.pos(), remove usage of tmpcursor.
4022 (cursorLeftOneWord): use temp var for cursor.par() and
4023 cursor.pos() only set cur at end of function.
4025 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4027 * text.C, text2.C: exchange all usage of Paragraph::next with
4028 boost::next(ParagraphList::iterator)
4030 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4032 * text2.C (cursorTop): simplify implementation
4033 (cursorBottom): ditto
4034 (setParagraph): use ParagraphList::iterator
4035 (setCurrentFont): adjust
4036 (getColumnNearX): adjust
4037 (cursorRight): adjust
4038 (cursorLeft): remove usage of Paragraph::previous
4039 (cursorUpParagraph): ditto
4040 (deleteEmptyParagraphMechanism): slight cleanup
4042 * text.C (isBoundary): take a Paragraph const & instead of a
4044 (addressBreakPoint): ditto
4045 (leftMargin): remove usage of Paragraph::previous.
4046 (setHeightOfRow): ditto
4047 (cursorLeftOneWord): ditto
4048 (selectNextWordToSpellcheck): ditto
4051 (breakParagraph): remove one usage of Paragraph::next
4052 (redoParagraph): ditto
4053 (acceptChange): ditto
4054 (insertChar): adjust
4055 (rowBreakPoint): adjust
4057 * bufferview_funcs.C (toggleAndShow): adjust
4059 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4061 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4062 methods to access it.
4064 * text.C: Added updateRowPositions to compute all row positions.
4065 Make top_y and getRowNearY() to use the cached y position
4067 2003-04-11 John Levon <levon@movementarian.org>
4069 * text.C (rowBreakPoint): reintroduce the labelEnd
4070 checks, code copied from the row fill stuff. Deep voodoo.
4072 * text.C (fill): add a comment and debugging for the
4075 2003-04-11 John Levon <levon@movementarian.org>
4077 * text.C: make sure fullrow insets get wrapped to the next line,
4078 even when they're in a manual label
4080 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4082 * text2.C (insertParagraph): make it take ParagraphList::iterator
4084 (setLayout): make it return ParagraphList::iterator
4085 (redoParagraphs): ditto
4087 (checkParagraph): ditto
4089 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4091 * text2.C: adjust several funcs.
4092 (realizeFont): take a ParagraphList::iterator as arg.
4093 (getLayoutFont): ditto
4094 (getLabelFont): ditto
4095 (setCharFont): ditto
4097 * text.C: adjust several funcs.
4099 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4101 * text.C (selectNextWordToSpellcheck): don't accidentally
4104 2003-04-10 John Levon <levon@movementarian.org>
4106 * ToolbarBackend.C (getIcon): special handling for
4109 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4111 * text2.C (cursorRight): a getChar assert fixed
4113 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4115 * text2.C (getFont): change to take a ParagraphList::iterator
4116 instead of Paragraph*
4117 Adjust several functions.
4119 * text.C (transformChar): change to take a ParagraphList::iterator
4120 instead of Paragraph*
4121 (singleWidth): ditto
4122 Adjust several functions.
4124 * rowpainter.C: adjust several functions
4125 * rowpainter.h:store a ParagraphList::iterator and not a
4129 2003-04-09 John Levon <levon@movementarian.org>
4134 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4135 and the "help" bits as well
4137 2003-04-09 John Levon <levon@movementarian.org>
4140 * ToolbarBackend.C: allow multiple toolbars
4142 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4144 * undo_funcs.C (setCursorParUndo): adjust
4146 * text_funcs.C (transposeChars): adjust
4148 * text3.C (gotoNextInset): adjust
4151 * text2.C (setLayout): adjust
4152 (changeDepth): adjust
4154 (redoParagraphs): adjust
4155 (selectionAsString): adjust
4156 (setParagraph): adjust
4157 (insertInset): adjust
4158 (cutSelection): adjust
4159 (copySelection): adjust
4160 (pasteSelection): adjust
4161 (insertStringAsLines): adjust
4162 (updateInset): adjust
4163 (setCursor): change to take a ParagraphList::iterator parameter
4164 (setCursorIntern): change to take a ParagraphList::iterator parameter
4165 (setCurrentFont): adjust
4166 (cursorLeft): adjust
4167 (cursorRight): adjust
4168 (deleteEmptyParagraphMechanism): adjust
4170 * text.C (breakParagraph): adjust
4171 (insertChar): adjust
4172 (acceptChange): adjust
4173 (rejectChange): adjust
4174 (selectNextWordToSpellcheck): adjust
4175 (changeCase): adjust
4179 * lyxfind.C (SearchForward): adjust
4180 (SearchBackward): adjust
4181 (nextChange): adjust
4183 * lyxcursor.C (par): adjust
4185 * lyxcursor.h: store a ParagraphList::iterator instead of a
4188 * lyx_cb.C (getPossibleLabel): adjust
4190 * bufferview_funcs.C (toggleAndShow): adjust
4192 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4195 * BufferView.C (removeAutoInsets): adjust
4196 (lockedInsetStoreUndo): adjust
4198 2003-04-09 John Levon <levon@movementarian.org>
4200 * ToolbarBackend.C: try icon without argument
4201 if with argument fails
4203 2003-04-08 John Levon <levon@movementarian.org>
4206 * ToolbarBackend.C: add getIcon(), handle tooltip,
4207 and change from "Icon" to "Item".
4209 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4211 * BufferView.C (lockInset): another bad getchar crunched
4213 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4215 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4218 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4220 * lyxfind.C (searchForward, searchBackwards): bug 782
4222 2003-04-07 John Levon <levon@movementarian.org>
4224 * paragraph.C: remove dead comment
4226 * text.C: remove troublesome depth-fiddling code
4227 in leftMargin() and rightMargin() (bug 1017)
4229 * text.C: fix breaking of rows in nested lists
4232 * text2.C (updateCounters): fix up depth values
4235 2003-04-07 John Levon <levon@movementarian.org>
4237 * BufferView_pimpl.C: clear message when doc finishes resizing,
4238 and after a mouse event
4240 * lyxfunc.C: clear message after exiting inset
4242 2003-04-07 John Levon <levon@movementarian.org>
4244 * bufferview_funcs.C: show math status not outside
4245 status in the statusbar
4247 2003-04-07 John Levon <levon@movementarian.org>
4249 * lyxfunc.C: note status changed after a depth change
4251 2003-04-04 Angus Leeming <leeming@lyx.org>
4253 * LaTeX.h: move AuxInfo operator==, != out of line.
4254 Remove LaTeX virtual destructor; nothing derives from it.
4255 Move operator()() out of public area and rename it startscript().
4256 Change protected for private.
4258 2003-04-04 Angus Leeming <leeming@lyx.org>
4261 * text2.C: remove unneeded #includes.
4263 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4265 * text2.C (dEPM): fix the heigth of the next row
4267 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4269 * text.C: squashed an invalid getChar requester + some ws changes
4271 2003-04-03 John Levon <levon@movementarian.org>
4273 * bufferview_funcs.h:
4274 * bufferview_funcs.C:
4277 * text2.C: make getStatus work for the env depth lfuns
4279 2003-04-03 John Levon <levon@movementarian.org>
4281 * bufferview_funcs.h:
4282 * bufferview_funcs.C:
4285 * text2.C: parlistize decDepth(), by merging it with incDepth()
4287 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4289 * lyxrow.h: store a ParagraphList::iterator instead of a
4290 Paragraph* and adjust other class functions to suit.
4292 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4295 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4297 * text2.C (setCursor): do not anchor to cursor row for the time being
4299 2003-04-02 John Levon <levon@movementarian.org>
4306 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4308 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4310 * paragraph.h: make ParagraphList and ParagraphList::iterator
4311 friends of Paragraph.
4313 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4315 * ParagraphList.C: Use the private next_ and previous_ from
4318 2003-04-01 John Levon <levon@movementarian.org>
4322 * Makefile.am: rename, remove defaults gunk
4325 * MenuBackend.C: remove defaults gunk
4328 * Languages.C: remove defaults gunk
4331 * lyx_main.C: error out if files couldn't be found.
4333 2003-04-02 John Levon <levon@movementarian.org>
4335 * text2.C: make incDepth() use parlist
4337 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4339 * undo_funcs.C (firstUndoParagraph): adjust
4341 * text3.C (gotoInset): adjust
4342 (dispatch): adjust, and rewrite loop.
4344 * text2.C (init): adjust, and rewrite loop.
4345 (redoParagraphs): adjust
4346 (updateInset): adjust, and rewrite loop.
4347 (deleteEmptyParagraphMechanism): adjust
4349 * tabular.C (LyXTabular): adjust
4350 (SetMultiColumn): adjust
4353 * lyxtext.[Ch] (ownerParagraph): delete function
4354 (ownerParagraphs): new function returns a ParagraphList.
4356 * BufferView.C (removeAutoInsets): adjust
4357 (insertErrors): adjust
4358 (setCursorFromRow): adjust
4360 2003-04-01 Angus Leeming <leeming@lyx.org>
4362 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4365 2003-04-02 John Levon <levon@movementarian.org>
4371 * text_funcs.C: make transposeChars a free function
4373 * lyxrow_funcs.C: remove wrong comment
4375 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4378 * rowpainter.C: adjust
4383 * lyxrow_funcs. [Ch]: new files
4385 * lyxrow.[Ch]: remove next and previous pointers
4386 (next,previous): remove accessor functions
4387 (isParEnd): move to lyxrow_funcs
4388 (lastPos): move to lyxrow_funcs
4389 (nextRowIsAllInset): move to lyxrow_funcs
4390 (lastPrintablePos): move to lyxrow_funcs
4391 (numberOfSeparators): move to lyxrow_funcs
4392 (numberOfHfills): move to lyxrow_funcs
4393 (numberOfLabelHfills): move to lyxrow_funcs
4394 (hfillExpansion): move to lyxrow_funcs
4398 * bufferview_funcs.C (toggleAndShow): adjust
4400 * RowList.h: Remove class RowList from file leave just a
4403 * RowList.C: delete file
4405 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4408 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4410 * text3.C (cursorPrevious): adjust
4411 (cursorNext): adjust
4414 * text2.C (redoHeightOfParagraph): adjust
4415 (redoDrawingOfParagraph): adjust
4418 * text.C (breakParagraph): adjust
4419 (insertChar): adjust
4422 * rowpainter.C (RowPainter): adjust
4423 (leftMargin): simplify and adjust
4424 (most rowpainter functions): adjust.
4426 * rowpainter.h: store the row as RowList::iterator not as Row*
4428 * lyxcursor.C (row): taka RowList::iterator as arg
4431 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4434 2003-04-01 Angus Leeming <leeming@lyx.org>
4436 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4437 stuff like bool Bool.
4439 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4441 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4444 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4446 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4449 * lyxtext.h (rows): drop one version and leve a const variant that
4450 returns a RowList::iterator.
4452 2003-03-31 Angus Leeming <leeming@lyx.org>
4454 * text.C (fill): ensure that the signature is the same as that in the
4457 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4459 * text2.C (redoParagraphs): adjust
4460 (updateCounters): adjust
4461 (checkParagraph): adjust
4462 (getColumnNearX): adjust and reformat a bit.
4464 * text.C (top_y): adjust
4466 (leftMargin): adjust
4467 (prepareToPrint): adjust
4469 (getRowNearY): adjust
4471 * lyxtext.h: make rowlist_ mutable.
4473 * RowList.h: add const_iterator
4474 * RowList.C: adjust for RowList::const_iterator.
4476 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4479 2003-03-31 John Levon <levon@movementarian.org>
4482 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4484 * lyx_main.C: set default fonts from using lyx_gui funcs
4486 * exporter.C: pdf_mode moved from lyxrc
4489 * lyxfunc.C: changes from above
4491 2003-03-31 John Levon <levon@movementarian.org>
4493 * lyx_main.C: fix to the last fix
4495 2003-03-31 John Levon <levon@movementarian.org>
4497 * bufferlist.C: "Load original" -> "Load Original"
4503 * format.C: more Alert cleanups
4505 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4507 * text2.C (removeParagraph): make it take a RowList::iterator as
4509 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4510 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4512 * text.C (anchor_row): make it take a RowList::iterator as arg,
4514 (computeBidiTables): make it take a const reference to Row instead
4515 of Row pointer, adjust.
4516 (leftMargin): make it take a RowList::iterator as arg, adjust.
4517 (rowBreakPoint): adjust
4518 (breakAgainOneRow): make it take a RowList::iterator as arg,
4520 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4522 * bufferview_funcs.C (toggleAndShow): adjust
4524 2003-03-30 John Levon <levon@movementarian.org>
4528 * boost-inst.C: moved to support
4530 * several files: changes as a result
4532 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4534 * text2.C (LyXText): adjust.
4536 (removeRow): make it take a RowList::iterator as arg, adjust.
4537 (fullRebreak): adjust
4538 (deleteEmptyParagraphMechanism): adjust
4539 (clearPaint): adjust
4542 * text.C (top_y): adjust
4543 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4544 (breakAgain): make it take a RowList::iterator as arg, adjust.
4545 (breakParagraph): adjust
4546 (insertChar): adjust
4549 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4550 need_break_row, and refresh_row.
4552 * text3.C (dispatch): adjust
4554 * text2.C (checkParagraph): adjust
4556 (setCursorFromCoordinates): adjust
4558 * text.C (top_y): adjust
4560 (getRow): make it return a RowList::iterator, adjust
4561 (getRowNearY): make it return a RowList::iterator, adjust
4563 * text2.C (init): adjust
4564 (insertRow): remove function
4565 (insertParagraph): adjust
4566 (redoParagraphs): adjust
4567 (fullRebreak): adjust
4568 (updateCounters): adjust
4570 * text.C (top_y): rewrite to use RowList iterators.
4572 (setHeightOfRow): rewrite to sue RowList iterators.
4573 (appendParagraph): adjust
4574 (breakAgain): adjust
4575 (breakAgainOneRow): adjust
4576 (breakParagraph): adjust
4578 (getRowNearY): adjust, and remove commented code.
4580 * lyxtext.h (firstRow): delete function
4581 (lastRow): delete function
4582 (rows): new function (const and non-const versions.)
4583 (insertRow): delete function
4585 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4587 2003-03-29 John Levon <levon@movementarian.org>
4589 * BufferView_pimpl.C: always update scrollbar top
4590 because pasting text when we're anchored could mean we
4591 miss an update altogether
4593 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4595 * text2.C (init): use rowlist_.end() and not 0.
4596 (insertRow): change to take a RowList::iterator as arg, adjust
4598 (insertParagraph): change to take a RowList::iterator as arg,
4600 (redoParagraphs): remove some debug msgs.
4602 * text.C (appendParagraph): change to take a RowList::iterator
4603 arg, adjust for this.
4604 (breakAgain): add an assert
4605 (breakAgainOneRow): ditto
4607 2003-03-29 John Levon <levon@movementarian.org>
4609 * text2.C: do not clear selection after inc/decDepth
4612 2003-03-29 John Levon <levon@movementarian.org>
4615 * buffer.C: fix broken strerrors according to Lars
4617 2003-03-29 John Levon <levon@movementarian.org>
4619 * converters.C: more Alert cleanups
4621 2003-03-29 John Levon <levon@movementarian.org>
4623 * bufferview_funcs.C: remove pointless Alert
4625 * buffer.C: fix confusing error message when
4626 a template is chmoded 000
4628 2003-03-29 John Levon <levon@movementarian.org>
4632 * BufferView_pimpl.C: Alert fixes
4636 * tabular-old.C: remove unused table compat reading
4638 2003-03-29 John Levon <levon@movementarian.org>
4643 * lyx_cb.C: more Alert cleanups
4645 * lyxfunc.C: don't allow chktex if not latex document
4647 2003-03-29 John Levon <levon@movementarian.org>
4651 * buffer.C: warnings pushed down from support/,
4654 2003-03-29 John Levon <levon@movementarian.org>
4656 * lyxfunc.C: safety check for C-r (revert)
4658 2003-03-29 John Levon <levon@movementarian.org>
4661 * bufferlist.C: several UI fixes using Alert::prompt.
4662 Fix the pointless looping quit code. Fix stupid revert
4667 * lyx_cb.C: use Alert::prompt
4669 * lyx_main.C: remove a silly question
4671 * lyxfunc.C: remove a couple of silly questions,
4674 2003-03-28 John Levon <levon@movementarian.org>
4676 * text2.C: fix bug 974 (End on empty par)
4678 2003-03-28 John Levon <levon@movementarian.org>
4680 * BufferView_pimpl.C:
4682 * lfuns.h: remove do-nothing math greek lfuns
4684 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4686 * lyxgluelength.h (isValidGlueLength): add default arg on
4687 parameter 2. Remove default arg from friend in class.
4689 * lyxlength.h (isValidLength): add default arg on parameter 2.
4690 Remove default arg from friend in class.
4692 * text2.C (LyXText): adjust, initialize refresh_row.
4696 (insertParagraph): adjst
4697 (redoParagraphs): adjust
4698 (fullRebreak): adjust
4699 (updateCounters): adjust
4700 (deleteEmptyParagraphMechanism): first attempt at fixing a
4703 * text.C (top_y): adjust
4704 (setHeightOfRow): adjust
4706 (getRowNearY): adjust
4708 * lyxtext.h: include RowList.h
4709 (~LyXText): not needed anymore, deleted.
4710 (firstRow): modify for RowList
4711 (lastRow): new function
4712 Delete firstrow and lastrow class variables, add a Rowlist
4713 rowlist_ class variable.
4715 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4718 * RowList.C (insert): fix case where it == begin().
4720 2003-03-26 Angus Leeming <leeming@lyx.org>
4722 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4723 the thesaurus dialog.
4725 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4727 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4729 * RowList.[Ch]: new files
4731 * ParagraphList.C (erase): handle the case where it == begin
4734 2003-03-25 John Levon <levon@movementarian.org>
4738 * aspell.C: add new aspell support
4741 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4744 2003-03-25 Angus Leeming <leeming@lyx.org>
4747 * LyXAction.C (init): new LFUN_INSET_INSERT.
4749 * BufferView_pimpl.C (dispatch): split out part of the
4750 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4752 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4755 2003-03-25 Angus Leeming <leeming@lyx.org>
4757 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4759 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4762 * text3.C: remove useless row->height(0)
4764 2003-03-25 John Levon <levon@movementarian.org>
4768 * text3.C: rename the refreshing stuff to better names
4770 2003-03-24 John Levon <levon@movementarian.org>
4772 * BufferView_pimpl.h:
4773 * BufferView_pimpl.C: update layout choice on a mouse
4776 2003-03-23 John Levon <levon@movementarian.org>
4778 * Makefile.am: fix commandtags.h reference
4780 2003-03-22 John Levon <levon@movementarian.org>
4782 * BufferView_pimpl.C:
4787 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4789 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4792 * text.C: take the rtl methods out of line
4794 2003-03-21 André Pönitz <poenitz@gmx.net>
4796 * metricsinfo.[Ch]: new files containing structures to be passed around
4797 during the two-phase-drawing...
4799 2003-03-21 André Pönitz <poenitz@gmx.net>
4801 * lyxtextclass.C: read 'environment' tag.
4803 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4805 * text2.C (removeRow): fix bug 964
4807 2003-03-20 John Levon <levon@movementarian.org>
4811 * text2.C: paint cleanups. Inset::update() dropped font
4814 2003-03-19 John Levon <levon@movementarian.org>
4816 * lyxfunc.C: only fitcursor/markDirty if available()
4818 2003-03-19 John Levon <levon@movementarian.org>
4820 * commandtags.h: rename to ...
4822 * lfuns.h: ... this, and renumber / cleanup
4824 2003-03-19 John Levon <levon@movementarian.org>
4826 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4827 fit the cursor after an lfun
4831 * BufferView_pimpl.h:
4832 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4834 * LyXAction.C: layout-character should have ReadOnly
4836 * ParagraphParameters.C:
4838 * bufferview_funcs.C:
4845 * undo_funcs.C: changes from above
4847 2003-03-18 John Levon <levon@movementarian.org>
4849 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4850 remove it from update()
4852 * lyxfunc.C: update layout choice after an lfun
4854 * text3.C: remove extra updateLayoutChoice()s
4856 2003-03-18 John Levon <levon@movementarian.org>
4858 * text.C: top_y change means full repaint, fix
4859 a drawing bug with cursor movement
4861 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4865 * text2.C: anchor row on setCursor
4867 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4869 * lyxtext.h: remove almost all mutable keywords
4872 * text3.C: remove const keywords accordingly
4874 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4876 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4878 (TeXEnvironment): ditto
4881 2003-03-17 John Levon <levon@movementarian.org>
4883 * text.C (rowBreakPoint): remove attempt to fix displayed
4884 math insets inside a manual label
4886 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4888 * lyxtext.h: remove BufferView* as first arg from almost all class
4890 * other files: adjust.
4892 2003-03-17 John Levon <levon@movementarian.org>
4896 * text2.C: more paint cleanups
4898 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4901 * rowpainter.C: remove "smart" background painting code
4903 2003-03-16 John Levon <levon@movementarian.org>
4908 * text3.C: add helper functions for setting refresh_row/y
4910 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4912 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4913 newline inset which *can* get inserted in the pass_thru layouts.
4914 This is primarily for literate documents.
4916 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4918 * buffer.C: increment LYX_FORMAT to 223
4920 2003-03-14 André Pönitz <poenitz@gmx.net>
4922 * textclass.h: prepare for environment handling, ws changes
4923 * lyxlayout.C: read latexheader and latexfooter tags
4925 2003-03-14 John Levon <levon@movementarian.org>
4927 * text2.C: rewrite ::status() a bit
4929 2003-03-13 John Levon <levon@movementarian.org>
4931 * lyxtext.h: add some docs
4933 2003-03-13 John Levon <levon@movementarian.org>
4938 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4940 2003-03-13 John Levon <levon@movementarian.org>
4942 * text3.C: fix appendix redrawing
4944 2003-03-13 John Levon <levon@movementarian.org>
4946 * text.C (setHeightOfRow):
4948 * rowpainter.C: make appendix mark have the text
4949 "Appendix" so the user knows what it is
4952 * LColor.C: s/appendixline/appendix/ from above
4954 2003-03-13 John Levon <levon@movementarian.org>
4956 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4958 * text.C: fix a getChar(pos) bug properly
4960 2003-03-13 Angus Leeming <leeming@lyx.org>
4963 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4964 Probably only temporary. Let's see how things pan out.
4966 * BufferView.C (unlockInset):
4967 * BufferView_pimpl.C (fitCursor):
4968 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4970 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4971 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4973 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4974 new functions that convert ParagraphParameters to and from a string.
4976 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4977 BufferView::Pimpl's dispatch.
4978 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4980 2003-03-13 André Pönitz <poenitz@gmx.net>
4984 * factory.C: make it aware of InsetEnv
4986 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4988 * text2.C (setCursor): never ask for one past last
4989 (setCursor): add some debugging messages.
4991 * text.C (singleWidth): never ask for one past last
4992 (singleWidth): ditto
4994 (rightMargin): ditto
4995 (rowBreakPoint): ditto
4996 (setHeightOfRow): ditto
4997 (prepareToPrint): ditto
4999 * rowpainter.C (paintBackground): never ask for one past last
5000 (paintText): never ask for one past last
5002 * paragraph_pimpl.C (getChar): make the assert stricter, never
5003 allow the one past last pos to be taken
5005 * paragraph.C (getChar): ws changes only
5007 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5008 (numberOfSeparators): ditto
5009 (numberOfHfills): ditto
5011 2003-03-12 John Levon <levon@movementarian.org>
5017 * paragraph_funcs.C: fix per-buffer authorlists
5019 2003-03-12 John Levon <levon@movementarian.org>
5021 * text.C: fix newline in right address
5023 2003-03-12 Angus Leeming <leeming@lyx.org>
5025 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5026 duplicate those in LyXFunc::dispatch.
5030 * ToolbarDefaults.C:
5031 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5032 Add LFUN_FONTFREE_UPDATE.
5034 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5035 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5037 * bufferview_func.[Ch]: several new functions to facilliate
5038 transfer of data to and from the character dialog.
5040 2003-03-12 John Levon <levon@movementarian.org>
5045 * paragraph_funcs.C:
5046 * paragraph_pimpl.C:
5050 * text3.C: remove META_NEWLINE in favour of an inset
5053 * rowpainter.C: remove paintNewline (done by inset)
5055 2003-03-12 John Levon <levon@movementarian.org>
5057 * paragraph_pimpl.C: complain about bad getChar()s
5058 for a while at least
5060 2003-03-12 John Levon <levon@movementarian.org>
5063 * buffer.C: move paragraph read into a separate function,
5064 a little renaming to reflect that.
5067 * bufferparams.C: remove the author_ids map, not necessary now
5070 * factory.C: moved Buffer::readInset to here
5072 * paragraph_funcs.h:
5073 * paragraph_funcs.C: readParagraph free function moved from
5076 * tabular.C: name change
5078 2003-03-12 John Levon <levon@movementarian.org>
5081 * ParagraphParameters.C: move par params input to
5084 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5085 behave like a normal read from the stream wrt reading
5086 a line vs. a \\token
5088 2003-03-12 John Levon <levon@movementarian.org>
5091 * ParagraphParameters.h:
5092 * ParagraphParameters.C: move output code to a
5095 2003-03-12 John Levon <levon@movementarian.org>
5097 * BufferView.C (insertLyXFile):
5100 * tabular.C: use a parlist iterator for creating the
5103 2003-03-12 John Levon <levon@movementarian.org>
5105 * buffer.C: make current_change static local not
5108 2003-03-12 John Levon <levon@movementarian.org>
5110 * buffer.C: fix insertStringAsLines for change tracking
5112 2003-03-12 John Levon <levon@movementarian.org>
5119 * bufferparams.C: move author list into params. Rename some
5120 functions. Move the header reading into a separate token
5121 loop. Move the header token reading into BufferParams.
5123 2003-03-12 John Levon <levon@movementarian.org>
5125 * changes.C: put debug inside lyxerr.debugging() checks
5127 2003-03-11 André Pönitz <poenitz@gmx.net>
5129 * factory.C: make it aware of InsetHFill
5131 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5133 * buffer.C (latexParagraphs): move function from here...
5134 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5137 2003-03-10 Angus Leeming <leeming@lyx.org>
5139 * LyXAction.C (init): fix bug in poplating array with multiple entries
5140 with the same LFUN (spotted by JMarc).
5142 2003-03-10 John Levon <levon@movementarian.org>
5145 * text2.C: move getColumnNearX() near its
5148 2003-03-10 John Levon <levon@movementarian.org>
5150 * text.C: fix break before a minipage
5152 2003-03-10 John Levon <levon@movementarian.org>
5154 * text.C: fix the last commit
5156 2003-03-09 John Levon <levon@movementarian.org>
5160 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5161 bug 365 (don't break before insets unless needed). Don't
5162 return a value > last under any circumstances.
5164 2003-03-09 Angus Leeming <leeming@lyx.org>
5166 * BufferView_pimpl.C (trackChanges, dispatch): call
5167 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5169 2003-03-09 Angus Leeming <leeming@lyx.org>
5171 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5172 than Dialogs::showAboutlyx().
5174 2003-03-09 Angus Leeming <leeming@lyx.org>
5176 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5177 than Dialogs::showTabularCreate().
5179 2003-03-09 John Levon <levon@movementarian.org>
5183 * text2.C: 3rd arg to nextBreakPoint was always the same.
5186 2003-03-08 John Levon <levon@movementarian.org>
5193 * text2.C: Remove the "main" bit from the "main body"
5196 2003-03-08 John Levon <levon@movementarian.org>
5198 * text.C (leftMargin): The left margin of an empty
5199 manual label paragraph should not include the label width
5202 * text.C (prepareToPrint): don't attempt to measure hfills
5203 for empty manual label paragraphs - the answer should be 0
5205 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5207 * CutAndPaste.C: remove commented code and reindent.
5209 2003-03-08 John Levon <levon@movementarian.org>
5212 * lyxfunc.C: move reloadBuffer()
5215 * BufferView.C: to here
5217 * lyxvc.C: add comment
5220 * vc-backend.C: call bv->reload() to avoid
5221 getStatus() check on MENURELOAD
5223 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5225 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5226 to an old format .dep file.
5228 2003-03-07 Angus Leeming <leeming@lyx.org>
5230 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5231 when the LFUN_MOUSE_RELEASE should have been handled by
5232 inset->localDispatch.
5234 2003-03-07 Angus Leeming <leeming@lyx.org>
5236 * BufferView_pimpl.C (dispatch):
5237 * LyXAction.C (init):
5238 * ToolbarDefaults.C (init):
5240 * lyxfunc.C (getStatus):
5241 remove LFUN_INSET_GRAPHICS.
5243 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5245 2003-03-07 Angus Leeming <leeming@lyx.org>
5248 * LyXAction.C (init):
5249 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5251 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5254 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5256 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5257 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5259 2003-03-07 Angus Leeming <leeming@lyx.org>
5261 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5264 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5266 * ParagraphList.C (front): new function
5269 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5271 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5272 and top_row_offset_. removed var first_y.
5274 * text2.C (LyXText, removeRow):
5276 * BufferView_pimpl.C:
5277 use these methods instead of using first_y
5279 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5281 * text2.C (pasteSelection): adjust for checkPastePossible
5283 * CutAndPaste.C: remove Paragraph * buf and replace with
5284 ParagraphList paragraphs.
5285 (DeleteBuffer): delete
5286 (cutSelection): change the tc type to textclass_type
5287 (copySelection): change the tc type to textclass_type
5288 (copySelection): adjust for ParagraphList
5289 (pasteSelection): change the tc type to textclass_type
5290 (pasteSelection): adjust for Paragraphlist
5291 (nrOfParagraphs): simplify for ParagraphList
5292 (checkPastePossible): simplify for ParagraphList
5293 (checkPastePossible): remove unused arg
5295 * ParagraphList.C (insert): handle the case where there are no
5298 * CutAndPaste.h: make CutAndPaste a namespace.
5300 * text3.C (dispatch): adjust
5302 * text.C (breakParagraph): add a ParagraphList as arg
5304 * paragraph_funcs.C (breakParagraph): change to take a
5305 BufferParams and a ParagraphList as args.
5306 (breakParagraphConservative): ditto
5307 (mergeParagraph): ditto
5308 (TeXDeeper): add a ParagraphList arg
5309 (TeXEnvironment): ditto
5312 * buffer.C (readLyXformat2): adjust
5313 (insertStringAsLines): adjust
5314 (latexParagraphs): adjust
5316 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5317 (cutSelection): adjust
5318 (pasteSelection): adjust
5320 * BufferView_pimpl.C (insertInset): adjust
5322 2003-03-05 Angus Leeming <leeming@lyx.org>
5325 * LyXAction.C (init):
5326 * BufferView_pimpl.C (dispatch):
5327 * lyxfunc.C (getStatus):
5328 remove LFUN_CHILD_INSERT.
5330 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5332 2003-03-05 Angus Leeming <leeming@lyx.org>
5335 * LyXAction.C (init):
5336 * src/factory.C (createInset):
5337 * lyxfunc.C (getStatus):
5338 * text3.C (dispatch):
5339 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5341 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5343 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5345 * ParagraphList.C (insert): handle insert right before end()
5346 (erase): fix cases where it can be first or last paragraph.
5348 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5350 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5351 Paragraph::next and Paragraph::previous
5354 * text.C (breakParagraph): adjust
5356 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5357 BufferParams& as arg.
5358 (breakParagraph): use ParagraphList::insert
5359 (breakParagraphConservative): take a Buffer* instead of a
5360 BufferParams& as arg.
5361 (breakParagraphConservative): use ParagraphList::insert.
5363 * buffer.C (insertStringAsLines): un-const it
5364 (insertStringAsLines): adjust
5366 * ParagraphList.C (insert): new function
5368 * CutAndPaste.C (pasteSelection): adjust
5370 * text.C (backspace): adjust
5372 * tabular.C (SetMultiColumn): adjust
5374 * CutAndPaste.C (cutSelection): adjust
5375 (pasteSelection): adjust
5377 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5378 Buffer const * as arg
5380 * ParagraphList.C (erase): new function
5381 * paragraph_funcs.C (mergeParagraph): use it
5382 (mergeParagraph): make it take a Buffer* instead of a
5383 BufferParams* as arg
5385 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5387 (breakParagraphConservative): ditto
5389 * paragraph.h: remove the breakParagraph friend
5391 * paragraph.C (eraseIntern): new function
5392 (setChange): new function
5394 * paragraph_funcs.C (mergeParagraph): make it take a
5395 ParagraphList::iterator instead of a Paragraph *, adjust
5398 * paragraph.h: move an #endif so that the change tracking stuff
5399 also works in the NO_NEXT case.
5401 2003-03-04 Angus Leeming <leeming@lyx.org>
5404 * LyXAction.C: new LFUN_INSET_MODIFY.
5406 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5407 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5409 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5411 * several files: ws changes only
5413 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5414 (TeXEnvironment): ditto
5417 * buffer.C (makeLaTeXFile): adjust
5418 (latexParagraphs): make it take ParagraphList::iterator as args
5420 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5422 * buffer.C (latexParagraphs): adjust
5424 * paragraph.C (TeXOnePar): move function...
5425 (optArgInset): move function...
5426 (TeXEnvironment): move function...
5427 * paragraph_pimpl.C (TeXDeeper): move function...
5428 * paragraph_funcs.C: ...here
5430 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5432 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5434 * buffer.C (readInset): remove compability code for old Figure and
5437 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5439 * buffer.C: ws changes
5442 * BufferView_pimpl.C: ditto
5445 * bufferlist.h: ditto
5449 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5451 * converter.[Ch]: split into itself +
5454 * Makefile.am: += graph.[Ch] + format.[Ch]
5461 * lyxrc.C: added #include "format.h"
5463 2003-02-27 Angus Leeming <leeming@lyx.org>
5465 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5468 * factory.C (createInset): add "label" to the factory.
5470 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5471 string and do no more.
5473 2003-02-27 Angus Leeming <leeming@lyx.org>
5476 * LyXAction.C (init):
5477 * factory.C (createInset):
5478 * BufferView_pimpl.C (dispatch):
5479 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5481 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5483 * lyxfunc.C (dispatch):
5484 * text3.C (dispatch): pass name to params2string.
5486 2003-02-26 Angus Leeming <leeming@lyx.org>
5488 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5490 Rearrange the ~includes. Strip out the unnecessary ones.
5492 * factory.C (createInset): reformat.
5493 create new insets for the various LFUN_XYZ_APPLY lfuns.
5495 2003-02-26 John Levon <levon@movementarian.org>
5498 * lyxrow.C: add isParStart,isParEnd helpers
5500 * paragraph.h: make isInserted/DeletedText take refs
5502 * paragraph_funcs.h:
5503 * paragraph_funcs.C: remove #if 0'd code
5508 * text.C: use lyxrow helpers above.
5509 Move draw and paint routines to RowPainter.
5510 Make several methods use refs not pointers.
5511 Make backgroundColor() const.
5512 Add markChangeInDraw(), isInInset().
5513 Merge changeRegionCase into changeCase.
5514 Make workWidth() shouldn't-happen code into an Assert.
5517 * rowpainter.C: new class for painting a row.
5520 * vspace.C: make inPixels take a ref
5522 2003-02-26 Angus Leeming <leeming@lyx.org>
5524 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5527 2003-02-25 John Levon <levon@movementarian.org>
5529 * ispell.C: give the forked command a more accurate name
5531 2003-02-22 John Levon <levon@movementarian.org>
5534 * toc.C: make TocItem store an id not a Paragraph *
5537 2003-02-21 Angus Leeming <leeming@lyx.org>
5539 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5540 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5541 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5542 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5543 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5544 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5546 * BufferView_pimpl.C (dispatch):
5547 * LyXAction.C (init):
5548 * factory.C (createInset):
5549 * lyxfunc.C (getStatus, dispatch):
5550 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5552 2003-02-21 Angus Leeming <leeming@lyx.org>
5554 * BufferView_pimpl.C (MenuInsertLyXFile):
5555 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5556 * lyxfunc.C (menuNew, open, doImport):
5557 no longer pass a LyXView & to fileDlg.
5559 2003-02-21 Angus Leeming <leeming@lyx.org>
5561 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5562 * LyXAction.C: change, BIBKEY to BIBITEM.
5563 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5564 Change InsetBibKey to InsetBibitem.
5565 Change BIBKEY_CODE to BIBITEM_CODE.
5566 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5567 * factory.C: replace insetbib.h with insetbibitem.h.
5568 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5569 * paragraph.C: replace insetbib.h with insetbibitem.h.
5570 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5571 Change bibkey() to bibitem().
5572 * text.C: remove insetbib.h.
5573 * text2.C: replace insetbib.h with insetbibitem.h.
5574 change bibkey() to bibitem().
5575 * text3.C: remove insetbib.h.
5576 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5578 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5580 * lyxrc.C (output): enclose user email in quotes (in case there are
5583 2003-02-18 John Levon <levon@movementarian.org>
5585 * buffer.h: add std::
5587 2003-02-17 John Levon <levon@movementarian.org>
5593 * pspell.C: reworking. Especially in ispell, a large
5594 number of clean ups and bug fixes.
5596 * lyxfunc.C: fix revert to behave sensibly
5598 2003-02-17 André Pönitz <poenitz@gmx.net>
5601 * commandtags.h: new LFUN_INSERT_BIBKEY
5611 * paragraph_func.C: remove special bibkey handling
5613 2003-02-17 John Levon <levon@movementarian.org>
5615 * text.C (Delete): fix case where delete at the end of
5616 the very first paragraph would not merge the pars
5618 2003-02-17 John Levon <levon@movementarian.org>
5620 * lyxrow.C: fix lastPrintablePos()
5622 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5624 * bufferparams.C (writeLaTeX): add a std:here
5626 * buffer.C: and remove a using directive there
5628 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5630 * buffer.C (makeLaTeXFile): move the code that generates the
5633 * bufferparams.C (writeLaTeX): ... in this new method
5635 * LaTeXFeatures.C (getEncodingSet): make const
5636 (getLanguages): make const
5638 * MenuBackend.C (binding): returns the binding associated to this
5640 (add): sets the status of each item by calling getStatus. Adds
5642 (read): add support for OptSubMenu
5643 (expand): remove extra separator at the end of expanded menu
5645 2003-02-15 John Levon <levon@movementarian.org>
5648 * BufferView_pimpl.C:
5650 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5651 inset code that had no actual effect. Remove unneeded status
5654 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5656 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5659 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5661 * text.C (drawLengthMarker): also draw an arrow marker for
5662 symbolic lengths (medskip...)
5664 2003-02-14 John Levon <levon@movementarian.org>
5667 * tabular.C: better method names
5669 2003-02-14 John Levon <levon@movementarian.org>
5671 * BufferView_pimpl.C:
5676 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5677 it's a more accurate name. Remove some pointless uses.
5679 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5681 * text2.C (LyXText): change order of initilizers to shut off
5684 2003-02-14 John Levon <levon@movementarian.org>
5686 * buffer.C: use ParIterator for getParFromID()
5690 * paragraph_pimpl.h:
5691 * paragraph_pimpl.C: remove unused getParFromID()
5693 2003-02-14 John Levon <levon@movementarian.org>
5695 * buffer.C: remove some very old #if 0'd parse code
5697 2003-02-13 John Levon <levon@movementarian.org>
5701 * text2.C: move hfillExpansion(), numberOfSeparators(),
5702 rowLast(), rowLastPrintable(), numberofHfills(),
5703 numberOfLabelHfills() ...
5706 * lyxrow.C: ... to member functions here.
5711 * text.C: remove LyXText::beginningOfMainBody(), and call
5712 p->beginningOfMainBody() directly. Move the check for
5713 LABEL_MANUAL into the latter.
5720 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5726 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5727 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5729 2003-02-13 John Levon <levon@movementarian.org>
5731 * CutAndPaste.C: remove debug
5733 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5735 * paragraph.C (asString): remove two unused variables
5737 * lyxtextclass.C (readTitleType):
5739 (LyXTextClass): handle new members titletype_ and titlename_
5741 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5743 2003-02-09 John Levon <levon@movementarian.org>
5746 * buffer.C: replace hand-coded list with a map for the dep clean
5748 2003-02-08 John Levon <levon@movementarian.org>
5750 * LaTeX.C: consolidate code into showRunMessage() helper
5752 2003-02-08 John Levon <levon@movementarian.org>
5757 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5758 and pass the size in explicitly
5760 * BufferView_pimpl.h:
5761 * BufferView_pimpl.C:
5763 * BufferView.C: add getCurrentChange()
5765 * BufferView_pimpl.h:
5766 * BufferView_pimpl.C: handle change lfuns
5768 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5769 for changes. Mark pasted paragraphs as new.
5771 * support/lyxtime.h:
5772 * support/lyxtime.C:
5773 * DepTable.C: abstract time_t as lyx::time_type
5776 * LColor.C: add colours for new text, deleted text, changebars
5778 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5779 package use "usenames" option.
5783 * LyXAction.C: add change lfuns
5787 * author.C: author handling
5790 * buffer.C: add a per-buffer author list, with first entry as
5791 current author. Handle new .lyx tokens for change tracking. Output
5792 author list to .lyx file. Output dvipost stuff to .tex preamble.
5793 Bump lyx format to 222.
5796 * bufferlist.C: add setCurrentAuthor() to reset current author details
5800 * bufferparams.C: add param for tracking
5802 * bufferview_funcs.C: output change info in minibuffer
5806 * changes.C: add change-tracking structure
5809 * debug.C: add CHANGES debug flag
5812 * lyxfind.C: add code for finding the next change piece
5815 * lyxrc.C: add user_name and user_email
5818 * lyxrow.C: add a metric for the top of the text line
5821 * text.C: implement accept/rejectChange()
5824 * text.C: paint changebars. Paint new/deleted text in the chosen
5825 colours. Strike through deleted text.
5829 * paragraph_pimpl.h:
5830 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5831 in the current change to the insert functions. Rework erase to
5832 mark text as deleted, adding an eraseIntern() and a range-based
5833 erase(). Implement per-paragraph change lookup and
5836 * paragraph_funcs.C: Fixup paste for change tracking.
5838 * tabular.C: mark added row/columns as new.
5840 * text.C: fix rowLast() to never return -1. Don't allow
5841 spellchecking of deleted text. Track transpose changes. Don't
5842 allow paragraph break or merge where appropriate.
5844 * text2.C: leave cursor at end of selection after a cut.
5846 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5848 * text.C (getLengthMarkerHeight):
5849 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5850 visible on screen too.
5852 2003-02-07 John Levon <levon@movementarian.org>
5854 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5856 2003-02-05 Angus Leeming <leeming@lyx.org>
5858 * lyxserver.C (read_ready): revert my patch of 11 September last year
5859 as it sends PC cpu through the roof. Presumably this means that
5860 the lyxserver will no longer run on an Alpha...
5862 2003-01-30 Angus Leeming <leeming@lyx.org>
5864 * factory.C (createInset): create an InsetCommandParam of type "index"
5865 and use it to 'do the right thing'.
5867 * text2.C (getStringToIndex): ensure that cursor position is always
5868 reset to the reset_cursor position.
5870 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5872 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5875 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5879 * lyxfunc.C: Output messages with identical spelling, punctuation,
5882 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5884 * MenuBackend.C (expandFormats): List only viewable export formats
5887 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5890 * lyxfunc.C (getStatus): Make sure that formats other than
5891 "fax" can also be disabled
5893 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5895 * text3.C (dispatch): put the lfuns that insert insets in 3
5896 groups, and call doInsertInset with appropriate arguments.
5897 (doInsertInset): new function, that creates an inset and inserts
5898 it according to some boolean parameters.
5900 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5902 * buffer.C (readFile): remember to pass on 'par' when calling
5903 readFile recursively.
5905 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5907 * MenuBackend.C (expandFormats): add "..." to import formats.
5909 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5911 * paragraph.C (asString): Remove XForms RTL hacks.
5913 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5914 * buffer.C: fix typo
5916 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5918 * Makefile.am (LIBS): delete var
5919 (lyx_LDADD): add @LIBS@ here instead.
5921 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5923 * Clarify the meaning of "wheel mouse jump"
5925 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5927 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5930 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5932 * importer.C (Loaders): do not preallocate 3 elements in the
5933 vector, since one ends up with 6 elements otherwise
5935 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5937 * DepTable.C (write): write the file name as last element of the
5938 .dep file (because it may contain spaces)
5939 (read): read info in the right order
5941 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5943 * paragraph_pimpl.C (simpleTeXBlanks):
5944 (simpleTeXSpecialChars):
5945 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5947 * tabular.C (latex): add some missing case statements. Reindent.
5949 * MenuBackend.C (expandToc): remove unused variable.
5951 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5960 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5963 2003-01-05 John Levon <levon@movementarian.org>
5966 * BufferView.C: add getEncoding()
5969 * kbsequence.C: do not store last keypress
5972 * lyxfunc.C: store last keypress here instead. Pass encoding
5975 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5977 * lyx_main.C (init): remove annoying error message when following
5978 symbolic links (bug #780)
5980 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5982 * text.C (insertChar):
5983 * lyxrc.C (getDescription): remove extra spaces
5985 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5987 * lyxrc.C (getDescription): remove extra spaces
5989 2002-12-20 John Levon <levon@movementarian.org>
5991 * text3.C: hack fix for page up/down across tall rows
5993 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5995 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5998 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6000 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6001 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6002 thesaurus is not compiled in
6004 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6006 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6008 2002-12-16 Angus Leeming <leeming@lyx.org>
6011 * lyx_main.C (init): remove override_x_deadkeys stuff.
6013 2002-12-12 John Levon <levon@movementarian.org>
6015 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6016 insert. Only remove shift modifier under strict
6019 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6021 * MenuBackend.C (expandToc): fix crash.
6023 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6025 * MenuBackend.C (expandToc): gettext on float names.
6027 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6029 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6030 implement bool empty() [bug 490]
6032 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6034 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6036 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6038 * several files: ws changes
6040 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6042 * text2.C (setCounter): clean up a bit, use boost.format.
6043 (updateCounters): initialize par upon declaration.
6045 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6046 if the layout exists. We do not just store the layout any more.
6047 (SwitchLayoutsBetweenClasses): use boost.format
6049 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6051 * converter.C (convert): if from and to files are the same, use a
6052 temporary files as intermediary
6054 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6057 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6059 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6061 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6063 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6065 * tabular.C (asciiPrintCell): use string(size, char) instead of
6068 * sgml.C (openTag): fix order of arguments to string constructor
6071 * lyxfunc.C (dispatch): use boost.format
6073 * lots of files: change "c" -> 'c'
6075 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6077 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6079 2002-11-25 Angus Leeming <leeming@lyx.org>
6081 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6083 * lyx_main.C (init): compile fix.
6085 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6087 * lyx_cb.C (start): boost.formatify
6088 do not include <iostream>
6090 * lengthcommon.C: ws only
6092 * boost-inst.C,BoostFormat.h: add more explict instantations
6094 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6096 * lots of files: handle USE_BOOST_FORMAT
6098 2002-11-21 John Levon <levon@movementarian.org>
6100 * pspell.C: fix compile
6102 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6104 * lyxfunc.C (dispatch): use boost::format
6108 * lyxfont.C (stateText): use boost::format
6110 * lyx_main.C (LyX): use boost::format
6112 (queryUserLyXDir): ditto
6115 (typedef boost::function): use the recommened syntax.
6117 * importer.C (Import): use boost::format
6119 * debug.C (showLevel): use boost::format
6121 * converter.C (view): use boost::format
6126 * bufferview_funcs.C (currentState): use boost::format
6128 * bufferlist.C (emergencyWrite): use boost::format
6130 * buffer.C (readLyXformat2): use boost::format
6131 (parseSingleLyXformat2Token): ditto
6133 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6135 * LaTeX.C (run): use boost::format
6137 * Chktex.C (scanLogFile): use boost::format
6139 * BufferView_pimpl.C (savePosition): use boost::format
6140 (restorePosition): ditto
6141 (MenuInsertLyXFile): ditto
6143 * BoostFormat.h: help file for explicit instation.
6145 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6147 * tabular.C (latex): Support for block alignment in fixed width
6150 2002-11-17 John Levon <levon@movementarian.org>
6152 * BufferView_pimpl.C:
6154 * lyxfunc.C: split filedialog into open/save
6156 2002-11-08 Juergen Vigna <jug@sad.it>
6158 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6159 by my last patch (hopefully).
6161 2002-11-08 John Levon <levon@movementarian.org>
6170 * toc.C: ParConstIterator, and use it (from Lars)
6172 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6174 * lyxtextclass.[Ch]: revise and add doxygen comments
6176 2002-11-07 John Levon <levon@movementarian.org>
6178 * text.C: fix progress value for spellchecker
6180 * toc.C: fix navigate menu for insetwrap inside minipage
6182 * paragraph_funcs.C: added FIXME for suspect code
6184 2002-11-07 John Levon <levon@movementarian.org>
6186 * BufferView_pimpl.C: fix redrawing of insets
6189 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6191 * text2.C (updateCounters): fix bug 668
6193 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6195 * text3.C (dispatch): Do not make the buffer dirty when moving the
6198 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6200 * vc-backend.C: STRCONV
6203 * text2.C (setCounter): STRCONV
6205 * paragraph.C (asString): STRCONV
6207 * lyxlength.C (asString): STRCONV
6208 (asLatexString): ditto
6210 * lyxgluelength.C (asString): STRCONV
6211 (asLatexString): ditto
6213 * lyxfunc.C (dispatch): STRCONV
6216 * lyxfont.C (stateText): STRCONV
6218 * importer.C (Import): STRCONV
6220 * counters.C (labelItem): STRCONV
6221 (numberLabel): ditto
6222 (numberLabel): remove unused ostringstream o
6227 * bufferview_funcs.C (currentState): STRCONV
6229 * buffer.C (readFile): STRCONV
6230 (asciiParagraph): ditto
6231 (makeLaTeXFile): ditto
6233 * Spacing.C (writeEnvirBegin): STRCONV
6235 * LaTeXFeatures.C (getLanguages): STRCONV
6236 (getPackages): ditto
6238 (getBabelOptions): ditto
6239 (getTClassPreamble): ditto
6240 (getLyXSGMLEntities): ditto
6241 (getIncludedFiles): ditto
6245 (scanAuxFile): ditto
6248 * LString.h: add the STRCONV macros
6250 * BufferView_pimpl.C (savePosition): STRCONV
6251 (restorePosition): ditto
6252 (MenuInsertLyXFile): ditto
6254 * vc-backend.C (scanMaster): change from submatch[...] to
6257 * funcrequest.C: include config.h
6259 * factory.C: include config.h
6261 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6263 * box.C: include config.h
6265 * LaTeX.C (scanAuxFile): change from submatch[...] to
6269 2002-10-25 Angus Leeming <leeming@lyx.org>
6271 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6273 * ispell.[Ch] (setError): new method.
6274 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6275 Use setError() insetead of goto END.
6277 * lyx_cb.C (AutoSave): move out child process into new class
6280 2002-10-30 John Levon <levon@movementarian.org>
6282 * text3.C: make start appendix undoable
6284 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6286 * lyxlength.C (inPixels): Fix returned value.
6288 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6291 2002-10-24 Angus Leeming <leeming@lyx.org>
6293 * lyxgluelength.h: no need to forward declare BufferParams
6294 or BufferView, so don't.
6296 2002-10-21 John Levon <levon@movementarian.org>
6298 * BufferView.C: menuUndo ->undo, redo
6300 * BufferView.h: document, remove dead, make some methods private
6302 * paragraph_funcs.h:
6303 * paragraph_funcs.C:
6304 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6309 * sgml.C: move sgml open/close tag into sgml.C
6311 * bufferview_funcs.h: unused prototype
6314 * lyxfunc.C: remove unused
6317 * text.C: remove unused
6319 2002-10-21 John Levon <levon@movementarian.org>
6323 * BufferView_pimpl.h:
6324 * BufferView_pimpl.C: fix mouse wheel handling based on
6325 patch from Darren Freeman
6327 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6329 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6331 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6333 * lyxlength.C (inPixels): Fix hanfling of negative length.
6334 Fix LyXLength::MU case.
6336 2002-10-16 John Levon <levon@movementarian.org>
6338 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6340 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6342 * converter.C (view): add support for $$i (file name) and $$p
6343 (file path) for the viewer command. If $$i is not specified, then
6344 it is appended to the command (for compatibility with old syntax)
6346 2002-10-14 Juergen Vigna <jug@sad.it>
6348 * undo_funcs.C (textHandleUndo): alter the order in which the
6349 new undopar is added to the LyXText, as we have to set first
6350 the right prev/next and then add it as otherwise the rebuild of
6351 LyXText is not correct. Also reset the cursor to the right paragraph,
6352 with this IMO we could remove the hack in "redoParagraphs()".
6354 2002-10-09 Angus Leeming <leeming@lyx.org>
6356 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6357 to turn off an optimisation if a new inset is to be inserted.
6359 2002-10-11 André Pönitz <poenitz@gmx.net>
6361 * lyxtext.h: make some functions public to allow access
6362 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6364 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6366 * text3.C (dispatch): when changing layout, avoid an infinite loop
6369 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6371 * lyxrc.C (read): treat a viewer or converter command of "none" as
6374 * MenuBackend.C (expandFormats): for an update, also allow the
6375 formats that are not viewable
6377 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6378 script if it is newer than the lyxrc.defaults in user directory
6380 2002-10-07 André Pönitz <poenitz@gmx.net>
6382 * text.C: Vitaly Lipatov's small i18n fix
6384 2002-09-25 Angus Leeming <leeming@lyx.org>
6386 * ispell.h: doxygen fix.
6388 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6390 * buffer.h (readFile): Add a new argument to the method, to allow
6391 reading of old-format templates.
6393 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6395 * toc.C (getTocList): Get TOC from InsetWrap.
6397 2002-09-16 John Levon <levon@movementarian.org>
6399 * lyxfunc.C: check tabular for cut/copy too
6401 2002-09-12 John Levon <levon@movementarian.org>
6406 * factory.C: add header
6408 * paragraph_funcs.h:
6409 * paragraph_funcs.C: cleanup
6411 2002-09-11 John Levon <levon@movementarian.org>
6413 * PrinterParams.h: odd/even default to true
6415 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6417 * PrinterParams.h: update printer parameters for new xforms dialog
6419 2002-09-11 Angus Leeming <leeming@lyx.org>
6421 * lyxserver.C (read_ready): re-write to make it more transparent
6422 and to make it work in coherent fashion under Tru64 Unix.
6424 2002-09-11 André Pönitz <poenitz@gmx.net>
6428 * text3.C: implement LFUN_WORDSEL
6430 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6432 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6433 make floatlist_ a boost::shared_ptr<FloatList>
6435 * lyxtextclass.C: include FloatList.h
6436 (LyXTextClass): initialize floatlist_
6437 (TextClassTags): add TC_NOFLOAT
6438 (Read): match "nofloat" to TC_NOFLOAT and use it.
6439 (readFloat): modify call to floatlist_
6443 * FloatList.[Ch] (FloatList): remove commented out float
6445 (erase): new function
6447 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6449 * MenuBackend.C (expandToc): fix crash when there is no document
6452 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6454 * many files: Add insetwrap.
6456 2002-09-09 John Levon <levon@movementarian.org>
6458 * text2.C: remove confusing and awkward depth wraparound
6460 2002-09-09 John Levon <levon@movementarian.org>
6462 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6465 * buffer.C: remove getIncludeonlyList()
6468 * lyxfunc.C: remove headers
6470 2002-09-09 Juergen Vigna <jug@sad.it>
6472 * text.C (getColumnNearX): fix form Michael this is most
6473 probably a cut&paste bug.
6475 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6477 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6479 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6480 references, ws changes.
6482 * text2.C (init): update counters after init
6483 (insertParagraph): no need to set counter on idividual paragraphs.
6484 (setCounter): access the counters object in the textclass object
6485 on in the buffer object.
6486 (updateCounters): ditto
6488 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6489 shared_ptr<Counters> to avoid loading counters.h in all
6491 (LyXTextClass): initialize ctrs_
6492 (TextClassTags): add TC_COUNTER, and ...
6493 (Read): use it here.
6494 (CounterTags): new tags
6495 (readCounter): new function
6496 (counters): new funtion
6497 (defaultLayoutName): return a const reference
6499 * counters.C (Counters): remove contructor
6500 (newCounter): remove a couple of unneeded statements.
6501 (newCounter): simplify a bit.
6502 (numberLabel): some small formatting changes.
6504 * buffer.[Ch]: remove all traces of counters, move the Counters
6505 object to the LyXTextClass.
6507 2002-09-06 Alain Castera <castera@in2p3.fr>
6509 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6510 package to set the horizontal alignment on fixed width columns.
6513 * lyx_sty.h: added tabularnewline macro def.
6515 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6517 2002-09-06 John Levon <levon@movementarian.org>
6519 * LyXAction.C: tooltips for sub/superscript
6521 * MenuBackend.C: a bit more verbose
6523 * lyxfunc.C: tiny clean
6525 * undo_funcs.C: document undo_frozen
6527 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6529 * counters.C (Counters): add missing algorithm counter.
6531 * text2.C (setCounter): lookup the counter with layouts latexname
6532 instead of by section number.
6533 (setCounter): use a hackish way to lookup the correct enum
6535 a float name->type change
6536 reset enum couners with counter name directly instead of depth value.
6538 * counters.C (Counters): remove the push_backs, change to use the
6539 float type not the float name.
6540 (labelItem): remove unused string, float name->type change
6542 * counters.h: don't include vector, loose the enums and sects vectors
6544 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6546 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6547 (Read): add float->TC_FLOAT to textclassTags
6548 (Read): and handle it in the switch
6549 (readFloat): new function
6551 * FloatList.C (FloatList): comment out the hardcoded float
6554 * lyxlayout.h: ws change.
6556 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6558 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6560 2002-09-03 Angus Leeming <leeming@lyx.org>
6562 * BufferView_pimpl.h: qualified name is not allowed in member
6563 declaration: WorkArea & Pimpl::workarea() const;
6565 * factory.C: added using std::endl directive.
6567 * text3.C: added using std::find and std::vector directives.
6569 2002-08-29 André Pönitz <poenitz@gmx.net>
6572 * text2.C: remove unused member number_of_rows
6575 * BufferView2.C: remove file, move contents to...
6576 * BufferView.C: ... here
6578 * BufferView_pimpl.C:
6579 * factory.C: move more inset creation to factory
6581 * vspace.C: avoid direct usage of LyXText, ws changes
6584 don't provide direct access to WorkArea, use two simple
6585 acessors haveSelction() and workHeight() instead
6588 2002-08-29 John Levon <levon@movementarian.org>
6590 * BufferView_pimpl.C (dispatch): do not continue when
6593 2002-08-28 André Pönitz <poenitz@gmx.net>
6595 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6598 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6600 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6602 * buffer.C: increment LYX_FORMAT to 221
6604 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6605 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6607 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6609 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6611 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6613 * factory.C (createInset): use LyXTextClass::floats
6615 * MenuBackend.C (expandFloatListInsert):
6616 (expandFloatInsert):
6619 * text2.C (setCounter):
6621 * LaTeXFeatures.C (useFloat):
6622 (getFloatDefinitions):
6624 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6626 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6627 floatlist_, with accessor floats().
6629 * FloatList.h: remove global FloatList
6631 2002-08-26 André Pönitz <poenitz@gmx.net>
6633 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6637 * BufferView_pimpl.C:
6638 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6640 2002-08-25 John Levon <levon@movementarian.org>
6642 * LyXAction.C: fix margin note description
6644 2002-08-24 John Levon <levon@movementarian.org>
6648 * bufferview_funcs.C:
6650 * undo_funcs.C: cleanups
6652 * lyxfunc.C: disable CUT/COPY when no selection
6654 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6656 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6657 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6659 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6660 Add backward compatibility to "mono", "gray" and "no".
6662 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6664 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6665 (and file_format >= 200).
6667 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6669 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6671 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6673 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6675 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6677 * BufferView_pimpl.C:
6684 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6685 inset and code to make it work with the paragraph code. The inset
6686 can be anywhere in the paragraph, but will only do the expected
6687 thing in LaTeX if the layout file contains the parameter line
6689 (or more generally, a nonzero value) for that layout.
6691 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6693 * paragraph.h: remove the declaration of undefined counters class
6696 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6698 * text2.C (setCounter): fixed enumeration mis-count as reported by
6699 Dr. Richard Hawkins.
6701 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6703 * paragraph_funcs.h: remove some unneeded includes
6705 * text.C (backspace): pasteParagraph now in global scipe
6707 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6708 (pasteSelection): ditto
6710 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6711 * paragraph_funcs.C (pasteParagraph): ... here
6713 2002-08-20 André Pönitz <poenitz@gmx.net>
6715 * commandtags.h: new LFUNs for swapping/copying table row/colums
6718 * lyxfunc.C: support for new lfuns
6720 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6723 * buffer.[Ch]: remove NO_COMPABILITY stuff
6725 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6727 * boost.C (throw_exception): new file, with helper function for
6728 boost compiled without exceptions.
6733 * ParameterStruct.h:
6734 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6736 * bufferlist.C (emergencyWriteAll): use boost bind
6738 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6740 * text.C: include paragraph_funcs.h
6741 (breakParagraph): breakParagraph is now in global scope
6743 * paragraph_funcs.[Ch]: new files
6745 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6748 * buffer.C: include paragraph_funcs.h
6749 (insertStringAsLines): breakParagraph is now in global scope
6751 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6754 * CutAndPaste.C: include paragraph_funcs.h
6755 (cutSelection): breakParagraphConservative is now in global scope
6756 (pasteSelection): ditto
6758 * buffer.h: declare oprator== and operator!= for
6759 Buffer::inset_iterator
6761 * bufferlist.C (emergencyWrite): don't use fmt(...)
6763 * text3.C: add using std::endl
6765 * BufferView.C (moveCursorUpdate): remove default arg
6767 2002-08-20 André Pönitz <poenitz@gmx.net>
6769 * buffer.[Ch]: move inline functions to .C
6772 * BufferView_pimpl.C:
6774 * buffer.[Ch]: use improved inset_iterator
6777 * paragraph.[Ch]: write one paragraph at a time
6779 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6781 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6782 style if style is not specified.
6784 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6786 * text2.C (setCounter): when searching for right label for a
6787 caption, make sure to recurse to parent insets (so that a caption
6788 in a minipage in a figure float works) (bug #568)
6790 2002-08-20 André Pönitz <poenitz@gmx.net>
6792 * text3.C: new file for LyXText::dispatch() and helpers
6794 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6796 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6798 2002-08-19 André Pönitz <poenitz@gmx.net>
6801 * text.C: new LyXText::dispatch()
6803 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6805 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6807 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6809 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6812 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6814 * Makefile.am: use $(variables) instead of @substitutions@
6816 2002-08-15 André Pönitz <poenitz@gmx.net>
6819 * BufferView_pimpl.C: streamlining mathed <-> outer world
6823 * LyXAction.C: remove unused LFUN_MATH
6825 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6827 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6829 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6831 * paragraph.C (Paragraph): reformat a bit
6832 (cutIntoMinibuffer): use builtin InsetList function instad of
6836 * buffer.C: include boost/bind.hpp, add using std::for_each
6837 (writeFileAscii): use ParagraphList iterators
6838 (validate): use for_each for validate traversal of paragraphs
6839 (getBibkeyList): use ParagraphList iterators
6840 (resizeInsets): use for_each to resizeInsetsLyXText for all
6842 (getParFromID): use ParagraphList iterators
6844 * BufferView2.C (lockInset): use paragraph list and iterators
6846 2002-08-14 John Levon <levon@movementarian.org>
6848 * lyxserver.C: remove spurious xforms include
6850 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6852 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6854 2002-08-13 André Pönitz <poenitz@gmx.net>
6857 * lyxfunc.C: further cleaning
6859 2002-08-13 André Pönitz <poenitz@gmx.net>
6861 * funcrequest.h: new constructor
6863 * funcrequest.C: move stuff here from .h
6866 * BufferView_pimpl.C:
6869 * lyxfunc.C: subsequent changes
6871 * lyxfunc.h: new view() member function
6873 * lyxfunc.C: subsequent changes
6875 2002-08-13 Angus Leeming <leeming@lyx.org>
6878 * BufferView_pimpl.C:
6886 changes due to the changed LyXView interface that now returns references
6887 to member variables not pointers.
6889 2002-08-13 Angus Leeming <leeming@lyx.org>
6891 * WordLangTuple (word, lang_code): return references to strings,
6896 * lyxtext.h: forward-declare WordLangTuple.
6901 * text.C: #include "WordLangTuple.h".
6904 * text.C: (selectNextWordToSpellcheck): constify return type.
6906 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6912 * paragraph_pimpl.h:
6915 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6917 Made updateCounter always count from start of buffer, and removed
6918 second argument (par).
6919 Reverted floats number display to '#'. Perhaps I'll try again when the
6920 code base is sanitized a bit.
6922 2002-08-12 Angus Leeming <leeming@lyx.org>
6924 * buffer.[Ch] (getLabelList): constify.
6926 2002-08-07 André Pönitz <poenitz@gmx.net>
6928 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6930 * funcrequest.h: extension to keep mouse (x,y) position
6932 2002-08-12 Juergen Vigna <jug@sad.it>
6934 * BufferView2.C (insertErrors): forbid undo when inserting error
6937 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6939 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6941 * ParagraphList.[Ch]: new files
6943 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6945 * BufferView2.C (lockInset): ParagraphList changes
6948 * bufferlist.C: ditto
6952 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6954 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6955 unused class variable counter_,
6957 * paragraph.[Ch] (getFirstCounter): delete unused function
6959 * counters.C: include LAssert.h
6960 (reset): add a new function with no arg, change other version to
6961 not have def. arg and to not allow empty arg.
6963 * text2.C (setCounter): remove empty arg from call to Counters::reset
6965 2002-08-11 John Levon <levon@movementarian.org>
6967 * Makefile.am: add WordLangTuple.h
6969 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6971 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6972 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6974 * insets/insettext.C: InsetList changes
6976 * graphics/GraphicsSupport.C (operator()): InsetList changes
6978 * toc.C (getTocList): InsetList changes
6980 * paragraph_pimpl.[Ch]: InsetList changes
6982 * paragraph.[Ch]: InsetList changes
6984 * buffer.C (inset_iterator): InsetList changes
6985 (setParagraph): ditto
6986 * buffer.h (inset_iterator): ditto
6987 * iterators.C (operator++): ditto
6988 * iterators.h: ditto
6990 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6992 * InsetList.[Ch]: new files, most InsetList handling moved out of
6995 * BufferView2.C (removeAutoInsets): InsetList changes
6997 (ChangeInsets): ditto
6999 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7001 * paragraph_pimpl.h (empty): new function
7003 * paragraph.[Ch] (empty): new function
7005 * other files: use the new Paragraph::empty function
7007 2002-08-09 John Levon <levon@movementarian.org>
7009 * lyxtext.h: remove unused refresh_height
7011 2002-08-09 John Levon <levon@movementarian.org>
7018 * paragraph.C: move sgml char escaping out of paragraph
7021 * paragraph.C: remove id setter
7025 * paragraph_pimpl.C: remove dead tex_code_break_column
7027 * bufferview_funcs.C: small cleanup
7029 * lyxfunc.C: remove dead proto
7031 * lyxtext.h: make some stuff private. Remove some dead stuff.
7033 * lyxgluelength.C: make as[LyX]String() readable
7035 2002-08-08 John Levon <levon@movementarian.org>
7040 * ToolbarDefaults.C:
7043 * toc.C: lyxaction cleanup
7045 2002-08-08 John Levon <levon@movementarian.org>
7047 * BufferView2.C: small cleanup
7050 * lyxfind.C: move unnecessary header into the .C
7052 2002-08-08 John Levon <levon@movementarian.org>
7054 * funcrequest.h: just tedious nonsense
7057 * lyx_main.C: cleanups
7060 * vspace.C: remove dead header lyx_main.h
7062 2002-08-07 Angus Leeming <leeming@lyx.org>
7065 * paragraph_pimpl.h:
7066 Forward declare class Counters in paragraph.h by moving the ctrs member
7067 variable into Paragraph::Pimpl.
7068 (counters): new method, returning a reference to pimpl_->ctrs.
7070 * text2.C: ensuing changes.
7072 2002-08-07 John Levon <levon@movementarian.org>
7074 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7076 * BufferView_pimpl.C: announce X selection on double/triple
7079 * lyx_main.C: use correct bool in batch dispatch
7081 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7083 2002-08-07 André Pönitz <poenitz@gmx.net>
7085 * funcrequest.h: new class to wrap a kb_action and its argument
7088 * BufferView_pimpl[Ch]:
7092 * lyxrc.C: subsequent changes
7095 2002-08-07 John Levon <levon@movementarian.org>
7097 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7098 document options change.
7100 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7105 * makefile.am: move counters functionality over from
7106 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7108 2002-08-06 John Levon <levon@movementarian.org>
7110 * WordLangTuple.h: new file for word + language code tuple
7121 * BufferView2.C: use WordLangTuple
7124 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7126 2002-08-06 John Levon <levon@movementarian.org>
7128 * lyx_main.C: fix cmdline batch handling
7130 2002-08-06 André Pönitz <poenitz@gmx.net>
7132 * lyxrc.C: set default for show_banner to true
7134 2002-08-06 John Levon <levon@movementarian.org>
7136 * pspell.C: fix a crash, and allow new aspell to work
7138 2002-08-06 John Levon <levon@movementarian.org>
7141 * kbmap.C: small cleanup
7144 * vspace.C: add const
7146 2002-08-05 John Levon <levon@movementarian.org>
7148 * LyXAction.C: back to tabular-insert
7150 2002-08-04 John Levon <levon@movementarian.org>
7153 * BufferView.C: cosmetic change
7155 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7165 * BufferView2.C: purge all "Lyx" not "LyX" strings
7168 * lyxcursor.C: attempt to add some documentation
7173 * ToolbarDefaults.C:
7174 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7175 merge with LFUN_TABULAR_INSERT
7182 * pspell.C: split up i/pspell implementations into separate
7183 files, many cleanups
7185 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7187 * text2.C: some cleanup
7189 * lyxfunc.C: don't check for isp_command == "none" any more, it
7190 didn't make any sense
7192 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7197 * makefile.am: move counters functionality over
7198 from text2.C/paragraph.[Ch] to counters.[Ch], and
7200 2002-08-02 John Levon <levon@movementarian.org>
7202 * buffer.C: s/lyxconvert/lyx2lyx/
7204 2002-08-02 Angus Leeming <leeming@lyx.org>
7206 * lyxlex.C: revert John's change as it breaks reading of the user
7209 2002-08-02 Angus Leeming <leeming@lyx.org>
7211 * importer.C (Import):
7212 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7213 changes due to LyXView::view() now returning a boost::shared_ptr.
7215 2002-08-02 John Levon <levon@movementarian.org>
7217 * lyxlex.C: small cleanup
7219 2002-08-02 John Levon <levon@movementarian.org>
7221 * text2.C (status): small cleanup, no logic change
7223 2002-08-01 John Levon <levon@movementarian.org>
7226 * buffer.C (writeFile): don't output alerts, caller
7230 * lyx_cb.C: from above
7232 * lyxfunc.C: allow to open non-existent files
7234 2002-07-31 John Levon <levon@movementarian.org>
7236 * lyxserver.C: don't let incidental errors get
7239 2002-07-30 John Levon <levon@movementarian.org>
7241 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7243 2002-07-30 John Levon <levon@movementarian.org>
7246 * lyxserver.C: remove I/O callback too
7248 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7250 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7253 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7255 * many files: strip,frontStrip -> trim,ltrim,rtrim
7257 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7259 * PrinterParams.h: remove extern containsOnly, and include
7260 support/lstrings.h instead.
7262 * LaTeX.C (scanAuxFile): modify because of strip changes
7264 * buffer.C (makeLaTeXFile): ditto
7265 * bufferparams.C (writeFile): ditt
7266 * lyxfont.C (stateText): ditto
7267 * lyxserver.C (read_ready): ditto
7268 * vc-backend.C (scanMaster): ditto
7270 * BufferView_pimpl.h: ws changes
7272 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7274 2002-07-26 André Pönitz <poenitz@gmx.net>
7276 * kb_sequence.C: remove unnedred usings
7278 2002-07-26 Juergen Vigna <jug@sad.it>
7280 * lyxfind.C (LyXReplace): we have to check better if the returned
7281 text is not of theLockingInset()->getLockingInset().
7283 2002-07-25 Juergen Vigna <jug@sad.it>
7285 * lyxfind.C (LyXReplace): don't replace if we don't get the
7288 * undo_funcs.C (createUndo): remove debugging code.
7290 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7292 * buffer.C (parseSingleLyXformat2Token): Use default placement
7293 when reading old floats.
7295 * FloatList.C (FloatList): Change the default placement of figure
7296 and tables to "tbp".
7298 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7300 * MenuBackend.C: using std::max
7302 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7304 * MenuBackend.C (expandToc):
7305 (expandToc2): code moved from xforms menu frontend. It is now
7306 generic and TOCs are transparent to menu frontends.
7308 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7310 * toc.C (getTocList): protect against buf=0
7312 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7313 Menu as first parameter. Now, this calls itself recursively to
7314 expand a whole tree (this will be useful for TOC handling)
7315 (expandFloatInsert): remove 'wide' version of floats
7317 * MenuBackend.h (submenuname): returns the name of the submenu.
7318 (submenu): returns the submenu itself, provided it has been
7319 created by MenuBackend::expand
7321 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7323 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7324 insets which have noFontChange == true. (bug #172)
7326 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7328 * BufferView_pimpl.C: add connection objects and use them...
7331 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7333 * MenuBackend.C (expandLastfiles):
7336 (expandFloatListInsert):
7337 (expandFloatInsert):
7338 (expand): split expand in parts
7340 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7342 * lyx_gui.C: use lyx_gui::exit()
7344 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7346 * LyXAction.C: show the failing pseudo action
7348 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7350 * buffer.C (readFile): Run the lyxconvert script in order to read
7353 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7357 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7359 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7363 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7365 2002-07-22 Herbert Voss <voss@lyx.org>
7368 * lyxlength.[Ch]: add support for the vertical lengths
7370 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7372 * toc.[Ch]: std:: fixes
7374 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7376 * lyxrc.C: do not include lyx_main.h
7378 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7384 * BufferView2.C: include "lyxlex.h"
7387 * bufferparams.h: do not #include "lyxlex.h"
7389 * lyxtextclasslist.C (Add): remove method
7390 (classlist): renamed to classlist_
7392 * paragraph_pimpl.C:
7396 * bufferview_funcs.C:
7401 * toc.C (getTocList): use BufferParams::getLyXTextClass
7403 * toc.C (getTocList): use InsetFloat::addToToc
7405 * toc.[Ch]: new files, containing helper functions to handle table
7408 * lyxfunc.C (dispatch): no need to remove spaces around command
7410 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7411 first command of the sequence; it is not very clever, but I do not
7412 have a better idea, actually
7414 * LyXAction.C (LookupFunc): make sure to remove space at the
7415 beginning and end of the command
7417 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7419 * MenuBackend.C (getMenubar): new method: return the menubar of
7421 (read): treat differently reading of menu and menubar (in
7422 particular, the menubar has no name now)
7423 (Menu::menubar): remove
7425 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7428 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7430 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7431 a bibitem inset in a RTL paragraph.
7433 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7435 * paragraph_pimpl.C: constify
7437 * BufferView_pimpl.C:
7439 * lyxfunc.C: fix dispatch in a nicer way
7441 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7443 * lyxfunc.C (dispatch):
7444 * BufferView_pimpl.C:
7445 * BufferView_pimpl.h:
7447 * BufferView.h: rename Dispatch() to dispatch()
7449 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7451 * lyxlayout.C (Read): honor DependsOn tag
7453 * lyxlayout.[Ch] (depends_on): new method
7455 * version.C.in: update lyx_docversion
7457 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7459 * paragraph.C (validate): remove from here...
7460 * paragraph_pimpl.C (validate): ... and move here
7461 (isTextAt): make it const
7463 * buffer.C (getLists): ws cleanup
7465 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7467 * language.C (read): Use iso8859-1 encoding in latex_lang
7468 (this prevents LyX from crashing when using iso10646-1 encoding).
7470 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7472 * text2.C (toggleInset): if cursor is inside an inset, close the
7473 inset and leave cursor _after_ it
7475 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7477 * lyxfunc.C: move minibuffer completion handling out of here
7479 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7481 * BufferView_pimpl.C:
7482 * LaTeX.C: fix dispatch calls
7484 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7486 * text.C (drawChars): Fix Arabic text rendering.
7488 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7492 * lyxfunc.C: remove message-push/pop
7496 * lyxfunc.C: rationalise some code by removing verboseDispatch
7497 in favour of a bool argument to dispatch()
7499 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7501 * lyx_main.C (init): make sure to read symlinks as absolute paths
7503 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7506 * lyxfunc.C: no need for commandshortcut to be a member
7508 2002-07-15 André Pönitz <poenitz@gmx.net>
7510 * converter.C: add support for $$s (scripts from lib/scripts dir)
7511 * lyx_main.C: white space
7513 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7517 * lyxrc.C: remove second exit confirmation
7519 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7524 * BufferView_pimpl.h:
7525 * BufferView_pimpl.C:
7526 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7528 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7530 * MenuBackend.C (expand): add numeric shortcuts to document menu
7532 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7534 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7536 * lyxfont.C (setLyXFamily):
7543 * buffer.C (asciiParagraph): use ascii_lowercase
7545 2002-07-15 Mike Fabian <mfabian@suse.de>
7547 * lyxlex_pimpl.C (search_kw):
7548 * lyxlex.C (getLongString):
7549 * converter.h (operator<):
7550 * converter.C (operator<):
7551 * buffer.C (parseSingleLyXformat2Token):
7553 * ToolbarDefaults.C (read):
7554 * MenuBackend.C (checkShortcuts):
7556 * LColor.C (getFromGUIName):
7557 (getFromLyXName): use the compare_ascii_no_case instead of
7558 compare_no_case, because in turkish, 'i' is not the lowercase
7559 version of 'I', and thus turkish locale breaks parsing of tags.
7561 2002-07-16 Angus Leeming <leeming@lyx.org>
7563 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7564 now takes a Buffer const & argument.
7566 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7568 * BufferView.C (resize): check there's a buffer to resize
7570 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7572 * lyxfunc.C: remove dead code
7575 * lyxserver.C: use lyx_guii::set_read_callback
7577 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7579 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7580 an inset in a RTL paragraph.
7582 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7584 * lyxfunc.C: repaint after a font size update
7586 2002-07-15 André Pönitz <poenitz@gmx.net>
7588 * lyxlength.C: inBP should be able to return negative values
7590 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7592 * lyxfunc.C: use lyx_gui::update_fonts()
7594 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7596 * lyxfunc.C: use lyx_gui::update_color()
7598 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7604 * lyxrc.C: remove file->new asks for name option, and let
7605 buffer-new take an argument
7607 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7609 * BufferView_pimpl.C: remove unneeded extra repaint()
7611 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7613 * LyXAction.C: allow command-sequence with NoBuffer
7615 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7617 2002-07-10 Angus Leeming <leeming@lyx.org>
7619 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7621 2002-07-09 Angus Leeming <leeming@lyx.org>
7623 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7625 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7627 * lengthcommon.h: whitespace
7629 * lyxfunc.C: update scrollbar after goto paragraph
7631 * lyxtext.h: factor out page break drawing, and fix it so
7632 page break/added space paints as selected nicely
7634 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7636 * BufferView_pimpl.C: add FIXMEs, clean up a little
7638 2002-07-09 André Pönitz <poenitz@gmx.net>
7640 * lyxfont.[Ch]: support for wasy symbols
7642 2002-07-08 André Pönitz <poenitz@gmx.net>
7644 * BufferView_pimpl.C: apply John's patch for #93.
7646 2002-07-05 Angus Leeming <leeming@lyx.org>
7648 * BufferView_pimpl.C (buffer): generate previews if desired.
7650 * LColor.h: add "preview" to the color enum.
7652 * LColor.C (LColor): add a corresponding entry to the items array.
7654 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7657 2002-07-05 Angus Leeming <leeming@lyx.org>
7659 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7660 The body of the code is now in the method that is passed an ostream &
7661 rather than a file name.
7662 Pass an additional only_preamble parameter, useful for the forthcoming
7665 2002-07-03 André Pönitz <poenitz@gmx.net>
7667 * lyxfunc.C: simplify getStatus() a bit for math stuff
7669 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7671 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7673 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7675 * text.C (changeRegionCase): do not change case of all the
7676 document when region ends at paragraph end (bug #461)
7678 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7680 * paragraph.C (startTeXParParams):
7681 (endTeXParParams): add \protect when necessary
7683 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7685 * BufferView_pimpl.C (workAreaExpose): remove warning
7687 2002-06-27 Angus Leeming <leeming@lyx.org>
7689 * Makefile.am: add lyxlayout_ptr_fwd.h.
7691 2002-06-26 André Pönitz <poenitz@gmx.net>
7693 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7695 2002-06-25 Angus Leeming <leeming@lyx.org>
7697 * lyxfunc.C (dispatch): Comment out the call to
7698 grfx::GCache::changeDisplay. The method no longer exists now that the
7699 pixmap generation part of the graphics loader has been moved into
7702 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7704 * text2.C: layout as layout
7706 * text.C: layout as layout
7708 * tabular.C (OldFormatRead): layout as layout
7710 * paragraph_pimpl.C (TeXDeeper): layout as layout
7711 (realizeFont): layout as layout
7713 * paragraph.C (writeFile): layout as layout
7714 (validate): layout as layout
7715 (getFont): layout as layout
7716 (getLabelFont): layout as layout
7717 (getLayoutFont): layout as layout
7718 (breakParagraph): layout as layout
7719 (stripLeadingSpaces): layout as layout
7720 (getEndLabel): layout as layout
7721 (getMaxDepthAfter): layout as layout
7722 (applyLayout): layout as layout
7723 (TeXOnePar): layout as layout
7724 (simpleTeXOnePar): layout as layout
7725 (TeXEnvironment): layout as layout
7726 (layout): layout as layout
7727 (layout): layout as layout
7729 * lyxtextclass.C (compare_name): new functor to work with
7730 shared_ptr, layout as layout
7731 (Read): layout as layout
7732 (hasLayout): layout as layout
7733 (operator): layout as layout
7734 (delete_layout): layout as layout
7735 (defaultLayout): layout as layout
7737 * lyxlayout_ptr_fwd.h: new file
7739 * lyxlayout.C (Read): layout as layout
7741 * lyx_cb.C (MenuInsertLabel): layout as layout
7743 * bufferlist.C (newFile): layout as layout
7745 * buffer.C (readLyXformat2): layout as layout
7746 (parseSingleLyXformat2Token): layout as layout
7747 (insertStringAsLines): layout as layout
7748 (asciiParagraph): layout as layout
7749 (latexParagraphs): layout as layout
7750 (makeLinuxDocFile): layout as layout
7751 (simpleLinuxDocOnePar): layout as layout
7752 (makeDocBookFile): layout as layout
7753 (simpleDocBookOnePar): layout as layout
7754 (getLists): layout as layout
7756 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7758 * CutAndPaste.C (cutSelection): layout as layout
7759 (pasteSelection): layout as layout
7760 (SwitchLayoutsBetweenClasses): layout as layout
7762 * BufferView_pimpl.C (Dispatch): layout as layout
7763 (smartQuote): layout as layout
7765 * BufferView2.C (unlockInset): layout as layout
7767 2002-06-24 André Pönitz <poenitz@gmx.net>
7769 * lyxfunc.C: fix #487
7771 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7775 * lyxfunc.C: remove display_shortcuts, show_banner
7777 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7779 * Buffer_pimpl.C: oops, update on resize
7781 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7788 * BufferView.C: use repaint()
7790 * BufferView_pimpl.h:
7791 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7792 as it's a clearer description. Remove superfluous
7795 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7797 * text.C: fix bug 488. Not ideal, but getting
7798 getWord() to work properly for the insets that
7799 matter is more difficult ...
7801 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7803 * BufferView_pimpl.C:
7806 * lyxfunc.C: remove the six million index lyxfuncs to just
7807 one, and DTRT (bug 458)
7809 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7813 * BufferView_pimpl.h:
7814 * BufferView_pimpl.C: clean up resize() stuff,
7815 and unnecessary updateScreen()s
7817 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7821 * BufferView_pimpl.h:
7822 * BufferView_pimpl.C:
7825 * minibuffer.C: remove focus management of workarea,
7826 not needed. Use screen's greyOut()
7828 2002-06-17 Herbert Voss <voss@lyx.org>
7830 * converter.C: (convert) do not post a message, when converting
7831 fails, let the calling function decide what to do in this case
7833 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7835 * lyxfunc.C: tidy up a little
7837 2002-06-16 <alstrup@diku.dk>
7839 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7840 Got rid of FORMS_H_LOCATION include. Now we are
7843 2002-06-15 LyX Development team <lyx@rilke>
7845 * buffer.[Ch] (sgmlOpenTag):
7846 (sgmlCloseTag): Added support for avoiding pernicious mixed
7847 content. Return number of lines written.
7850 (makeDocBookFile): Fixed calls to sgml*Tag.
7851 Simple white space clean.
7853 (simpleDocBookOnePar): Simple white space clean.
7855 * tabular.[Ch] (docBook): Renamed to docbook and got another
7856 argument to related with the pernicious mixed content.
7858 (docbookRow): Fixed calls for docbook inset method.
7860 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7862 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7863 so it's X11 independent.
7867 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7869 2002-06-15 Lyx Development team <lyx@electronia>
7871 * intl.h: Renamed getTrans to getTransManager.
7873 2002-06-14 Angus Leeming <leeming@lyx.org>
7875 * Makefile.am: nuke forgotten stl_string_fwd.h.
7877 2002-06-12 Angus Leeming <leeming@lyx.org>
7879 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7881 2002-06-13 Angus Leeming <leeming@lyx.org>
7884 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7886 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7888 * kbmap.C (getiso): add support for cyrillic and greek
7890 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7894 * BufferView_pimpl.h:
7895 * BufferView_pimpl.C: move bogus scrolling logic
7898 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7901 * BufferView_pimpl.C: view->resize() change
7903 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7905 * BufferView_pimpl.C: topCursorVisible
7908 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7912 * lyx_gui.C: move to frontends/
7916 * lyx_main.C: changes from above
7918 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7925 * lyx_main.C: minor tidy
7927 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7929 * BufferView_pimpl.h:
7930 * BufferView_pimpl.C:
7932 * BufferView.C: make painter() const,
7935 * BufferView2.C: use screen() accessor
7938 * lyx_main.C: some minor cleanup
7940 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7942 * BufferView_pimpl.h:
7943 * BufferView_pimpl.C: remove enter/leaveView,
7946 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7951 * BufferView_pimpl.h:
7952 * BufferView_pimpl.C: only construct screen once,
7955 * lyxrc.C: remove pointless comment
7957 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7960 * BufferView.C: remove active() and belowMouse()
7962 * BufferView_pimpl.h:
7963 * BufferView_pimpl.C: use workarea() not workarea_,
7964 and make it use a scoped_ptr instead
7966 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7968 * lyx_gui.C: add debug message on BadWindow
7970 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7972 * sp_spell.C: fdopen is not part of the C++ standard.
7974 * paragraph.C (InsetIterator): use >= instead of ==
7976 2002-06-07 Angus Leeming <leeming@lyx.org>
7978 Fixes needed to compile with Compaq cxx 6.5.
7979 * BufferView_pimpl.C:
7986 * lyxtextclasslist.C:
7991 all c-library variables have been moved into namespace std. Wrap
7992 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7997 Add a using std::abs declaration.
7999 * kbmap.h (modifier_pair):
8000 * paragraph.h (InsetTable, InsetList):
8001 * lyxfont.h (FontBits):
8002 type definition made public.
8004 * bufferlist.C (emergencyWriteAll): the compiler complains that
8005 there is more than one possible lyx::class_fun template to choose from.
8006 I re-named the void specialisation as lyx::void_class_fun.
8008 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8010 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8011 the compiler is is unable to find tostr in write_attribute.
8013 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8015 * buffer.C (sgmlError): hide #warning
8017 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8019 * xtl/*: get rid of xtl, which is not in use anyway
8021 * LyXAction.C (init):
8022 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8023 were unimplemented xtl experimentation
8025 2002-06-04 André Pönitz <poenitz@gmx.net>
8027 * lyxfunc.C: disable array operation on simple formulae
8029 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8031 * converter.C: constify a bit
8033 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8035 * lyx_gui.C: check xforms version correctly
8037 2002-04-30 Herbert Voss <voss@lyx.org>
8039 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8042 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8044 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8045 attempt to register it with a VCS)
8047 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8049 * lyx_main.C (init): honor variables LYX_DIR_13x and
8052 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8056 * lyx_main.C: fix a crash on bad command line,
8057 and give a useful exit status on error
8059 * lyxfunc.C (doImport): allow -i lyx to work
8061 2002-03-30 André Pönitz <poenitz@gmx.net>
8063 * lyxfunc.C: mathed font changes
8065 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8080 * trans_mgr.h: srcdocs, and some minor cleanups
8082 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8084 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8085 call getFont all the time)
8087 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8089 * switch from SigC signals to boost::signals
8091 2002-05-29 André Pönitz <poenitz@gmx.net>
8093 * paragraph_pimpl.C (getChar): don't call size() too often...
8095 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8097 * paragraph_pimpl.C (insertChar): do not try to update tables when
8098 appending (pos == size())
8100 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8101 in order to reduce drastically the number of comparisons needed to
8102 parse a large document
8104 2002-05-29 André Pönitz <poenitz@gmx.net>
8110 * textclasslist.[Ch]:
8111 * sp_ispell.h: whitespace change
8113 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8115 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8116 lyxaction directly now.
8118 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8122 * lyxvc.C: remove unused headers
8124 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8131 * undo_funcs.C: some cleanups. Use shared_ptr
8132 and a template for the undo stacks.
8134 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8136 * BufferView_pimpl.h:
8137 * BufferView_pimpl.C:
8144 * text2.C: use key_state/mouse_state
8146 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8148 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8151 * chset.C: change include order
8152 (loadFile): use boost regex and get rid of LRegex and LSubstring
8154 * Makefile.am (BOOST_LIBS): new variable
8157 * LaTeX.C: change include order.
8158 (scanAuxFile): use boost regex and get rid of LRegex and
8162 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8167 * FontInfo.C: moved to frontends/xforms/
8170 * FontLoader.C: moved into frontends for GUIIzation
8175 * lyxfunc.C: changes from above
8177 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8179 * LColor.C: remove spurious X include
8181 * BufferView_pimpl.C:
8186 * text2.C: move font metrics to frontends/
8188 2002-05-24 Juergen Vigna <jug@sad.it>
8190 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8191 setting the undo_cursor.
8193 * ParagraphParameters.h: include local includes first.
8195 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8197 * BufferView_pimpl.C:
8198 * BufferView_pimpl.h:
8202 * screen.C: move WorkArea into frontends/
8208 * BufferView2.C: move LyXScreen into frontends/
8212 * lyx_gui.C: move lyxlookup into frontends/xforms/
8214 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8217 * BufferView_pimpl.C:
8227 * bufferview_funcs.C:
8240 * vc-backend.C: move LyX/XFormsView into frontends/
8242 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8254 * text2.C: move Painter to frontends/
8256 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8258 * buffer.C: comment out some some code that depend upon lyx_format
8261 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8262 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8264 * buffer.h (NO_COMPABILITY): turn off compability
8266 * ColorHandler.C: include scoped_array.hpp
8268 * font.C: Use more specific smart_ptr header.
8271 * ShareContainer.h: ditto
8275 * BufferView_pimpl.h: ditto
8276 * ColorHandler.h: ditto
8278 * kbmap.C (defkey): change call to shared_ptr::reset
8280 2002-05-21 Juergen Vigna <jug@sad.it>
8282 * buffer.C (insertErtContents): fix to insert ert asis if it is
8283 non empty. Skip it completely if it contains only whitespaces.
8285 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8287 * BufferView_pimpl.C:
8288 * BufferView2.C: clear selection on paste (bug 393)
8290 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8292 * DepTable.C: include ctime
8294 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8296 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8298 2002-05-14 Juergen Vigna <jug@sad.it>
8300 * text.C (breakParagraph): fixed function to honor the keepempty
8301 layout in the right maner and also to permit the right breaking
8302 algorithm on empty or non empyt keepempty paragraphs.
8304 * paragraph.C (breakParagraph): we have to check also if the par
8305 is really empty (!size()) for isempty otherwise we do the wrong
8308 2002-05-10 Juergen Vigna <jug@sad.it>
8310 * buffer.[Ch] : The following are only changes to the ert
8311 compatibility read reading old LaTeX layout and font stuff and
8312 convert it to ERTInsets.
8314 * buffer.h: added isErtInset().
8316 * buffer.C (struct ErtComp): add a fromlayout bool to check
8317 if we're inside a LaTeX layout.
8318 (isErtInset): new helper function.
8319 (insertErtContents): look for other ert insets before this one
8320 and insert the contents there, so that we don't have subsequent
8321 ERT insets with nothing between them. This way we create only one
8322 inset with multiple paragraphs. Also check if we don't insert only
8323 spaces ' ' as they are ignored anyway afterwards in the .tex file
8324 so if we have only spaces we will ignore this latex part in the
8326 (parseSingleLyXformat2Token \\layout): better compatibility when
8327 reading layout-latex stuff.
8328 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8330 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8331 stuff after reading the inset only get the information back from
8334 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8336 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8338 * LaTeXFeatures.C (getBabelOptions): New method.
8340 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8342 * BufferView_pimpl.C (Dispatch): work around missing argument for
8345 2002-05-08 Juergen Vigna <jug@sad.it>
8347 * text.C (leftMargin): handle paragraph leftindent.
8349 * paragraph.C (writeFile): write the new \\leftindent tag.
8350 (validate): handle leftindent code.
8351 (TeXEnvironment): handle paragraphleftindent code again.
8353 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8355 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8356 for paragrap_extra indent code and new token \\leftindent.
8357 (latexParagraphs): handle the leftindent as environment.
8359 * ParameterStruct.h: added leftindent support.
8361 * ParagraphParameters.C (leftIndent): added support functions for
8362 the paragraph left indent.
8364 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8367 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8369 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8372 * text.C (computeBidiTables): No bidi in insetERT.
8374 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8377 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8379 * version.C.in: pre 5
8381 2002-05-02 José Matos <jamatos@fep.up.pt>
8382 * buffer.C (makeDocBookFile): white space changes, add newline to
8384 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8386 * tabular.C (docBook): fix typo.
8388 2002-05-03 Juergen Vigna <jug@sad.it>
8390 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8391 change in LyXText as we can not be sure it was not freed.
8392 (drawOneRow): remove unused code.
8394 * text.C (drawInset): redo the calculation of the need_break_row as
8395 it could have a row which was already freed.
8396 (draw): look at the return value of drawInset and return false if
8397 it also returned false.
8398 (paintRowText): look at the return value of draw and return false if
8399 it also returned false.
8401 * lyxtext.h: added bool return type to drawInset() and draw() so that
8402 if we have a change in the row so that the rowbreak has to be redone
8403 we abort drawing as it will be called again.
8405 2002-05-02 Juergen Vigna <jug@sad.it>
8407 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8408 a change in the maintext also if we're inside an inset.
8409 (Dispatch): set the cursor again after a break line and after the
8410 screen has been updated as it could be we're in a different row.
8412 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8413 to set the cursor behind the pargraph with > size().
8414 (setCursor): check also for the same paragraph when checking where
8415 to put the cursor if we have a NFR inset.
8417 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8418 parts of layout read further up as it still was in the wrong
8421 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8423 * screen.C (drawFromTo): change sine fullRebreak always return
8426 * buffer.C (parseSingleLyXformat2Token): reindent some
8428 * BufferView_pimpl.C (update): change since fullRebreak always
8430 (Dispatch): git rid of the last hardcoded "Standard"s.
8432 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8434 * text2.[Ch] (fullRebreak): make it return void now that we always
8437 2002-04-30 Juergen Vigna <jug@sad.it>
8439 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8440 ert compatibility check for "latex" layout.
8442 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8444 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8445 minipages: use col% instead of p%, and also use the current font.
8446 (makeLaTeXFile): Fix use babel condition.
8447 (parseSingleLyXformat2Token): Correct font when reading old floats.
8449 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8451 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8452 inserting list of floats.
8454 2002-04-25 Herbert Voss <voss@lyx.org>
8456 * MenuBackend.C (expand): don't add the graphics extensions to the
8459 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8461 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8462 non-existing layout, do not complain if it was the default layout
8463 of the original class (bug #342)
8465 2002-04-24 Juergen Vigna <jug@sad.it>
8467 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8468 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8470 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8472 * buffer.C (getBibkeyList): If using \bibliography, return the
8473 option field with the reference itself. Enables us to provide natbib
8474 support when using \bibliography.
8476 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8478 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8480 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8481 natbib is provided by the LaTeX class.
8483 2002-04-23 Juergen Vigna <jug@sad.it>
8485 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8488 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8490 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8492 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8494 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8495 ensuremath around textordmasculine, textordfeminine and
8498 2002-04-19 Juergen Vigna <jug@sad.it>
8500 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8501 reinitializing the buffer otherwise row-dimensions may be wrong.
8502 (update): reset also the selection cursors if they do exits otherwise
8503 their x/y positions may be wrong.
8505 * text2.C (cursorDown): don't enter the inset if we came from a row
8506 above and are one row over the inset.
8508 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8509 really leaving an inset.
8511 2002-04-18 Juergen Vigna <jug@sad.it>
8513 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8514 of the selected paragraph does not have the selected layout also if
8517 * text2.C (setLayout): fixed bug which did not change last selected
8520 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8521 changed the read and substituted \\end_float with \\end_inset!
8523 * BufferView_pimpl.C (cursorPrevious):
8524 (cursorNext): fixed to make it work with rows heigher than the work
8525 area without moving the cursor only the draw of the row.
8526 (workAreaMotionNotify): fix jumping over high rows.
8528 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8530 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8533 2002-04-16 Juergen Vigna <jug@sad.it>
8535 * text2.C (setCursor): set also the irow().
8536 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8538 (cursorDown): support for locking an inset if the x_fix value goes
8539 inside it. That way I can transverse insets too with cursor up/down.
8541 * lyxrow.h: added irow helper function same as other (i) functions.
8543 * BufferView_pimpl.C (cursorPrevious):
8544 (cursorNext): fixed for insets!
8546 2002-04-15 Juergen Vigna <jug@sad.it>
8548 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8549 position otherwise it is wrong in some cases.
8551 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8552 inside the inset before the call.
8554 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8556 * buffer.[Ch] (getBibkeyList): make it const.
8558 2002-04-12 Juergen Vigna <jug@sad.it>
8560 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8562 * text2.C (getCursorX): new helper function
8563 (setCursor): compute also ix_
8564 (setCursorFromCoordinates): set also ix.
8566 * lyxcursor.h: added ix_ and helper functions.
8568 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8570 * buffer.C (insertStringAsLines): dont break paragraph if the this
8571 paragraph is inside an inset which does not permit it!
8573 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8574 also with no chars on this paragraph.
8575 (paintRowText): only paint stuff if it's inside the workarea!
8577 * paragraph.C (breakParagraph): honor keepempty flag and break the
8578 paragraph always below not above.
8580 * BufferView2.C (unlockInset): update the paragraph layout on inset
8581 unlock as we changed paragraph in such a case.
8583 * lyxfind.C (LyXFind): clear the former selection if not found!
8585 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8586 again called in insertChar().
8588 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8589 an inset which uses the whole row!
8590 (rightMargin): ditto.
8591 (insertChar): force a rebreak if we inserted an inset!
8593 2002-03-28 Herbert Voss <voss@lyx.org>
8595 * lyxlength.[Ch]: add inBP() to get the right PS-point
8596 units (BigPoint). With inPixels we have rounding errors
8598 2002-04-11 Juergen Vigna <jug@sad.it>
8600 * text2.C (setCursorFromCoordinates): set iy to the right value.
8601 (setCursor): add check if row->previous exists!
8603 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8604 an old float_type as this was the case in the old code!
8606 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8608 * BufferView2.C (showLockedInsetCursor): use iy
8609 (fitLockedInsetCursor): ditto
8611 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8612 locked insets as there we have the right value now.
8614 * lyxcursor.C: added iy_ variable and iy functions to set to the
8615 baseline of cursor-y of the locked inset.
8617 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8618 (setCursor): fixed for insets which need a full row.
8620 * text.C (rowLastPrintable): don't ignore the last space when before
8621 an inset which needs a full row.
8622 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8623 as last character of a row when before a inset which needs a full row.
8625 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8627 * version.C.in: update date
8629 * text2.C (fullRebreak): try to always return true and see what
8632 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8634 * MenuBackend.C (expand): use Floating::listName
8636 * FloatList.C (FloatList): add listName argument to the built-in
8639 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8640 text associated with the float.
8642 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8644 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8646 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8648 * ShareContainer.h: add a couple of missing typenames.
8650 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8652 * lyxrc.C (getDescription): use _() correctly rather than N_().
8654 2002-03-28 Herbert Voss <voss@lyx.org>
8656 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8657 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8659 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8661 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8662 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8664 2002-03-29 Juergen Vigna <jug@sad.it>
8666 * lyxfunc.C (dispatch): add a missing fitCursor call.
8668 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8669 it was scrolled by a cursor move, so return the bool status.
8671 * BufferView.C (fitCursor): return the bool flag also to the outside
8672 world as this is needed.
8674 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8676 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8677 call the edit() as it is not needed (and wrong) IMO.
8678 (workAreaButtonPress): set the screen_first variable before evt.
8679 unlock the inset as this may change screen_first and then we have
8680 a wrong y position for the click!
8682 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8684 * MenuBackend.C (expand): another translation that I missed
8686 2002-03-28 Juergen Vigna <jug@sad.it>
8688 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8690 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8692 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8694 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8696 * MenuBackend.C (expand): fix export/view/update when there is no
8699 2002-03-27 Herbert Voss <voss@lyx.org>
8701 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8704 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8706 * bufferview_funcs.C (currentState): only show paragraph number
8707 for is DEVEL_VERSION is set.
8709 * lyxfunc.C (dispatch): put warning in INFO channel
8711 * MenuBackend.C (expand): translate the name of floats
8713 * FloatList.C (FloatList): mark the float names for translation
8715 * converter.C (convert): use LibScriptSearch
8717 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8719 * MenuBackend.C (defaults): fix default menu (we might as well get
8722 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8724 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8727 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8729 * lyxvc.C: reorder includes.
8731 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8733 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8736 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8738 * CutAndPaste.C: change layouts earlier on paste
8739 to avoid crashing when calling getFont()
8741 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8743 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8746 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8748 * WorkArea.C: remove 'Pending' debug message.
8750 * most files: ws cleanup
8752 * buffer.[Ch]: ws changes
8754 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8756 2002-03-21 Juergen Vigna <jug@sad.it>
8758 * tabular.C (SetMultiColumn): collapse also the contents of the
8759 cells and set the last border right. Added a Buffer const * param.
8761 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8763 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8766 2002-03-19 Juergen Vigna <jug@sad.it>
8768 * text2.C (clearSelection): reset also xsel_cache.
8770 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8771 where it needs to be called (John tells us to do so too :)
8772 (selectionLost): reset sel_cache.
8774 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8776 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8778 * text2.C (setCursorIntern): put debuging code in INSETS channel
8780 2002-03-19 André Pönitz <poenitz@gmx.net>
8782 * lyxfunc.C: tiny whitespace change
8784 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8786 * ToolbarDefaults.C (init):
8787 * LyXAction.C (init):
8789 * BufferView_pimpl.C (Dispatch):
8790 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8792 2002-03-19 Allan Rae <rae@lyx.org>
8794 * exporter.C (Export): removeAutoInsets before doing anything else.
8795 While I've just introduced a dependency on BufferView this really is
8796 the best place to clean the buffer otherwise you need to cleanup in
8797 a dozen places before calling export or cleanup in a dozen functions
8800 * converter.C (runLaTeX):
8801 (scanLog): Better handling of removeAutoInsets and screen updates.
8803 * lyxfunc.C (dispatch): small whitespace changes
8805 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8807 * WorkArea.C (C_WorkAreaEvent): return a value.
8808 (event_cb): return 1 if we handled the event, 0 otherwise.
8810 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8812 2002-03-18 Juergen Vigna <jug@sad.it>
8814 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8815 (GetAdditionalWidth): ditto.
8819 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8820 inset if we're there actually (probably not used right now but this
8821 is the direction to go for unifying code).
8822 (paste): disable code to clear the selection.
8824 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8825 inside an InsetText and move the check further up as it is in the
8828 * text2.C (pasteSelection): set a selection over the pasted text.
8830 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8832 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8833 and libgraphics to build on Cygwin.
8835 2002-03-15 Juergen Vigna <jug@sad.it>
8837 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8838 inserting an Inset into the paragraph. I know this is not the best
8839 fix but we already use current_view in CutAndPaste so we will remove
8840 all of it's using at the same time.
8842 * buffer.C (sgmlError): deactivated function till it is rewritten in
8843 the right mode, now it can create problems.
8845 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8846 before accessing it.
8848 2002-03-14 Juergen Vigna <jug@sad.it>
8850 * undo_funcs.C (textHandleUndo): do the right thing when updating
8851 the inset after the undo/redo.
8853 * text2.C (setCursor): just some testcode for #44 not ready yet.
8855 * undo_funcs.C (textHandleUndo): set the next() and previous()
8856 pointers of the paragraph to 0 before deleting otherwise we have
8857 problems with the Paragraph::[destructor].
8859 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8860 on a paragraph insertion.
8862 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8864 * buffer.C (asciiParagraph): use += operator for char append to
8867 * paragraph.C (getFontSettings): compare >= not just >
8868 (highestFontInRange): ditto
8871 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8873 * paragraph.C: change several algorithm to be more appripriate for
8874 the problem domain. This is lookip in FontList and in the InsetList.
8876 2002-03-13 André Pönitz <poenitz@gmx.net>
8879 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8881 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8886 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8888 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8890 * Painter.C (display): anon helper function, adjust code for this
8892 (pixmap): remove function.
8894 * Painter.h: remove private display variable.
8896 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8898 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8900 * WorkArea.[Ch]: remove figinset_canvas cruft.
8902 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8904 * lyxtextclass.C (operator): add one item cache optimization.
8906 * bufferlist.h: doxy changes
8908 * bufferlist.C: ws changes
8910 * DepTable.[Ch] (ext_exist): place const in the right spot.
8912 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8914 (workAreaExpose): call resizeInsets when the with BufferView changes.
8915 (Dispatch): adjust for protectedBlank removal
8916 (specialChar): call updateInset if the insert went ok.
8918 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8919 specialChar instead.
8921 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8923 * BufferView.h: doxy change
8925 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8927 * lyxtextclass.C (operator[]): remove non-const version
8928 (defaultLayout): remove non-const version
8930 2002-03-12 Juergen Vigna <jug@sad.it>
8932 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8933 did resize the LyXText too.
8935 * buffer.C (readLyXformat2): set layout information on newly allocated
8938 * tabular.C (OldFormatRead): set layout information on the paragraph.
8940 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8942 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8944 2002-03-11 Juergen Vigna <jug@sad.it>
8946 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8948 (resizeCurrentBuffer): force also the insets to resize themselfes.
8949 (moveCursorUpdate): fixed up for InsetText.
8951 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8954 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8955 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8956 value of Dialogs::tooltipsEnabled().
8957 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8959 2002-03-08 Juergen Vigna <jug@sad.it>
8961 * BufferView_pimpl.C (updateInset): update inset inside inset also
8962 if it isn't inside theLockingInset().
8964 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8966 * buffer.C (asciiParagraph): redo some of the word and line length
8968 (getLists): look for Caption instead of caption.
8970 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8972 * buffer.C (Buffer): initialize niceFile to true
8975 (makeDocBookFile): make sure niceFile is true on exit
8977 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8979 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8981 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8983 * LyXSendto.C: remove.
8984 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8985 * lyx_gui.C: remove now-redundant comment.
8986 * ColorHandler.h: remove forward declaration of class WorkArea.
8987 * lyxfunc.C: remove #include "WorkArea.h".
8989 2002-03-07 Juergen Vigna <jug@sad.it>
8991 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8992 got moved away with the DEPM and also set the inset_owner always
8993 right which before could have been omitted.
8995 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8997 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8998 wanted layout is not found.
9000 2002-03-07 Juergen Vigna <jug@sad.it>
9002 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9004 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9006 * paragraph.C (breakParagraph): use default layout not layout of
9008 (Paragraph): clear ParagraphParameters.
9010 2002-03-06 Juergen Vigna <jug@sad.it>
9012 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9013 otherwise it would not be a valid lenght. Fixed a special case in
9014 the minipage compatibility read where we end the document with a
9017 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9018 was set as it could be 0 for InsetTexts first entry.
9020 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9022 * paragraph.C (writeFile): if layout is empty write out
9023 defaultLayoutName().
9025 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9026 file without named layout we set layout to defaultLayoutName().
9028 2002-03-06 Juergen Vigna <jug@sad.it>
9030 * CutAndPaste.C (copySelection): set layout for new paragraph.
9032 * text.C (prepareToPrint): leave ERT inset left aligned
9033 (leftMargin): don't indent paragraphs inside ERT insets
9035 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9037 * paragraph.C (breakParagraph): dont call clear do the work manually
9039 * paragraph.[Ch] (clear): remove function
9041 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9043 * paragraph.C (Paragraph): dont call clear, the work has already
9046 * lyxtextclass.C (operator): assert if n is empty
9048 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9049 work manually instead.
9051 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9053 * BufferView_pimpl.C: protect selectionLost against text == 0
9055 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9057 * text.C (breakParagraph): fix a setting layout to '0' problem.
9059 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9061 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9062 final location of file, for the included files, and graphics.
9064 2002-03-05 Juergen Vigna <jug@sad.it>
9066 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9068 2002-03-04 Juergen Vigna <jug@sad.it>
9070 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9072 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9073 last column of multicolumn cells.
9074 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9076 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9078 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9079 file if it doesn't go to a temporary file.
9081 * buffer.C (sgmlOpenTag):
9082 (sgmlCloseTag): remove extra newline insertion.
9084 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9086 * text.C (getRowNearY): comment out debug msg
9088 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9090 * text2.C: first -> first_y
9092 * text.C (getRowNearY): add some attemts at a possible
9093 optimization, not working.
9095 * tabular.[Ch]: add BufferParams to several function so that newly
9096 created paragraph can be initialized to he default layotu for the
9099 * tabular-old.C (ReadOld): add buf->params to call of Init
9101 * screen.C: rename text->first to text->first_y
9103 * paragraph.C (breakParagraph): always set layout in the broken
9106 * lyxtextclass.C (Read): remove lowercase
9109 (delete_layout): ditto
9111 * lyxtext.h: rename first -> first_y
9113 * lyxlayout.C (Read): remove lowercase
9116 (obsoleted_by): ditto
9118 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9120 * buffer.C (insertErtContents): add params are to InsetERT
9121 (parseSingleLyXformat2Token): add code to check if a paragraphs
9122 layout really exist.
9123 (parseSingleLyXformat2Token): add params to several inset
9125 (asciiParagraph): remove lowercase, do the layout comparisons with
9128 * BufferView_pimpl.C (cursorNext): first -> first_y
9129 (resizeCurrentBuffer): first -> first_y
9130 (updateScrollbar): first -> first_y
9131 (scrollCB): first -> first_y
9132 (workAreaMotionNotify): first -> first_y
9133 (workAreaButtonPress): first -> first_y
9134 (checkInsetHit): first -> first_y
9135 (cursorPrevious): first -> first_y
9136 (cursorNext): first -> first_y
9137 (Dispatch): add buffer_->params to severl inset contructors
9139 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9141 * lyxlayout.C (Read): remove some debug info that I forgot.
9143 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9144 clean up the code slightly.
9145 (makeLinuxDocFile): ditto
9146 (makeDocBookFile): ditto
9148 * text2.C: layout as string
9150 * text.C: layout as string
9152 * paragraph_pimpl.C: layout as string
9154 * paragraph.[Ch]: layout as string
9156 * lyxtextclasslist.[Ch]: layout as string
9158 * lyxtextclass.[Ch]: layout as string
9160 * lyxtext.h: layout as string
9162 * lyxlayout.[Ch]: layout as string
9164 * lyx_cb.C: layout as string
9166 * bufferview_funcs.C: layout as string
9168 * bufferparams.C: layout as string
9170 * buffer.C: layout as string
9172 * LyXView.[Ch]: layout as string
9174 * LaTeXFeatures.[Ch]: layout as string
9176 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9178 * BufferView_pimpl.C: change current_layout to string, remove
9183 (workAreaButtonRelease): layout as string
9185 * BufferView2.C (unlockInset): adjust
9187 * vspace.C (asLatexCommand): use an explict temp variable.
9189 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9191 * Makefile.am: use FRONTEND_*
9193 2002-03-01 Juergen Vigna <jug@sad.it>
9195 * tabular.C (SetWidthOfMulticolCell): changed to something better
9196 I hope but still work in progress.
9197 (recalculateMulticolumnsOfColumn): renamed function from
9198 recalculateMulticolCells as it is more appropriate now.
9199 (SetWidthOfCell): calculate multicols better.
9201 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9203 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9205 * lyxfunc.C (processKeySym): print sequence also if it is
9206 `deleted' (complete)
9208 * kbsequence.C (print): print sequence even if it is deleted
9209 (complete would be a better word, actually).
9211 * lyxfunc.C (dispatch): print complete options after a prefix key
9213 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9215 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9217 * text2.C (setCharFont): eliminate setCharFont code duplication.
9219 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9221 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9222 LFUN_TABULAR_FEATURE (bug #177)
9224 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9226 * Makefile.am: remove figure.h
9228 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9230 * Bufferview_pimpl.C:
9242 * text2.C: remove #include "lyx_gui_misc.h".
9244 * LaTeX.C: added #include <cstdio>
9246 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9248 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9249 that the paragraph following this one can have.
9251 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9253 * vspace.C (asLatexCommand): fix bogus gcc warning
9255 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9257 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9259 * text2.C (setLayout): get rid of redundant code
9261 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9263 * text2.C (incDepth): make sure depth cannot be increased beyond
9266 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9268 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9269 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9271 * PainterBase.h (image):
9272 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9275 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9279 * BufferView_pimpl.C:
9280 * BufferView_pimpl.h:
9300 * sp_spell.C: remove fig inset, and the crap house of
9301 cards that follows it
9303 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9309 * nt_defines.h: move .h into support/
9311 * vms_defines.h: remove
9313 * WorkArea.C: add space in debug output
9317 * buffer.C: add WITH_WARNINGS
9321 * bufferlist.C: s/retrive/retrieve/, add docs
9332 * lyxgui.C: add ID to X error handler
9334 * lyxtestclass.c: fix typo
9336 2002-02-26 Juergen Vigna <jug@sad.it>
9338 * tabular_funcs.C (write_attribute): changed so that some default
9339 attributes are not written at all.
9340 (getTokenValue): set default values before trying to read the
9341 value so we have the return value always set as default if we don't
9342 find the token we search for.
9344 * tabular.C (Write): write bools as bools not as strings!
9346 2002-02-22 Juergen Vigna <jug@sad.it>
9348 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9349 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9351 * text.C (leftMargin): don't add an indent for paragraphs inside
9352 tabular cells (fix #208).
9354 2002-02-21 José Matos <jamatos@fep.up.pt>
9356 * tabular.C (docBook): fixed support for long tables.
9358 2002-02-20 Juergen Vigna <jug@sad.it>
9360 * text2.C (getFont): get the drawing font of the Inset if this
9361 paragraph is inside an inset (only important for InsetERT for now).
9363 * buffer.C (insertErtContents): use new lanugage params in ERT
9366 * CutAndPaste.C: commenting out seemingly uneeded code.
9368 2002-02-19 Allan Rae <rae@lyx.org>
9370 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9371 Iterators might be simple to use but they also get invalidated.
9372 (removeAutoInsets): renamed saved cursor tracking variables and added
9373 some comments to clarify what everything does.
9375 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9382 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9383 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9386 * vc-backend.h: remove #include "support/syscall.h"
9390 * converter.C: rearrange #includes in Lars' approved fashion.
9392 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9393 forward declare class Timeout in the header file.
9395 * XFormsView.C: changes due to the above.
9397 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9400 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9401 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9403 2002-02-18 José Matos <jamatos@fep.up.pt>
9405 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9408 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9410 * a lot of small ws changes
9411 * add a lot of using std::XXX
9412 * use std construcs some places where approp.
9413 * use some exisint stuff from lyxfunctional where approp.
9414 * Make file changes to use partial linking (lets test this now...)
9416 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9420 remove #include "support/syscontr.h" as it's redundant. Always has been.
9428 change Systemcalls::System to Systemcalls::Wait and
9429 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9430 No change of functionality, just reflects the stripped down Systemcalls
9433 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9435 * debug.[Ch]: add a GRAPHICS type to the enum.
9437 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9439 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9441 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9444 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9446 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9447 match the changes below.
9449 * text2.C (toggleInset): if there is not editable inset at cursor
9450 position, try to see if cursor is _inside_ a collapsable inset
9453 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9455 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9456 document menu has a nice checkbox
9458 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9460 * lyxlength.C (asLatexString): change PW to output as percent of
9463 * lengthcommon.C: change '%' to 't%'
9465 * lyxfunc.C (dispatch): a few comments from Martin
9467 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9471 * BufferView_pimpl.h:
9472 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9475 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9477 * vspace.C (inPixels): fix compiler warning
9479 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9481 * lyxfunc.C (getStatus): fix status message for disabled commands.
9483 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9485 * BufferView_pimpl.C: fix crash on close buffer
9486 during selection (#227)
9488 2002-01-27 Herbert Voss <voss@lyx.org>
9490 * buffer.C: link old Figure to new graphic inset
9492 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9494 * FontLoader.C (getFontinfo): Change the latex font names in order
9495 to match the names of type1inst.
9497 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9499 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9501 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9504 (remove_files_with_extension): ditto
9505 (remove_file): ditto
9508 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9509 document is smaller than the work area height. Do not initialize
9510 static variables to 0.
9512 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9514 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9516 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9517 LFUN_LAYOUT_PARAGRAPHS.
9519 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9520 tabular. It is possible to provide a possible cell, which will
9521 typically be the actcell from the corresponding insettabular
9523 * lyxfunc.C (getStatus): small cleanup; disable
9524 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9527 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9529 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9531 * paragraph.C (startTeXParParams):
9532 (endTeXParParams): new methods. The LaTeX code to
9533 start/end paragraph formatting
9534 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9535 empty (fixes bug #200)
9537 * vspace.C (inPixels): adapt to the change below
9538 (inPixels): [later] more cleanups (remove unused variables)
9540 * lyxlength.C (inPixels): change to use a width and a height as
9543 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9545 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9546 Replaced with \paperwidth
9548 * DepTable.C (insert): add std:: qualifier
9550 2002-01-18 Allan Rae <rae@lyx.org>
9552 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9555 * text.C (drawInset): Turned out I didn't know enough about how
9556 rebreaking worked. This fixes most of the redraw problems. I see
9557 an occasional cursor trail when a line is broken now and the cursor
9558 placement can seem out by a few pixels also after a rebreak.
9560 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9562 * buffer.C (parseSingleLyXformat2Token): update because minipage
9563 width is now a LyXLength
9565 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9567 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9570 2002-01-17 Juergen Vigna <jug@sad.it>
9572 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9574 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9575 is set correctly and the inset is updated correctly.
9577 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9579 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9580 the beginning of the loop.
9582 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9584 * lyxrc.C: improve help for use_scalable_fonts
9586 2002-01-17 Allan Rae <rae@lyx.org>
9588 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9590 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9592 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9593 make sure to set their inset_owner to the right value (bug #171)
9595 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9598 * DepTable.C: Implement mtime checking to reduce time spent doing
9601 2002-01-16 Juergen Vigna <jug@sad.it>
9603 * tabular.C (GetAdditionalHeight): one of error fixed.
9605 * lyxrc.C (output): small fix in writing use_pspell.
9607 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9609 * sp_base.h: #include LString.h
9611 2002-01-16 Allan Rae <rae@lyx.org>
9613 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9614 Can someone check this please?
9616 * text.C (drawInset): It was possible that p.row would be removed by
9617 breakAgainOneRow upsetting a few other settings. There may be another
9618 small tweak possible by setting need_break_row = 0 when p.row has been
9619 removed but I don't know enough about the logic here.
9621 2002-01-15 Allan Rae <rae@lyx.org>
9623 * text.C (insertChar): removed conditional truism.
9625 * BufferView2.C (removeAutoInsets): More tweaks.
9626 cur_par_prev could be a stray pointer. Check for trailing empty line
9627 in case last line was cur_par and only had an error inset on it.
9629 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9631 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9634 * vc-backend.C (most methods):
9635 * exporter.C (Export):
9636 * converter.C (convert):
9638 * LyXSendto.C (SendtoApplyCB):
9639 * lyxfunc.C (dispatch):
9643 * lyx_cb.C (AutoSave):
9645 * BufferView_pimpl.C (MenuInsertLyXFile):
9646 * buffer.C (runChktex): use Buffer::filePath().
9648 * buffer.h: rename filename to filename_; rename filepath to
9649 filepath_ and make it private
9650 (filePath): new method
9652 * buffer.C (writeFile): use fileName()
9655 * lyx_main.C (init): fix starting of LyX when the binary is a
9656 link from so,ewhere else.
9658 * minibuffer.C: include <cctype> for isprint
9660 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9662 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9663 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9664 name clash with InsetCollapsable's width function.
9666 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9668 * lastfiles.C: include <iterator>
9670 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9672 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9675 * buffer.C (makeLaTeXFile): ditto.
9676 Also make loop operation more transparent.
9678 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9680 * ToolbarDefaults.C: remove trailing comma closing namespace.
9682 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9684 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9687 * trans.C (Load): comment out unused variable, allowed.
9689 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9691 * minibuffer.[Ch] (append_char): new method to recieve input from the
9692 drop-down completion browser. If a key was pressed, then recieve this
9693 char and append it to the existing string.
9694 (peek_event): modify the positioning data passed to the completion
9695 browser so that it can be placed above the minibuffer rather than below.
9696 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9698 * LyXAction.C (init): alloe error-next for readonly documents.
9700 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9703 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9705 * bufferlist.C (readFile): create the buffer _after_ checking that
9708 * lyxfunc.C (verboseDispatch): fix handling of arguments
9710 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9712 * lyxrc.C: use string::erase() instead of initializing to "".
9715 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9717 * BufferView_pimpl.h:
9718 * BufferView_pimpl.C:
9721 * text2.C: tell X when we have made a selection for copying
9723 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9725 * BufferView_pimpl.C (MenuInsertLyXFile):
9726 * lyxfunc.C (menuNew):
9728 (doImport): add shortcuts to directory buttons
9730 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9733 * lyxfunc.C (setStatusMessage):
9734 (getStatusMessage): new methods
9735 (getStatus):use setStatusMessage instead of setErrorMessage
9736 (dispatch): when function is disabled, set error message here
9737 [instead of in getStatus previously]
9739 * BufferView_pimpl.C (workAreaButtonRelease): update
9740 toolbar/menubar here too.
9742 2002-01-13 Allan Rae <rae@lyx.org>
9744 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9745 Now seems indestructible. Remaining task is to audit all other
9746 code affected by deleteEmptyParagraphMechanism. One small quirk
9747 left is that an empty document with an error in the preamble can
9748 be made to report an error but no error box appears. I don't know
9750 (removeAutoInsets): Improved comments.
9752 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9755 * Thesaurus.C: update for Aiksaurus 0.14
9757 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9759 * text2.C (firstParagraph): removed member function, all uses
9760 replaces with ownerParagraph
9761 (redoParagraphs): here
9763 (toggleAppendix): here
9764 * BufferView2.C (insertErrors): here
9765 (setCursorFromRow): here
9767 2002-01-13 Allan Rae <rae@lyx.org>
9769 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9770 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9771 There is still a way to segfault this although you may have to do this
9772 multiple times: Have an InsetERT with an unknown command in it.
9773 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9774 <down-arrow>, <Enter> again, View->DVI, BANG!
9776 * text2.C (setCursor):
9777 (deleteEmptyParagraphMechanism):
9778 * lyxtext.h (setCursor):
9779 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9780 Making use of the return value may help fix other bugs.
9782 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9784 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9786 * LyXView.C (updateMenubar): call MenuBar::update here
9787 (updateToolbar): but not here
9788 (showState): do not update toolbar/menubar
9790 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9791 should need to care about that.
9793 * lyxfunc.C (verboseDispatch): simplify a bit
9794 (getStatus): have a version which takes a pseudoaction, and
9795 another which requires a (kb_action,string).
9797 * LyXAction.C (retrieveActionArg): make it work also when action
9798 is not a pseudo-action.
9799 (getActionName): simplify a bit
9802 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9804 * lyxfunc.C (verboseDispatch): new families of methods with
9805 several ways to specify a command and a bool to indicate whether
9806 the command name and shortcut should be displayed in minibuffer
9807 (eventually, we could extend that to a finer bitmask like
9808 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9809 (dispatch): the pristine dispatch command which just, well,
9810 dispatchs! Note it still sets its result to minibuffer; I'm not
9813 * lyxfunc.h: remove setHintMessage
9815 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9817 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9819 * BufferView_pimpl.C (specialChar): delete new inset if we have
9820 not been able to insert it.
9822 * kbmap.C: revert to using int instead of kb_action, since all we
9823 are dealing with is pseudo-actions.
9825 * LyXAction.C (searchActionArg): change to return int instead of
9826 kb_action, since the result is a pseudoaction.
9828 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9830 * buffer.C (insertErtContents): Fix (partially) the font bug.
9832 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9834 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9835 as the other one is broken on my machine!
9837 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9840 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9842 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9844 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9845 reflect their actual use. Provide compatibility code for older lyxrc
9848 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9850 change names of popup font variables in line with the changes to lyxrc.C
9852 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9854 * buffer.C (asciiParagraph): avoid outputing a word twice after
9857 * lyxrc.C (getDescription): document that document_path and
9858 template_path can be empty.
9860 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9862 * LaTeXFeatures.C (getMacros):
9863 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9865 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9867 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9869 (getPackages): rename feature "floats" to "float". Use an array to
9870 iterate over 'simple' features (i.e. just a \usepackage). Add
9871 handling of "amsmath" (renamed from "amsstyle").
9873 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9875 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9878 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9880 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9881 FuncStaus::FuncStatus & FuncStaus::some_method().
9883 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9885 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9886 of the func_satus stuff. Edited and massaged in various ways by
9889 * lyxfunc.C (getStatus): use FuncStatus
9891 2002-01-08 Juergen Vigna <jug@sad.it>
9893 * text.C (nextBreakPoint): use function Inset::isChar().
9895 * paragraph.C (TeXOnePar): use function
9896 Inset::forceDefaultParagraphs.
9898 * buffer.C (latexParagraphs): use function
9899 Inset::forceDefaultParagraphs.
9901 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9903 * lyx_gui.C (init): set the style of the menu popups to
9904 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9906 2002-01-07 Juergen Vigna <jug@sad.it>
9908 * text.C (setHeightOfRow): small fix
9909 (prepareToPrint): don't look at alignment if we don't have the place
9912 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9914 * box.C: New file. Move the Box methods and functions out of box.h,
9915 following Lars' suggestion.
9917 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9919 * box.h: #include "support/LOstream.h", needed for inlined function.
9922 * lyxtextclasslist.C: added some using std declarations.
9924 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9926 * box.h: make signed dimensions to allow insets wider than
9927 the screen (bug #162)
9929 * BufferView_pimpl.C: add some insetHit debug
9931 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9933 * vc-backend.C: add FIXME
9935 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9937 * lyxfunc.C (getStatus): enable code for showing math font status
9940 2002-01-07 Juergen Vigna <jug@sad.it>
9942 * text.C (nextBreakPoint): removed debug output not needed anymore.
9944 2002-01-06 Juergen Vigna <jug@sad.it>
9946 * text.C (nextBreakPoint): fixed up this function we had this bug
9947 since ever but now hopefully we break row better.
9948 (insertChar): we have to check if an inset is the next char as it
9949 could now happen that a large inset is causing a break.
9951 2002-01-05 Juergen Vigna <jug@sad.it>
9953 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9954 if it doesn't like to be drawed.
9956 2002-01-04 Juergen Vigna <jug@sad.it>
9958 * BufferView2.C (lockInset): forgot to set a cursor.
9960 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9962 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9967 * form_maths_panel.C:
9968 * form_maths_panel.h:
9969 * form_maths_panel.fd: implemented sub- and super- buttons in math
9972 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9973 (or ^ space) to be used as in TeX (req'd by André).
9975 * lyxfunc.C: Allow ^ and _ again to be used both as
9976 super/subscript (mathed) and as themselves (in text).
9978 2002-01-03 Allan Rae <rae@lyx.org>
9980 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9981 "LyX" or the filename of the current buffer if it has one. This is a
9982 modified form of John Levon's patch.
9984 * XFormsView.C (setWindowTitle): also set icon title.
9986 * LyXView.h (setWindowTitle): signature changed.
9987 * XFormsView.h (setWindowTitle): ditto.
9989 2002-01-02 Juergen Vigna <jug@sad.it>
9991 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9993 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9995 * screen.C (topCursorVisible): introduce a temp var for
9996 text->cursor.row(), handle the case where this row is null. (kindo
9999 * text2.C (setCursor): add a couple of asserts.
10001 * paragraph.h (inset_iterator): add -> operator
10003 * paragraph.[Ch] (autoDeleteInsets): remove member function
10005 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10006 cursor pos correctly and handle inset deletion by itself.
10007 (insertErrors): move iterator declaration out of for expression
10009 * lyxtextclass.C: add <algorithm>
10011 * Makefile.am: added the new files to sources, removed layout.C
10013 * layout.C: removed file
10015 * layout.h: remove LYX_DUMMY_LAYOUT
10017 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10021 * lyxtextclass.[Ch]:
10022 * lyxtextclasslist.[Ch]: new files
10024 * include order changes to a lot of files, also changes because of
10027 2001-12-27 Juergen Vigna <jug@sad.it>
10029 * buffer.C (asciiParagraph): more fixes.
10031 * tabular.C (ascii): make ascii export support export of only the
10032 data separated by a column-delimiter.
10033 (ascii): better support for ascii export.
10035 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10037 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10039 * tabular_funcs.C: use a "using std::getline" instead of the
10040 previous fix from Angus (necessary for cxx + lyxstring)
10042 2001-12-24 Juergen Vigna <jug@sad.it>
10044 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10046 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10047 problems. First check a minipage also if we have some ert-contents
10048 (not only on par->size(), second set the right depth of the paragraph
10049 on the relink to the root-paragraph-list!
10051 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10052 which then did not anymore update the main paragraphs on undo/redo!
10054 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10056 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10057 code. Support all font-changing funcs (even those which are not in
10058 menu currently). Support for reporting font settings in
10059 mathed (disabled until Andre provides a function on mathed's side).
10061 * func_status.h (toggle): small helper function to set toggle
10064 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10066 * tabular_funcs.C: getline -> std::getline
10068 2001-12-21 Juergen Vigna <jug@sad.it>
10070 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10071 accessed and could be 0 (I couldn't generate this but it seems
10074 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10076 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10077 * tabular_funcs.h: here and include iosfwd
10079 2001-12-20 Juergen Vigna <jug@sad.it>
10081 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10082 inside inset but undo_par was.
10084 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10086 * Thesaurus.C: always include <config.h> in sources.
10090 * box.h: do not include <config.h> in header files
10092 * text.C (paintLastRow): remove unused variable
10094 * text.C (transformChar):
10096 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10098 * Painter.C (text):
10099 * font.C (width): rewrite to use uppercase() instead of
10102 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10104 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10106 * lyxfind.C: clean up of find failure position change
10108 2001-12-20 Juergen Vigna <jug@sad.it>
10110 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10112 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10113 (TeXRow): added to LaTeX a single tabular row.
10114 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10115 (Latex): simplified and finally good LT-h/f support.
10116 (various_functions): just small adaptions for LT-h/f support.
10118 * tabular_funcs.[hC]: added and moved here all not classfunctions
10121 2001-12-19 Juergen Vigna <jug@sad.it>
10123 * tabular.[Ch]: better support for longtabular options (not finished
10126 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10128 * text.C (paintLastRow): use the label font instead of the font of
10129 the last character to compute the size of *_BOX. This makes more
10130 sense and avoids a crash with empty paragraphs.
10131 Use Painter::rectangle to draw EMPTY_BOX.
10133 2001-12-19 Juergen Vigna <jug@sad.it>
10135 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10136 the paragraphs if the replaced paragraph is not the first one!
10137 Tried to delete not used paragraphs but does not work yet so for
10138 now it's inside #ifdef's and by default off!
10140 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10142 * MenuBackend.C: include "lyx_main.h" instead of declaring
10143 lastfiles (actually was declared as LastFiles* instead of a
10146 2001-12-17 Juergen Vigna <jug@sad.it>
10148 * tabular.C (AppendColumn): applied John's fix
10150 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10154 * BufferView_pimpl.h:
10155 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10158 * box.h: new start of class for above
10160 * lyxfunc.C: ignore space-only minibuffer dispatches.
10161 Show the command name when it doesn't exist
10163 * minibuffer.C: don't add empty lines to the history
10165 * minibuffer.C: add a space on dropdown completion
10167 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10169 * text.C: fix line above/below drawing in insets
10171 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10173 * lyxlength.C (LyXLength): Initialize private variables.
10175 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10177 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10178 when inserting error insets.
10180 2001-12-13 Juergen Vigna <jug@sad.it>
10182 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10183 actually sometimes the before-paragraph.
10184 (setUndo): don't clear the redostack if we're not actually undoing!
10186 2001-12-06 Juergen Vigna <jug@sad.it>
10188 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10189 and fixed redoing of main paragraph, so we can use it now ;)
10191 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10193 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10195 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10198 2001-12-13 André Pönitz <poenitz@gmx.net>
10201 * undo_func.C: minor cleanup
10203 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10205 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10206 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10207 font in urw-fonts package which is marked as -urw-fontspecific and
10208 does not work (incidentally, changing the encoding in the
10209 fonts.dir of this package to -adobe-fontspecific fixes the
10212 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10213 is a crash when undoing first paragraph (Juergen, please take a
10214 look). THis does not mean the undo fix is wrong, just that it
10217 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10218 the (Paragraph*) version when needed instead of duplicating the
10221 * text.C (workWidth): use Inset::parOwner to find out where the
10222 inset has been inserted. This is a huge performance gain for large
10223 documents with lots of insets. If Inset::parOwner is not set, fall
10224 back on the brute force method
10226 * paragraph_pimpl.C (insertInset):
10227 * paragraph.C (Paragraph):
10228 (cutIntoMinibuffer): set parOwner of insets when
10229 inserting/removing them
10231 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10233 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10239 * mathed/formulabase.C:
10240 * mathed/math_cursor.[Ch]:
10241 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10244 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10246 * lyxlength.[Ch] (operator!=): new function
10248 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10250 * text.C (workWidth): use Inset::parOwner to find out where the
10251 inset has been inserted. This is a huge performance gain for large
10252 documents with lots of insets. If Inset::parOwner is not set, fall
10253 back on the brute force method
10255 * paragraph_pimpl.C (insertInset):
10256 * paragraph.C (Paragraph):
10257 (cutIntoMinibuffer): set parOwner of insets when
10258 inserting/removing them
10260 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10262 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10264 * tabular-old.C (getTokenValue):
10265 * tabular.C (getTokenValue):
10266 (write_attribute): new versions for LyXLength
10267 (everywhere): adjust the use of widths
10269 * tabular.h: change the type of widths from string to LyXLength
10271 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10273 * paragraph.C: fixed missing line number count when exporting
10274 Environments to LaTeX file
10276 * buffer.C: added informational message for checking line numbers.
10278 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10280 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10281 paragraph, do the 'double space' part, but not the 'empty
10284 * text.C (workWidth): small optimization
10285 (getLengthMarkerHeight): use minimal size for negative lengths.
10287 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10289 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10291 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10293 2001-12-11 André Pönitz <poenitz@gmx.net>
10296 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10298 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10300 * text2.C: keep selection on a setFont()
10302 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10304 * lyx_cb.C: another bv->text misuse, from insert label
10306 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10309 * kbsequence.C: re-instate nmodifier mask
10311 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10313 * lyx_main.h: make lyxGUI private.
10315 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10317 * lyxfind.C: place the cursor correctly on failed search
10319 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10321 * text.C (getLengthMarkerHeight): for small heights, the arrows
10322 are not always on top/bottom of the text
10323 (drawLengthMarker): smaller arrows; take the left margin in
10324 account; draw also vfills.
10326 (paintLastRow): remove special code for vfill and standard spaces,
10327 since everything is handled in drawLengthMarker now.
10329 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10331 * buffer.C (insertErtContents): try to handle font and language
10332 interaction a bit better.g
10334 * ColorHandler.C (updateColor): change the hash to cover the whole
10335 LColor enum, ws cleanup
10336 (getGCLinepars): ditto
10337 (getGCLinepars): only lookup in the linecache once.
10339 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10341 * iterators.C (operator++): Make the iterator more robust
10343 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10345 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10347 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10350 * text.C: better added space drawing
10352 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10355 * BufferView2.C: fix layout combo update on inset unlock
10357 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10359 * Makefile.am: don't compile unused files
10361 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10365 * LyXAction.C: remove old LFUN_LAYOUTNO
10367 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10369 * paragraph_pimpl.h:
10370 * paragraph_pimpl.C: isTextAt() doesn't need font param
10372 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10375 * lyxlex.C: little cleanup
10377 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10379 * BufferView_pimpl.C: fix insertAscii for insets
10381 2001-12-05 Juergen Vigna <jug@sad.it>
10383 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10384 set the right font on the "multi" paragraph paste!
10386 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10392 * lyxlength.C: remove out-commented code.
10394 * BufferView_pimpl:
10408 * vc-backend.C: change "while(" to "while ("
10410 * lyxlength.[Ch]: add zero function to check if length is zero or
10412 * lyxgluelength.C: use it
10414 2001-12-05 Allan Rae <rae@lyx.org>
10416 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10417 Works for 2.95.3, from what I understand of Garst's reports this should
10418 work for other g++ versions. We're screwed if the abs(int) definition
10419 changed between bugfix releases of gcc.
10421 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10423 * text.C: fix chapter label offset !
10425 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10428 * text.C: fix hfill at end of line, clean up
10430 2001-12-04 Juergen Vigna <jug@sad.it>
10432 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10433 that we force an update of the inset and it's owners if neccessary.
10435 2001-12-03 Juergen Vigna <jug@sad.it>
10437 * text.C (rowLast): simplified code
10439 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10441 * lyxfunc.C: fix show options on timeout
10443 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10445 * screen.C (topCursorVisible): scroll half a page when the cursor
10446 reached top of bottom of screen
10448 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10450 * minibuffer.C: deactivate on loss of focus
10452 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10454 * vspace.[Ch] (operator!=): add operator.
10456 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10458 * BufferView_pimpl.C: refuse to open an inset when
10459 there's a selection.
10461 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10463 * BufferView_pimpl.C: allow to click on RHS of full row insets
10465 2001-11-30 Juergen Vigna <jug@sad.it>
10467 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10468 insets for undo reasons.
10470 2001-11-28 André Pönitz <poenitz@gmx.net>
10472 * vspace.[Ch]: cosmetical changes
10474 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10484 * kbsequence.C: part re-write of old kb code
10487 * WorkArea.C: remove Lgb_bug_find_hack
10489 2001-11-30 José Matos <jamatos@fep.up.pt>
10491 * buffer.C (makeDocBookFile): add a comment to point a hack.
10492 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10493 Fixed a double write of labels.
10495 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10498 * LaTeX.h Fixed bug in LaTeX class where it would not
10499 re-run latex if no depfiles were changed, but the .dvi was removed.
10501 2001-11-28 André Pönitz <poenitz@gmx.net>
10503 * all the files from the change on 2001/11/26:
10504 use lyx::layout_type instead of LyXTextClass::size_type
10505 use lyx::textclass_type instead of LyXTextClassList::size_type
10507 2001-11-29 Juergen Vigna <jug@sad.it>
10509 * text.C: added support for paragraph::isFreeSpacing()
10511 * buffer.C: same as above
10513 * paragraph.h: inserted isFreeSpacing() function to enable
10514 FreeSpacing inside InsetERT.
10516 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10517 of the paragraph's in the cut/copy buffer to 0!
10519 * text2.C (removeRow): remove the assert as it can!
10521 * lyxtext.h: added helper function firstRow returning firstrow and
10522 made firstrow private again.
10524 * BufferView2.C (lockInset): don't relock if we're already locked!
10526 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10527 the only paragraph.
10528 (removeRow): added Assert::(firstrow)
10530 * debug.C: forgot to add INSETTEXT here.
10532 2001-11-28 Juergen Vigna <jug@sad.it>
10534 * sp_spell.C (initialize): changed error text to more general
10535 spellchecker command use (not only ispell!)
10537 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10539 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10541 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10543 * vspace.C: initialise lyxgluelength on failure
10545 2001-11-28 Allan Rae <rae@lyx.org>
10547 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10548 declaration & definition that looks like a function declaration.
10550 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10552 * BufferView2.C (copy):
10553 (copyEnvironment): do not clear the selection when doing a copy.
10555 * text.C (paintFirstRow): compilation fix
10557 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10559 * tabular.C (Latex): correct line count when writing latex.
10561 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10563 * paragraph_pimpl.h:
10564 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10567 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10571 * LColor.C: change vfillline->added_space
10573 * text.C: add markers and text for added space
10575 * vspace.C: fix comment
10577 2001-11-28 André Pönitz <poenitz@gmx.net>
10579 * paragraph.C: whitespace changes
10580 * all the other files from the change on 2001/11/26:
10581 change *::pos_type into lyx::pos_type
10583 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10585 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10586 language of the document when inserting error insets.
10588 2001-11-26 André Pönitz <poenitz@gmx.net>
10590 * BufferView_pimpl.[Ch]:
10598 * paragraph_pimpl.[Ch]:
10601 * text2.C: reduce header dependencies, introduce type for positions
10603 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10605 * <various>: change to use Alert.h
10607 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10609 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10610 when encountering an unknown token.
10611 (readLyXformat2): Show an error message if there were unknown tokens.
10613 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10616 * BufferView_pimpl.C:
10620 * text2.C: use par->isInset()
10622 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10624 * paragraph_pimpl.h:
10625 * paragraph_pimpl.C: cleanup
10627 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10629 * text2.C (removeRow):
10630 * text.C (setHeightOfRow): remove useless (and costly) call to
10633 2001-11-20 Allan Rae <rae@lyx.org>
10635 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10636 Now need Inset*::checkInsertChar() to return true for appropriate
10637 cases so that the characters in the minibuffer will actually be
10640 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10642 * text.C: change the order of the includes.
10643 (workWidth): initialize it at once.
10644 (workWidth): make maxw unsigned
10645 (setHeightOfRow): remove unused variable (inset)
10646 (selectSelectedWord): remove unused variable (inset)
10647 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10649 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10651 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10652 server is not running.
10654 (closeConnection): add debug info when server is disabled.
10656 * ColorHandler.C (getGCForeground): send debug message to GUI
10659 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10661 * kbmap.C (bind): modify because return conventions of
10662 kb_sequence::parse have changed.
10664 * kbsequence.C (parse): only ignore spaces and not any stupid
10665 control character. This avoids tests like s[i] <= ' ', which are
10666 guaranteed to fail with 8bit characters and signed chars.
10667 Change return code to string::npos when there have been no error
10668 (0 was a bad idea when error is at first character)
10670 2001-11-14 José Matos <jamatos@fep.up.pt>
10673 * buffer.C (simpleDocBookOnePar): removed unused argument.
10675 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10677 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10678 insets which are part of a word. Paragraph::isLetter takes care of
10679 that now. Use Paragraph::isInset to identify insets.
10680 (selectSelectedWord): do not test for hyphenation break.
10682 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10683 that protected spaces are considered as spaces.
10685 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10688 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10691 * lyxserver.C: fix it. and small cleanup.
10693 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10695 * BufferView_pimpl.C: use inline helpers
10698 * LaTeXFeatures.C: fix typos
10701 * Spacing.C: move spacing_string into class
10703 * ToolbarDefaults.C: move stuff into namespace anon
10705 * layout.h: update enum
10707 * lyxfunc.C: use better debug
10709 * minibuffer.h: fix typo
10713 * WorkArea.C: add and use Debug::WORKAREA
10717 * text2.C: code re-organisation, inline helpers
10719 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10721 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10722 std::vector.empty().
10724 2001-11-09 Allan Rae <rae@lyx.org>
10726 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10727 '\n's after tables. Tabular and ERT inset work now makes this no
10730 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10733 * minibuffer.C: fix crash, improve drop-down completion
10735 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10738 * lyxserver.C: invalidate fd's when doing endPipe()
10740 2001-11-08 José Matos <jamatos@fep.up.pt>
10742 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10743 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10746 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10748 2001-11-07 José Matos <jamatos@fep.up.pt>
10751 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10754 * buffer.C (sgmlOpenTag):
10755 * buffer.C (sgmlCloseTag): removed debug info.
10757 * buffer.h (sgmlOpenTag):
10758 * buffer.h (sgmlCloseTag): made public.
10760 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10762 * buffer.C (saveParamsAsDefaults):
10763 * lyx_cb.C (MenuLayoutSave): remove
10765 * LyXAction.C (init):
10767 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10769 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10771 * buffer.C (setPaperStuff): removed from here...
10773 * bufferparams.C (setPaperStuff): ... and moved there.
10775 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10779 * XFormsView.C: add support for drop-down completion
10781 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10783 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10786 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10788 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10791 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10793 * lyx_main.C: change ref to known bugs
10795 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10797 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10798 to work around older babel problems.
10800 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10802 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10804 2001-10-24 Juergen Vigna <jug@sad.it>
10806 * tabular-old.C (ReadOld): below variable changes reflected.
10808 * tabular.[Ch]: added ltType struct for longtable header/footer
10809 defines and changed all instances where they are used. Added
10810 future support for double top/bottom rows.
10812 2001-10-24 José Matos <jamatos@fep.up.pt>
10814 * buffer.h (docbookHandleCaption):
10815 * buffer.C (docbookHandleCaption): removed unused function.
10816 (makeDocBookFile): moved docbook supported version to v4.1.
10818 2001-10-24 José Matos <jamatos@fep.up.pt>
10821 * tabular.C (docbookRow): new function to export docbook code of a row.
10822 (DocBook): now honors the longtable flags.
10824 2001-10-23 José Matos <jamatos@fep.up.pt>
10827 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10828 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10830 * buffer.C (makeLinuxDocFile):
10831 (makeDocBookFile): reworked the preamble, more clean, and with
10832 support for lyx defined entities. Changed the document declaration
10833 to be more XML friendly.
10835 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10836 if we need to output XML that should be done with a filter.
10838 2001-10-22 Juergen Vigna <jug@sad.it>
10840 * sp_pspell.h (class PSpell): add alive function needed in the
10841 controller to see if the spellchecker could be started.
10843 2001-10-22 Juergen Vigna <jug@sad.it>
10845 * buffer.C (insertStringAsLines): modify the font for inserting
10846 chars in certain conditions by calling checkInsertChar(font).
10848 2001-10-19 Juergen Vigna <jug@sad.it>
10850 * text.C (workWidth): use getRow instead of wrong algorithm.
10851 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10853 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10858 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10860 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10862 * text.C (workWidth): do not search for the exact row when
10863 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10864 optimization for big documents.
10866 2001-10-18 Juergen Vigna <jug@sad.it>
10868 * text.C (workWidth): new function with added Inset * parameter.
10870 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10872 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10874 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10875 change return type of getColumnNearX.
10878 * text.C (changeRegionCase): use uppercase/lowercase instead of
10881 (rightMargin): simplify code by factoring out the uses of
10886 (appendParagraph): use Paragraph::size_type
10888 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10890 * vspace.C (asLatexString): add a missing break
10892 2001-10-15 Herbert Voss <voss@perce.de>
10894 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10896 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10898 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10901 2001-10-10 André Pönitz <poenitz@gmx.net>
10903 * lyxfunc.C: removed greek_kb_flag.
10905 2001-10-10 Herbert Voss <voss@perce.de>
10907 * lyx_main.C: delete global string help_lyxdir.
10909 2001-10-09 Herbert Voss <voss@perce.de>
10911 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10913 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10915 * lyx_main.C: added global string help_lyxdir.
10917 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10919 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10921 * lyxrc.C (set_font_norm_type): support iso8859-4
10923 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10925 * LaTeX.C (deplog): add another regex for MikTeX
10927 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10929 * lyxrc.C (set_font_norm_type): support iso8859-3
10931 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10933 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10935 * LaTeXFeatures.C: remove special case of french and index
10937 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10938 before \begin{document}). This solves several incompatibilities.
10940 2001-10-03 Garst Reese <reese@isn.net>
10942 * lyx_cb.C: change CheckTex error msg.
10944 2001-10-03 José Matos <jamatos@fep.up.pt>
10946 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10948 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10950 * .cvsignore: update
10952 * lyx_main.C (commandLineVersionInfo): use new style version info.
10954 * buffer.C (writeFile):
10956 (makeLinuxDocFile):
10957 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10959 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10961 * version.h: update to use stuff in version.C
10963 * version.C.in: new file. Contains version information determined
10964 at compile time. This is a merging of version.h and
10967 2001-10-03 Juergen Vigna <jug@sad.it>
10969 * BufferView_pimpl.C (update): don't change "dirty" status in
10972 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10974 * WorkArea.C (c-tor): re-position version string slightly.
10976 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10978 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10979 revert to previous code.
10981 WorkArea.[Ch]: (show, destroySplash): methods removed.
10983 WorkArea.C: rework code so that it's an amalgam of the codes before and
10984 after the splash screen was moved to WorkArea.
10986 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10989 * vspace.C (inPixels):
10992 * buffer.C (insertStringAsLines):
10993 (asciiParagraph): fix types to be large enough
10995 * lyxlex_pimpl.h: change member status from short to int
10997 * layout.h: fix type of endlabeltype
11000 * kbsequence.C (parse): change return type to string::size_type
11002 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11005 * Bullet.C (bulletSize):
11006 (bulletEntry): do not use short ints as parameters
11008 * BufferView2.C (insertLyXFile): change a char to an int.
11010 * WorkArea.C (WorkArea): remove unneeded floats in computation
11012 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11014 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11016 * paragraph.C (asString): Do not ignore newline/hfill chars when
11017 copying to the clipboard.
11019 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11021 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11022 after a multi-line inset.
11024 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11026 * paragraph.C (validate): Set NeedLyXFootnoteCode
11028 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11030 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11031 and decrease-error to decrease.
11033 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11035 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11036 it more readable (should be equivalent)
11038 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11040 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11042 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11044 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11045 of a cursor (row, etc.) after a character has been deleted
11046 (deleteEmptyParagraphMechanism): call the method above on _all_
11047 cursors held by the LyXText when a double space has been
11050 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11052 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11054 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11056 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11057 background. Use greyOut() and the new show() methods to toggle between
11058 the foreground and background. Add code to remove the splash after
11059 its initial showing.
11061 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11062 (create_forms): no longer call Dialogs::showSplash.
11064 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11066 * .cvsignore: add version_info.h
11068 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11070 * version_info.h.in: new file
11072 * Makefile.am: add version_info.h.in
11074 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11075 version_info.h instead of VERSION_INFO
11077 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11079 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11080 The ERT inset now returns string().
11082 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11084 * lyxtext.h, text.C (selectNextWord): renamed as
11085 selectNextWordToSpellcheck.
11087 * text.C (selectNextWordToSpellcheck): Modified to not select
11088 words inside an ERT inset.
11090 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11092 * lyx_cb.C (MenuLayoutSave): change a bit the question
11094 * sp_base.h: include <sys/types.h>
11096 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11098 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11100 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11102 * several files: fix typos in user-visible strings
11104 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11106 * text2.C (pasteSelection): do not set the selection, since it
11107 will be cleared later. Actually, the intent was to fix the way the
11108 selection was set, but I figured rmoving the code was just as good.
11110 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11112 * FontLoader.C (available): Check if font is available without
11115 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11117 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11119 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11121 * lyxrc.[Ch]: added display_graphics variable and associated code.
11123 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11125 * bufferparams.C (hasClassDefaults): new method. Returns true if
11126 the buffer parameters correspond to known class defaults
11128 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11130 * XFormsView.C (show): set minimum size to the main window.
11132 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11134 * text2.C (copySelection):
11136 * lyxfind.C (LyXReplace):
11137 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11138 LyXText::selectionAsString.
11140 * paragraph.C (asString): add "label" argument to the second form
11142 * text2.C (selectionAsString): add "label" argument and pass it to
11143 Paragraph::asString.
11145 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11147 * lyx_main.C (commandLineHelp): remove version information
11149 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11151 * lyx_main.C: add -version commandline option
11153 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11155 * paragraph.h: make the optional constructor arg required instead.
11156 some modifications to other files because of this.
11158 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11160 * lyxserver.C (C_LyXComm_callback): make it static
11162 * lyx_main.C (error_handler): make it static
11164 * lyx_gui.C (LyX_XErrHandler): make it static
11166 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11168 * WorkArea.C: make the extern "C" methods static.
11170 * Makefile.am (lyx_LDADD): simplify
11172 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11174 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11175 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11177 * LyXAction.C (init):
11178 * lyxfunc.C (dispatch): associated code removal.
11180 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11182 * lyxfont.h (isSymbolFont): shut off warning
11184 * text.C (setHeightOfRow):
11185 (getVisibleRow): fix crash with empty paragraphs which have a
11188 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11190 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11193 2001-09-04 José Matos <jamatos@fep.up.pt>
11196 * tabular.C (docbook): rename docBook method to docbook.
11198 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11200 * Makefile.am: add dependencies to main.o.
11202 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11204 * FontLoader.C (available): Return false if !lyxrc.use_gui
11206 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11208 * FontInfo.C (query):
11209 * converter.C (view):
11210 * importer.C (Import):
11211 * exporter.C (Export): Can not -> cannot.
11213 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11215 * BufferView_pimpl.C: allow to create index inset even if
11218 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11220 * buffer.C (getLists): replace boost::tie code with an explicit pair
11221 as boost::tie can break some compilers.
11223 * iterators.h: Added a std:: declaration to the return type of
11226 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11228 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11231 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11233 * iterators.[Ch]: New files. Provide paragraph iterators.
11235 * buffer.C (changeLanguage): Use paragraph iterators.
11236 (isMultiLingual): ditto
11238 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11240 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11242 * FontLoader.C: Support for cmr font.
11244 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11246 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11247 (available): New method.
11249 * FontInfo.C (getFontname): Use scalable fonts even when
11250 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11253 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11255 * converter.C (Formats::view): reverted! Incorrect fix.
11257 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11259 * converter.C (Formats::view): only output the -paper option
11260 if the dvi viewer is xdvi, thereby fixing bug #233429.
11262 2001-08-23 Herbert Voss <voss@perce>
11264 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11266 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11268 * Spacing.h (Spacing): Set space to Default on in the default
11271 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11273 * vc-backend.h (RCS::versionString): add RCS to version
11274 (CVS::versionString): add CVS to version
11276 * vc-backend.C (scanMaster): do not add CVS to version.
11277 (scanMaster): do not add RCS to version
11279 * lyxvc.C (versionString): new method
11281 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11283 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11285 * Spacing.C (set): initialize fval
11287 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11289 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11292 2001-08-16 Juergen Vigna <jug@sad.it>
11294 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11296 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11298 * BufferView_pimpl.C:
11301 * text2.C: setParagraph takes linespacing now
11303 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11305 * LyxAction.C: add internal LFUN_CITATION_INSERT
11307 * LyXView.C: actually apply fix
11309 * bufferlist.C: fix open non-existent file
11311 * lyxfind.C: fix indentation
11313 * lyxfunc.C: remove unneeded assert, fix typo
11315 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11317 * MenuBackend.C: use "Floatname List"
11319 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11321 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11322 when converting LaTeX layout to insetERT.
11323 Generate a non-collapsed float when reading old float
11325 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11327 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11330 2001-08-13 Juergen Vigna <jug@sad.it>
11332 * text.C (fill): return 0 instead of 20 as this seems to be the more
11335 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11337 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11340 2001-08-13 Juergen Vigna <jug@sad.it>
11342 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11344 (SearchBackward): comment out the unlocking of the inset_owner this
11345 should not be needed!
11347 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11349 * Many files: Remove inherit_language, and add latex_language
11351 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11352 collapsible insets.
11354 2001-08-10 Juergen Vigna <jug@sad.it>
11356 * text.C (prepareToPrint): fixed hfill-width in draw!
11358 * BufferView2.C (selectLastWord): save the selection cursor as this
11359 now is cleared in the function LyXText::clearSelection!
11361 2001-08-08 Juergen Vigna <jug@sad.it>
11363 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11364 BACKSPACE type functions.
11366 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11367 is only cutted from the document but not put in the cut-buffer, where
11368 still the old stuff should be.
11370 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11372 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11374 * tabular.C (SetWidthOfCell): fixed special case where the width
11376 (LeftLine): handle '|' in align_special.
11378 (LeftAlreadyDrawed): ditto
11379 (SetWidthOfCell): ditto
11381 2001-08-07 Juergen Vigna <jug@sad.it>
11383 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11385 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11387 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11388 * lyxlex.[hC]: ditto
11390 2001-08-06 Juergen Vigna <jug@sad.it>
11392 * text.C (getVisibleRow): fix up row clearing a bit.
11394 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11396 * minibuffer.C: make sure the X server sees the changes in the input.
11398 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11400 * paragraph.C (getFont): split into...
11401 (getLabelFont): this
11402 (getLayoutFont): and this
11403 * paragraph_pimpl.C (realizeFont): calling this
11405 * text2.C (getFont): split into...
11406 (getLayoutFont): this
11407 (getLabelFont): and this
11408 (realizeFont): all three calling this
11410 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11413 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11415 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11417 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11419 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11420 layouts from the Quote inset insertion.
11422 2001-08-03 Juergen Vigna <jug@sad.it>
11424 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11426 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11427 only if status not is already CHANGED_IN_DRAW (second level).
11429 * text.C (draw): don't set the need_break_row when inside an
11432 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11434 * buffer.C (parseSingleLyXformat2Token): handle more latex
11437 * bufferview_funcs.[hC]: change function names to
11438 begin with small char, adjust other files.
11440 2001-08-02 André Pönitz <poenitz@gmx.net>
11443 BufferView_pimpl.C: remove broken special code for math-greek
11445 2001-08-02 Juergen Vigna <jug@sad.it>
11447 * BufferView_pimpl.C (update): redone this function so that we
11448 update the text again if there was a CHANGE_IN_DRAW.
11450 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11451 (drawFromTo): added a new internal bool which is used by draw() and
11453 (general): some cursor drawing problems fixed.
11455 2001-08-01 Juergen Vigna <jug@sad.it>
11457 * lyxfind.C (LyXFind): fixed
11458 (SearchForward): ditto
11459 (SearchBackward): ditto
11461 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11462 spurius drawing of the cursor in the main area.
11464 * text2.C (status): small fix which could lead to a segfault!
11465 (clearSelection): remove unneeded BufferView param.
11467 2001-08-01 André Pönitz <poenitz@gmx.net>
11469 * lyxfunc.C: small change due to changed mathed interface
11471 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11473 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11475 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11477 * lyxfunc.c: fail gracefully if file doesn't exist
11482 * BufferView_pimpl.C: IsDirWriteable() proto changed
11484 * LyXView.C: fix updateWindowTitle() to store the last title
11486 2001-07-31 Juergen Vigna <jug@sad.it>
11488 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11489 the font (wrong since using of Paragraph::highestFontInRange).
11491 * paragraph.C (highestFontInRange): added a default_size parameter.
11493 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11494 (setHeightOfRow): reformat
11496 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11498 * converter.[hC] + affected files: move to (inital-char)lowercase
11501 * ParagraphParameters.C (ParagraphParameters): remove commented code
11503 * PainterBase.[Ch]: remove commented code
11505 * LaTeXFeatures.h: add "bool floats" for float.sty
11507 * LaTeXFeatures.C (LaTeXFeatures): init floats
11508 (require): handle float
11509 (getPackages): do it with floats
11511 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11513 * BufferView_pimpl.C (Dispatch): improve handling of
11514 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11516 * commandtags.h: #include lyxfont.h here temporarily to avoid
11519 * bufferlist.h: include LString.h here.
11521 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11523 * text2.C (getStringToIndex): new method.
11525 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11527 * *: Reduced header file dependencies all over.
11529 2001-07-30 Baruch Even <baruch@lyx.org>
11531 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11533 2001-07-29 Baruch Even <baruch@lyx.org>
11535 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11537 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11539 * ParameterStruct.h (endif): add a default constructor to make
11540 sure that all variables is initialized.
11542 * ParagraphParameters.C (ParagraphParameters): adjust
11544 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11546 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11547 index; also, check that there is something to index, and that it
11548 does not span over several paragraphs.
11549 (doubleClick): use WHOLE_WORD_STRICT for double click.
11551 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11553 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11556 2001-07-26 Baruch Even <baruch@lyx.org>
11558 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11559 an InsetFig figure, backwards compatible reading of old figure code.
11561 2001-07-27 Juergen Vigna <jug@sad.it>
11563 * text2.C: font.realize function adaption.
11565 * text.C (draw): add a warnings lyxerr text if needed.
11567 * layout.C: font.realize function adaption.
11569 * language.C: add inherit_language and implement it's handlings
11571 * bufferview_funcs.C (StyleReset): remove language parameter from
11572 font creation (should be language_inherit now).
11574 * bufferparams.C (writeFile): handle ignore_language.
11576 * paragraph.C (getFontSettings): the language has to be resolved
11577 otherwise we have problems in LyXFont!
11579 * lyxfont.C (lyxWriteChanges): added document_language parameter
11580 (update): removed unneeded language parameter
11582 * paragraph.C (validate): fixed wrong output of color-package when
11583 using interface colors for certain fonts in certain environments,
11584 which should not seen as that on the final output.
11586 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11588 * BufferView_pimpl.C:
11593 * LyXAction.C: add thesaurus support
11596 * lyxfind.C: add "once" parameter, for thesaurus, to not
11597 move to the next match
11599 2001-07-26 Juergen Vigna <jug@sad.it>
11601 * lyxfont.C (realize): honor ignore_language too!
11604 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11606 * text.C (draw): one place more for ignore_language to not draw
11609 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11611 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11613 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11615 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11616 the minipage conversion problem.
11618 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11620 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11623 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11625 * BufferView.h: don't forward declare WorkArea
11627 * BufferView.C: don't include WorkArea.h
11629 2001-07-25 André Pönitz <poenitz@gmx.net>
11633 * lyxfunc.C: new LFUN 'math-space'
11635 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11637 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11639 * text2.C (toggleInset): call open/close
11641 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11643 * lyxfunc.C (dispatch): add debug for the disabled case
11645 * font.C (buttonText): make similar to rectText
11647 * buffer.C (readInset): comment out parsing of insetlist and
11650 * PainterBase.C (rectText): small correction
11652 * BufferView_pimpl.C: comment out insettheorem and insetlist
11653 * LyXAction.C: ditto
11654 * commandtags.h: ditto
11656 2001-07-24 Juergen Vigna <jug@sad.it>
11658 * text.C (draw): honor the ignore_language.
11660 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11662 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11664 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11667 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11669 * lyxtext.h: remove unused (and unimplemented) methods
11671 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11673 * text.C (getVisibleRow): honor background color
11676 * Painter.h: remove default color argument for fillRectangle
11678 * text.C (backgroundColor): new method
11680 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11682 * text.C (getVisibleRow): adjust
11684 * font.[Ch] (rectText): new method, metrics
11685 (buttonText): new method, metrics
11687 * PainterBase.[hC]: make rectText and buttonText always draw and take
11690 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11692 * ToolbarDefaults.C (read):
11693 * MenuBackend.C (read): allow escaping in all strings
11695 * BufferView_pimpl.C (insertAndEditInset): new method.
11696 (Dispatch): use insertAndEditInset whenever appropriate.
11698 * BufferView_pimpl.C (insertNote): removed
11700 * BufferView_pimpl.C (smartQuote): new method, moved from
11701 BufferView; if an insetquote cannot be inserted, insert a '"'
11704 * BufferView2.C: remove insertCorrectQuote();
11706 * lyxfunc.C (getStatus): Add support for all remaingin
11707 inset-insert lfuns.
11709 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11711 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11712 command (necessary to pass " as parameter of self-insert.
11714 * text.C (selectWordWhenUnderCursor):
11715 (selectWord): add word_location parameter
11716 (selectWordWhenUnderCursor): same + remove special code for word
11718 (selectNextWord): use kind() to guess type of insetspecialchar,
11721 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11722 (insertErtContents): create ert insets as collapsed.
11723 (readInset): better compatibility code for Info inset.
11725 2001-07-20 Juergen Vigna <jug@sad.it>
11727 * lyxfunc.C (dispatch): use always LyXFind now!
11729 * text2.C (init): add a reinit flag so that the LyXText can be
11730 reinited instead of deleted and reallocated (used in InsetText).
11732 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11738 2001-07-18 Juergen Vigna <jug@sad.it>
11740 * text.C (selectNextWord): handle insets inside inset by calling
11741 always the bv->text functions so that we can go up the_locking_inset!
11743 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11744 in strange locations when inside an inset!
11746 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11747 handling to include insets.
11749 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11751 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11753 * LyXAction.C (init):
11755 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11756 LIGATURE_BREAK, since the name is so stupid.
11758 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11760 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11763 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11765 * sp_form.[Ch]: remove.
11767 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11769 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11772 * src/buffer.C (readInset): ditto.
11774 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11776 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11777 menuSeparator(), endOfSentenceDot(), ldots() and
11778 hyphenationPoint(), which are therefore removed.
11779 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11781 * LyXAction.C (init):
11782 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11784 * paragraph.C (getWord): removed.
11786 * BufferView_pimpl.C (Dispatch): use last word or selection for
11787 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11789 * lyx_main.C (queryUserLyXDir): do not ask before creating
11790 user_dir, except if it has been named explicitely.
11792 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11794 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11795 a document of zero size.
11797 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11799 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11800 approriately in the c-tor and in require().
11801 (getPackages): output the appropriate LaTeX for natbib support.
11803 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11804 variables "use_natbib" and "use_numerical_citations" when reading the
11806 (readInset): read the various natbib cite commands.
11807 (validate): white-space change.
11809 * bufferparams.[Ch]: new variables "bool use_natbib" and
11810 "bool use_numerical_citations".
11811 (writeFile): output them in the LyX file.
11813 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11815 * lyxfunc.C (getStatus): add support for all the inset insertion
11818 * text2.C (insertInset):
11819 * paragraph.C (insetAllowed):
11820 * BufferView_pimpl.C (insertInset): update to take in account the
11821 renaming of insertInsetAllowed
11823 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11825 * text2.C (getInset): new method. returns inset at cursor position.
11827 * BufferView_pimpl.C (Dispatch): changes because of this.
11829 * LyXAction.C (init): rename open-stuff to inset-toggle.
11831 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11833 * text2.C (toggleInset): renamed from openStuff; use
11836 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11838 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11840 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11842 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11844 * buffer.C (readLyXformat2): Add filename to the error dialog
11846 2001-07-18 Juergen Vigna <jug@sad.it>
11848 * tabular.C (GetCellNumber): put an assert here instead of the check!
11850 2001-07-17 Juergen Vigna <jug@sad.it>
11852 * BufferView_pimpl.C (toggleSelection): adapted too.
11854 * text.C (selectNextWord): adapted for use with insets.
11855 (selectSelectedWord): ditto
11857 2001-07-17 Juergen Vigna <jug@sad.it>
11859 * sp_spell.C (PSpell): fix initialitation order.
11861 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11863 * paragraph.C: spacing
11865 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11867 * sp_spell.C: repair language selection for pspell
11869 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11871 * lyxfunc.h: change more methods to begin with lower char.
11873 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11875 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11876 for unknown layouts.
11878 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11880 * buffer.C (readLyXformat2): Generate an error dialog if there are
11883 2001-07-16 Juergen Vigna <jug@sad.it>
11885 * sp_spell.C: always compile ISpell part.
11887 * lyxrc.C: added use_pspell entry and it's handling.
11889 2001-07-13 Juergen Vigna <jug@sad.it>
11891 * sp_spell.C: removed double includes.
11893 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11895 Consistent use of Lsstream.h:
11896 * Lsstream.h: added using std::stringstream for consistencies sake.
11898 * buffer.C: removed using std::stringstream
11900 * lyxfont.C (stateText):
11901 * paragraph.C (asString):
11902 * text.C (selectNextWord, selectSelectedWord):
11903 * text2.C (setCounter):
11904 * vspace.C (asString, asLatexString):
11905 std::ostringstream -> ostringstream.
11907 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11909 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11910 * commandtags.h: add LFUN_HELP_ABOUTLYX
11911 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11913 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11915 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11917 * lyx_gui_misc.C: remove spellchecker
11918 * lyxfunc.C: showSpellchecker
11920 * sp_ispell.h: added
11921 * sp_pspell.h: added
11922 * sp_spell.C: added
11923 * sp_form.[Ch]: removed
11924 * spellchecker.[Ch]: removed
11926 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11928 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11930 (simpleTeXSpecialChars): Simply print the input character without
11931 any special translation if pass_thru is set.
11933 * layout.h: Added bool pass_thru to layout class for being able to
11934 implement pass through of a paragraph for Literate Programming.
11936 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11937 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11938 * layout.C (Read): add "passthru" to list of layout tags and add
11939 code to set the pass_thru boolean when it is read.
11941 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11943 * trans_decl.h: remove allowed from KmodInfo
11945 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11946 remove allowed code
11949 * paragraph_pimpl.C (erase): use boost::prior
11951 * Painter.C (text): use data() instead of c_str() when length is
11953 * WorkArea.C (putClipboard): ditto
11954 * font.h (width): ditto
11956 * BufferView2.C: use it-> instead of (*it). for iterators
11958 * paragraph_pimpl.C: ditto
11959 * paragraph.C: ditto
11960 * minibuffer.C: ditto
11961 * language.C: ditto
11963 * encoding.C: ditto
11964 * counters.C: ditto
11965 * converter.C: ditto
11967 * Variables.C: ditto
11968 * TextCache.C: ditto
11969 * MenuBackend.C: ditto
11970 * LyXAction.C: ditto
11972 * FloatList.C: ditto
11973 * DepTable.C: ditto
11974 * ColorHandler.C (LyXColorHandler): ditto
11976 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11978 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11980 * text2.C (openStuff): reintroduce this method (which had been
11981 nuked in NEW_INSETS frenzy).
11983 * lyxfunc.C (Dispatch): when an action has not been handled, use
11984 its name in the error message, not its number.
11986 * paragraph.C (inInset): change method name to begin with lowercase.
11989 * text2.C: updates because of this.
11991 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11993 * ToolbarDefaults.C (add): add spaces in error message
11995 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11997 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11998 (readLyXformat2): rename return_par to first_par, use lyxlex's
11999 pushToken and remove the manual push handling.
12000 (parseSingleLyXformat2Token): add another ert comp. variable:
12001 in_tabular, rename return_par to first_par. handle newlines better
12003 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12005 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12007 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12009 * text2.C (getParFromID): removed
12011 * buffer.C (getParFromID): new method moved form lyxtext.
12012 * BufferView2.C (insertErrors): adjust
12013 (setCursorFromRow): adjust
12014 * BufferView_pimpl.C (restorePosition): adjust
12015 * lyxfunc.C (Dispatch): adjust
12016 * undo_funcs.C (textUndo): adjust
12018 (textHandleUndo): adjust
12019 (textHandleUndo): adjust
12021 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12023 * buffer.C: up' the LYX_FORMAT
12025 * lyxfont.h: turn NO_LATEX on as default
12027 * buffer.C (insertErtContents): new methods of tex style compability.
12028 (parseSingleLyXformat2Token): use it several places.
12029 * tabular.C (OldFormatRead): and here
12031 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12033 * text2.C: remove some commented code.
12036 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12037 * trans.C: changes because of the above.
12039 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12041 * text2.C (setCounter): Fix counters bug with bibliography layout.
12043 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12045 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12046 own member functions
12047 (simpleTeXSpecialChars): ditto
12049 2001-07-06 Juergen Vigna <jug@sad.it>
12051 * a lot of files: changed the access to LyXText::status and the
12052 call of undo-functions.
12054 * undo.[Ch]: added a inset_id to the undo informations.
12056 * undo_funcs.[Ch]: added and moved here all undo functions.
12058 * lyxtext.h: give the status enum a weight, made status_ a private
12059 variable and made accessor functions for it, removed the whole bunch
12060 of undo-functions as they are now in their own file, make some
12061 functions publically available. Added function ownerParagraph with
12064 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12065 made InInset() a const function, added getParFromID() function.
12067 * buffer.[Ch]: added const version for inset_iterator functions,
12068 added getInsetFromID() function.
12070 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12071 changed undo functions for new version.
12073 2001-07-05 Juergen Vigna <jug@sad.it>
12075 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12076 unknow mechanism does not call the proper constructor but only this
12077 one also if I request the other!?
12079 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12081 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12083 * text2.C (LyXText): use initialization lists.
12085 * lyxtext.h (Selection): initialize set_ and mark_
12086 (init): remove method
12088 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12090 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12092 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12094 * screen.[Ch]: change method names to begin with lowercase
12096 * BufferView_pimpl.C (updateScrollbar): simplify further and
12097 hopefully make it a bit faster.
12099 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12101 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12102 calling directly xforms functions.
12104 * Painter.C (Painter):
12105 * lyx_cb.C (MenuWrite):
12106 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12109 * lyx_gui.C: remove bogus guiruntime extern declaration.
12111 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12113 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12115 (redoDrawingOfParagraph): ditto
12116 (redoParagraphs): ditto
12117 (cutSelection): don't create a object for CutAndPaste use the
12118 static method directly
12119 (pasteSelection): ditto
12121 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12124 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12126 * modifications to some other files because of this.
12128 * Makefile.am (lyx_SOURCES): add XFormsView
12130 * XFormsView.[Ch]: new files
12132 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12133 the main window. Move the gui dependent stuff to XFormsView
12135 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12137 * tabular.C (GetCellInset): update cur_cell also in the row/col
12138 version of this function.
12140 * lyxfunc.C: no need to include figure_form.h here.
12146 * lyxvc.C: no need to include forms.h here.
12148 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12150 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12152 * lyxfunc.C (Dispatch):
12154 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12155 constructor argument.
12157 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12159 * paragraph.C (Paragraph): dont't clear, and just set layout.
12160 (makeSameLayout): use params's copy contructor.
12162 * ParagraphParameters.[Ch] (makeSame): delete method
12164 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12166 * Variables.[Ch]: fix indentation, rename set to isSet
12168 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12170 * lyxfunc.C (Dispatch): fix typo
12172 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12174 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12177 * bufferlist.C: include assert.h for emergencyWrite().
12179 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12181 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12182 give up at last (bug #425202) !
12184 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12190 * spellchecker.C: strip spellchecker options and bring up
12191 preferences tab instead
12193 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12195 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12196 the istringstream constructor
12198 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12200 * paragraph.C (getLayout): fix return value
12202 * paragraph.h: do not declare getLayout as inline.
12204 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12206 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12208 * lyxcursor.h (operator<): new func
12209 (operator>): new func
12210 (operator>=): new func
12211 (operator<=): new func
12213 * text.C (changeCase): use selection.start and selection.end
12214 (changeRegionCase): require from to be <= to. Require par to be a
12217 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12219 2001-06-27 Juergen Vigna <jug@sad.it>
12221 * text.C (cursorLeftOneWord): changed to return the cursor and added
12222 overlay with BufferView * parameter which calls this one.
12224 (selectWord): use new getWord function.
12225 (changeCase): renamed from changeWordCase as and extended to work
12226 also on selections.
12228 * lyxtext.h: added enum word_location
12230 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12231 changeCase as this operates now also on selections.
12233 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12235 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12237 * many files: send debug output to Debug::INFO instead of
12240 * converter.C (View):
12242 (Move): send debug output to Debug::FILES instead of console.
12244 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12246 * lyxfunc.C (getStatus): use func_status
12248 * func_status.h: new header, describing the results of
12249 LyXFunc::getStatus;
12251 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12254 2001-06-25 The LyX Project <jug@sad.it>
12256 * buffer.C (sgmlOpenTag):
12258 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12260 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12262 * text2.C: remove some dead code
12264 * tabular.C (GetCellInset): store the last cell checked (gotten)
12266 * tabular.h: add the helper for the speedup
12268 * lyxtext.h: remove some dead code
12270 2001-06-26 The LyX Project <Asger>
12272 * paragraph.C: Change export to LaTeX of alignment to
12273 \begin{center} and family for better roundtrip work with reLyX.
12275 * Tune the math drawing a bit.
12277 2001-06-25 The LyX Project <Asger>
12279 * LColor.C (LColor): New color for math background. New color
12282 2001-06-25 The LyX Project <jug@sad.it>
12284 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12286 * lyxfunc.C (Open):
12287 * bufferlist.C (newFile): do not restrict to files ending with
12290 * BufferView_pimpl.C (MenuInsertLyXFile):
12292 2001-06-24 The LyX Project <jug@sad.it>
12294 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12297 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12299 * lyxtext.h: rename most methods to begin with a small char.
12300 Lots of changes because of this.
12302 * paragraph.C (Paragraph): do not call fitToSize
12303 (erase): call Pimpl::erase
12304 (insertChar): call Pimpl::insertChar
12305 (insertInset): call Pipl::insertInset
12306 (breakParagraph): do not call fitToSize
12307 (breakParagraphConservative): do not call fitToSize
12308 (fitToSize): remove method
12310 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12312 2001-06-24 The LyX Project <Asger>
12314 * Fix Qt compilation^2
12316 2001-06-24 The LyX Project <jug@sad.it>
12318 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12319 depthHook(getDepth()-1).
12322 * ParagraphParameters.h:
12323 * ParameterStruct.h: change type of depth to unsigned int ==
12324 depth_type. Many adaptations to other files before of that.
12326 2001-06-24 The LyX Project <Asger>
12328 * Fix Qt compilation.
12330 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12332 * paragraph.h: renamed several methods to begin with small letter.
12333 several changes to many parts of the code because of this.
12335 2001-06-23 The LyX Project <jug@sad.it>
12337 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12338 rewritten to discard all double spaces when KeepEmpty is off
12339 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12340 to only handle newlines but not fiddle with spaces and friends.
12342 * lyxfunc.C (MenuNew): when doing 'new from template', use
12343 template_path as default directory
12345 2001-06-23 The LyX Project <Asger>
12347 * Clean-up of header file includes all over
12348 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12350 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12352 * paragraph.h: renamed from lyxparagraph.h
12354 2001-06-23 Asger <lyx@violet.home.sad.it>
12356 * Buffer.h: Removed Buffer::resize
12357 * BufferList.h: Removed BufferList::resize
12358 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12359 the document lazily when we change the width, or the font settings.
12361 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12363 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12365 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12367 * buffer.h: remove out of date comment
12369 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12372 * screen.C: fix "theoretical" GC leak
12374 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12376 * LaTeX.C (scanAuxFile):
12377 (deplog): remove trailing \r when reading stream (useful under
12380 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12382 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12383 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12384 and BufferView::theLockingInset(Inset*), so should use them and not
12385 access bv_->text->the_locking_inset directly.
12387 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12389 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12392 * tex-defs.h: remove old unused file
12394 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12396 * BufferView_pimpl.C: fix typo, remove minibuffer message
12397 when buffer has loaded
12399 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12401 * lyxfunc.C (Dispatch): use stringstream
12402 (MenuNew): use stringstream
12403 (Open): use stringstream
12405 * importer.C (Import): use stringstream
12407 * bufferview_funcs.C (CurrentState): use stringstream
12409 * LaTeX.C (run): use stringstream
12411 * BufferView_pimpl.C (savePosition): use stringstream
12412 (restorePosition): use stringstream
12413 (MenuInsertLyXFile): use stringstream
12415 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12428 * vspace.C: removed // -*- C++ -*- as first line.
12431 * version.h: added // -*- C++ -*- as first line.
12433 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12435 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12437 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12440 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12442 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12445 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12447 * gettext.C: include LString.h even when --disable-nls is on.
12449 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12451 * converter.h (Get): changed argument type from int to
12452 FormatList::size_type to avoid unnecessary conversion.
12454 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12457 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12459 * gettext.h: include LString.h even when --disable-nls is on.
12461 2001-06-07 Juergen Vigna <jug@sad.it>
12463 * text.C (BreakAgain): subst spaces with tabs.
12465 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12466 (resizeInsetsLyXText): set force on resizeLyXText.
12468 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12470 * gettext.h (gettext_init):
12471 (locale_init): use a real definition instead of a macro
12473 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12475 * Bufferview_pimpl.C:
12477 * LColor.C: further lcolor tidies
12479 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12481 * BufferView_pimpl.C (updateScrollbar): simplify.
12483 * BufferView2.C: don't include insets/insetinfo.h, change
12484 prototype for insertInset and call the Pimpl version. let
12485 updateInset call Pimpl version.
12487 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12488 gotoInset to BufferView::Pimpl
12490 2001-06-01 Juergen Vigna <jug@sad.it>
12492 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12493 inside a LockingInset (is the update needed at all?).
12495 2001-05-31 Juergen Vigna <jug@sad.it>
12497 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12498 here not the old one otherwise how should we compare it afterwards
12501 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12506 * FontInfo.C: bring C functions into global namespace when
12509 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12511 * LString.h: make sure config.h has been loaded before LString.h.
12513 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12514 (one for each char read by EatLine!).
12516 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12519 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12521 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12522 to the same as the par we break from
12524 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12526 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12528 * MenuBackend.C (expand): also create menu entries for wide
12529 versions of the floats.
12531 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12533 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12535 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12536 frontends/Makefile.am
12542 * tabular.C (getTokenValue): add std::
12544 * tabular-old.C (getTokenValue): add std::
12545 (getTokenValue): ditto
12546 (getTokenValue): ditto
12548 * screen.C (ToggleSelection): adjust
12550 * lyxtext.h: put selection cursors inside a Selection struct.
12552 * lyxfunc.C (moveCursorUpdate): adjust
12554 * lyxfont.C (latexWriteStartChanges): add std::
12556 * lyxfind.C: adjust
12558 * font.h: delete with(char const *, LyXFont const &)
12560 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12562 * FontInfo.C (getFontname): add std::
12564 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12565 (workAreaButtonPress): adjust
12566 (tripleClick): adjust
12568 (moveCursorUpdate): adjust
12571 * BufferView2.C (gotoInset): adjust
12573 2001-05-30 Juergen Vigna <jug@sad.it>
12575 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12576 to check pspell I add this as default as I now have new pspell
12577 libraries and they seem to use this.
12579 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12581 * text2.C (CutSelection): make the cursor valid before the call to
12584 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12586 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12587 relied on 0 terminated strings and other horrors. Bug found due to
12588 the new assert in lyxstring!
12590 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12593 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12595 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12598 * lyxfunc.C (processKeySym): change method of getting to the
12601 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12602 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12603 * BufferView_pimpl.[Ch]: here as private methods.
12605 2001-05-28 Juergen Vigna <jug@sad.it>
12607 * text.C (SetHeightOfRow): added the update() call again as it is
12608 needed to initialize inset dimensions!
12610 2001-05-16 Juergen Vigna <jug@sad.it>
12612 * text2.C (SetCharFont): Add new function with BufferView * and
12613 bool toggleall parameters for setting insets internal fonts.
12614 (SetFont): Freeze the undo as we may change fonts in Insets and
12615 all this change should be inside only one Undo!
12617 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12618 setting font's in insets as for them we have the SetFont function!
12620 2001-05-15 Juergen Vigna <jug@sad.it>
12622 * text2.C (ClearSelection): to be sure we REALLY don't have any
12625 * tabular.C (TeXCellPreamble): fixed the left border problem for
12628 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12630 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12633 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12635 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12636 LFUN_BREAKPARAGRAPH.
12638 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12639 help test to "internal only", similar for LFUN_INSERT_URL
12641 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12642 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12643 auto_region_delete and deadkeys.
12645 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12648 * LColor.C: remove some dead entries, tidy a little
12650 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12652 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12654 (Dispatch): implement LFUN_ESCAPE
12656 * commandtags.h: add LFUN_ESCAPE
12658 * LyXAction.C (init): add entry for LFUN_ESCAPE
12660 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12661 Remove commented code.
12662 (insertNote): moved here
12663 (open_new_inset): moved here
12665 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12668 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12670 * kbmap.C (findbinding): clean it up and make it work correctly.
12672 * lyx_main.C (init): do not pass argc and argv as parameters
12674 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12676 * buffer.C: fix path for OS/2 & Win32
12680 * lyx_main.C: Added os:: class.
12682 * os2_defines.h: update
12684 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12686 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12687 better by trying again with reduced state.
12689 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12691 * lyxrc.C (read): print error about invalid key sequence only when
12692 debugging (because not all latinX keysyms are known to some X
12695 * kbsequence.C (getiso): add a few std:: qualifiers
12696 (getiso): comment out extra return statement.
12698 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12700 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12702 (Dispatch): enhance the accent inset a bit. (not perfect)
12704 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12706 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12708 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12710 * bufferlist.C (emergencyWrite): fix assert() call
12712 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12714 * text.C (InsertChar): Added trivial patch to only send the "you
12715 can not do multiple spaces this way" message once during a
12718 2001-05-08 Baruch Even <baruch@lyx.org>
12720 * Makefile.am: Changed order of libraries to get LyX to link properly
12721 with the gnome frontend.
12723 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12725 * LaTeXFeatures.h: add a std:: qualifier
12727 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12729 * paragraph.C (String): use stringstream
12731 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12733 * paragraph.C (writeFile): remove footflag arg
12735 * buffer.C (makeLaTeXFile): use stringstream
12736 (latexParagraphs): remove footnot gurba
12738 * LaTeXFeatures.C (getPackages): use stringstream
12739 (getMacros): likewise
12740 (getTClassPreamble): likewise
12741 (getFloatDefinitions): new method
12743 * paragraph.C (writeFile): reindent
12746 * WorkArea.h: revert the xpos + etc changes.
12748 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12750 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12752 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12753 (pasteSelection): likewise
12754 * text2.C (CreateUndo): likewise
12756 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12758 * minibuffer.C (peek_event): temporarily reduce the functionality
12759 of the minibuffer (to allow args on lfuns)
12761 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12762 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12764 * buffer.C (readInset): add compability reading of old float
12765 lists, add reading of new style float list.
12766 (readInset): avoid reevaluation of inscmd.getCmdName()
12767 (getLists): reindent
12769 * MenuBackend.C (MenuItem): implement parsing of
12770 md_floatlistinsert and md_floatinsert.
12771 (expand::LastFiles): move initalizaton of iterators out of loop,
12772 avoid reevaluation.
12773 (expand::Documents): introduce typdedef vector<string> Strings,
12775 (expand::ExportFormats): introduce typedef vector<Format const *>
12776 Formats, and use it.
12777 (expand): implement FloatListInsert and FloatInsert.
12779 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12780 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12781 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12783 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12785 (Dispatch::LFUN_FLOAT_LIST): implement
12787 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12789 * LaTeX.C (run): Fix problem with --export code.
12791 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12793 * BufferView.[Ch] (workarea): removed.
12794 (getClipboard) new method; wrapper for workarea()->getClipboard()
12796 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12799 * WorkArea.h (width, height, xpos, ypos): These methods all
12800 returned the dimensions of the work_area sub-area of WorkArea,
12801 resulting in a position error if the WorkArea were resized. Now
12802 return the dimensions of the entire WorkArea.
12804 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12806 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12808 * LaTeX.C (deplog): correct the syntax of regex reg1
12810 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12812 * undo.C: remove !NEW_INSETS cruft
12814 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12816 * text2.C: remove !NEW_INSETS cruft
12818 * text.C: remove !NEW_INSETS cruft
12820 * tabular.C: remove !NEW_INSETS cruft
12822 * spellchecker.C: remove !NEW_INSETS cruft
12824 * lyxtext.h: remove !NEW_INSETS cruft
12826 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12828 * lyxfunc.C: remove !NEW_INSETS cruft
12830 * lyxfind.C: remove !NEW_INSETS cruft
12832 * lyx_cb.C: remove !NEW_INSETS cruft
12834 * figureForm.C: remove !NEW_INSETS cruft
12836 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12838 * buffer.[Ch]: remove !NEW_INSETS cruft
12840 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12842 * CutAndPaste.C: remove !NEW_INSETS cruft
12844 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12846 * BufferView2.C: remove !NEW_INSETS cruft
12848 * BufferView.h: remove !NEW_INSETS cruft
12850 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12852 * Lsstream.h: include LString.h before the sstream headers to
12853 fix problem with gcc 2.95.3 and lyxstring
12855 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12857 * lyx_main.C: add using directives when needed for C functions
12858 declared in std:: namespace.
12860 2001-04-27 Juergen Vigna <jug@sad.it>
12862 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12863 (SetHeightOfRow): comment out the update call should not be needed!
12865 2001-04-13 Juergen Vigna <jug@sad.it>
12867 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12868 (LyXTabular): tried to minimize operator= operations (and realized
12869 hopfully Lars wish).
12871 2001-04-27 Juergen Vigna <jug@sad.it>
12873 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12875 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12877 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12879 * buffer.C (readInset): hack to make listof algorithm work
12881 * BufferView_pimpl.C: hack to make listof algorithm work
12883 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12885 * LyXAction.C: removed all !NEW_INSETS cruft
12886 (init): moved lfun_item in method
12888 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12890 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12892 * BufferView2.C (theLockingInset): white space.
12894 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12896 * minibuffer.C: include <iostream>
12898 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12900 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12902 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12904 * text.[Ch] (TransposeChars): new method
12906 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12908 * call message directly through LyXView instead of through LyXFunc
12909 * BufferView2.C: adjust
12910 * BufferView_pimpl.C: adjust
12911 * FontLoader.C: adjust
12913 * bufferview_funcs.C: adjust
12914 * converter.C: adjust
12915 * figureForm.C: adjust
12916 * importer.C: adjust
12918 * lyx_gui_misc.C: adjust
12919 * lyxfunc.C: adjust
12922 + more files in subdirs
12924 * lyxparagraph.h (size): move up int file
12927 * adjust all uses of Assert to lyx::Assert.
12929 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12930 lyxfunctional in namespace lyx
12931 * layout.C (hasLayout): ditto
12934 (delete_layout): ditto
12935 (NumberOfClass): ditto
12936 * converter.C (GetFormat): ditto
12941 * bufferlist.C (getFileNames): ditto
12942 (emergencyWriteAll): ditto
12945 * MenuBackend.C (hasSubmenu): ditto
12948 * BufferView_pimpl.C (getInsetByCode): ditto
12950 2001-04-18 Juergen Vigna <jug@sad.it>
12952 * vspace.C (asLatexString): fixed the 100% problem.
12954 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12956 * lyxfunc.C (Dispatch):
12958 * minibuffer.h: add a few std:: qualifiers
12960 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12962 * minibuffer.[Ch]: reimplement so that commands is initiated and
12963 run from lyxfunc, simplified som handling, and made the completion
12964 and history code for complete. wip.
12966 * lyxfunc.C (processKeySym): call message
12967 (miniDispatch): new temporary method
12968 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12969 (LFUN_MESSAGE): implement
12970 (LFUN_MESSAGE_PUSH): implement
12971 (LFUN_MESSAGE_POP): implement
12972 (initMiniBuffer): the initial/defualt minibuffer message.
12974 * lyxfont.[Ch]: inline some more getters
12976 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12978 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12980 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12981 (AutoSave): use LFUN_MESSAGE
12982 (Reconfigure): ditto
12984 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12986 * figureForm.C: use LFUN_MESSAGE
12988 * converter.C (runLaTeX): use LFUN_MESSAGE
12990 * bufferview_funcs.C: use LFUN_MESSAGE
12992 (changeDepth): ditto
12994 * bufferparams.h: use boost::
12996 * bufferlist.h: inherit privately from noncopyable
12998 * bufferlist.C (loadLyXFile): remove some commented code.
13000 * buffer.C (runChktex): use LFUN_MESSAGE
13002 * ShareContainer.h: inherit privately from noncopyable
13004 * ParagraphParameters.[hC] (depth): inline it.
13006 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13008 (message): new method
13009 (messagePush): ditto
13010 (messagePop): ditto
13011 (show): init minibuffer
13012 (showState): direct call
13014 * LaTeX.[Ch]: inherit privately from noncopyable
13015 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13016 instead of WriteStatus.
13018 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13020 * BufferView_pimpl.C (buffer): don't init minibuffer
13021 (workAreaButtonPress): use LFUN_MESSAGE
13022 (workAreaButtonRelease): ditto
13023 (savePosition): ditto
13024 (restorePosition): ditto
13025 (MenuInsertLyXFile): ditto
13026 (workAreaExpose): don't init minibuffer
13027 (update): remove commented code, simplify
13029 * BufferView2.C (openStuff): use LFUN_MESSAGE
13030 (toggleFloat): ditto
13033 (copyEnvironment): ditto
13034 (pasteEnvironment): ditto
13039 (updateInset): remove some commented code
13041 * lastfiles.h: inherit privately from noncopyable
13044 * lyx_main.h: ditto
13046 * lyxlex_pimpl.h: ditto
13048 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13049 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13050 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13052 * LyXAction.h: inherit privately from noncopyable, add methods
13053 func_begin, func_end, returning iterators to the func map.
13055 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13056 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13057 (func_begin): new method
13058 (func_end): new method
13060 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13062 (copySelection): ditto
13063 (pasteSelection): ditto
13065 * BufferView.C: whitespace change
13066 * BufferView.h: inherit privately from noncopyable
13068 2001-04-16 Allan Rae <rae@lyx.org>
13070 * tabular-old.C (l_getline):
13071 * spellchecker.C (sc_check_word):
13072 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13073 an unrecognised preprocessor directive. So ensure they're wrapped.
13075 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13077 * src/exporter.C (Export): Give an error message when path to file
13080 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13082 * LaTeX.C (deplog): Always check that foundfile exists.
13084 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13087 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13089 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13091 * tabular.[Ch] (getLabelList): implement new method
13093 * minibuffer.h: comment ouf setTiimer
13095 * minibuffer.C (ExecutingCB): constify res
13096 (peek_event): constify s
13097 (Set): constify ntext
13098 (Init): constify nicename
13100 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13102 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13103 (savePosition): use two params to Minibuffer::Set
13104 (restorePosition): ditto
13106 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13108 * lyx_main.C: include language.h
13110 * Makefile.am (lyx_main.o): add language.h
13112 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13118 * CutAndPaste.C: include gettext.h
13120 * lyxfont.h: remove old hack with ON and OFF.
13123 * lyxfont.h: do not include language.h...
13128 * bufferview_funcs.C:
13134 * paragraph.C: ... but do it here instead
13136 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13138 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13140 * tabular.C: small reformat
13142 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13145 (BreakParagraph): ditto
13146 (SetOnlyLayout): ditto
13149 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13152 * lastfiles.C: removed most using decl, add std:: where needed
13154 * buffer.C: ws changes
13156 * MenuBackend.C (class compare_format): put into anon namespace
13157 (expand): constify label, names, action, action2
13160 * text.C (SingleWidth): constify font
13161 (IsBoundary): constify rtl2
13162 (GetVisibleRow): constify ww
13164 * LaTeX.C (deplog): constify logfile
13166 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13168 (workAreaExpose): constify widthChange, heightChange
13170 * lyxrow.C (par): moved
13173 * lyxrow.h: as inlines here
13175 * lyxfont.h (shape): moved from lyxfont.C
13176 (emph): moved from lyxfont.C
13178 * lyxfont.C (LyXFont): use initialization list for all
13180 (shape): move to lyxfont.h as inline
13181 (emph): move to lyxfont.h as inline
13184 2001-04-04 Juergen Vigna <jug@sad.it>
13186 * vspace.C: had to include stdio.h for use of sscanf
13188 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13191 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13192 independent of xforms.
13194 2001-04-02 Juergen Vigna <jug@sad.it>
13196 * spellchecker.C: fixed namespace placing!
13198 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13200 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13201 the LyXParagraph * is 0.
13203 2001-03-29 Juergen Vigna <jug@sad.it>
13205 * vspace.C: added support for %, c%, p%, l%.
13206 (stringFromUnit): added helper function.
13207 (asLatexString): changed to give right results for the %-values.
13209 * buffer.C: convert the widthp in a width%.
13211 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13213 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13216 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13217 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13219 * lyx_cb.[Ch]: see above.
13221 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13225 * lyx.[Ch]: replaced by figure_form.[Ch].
13229 * lyxfunc.C: changed headers associated with above changes.
13231 2001-03-27 Juergen Vigna <jug@sad.it>
13233 * BufferView_pimpl.C: set the temporary cursor right!
13235 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13237 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13239 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13241 * LString.h: removed "using std::getline"!
13243 * BufferView_pimpl.C (Dispatch): changes due to changes in
13244 InsetInclude::Params.
13246 * buffer.C (tag_name): removed redundant break statements as they were
13247 producing lots of warnings with my compiler.
13249 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13251 * LString.h: add "using std::getline" when using the real <string>.
13253 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13255 * buffer.C: removed bitset usage.
13256 PAR_TAG moved to an anonymous name space.
13257 (tag_name): new funtion, also in the anonymous namespace.
13258 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13259 (makeDocBookFile): clean code. Completed transition from string arrays
13261 (SimpleDocBookOnePar): code clean.
13263 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13265 * tabular.C: add some comments.
13267 2001-03-22 Juergen Vigna <jug@sad.it>
13269 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13270 compatibility read a bit and fixed bug with minipage in different
13273 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13275 * buffer.C (pop_tag): removed.
13276 (push_tag): removed.
13277 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13278 array replaced with vector. Added support for CDATA sections.
13279 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13281 (makeDocBookFile): XML conformant declaration of CDATA section,
13282 fixed bug related to <emphasis> in the first paragraph char.
13283 (sgmlOpenTag): exclude empty tags.
13284 (sgmlCloseTag): ditto.
13286 * buffer.h (pop_tag): removed.
13287 (push_tag): removed.
13289 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13291 * language.h (Languages): added size_type and size().
13293 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13295 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13296 response on compability reading of minipages. One probliem is that
13297 the old usage of minipages was «flertydig»
13299 * several files here and in subdirs: don't use static at file
13300 scope use anon namespaces instead.
13302 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13304 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13305 LaTeX output. This is necessary for Literate document
13308 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13310 * buffer.C: insert hfill when needed.
13312 * tabular.C (l_getline): use string::erase, small whitespace change.
13314 * BufferView_pimpl.C: try the anon namespace.
13315 * WorkArea.C: ditto
13317 2001-03-16 Juergen Vigna <jug@sad.it>
13319 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13320 otherwise it won't open options-dialogs.
13322 * buffer.C: honor pextraWidth(p) on converting minipages.
13324 * tabular.C (l_getline): changed the functions to strip trailing \r.
13326 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13328 * BufferView_pimpl.C:
13329 * minibuffer..C: added "using SigC::slot" declaration.
13331 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13333 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13339 * paragraph.C: ditto
13341 * lyxtext.h: NO_PEXTRA
13343 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13345 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13346 * ParameterStruct.h: ditto
13347 * ParagraphParameters.h: ditto
13348 * lyxparagraph.h: ditto
13350 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13352 * buffer.C: add compability for minipage alignment.
13353 (latexParagraphs): remove unwanted pextra check.
13355 * several files: remove CXX_WORKING_NAMESPACES
13357 * buffer.C (pop_tag): tie is in namespace boost
13359 * BufferView.h: noncopyable is in namespace boost
13361 * lyx_main.h: ditto
13364 * lastfiles.h: ditto
13365 * bufferlist.h: ditto
13366 * ShareContainer.h: ditto
13368 * LyXAction.h: ditto
13371 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13373 * Merging changes from BRANCH_MVC back into HEAD.
13375 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13377 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13379 * BufferView_pimpl.C: change from intl.C
13383 * Makefile.am: move combox.*
13389 * intl.C: remove dialog (covered by prefs)
13391 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13393 * lyxfunc.C (Dispatch): removed redundant break statement.
13395 2001-03-14 Juergen Vigna <jug@sad.it>
13397 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13399 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13401 * buffer.C: add hack to fix compability reading of minipages.
13403 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13405 * buffer.C (getLists): Cleanup.
13407 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13409 * lyxfont.C (update): don't honor toggleall on font size.
13411 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13415 * Makefile.am: moved to frontends/xforms/
13419 * BufferView_pimpl.C: changes for moved mathpanel
13421 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13423 * gettext.h: fix gettext_init() in --disable-nls
13425 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13427 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13429 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13432 * lyx.h: strip external form
13434 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13436 * BufferView_pimpl.C: add comment, destroySplash()
13438 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13440 * BufferView_pimpl.C:
13444 * lyxfunc.C: use re-worked insetinclude
13446 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13448 * buffer.C: add using std::stringstream.
13450 * lyx_cb.C: readd using std::ios.
13452 * buffer.C: add using std::map.
13454 * BufferView_pimpl.C: add using std::vector.
13456 * ShareContainer.h: add std:: to swap.
13458 * buffer.h: add some typedefs
13459 * buffer.C (getLists): use them
13460 (getLists): renamed from getTocList.
13461 add a counter for the different float types and use it in the
13463 (getLists): use the same counter for the NEW_INSETS and the "non"
13466 * lyx_cb.h: remove unused items, includes, using etc.
13468 * ShareContainer.h: remove some commented code, add more comments
13469 and "documentation".
13471 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13473 * buffer.C (getTocList): make the list also when NEW_INSETS is
13476 * buffer.h: remove TocType
13478 * buffer.C (getTocList): change to return a map<string,
13479 vector<TocItem> >, implement for dynamic number of list.
13481 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13482 * text2.C (PasteSelection): adjust
13483 * CutAndPaste.C (pasteSelection): adjust
13485 * FloatList.C (FloatList): update from the new_insets branch.
13486 * Floating.[Ch]: ditto
13487 * LaTeXFeatures.C: ditto
13489 * lyxlex_pimpl.C: ditto
13491 * paragraph.C (Last): remove when NEW_INSETS is defined.
13493 * other file: changes because of the above.
13495 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13497 * lyxparagraph.h: rename next to next_, previous to previous_,
13498 make them private for NEW_INSETS. Rename Next() to next(),
13499 Previous() to previous().
13501 * other files: changes because of the above.
13503 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13506 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13509 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13511 * main.C (main): pass lyx_localedir to gettext_init().
13513 * gettext.h: remove locale_init and gettext_init macros
13515 * gettext.C (locale_init): new function
13516 (gettext_init): new function
13518 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13521 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13523 * Moved credits to frontends:
13524 * credits.[Ch]: removed
13525 * credits_form.[Ch]: removed
13526 * lyx_gui_misc.C: remove credits stuff
13529 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13531 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13533 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13534 unneeded destructor.
13536 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13537 a standalone pointer again.
13539 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13541 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13547 * ToolbarDefaults.C:
13556 * BufferView_pimpl.C: use new file dialog in GUII
13559 * lyx_cb.C: remove LayoutsCB to Toolbar
13561 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13563 * ShareContainer.h (get): add std:: qualifier
13565 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13567 * ShareContainer.h: define a proper ShareContainer::value_type
13568 type (and use typename to please compaq cxx)
13570 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13572 * lyxparagraph.h: move serveral local vars to
13573 ParameterStruct/ParagraphParameters., use ShareContainer in
13574 FontTable., make vars in FontTable private and add getter and
13577 * paragraph.C: changes because of the above.
13579 * lyxfont.h: remove copy constructor and copy assignment. (the
13580 default ones is ok), move number inside FontBits. move inlines to
13583 * lyxfont.C: add number to initializaton of statics, move several
13584 inlines here. constify several local vars. some whitespace
13585 cleanup. Dont hide outerscope variables.
13587 * Spacing.h: add two new constructors to match the set methods.
13589 * ShareContainer.h: new file, will perhaps be moved to support
13591 * ParameterStruct.h: new file
13593 * ParagraphParameters.h: new file
13595 * ParagraphParameters.C: new file
13597 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13598 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13600 * BufferView_pimpl.C: ParagraphParameter changes.
13601 * buffer.C: Likewise.
13602 * bufferview_funcs.C: Likewise.
13603 * text.C: Likewise.
13604 * text2.C: Likewise.
13606 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13608 * lyxfind.C (LyXReplace): do not redefine default argument in
13610 (IsStringInText): ditto
13611 (SearchForward): ditto
13612 (SearchBackward): ditto
13614 2001-03-06 Juergen Vigna <jug@sad.it>
13616 * lyxfind.C (IsStringInText): put parentes around expressions.
13618 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13620 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13622 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13624 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13626 * stl_string_fwd.h: add comment
13628 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13631 * tabular.C: remove unused DocBook methods
13637 killed DO_USE_DEFAULT_LANGUAGE
13639 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13641 * lyx_gui.C: do not include language.h.
13643 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13644 arguments in function implementation.
13646 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13648 * BufferView_pimpl.C: add <ctime>
13650 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13652 * BufferView_pimpl.C: add using std::find_if
13654 2001-02-27 José Matos <jamatos@fep.up.pt>
13656 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13659 2001-02-11 José Matos <jamatos@fep.up.pt>
13661 * buffer.C (makeDocBookFile): command styles now have a parameter as
13662 "title" by default.
13664 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13666 * layout_forms.[Ch]: removed
13667 * lyx_cb.[Ch]: out character
13668 * lyx_gui.C: out character
13669 * lyx_gui_misc.C: out character
13670 * bufferview_funcs.C: : out character,
13671 added toggleall as parameter in ToggleAndShow
13673 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13675 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13677 * text2.C (SetCurrentFont): Disable number property at boundary.
13679 2001-02-26 Juergen Vigna <jug@sad.it>
13681 * lyxfunc.C (getStatus): added a string argument override function so
13682 that this is correctly called from LyXFunc::Dispatch if it contains a
13683 do_not_use_argument which is used!
13684 (Dispatch): added check for "custom" export and call appropriate func.
13686 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13688 * lyxrc.C: Add language_command_local, language_use_babel and
13689 language_global_options.
13691 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13693 * buffer.C (makeLaTeXFile): Use language_use_babel and
13694 language_global_options.
13696 2001-02-23 Juergen Vigna <jug@sad.it>
13698 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13699 which works with LyXText and putted it inside BufferView. Here now we
13700 only call for that part the BufferView::Dispatch() function.
13702 * BufferView.C (Dispatch): added.
13704 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13705 functions which needs to use a LyXText over from LyXFunc.
13706 (MenuInsertLyXFile): added
13707 (getInsetByCode): added
13708 (moveCursorUpdate): added
13709 (static TEXT): added
13711 2001-02-22 Juergen Vigna <jug@sad.it>
13713 * BufferView_pimpl.C (update): call a status update to see if LyXText
13716 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13718 * vc-backend.C (revert): implement for CVS
13719 (getLog): implement for CVS
13721 2001-02-20 Juergen Vigna <jug@sad.it>
13723 * text2.C (ClearSelection): added BufferView param for inset_owner call
13725 * lyxfunc.C (TEXT): added this function and use it instead of
13726 directly owner->view()-text of getLyXText().
13728 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13730 * src/layout_forms.C: out preamble
13731 * src/layout_forms.h: out preamble
13732 * src/lyx_cb.C: out preamble
13733 * src/lyx_cb.h: out preamble
13734 * src/lyx_gui.C: out preamble
13735 * src/lyx_gui_misc.C: out preamble
13736 * src/lyxfunc.C: connect with guii preamble
13738 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13740 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13742 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13744 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13745 whether to run bibtex.
13747 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13749 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13751 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13753 * Makefile.am (lyx_SOURCES): removed bibforms.h
13755 * vspace.h: doxygen
13757 * text.C (GetVisibleRow): make several local vars const
13759 * tabular.C: small cleanup.
13761 * lyxserver.C (callback): use compare instead of strncmp
13763 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13764 inlines to after class or to paragraph.C
13766 * lyxfont.h: remove friend operator!=
13768 * converter.h: move friend bool operator< to non friend and after
13771 * combox.h: small cleanup
13773 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13774 to inlines after class def.
13776 * buffer.C (pop_tag): use string operations instead of strcmp
13778 * bmtable.c: doxygen, small cleanup
13780 * LaTeX.h: remove friend operator==
13782 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13794 * BufferView_pimpl.C:
13795 * BufferView.[Ch]: remove cruft
13797 2001-02-14 Juergen Vigna <jug@sad.it>
13799 * lyxfunc.C: removed #if 0 unused code
13801 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13803 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13805 * text2.C (SetSelection): added a BufferView * parameter
13807 2001-02-13 Juergen Vigna <jug@sad.it>
13809 * lyxfunc.C (Dispatch): fixed protected blank problem.
13810 * BufferView2.C (protectedBlank): added LyxText * parameter.
13812 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13813 (AppendColumn): same as above for column_info.
13815 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13816 (moveCursorUpdate): use a LyXText param for support of InsetText.
13818 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13819 (tripleClick): ditto
13821 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13823 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13825 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13827 * text2.C (SetSelection): set correct update status if inset_owner
13828 (ToggleFree): ditto
13830 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13832 * tabular.C: remove some commented code.
13834 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13836 * BufferView_pimpl.C: call hideSplash()
13838 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13841 * bibforms.h: remove
13844 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13845 add LFUN_CHILD_CREATE
13847 * counters.h: fix tiny typo
13852 * lyx.C: move splash to frontends/xforms/
13854 * lyx_gui_misc.C: move Include and Bibform to frontends
13856 * lyxvc.h: clarify comment
13858 * vspace.C: tiny housekeeping
13860 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13862 * text.C (PrepareToPrint): RTL Fix.
13864 * paragraph.C (GetUChar): New method.
13865 (String): Use GetUChar.
13867 * buffer.C (asciiParagraph): Use GetUChar.
13869 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13871 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13873 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13876 * buffer.C: rename to getLogName(), handle
13877 build log / latex log nicely
13879 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13882 * MenuBackend.h: remove support for reference menuitem type.
13884 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13886 * BufferView_pimpl.C: housekeeping
13887 * BufferView_pimpl.h:
13892 * minibuffer.h: move Timeout GUI-I
13894 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13896 * lyxrc.C (read): Update converters data-structures.
13898 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13900 * LaTeX.h (operator!=): add operator != for Aux_Info
13902 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13904 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13906 * LaTeXLog.C: deleted, useful code moved to Buffer
13909 * buffer.C: new function getLatexLogName()
13915 * lyxfunc.C: use frontends for LaTeX and VC logs
13917 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13919 * LaTeX.h: yet another std:: that Allan forgot.
13921 * Variables.C (set): renamed from isset(), because this clashes
13922 with some HP-UX macros (grr).
13924 2001-02-06 Allan Rae <rae@lyx.org>
13926 * LaTeX.h: Another bug fix. Missing std:: this time.
13928 2001-02-04 Allan Rae <rae@lyx.org>
13930 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13931 floats problem. I've left it commented out because it's not quite
13932 correct. It should also test that the current object is a table or
13933 figure inset. But I haven't gotten around to figuring out how to do
13934 that. I *think* it'll be something like: "table" == inset.type()
13936 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13939 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13941 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13942 all the citation/databases/styles in the auxilary file.
13943 (run): Rerun latex if there was a babel language error.
13945 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13947 * text.C (Backspace): Preserve the font when changing newline char
13949 (BreakParagraph): If the cursor is before a space, delete the space.
13951 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13953 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13955 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13956 new argument (code).
13957 (ChangeCitationsIfUnique): New method.
13959 * paragraph.C (GetPositionOfInset): Handle bibkey.
13961 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13963 * BufferView_pimpl.h: change type of Position::par_pos to
13964 LyXParagraph::size_type.
13966 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13968 * BufferView_pimpl.C (savePosition, restorePosition): Write
13969 messages to minibuffer.
13971 2001-01-28 José Matos <jamatos@fep.up.pt>
13973 * buffer.C (makeDocBookFile): adds support for document language.
13974 A silly restriction on the name of LatexCommand types where removed.
13975 Added support for CDATA sections, allows to chars unescaped, used
13976 among others in code, to avoid escape < and >.
13978 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13980 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13981 saved positions instrad of a stack. Furthermore, a position is
13982 stored using paragraph id/paragraph position.
13984 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13985 Remove LFUN_REF_BACK.
13987 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13989 * converter.C (dvipdfm_options): New method.
13991 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13993 * vspace.C (isValidLength): Fix for empty input string.
13995 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13997 * LyXAction.C (init): change description of LFUN_FIGURE to
14000 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14002 * LaTeX.C: add using directive
14004 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14006 * MenuBackend.C (expand): Fix the sorting of the formats.
14008 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14010 * lyx_main.C: tiny error message fix
14012 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14014 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14015 calling fl_initialize(). This fixes the problem with ',' as
14016 decimal separator in text files.
14018 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14020 * trans.C (process): Fix the keymap bug.
14022 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14024 * LaTeX.C (scanAuxFiles): New method. Provides support for
14025 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14026 (scanLogFile) Scan for "run BibTeX" messages.
14028 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14029 OT1 font encoding. Also, load the aecompl package if the ae
14032 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14034 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14036 * texrow.C (increasePos): turn two error messages into debug
14039 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14041 * LaTeX.C (scanAux): Handle the \@input macro.
14042 (runBibTeX): Use scanAux().
14044 * language.C (latex_options_): New field.
14046 * LaTeXFeatures.C (getMacros): Add language macros.
14048 * buffer.C (makeLaTeXFile): Small fix.
14050 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14052 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14054 * text2.C: add a using directive.
14056 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14061 * lyxfunc.C: kill LyXBell.
14063 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14065 * text.C (IsBoundary): Remove the error message
14067 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14069 * lyxrc.C (setDefaults): Correct initialization value for
14072 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14074 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14077 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14078 and GotoNextNote().
14080 * src/LyXAction.C: Added reference-next.
14082 * text.C (InsertChar): Use contains instead of strchr.
14084 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14086 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14088 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14089 alignment commands (when needed).
14091 * text.C (InsertChar): Add ':' to number separator chars.