1 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3 * BranchList.C: fix setSelected() method.
5 2003-11-28 André Pönitz <poenitz@gmx.net>
7 * ParagraphParameters.[Ch]:
8 * ParameterStruct.h: remove space above/below from Paragraph to
23 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
25 * factory.C: Syntax change for CharStyles
27 2003-11-28 André Pönitz <poenitz@gmx.net>
32 * buffer.[Ch]: move LyXText member
34 2003-11-28 André Pönitz <poenitz@gmx.net>
36 * BufferView.[Ch]: make LyXText * text a private member
49 * output_plaintext.C: cleanup
51 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
54 * lyxtextclass.[Ch]: parametrize SGML document header
56 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
59 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
62 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
64 * text2.C (setFont): rework using PosIterator (no more recursive)
65 (setCharFont): no more needed
66 (setLayout): no more selection cursors fiddling (done by redoCursor)
67 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
68 destroy remaining ones)
70 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
72 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
74 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
77 * text3.C: adjust + re-allow multi par depth changes
78 * textcursor.C: simplify a bit
80 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
86 * src/output_docbook.C:
92 * src/text2.C: Introducing a number of tags parametrizing various
93 XML formats that we may want to support
95 2003-11-25 André Pönitz <poenitz@gmx.net>
97 * InsetList.[Ch] (begein, end): inline as suggested by profiler
99 * lyxtext.h (leftMargin/rightMargin): simplify interface
106 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
108 * lyxfunc.C (dispatch): propogate the bibtex databases from the
109 master file to any child files. Fixes bug 546.
111 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
113 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
115 2003-11-24 André Pönitz <poenitz@gmx.net>
117 * rowpainter.C: simplification
119 * text2.C (updateCounters): remove call to redoParagraph on
120 changed labels as this is far too expensive.
122 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
124 * converter.C (convert): fix a crash: this function gets
125 called with buffer == 0 from importer code.
127 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
129 * text3.C (cursorPrevious): make sure that we do not compare
130 iterators form different containers.
133 * rowpainter.C (paintSelection): make sure that we do not compare
134 iterators from different containers.
136 * text3.C (dispatch): [PRIOR] make sure that we do not compare
137 iterators from different ParagraphList containers.
140 * text2.C (LyXText): change order of initialization slightly
141 (operator=): new function. copy all variables except cache_par_
142 (moveUp): make sure that we do not compare iterators from
143 different ParagraphList constainers.
146 * text.C (firstPar): new function
147 (lastPar): new function
148 (endPar): new function
150 * lyxtext.h: move things around and group public functions, public
151 variables, private functions, private variables
153 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
155 * factory.C: change call to InsetERT constructor to avoid
156 additional invocation of method status
157 * text2.C (toggleInset): remove redundant update() call
158 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
159 instead of a Bufferview pointer
161 2003-11-21 André Pönitz <poenitz@gmx.net>
163 * rowpainter.C: simplification
165 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
167 * text3.C (dispatch): make possible to extend a word/row selection
170 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
172 * lyxtext.h: x0_,y0_ -> xo_,yo_
173 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
174 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
175 * rowpainter.C (paintRows): paint full paragraphs
177 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
179 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
182 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
184 * lyxtext.h: add x0_, y0_
185 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
186 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
188 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
190 * text2.C (setCursorIntern): move the x_target update here *
191 * text3.C: change some bv() to true/false in calls to
192 cursorUp/Down/Right/Left
193 * cursor.C: use helper function.
195 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
197 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
198 * paragraph_funcs.[Ch]: correct comment
199 * rowpainter.C: do not paint selections away from bv->cursor()
200 Fix a long standing selection painting bug.
201 * text3.C: generalize mouse-selection code to LyXTexts other that
203 * textcursor.C: do not use y coords if we can use par offsets
205 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
207 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
208 cursor position after e.g. inset insert)
210 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
212 * lyxfind.C (replace): adjust to locking removal + some
215 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
217 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
220 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
223 * output_docbook.C: XML sanitation: new layout
224 parameters InnerTag and CommandDepth
226 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
228 * BufferView_pimpl.C:
230 * text3.C: Fix the insertion and modification of button-style
233 2003-11-13 André Pönitz <poenitz@gmx.net>
235 * InsetList.[Ch]: remove deleteLyXText
237 * paragraph.[Ch]: cache beginOfBody position
242 * text3.C: remove superfluous update() calls
246 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
248 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
249 * BufferView.C (fitLockedInsetCursor): remove
250 * cursor.[Ch] (getDim): add
251 * text.C (getRowNearY): add faster version
252 * text3.C: remove some update calls
254 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
266 * text3.C: The Character Style /XML short element patch.
268 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
271 * factory.C: Small step to solving 'unable to insert some insets'
274 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
276 * cursor.[Ch] (updatePos): new function for updating the y
277 position of the tip inset
278 * bufferview_funcs.C (put_selection_at):
279 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
281 2003-11-11 André Pönitz <poenitz@gmx.net>
283 * text.C: remove big comment on invalid Paragraph pointers as it is
286 2003-11-11 André Pönitz <poenitz@gmx.net>
288 * text_funcs.[Ch]: merge with ...
296 * Makefile.am: remove text_funcs.[Ch]
298 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
300 * cursor.C (getPos): return absolute cached y coord
302 * BufferView_pimpl.C (fitCursor): new simplistic code
303 (workAreaDispatch): add a fitCursor call
305 2003-11-10 André Pönitz <poenitz@gmx.net>
308 * BufferView_pimpl.[Ch]: merge update() and updateInset()
310 2003-11-10 André Pönitz <poenitz@gmx.net>
312 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
313 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
314 indicate that the cursor needs to leave an inset
316 * lyxtext.h: remove inset locking
318 * cursor.[Ch]: re-implement functionality provided by inset locking
321 * BufferView_pimpl.[Ch]:
323 * bufferview_funcs.[Ch]:
335 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
337 * PosIterator.[Ch]: replace the stack with a vector, add inset
339 * iterators.[C]: adjust
341 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
343 * lyxfind.C (replaceAll): mark the buffer dirty if something was
345 * paragraph_funcs.C (readParToken): put the correct id in the
346 error item, not the id of the top paragraph
348 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
350 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
351 * bufferview_funcs.C (put_selection_at): use the above
353 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
355 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
357 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
360 * output_plaintext.h:
362 * output_docbook.h: add #include statements
364 2003-11-05 José Matos <jamatos@lyx.org>
366 * output_docbook.[Ch]:
368 * output_linuxdoc.[Ch]:
369 * output_plaintext.[Ch]: New files for output formats.
370 * output.[Ch]: New file for helper functions.
373 * paragraph_funcs.[Ch]: output functions moved to new files.
375 * outputparams.h: rename of latexrunparams.h
383 * paragraph_funcs.[Ch]:
384 * paragraph_pimpl.[Ch]:
385 * tabular.[Ch]: rename ascii to plaintext
386 and LatexRunParams to OutputParams.
388 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
390 * iterators.[Ch] (text): require bv argument
391 * undo.C (recordUndo):
392 * lyxfunc.C (dispatch):
393 * bufferview_funcs.C (put_selection_at): adjust
395 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
397 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
399 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
401 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
404 2003-11-04 André Pönitz <poenitz@gmx.net>
406 * cursor.[Ch]: restructure
409 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
411 * iterators.[Ch] (asCursor): remove
413 * lfuns.h: remove LFUN_INSET_EDIT
419 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
421 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
423 * lyxfind.[Ch]: complete overhaul
424 * BufferView_pimpl.C:
426 * paragraph.[Ch] (insert): add
428 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
432 * text.C: remove dead spellcheck code
434 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
436 * dispatchresult.h: add a val setter
438 * cursor.C (dispatch): use a tempvar for data_[i]
440 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
442 * PosIterator.[Ch]: compile fix
444 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
446 * text.C (cursorPar): deactivate the cursor cache
448 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
450 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
452 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
454 * text3.C (dispatch): adjust for new DisptchResult semantics.
456 * lyxfunc.C (dispatch): handle update when return from
457 Cursor::dispatch, adjust for new DispatchResult semantics.
459 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
460 DispatchResult(true) mean to not update. Add class functions for
461 setting dispatched and update, as well as reading.
463 * cursor.C (dispatch): don't handle update here
465 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
467 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
468 * trans_mgr.C: adjust
470 * paragraph_funcs.C (readParToken): exception safety
472 * lyxvc.h: store the vcs pointer in a scoped_ptr
475 * lyxsocket.C (serverCallback): exception safety
477 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
479 * ispell.C (clone): make it return a auto_ptr
481 * factory.C (createInset): exception safety
482 (readInset): exception safety
484 * bufferlist.C (newBuffer): exception safety
486 * Thesaurus.C (Thesaurus): use initialization for aik_
488 * MenuBackend.C (expandToc): exception safety.
490 2003-11-03 André Pönitz <poenitz@gmx.net>
494 * bufferview_funcs.C: remove getInsetFromId()
497 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
503 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
505 * PosIterator.C (distance, advance): new
506 * bufferview_funcs.[Ch] (put_selection_at): new
507 * iterators.[Ch] (lockPath): new
509 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
511 * iterators.[Ch] (asPosIterator): added
512 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
513 * PosIterator.[Ch]: added
515 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
519 * cursor.C (dispatch):
520 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
522 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
523 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
524 contructor, add a class function dispatched. Remove operator>=
526 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
528 * debug.C: only use the default constructor for debugstream
531 * main.C (main): include debug.h and setup the lyxerr streambuf
534 2003-10-31 José Matos <jamatos@lyx.org>
536 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
538 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
539 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
540 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
541 * paragraph_pimpl.C (simpleTeXSpecialC):
542 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
543 add LatexRunParams argument.
545 * exporter.C (Export): change call accordingly.
547 * latexrunparams.h: add new member to take care of the other backends.
548 2003-10-30 José Matos <jamatos@lyx.org>
550 * buffer.C (makeLinuxDocFile, makeDocBookFile):
551 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
552 factorise code for paragraph output.
554 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
557 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
559 * text3.C (dispatch):
560 * lyxfunc.C (dispatch):
561 * cursor.C (dispatch):
562 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
564 * dispatchresult.h: make the dispatch_result_t ctor explicit
566 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
569 * buffer.C: small refactoring of docbook stuff
571 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
573 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
576 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
578 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
579 operator dispatch_result_t, and operators for == != and >=
581 * cursor.C (dispatch): adjust for operator dispatch_result_t
582 removal. comment out call to update
584 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
586 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
594 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
597 * dispatchresult.h: new file, DispatchResult broken out of
600 * Makefile.am (lyx_SOURCES): add dispatchresult.h
602 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
604 * text.C (rowBreakPoint): put a hack inside #if 0
606 2003-10-28 André Pönitz <poenitz@gmx.net>
613 * text2.C: general cleanup (lots of small stuff)
615 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
617 * text2.C (cursorEnd): simple fix to the "end key goes to one
618 before the end on last row" bug
620 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
622 * text.C (backspace): fix the "zombie characters"
624 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
626 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
628 2003-10-27 André Pönitz <poenitz@gmx.net>
630 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
632 * factory.C: handle new InsetPagebreak, InsetLine
634 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
635 and move handling into new InsetPagebreak, InsetLine
637 * BufferView_pimpl.C:
639 * ParagraphParameters.C:
652 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
661 * text3.C: remove lastPos uses in favour of Row::endpos
663 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
665 * undo.C (performUndoOrRedo): fix two crashes by setting a
666 cursor by hand and reordering some calls. Use bv->lockInset instead
667 of inset->edit because the latter loses cursor information
669 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
671 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
673 (rowBreakPoint): fix width. change point to point + 1.
676 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
679 * lyxfunc.C: fix (at least partly) the problems
680 with the Nav menu and headers inside branch insets
683 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
685 * paragraph.C (getChar): add strong asserts
687 * lyxrow_funcs.C (lastPos): remove hideous hack
689 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
690 (fill): adjust to that (avoid an infinite loop)
692 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
694 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
696 2003-10-23 André Pönitz <poenitz@gmx.net>
698 * RowList_fwd.h: change list<> to vector<> to gain speed
699 after suggestion from Alfredo
701 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
703 * lyxtext.h: move the bidi stuff from here...
706 * Bidi.[Ch]: ... to here
708 2003-10-23 André Pönitz <poenitz@gmx.net>
711 * text.C (isLastRow, isFirstRow): new functions
713 * paragraph.h: new width cache member
715 * rowpainter.C: replace RowList::iterator with Row & where possible
717 * lyxfunc.C: replace several view()->text with a single call
719 * toc.C: fix 'unused' warning
721 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
723 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
724 when woring with stream::pos_type
725 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
727 2003-10-22 André Pönitz <poenitz@gmx.net>
730 * text.C: use Row & instead of RowList::iterator
732 * lyxrow.h: rename end() to endpos()
738 2003-10-22 Angus Leeming <leeming@lyx.org>
740 * buffer.[Ch] (fully_loaded): new member function, returning true
741 only when the file has been loaded fully.
742 Used to prevent the premature generation of previews and by the
743 citation inset to prevent computation of the natbib-style label.
745 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
746 templates are all set up.
748 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
750 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
752 * text.C: fixed an "oops" in the "is a bit silly"
755 2003-10-21 André Pönitz <poenitz@gmx.net>
757 * FuncStatus.[Ch]: small stuff, whitespace
759 * lyxfont.[Ch]: operator<<() for debug reasons
763 * lyxtext.h: whitespace, spelling
765 * paragraph.C: naming of variables
768 * text2.C: small stuff
771 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
773 * text.C: (1) finish off the inset display() work;
774 (2) fix the "is a bit silly" bug (accessing char
777 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
779 * text.C: re-introduce display() for insets, fixing the
780 various bugs (stretch of line above, math inset
783 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
785 * text.C (rightMargin): remove spurious semicolon
787 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
790 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
792 * text3.C: fix one crash due to wrong cursor def
794 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
796 * vc-backend.C (scanMaster): make the regex static
798 * LaTeX.C (scanAuxFile): make the regexs static
800 * text3.C (doInsertInset, dispatch, dispatch):
801 * text2.C (cursorUp, cursorDown):
802 * text.C (selectNextWordToSpellcheck):
803 * BufferView_pimpl.C (dispatch):
804 * lyxfunc.C (dispatch): localDispatch -> dispatch
806 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
808 * lyxsocket.C: include <cerrno>
810 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
812 * lyxfunc.C (dispatch): remove textcache stuff
814 * bufferlist.C (release): remove textcache stuff
817 * TextCache.C: delete file
818 * TextCache.h: delete file
820 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
822 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
823 delete of the bv_->text.
824 (resizeCurrentBuffer): remove texcache stuff
825 (workAreaResize): ditto
827 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
829 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
832 2003-10-16 André Pönitz <poenitz@gmx.net>
839 * text3.C: speed up by storing y positions per paragraph plus per-row
840 offset instead of having a 'full' y position in the row.
842 2003-10-15 André Pönitz <poenitz@gmx.net>
846 * undo.[Ch]: make undo aware of inner insets
848 2003-10-14 Angus Leeming <leeming@lyx.org>
850 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
851 static member functions LyX::ref() and LyX::cref.
852 (lastfiles): new accessor functions for the new lastfiles_ member var.
853 (addLyXView, views_): add a new LyXView to the list of views_.
854 (updateInset): loop over all LyXViews to call their own updateInset
855 member function, returning a pointer to the Buffer owning the inset.
857 * BufferView_pimpl.C (loadLyXFile):
858 * MenuBackend.C (expandLastfiles):
859 * bufferlist.C (MenuWrite, QuitLyX):
860 lastfiles is no longer a global variable.
861 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
863 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
864 static function. Access through LyX::cref().emergencyCleanup().
866 2003-10-14 André Pönitz <poenitz@gmx.net>
868 * iterators.[Ch]: new direct access to innermost LyXText and Inset
870 * undo.[Ch]: restoring part of 'undo in insets'
873 * undo_funcs.[Ch]: merge with undo.[Ch]
875 * tabular.C: small cleansing stuff
877 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
879 * paragraph_funcs.C (readParToken): report unknown insets as error
880 boxes. Use the outer paragraph as location (also for unknown
883 * factory.C (readInset): do not abort on reading an unknown inset.
886 2003-10-13 Angus Leeming <leeming@lyx.org>
888 * lyx_main.C (LyX): remove call to setDisplayTranslator().
890 * lyxrc.C: displayTranslator is now a function,
891 declared in GraphicsTypes.h.
893 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
895 * format.C: new placeholder $$a to pass the socket address.
897 * bufferlist.[Ch]: new function getBufferFromTmp.
899 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
900 files in the temporary dir.
902 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
904 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
906 * Makefile.am: add lyxsocket.[Ch].
908 * lyx_main.C (error_handler): handle SIGPIPE.
910 2003-10-13 André Pönitz <poenitz@gmx.net>
912 * BufferView_pimpl.C:
917 * undo_funcs.[Ch]: use paroffset_type instead of
918 ParagraphList::iterators to prevent multiple conversion
919 (and get a more robust interface)
921 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
923 * lyxfunc.C (dispatch): RESULT -> dispatch_result
925 * text3.C (dispatch): ditto
927 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
929 * LaTeX.C (handleFoundFile): move the static to smaller scope,
930 move the onlyfile, use onlyfile instead of foundfile in a couple
933 * DepTable.C (update): flush the error stream a bit more
935 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
937 * lyxserver.C (callback): adjust
939 * lyxfunc.C (getStatus): add a missing brace in commented code
940 (ensureBufferClean): reindent
941 (dispatch): delete version taking a string
943 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
945 * LaTeX.C (deplog): move found file handlig from here...
946 (handleFoundFile): .. to new function here.
947 (deplog): make sure to discover several files mentioned on the
950 2003-10-10 André Pönitz <poenitz@gmx.net>
957 * text3.C: fix some of the tabular crashes
959 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
961 * MenuBackend.C (binding): put debug message into Debug::KBMAP
963 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
965 2003-10-09 André Pönitz <poenitz@gmx.net>
967 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
970 * BufferView_pimpl.C:
971 * bufferview_funcs.C:
982 * undo_funcs.C: adjust
984 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
986 * text2.C (incrementItemDepth): new function, use a backtracking
987 algorithm to discover the correct item depth.
988 (resetEnumCounterIfNeeded): new function, use a backtracking
989 algorithm to discover if counter reset is needed.
990 (setCounter): use them. Simplify a bit. Add different labels for
991 different item depths for itemize.
993 * paragraph.C (Paragraph): remove initialization of enumdepth
996 * paragraph.h: get rid of enumdepth, and use itemdepth both for
997 enumerate and itemize. Change the type of itemdepth to signed char.
999 2003-10-08 André Pönitz <poenitz@gmx.net>
1001 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1006 * tabular.[Ch]: fix crash after 'row-insert'
1008 2003-10-08 Angus Leeming <leeming@lyx.org>
1010 Fix doxygen warnings.
1012 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1013 Remove CutAndPaste:: prefix from header file declaration.
1015 * LColor.h (fill): remove LColor:: prefix from declaration.
1017 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1018 use lyx::depth_type rather than Paragraph::depth_type so that
1019 header file and .C file match.
1021 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1023 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1024 * aspell.C: \file aspell_local.C -> \file aspell.C
1025 * gettext.C: \file gettext.C -> \file src/gettext.C
1026 * gettext.h: \file gettext.h -> \file src/gettext.h
1027 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1028 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1029 * text.C: \file text.C -> \file src/text.C
1031 * toc.C: move comment so that doxygen is not confused.
1033 2003-10-07 Angus Leeming <leeming@lyx.org>
1035 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1037 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1040 * aspell_local.h: add forgotten std::string's.
1042 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1049 * text3.C: The Box patch. Fancybox support, minipage, parbox
1051 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1057 * ParagraphParameters.h:
1067 * lyxtextclasslist.h:
1070 * paragraph_pimpl.C:
1071 * textcursor.h: add <string> and other small fixes to make Lars'
1072 std::string patch compile with STLport.
1074 2003-10-06 Angus Leeming <leeming@lyx.org>
1076 * LColor.h: Add missing #include <string>.
1078 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1080 * All most all file in all subdirs: Make <string> be the prefered
1081 way of getting to std::string, add using declarations.
1083 2003-10-06 André Pönitz <poenitz@gmx.net>
1085 * metricsinfo.C: initialize LyXFont before changing attribute.
1086 (fixes the 'math in \emph is upright' bug)
1088 2003-10-06 André Pönitz <poenitz@gmx.net>
1090 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1092 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1095 * paragraph_pimpl.C: Small fixes to build using STLport
1097 2003-10-02 André Pönitz <poenitz@gmx.net>
1100 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1102 2003-10-01 André Pönitz <poenitz@gmx.net>
1104 * factory.C: assert early
1106 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1108 * lyx_main.C: remove the global debug object
1110 * debug.h: adjust for new debugstream
1112 * debug.C: adjust for new debugstream and keep the global debug
1115 2003-09-22 Angus Leeming <leeming@lyx.org>
1117 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1118 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1119 an incomplete class LyXFont.
1121 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1123 * factory.C: bug fix in branches
1125 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1127 * lyxfunc.C (processKeySym): adjust
1129 (dispatch): change arg name from ev to func, adjust
1130 (sendDispatchMessage): ditto
1132 * lyx_main.C (defaultKeyBindings): adjust keybindings
1133 (deadKeyBindings): ditto
1135 * kbsequence.C (addkey): return a FuncRequest
1137 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1139 * kbmap.C (bind): take a FuncRequest as arg, adjust
1142 (defkey): change to take a FuncRequest as arg, adjust
1143 (findbinding): take a FuncRequest as arg, adjust.
1145 * funcrequest.h (operator=): added
1147 * funcrequest.C (FuncRequest): default kb_action changed from
1148 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1150 * buffer.C (dispatch): simplify
1151 (dispatch): adjust to take a FuncRequest as arg, adjust
1153 * boost.C (assertion_failed): change assertion message slightly
1155 * ToolbarBackend.C (read): simplify
1157 * MenuBackend.C (binding): adjust call to findbinding, add a
1158 message if no binding is found.
1160 (expandToc): correct by adding a empty FuncRequest
1162 * LyXAction.C: include <boost/assert.hpp>
1163 (isPseudoAction): delete function
1164 (LookupFunc): change name to...
1165 (lookupFunc): this. change return type to FuncRequest.
1166 (getActionName): take kb_action as arg, simplify
1167 (funcHasFlag): add an assert, simplify.
1169 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1171 * toc.C (action): return a FuncRequest, simplify
1173 * lyxfunc.C (processKeySym): adjust
1174 (getStatus): delete version that takes an int.
1176 (dispatch): delete version that takes action as int
1178 (sendDispatchMessage): simplify and adjust
1180 * funcrequest.C (getArg): take unsigned int as arg
1182 * ToolbarBackend.C (read): adjust
1183 (add): delete version that takes func as a string.
1184 (getIton): take a FuncRequest as arg
1186 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1189 * MenuBackend.C (MenuItem): add a new construct that only takes a
1190 Kind, simplify the constructor use for submenus.
1192 (expandLastfiles): adjust
1193 (expandDocuments): adjust
1194 (expandFormats): adjust
1195 (expandFloatListInsert): adjust
1196 (expandFloatInsert): adjust
1197 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1199 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1200 Remove class variables lyx_pseudo_map and lyx_arg_map
1202 * LyXAction.C (searchActionArg): delete function
1203 (getPseudoAction): delete function
1204 (retrieveActionArg): delete function
1205 (LookupFunc): make it return kb_action, simplify.
1206 (getActionName): simplify
1208 * factory.C (createInset): fix new bug
1210 2003-09-19 Angus Leeming <leeming@lyx.org>
1212 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1213 masterFilename_ parameter in the include inset.
1215 * factory.C (createInset): changes due to the changes to InsetInclude.
1217 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1219 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1221 2003-09-18 Angus Leeming <leeming@lyx.org>
1224 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1225 Inset::fillWithBibKeys.
1226 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1228 2003-09-18 Angus Leeming <leeming@lyx.org>
1230 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1232 (ctor): pass and store a 'Buffer const &'
1233 (buffer): new member function.
1235 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1236 '*this' to the LaTeXFeatures ctor.
1238 2003-09-18 Angus Leeming <leeming@lyx.org>
1244 * text.C: rename EnumLColor as LColor_color.
1246 2003-09-18 Angus Leeming <leeming@lyx.org>
1248 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1249 remove #include "insets/insetbase.h" from cursor.h.
1251 2003-09-18 Angus Leeming <leeming@lyx.org>
1253 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1254 InsetOld_code to remove #include "inset.h".
1256 * iterators.C: add #include "insets/inset.h"
1258 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1260 * BufferView.C: remove more locking stuff that apparently doesn't
1261 do anything sensible.
1263 2003-09-16 André Pönitz <poenitz@gmx.net>
1266 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1269 2003-09-16 Angus Leeming <leeming@lyx.org>
1271 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1273 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1276 * paragraph.h: remove #include "lyxfont.h". Forward declare
1279 2003-09-16 Angus Leeming <leeming@lyx.org>
1281 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1282 of support/textutils.h.
1283 (isWord): move the contents of support/textutils.h's IsWordChar here.
1289 * text2.C: add #include "paragraph.h".
1292 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1294 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1300 * LaTeX.C: use namespace alias for lyx::support::os
1302 2003-09-16 Angus Leeming <leeming@lyx.org>
1305 * bufferview_funcs.C:
1308 * paragraph_pimpl.C:
1310 * text.C: add #include "LColor.h".
1312 2003-09-16 Angus Leeming <leeming@lyx.org>
1314 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1315 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1317 Store the FontBits::color variable as an int rather than as an
1318 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1321 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1322 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1323 string calls together.
1325 * lyxrc.C: add #include "LColor.h".
1327 2003-09-15 Angus Leeming <leeming@lyx.org>
1329 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1332 2003-09-15 Angus Leeming <leeming@lyx.org>
1334 * LColor.h: add an EnumLColor wrapper for LColor::color.
1336 * lyxfont.[Ch] (color, setColor, realColor):
1337 * lyxtext.h, text.C (backgroundColor):
1338 pass EnumLColor args to/from the functions, rather than LColor::color
1342 * lyxtext.h: forward declare EnumLColor.
1344 * lyx_main.C: add #include "LColor.h".
1346 2003-09-15 Angus Leeming <leeming@lyx.org>
1348 * .cvsignore: add lyx-gtk.
1350 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1355 * ParagraphParameters.C
1359 * bufferview_funcs.C
1369 * vc-backend.C: remove usage of STRCONV
1371 2003-09-15 Angus Leeming <leeming@lyx.org>
1373 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1374 explicitly define the color passed to the painter.
1376 2003-09-15 Angus Leeming <leeming@lyx.org>
1378 * bufferparams.C (BufferParams): reorder member initializers to avoid
1381 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1383 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1384 * text.C (updateRowPositions): remove an unusual nop
1386 2003-09-12 André Pönitz <poenitz@gmx.net>
1388 * BufferView_pimpl.C:
1397 * Counters.[Ch]: finish the 'automatic counters' job
1399 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1401 * aspell.C: include <boost/assert.cpp> (compile fix)
1403 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1405 * boost.C (assertion_failed): use lyx::support::abort instead of
1408 2003-09-10 Angus Leeming <leeming@lyx.org>
1410 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1411 with their _fwd progeny.
1413 2003-09-09 Angus Leeming <leeming@lyx.org>
1415 134 files throughtout the source tree: replace 'using namespace abc;'
1416 directives with the appropriate 'using abc::xyz;' declarations.
1418 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1420 * boost.C (emergencyCleanup): moved here from LAssert.c
1421 (assertion_failed): new function, called by BOOST_ASSERT
1423 * several files: change Assert to BOOST_ASSERT
1425 2003-09-09 Angus Leeming <leeming@lyx.org>
1427 * buffer.[Ch]: Add an Impl class and move Buffer's member
1428 variables into it. As a result move several header files out of
1431 Add header files to lots of .C files all over the tree as a result.
1433 2003-09-09 Angus Leeming <leeming@lyx.org>
1435 * buffer.[Ch]: make Buffer's member variables private. Add
1438 Lots of changes all over the tree as a result.
1440 2003-09-08 Angus Leeming <leeming@lyx.org>
1442 * graph.C: #include <config.h>.
1444 2003-09-08 Angus Leeming <leeming@lyx.org>
1448 * BufferView_pimpl.C:
1477 * toc.C: remove redundant using directives.
1479 2003-09-07 Angus Leeming <leeming@lyx.org>
1481 * LaTeXFeatures.h: remove #include "support/types.h".
1482 * ToolbarBackend.h: remove #include <algorithm>.
1483 * changes.h: remove #include <ctime>.
1484 * debug.h: remove #include <iosfwd>.
1485 * graph.h: remove #include "support/std_string.h".
1486 * lyx_main.h: remove #include <csignal>.
1487 * lyxlex_pimpl.h: remove #include <fstream>.
1488 * sgml.h: remove #include <algorithm>, <utility>.
1489 * toc.h: remove #include "support/std_ostream.h".
1490 Add #include <iosfwd>.
1492 2003-09-07 Angus Leeming <leeming@lyx.org>
1494 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1496 * converter.h: forward declare LatexRunParams.
1497 * encoding.h: remove #include "lyxrc.h".
1498 * lyxtext.h: remove #include "LColor.h".
1499 * lyxtextclass.h: remove #include "support/types.h".
1500 * trans.h: remove #include "tex-accent.h".
1501 * trans_mgr.h: remove #include "tex-accent.h".
1502 * insets/inset.h: remove #include "support/types.h", <vector>.
1503 * insets/insetcollapsable.h: remove #include "LColor.h".
1504 * insets/insetinclude.h: remove #include "dimension.h".
1505 * insets/insetlatexaccent.h: remove #include "dimension.h".
1506 * insets/insetoptarg.h:: remove #include "insettext.h".
1507 * insets/insettext.h: remove #include "dimension.h",
1508 <boost/shared_ptr.hpp>
1510 * insets/renderers.h: add #include "dimension.h".
1511 * insets/updatableinset.h: add #include "support/types.h".
1513 * many .C files: Associated changes.
1515 2003-09-06 Angus Leeming <leeming@lyx.org>
1517 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1518 one, inside testInvariant.
1520 * PrinterParams.C: new file.
1521 * PrinterParams.[Ch]: move the function bodies out of line.
1523 2003-09-06 Angus Leeming <leeming@lyx.org>
1525 * ParagraphParameters.h: forward declare ParameterStruct rather than
1526 including its header file.
1527 (depth): moved out-of-line.
1529 2003-09-06 Angus Leeming <leeming@lyx.org>
1531 * BufferView_pimpl.h:
1534 * lyxfunc.h: forward declare LyXKeySym rather than
1535 #include "frontends/LyXKeySym.h".
1537 * BufferView_pimpl.C:
1540 * lyxfunc.C: associated changes.
1542 2003-09-06 Angus Leeming <leeming@lyx.org>
1544 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1545 As a result, can remove the #include "insets/inset.h" from BufferView.h
1547 2003-09-06 Angus Leeming <leeming@lyx.org>
1549 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1550 As a result, can remove the #include "insets/inset.h" from BufferView.h
1552 2003-09-06 Angus Leeming <leeming@lyx.org>
1558 * bufferview_funcs.C:
1559 * BufferView_pimpl.C:
1564 * ParagraphParameters.C:
1569 * frontends/controllers/ControlDocument.C:
1570 * insets/insetcaption.C: rearrange the #includes into some sort of
1573 * buffer.h: remove #includes ErrorList.h, undo.h
1575 2003-09-06 Angus Leeming <leeming@lyx.org>
1577 * support/types.h: add a 'depth_type' typedef, used to store the
1578 nesting depth of a paragraph.
1581 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1582 defining explicitly.
1585 * paragraph_funcs.h:
1586 * ParagraphParameters.h:
1587 * sgml.h: use lyx::depth_type rather than Paragraph or
1588 ParameterStruct's depth_type.
1591 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1594 * BufferView_pimpl.C:
1596 * ParagraphParameters.C:
1599 * bufferview_funcs.C:
1606 * frontends/LyXView.C:
1607 * frontends/controllers/ControlDocument.C:
1608 * frontends/controllers/ControlErrorList.C:
1609 * insets/insetbibitem.C:
1610 * insets/insetbranch.C:
1611 * insets/insetcaption.C:
1612 * insets/insetcollapsable.C:
1613 * insets/insetenv.C:
1614 * insets/insetert.C:
1615 * insets/insetfloat.C:
1616 * insets/insetfoot.C:
1617 * insets/insetfootlike.C:
1618 * insets/insetnewline.C:
1619 * insets/insetquotes.C:
1620 * insets/insettabular.C:
1621 * insets/insettext.C:
1622 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1624 * frontends/controllers/ControlChanges.C: #include "changes.h".
1626 2003-09-06 Angus Leeming <leeming@lyx.org>
1628 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1629 than #including paragraph.h.
1632 * RowList.h: deleted. Superfluous.
1642 * insets/insettext.h: use ParagraphList_fwd.h rather than
1645 * paragraph.h: don't forward declare ParagraphList.
1648 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1649 rather than ParagraphList.h. paragraph.h is still needed for the
1650 Paragraph::depth_type parameters.
1652 * textcursor.h: enable it to compile stand-alone in light of the
1655 * bufferview_funcs.C:
1667 * frontends/controllers/ControlParagraph.C:
1668 * frontends/controllers/ControlTabular.C:
1669 * insets/insetmarginal.C:
1670 * insets/insetminipage.C:
1671 * insets/insetnote.C:
1672 * insets/insetoptarg.C: add header files needed to compile again.
1674 2003-09-06 Angus Leeming <leeming@lyx.org>
1676 * RowList_fwd.h: new file, forward-declaring Row rather than
1677 #including lyxrow.h.
1682 * insets/insettext.h: use it instead of RowList.h
1684 * bufferview_funcs.C:
1691 * text3.C: #include "RowList.h".
1693 2003-09-05 Angus Leeming <leeming@lyx.org>
1695 * factory.C (createInset):
1696 * vspace.C (c-tor): replace sscanf call with an istringstream.
1697 * ispell.C: re-add missing HP/UX headers.
1698 * lyxserver.C: re-add missing os2 headers.
1700 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1709 * text3.C: re-add missing system headers, needed for 2.95.2.
1711 2003-09-05 Angus Leeming <leeming@lyx.org>
1713 Changes most place everywhere due to the removal of using directives
1714 from support/std_sstream.h.
1716 2003-09-05 Angus Leeming <leeming@lyx.org>
1718 Replace LString.h with support/std_string.h,
1719 Lsstream.h with support/std_sstream.h,
1720 support/LIstream.h with support/std_istream.h,
1721 support/LOstream.h with support/std_ostream.h.
1723 Changes resulting throughout the tree.
1725 2003-09-05 Angus Leeming <leeming@lyx.org>
1727 * sgml.h: ensure that the header file can be compiled stand-alone.
1728 * *.C: strip out redundant #includes. (320 in total.)
1730 2003-09-04 Angus Leeming <leeming@lyx.org>
1732 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1733 here (from getPackages).
1735 * debug.[Ch]: add a new EXTERNAL tag.
1737 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1739 * text2.C (cursorEnd): simplify
1741 (getColumnNearX): adjust
1743 * text.C (computeBidiTables): adjust
1746 * rowpainter.C (paintChars): adjust
1747 (paintSelection): adjust
1748 (paintChangeBar): adjust
1751 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1753 (numberOfSeparators): adjust
1755 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1761 * text3.C: Restricts the mouse click functionality
1762 of insets like bibtex, include, toc and floatlist to the visible
1763 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1764 up the dialogs. Cursor has to be in front of the inset (i.e.
1765 start of row) for this to function.
1767 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1769 * bufferview_funcs.C (currentState): output row information
1771 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1773 * bufferview_funcs.C (currentState): output paragraph position
1775 2003-09-04 Angus Leeming <leeming@lyx.org>
1777 * FloatList.h: move out #include "Floating.h".
1778 * LaTeX.h: move out #include "DepTable.h".
1779 * LyXAction.h: move out #include "funcrequest.h".
1780 * buffer.h: move out #include "author.h", "iterators.h".
1781 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1782 * lyx_main.h: move out #include "errorlist.h".
1783 * lyxfunc.h: move out #include "FuncStatus.h".
1784 * lyxtext: move out #include "lyxcursor.h".
1785 * paragraph_pimpl.h: move out #include "counters.h".
1787 2003-09-03 Angus Leeming <leeming@lyx.org>
1789 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1790 preamble_snippets list, enabling us to add snippets to the preamble
1791 only if the snippet was not there already.
1793 2003-09-04 Angus Leeming <leeming@lyx.org>
1795 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1797 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1799 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1802 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1804 * BranchList.C: point fix, earlier forgotten
1806 2003-09-02 Angus Leeming <leeming@lyx.org>
1808 * box.C (contains): renamed from 'contained' after a fantastic
1811 2003-09-02 John Levon <levon@movementarian.org>
1817 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1819 2003-09-02 John Levon <levon@movementarian.org>
1821 * text2.C: simplification of cursorEnd(), including partial
1824 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1826 * buffer.C (readFile): add a space
1828 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1830 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1832 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1834 * buffer.C (readFile): new function, take a filename and a
1835 ParagraphList::iterator
1837 (readFile): adjust, make it private. don't use setStream, make
1838 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1839 always contain the filename.
1841 * BufferView.C (insertLyXFile): simplify and make it work for
1844 2003-08-30 John Levon <levon@movementarian.org>
1846 * Makefile.am: fix dist (from Kayvan)
1848 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1850 * most files: change to use const Buffer refs
1852 2003-08-27 André Pönitz <poenitz@gmx.net>
1854 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1855 on top of ownerPar().
1857 2003-08-27 John Levon <levon@movementarian.org>
1859 * funcrequest.C: properly initialise POD members
1861 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1863 * lyxtext.h (top_y): move top_y from here
1868 * BufferView_pimpl.[Ch]: to here
1869 * frontends/screen.C:
1870 * insets/insettabular.C:
1871 * insets/insettext.C: adjust
1872 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1874 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1877 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1879 2003-08-26 André Pönitz <poenitz@gmx.net>
1881 * paragraph_func.[Ch] (outerPar): new function
1884 * paragraph_funcs.C:
1885 * paragraph_funcs.h:
1886 * paragraph_pimpl.C:
1887 * text2.C: remove Inset::par_owner
1889 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1894 * text2.C: eliminates the needFullRow/display() stuff
1895 altogether, putting the logic in metrics/draw in the insets.
1897 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1899 * text2.C (redoParagraphInternal, redoParagraphs):
1900 * text.C (redoParagraph): add a call to updateRowPositions at the
1901 end of each 'metrics-like' call. Remove all others.
1902 (getRow): remove the 'y-computing' version.
1903 (getRowNearY): do not compute nor return the real y. Solve the
1904 'y < 0' problem and simplify.
1906 2003-08-22 Angus Leeming <leeming@lyx.org>
1908 * *.[Ch]: clean-up of licence and author blurbs.
1909 Also move config.h out of a few .h files and into a few .C files.
1911 2003-08-22 André Pönitz <poenitz@gmx.net>
1913 * lyxrow.[Ch]: add x_ and *fill_ members
1918 * text2.C: adjust/remove prepareToPrint() calls
1920 2003-08-22 André Pönitz <poenitz@gmx.net>
1922 * lyxrow.[Ch]: add end_ member
1924 * lyxrow_funcs.C: use LyXRow::end_
1926 * lyxtext.h (singleWidth): add LyXFont parameter
1929 * text2.C: adjust LyXText::singleWidth() calls
1931 * text.C (redoParagraph): simplify row breaking logic
1934 2003-08-19 André Pönitz <poenitz@gmx.net>
1936 * funcrequest.C: initialize button_ member
1939 * rowpainter.[Ch]: interface consolidation
1941 2003-08-18 André Pönitz <poenitz@gmx.net>
1944 * BufferView_pimpl.C:
1946 * paragraph_funcs.C:
1948 * text3.C: remove LyXScreen::draw() and fitCursor calls
1950 * BranchList.h: remove spurious semicolons
1952 * MenuBackend.C: fix branchlist related crash
1954 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1962 * bufferparams.[Ch]:
1966 * text3.C: implements the 'branch inset'
1967 idea. This allows the output of various versions of a document
1968 from a single source version, selectively outputing or suppressing
1969 output of parts of the text.
1970 This implementation contains a 'branch list editor' in a separate
1971 tab of the document settings dialog. Branches are user definable
1972 and have a "display colour" to distinguish them on-screen.
1974 ColorHandler was somewhat cleaned up.
1975 (1) make possible a dynamically growing LColor list by allowing
1976 the graphic context cache to grow along (vector);
1977 (2) eliminate an IMHO unnecessary step in colour allocation.
1979 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1981 * BufferView_pimpl.C: compile fix
1983 2003-08-15 André Pönitz <poenitz@gmx.net>
1985 * rowpainter.C: remove extra metrics calls
1987 * lyxtext.h: merge the two constructors into a single one,
1988 pass reference to owner's par list
1990 * BufferView_pimpl.C:
1994 2003-08-15 André Pönitz <poenitz@gmx.net>
1996 * lyxrow_funcs.[Ch]:
1999 * paragraph_funcs.C:
2004 * text_funcs.C: split LyXText::rowlist_ into individual
2005 Paragraph::rows_ chunks
2008 * BufferView_pimpl.[Ch]:
2011 * text3.C: remove toggleSelection()
2013 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2015 * bufferlist.C: beautify two alerts (shorter text of buttons)
2016 * buffer.C: Remove redundant ' ' from message
2018 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2019 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2020 rename VALIGN_CENTER to VALIGN_MIDDLE
2022 2003-08-11 André Pönitz <poenitz@gmx.net>
2024 * lyxtext.h (getPar):
2025 * text.C: new function
2027 2003-08-11 André Pönitz <poenitz@gmx.net>
2030 * tracer.[Ch]: remove unneeded files
2032 * InsetList.[Ch]: remove resizeInsetsLyXText()
2037 * text3.C: merge insertParagraphs() and appendParagraph()
2038 remove breakAgain(), update()
2040 * BufferView_pimpl.[Ch]:
2041 * bufferview_funcs.[Ch]:
2045 * tabular.C: adjust after text & InsetList changes.
2047 2003-08-08 André Pönitz <poenitz@gmx.net>
2049 * text.C (insertChar, backspace): replace rowlist fiddling
2050 with rebreak of full par
2053 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2054 checkParagraph, updateInset): removed
2056 2003-08-07 André Pönitz <poenitz@gmx.net>
2059 * text3.C: merge some LFUN handlers, remove dead code
2061 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2063 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2065 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2067 * text2.C (DEPM): fix part of bug 1255 and 1256
2069 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2071 * BufferView_pimpl.C (workAreaDispatch): change to use
2072 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2073 that are no mouse related.
2075 2003-08-05 André Pönitz <poenitz@gmx.net>
2078 * BufferView_pimpl.[Ch]:
2079 * bufferview_funcs.C:
2081 * text3.C: rip out "deep update"
2083 * textcursor.[Ch] (last_sel_cursor): remove unused member
2085 2003-08-04 André Pönitz <poenitz@gmx.net>
2088 * BufferView_pimpl.[Ch]:
2089 * ParagraphParameters.C:
2090 * bufferview_funcs.C:
2096 * text3.C: replace "complicated" BufferView::update(...) calls with
2099 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2101 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2103 * Makefile.am (lyx_SOURCES): add paper.h
2105 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2107 * Makefile.am: move things around so that both lyx-qt and
2108 lyx-xforms can be built (according to --with-frontend). Then lyx
2109 is a symbolic link to lyx-[firstfrontend]
2111 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2113 * Always use std::endl with lyxerr
2115 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2117 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2119 2003-08-01 André Pönitz <poenitz@gmx.net>
2122 * BufferView_pimpl.[Ch]:
2124 * text3.C: merge BufferView::repaint() and BufferView::update()
2126 2003-08-01 José Matos <jamatos@lyx.org>
2128 * buffer.[Ch]: file_format is no longer a buffer data element.
2130 2003-08-01 André Pönitz <poenitz@gmx.net>
2135 * text2.C: make redoParagraph more independent of current cursor
2137 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2139 * text2.C: remove unneeded members
2141 2003-07-30 André Pönitz <poenitz@gmx.net>
2143 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2145 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2146 create a single function...
2148 * paragraph_funcs.C (moveItem): ... here.
2151 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2153 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2155 * LColor.[Ch]: Add comment and greyedout logical colors.
2157 2003-07-30 André Pönitz <poenitz@gmx.net>
2159 * tabular.C: don't use Assert too heavily. This crashes where it
2162 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2164 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2165 is disabled (bug 1232)
2167 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2169 * factory.C: limited 'arg' scope
2171 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2173 * factory.C: fixed Note submenu issues
2175 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2177 * factory.C: submenu for Note/Comment/Greyedout
2179 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2182 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2184 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2187 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2188 greyedout. Patch provided by Jürgen Spitzmüller.
2190 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2192 * kbmap.C (read): fix error message when reading bind files
2194 2003-07-29 Angus Leeming <leeming@lyx.org>
2196 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2197 certainly does not do what it purports to do. I am doing it, and
2198 us, a favour by killing it.
2200 2003-07-28 José Matos <jamatos@lyx.org>
2202 * buffer.C (readBody, do_writeFile):
2203 * paragraph.C(readParagraph): \end_document replaces \the_end.
2205 2003-07-29 André Pönitz <poenitz@gmx.net>
2208 * BufferView_pimpl.[Ch]:
2212 * textcursor.[Ch]: remove toggleToggle & Co
2214 2003-07-28 José Matos <jamatos@fep.up.pt>
2216 * buffer.C (readParagraph):
2217 * params_func (readParToken, readParagraph):
2218 * paragraph.C (write): \layout -> \begin_layout.
2220 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2222 * lyxlex_pimpl.C (setFile): clean up slightly.
2224 * bufferparams.h: add compressed var
2226 * buffer_funcs.C (readFile): adjust for LyXLex change
2227 (newFile): ditto + simplify
2229 * buffer.C (writeFile): handle writing of compressed files
2231 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2232 Check if the file is compressed and set a bufferparm if so.
2234 * Makefile.am (lyx_LDADD): remove explicit -lz
2236 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2238 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2239 makeDocBookFile): put the real LyX version in the first line of
2243 * version.C.in: remove lyx_docversion
2245 * tabular.C (write_attribute): add a template-based version to
2246 write enums properly
2248 2003-07-28 André Pönitz <poenitz@gmx.net>
2253 * text3.C: use doubles again for x-coordinates. They are needed.
2255 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2257 * messages.C (getLocaleDir): use lyx_localedir()
2259 * lyxlex_pimpl.C (setFile): compress stuff
2261 * buffer.C (writeFile): add some compression stuff
2262 (do_writeFile): new func, dont call expliti close... will this
2265 * Makefile.am (lyx_LDADD): add -lz
2267 2003-07-28 José Matos <jamatos@fep.up.pt>
2269 * buffer.C: increment file format.
2270 * paragraph_funcs (readParagraph, readParToken):
2271 * paragraph.C (readParagraph): add \end_layout.
2273 2003-07-27 Angus Leeming <leeming@lyx.org>
2275 * Makefile.am: remove special casing for configure-time setting of
2276 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2278 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2279 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2281 2003-07-26 André Pönitz <poenitz@gmx.net>
2283 * paragraph_func.[Ch]:
2284 * paragraph.C (realizeFont): inline it whereever it is used
2289 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2292 2003-07-26 André Pönitz <poenitz@gmx.net>
2296 * text2.C: get rid of LyXText::need_break_row
2298 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2300 * toc.[Ch]: put namespace toc inside namespace lyx
2302 * MenuBackend.C (expandToc2): adjust for lyx::toc
2305 * lyxfunc.C (dispatch): adjust for lyx::find
2307 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2308 lyx::find instead. Reorganize a bit.
2309 (LyXReplace): rename to replace
2310 (LyXFind): rename to find
2312 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2315 2003-07-26 André Pönitz <poenitz@gmx.net>
2317 * text.C (setHeightOfRow): restrict scope of temporary variable
2319 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2320 code (never has been used?)
2322 2003-07-27 Asger Alstrup <alstrup@local>
2324 * text.C (fill): Optimise algorithm to exploit that we can reuse
2325 the LyXFont for many characters.
2326 (setHeightOfRow): Same thing.
2327 (rowBreakPoint): Same thing.
2329 2003-07-26 Asger Alstrup <alstrup@local>
2331 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2333 * text.C (singleWidth): Spurious font copying in hot-spot
2334 singleWidth avoided. Reorder tests for arabic for efficiency.
2336 * text.C (fill): handle empty paragraphs better.
2338 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2341 * encoding.h: add includes
2343 * lyxrc.C: remove reading of bind files
2345 * lyx_main.C (init): setup bindings and menus only if we have a
2348 * kbmap.C (read): new method. Do the actual reading of bind
2351 * converter.C (dvipdfm_options):
2354 (output): adapt PAPER_* enums.
2356 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2358 * bufferparams.h: remove paper-related enums from there
2360 * paper.h: New file. A trivial header file to hold paper-related
2361 enums. It should later expand to contain many paper-related
2364 * lyxrc.C: declare extern displayTranslator
2366 2003-07-27 José Matos <jamatos@fep.up.pt>
2368 * tabular.[Ch] (linuxdoc): add support for tables and figures
2371 2003-07-27 José Matos <jamatos@fep.up.pt>
2373 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2374 consistency in both functions.
2375 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2377 2003-07-26 Asger Alstrup <alstrup@local>
2379 * rowpainter.C (paintRows): Change algorithm to work directly on
2380 the insets rather than asking every character in the document
2381 whether its an inset.
2383 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2385 * buffer.C (openFileWrite): factorize some code
2387 2003-07-26 Angus Leeming <leeming@lyx.org>
2390 * lyx_main.[Ch]: replace occurances of system_tempdir with
2393 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2395 * rename Inset to InsetOld
2397 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2399 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2400 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2401 which I think is a bit clearer. EDIT is gone, since it was
2402 premature optimisation, and broken for mathed anyway.
2403 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2404 with cursor positioning in insets as well (math insets still do not
2405 work, but that's a different story anyway.) It mysteriously
2406 crashes sometimes with undo in the first paragraph, but I'm fairly
2407 confident that this is a compiler bug.
2409 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2411 * paragraph.C (Paragraph): adjust for new clone return type
2413 (copyIntoMinibuffer): ditto
2415 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2417 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2418 by not having a special case, and always doing a full rebreak of
2419 the document after undo.
2421 2003-07-23 Angus Leeming <leeming@lyx.org>
2423 * factory.C (createInset): InsetExternal::setParams now takes a
2426 2003-07-23 Angus Leeming <leeming@lyx.org>
2428 * factory.C (createInset): changed interface to the external and
2429 graphics mailers' string2params functions.
2431 2003-07-23 Angus Leeming <leeming@lyx.org>
2433 * factory.C (createInset): pass a
2434 Buffer const * parameter to InsetExternalMailer's string2params.
2436 2003-07-22 John Levon <levon@movementarian.org>
2438 * Thesaurus.h: include the right aiksaurus header
2440 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2442 * MenuBackend.C (expand): check menu shortcuts unconditionally
2444 2003-07-21 Angus Leeming <leeming@lyx.org>
2446 * factory.C (createInset): pass a
2447 buffer_path parameter to InsetGraphicsMailer's string2params.
2449 2003-07-21 Angus Leeming <leeming@lyx.org>
2451 * BufferView_pimpl.C (buffer):
2454 * lyxfunc.C (dispatch):
2455 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2456 rather than the grfx shortcut.
2458 2003-07-21 André Pönitz <poenitz@gmx.net>
2460 * rowpainter.C: remove unused variables
2463 * tabular_funcs.h: move to tabular.C
2464 * Makefile.am: adjust
2466 * tabular.[Ch]: basic optical cleaning
2468 * author.h: pass references, not values
2470 2003-07-18 André Pönitz <poenitz@gmx.net>
2478 * text3.C: two-phase drawing for InsetText and InsetTabular
2479 some float -> int changes.
2481 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2483 * lyx_main.C: fix the fix
2485 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2487 * lyx_main.C: fix a crash in batch mode if no files specified
2490 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2492 * format.[Ch] (papersize): moved to BufferParams
2493 * converter.[Ch] (dvips_options): moved to BufferParams
2494 (dvipdfm_options): moved to anon namespace
2495 * bufferparams.[Ch]: added above functions.
2497 2003-07-17 André Pönitz <poenitz@gmx.net>
2501 * text2.C: don't call inset->update() anymore
2503 * metricsinfo.[Ch]: add convenience constructor
2505 2003-07-16 André Pönitz <poenitz@gmx.net>
2510 * text2.C: replace the LyXCursor::irow_ member with
2511 on-demand computation of the value
2513 2003-07-16 John Levon <levon@movementarian.org>
2515 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2517 2003-07-15 André Pönitz <poenitz@gmx.net>
2520 * text2.C: remove no more needed refresh_row
2522 2003-07-15 André Pönitz <poenitz@gmx.net>
2527 * text3.C: refresh_status tristate -> need_update bool
2529 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2531 * lyxtext.h (init): remove reinit argument (act as if always true)
2532 * text2.C: adjust to that
2534 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2536 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2537 * text3.C: use it to delete selections in some cases
2538 (bugs 441, 673, 702, 954).
2540 2003-07-14 André Pönitz <poenitz@gmx.net>
2542 * rowpainter.[Ch]: reduce interface
2544 2003-07-14 André Pönitz <poenitz@gmx.net>
2546 * BufferView_pimpl.C:
2547 * text2.C: adjust after removing unused BufferView * argument
2549 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2551 * text2.C (init): fix a crash fired on resize
2553 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2555 * buffer.[Ch]: added new closing signal
2556 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2557 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2558 BufferView::Pimpl via the closing the signal
2560 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2562 * buffer.[Ch]: take out all bv-related from buffer
2564 * BufferView_pimpl.[Ch]: connect to new signals
2565 * CutAndPaste.C: removed useless asserts
2566 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2569 * lyxfunc.C: moved view-related funciontality from vc here
2570 * paragraph.C: removed outdated comments
2573 2003-07-10 André Pönitz <poenitz@gmx.net>
2575 * BufferView_pimpl.C:
2579 * text2.C: remove InsetText::InnerCache, clean up consequences
2581 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2583 * ispell.C: fix two typos in error messages
2585 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2587 * Extend Note inset to other forms of annotation like Comment
2588 and Greyedout. Right button click gives dialog.
2590 Files modified or added (+):
2594 * ControlNote.[Ch] +
2596 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2597 frontends/controllers
2601 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2603 * aspell.C: add missing namespace lyx::support
2605 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2607 * BufferView.[Ch] (newFile): Add
2608 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2609 * LaTeX.[Ch] (message): added this signal and use it
2610 * buffer.[Ch] (busy, message): added these signals and use them
2611 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2615 * importer.C: use buffer signals instead of direct bv calling
2616 * lyx_cb.[Ch] (ShowMessage): removed
2619 * paragraph_funcs.C:
2620 * text2.C: use buffer signals
2622 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2624 * introduce namespace lyx::graphics
2626 2003-07-02 André Pönitz <poenitz@gmx.net>
2628 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2630 2003-07-01 André Pönitz <poenitz@gmx.net>
2637 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2638 text*.C to text_func.C
2640 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2642 * introduce namespace lyx::support
2644 2003-06-30 André Pönitz <poenitz@gmx.net>
2649 * text.C: re-enable --with-included-string
2651 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2653 * textcursor.C: add <config.h>
2655 * text.C (getWord): remove const from word_location arg
2657 * lyxvc.C (getLogFile): fix const type order
2659 * lyxtext.h: remove const from word_location arg, add arg name
2661 * lyxlayout.h: currect type on labeltype.
2663 * importer.C: correct \file
2665 * converter.C (intToFormat): use std:: on ret val, ws changes
2667 * bufferlist.h: correct \file
2669 * buffer.C (makeLinuxDocFile): fix const type order
2670 (makeDocBookFile): ditto
2671 (fillWithBibKeys): use std:: on stdlib args.
2673 * CutAndPaste.C: fix authors.
2674 (availableSelections): use std:: on return vector
2676 2003-06-27 André Pönitz <poenitz@gmx.net>
2678 * BufferView_pimpl.C:
2679 * bufferview_funcs.C:
2687 * text3.C: remove LyXCursor::row_ member
2690 * text.C: rename fullRebreak() to partialRebreak() and implement
2691 a fullRebreak() that really bereks fully
2693 * textcursor.h: new struct for cursor-related data
2695 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2697 * lyx_main.C (LyX): get full path of document loaded on the
2700 2003-06-26 André Pönitz <poenitz@gmx.net>
2702 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2703 remove unused/broken operator>,<,>=.
2705 * text.C: remove only use of broken operator<= in an Assert().
2707 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2709 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2710 moved errorlist_.clear to showErrorList
2712 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2714 * converter.C (scanLog, runLaTeX):
2715 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2716 move the bv->showErrorList call to the callers
2717 * lyxfunc.C: i.e. here...
2719 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2720 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2721 namespace, the second to...
2722 * buffer_funcs (BufferFormat, parseErrors): added
2723 * errorlist.C (ErrorList(TeXErrors const &)): removed
2725 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2727 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2729 2003-06-24 "Garst R. Reese" <reese@isn.net>
2733 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2735 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2737 * version.C.in: change docversion to 1.4
2739 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2741 * buffer.C: fix a bug just introduced
2743 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2745 * buffer.[Ch]: added the parseError signal and use it, removed
2747 * BufferView.[Ch] (addError): moved to ...
2748 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2749 to the Buffer::parseError signal to catch (guess what) parse errors
2750 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2752 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2754 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2755 ability to create a buffer and to return an existing one from
2756 the list. Moved these functions to...
2757 * buffer_funcs.[Ch]: added
2758 * BufferView.[Ch] (loadLyXFile): added
2759 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2760 job removed from bufferlist::loadLyXFile.
2761 * buffer.C (setReadOnly): make it work without view
2762 (i.e added an if (users))
2764 2003-06-19 Angus Leeming <leeming@lyx.org>
2767 * LyXAction.C (init):
2768 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2769 with LFUN_DIALOG_SHOW <name> <data>.
2771 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2773 * CutAndPaste.C (availableSelections): small compilation fix for
2774 ancient (gcc 2.9x) compilers
2776 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2778 * text3.C (cursorNext): add tmp var
2780 * text2.C (updateCounters): for function calling out of for clause
2781 (replaceSelectionWithString): ditto
2782 (insertStringAsParagraphs): ditto
2783 (getColumnNearX): add tmp var
2784 (setCursorFromCoordinates): add tmp var
2785 (cursorDownParagraph): add tmp var
2786 (deleteEmptyParagraphMechanism): add tmp var
2788 * text.C (insertChar): add tmp var
2790 * rowpainter.C (paintDepthBar): add tmp var
2792 * CutAndPaste.C (availableSelections): potentially check all
2793 paragraphs in a cut to fill the shown strings.
2795 2003-06-18 André Pönitz <poenitz@gmx.net>
2797 * kbmap.[Ch]: use vector<> instead of list<>
2799 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2801 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2802 pasteSelection with index
2804 * text2.C (pasteSelection): modify, call pasteSelection with index
2806 * paragraph.C (asString): reimplement version with no interval to
2807 call the one with interval.
2809 * lyxtext.h: add index arg to pasteSelection
2811 * MenuBackend.C (MenuItem): handle PasteRecent
2812 (Menu::read::Menutags): add md_pasterecent
2814 (expandPasteRecent): new function
2817 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2819 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2821 (availableSelections): new function
2823 2003-06-17 Angus Leeming <leeming@lyx.org>
2825 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2827 2003-06-17 Angus Leeming <leeming@lyx.org>
2830 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2832 * lyxfunc.C (dispatch): invoke it.
2834 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2836 * iterators.C (operator++, ParPosition): reintroduce some
2837 const_cast for the benefit of older compilers.
2839 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2841 * text3.C (dispatch): do not modify clipboard when doing
2842 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2843 LFUN_DELETE_SKIP on a selection selection
2845 2003-06-16 André Pönitz <poenitz@gmx.net>
2851 * tabular.[Ch]: IU of clone() and getLabelList();
2853 2003-06-13 André Pönitz <poenitz@gmx.net>
2855 * tabular.h: compactification
2857 2003-06-12 André Pönitz <poenitz@gmx.net>
2861 * tabular_funcs.h: some renaming plus whitespace
2863 2003-06-12 André Pönitz <poenitz@gmx.net>
2866 * BufferView_pimpl.C:
2872 * toc.C: Return a Paragraph & for ParIterator::operator*()
2874 2003-06-11 John Levon <levon@movementarian.org>
2878 * ToolbarBackend.C: add "Toolbars" section and
2881 2003-06-10 Angus Leeming <leeming@lyx.org>
2884 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2886 * lyxfunc.C (dispatch): invoke it.
2888 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2890 * main.C: protect <ios> with HAVE_IOS
2891 (main): protect sync_with_stdio with HAVE_IOS
2893 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2895 * text2.C (cutSelection): adjust
2896 (pasteSelection): adjust
2898 * messages.C: handle get of empty string
2900 * main.C (main): use sync_with_stdio(false)
2902 * lyxfunc.C (dispatch): adjust
2904 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2905 (WriteAs): remove unneeded BufferView arg.
2907 * bufferparams.h: use correct types on papersize, papersize2 and
2910 * bufferparams.C (readToken): adjust for type
2911 (writeLaTeX): add missing cases to switch.
2913 * bufferlist.C (quitWriteBuffer): adjust
2916 * buffer.C (asciiParagraph): remove some commented code.
2918 * CutAndPaste.C: remove current_view extern variable.
2919 (cutSelection): add BufferParams arg.
2920 (eraseSelection): add BufferParams arg.
2921 (pasteSelection): add Buffer const & arg
2923 2003-06-07 John Levon <levon@movementarian.org>
2926 * paragraph_funcs.C:
2927 * paragraph_pimpl.C:
2931 * paragraph.C: allow InsetERT to freely space lines,
2932 and some consolidation of code
2934 2003-06-06 José Matos <jamatos@fep.up.pt>
2936 * buffer.C (makeDocBookFile): fix bug #821
2938 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2940 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2942 2003-06-04 Angus Leeming <leeming@lyx.org>
2944 * buffer.C: bump format to 224.
2946 2003-06-05 André Pönitz <poenitz@gmx.net>
2948 * text2.C (redoParagraphs): remove two const_cast<>
2950 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2952 * ParagraphList.h: remove last remnants of NO_STD_LIST
2954 2003-06-03 Angus Leeming <leeming@lyx.org>
2956 * factory.C (createInset): small change to the way InsetExternal's params
2959 2003-06-04 André Pönitz <poenitz@gmx.net>
2961 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2963 * paragraph_pimpl.h:
2964 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2966 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2968 * undo_funcs.C: make some simple cases of undo work again
2970 2003-06-03 John Levon <levon@movementarian.org>
2972 * ispell.C: HPUX doesn't have sys/select.h
2975 2003-06-03 John Levon <levon@movementarian.org>
2977 * CutAndPaste.C: update tabular and include inset
2982 * paragraph.C: remove owningBuffer(), don't pass Buffer
2985 * factory.C: insetGraphicsParams changed
2987 2003-06-02 John Levon <levon@movementarian.org>
2993 * text3.C: remove insetparent
2995 2003-06-02 John Levon <levon@movementarian.org>
2998 * buffer.C: fix inset_iterator.end(), move out of line
3001 2003-06-01 John Levon <levon@movementarian.org>
3003 * text3.C: use a proper cut/paste when doing inset
3004 insert (from Jürgen Spitzmüller)
3006 2003-06-01 John Levon <levon@movementarian.org>
3008 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3010 2003-05-30 André Pönitz <poenitz@gmx.net>
3012 * rowpainter.C: unify second drawing phase
3014 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3016 * trans_mgr.C: remove one case of current_view
3018 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3020 * paragraph_funcs.h: remove paragraph.h include
3022 * paragraph.h: delete NO_STD_LIST stuff
3024 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3026 * buffer.h: remove paragraph.h include
3028 * ParagraphList.C: delete file
3030 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3032 * toc.C (getTocList): adjust
3034 * paragraph_pimpl.C (validate): adjust
3036 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3038 * paragraph.C (Paragraph): adjust
3039 (getPositionOfInset): use const_iterator, adjust
3040 (bibitem): use const_iterator, adjust
3041 (setInsetOwner): adjust
3043 * iterators.C (operator++): adjust
3045 * InsetList.[Ch]: Replace selfmade iterator with standard
3046 vector::iterator also introduce const_iterator. Remove getPos,
3047 getInset and setInset from InsetTable. Adjust accordingly.
3049 * BufferView.C (lockInset): adjust
3050 (ChangeInsets): adjust
3052 * tabular.[Ch]: delete commented same_id functions
3054 2003-05-28 John Levon <levon@movementarian.org>
3056 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3058 2003-05-28 André Pönitz <poenitz@gmx.net>
3060 * metricsinfo.[Ch]: remove 'fullredraw' member
3062 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3064 * lyxtextclass.C (operator): remove caching.
3066 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3070 * text2.C (cursorBottom): adjust
3071 (setCounter): use ParagraphList::find, adjust
3073 * text.C (workWidth): use ParagraphList::find, adjust
3075 * lyxcursor.C (LyXCursor): adjust
3077 * buffer.C (inset_iterator): adjust
3079 * ParagraphList.h: make iterator(value_type) private, make
3080 ParagraphList a friend of iterator.
3082 * ParagraphList.C (find): new function
3084 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3086 2003-05-27 André Pönitz <poenitz@gmx.net>
3088 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3090 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3092 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3094 2003-05-26 John Levon <levon@movementarian.org>
3096 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3098 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3100 * remove same_id from function signatures, adjust.
3102 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3104 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3106 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3108 * paragraph.C (Paragraph): get rid of same_ids parameter
3110 * ParagraphList.C (insert): adjust
3113 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3115 * paragraph_funcs.C (breakParagraph): adjust
3116 (breakParagraphConservative): adjust
3118 * buffer.C (readParagraph): adjust
3120 * ParagraphList.C (insert): take a reference instead of a pointer
3123 * paragraph.[Ch] (id): new function
3125 * bufferlist.C (newFile): adjust
3127 * ParagraphList.C (ParagraphList): adjust
3129 (push_back): take a reference instead of a pointer.
3131 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3133 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3136 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3137 set else use old code.
3139 * ParagraphList.C: remove all NO_NEXT code and only compile this
3140 code of NO_STD_LIST is set.
3142 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3144 * BufferView_pimpl.C:
3154 * graphics/GraphicsConverter.C:
3155 * graphics/PreviewLoader.C: header adjustment
3157 2003-05-23 Angus Leeming <leeming@lyx.org>
3159 * LaTeXFeatures.[Ch] (useBabel): new method.
3160 * bufferparams.C (writeLaTeX): use it.
3162 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3164 * ParagraphList.h (set): remove unused function.
3166 2003-05-23 André Pönitz <poenitz@gmx.net>
3169 * BufferView_pimpl.C:
3173 * undo_funcs.C: setUndo reworked
3175 * iterators.[Ch]: add access to topmost ParagraphList
3177 * lyxtext.[Ch] (workWidth): add a const
3179 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3181 * texrow.[Ch] (increasePos): remove function
3182 * exporter.C (export): removed unused var and outdated comment
3184 2003-05-23 Angus Leeming <leeming@lyx.org>
3186 * latexrunparams.h: rename fragile as moving_arg.
3187 * paragraph.C (simpleTeXOnePar): ditto.
3188 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3190 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3192 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3194 (textUndoOrRedo): comment out a currently unused var.
3196 * paragraph.h (NO_NEXT): enable NO_NEXT
3198 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3200 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3202 * exporter.C (Export): adjust for removeAutoInsets removal.
3204 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3206 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3208 * BufferView.[Ch] (removeAutoInsets): delete function
3210 2003-05-22 Angus Leeming <leeming@lyx.org>
3212 * latexrunparams.h: add a free_spacing variable.
3214 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3215 to pass moving_arg, as the data is stored in runparams.fragile.
3217 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3218 to Inset::latexOptional or to simpleTeXOnePar.
3220 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3221 free_spacing arg to Inset::latexOptional.
3223 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3226 2003-05-22 Angus Leeming <leeming@lyx.org>
3228 * latexrunparams.h: add fragile and use_babel variables.
3230 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3231 * buffer.C (makeLaTeXFile): store this returned value in
3232 runparams.use_babel, thus passing it to the inset::latex methods.
3234 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3235 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3237 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3238 longer has a fragile arg, as it is stored in runparams.fragile.
3240 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3241 moving_arg parameter as the data is stored in runparams.fragile.
3243 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3244 a fragile parameter as the data is stored in runparams.fragile.
3246 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3248 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3250 2003-05-22 Angus Leeming <leeming@lyx.org>
3252 * latexrunparams.h: add a 'bool nice' which defaults to false.
3254 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3255 now encapsulated within runparams.
3257 * bufferlist.C (updateIncludedTeXfiles):
3258 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3260 2003-05-22 Angus Leeming <leeming@lyx.org>
3262 * latexrunparams.h: new file containing struct LatexRunParams.
3263 * Makefile.am: add new file.
3265 * LaTeX.[Ch] (c-tor, run):
3266 * buffer.[Ch] (makeLaTeXFile):
3267 * bufferlist.[Ch] (updateIncludedTeXfiles):
3268 * converter.C (convert, scanLog):
3269 * converter.[Ch] (runLaTeX):
3270 * exporter.C (Export):
3271 * paragraph.[Ch] (simpleTeXOnePar):
3272 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3273 * paragraph_funcs.[Ch] (latexParagraphs):
3274 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3275 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3276 pass around a LatexRunParams parameter.
3278 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3280 * paragraph.[Ch]: remove unused constructor
3282 * ParagraphList.C (erase): new function, taking two iterators
3284 2003-05-22 André Pönitz <poenitz@gmx.net>
3286 * undo_funcs.C: remove duplicated code
3288 * iterator.[Ch]: operator=
3290 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3292 * tabular.C (SetMultiColumn): ws changes
3294 * rowpainter.C (paintFirst): get rid of a ->previous
3296 * lyx_cb.C (getPossibleLabel): parlist simplification
3298 * BufferView.C (ChangeInsets): simplify slightly.
3300 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3302 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3303 * lfuns.h: new LFUN_SPACE
3304 * lyxfunc.C: protected space has a new lfun
3305 * paragraph_funcs.C: read new space insets
3307 * factory.C: handle new space insets
3309 2003-05-22 André Pönitz <poenitz@gmx.net>
3312 * BufferView_pimpl.C:
3315 * undo_funcs.C: return a ParIterator from getParFromID.
3317 * iterators.[Ch]: add two const's
3319 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3321 * toc.C (getTocList): adjust
3323 * iterators.[Ch]: rework for parlist
3325 * buffer.C (par_iterator_begin): adjust
3326 (par_iterator_end): adjust
3328 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3330 * BufferView.C (removeAutoInsets): adjust
3331 (ChangeInsets): adjust
3333 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3335 * text.C (top_y): fix bug 1110
3337 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3339 * errorlist.[Ch]: added
3342 * BufferView_pimpl.C:
3343 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3346 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3348 * Makefile.am: ensure that lyx is relinked upon changes to the
3349 various "convenience" libs.
3351 2003-05-20 Angus Leeming <leeming@lyx.org>
3353 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3354 files are compiled in alphabetical order again.
3356 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3358 2003-05-19 Angus Leeming <leeming@lyx.org>
3360 * gettext.[Ch]: remove "char const * _(char const *)".
3362 2003-05-19 André Pönitz <poenitz@gmx.net>
3364 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3373 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3375 2003-05-19 André Pönitz <poenitz@gmx.net>
3379 * lyxtextclass.[Ch]:
3381 * paragraph_funcs.[Ch]:
3383 * text3.C: more insetenv work
3385 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3387 * ParagraphParameters.C (params2string): small bug fixed
3389 2003-05-16 André Pönitz <poenitz@gmx.net>
3392 * bufferview_funcs.C: patch from Kornel Benko to prevent
3393 crash when _(...) is called twice in a statement
3395 2003-05-16 André Pönitz <poenitz@gmx.net>
3402 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3404 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3406 * lyx_main.C (init): remove spurious static_cast
3408 2003-05-14 André Pönitz <poenitz@gmx.net>
3410 * BufferView.C: fix format string
3412 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3414 * BufferView.[Ch] (insertErrors): removed
3415 * BufferView.[Ch] (showErrorList): added
3416 * buffer.C (runChkTeX):
3417 * converter.C (scanLog): call showErrorList instead of inserterrors
3419 2003-05-13 André Pönitz <poenitz@gmx.net>
3421 * BufferView_pimpl.C:
3423 * bufferview_func.C:
3430 * tabular_funcs.h: tostr() from its own header
3432 * ParagraphParameters.C:
3437 * text3.C: STRCONV()
3439 2003-05-12 André Pönitz <poenitz@gmx.net>
3442 * BufferView_pimpl.C:
3446 * ParagraphParameters.C:
3450 * bufferview_funcs.C:
3463 * paragraph_funcs.C:
3467 * text3.C: boost::format -> bformat all over the place
3470 2003-05-09 André Pönitz <poenitz@gmx.net>
3472 * LColor.[Ch]: Pimpl the #include <map> away
3474 2003-05-09 John Levon <levon@movementarian.org>
3476 * bufferlist.C: never remove emergency saves
3478 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3480 * Makefile.am: better lib building
3482 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3484 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3486 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3487 (simpleTeXSpecialChars): adjust
3488 (simpleTeXSpecialChars): adjust
3489 * paragraph.C (simpleTeXOnePar): adjust
3490 * buffer.C (makeLaTeXFile): adjust
3492 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3494 * text2.C (changeDepth): parlist cleanup
3495 (getColumnNearX): ditto
3497 * rowpainter.C (getLabelFont): parlist cleanup
3499 * bufferlist.C (newFile): parlist cleanup
3501 * CutAndPaste.C (eraseSelection): parlist cleanup
3503 * BufferView_pimpl.C (trackChanges): parlist cleanup
3506 * BufferView.C (lockInset): parlist cleanup.
3507 (ChangeInsets): ditto
3509 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3511 * CutAndPaste.h: Update file header.
3513 * CutAndPaste.C: Update file header.
3514 Store the parts cut out of the Document in a limited_stack.
3515 (copySelection): adjust
3516 (pasteSelection): new function, takes the index in the limited stack.
3517 (nrOfParagraphs): adjust
3518 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3519 simplify error inset insertion.
3520 (checkPastePossible): adjust
3522 2003-05-06 John Levon <levon@movementarian.org>
3524 * text2.C: don't cast wrap inset to float
3526 2003-05-05 André Pönitz <poenitz@gmx.net>
3529 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3531 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3532 few naked Paragraph *.
3534 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3536 * bufferparams.C: Output warning if a document with missing
3537 TeX document class is loaded
3538 * exporter.C: Disable TeX exports if the document class is missing
3541 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3542 isTeXClassAvailable()
3544 2003-05-03 John Levon <levon@movementarian.org>
3547 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3548 explicit cursor show/hide
3550 * BufferView_pimpl.h:
3551 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3552 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3554 * lyxfunc.C: hide cursor before dispatching.
3559 * text3.C: remove explicit cursor hides
3561 2003-05-02 André Pönitz <poenitz@gmx.net>
3563 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3566 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3569 * text2.C: tiny whitespace
3571 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3573 * undo_funcs.C: almost only ws changes.
3575 * ParagraphList.C (splice): just return if pl is empty.
3577 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3579 * ParagraphList.C (splice): new function.
3581 * CutAndPaste.C (pasteSelection): use it
3583 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3585 * CutAndPaste.C (pasteSelection): remove the last next and
3586 previous from this file.
3588 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3590 * CutAndPaste.C (pasteSelection): more clean up, user proper
3591 ParagraphList functions for pasteing.
3593 * ParagraphList.C (insert): new function, three arg insert
3595 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3597 * ParagraphList.C (insert): new function, three arg insert
3599 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3602 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3604 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3606 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3608 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3610 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3612 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3613 (copySelection): clean up a bit.
3614 (pasteSelection): use make_pair
3616 * ParagraphList.C (ParagraphList): implement copy constructor
3617 (operator=): implement, base on copy constructor.
3620 * paragraph.C (erase): return a bool
3622 * paragraph_pimpl.C (erasePos): remove function, move contents...
3623 (erase): ... here. Return a bool.
3624 (erase): call erase instead of erasePos.
3626 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3628 * ParagraphList.h: define PitPosPair
3629 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3630 ParagraphList, fix a bug on pasting multiple pars
3631 * text2.C: change interface to C&P
3633 2003-04-30 André Pönitz <poenitz@gmx.net>
3635 * undo_func.C: revert part of yesterday's patch 2
3637 2003-04-30 John Levon <levon@movementarian.org>
3639 * LColor.C: s/tabular/table/
3641 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3643 * text3.C (dispatch): do not convert iterator -> pointer
3644 * undo_funcs.C (setCursorParUndo): ditto
3645 * text_funcs.C (transposeChars): ditto
3647 * text2.C (setLayout): ws changes only
3649 * text.C (breakParagraph): do not convert iterator -> pointer
3651 (acceptChange): ditto
3652 (rejectChange): ditto
3657 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3660 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3662 * text3.C (gotoInset): YABG (yet another bad getChar)
3664 2003-04-29 André Pönitz <poenitz@gmx.net>
3666 * paragraph.h: make operator= private unimplemented as long as
3669 * ParagraphList.C: whitespace
3672 * paragraph_pimpl.[Ch]:
3673 * paragraph_funcs.C:
3675 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3678 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3680 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3682 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3683 * paragraph.[Ch] (erase):
3684 * paragraph_pimpl.[Ch] (erase): change return type and value
3685 * text2.C (cutSelection): some rework
3687 2003-04-28 John Levon <levon@movementarian.org>
3689 * bufferlist.C: changes for unsaved changes dialog
3691 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3693 * bufferlist.C (newFile): set language (messages_) for new
3696 * buffer.C (readFile): ws changes only.
3698 2003-04-28 André Pönitz <poenitz@gmx.net>
3703 * BufferView_pimpl.C:
3704 * BufferView.C: getParFromID related ParagraphList::iterator changes
3706 2003-04-28 André Pönitz <poenitz@gmx.net>
3708 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3711 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3713 * messages.C: remove one more localedir class variable.
3715 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3717 * messages.C (getLocaleDir): singleton generation function
3719 (Messages): add a default constructor.
3721 * main.C (main): do not setup localedir here, do not call
3724 * gettext.C (_): use it.
3725 (gettext_init): delete funciton
3727 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3729 * gettext.C (getLyXMessages): new singleton generating function.
3731 * buffer.C (updateDocLang): adjust
3733 * Makefile.am (messages.o): add target
3734 (main.o): remove target
3736 2003-04-27 John Levon <levon@movementarian.org>
3741 * lyxvc.C: specify cancel button in Alert::prompt
3743 2003-04-26 John Levon <levon@movementarian.org>
3748 * LyXAction.C: add LFUN_INSET_SETTINGS
3750 * lyxfunc.C: don't enable tabular-feature when there's
3751 just any locking inset
3753 2003-04-26 John Levon <levon@movementarian.org>
3755 * bufferlist.C: re-add Cancel to buffer close question
3757 * lyxfunc.C: fix import UI a bit
3759 2003-04-25 John Levon <levon@movementarian.org>
3761 * gettext.C: remove the broken asserts for now
3763 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3765 * messages.C: make case where setlocale cannot comply work better.
3767 * buffer.C (updateDocLang): new function
3768 (changeLanguage): use it
3771 * text2.C (setCounter): use B_ a bit.
3773 * lyxlayout.C (Read): be sure to trim the label strings.
3775 * messages.C (Messages): fix typo in comment
3777 * buffer.C (readFile): set message_ after file is loaded.
3778 (makeDocBookFile): remove double return
3779 (changeLanguage): reset message_ upon language change.
3780 (B_): new func, use this to get translated buffer strings.
3782 * main.C: add myself and Jean Marc as authors.
3784 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3786 * messages.[hC]: pimplify Messages, and three different pimpls to be
3787 used in different circumstances.
3789 * gettext.[Ch]: change for use with new message code.
3791 2003-04-24 André Pönitz <poenitz@gmx.net>
3793 * factory.C: support for eqref
3795 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3797 * messages.[Ch]: add missing char
3799 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3801 * messages.[Ch]: New files
3803 2003-04-18 John Levon <levon@movementarian.org>
3807 * BufferView_pimpl.C:
3811 * text2.C: remove layout-copy/paste (bug 778)
3813 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3815 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3817 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3819 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3820 if they succeed. Act accordingly.
3822 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3824 * text2.C (setCharFont): adjust
3825 (setCounter): adjust
3826 (insertStringAsLines): adjust
3828 * text.C (leftMargin): adjust
3829 (setHeightOfRow): adjust
3831 * rowpainter.C (paintFirst): adjust
3834 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3836 (isFirstInSequence): ditto
3837 (getEndLabel): ditto
3840 * paragraph.C (getParLanguage): comment out some hard stuff.
3842 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3844 (simpleDocBookOnePar): ditto
3845 (makeDocBookFile): use ParagraphList::iterator
3847 * CutAndPaste.C (pasteSelection): adjust
3849 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3851 * text2.C (getFont): adjust
3852 (getLayoutFont): adjust
3853 (getLabelFont): adjust
3855 * paragraph_funcs.C (TeXOnePar): adjust
3857 * buffer.C (simpleLinuxDocOnePar): adjust
3858 (simpleDocBookOnePar): adjust
3860 * CutAndPaste.C (pasteSelection): adjust
3862 * BufferView.C (getEncoding): adjust
3864 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3866 2003-04-16 John Levon <levon@movementarian.org>
3868 * lyxfind.C: use parlist stuff for search/changes
3870 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3872 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3874 * text2.C (deleteEmptyParagraphMechanism): adjust
3876 * text2.[Ch] (ownerParagraph): delete func (both of them
3878 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3880 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3882 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3884 * ParagraphList.C: prepare for NO_NEXT
3886 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3888 * text2.C (getFont): adjust
3889 (getLayoutFont): adjust
3890 (getLabelFont): adjust
3892 * paragraph.C (getFont): adjust
3893 (getLabelFont): adjust
3894 (getLayoutFont): adjust
3896 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3898 2003-04-15 John Levon <levon@movementarian.org>
3902 * lyx_main.C: handle Include in .ui files
3904 2003-04-15 John Levon <levon@movementarian.org>
3906 * MenuBackend.C: make the doc files length shorter
3909 * ToolbarBackend.C: handle toolbar placement flags,
3912 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3914 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3917 * paragraph_funcs.C (TeXOnePar): adjust
3919 * paragraph.C (getLabelFont): add outerfont arg, adjust
3920 (getLayoutFont): ditto
3921 (simpleTeXOnePar): adjust
3923 * paragraph_pimpl.C (realizeFont): delete func
3925 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3927 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3928 row argument, constify cur argument.
3930 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3932 * text2.C (getFont): adjust
3933 (getLayoutFont): adjust
3934 (getLabelFont): adjust
3936 * paragraph_funcs.C (TeXOnePar): adjust
3937 (outerFont): new func...
3938 (realizeFont): ...moved out from here, changed this to facilitate
3941 * paragraph.C (getFont): take outerfont as arg, adjust
3942 (simpleTeXOnePar): add outerfont arg, adjust
3944 * buffer.C (simpleLinuxDocOnePar): adjust
3945 (simpleDocBookOnePar): adjust
3947 * CutAndPaste.C (pasteSelection): adjust
3949 * BufferView.C (getEncoding): adjust
3951 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3953 * text2.C (setCharFont): adjust
3954 (setCounter): adjust
3956 * text.C (leftMargin): adjust
3957 (setHeightOfRow): adjust
3959 * rowpainter.C (paintFirst): adjust
3962 * paragraph_pimpl.C (realizeFont): adjust
3964 * paragraph.C (isFirstInSequence): move from here...
3965 * paragraph_funcs.C (isFirstInSequence): ...to here
3967 * paragraph.C (outerHook): move from here...
3968 * paragraph_funcs.C (outerHook): ...to here
3970 * paragraph.C (depthHook): move from here...
3971 * paragraph_funcs.C (depthHook): ...to here
3973 * paragraph.C (getEndLabel): move from here...
3974 * paragraph_funcs.C (getEndLabel): ...to here
3976 * text2.C (realizeFont): move from here...
3977 * paragraph_funcs.C (realizeFont): ...to here
3979 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3981 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3983 2003-04-14 Angus Leeming <leeming@lyx.org>
3985 * LColor.[Ch]: scrap LColor mathcursor.
3987 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3989 * lyxlex.[Ch] (text): delete function
3990 * trans.C (Load): adjust
3991 * paragraph_funcs.C (readParToken): adjust
3993 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3995 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3996 vector<char> instead of a char[].
3998 * lyxlex_pimpl.C (getString): adjust
4000 (lex): use getString
4004 * lyxlex.C (text): use pimpl_->getString()
4008 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4010 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4011 (makeFontEntriesLayoutSpecific): temp var for par.size()
4012 (setLayout): temp var for ownerParagraphs().end()
4013 (fullRebreak): temp var for rows().end()
4014 (selectionAsString): temp var for boost::next(startpit), realize
4015 that the while really is a regular for loop.
4016 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4017 setCursor in one place.
4018 (setParagraph): temp vr for ownerParagraphs().end()
4019 (updateCounters): make the while loop a for loop
4020 (cutSelection): temp var for ownerParagraphs().end()
4021 (updateInset): make the do {} while() a regular for loop
4022 (getCursorX): use temp vars
4023 (setCurrentFont): use temp vars
4024 (getColumnNearX): use temp vars
4026 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4028 * text.C (transformChar): use temp var for getChar
4029 (computeBidiTables): use temp var for row->par()
4030 (fill): move temp vars for row->par() and pit->layout() earlier in
4032 (labelFill): use temp var for row->par()
4033 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4034 asc and desc, realize that pit never changes and that firstpit is
4035 just a duplicate and not needed. Exchange rit->par() with pit in a
4037 (breakAgain): use a temp var for boost::next(rit)
4038 (breakAgainOneRow): ditto
4039 (breakParagraph): use a temp var for rows().begin()
4040 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4041 (cursorRightOneWord): use temp var for cursor.par() and
4042 cursor.pos(), remove usage of tmpcursor.
4043 (cursorLeftOneWord): use temp var for cursor.par() and
4044 cursor.pos() only set cur at end of function.
4046 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4048 * text.C, text2.C: exchange all usage of Paragraph::next with
4049 boost::next(ParagraphList::iterator)
4051 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4053 * text2.C (cursorTop): simplify implementation
4054 (cursorBottom): ditto
4055 (setParagraph): use ParagraphList::iterator
4056 (setCurrentFont): adjust
4057 (getColumnNearX): adjust
4058 (cursorRight): adjust
4059 (cursorLeft): remove usage of Paragraph::previous
4060 (cursorUpParagraph): ditto
4061 (deleteEmptyParagraphMechanism): slight cleanup
4063 * text.C (isBoundary): take a Paragraph const & instead of a
4065 (addressBreakPoint): ditto
4066 (leftMargin): remove usage of Paragraph::previous.
4067 (setHeightOfRow): ditto
4068 (cursorLeftOneWord): ditto
4069 (selectNextWordToSpellcheck): ditto
4072 (breakParagraph): remove one usage of Paragraph::next
4073 (redoParagraph): ditto
4074 (acceptChange): ditto
4075 (insertChar): adjust
4076 (rowBreakPoint): adjust
4078 * bufferview_funcs.C (toggleAndShow): adjust
4080 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4082 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4083 methods to access it.
4085 * text.C: Added updateRowPositions to compute all row positions.
4086 Make top_y and getRowNearY() to use the cached y position
4088 2003-04-11 John Levon <levon@movementarian.org>
4090 * text.C (rowBreakPoint): reintroduce the labelEnd
4091 checks, code copied from the row fill stuff. Deep voodoo.
4093 * text.C (fill): add a comment and debugging for the
4096 2003-04-11 John Levon <levon@movementarian.org>
4098 * text.C: make sure fullrow insets get wrapped to the next line,
4099 even when they're in a manual label
4101 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4103 * text2.C (insertParagraph): make it take ParagraphList::iterator
4105 (setLayout): make it return ParagraphList::iterator
4106 (redoParagraphs): ditto
4108 (checkParagraph): ditto
4110 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4112 * text2.C: adjust several funcs.
4113 (realizeFont): take a ParagraphList::iterator as arg.
4114 (getLayoutFont): ditto
4115 (getLabelFont): ditto
4116 (setCharFont): ditto
4118 * text.C: adjust several funcs.
4120 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4122 * text.C (selectNextWordToSpellcheck): don't accidentally
4125 2003-04-10 John Levon <levon@movementarian.org>
4127 * ToolbarBackend.C (getIcon): special handling for
4130 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4132 * text2.C (cursorRight): a getChar assert fixed
4134 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4136 * text2.C (getFont): change to take a ParagraphList::iterator
4137 instead of Paragraph*
4138 Adjust several functions.
4140 * text.C (transformChar): change to take a ParagraphList::iterator
4141 instead of Paragraph*
4142 (singleWidth): ditto
4143 Adjust several functions.
4145 * rowpainter.C: adjust several functions
4146 * rowpainter.h:store a ParagraphList::iterator and not a
4150 2003-04-09 John Levon <levon@movementarian.org>
4155 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4156 and the "help" bits as well
4158 2003-04-09 John Levon <levon@movementarian.org>
4161 * ToolbarBackend.C: allow multiple toolbars
4163 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4165 * undo_funcs.C (setCursorParUndo): adjust
4167 * text_funcs.C (transposeChars): adjust
4169 * text3.C (gotoNextInset): adjust
4172 * text2.C (setLayout): adjust
4173 (changeDepth): adjust
4175 (redoParagraphs): adjust
4176 (selectionAsString): adjust
4177 (setParagraph): adjust
4178 (insertInset): adjust
4179 (cutSelection): adjust
4180 (copySelection): adjust
4181 (pasteSelection): adjust
4182 (insertStringAsLines): adjust
4183 (updateInset): adjust
4184 (setCursor): change to take a ParagraphList::iterator parameter
4185 (setCursorIntern): change to take a ParagraphList::iterator parameter
4186 (setCurrentFont): adjust
4187 (cursorLeft): adjust
4188 (cursorRight): adjust
4189 (deleteEmptyParagraphMechanism): adjust
4191 * text.C (breakParagraph): adjust
4192 (insertChar): adjust
4193 (acceptChange): adjust
4194 (rejectChange): adjust
4195 (selectNextWordToSpellcheck): adjust
4196 (changeCase): adjust
4200 * lyxfind.C (SearchForward): adjust
4201 (SearchBackward): adjust
4202 (nextChange): adjust
4204 * lyxcursor.C (par): adjust
4206 * lyxcursor.h: store a ParagraphList::iterator instead of a
4209 * lyx_cb.C (getPossibleLabel): adjust
4211 * bufferview_funcs.C (toggleAndShow): adjust
4213 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4216 * BufferView.C (removeAutoInsets): adjust
4217 (lockedInsetStoreUndo): adjust
4219 2003-04-09 John Levon <levon@movementarian.org>
4221 * ToolbarBackend.C: try icon without argument
4222 if with argument fails
4224 2003-04-08 John Levon <levon@movementarian.org>
4227 * ToolbarBackend.C: add getIcon(), handle tooltip,
4228 and change from "Icon" to "Item".
4230 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4232 * BufferView.C (lockInset): another bad getchar crunched
4234 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4236 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4239 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4241 * lyxfind.C (searchForward, searchBackwards): bug 782
4243 2003-04-07 John Levon <levon@movementarian.org>
4245 * paragraph.C: remove dead comment
4247 * text.C: remove troublesome depth-fiddling code
4248 in leftMargin() and rightMargin() (bug 1017)
4250 * text.C: fix breaking of rows in nested lists
4253 * text2.C (updateCounters): fix up depth values
4256 2003-04-07 John Levon <levon@movementarian.org>
4258 * BufferView_pimpl.C: clear message when doc finishes resizing,
4259 and after a mouse event
4261 * lyxfunc.C: clear message after exiting inset
4263 2003-04-07 John Levon <levon@movementarian.org>
4265 * bufferview_funcs.C: show math status not outside
4266 status in the statusbar
4268 2003-04-07 John Levon <levon@movementarian.org>
4270 * lyxfunc.C: note status changed after a depth change
4272 2003-04-04 Angus Leeming <leeming@lyx.org>
4274 * LaTeX.h: move AuxInfo operator==, != out of line.
4275 Remove LaTeX virtual destructor; nothing derives from it.
4276 Move operator()() out of public area and rename it startscript().
4277 Change protected for private.
4279 2003-04-04 Angus Leeming <leeming@lyx.org>
4282 * text2.C: remove unneeded #includes.
4284 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4286 * text2.C (dEPM): fix the heigth of the next row
4288 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4290 * text.C: squashed an invalid getChar requester + some ws changes
4292 2003-04-03 John Levon <levon@movementarian.org>
4294 * bufferview_funcs.h:
4295 * bufferview_funcs.C:
4298 * text2.C: make getStatus work for the env depth lfuns
4300 2003-04-03 John Levon <levon@movementarian.org>
4302 * bufferview_funcs.h:
4303 * bufferview_funcs.C:
4306 * text2.C: parlistize decDepth(), by merging it with incDepth()
4308 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4310 * lyxrow.h: store a ParagraphList::iterator instead of a
4311 Paragraph* and adjust other class functions to suit.
4313 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4316 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4318 * text2.C (setCursor): do not anchor to cursor row for the time being
4320 2003-04-02 John Levon <levon@movementarian.org>
4327 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4329 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4331 * paragraph.h: make ParagraphList and ParagraphList::iterator
4332 friends of Paragraph.
4334 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4336 * ParagraphList.C: Use the private next_ and previous_ from
4339 2003-04-01 John Levon <levon@movementarian.org>
4343 * Makefile.am: rename, remove defaults gunk
4346 * MenuBackend.C: remove defaults gunk
4349 * Languages.C: remove defaults gunk
4352 * lyx_main.C: error out if files couldn't be found.
4354 2003-04-02 John Levon <levon@movementarian.org>
4356 * text2.C: make incDepth() use parlist
4358 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4360 * undo_funcs.C (firstUndoParagraph): adjust
4362 * text3.C (gotoInset): adjust
4363 (dispatch): adjust, and rewrite loop.
4365 * text2.C (init): adjust, and rewrite loop.
4366 (redoParagraphs): adjust
4367 (updateInset): adjust, and rewrite loop.
4368 (deleteEmptyParagraphMechanism): adjust
4370 * tabular.C (LyXTabular): adjust
4371 (SetMultiColumn): adjust
4374 * lyxtext.[Ch] (ownerParagraph): delete function
4375 (ownerParagraphs): new function returns a ParagraphList.
4377 * BufferView.C (removeAutoInsets): adjust
4378 (insertErrors): adjust
4379 (setCursorFromRow): adjust
4381 2003-04-01 Angus Leeming <leeming@lyx.org>
4383 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4386 2003-04-02 John Levon <levon@movementarian.org>
4392 * text_funcs.C: make transposeChars a free function
4394 * lyxrow_funcs.C: remove wrong comment
4396 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4399 * rowpainter.C: adjust
4404 * lyxrow_funcs. [Ch]: new files
4406 * lyxrow.[Ch]: remove next and previous pointers
4407 (next,previous): remove accessor functions
4408 (isParEnd): move to lyxrow_funcs
4409 (lastPos): move to lyxrow_funcs
4410 (nextRowIsAllInset): move to lyxrow_funcs
4411 (lastPrintablePos): move to lyxrow_funcs
4412 (numberOfSeparators): move to lyxrow_funcs
4413 (numberOfHfills): move to lyxrow_funcs
4414 (numberOfLabelHfills): move to lyxrow_funcs
4415 (hfillExpansion): move to lyxrow_funcs
4419 * bufferview_funcs.C (toggleAndShow): adjust
4421 * RowList.h: Remove class RowList from file leave just a
4424 * RowList.C: delete file
4426 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4429 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4431 * text3.C (cursorPrevious): adjust
4432 (cursorNext): adjust
4435 * text2.C (redoHeightOfParagraph): adjust
4436 (redoDrawingOfParagraph): adjust
4439 * text.C (breakParagraph): adjust
4440 (insertChar): adjust
4443 * rowpainter.C (RowPainter): adjust
4444 (leftMargin): simplify and adjust
4445 (most rowpainter functions): adjust.
4447 * rowpainter.h: store the row as RowList::iterator not as Row*
4449 * lyxcursor.C (row): taka RowList::iterator as arg
4452 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4455 2003-04-01 Angus Leeming <leeming@lyx.org>
4457 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4458 stuff like bool Bool.
4460 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4462 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4465 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4467 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4470 * lyxtext.h (rows): drop one version and leve a const variant that
4471 returns a RowList::iterator.
4473 2003-03-31 Angus Leeming <leeming@lyx.org>
4475 * text.C (fill): ensure that the signature is the same as that in the
4478 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4480 * text2.C (redoParagraphs): adjust
4481 (updateCounters): adjust
4482 (checkParagraph): adjust
4483 (getColumnNearX): adjust and reformat a bit.
4485 * text.C (top_y): adjust
4487 (leftMargin): adjust
4488 (prepareToPrint): adjust
4490 (getRowNearY): adjust
4492 * lyxtext.h: make rowlist_ mutable.
4494 * RowList.h: add const_iterator
4495 * RowList.C: adjust for RowList::const_iterator.
4497 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4500 2003-03-31 John Levon <levon@movementarian.org>
4503 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4505 * lyx_main.C: set default fonts from using lyx_gui funcs
4507 * exporter.C: pdf_mode moved from lyxrc
4510 * lyxfunc.C: changes from above
4512 2003-03-31 John Levon <levon@movementarian.org>
4514 * lyx_main.C: fix to the last fix
4516 2003-03-31 John Levon <levon@movementarian.org>
4518 * bufferlist.C: "Load original" -> "Load Original"
4524 * format.C: more Alert cleanups
4526 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4528 * text2.C (removeParagraph): make it take a RowList::iterator as
4530 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4531 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4533 * text.C (anchor_row): make it take a RowList::iterator as arg,
4535 (computeBidiTables): make it take a const reference to Row instead
4536 of Row pointer, adjust.
4537 (leftMargin): make it take a RowList::iterator as arg, adjust.
4538 (rowBreakPoint): adjust
4539 (breakAgainOneRow): make it take a RowList::iterator as arg,
4541 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4543 * bufferview_funcs.C (toggleAndShow): adjust
4545 2003-03-30 John Levon <levon@movementarian.org>
4549 * boost-inst.C: moved to support
4551 * several files: changes as a result
4553 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4555 * text2.C (LyXText): adjust.
4557 (removeRow): make it take a RowList::iterator as arg, adjust.
4558 (fullRebreak): adjust
4559 (deleteEmptyParagraphMechanism): adjust
4560 (clearPaint): adjust
4563 * text.C (top_y): adjust
4564 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4565 (breakAgain): make it take a RowList::iterator as arg, adjust.
4566 (breakParagraph): adjust
4567 (insertChar): adjust
4570 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4571 need_break_row, and refresh_row.
4573 * text3.C (dispatch): adjust
4575 * text2.C (checkParagraph): adjust
4577 (setCursorFromCoordinates): adjust
4579 * text.C (top_y): adjust
4581 (getRow): make it return a RowList::iterator, adjust
4582 (getRowNearY): make it return a RowList::iterator, adjust
4584 * text2.C (init): adjust
4585 (insertRow): remove function
4586 (insertParagraph): adjust
4587 (redoParagraphs): adjust
4588 (fullRebreak): adjust
4589 (updateCounters): adjust
4591 * text.C (top_y): rewrite to use RowList iterators.
4593 (setHeightOfRow): rewrite to sue RowList iterators.
4594 (appendParagraph): adjust
4595 (breakAgain): adjust
4596 (breakAgainOneRow): adjust
4597 (breakParagraph): adjust
4599 (getRowNearY): adjust, and remove commented code.
4601 * lyxtext.h (firstRow): delete function
4602 (lastRow): delete function
4603 (rows): new function (const and non-const versions.)
4604 (insertRow): delete function
4606 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4608 2003-03-29 John Levon <levon@movementarian.org>
4610 * BufferView_pimpl.C: always update scrollbar top
4611 because pasting text when we're anchored could mean we
4612 miss an update altogether
4614 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4616 * text2.C (init): use rowlist_.end() and not 0.
4617 (insertRow): change to take a RowList::iterator as arg, adjust
4619 (insertParagraph): change to take a RowList::iterator as arg,
4621 (redoParagraphs): remove some debug msgs.
4623 * text.C (appendParagraph): change to take a RowList::iterator
4624 arg, adjust for this.
4625 (breakAgain): add an assert
4626 (breakAgainOneRow): ditto
4628 2003-03-29 John Levon <levon@movementarian.org>
4630 * text2.C: do not clear selection after inc/decDepth
4633 2003-03-29 John Levon <levon@movementarian.org>
4636 * buffer.C: fix broken strerrors according to Lars
4638 2003-03-29 John Levon <levon@movementarian.org>
4640 * converters.C: more Alert cleanups
4642 2003-03-29 John Levon <levon@movementarian.org>
4644 * bufferview_funcs.C: remove pointless Alert
4646 * buffer.C: fix confusing error message when
4647 a template is chmoded 000
4649 2003-03-29 John Levon <levon@movementarian.org>
4653 * BufferView_pimpl.C: Alert fixes
4657 * tabular-old.C: remove unused table compat reading
4659 2003-03-29 John Levon <levon@movementarian.org>
4664 * lyx_cb.C: more Alert cleanups
4666 * lyxfunc.C: don't allow chktex if not latex document
4668 2003-03-29 John Levon <levon@movementarian.org>
4672 * buffer.C: warnings pushed down from support/,
4675 2003-03-29 John Levon <levon@movementarian.org>
4677 * lyxfunc.C: safety check for C-r (revert)
4679 2003-03-29 John Levon <levon@movementarian.org>
4682 * bufferlist.C: several UI fixes using Alert::prompt.
4683 Fix the pointless looping quit code. Fix stupid revert
4688 * lyx_cb.C: use Alert::prompt
4690 * lyx_main.C: remove a silly question
4692 * lyxfunc.C: remove a couple of silly questions,
4695 2003-03-28 John Levon <levon@movementarian.org>
4697 * text2.C: fix bug 974 (End on empty par)
4699 2003-03-28 John Levon <levon@movementarian.org>
4701 * BufferView_pimpl.C:
4703 * lfuns.h: remove do-nothing math greek lfuns
4705 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4707 * lyxgluelength.h (isValidGlueLength): add default arg on
4708 parameter 2. Remove default arg from friend in class.
4710 * lyxlength.h (isValidLength): add default arg on parameter 2.
4711 Remove default arg from friend in class.
4713 * text2.C (LyXText): adjust, initialize refresh_row.
4717 (insertParagraph): adjst
4718 (redoParagraphs): adjust
4719 (fullRebreak): adjust
4720 (updateCounters): adjust
4721 (deleteEmptyParagraphMechanism): first attempt at fixing a
4724 * text.C (top_y): adjust
4725 (setHeightOfRow): adjust
4727 (getRowNearY): adjust
4729 * lyxtext.h: include RowList.h
4730 (~LyXText): not needed anymore, deleted.
4731 (firstRow): modify for RowList
4732 (lastRow): new function
4733 Delete firstrow and lastrow class variables, add a Rowlist
4734 rowlist_ class variable.
4736 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4739 * RowList.C (insert): fix case where it == begin().
4741 2003-03-26 Angus Leeming <leeming@lyx.org>
4743 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4744 the thesaurus dialog.
4746 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4748 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4750 * RowList.[Ch]: new files
4752 * ParagraphList.C (erase): handle the case where it == begin
4755 2003-03-25 John Levon <levon@movementarian.org>
4759 * aspell.C: add new aspell support
4762 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4765 2003-03-25 Angus Leeming <leeming@lyx.org>
4768 * LyXAction.C (init): new LFUN_INSET_INSERT.
4770 * BufferView_pimpl.C (dispatch): split out part of the
4771 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4773 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4776 2003-03-25 Angus Leeming <leeming@lyx.org>
4778 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4780 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4783 * text3.C: remove useless row->height(0)
4785 2003-03-25 John Levon <levon@movementarian.org>
4789 * text3.C: rename the refreshing stuff to better names
4791 2003-03-24 John Levon <levon@movementarian.org>
4793 * BufferView_pimpl.h:
4794 * BufferView_pimpl.C: update layout choice on a mouse
4797 2003-03-23 John Levon <levon@movementarian.org>
4799 * Makefile.am: fix commandtags.h reference
4801 2003-03-22 John Levon <levon@movementarian.org>
4803 * BufferView_pimpl.C:
4808 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4810 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4813 * text.C: take the rtl methods out of line
4815 2003-03-21 André Pönitz <poenitz@gmx.net>
4817 * metricsinfo.[Ch]: new files containing structures to be passed around
4818 during the two-phase-drawing...
4820 2003-03-21 André Pönitz <poenitz@gmx.net>
4822 * lyxtextclass.C: read 'environment' tag.
4824 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4826 * text2.C (removeRow): fix bug 964
4828 2003-03-20 John Levon <levon@movementarian.org>
4832 * text2.C: paint cleanups. Inset::update() dropped font
4835 2003-03-19 John Levon <levon@movementarian.org>
4837 * lyxfunc.C: only fitcursor/markDirty if available()
4839 2003-03-19 John Levon <levon@movementarian.org>
4841 * commandtags.h: rename to ...
4843 * lfuns.h: ... this, and renumber / cleanup
4845 2003-03-19 John Levon <levon@movementarian.org>
4847 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4848 fit the cursor after an lfun
4852 * BufferView_pimpl.h:
4853 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4855 * LyXAction.C: layout-character should have ReadOnly
4857 * ParagraphParameters.C:
4859 * bufferview_funcs.C:
4866 * undo_funcs.C: changes from above
4868 2003-03-18 John Levon <levon@movementarian.org>
4870 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4871 remove it from update()
4873 * lyxfunc.C: update layout choice after an lfun
4875 * text3.C: remove extra updateLayoutChoice()s
4877 2003-03-18 John Levon <levon@movementarian.org>
4879 * text.C: top_y change means full repaint, fix
4880 a drawing bug with cursor movement
4882 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4886 * text2.C: anchor row on setCursor
4888 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4890 * lyxtext.h: remove almost all mutable keywords
4893 * text3.C: remove const keywords accordingly
4895 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4897 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4899 (TeXEnvironment): ditto
4902 2003-03-17 John Levon <levon@movementarian.org>
4904 * text.C (rowBreakPoint): remove attempt to fix displayed
4905 math insets inside a manual label
4907 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4909 * lyxtext.h: remove BufferView* as first arg from almost all class
4911 * other files: adjust.
4913 2003-03-17 John Levon <levon@movementarian.org>
4917 * text2.C: more paint cleanups
4919 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4922 * rowpainter.C: remove "smart" background painting code
4924 2003-03-16 John Levon <levon@movementarian.org>
4929 * text3.C: add helper functions for setting refresh_row/y
4931 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4933 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4934 newline inset which *can* get inserted in the pass_thru layouts.
4935 This is primarily for literate documents.
4937 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4939 * buffer.C: increment LYX_FORMAT to 223
4941 2003-03-14 André Pönitz <poenitz@gmx.net>
4943 * textclass.h: prepare for environment handling, ws changes
4944 * lyxlayout.C: read latexheader and latexfooter tags
4946 2003-03-14 John Levon <levon@movementarian.org>
4948 * text2.C: rewrite ::status() a bit
4950 2003-03-13 John Levon <levon@movementarian.org>
4952 * lyxtext.h: add some docs
4954 2003-03-13 John Levon <levon@movementarian.org>
4959 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4961 2003-03-13 John Levon <levon@movementarian.org>
4963 * text3.C: fix appendix redrawing
4965 2003-03-13 John Levon <levon@movementarian.org>
4967 * text.C (setHeightOfRow):
4969 * rowpainter.C: make appendix mark have the text
4970 "Appendix" so the user knows what it is
4973 * LColor.C: s/appendixline/appendix/ from above
4975 2003-03-13 John Levon <levon@movementarian.org>
4977 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4979 * text.C: fix a getChar(pos) bug properly
4981 2003-03-13 Angus Leeming <leeming@lyx.org>
4984 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4985 Probably only temporary. Let's see how things pan out.
4987 * BufferView.C (unlockInset):
4988 * BufferView_pimpl.C (fitCursor):
4989 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4991 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4992 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4994 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4995 new functions that convert ParagraphParameters to and from a string.
4997 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4998 BufferView::Pimpl's dispatch.
4999 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5001 2003-03-13 André Pönitz <poenitz@gmx.net>
5005 * factory.C: make it aware of InsetEnv
5007 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5009 * text2.C (setCursor): never ask for one past last
5010 (setCursor): add some debugging messages.
5012 * text.C (singleWidth): never ask for one past last
5013 (singleWidth): ditto
5015 (rightMargin): ditto
5016 (rowBreakPoint): ditto
5017 (setHeightOfRow): ditto
5018 (prepareToPrint): ditto
5020 * rowpainter.C (paintBackground): never ask for one past last
5021 (paintText): never ask for one past last
5023 * paragraph_pimpl.C (getChar): make the assert stricter, never
5024 allow the one past last pos to be taken
5026 * paragraph.C (getChar): ws changes only
5028 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5029 (numberOfSeparators): ditto
5030 (numberOfHfills): ditto
5032 2003-03-12 John Levon <levon@movementarian.org>
5038 * paragraph_funcs.C: fix per-buffer authorlists
5040 2003-03-12 John Levon <levon@movementarian.org>
5042 * text.C: fix newline in right address
5044 2003-03-12 Angus Leeming <leeming@lyx.org>
5046 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5047 duplicate those in LyXFunc::dispatch.
5051 * ToolbarDefaults.C:
5052 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5053 Add LFUN_FONTFREE_UPDATE.
5055 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5056 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5058 * bufferview_func.[Ch]: several new functions to facilliate
5059 transfer of data to and from the character dialog.
5061 2003-03-12 John Levon <levon@movementarian.org>
5066 * paragraph_funcs.C:
5067 * paragraph_pimpl.C:
5071 * text3.C: remove META_NEWLINE in favour of an inset
5074 * rowpainter.C: remove paintNewline (done by inset)
5076 2003-03-12 John Levon <levon@movementarian.org>
5078 * paragraph_pimpl.C: complain about bad getChar()s
5079 for a while at least
5081 2003-03-12 John Levon <levon@movementarian.org>
5084 * buffer.C: move paragraph read into a separate function,
5085 a little renaming to reflect that.
5088 * bufferparams.C: remove the author_ids map, not necessary now
5091 * factory.C: moved Buffer::readInset to here
5093 * paragraph_funcs.h:
5094 * paragraph_funcs.C: readParagraph free function moved from
5097 * tabular.C: name change
5099 2003-03-12 John Levon <levon@movementarian.org>
5102 * ParagraphParameters.C: move par params input to
5105 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5106 behave like a normal read from the stream wrt reading
5107 a line vs. a \\token
5109 2003-03-12 John Levon <levon@movementarian.org>
5112 * ParagraphParameters.h:
5113 * ParagraphParameters.C: move output code to a
5116 2003-03-12 John Levon <levon@movementarian.org>
5118 * BufferView.C (insertLyXFile):
5121 * tabular.C: use a parlist iterator for creating the
5124 2003-03-12 John Levon <levon@movementarian.org>
5126 * buffer.C: make current_change static local not
5129 2003-03-12 John Levon <levon@movementarian.org>
5131 * buffer.C: fix insertStringAsLines for change tracking
5133 2003-03-12 John Levon <levon@movementarian.org>
5140 * bufferparams.C: move author list into params. Rename some
5141 functions. Move the header reading into a separate token
5142 loop. Move the header token reading into BufferParams.
5144 2003-03-12 John Levon <levon@movementarian.org>
5146 * changes.C: put debug inside lyxerr.debugging() checks
5148 2003-03-11 André Pönitz <poenitz@gmx.net>
5150 * factory.C: make it aware of InsetHFill
5152 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5154 * buffer.C (latexParagraphs): move function from here...
5155 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5158 2003-03-10 Angus Leeming <leeming@lyx.org>
5160 * LyXAction.C (init): fix bug in poplating array with multiple entries
5161 with the same LFUN (spotted by JMarc).
5163 2003-03-10 John Levon <levon@movementarian.org>
5166 * text2.C: move getColumnNearX() near its
5169 2003-03-10 John Levon <levon@movementarian.org>
5171 * text.C: fix break before a minipage
5173 2003-03-10 John Levon <levon@movementarian.org>
5175 * text.C: fix the last commit
5177 2003-03-09 John Levon <levon@movementarian.org>
5181 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5182 bug 365 (don't break before insets unless needed). Don't
5183 return a value > last under any circumstances.
5185 2003-03-09 Angus Leeming <leeming@lyx.org>
5187 * BufferView_pimpl.C (trackChanges, dispatch): call
5188 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5190 2003-03-09 Angus Leeming <leeming@lyx.org>
5192 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5193 than Dialogs::showAboutlyx().
5195 2003-03-09 Angus Leeming <leeming@lyx.org>
5197 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5198 than Dialogs::showTabularCreate().
5200 2003-03-09 John Levon <levon@movementarian.org>
5204 * text2.C: 3rd arg to nextBreakPoint was always the same.
5207 2003-03-08 John Levon <levon@movementarian.org>
5214 * text2.C: Remove the "main" bit from the "main body"
5217 2003-03-08 John Levon <levon@movementarian.org>
5219 * text.C (leftMargin): The left margin of an empty
5220 manual label paragraph should not include the label width
5223 * text.C (prepareToPrint): don't attempt to measure hfills
5224 for empty manual label paragraphs - the answer should be 0
5226 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5228 * CutAndPaste.C: remove commented code and reindent.
5230 2003-03-08 John Levon <levon@movementarian.org>
5233 * lyxfunc.C: move reloadBuffer()
5236 * BufferView.C: to here
5238 * lyxvc.C: add comment
5241 * vc-backend.C: call bv->reload() to avoid
5242 getStatus() check on MENURELOAD
5244 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5246 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5247 to an old format .dep file.
5249 2003-03-07 Angus Leeming <leeming@lyx.org>
5251 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5252 when the LFUN_MOUSE_RELEASE should have been handled by
5253 inset->localDispatch.
5255 2003-03-07 Angus Leeming <leeming@lyx.org>
5257 * BufferView_pimpl.C (dispatch):
5258 * LyXAction.C (init):
5259 * ToolbarDefaults.C (init):
5261 * lyxfunc.C (getStatus):
5262 remove LFUN_INSET_GRAPHICS.
5264 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5266 2003-03-07 Angus Leeming <leeming@lyx.org>
5269 * LyXAction.C (init):
5270 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5272 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5275 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5277 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5278 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5280 2003-03-07 Angus Leeming <leeming@lyx.org>
5282 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5285 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5287 * ParagraphList.C (front): new function
5290 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5292 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5293 and top_row_offset_. removed var first_y.
5295 * text2.C (LyXText, removeRow):
5297 * BufferView_pimpl.C:
5298 use these methods instead of using first_y
5300 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5302 * text2.C (pasteSelection): adjust for checkPastePossible
5304 * CutAndPaste.C: remove Paragraph * buf and replace with
5305 ParagraphList paragraphs.
5306 (DeleteBuffer): delete
5307 (cutSelection): change the tc type to textclass_type
5308 (copySelection): change the tc type to textclass_type
5309 (copySelection): adjust for ParagraphList
5310 (pasteSelection): change the tc type to textclass_type
5311 (pasteSelection): adjust for Paragraphlist
5312 (nrOfParagraphs): simplify for ParagraphList
5313 (checkPastePossible): simplify for ParagraphList
5314 (checkPastePossible): remove unused arg
5316 * ParagraphList.C (insert): handle the case where there are no
5319 * CutAndPaste.h: make CutAndPaste a namespace.
5321 * text3.C (dispatch): adjust
5323 * text.C (breakParagraph): add a ParagraphList as arg
5325 * paragraph_funcs.C (breakParagraph): change to take a
5326 BufferParams and a ParagraphList as args.
5327 (breakParagraphConservative): ditto
5328 (mergeParagraph): ditto
5329 (TeXDeeper): add a ParagraphList arg
5330 (TeXEnvironment): ditto
5333 * buffer.C (readLyXformat2): adjust
5334 (insertStringAsLines): adjust
5335 (latexParagraphs): adjust
5337 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5338 (cutSelection): adjust
5339 (pasteSelection): adjust
5341 * BufferView_pimpl.C (insertInset): adjust
5343 2003-03-05 Angus Leeming <leeming@lyx.org>
5346 * LyXAction.C (init):
5347 * BufferView_pimpl.C (dispatch):
5348 * lyxfunc.C (getStatus):
5349 remove LFUN_CHILD_INSERT.
5351 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5353 2003-03-05 Angus Leeming <leeming@lyx.org>
5356 * LyXAction.C (init):
5357 * src/factory.C (createInset):
5358 * lyxfunc.C (getStatus):
5359 * text3.C (dispatch):
5360 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5362 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5364 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5366 * ParagraphList.C (insert): handle insert right before end()
5367 (erase): fix cases where it can be first or last paragraph.
5369 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5371 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5372 Paragraph::next and Paragraph::previous
5375 * text.C (breakParagraph): adjust
5377 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5378 BufferParams& as arg.
5379 (breakParagraph): use ParagraphList::insert
5380 (breakParagraphConservative): take a Buffer* instead of a
5381 BufferParams& as arg.
5382 (breakParagraphConservative): use ParagraphList::insert.
5384 * buffer.C (insertStringAsLines): un-const it
5385 (insertStringAsLines): adjust
5387 * ParagraphList.C (insert): new function
5389 * CutAndPaste.C (pasteSelection): adjust
5391 * text.C (backspace): adjust
5393 * tabular.C (SetMultiColumn): adjust
5395 * CutAndPaste.C (cutSelection): adjust
5396 (pasteSelection): adjust
5398 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5399 Buffer const * as arg
5401 * ParagraphList.C (erase): new function
5402 * paragraph_funcs.C (mergeParagraph): use it
5403 (mergeParagraph): make it take a Buffer* instead of a
5404 BufferParams* as arg
5406 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5408 (breakParagraphConservative): ditto
5410 * paragraph.h: remove the breakParagraph friend
5412 * paragraph.C (eraseIntern): new function
5413 (setChange): new function
5415 * paragraph_funcs.C (mergeParagraph): make it take a
5416 ParagraphList::iterator instead of a Paragraph *, adjust
5419 * paragraph.h: move an #endif so that the change tracking stuff
5420 also works in the NO_NEXT case.
5422 2003-03-04 Angus Leeming <leeming@lyx.org>
5425 * LyXAction.C: new LFUN_INSET_MODIFY.
5427 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5428 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5430 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5432 * several files: ws changes only
5434 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5435 (TeXEnvironment): ditto
5438 * buffer.C (makeLaTeXFile): adjust
5439 (latexParagraphs): make it take ParagraphList::iterator as args
5441 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5443 * buffer.C (latexParagraphs): adjust
5445 * paragraph.C (TeXOnePar): move function...
5446 (optArgInset): move function...
5447 (TeXEnvironment): move function...
5448 * paragraph_pimpl.C (TeXDeeper): move function...
5449 * paragraph_funcs.C: ...here
5451 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5453 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5455 * buffer.C (readInset): remove compability code for old Figure and
5458 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5460 * buffer.C: ws changes
5463 * BufferView_pimpl.C: ditto
5466 * bufferlist.h: ditto
5470 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5472 * converter.[Ch]: split into itself +
5475 * Makefile.am: += graph.[Ch] + format.[Ch]
5482 * lyxrc.C: added #include "format.h"
5484 2003-02-27 Angus Leeming <leeming@lyx.org>
5486 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5489 * factory.C (createInset): add "label" to the factory.
5491 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5492 string and do no more.
5494 2003-02-27 Angus Leeming <leeming@lyx.org>
5497 * LyXAction.C (init):
5498 * factory.C (createInset):
5499 * BufferView_pimpl.C (dispatch):
5500 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5502 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5504 * lyxfunc.C (dispatch):
5505 * text3.C (dispatch): pass name to params2string.
5507 2003-02-26 Angus Leeming <leeming@lyx.org>
5509 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5511 Rearrange the ~includes. Strip out the unnecessary ones.
5513 * factory.C (createInset): reformat.
5514 create new insets for the various LFUN_XYZ_APPLY lfuns.
5516 2003-02-26 John Levon <levon@movementarian.org>
5519 * lyxrow.C: add isParStart,isParEnd helpers
5521 * paragraph.h: make isInserted/DeletedText take refs
5523 * paragraph_funcs.h:
5524 * paragraph_funcs.C: remove #if 0'd code
5529 * text.C: use lyxrow helpers above.
5530 Move draw and paint routines to RowPainter.
5531 Make several methods use refs not pointers.
5532 Make backgroundColor() const.
5533 Add markChangeInDraw(), isInInset().
5534 Merge changeRegionCase into changeCase.
5535 Make workWidth() shouldn't-happen code into an Assert.
5538 * rowpainter.C: new class for painting a row.
5541 * vspace.C: make inPixels take a ref
5543 2003-02-26 Angus Leeming <leeming@lyx.org>
5545 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5548 2003-02-25 John Levon <levon@movementarian.org>
5550 * ispell.C: give the forked command a more accurate name
5552 2003-02-22 John Levon <levon@movementarian.org>
5555 * toc.C: make TocItem store an id not a Paragraph *
5558 2003-02-21 Angus Leeming <leeming@lyx.org>
5560 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5561 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5562 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5563 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5564 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5565 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5567 * BufferView_pimpl.C (dispatch):
5568 * LyXAction.C (init):
5569 * factory.C (createInset):
5570 * lyxfunc.C (getStatus, dispatch):
5571 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5573 2003-02-21 Angus Leeming <leeming@lyx.org>
5575 * BufferView_pimpl.C (MenuInsertLyXFile):
5576 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5577 * lyxfunc.C (menuNew, open, doImport):
5578 no longer pass a LyXView & to fileDlg.
5580 2003-02-21 Angus Leeming <leeming@lyx.org>
5582 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5583 * LyXAction.C: change, BIBKEY to BIBITEM.
5584 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5585 Change InsetBibKey to InsetBibitem.
5586 Change BIBKEY_CODE to BIBITEM_CODE.
5587 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5588 * factory.C: replace insetbib.h with insetbibitem.h.
5589 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5590 * paragraph.C: replace insetbib.h with insetbibitem.h.
5591 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5592 Change bibkey() to bibitem().
5593 * text.C: remove insetbib.h.
5594 * text2.C: replace insetbib.h with insetbibitem.h.
5595 change bibkey() to bibitem().
5596 * text3.C: remove insetbib.h.
5597 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5599 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5601 * lyxrc.C (output): enclose user email in quotes (in case there are
5604 2003-02-18 John Levon <levon@movementarian.org>
5606 * buffer.h: add std::
5608 2003-02-17 John Levon <levon@movementarian.org>
5614 * pspell.C: reworking. Especially in ispell, a large
5615 number of clean ups and bug fixes.
5617 * lyxfunc.C: fix revert to behave sensibly
5619 2003-02-17 André Pönitz <poenitz@gmx.net>
5622 * commandtags.h: new LFUN_INSERT_BIBKEY
5632 * paragraph_func.C: remove special bibkey handling
5634 2003-02-17 John Levon <levon@movementarian.org>
5636 * text.C (Delete): fix case where delete at the end of
5637 the very first paragraph would not merge the pars
5639 2003-02-17 John Levon <levon@movementarian.org>
5641 * lyxrow.C: fix lastPrintablePos()
5643 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5645 * bufferparams.C (writeLaTeX): add a std:here
5647 * buffer.C: and remove a using directive there
5649 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5651 * buffer.C (makeLaTeXFile): move the code that generates the
5654 * bufferparams.C (writeLaTeX): ... in this new method
5656 * LaTeXFeatures.C (getEncodingSet): make const
5657 (getLanguages): make const
5659 * MenuBackend.C (binding): returns the binding associated to this
5661 (add): sets the status of each item by calling getStatus. Adds
5663 (read): add support for OptSubMenu
5664 (expand): remove extra separator at the end of expanded menu
5666 2003-02-15 John Levon <levon@movementarian.org>
5669 * BufferView_pimpl.C:
5671 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5672 inset code that had no actual effect. Remove unneeded status
5675 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5677 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5680 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5682 * text.C (drawLengthMarker): also draw an arrow marker for
5683 symbolic lengths (medskip...)
5685 2003-02-14 John Levon <levon@movementarian.org>
5688 * tabular.C: better method names
5690 2003-02-14 John Levon <levon@movementarian.org>
5692 * BufferView_pimpl.C:
5697 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5698 it's a more accurate name. Remove some pointless uses.
5700 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5702 * text2.C (LyXText): change order of initilizers to shut off
5705 2003-02-14 John Levon <levon@movementarian.org>
5707 * buffer.C: use ParIterator for getParFromID()
5711 * paragraph_pimpl.h:
5712 * paragraph_pimpl.C: remove unused getParFromID()
5714 2003-02-14 John Levon <levon@movementarian.org>
5716 * buffer.C: remove some very old #if 0'd parse code
5718 2003-02-13 John Levon <levon@movementarian.org>
5722 * text2.C: move hfillExpansion(), numberOfSeparators(),
5723 rowLast(), rowLastPrintable(), numberofHfills(),
5724 numberOfLabelHfills() ...
5727 * lyxrow.C: ... to member functions here.
5732 * text.C: remove LyXText::beginningOfMainBody(), and call
5733 p->beginningOfMainBody() directly. Move the check for
5734 LABEL_MANUAL into the latter.
5741 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5747 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5748 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5750 2003-02-13 John Levon <levon@movementarian.org>
5752 * CutAndPaste.C: remove debug
5754 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5756 * paragraph.C (asString): remove two unused variables
5758 * lyxtextclass.C (readTitleType):
5760 (LyXTextClass): handle new members titletype_ and titlename_
5762 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5764 2003-02-09 John Levon <levon@movementarian.org>
5767 * buffer.C: replace hand-coded list with a map for the dep clean
5769 2003-02-08 John Levon <levon@movementarian.org>
5771 * LaTeX.C: consolidate code into showRunMessage() helper
5773 2003-02-08 John Levon <levon@movementarian.org>
5778 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5779 and pass the size in explicitly
5781 * BufferView_pimpl.h:
5782 * BufferView_pimpl.C:
5784 * BufferView.C: add getCurrentChange()
5786 * BufferView_pimpl.h:
5787 * BufferView_pimpl.C: handle change lfuns
5789 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5790 for changes. Mark pasted paragraphs as new.
5792 * support/lyxtime.h:
5793 * support/lyxtime.C:
5794 * DepTable.C: abstract time_t as lyx::time_type
5797 * LColor.C: add colours for new text, deleted text, changebars
5799 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5800 package use "usenames" option.
5804 * LyXAction.C: add change lfuns
5808 * author.C: author handling
5811 * buffer.C: add a per-buffer author list, with first entry as
5812 current author. Handle new .lyx tokens for change tracking. Output
5813 author list to .lyx file. Output dvipost stuff to .tex preamble.
5814 Bump lyx format to 222.
5817 * bufferlist.C: add setCurrentAuthor() to reset current author details
5821 * bufferparams.C: add param for tracking
5823 * bufferview_funcs.C: output change info in minibuffer
5827 * changes.C: add change-tracking structure
5830 * debug.C: add CHANGES debug flag
5833 * lyxfind.C: add code for finding the next change piece
5836 * lyxrc.C: add user_name and user_email
5839 * lyxrow.C: add a metric for the top of the text line
5842 * text.C: implement accept/rejectChange()
5845 * text.C: paint changebars. Paint new/deleted text in the chosen
5846 colours. Strike through deleted text.
5850 * paragraph_pimpl.h:
5851 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5852 in the current change to the insert functions. Rework erase to
5853 mark text as deleted, adding an eraseIntern() and a range-based
5854 erase(). Implement per-paragraph change lookup and
5857 * paragraph_funcs.C: Fixup paste for change tracking.
5859 * tabular.C: mark added row/columns as new.
5861 * text.C: fix rowLast() to never return -1. Don't allow
5862 spellchecking of deleted text. Track transpose changes. Don't
5863 allow paragraph break or merge where appropriate.
5865 * text2.C: leave cursor at end of selection after a cut.
5867 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5869 * text.C (getLengthMarkerHeight):
5870 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5871 visible on screen too.
5873 2003-02-07 John Levon <levon@movementarian.org>
5875 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5877 2003-02-05 Angus Leeming <leeming@lyx.org>
5879 * lyxserver.C (read_ready): revert my patch of 11 September last year
5880 as it sends PC cpu through the roof. Presumably this means that
5881 the lyxserver will no longer run on an Alpha...
5883 2003-01-30 Angus Leeming <leeming@lyx.org>
5885 * factory.C (createInset): create an InsetCommandParam of type "index"
5886 and use it to 'do the right thing'.
5888 * text2.C (getStringToIndex): ensure that cursor position is always
5889 reset to the reset_cursor position.
5891 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5893 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5896 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5900 * lyxfunc.C: Output messages with identical spelling, punctuation,
5903 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5905 * MenuBackend.C (expandFormats): List only viewable export formats
5908 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5911 * lyxfunc.C (getStatus): Make sure that formats other than
5912 "fax" can also be disabled
5914 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5916 * text3.C (dispatch): put the lfuns that insert insets in 3
5917 groups, and call doInsertInset with appropriate arguments.
5918 (doInsertInset): new function, that creates an inset and inserts
5919 it according to some boolean parameters.
5921 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5923 * buffer.C (readFile): remember to pass on 'par' when calling
5924 readFile recursively.
5926 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5928 * MenuBackend.C (expandFormats): add "..." to import formats.
5930 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5932 * paragraph.C (asString): Remove XForms RTL hacks.
5934 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5935 * buffer.C: fix typo
5937 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5939 * Makefile.am (LIBS): delete var
5940 (lyx_LDADD): add @LIBS@ here instead.
5942 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5944 * Clarify the meaning of "wheel mouse jump"
5946 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5948 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5951 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5953 * importer.C (Loaders): do not preallocate 3 elements in the
5954 vector, since one ends up with 6 elements otherwise
5956 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5958 * DepTable.C (write): write the file name as last element of the
5959 .dep file (because it may contain spaces)
5960 (read): read info in the right order
5962 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5964 * paragraph_pimpl.C (simpleTeXBlanks):
5965 (simpleTeXSpecialChars):
5966 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5968 * tabular.C (latex): add some missing case statements. Reindent.
5970 * MenuBackend.C (expandToc): remove unused variable.
5972 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5981 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5984 2003-01-05 John Levon <levon@movementarian.org>
5987 * BufferView.C: add getEncoding()
5990 * kbsequence.C: do not store last keypress
5993 * lyxfunc.C: store last keypress here instead. Pass encoding
5996 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5998 * lyx_main.C (init): remove annoying error message when following
5999 symbolic links (bug #780)
6001 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6003 * text.C (insertChar):
6004 * lyxrc.C (getDescription): remove extra spaces
6006 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6008 * lyxrc.C (getDescription): remove extra spaces
6010 2002-12-20 John Levon <levon@movementarian.org>
6012 * text3.C: hack fix for page up/down across tall rows
6014 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6016 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6019 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6021 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6022 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6023 thesaurus is not compiled in
6025 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6027 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6029 2002-12-16 Angus Leeming <leeming@lyx.org>
6032 * lyx_main.C (init): remove override_x_deadkeys stuff.
6034 2002-12-12 John Levon <levon@movementarian.org>
6036 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6037 insert. Only remove shift modifier under strict
6040 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6042 * MenuBackend.C (expandToc): fix crash.
6044 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6046 * MenuBackend.C (expandToc): gettext on float names.
6048 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6050 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6051 implement bool empty() [bug 490]
6053 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6055 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6057 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6059 * several files: ws changes
6061 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6063 * text2.C (setCounter): clean up a bit, use boost.format.
6064 (updateCounters): initialize par upon declaration.
6066 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6067 if the layout exists. We do not just store the layout any more.
6068 (SwitchLayoutsBetweenClasses): use boost.format
6070 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6072 * converter.C (convert): if from and to files are the same, use a
6073 temporary files as intermediary
6075 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6078 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6080 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6082 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6084 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6086 * tabular.C (asciiPrintCell): use string(size, char) instead of
6089 * sgml.C (openTag): fix order of arguments to string constructor
6092 * lyxfunc.C (dispatch): use boost.format
6094 * lots of files: change "c" -> 'c'
6096 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6098 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6100 2002-11-25 Angus Leeming <leeming@lyx.org>
6102 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6104 * lyx_main.C (init): compile fix.
6106 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6108 * lyx_cb.C (start): boost.formatify
6109 do not include <iostream>
6111 * lengthcommon.C: ws only
6113 * boost-inst.C,BoostFormat.h: add more explict instantations
6115 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6117 * lots of files: handle USE_BOOST_FORMAT
6119 2002-11-21 John Levon <levon@movementarian.org>
6121 * pspell.C: fix compile
6123 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6125 * lyxfunc.C (dispatch): use boost::format
6129 * lyxfont.C (stateText): use boost::format
6131 * lyx_main.C (LyX): use boost::format
6133 (queryUserLyXDir): ditto
6136 (typedef boost::function): use the recommened syntax.
6138 * importer.C (Import): use boost::format
6140 * debug.C (showLevel): use boost::format
6142 * converter.C (view): use boost::format
6147 * bufferview_funcs.C (currentState): use boost::format
6149 * bufferlist.C (emergencyWrite): use boost::format
6151 * buffer.C (readLyXformat2): use boost::format
6152 (parseSingleLyXformat2Token): ditto
6154 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6156 * LaTeX.C (run): use boost::format
6158 * Chktex.C (scanLogFile): use boost::format
6160 * BufferView_pimpl.C (savePosition): use boost::format
6161 (restorePosition): ditto
6162 (MenuInsertLyXFile): ditto
6164 * BoostFormat.h: help file for explicit instation.
6166 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6168 * tabular.C (latex): Support for block alignment in fixed width
6171 2002-11-17 John Levon <levon@movementarian.org>
6173 * BufferView_pimpl.C:
6175 * lyxfunc.C: split filedialog into open/save
6177 2002-11-08 Juergen Vigna <jug@sad.it>
6179 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6180 by my last patch (hopefully).
6182 2002-11-08 John Levon <levon@movementarian.org>
6191 * toc.C: ParConstIterator, and use it (from Lars)
6193 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6195 * lyxtextclass.[Ch]: revise and add doxygen comments
6197 2002-11-07 John Levon <levon@movementarian.org>
6199 * text.C: fix progress value for spellchecker
6201 * toc.C: fix navigate menu for insetwrap inside minipage
6203 * paragraph_funcs.C: added FIXME for suspect code
6205 2002-11-07 John Levon <levon@movementarian.org>
6207 * BufferView_pimpl.C: fix redrawing of insets
6210 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6212 * text2.C (updateCounters): fix bug 668
6214 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6216 * text3.C (dispatch): Do not make the buffer dirty when moving the
6219 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6221 * vc-backend.C: STRCONV
6224 * text2.C (setCounter): STRCONV
6226 * paragraph.C (asString): STRCONV
6228 * lyxlength.C (asString): STRCONV
6229 (asLatexString): ditto
6231 * lyxgluelength.C (asString): STRCONV
6232 (asLatexString): ditto
6234 * lyxfunc.C (dispatch): STRCONV
6237 * lyxfont.C (stateText): STRCONV
6239 * importer.C (Import): STRCONV
6241 * counters.C (labelItem): STRCONV
6242 (numberLabel): ditto
6243 (numberLabel): remove unused ostringstream o
6248 * bufferview_funcs.C (currentState): STRCONV
6250 * buffer.C (readFile): STRCONV
6251 (asciiParagraph): ditto
6252 (makeLaTeXFile): ditto
6254 * Spacing.C (writeEnvirBegin): STRCONV
6256 * LaTeXFeatures.C (getLanguages): STRCONV
6257 (getPackages): ditto
6259 (getBabelOptions): ditto
6260 (getTClassPreamble): ditto
6261 (getLyXSGMLEntities): ditto
6262 (getIncludedFiles): ditto
6266 (scanAuxFile): ditto
6269 * LString.h: add the STRCONV macros
6271 * BufferView_pimpl.C (savePosition): STRCONV
6272 (restorePosition): ditto
6273 (MenuInsertLyXFile): ditto
6275 * vc-backend.C (scanMaster): change from submatch[...] to
6278 * funcrequest.C: include config.h
6280 * factory.C: include config.h
6282 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6284 * box.C: include config.h
6286 * LaTeX.C (scanAuxFile): change from submatch[...] to
6290 2002-10-25 Angus Leeming <leeming@lyx.org>
6292 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6294 * ispell.[Ch] (setError): new method.
6295 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6296 Use setError() insetead of goto END.
6298 * lyx_cb.C (AutoSave): move out child process into new class
6301 2002-10-30 John Levon <levon@movementarian.org>
6303 * text3.C: make start appendix undoable
6305 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6307 * lyxlength.C (inPixels): Fix returned value.
6309 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6312 2002-10-24 Angus Leeming <leeming@lyx.org>
6314 * lyxgluelength.h: no need to forward declare BufferParams
6315 or BufferView, so don't.
6317 2002-10-21 John Levon <levon@movementarian.org>
6319 * BufferView.C: menuUndo ->undo, redo
6321 * BufferView.h: document, remove dead, make some methods private
6323 * paragraph_funcs.h:
6324 * paragraph_funcs.C:
6325 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6330 * sgml.C: move sgml open/close tag into sgml.C
6332 * bufferview_funcs.h: unused prototype
6335 * lyxfunc.C: remove unused
6338 * text.C: remove unused
6340 2002-10-21 John Levon <levon@movementarian.org>
6344 * BufferView_pimpl.h:
6345 * BufferView_pimpl.C: fix mouse wheel handling based on
6346 patch from Darren Freeman
6348 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6350 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6352 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6354 * lyxlength.C (inPixels): Fix hanfling of negative length.
6355 Fix LyXLength::MU case.
6357 2002-10-16 John Levon <levon@movementarian.org>
6359 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6361 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6363 * converter.C (view): add support for $$i (file name) and $$p
6364 (file path) for the viewer command. If $$i is not specified, then
6365 it is appended to the command (for compatibility with old syntax)
6367 2002-10-14 Juergen Vigna <jug@sad.it>
6369 * undo_funcs.C (textHandleUndo): alter the order in which the
6370 new undopar is added to the LyXText, as we have to set first
6371 the right prev/next and then add it as otherwise the rebuild of
6372 LyXText is not correct. Also reset the cursor to the right paragraph,
6373 with this IMO we could remove the hack in "redoParagraphs()".
6375 2002-10-09 Angus Leeming <leeming@lyx.org>
6377 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6378 to turn off an optimisation if a new inset is to be inserted.
6380 2002-10-11 André Pönitz <poenitz@gmx.net>
6382 * lyxtext.h: make some functions public to allow access
6383 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6385 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6387 * text3.C (dispatch): when changing layout, avoid an infinite loop
6390 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6392 * lyxrc.C (read): treat a viewer or converter command of "none" as
6395 * MenuBackend.C (expandFormats): for an update, also allow the
6396 formats that are not viewable
6398 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6399 script if it is newer than the lyxrc.defaults in user directory
6401 2002-10-07 André Pönitz <poenitz@gmx.net>
6403 * text.C: Vitaly Lipatov's small i18n fix
6405 2002-09-25 Angus Leeming <leeming@lyx.org>
6407 * ispell.h: doxygen fix.
6409 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6411 * buffer.h (readFile): Add a new argument to the method, to allow
6412 reading of old-format templates.
6414 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6416 * toc.C (getTocList): Get TOC from InsetWrap.
6418 2002-09-16 John Levon <levon@movementarian.org>
6420 * lyxfunc.C: check tabular for cut/copy too
6422 2002-09-12 John Levon <levon@movementarian.org>
6427 * factory.C: add header
6429 * paragraph_funcs.h:
6430 * paragraph_funcs.C: cleanup
6432 2002-09-11 John Levon <levon@movementarian.org>
6434 * PrinterParams.h: odd/even default to true
6436 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6438 * PrinterParams.h: update printer parameters for new xforms dialog
6440 2002-09-11 Angus Leeming <leeming@lyx.org>
6442 * lyxserver.C (read_ready): re-write to make it more transparent
6443 and to make it work in coherent fashion under Tru64 Unix.
6445 2002-09-11 André Pönitz <poenitz@gmx.net>
6449 * text3.C: implement LFUN_WORDSEL
6451 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6453 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6454 make floatlist_ a boost::shared_ptr<FloatList>
6456 * lyxtextclass.C: include FloatList.h
6457 (LyXTextClass): initialize floatlist_
6458 (TextClassTags): add TC_NOFLOAT
6459 (Read): match "nofloat" to TC_NOFLOAT and use it.
6460 (readFloat): modify call to floatlist_
6464 * FloatList.[Ch] (FloatList): remove commented out float
6466 (erase): new function
6468 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6470 * MenuBackend.C (expandToc): fix crash when there is no document
6473 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6475 * many files: Add insetwrap.
6477 2002-09-09 John Levon <levon@movementarian.org>
6479 * text2.C: remove confusing and awkward depth wraparound
6481 2002-09-09 John Levon <levon@movementarian.org>
6483 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6486 * buffer.C: remove getIncludeonlyList()
6489 * lyxfunc.C: remove headers
6491 2002-09-09 Juergen Vigna <jug@sad.it>
6493 * text.C (getColumnNearX): fix form Michael this is most
6494 probably a cut&paste bug.
6496 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6498 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6500 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6501 references, ws changes.
6503 * text2.C (init): update counters after init
6504 (insertParagraph): no need to set counter on idividual paragraphs.
6505 (setCounter): access the counters object in the textclass object
6506 on in the buffer object.
6507 (updateCounters): ditto
6509 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6510 shared_ptr<Counters> to avoid loading counters.h in all
6512 (LyXTextClass): initialize ctrs_
6513 (TextClassTags): add TC_COUNTER, and ...
6514 (Read): use it here.
6515 (CounterTags): new tags
6516 (readCounter): new function
6517 (counters): new funtion
6518 (defaultLayoutName): return a const reference
6520 * counters.C (Counters): remove contructor
6521 (newCounter): remove a couple of unneeded statements.
6522 (newCounter): simplify a bit.
6523 (numberLabel): some small formatting changes.
6525 * buffer.[Ch]: remove all traces of counters, move the Counters
6526 object to the LyXTextClass.
6528 2002-09-06 Alain Castera <castera@in2p3.fr>
6530 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6531 package to set the horizontal alignment on fixed width columns.
6534 * lyx_sty.h: added tabularnewline macro def.
6536 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6538 2002-09-06 John Levon <levon@movementarian.org>
6540 * LyXAction.C: tooltips for sub/superscript
6542 * MenuBackend.C: a bit more verbose
6544 * lyxfunc.C: tiny clean
6546 * undo_funcs.C: document undo_frozen
6548 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6550 * counters.C (Counters): add missing algorithm counter.
6552 * text2.C (setCounter): lookup the counter with layouts latexname
6553 instead of by section number.
6554 (setCounter): use a hackish way to lookup the correct enum
6556 a float name->type change
6557 reset enum couners with counter name directly instead of depth value.
6559 * counters.C (Counters): remove the push_backs, change to use the
6560 float type not the float name.
6561 (labelItem): remove unused string, float name->type change
6563 * counters.h: don't include vector, loose the enums and sects vectors
6565 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6567 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6568 (Read): add float->TC_FLOAT to textclassTags
6569 (Read): and handle it in the switch
6570 (readFloat): new function
6572 * FloatList.C (FloatList): comment out the hardcoded float
6575 * lyxlayout.h: ws change.
6577 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6579 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6581 2002-09-03 Angus Leeming <leeming@lyx.org>
6583 * BufferView_pimpl.h: qualified name is not allowed in member
6584 declaration: WorkArea & Pimpl::workarea() const;
6586 * factory.C: added using std::endl directive.
6588 * text3.C: added using std::find and std::vector directives.
6590 2002-08-29 André Pönitz <poenitz@gmx.net>
6593 * text2.C: remove unused member number_of_rows
6596 * BufferView2.C: remove file, move contents to...
6597 * BufferView.C: ... here
6599 * BufferView_pimpl.C:
6600 * factory.C: move more inset creation to factory
6602 * vspace.C: avoid direct usage of LyXText, ws changes
6605 don't provide direct access to WorkArea, use two simple
6606 acessors haveSelction() and workHeight() instead
6609 2002-08-29 John Levon <levon@movementarian.org>
6611 * BufferView_pimpl.C (dispatch): do not continue when
6614 2002-08-28 André Pönitz <poenitz@gmx.net>
6616 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6619 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6621 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6623 * buffer.C: increment LYX_FORMAT to 221
6625 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6626 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6628 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6630 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6632 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6634 * factory.C (createInset): use LyXTextClass::floats
6636 * MenuBackend.C (expandFloatListInsert):
6637 (expandFloatInsert):
6640 * text2.C (setCounter):
6642 * LaTeXFeatures.C (useFloat):
6643 (getFloatDefinitions):
6645 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6647 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6648 floatlist_, with accessor floats().
6650 * FloatList.h: remove global FloatList
6652 2002-08-26 André Pönitz <poenitz@gmx.net>
6654 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6658 * BufferView_pimpl.C:
6659 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6661 2002-08-25 John Levon <levon@movementarian.org>
6663 * LyXAction.C: fix margin note description
6665 2002-08-24 John Levon <levon@movementarian.org>
6669 * bufferview_funcs.C:
6671 * undo_funcs.C: cleanups
6673 * lyxfunc.C: disable CUT/COPY when no selection
6675 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6677 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6678 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6680 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6681 Add backward compatibility to "mono", "gray" and "no".
6683 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6685 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6686 (and file_format >= 200).
6688 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6690 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6692 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6694 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6696 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6698 * BufferView_pimpl.C:
6705 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6706 inset and code to make it work with the paragraph code. The inset
6707 can be anywhere in the paragraph, but will only do the expected
6708 thing in LaTeX if the layout file contains the parameter line
6710 (or more generally, a nonzero value) for that layout.
6712 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6714 * paragraph.h: remove the declaration of undefined counters class
6717 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6719 * text2.C (setCounter): fixed enumeration mis-count as reported by
6720 Dr. Richard Hawkins.
6722 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6724 * paragraph_funcs.h: remove some unneeded includes
6726 * text.C (backspace): pasteParagraph now in global scipe
6728 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6729 (pasteSelection): ditto
6731 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6732 * paragraph_funcs.C (pasteParagraph): ... here
6734 2002-08-20 André Pönitz <poenitz@gmx.net>
6736 * commandtags.h: new LFUNs for swapping/copying table row/colums
6739 * lyxfunc.C: support for new lfuns
6741 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6744 * buffer.[Ch]: remove NO_COMPABILITY stuff
6746 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6748 * boost.C (throw_exception): new file, with helper function for
6749 boost compiled without exceptions.
6754 * ParameterStruct.h:
6755 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6757 * bufferlist.C (emergencyWriteAll): use boost bind
6759 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6761 * text.C: include paragraph_funcs.h
6762 (breakParagraph): breakParagraph is now in global scope
6764 * paragraph_funcs.[Ch]: new files
6766 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6769 * buffer.C: include paragraph_funcs.h
6770 (insertStringAsLines): breakParagraph is now in global scope
6772 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6775 * CutAndPaste.C: include paragraph_funcs.h
6776 (cutSelection): breakParagraphConservative is now in global scope
6777 (pasteSelection): ditto
6779 * buffer.h: declare oprator== and operator!= for
6780 Buffer::inset_iterator
6782 * bufferlist.C (emergencyWrite): don't use fmt(...)
6784 * text3.C: add using std::endl
6786 * BufferView.C (moveCursorUpdate): remove default arg
6788 2002-08-20 André Pönitz <poenitz@gmx.net>
6790 * buffer.[Ch]: move inline functions to .C
6793 * BufferView_pimpl.C:
6795 * buffer.[Ch]: use improved inset_iterator
6798 * paragraph.[Ch]: write one paragraph at a time
6800 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6802 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6803 style if style is not specified.
6805 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6807 * text2.C (setCounter): when searching for right label for a
6808 caption, make sure to recurse to parent insets (so that a caption
6809 in a minipage in a figure float works) (bug #568)
6811 2002-08-20 André Pönitz <poenitz@gmx.net>
6813 * text3.C: new file for LyXText::dispatch() and helpers
6815 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6817 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6819 2002-08-19 André Pönitz <poenitz@gmx.net>
6822 * text.C: new LyXText::dispatch()
6824 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6826 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6828 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6830 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6833 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6835 * Makefile.am: use $(variables) instead of @substitutions@
6837 2002-08-15 André Pönitz <poenitz@gmx.net>
6840 * BufferView_pimpl.C: streamlining mathed <-> outer world
6844 * LyXAction.C: remove unused LFUN_MATH
6846 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6848 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6850 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6852 * paragraph.C (Paragraph): reformat a bit
6853 (cutIntoMinibuffer): use builtin InsetList function instad of
6857 * buffer.C: include boost/bind.hpp, add using std::for_each
6858 (writeFileAscii): use ParagraphList iterators
6859 (validate): use for_each for validate traversal of paragraphs
6860 (getBibkeyList): use ParagraphList iterators
6861 (resizeInsets): use for_each to resizeInsetsLyXText for all
6863 (getParFromID): use ParagraphList iterators
6865 * BufferView2.C (lockInset): use paragraph list and iterators
6867 2002-08-14 John Levon <levon@movementarian.org>
6869 * lyxserver.C: remove spurious xforms include
6871 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6873 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6875 2002-08-13 André Pönitz <poenitz@gmx.net>
6878 * lyxfunc.C: further cleaning
6880 2002-08-13 André Pönitz <poenitz@gmx.net>
6882 * funcrequest.h: new constructor
6884 * funcrequest.C: move stuff here from .h
6887 * BufferView_pimpl.C:
6890 * lyxfunc.C: subsequent changes
6892 * lyxfunc.h: new view() member function
6894 * lyxfunc.C: subsequent changes
6896 2002-08-13 Angus Leeming <leeming@lyx.org>
6899 * BufferView_pimpl.C:
6907 changes due to the changed LyXView interface that now returns references
6908 to member variables not pointers.
6910 2002-08-13 Angus Leeming <leeming@lyx.org>
6912 * WordLangTuple (word, lang_code): return references to strings,
6917 * lyxtext.h: forward-declare WordLangTuple.
6922 * text.C: #include "WordLangTuple.h".
6925 * text.C: (selectNextWordToSpellcheck): constify return type.
6927 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6933 * paragraph_pimpl.h:
6936 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6938 Made updateCounter always count from start of buffer, and removed
6939 second argument (par).
6940 Reverted floats number display to '#'. Perhaps I'll try again when the
6941 code base is sanitized a bit.
6943 2002-08-12 Angus Leeming <leeming@lyx.org>
6945 * buffer.[Ch] (getLabelList): constify.
6947 2002-08-07 André Pönitz <poenitz@gmx.net>
6949 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6951 * funcrequest.h: extension to keep mouse (x,y) position
6953 2002-08-12 Juergen Vigna <jug@sad.it>
6955 * BufferView2.C (insertErrors): forbid undo when inserting error
6958 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6960 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6962 * ParagraphList.[Ch]: new files
6964 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6966 * BufferView2.C (lockInset): ParagraphList changes
6969 * bufferlist.C: ditto
6973 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6975 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6976 unused class variable counter_,
6978 * paragraph.[Ch] (getFirstCounter): delete unused function
6980 * counters.C: include LAssert.h
6981 (reset): add a new function with no arg, change other version to
6982 not have def. arg and to not allow empty arg.
6984 * text2.C (setCounter): remove empty arg from call to Counters::reset
6986 2002-08-11 John Levon <levon@movementarian.org>
6988 * Makefile.am: add WordLangTuple.h
6990 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6992 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6993 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6995 * insets/insettext.C: InsetList changes
6997 * graphics/GraphicsSupport.C (operator()): InsetList changes
6999 * toc.C (getTocList): InsetList changes
7001 * paragraph_pimpl.[Ch]: InsetList changes
7003 * paragraph.[Ch]: InsetList changes
7005 * buffer.C (inset_iterator): InsetList changes
7006 (setParagraph): ditto
7007 * buffer.h (inset_iterator): ditto
7008 * iterators.C (operator++): ditto
7009 * iterators.h: ditto
7011 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7013 * InsetList.[Ch]: new files, most InsetList handling moved out of
7016 * BufferView2.C (removeAutoInsets): InsetList changes
7018 (ChangeInsets): ditto
7020 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7022 * paragraph_pimpl.h (empty): new function
7024 * paragraph.[Ch] (empty): new function
7026 * other files: use the new Paragraph::empty function
7028 2002-08-09 John Levon <levon@movementarian.org>
7030 * lyxtext.h: remove unused refresh_height
7032 2002-08-09 John Levon <levon@movementarian.org>
7039 * paragraph.C: move sgml char escaping out of paragraph
7042 * paragraph.C: remove id setter
7046 * paragraph_pimpl.C: remove dead tex_code_break_column
7048 * bufferview_funcs.C: small cleanup
7050 * lyxfunc.C: remove dead proto
7052 * lyxtext.h: make some stuff private. Remove some dead stuff.
7054 * lyxgluelength.C: make as[LyX]String() readable
7056 2002-08-08 John Levon <levon@movementarian.org>
7061 * ToolbarDefaults.C:
7064 * toc.C: lyxaction cleanup
7066 2002-08-08 John Levon <levon@movementarian.org>
7068 * BufferView2.C: small cleanup
7071 * lyxfind.C: move unnecessary header into the .C
7073 2002-08-08 John Levon <levon@movementarian.org>
7075 * funcrequest.h: just tedious nonsense
7078 * lyx_main.C: cleanups
7081 * vspace.C: remove dead header lyx_main.h
7083 2002-08-07 Angus Leeming <leeming@lyx.org>
7086 * paragraph_pimpl.h:
7087 Forward declare class Counters in paragraph.h by moving the ctrs member
7088 variable into Paragraph::Pimpl.
7089 (counters): new method, returning a reference to pimpl_->ctrs.
7091 * text2.C: ensuing changes.
7093 2002-08-07 John Levon <levon@movementarian.org>
7095 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7097 * BufferView_pimpl.C: announce X selection on double/triple
7100 * lyx_main.C: use correct bool in batch dispatch
7102 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7104 2002-08-07 André Pönitz <poenitz@gmx.net>
7106 * funcrequest.h: new class to wrap a kb_action and its argument
7109 * BufferView_pimpl[Ch]:
7113 * lyxrc.C: subsequent changes
7116 2002-08-07 John Levon <levon@movementarian.org>
7118 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7119 document options change.
7121 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7126 * makefile.am: move counters functionality over from
7127 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7129 2002-08-06 John Levon <levon@movementarian.org>
7131 * WordLangTuple.h: new file for word + language code tuple
7142 * BufferView2.C: use WordLangTuple
7145 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7147 2002-08-06 John Levon <levon@movementarian.org>
7149 * lyx_main.C: fix cmdline batch handling
7151 2002-08-06 André Pönitz <poenitz@gmx.net>
7153 * lyxrc.C: set default for show_banner to true
7155 2002-08-06 John Levon <levon@movementarian.org>
7157 * pspell.C: fix a crash, and allow new aspell to work
7159 2002-08-06 John Levon <levon@movementarian.org>
7162 * kbmap.C: small cleanup
7165 * vspace.C: add const
7167 2002-08-05 John Levon <levon@movementarian.org>
7169 * LyXAction.C: back to tabular-insert
7171 2002-08-04 John Levon <levon@movementarian.org>
7174 * BufferView.C: cosmetic change
7176 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7186 * BufferView2.C: purge all "Lyx" not "LyX" strings
7189 * lyxcursor.C: attempt to add some documentation
7194 * ToolbarDefaults.C:
7195 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7196 merge with LFUN_TABULAR_INSERT
7203 * pspell.C: split up i/pspell implementations into separate
7204 files, many cleanups
7206 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7208 * text2.C: some cleanup
7210 * lyxfunc.C: don't check for isp_command == "none" any more, it
7211 didn't make any sense
7213 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7218 * makefile.am: move counters functionality over
7219 from text2.C/paragraph.[Ch] to counters.[Ch], and
7221 2002-08-02 John Levon <levon@movementarian.org>
7223 * buffer.C: s/lyxconvert/lyx2lyx/
7225 2002-08-02 Angus Leeming <leeming@lyx.org>
7227 * lyxlex.C: revert John's change as it breaks reading of the user
7230 2002-08-02 Angus Leeming <leeming@lyx.org>
7232 * importer.C (Import):
7233 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7234 changes due to LyXView::view() now returning a boost::shared_ptr.
7236 2002-08-02 John Levon <levon@movementarian.org>
7238 * lyxlex.C: small cleanup
7240 2002-08-02 John Levon <levon@movementarian.org>
7242 * text2.C (status): small cleanup, no logic change
7244 2002-08-01 John Levon <levon@movementarian.org>
7247 * buffer.C (writeFile): don't output alerts, caller
7251 * lyx_cb.C: from above
7253 * lyxfunc.C: allow to open non-existent files
7255 2002-07-31 John Levon <levon@movementarian.org>
7257 * lyxserver.C: don't let incidental errors get
7260 2002-07-30 John Levon <levon@movementarian.org>
7262 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7264 2002-07-30 John Levon <levon@movementarian.org>
7267 * lyxserver.C: remove I/O callback too
7269 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7271 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7274 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7276 * many files: strip,frontStrip -> trim,ltrim,rtrim
7278 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7280 * PrinterParams.h: remove extern containsOnly, and include
7281 support/lstrings.h instead.
7283 * LaTeX.C (scanAuxFile): modify because of strip changes
7285 * buffer.C (makeLaTeXFile): ditto
7286 * bufferparams.C (writeFile): ditt
7287 * lyxfont.C (stateText): ditto
7288 * lyxserver.C (read_ready): ditto
7289 * vc-backend.C (scanMaster): ditto
7291 * BufferView_pimpl.h: ws changes
7293 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7295 2002-07-26 André Pönitz <poenitz@gmx.net>
7297 * kb_sequence.C: remove unnedred usings
7299 2002-07-26 Juergen Vigna <jug@sad.it>
7301 * lyxfind.C (LyXReplace): we have to check better if the returned
7302 text is not of theLockingInset()->getLockingInset().
7304 2002-07-25 Juergen Vigna <jug@sad.it>
7306 * lyxfind.C (LyXReplace): don't replace if we don't get the
7309 * undo_funcs.C (createUndo): remove debugging code.
7311 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7313 * buffer.C (parseSingleLyXformat2Token): Use default placement
7314 when reading old floats.
7316 * FloatList.C (FloatList): Change the default placement of figure
7317 and tables to "tbp".
7319 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7321 * MenuBackend.C: using std::max
7323 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7325 * MenuBackend.C (expandToc):
7326 (expandToc2): code moved from xforms menu frontend. It is now
7327 generic and TOCs are transparent to menu frontends.
7329 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7331 * toc.C (getTocList): protect against buf=0
7333 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7334 Menu as first parameter. Now, this calls itself recursively to
7335 expand a whole tree (this will be useful for TOC handling)
7336 (expandFloatInsert): remove 'wide' version of floats
7338 * MenuBackend.h (submenuname): returns the name of the submenu.
7339 (submenu): returns the submenu itself, provided it has been
7340 created by MenuBackend::expand
7342 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7344 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7345 insets which have noFontChange == true. (bug #172)
7347 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7349 * BufferView_pimpl.C: add connection objects and use them...
7352 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7354 * MenuBackend.C (expandLastfiles):
7357 (expandFloatListInsert):
7358 (expandFloatInsert):
7359 (expand): split expand in parts
7361 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7363 * lyx_gui.C: use lyx_gui::exit()
7365 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7367 * LyXAction.C: show the failing pseudo action
7369 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7371 * buffer.C (readFile): Run the lyxconvert script in order to read
7374 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7378 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7380 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7384 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7386 2002-07-22 Herbert Voss <voss@lyx.org>
7389 * lyxlength.[Ch]: add support for the vertical lengths
7391 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7393 * toc.[Ch]: std:: fixes
7395 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7397 * lyxrc.C: do not include lyx_main.h
7399 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7405 * BufferView2.C: include "lyxlex.h"
7408 * bufferparams.h: do not #include "lyxlex.h"
7410 * lyxtextclasslist.C (Add): remove method
7411 (classlist): renamed to classlist_
7413 * paragraph_pimpl.C:
7417 * bufferview_funcs.C:
7422 * toc.C (getTocList): use BufferParams::getLyXTextClass
7424 * toc.C (getTocList): use InsetFloat::addToToc
7426 * toc.[Ch]: new files, containing helper functions to handle table
7429 * lyxfunc.C (dispatch): no need to remove spaces around command
7431 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7432 first command of the sequence; it is not very clever, but I do not
7433 have a better idea, actually
7435 * LyXAction.C (LookupFunc): make sure to remove space at the
7436 beginning and end of the command
7438 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7440 * MenuBackend.C (getMenubar): new method: return the menubar of
7442 (read): treat differently reading of menu and menubar (in
7443 particular, the menubar has no name now)
7444 (Menu::menubar): remove
7446 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7449 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7451 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7452 a bibitem inset in a RTL paragraph.
7454 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7456 * paragraph_pimpl.C: constify
7458 * BufferView_pimpl.C:
7460 * lyxfunc.C: fix dispatch in a nicer way
7462 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7464 * lyxfunc.C (dispatch):
7465 * BufferView_pimpl.C:
7466 * BufferView_pimpl.h:
7468 * BufferView.h: rename Dispatch() to dispatch()
7470 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7472 * lyxlayout.C (Read): honor DependsOn tag
7474 * lyxlayout.[Ch] (depends_on): new method
7476 * version.C.in: update lyx_docversion
7478 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7480 * paragraph.C (validate): remove from here...
7481 * paragraph_pimpl.C (validate): ... and move here
7482 (isTextAt): make it const
7484 * buffer.C (getLists): ws cleanup
7486 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7488 * language.C (read): Use iso8859-1 encoding in latex_lang
7489 (this prevents LyX from crashing when using iso10646-1 encoding).
7491 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7493 * text2.C (toggleInset): if cursor is inside an inset, close the
7494 inset and leave cursor _after_ it
7496 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7498 * lyxfunc.C: move minibuffer completion handling out of here
7500 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7502 * BufferView_pimpl.C:
7503 * LaTeX.C: fix dispatch calls
7505 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7507 * text.C (drawChars): Fix Arabic text rendering.
7509 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7513 * lyxfunc.C: remove message-push/pop
7517 * lyxfunc.C: rationalise some code by removing verboseDispatch
7518 in favour of a bool argument to dispatch()
7520 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7522 * lyx_main.C (init): make sure to read symlinks as absolute paths
7524 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7527 * lyxfunc.C: no need for commandshortcut to be a member
7529 2002-07-15 André Pönitz <poenitz@gmx.net>
7531 * converter.C: add support for $$s (scripts from lib/scripts dir)
7532 * lyx_main.C: white space
7534 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7538 * lyxrc.C: remove second exit confirmation
7540 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7545 * BufferView_pimpl.h:
7546 * BufferView_pimpl.C:
7547 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7549 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7551 * MenuBackend.C (expand): add numeric shortcuts to document menu
7553 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7555 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7557 * lyxfont.C (setLyXFamily):
7564 * buffer.C (asciiParagraph): use ascii_lowercase
7566 2002-07-15 Mike Fabian <mfabian@suse.de>
7568 * lyxlex_pimpl.C (search_kw):
7569 * lyxlex.C (getLongString):
7570 * converter.h (operator<):
7571 * converter.C (operator<):
7572 * buffer.C (parseSingleLyXformat2Token):
7574 * ToolbarDefaults.C (read):
7575 * MenuBackend.C (checkShortcuts):
7577 * LColor.C (getFromGUIName):
7578 (getFromLyXName): use the compare_ascii_no_case instead of
7579 compare_no_case, because in turkish, 'i' is not the lowercase
7580 version of 'I', and thus turkish locale breaks parsing of tags.
7582 2002-07-16 Angus Leeming <leeming@lyx.org>
7584 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7585 now takes a Buffer const & argument.
7587 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7589 * BufferView.C (resize): check there's a buffer to resize
7591 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7593 * lyxfunc.C: remove dead code
7596 * lyxserver.C: use lyx_guii::set_read_callback
7598 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7600 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7601 an inset in a RTL paragraph.
7603 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7605 * lyxfunc.C: repaint after a font size update
7607 2002-07-15 André Pönitz <poenitz@gmx.net>
7609 * lyxlength.C: inBP should be able to return negative values
7611 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7613 * lyxfunc.C: use lyx_gui::update_fonts()
7615 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7617 * lyxfunc.C: use lyx_gui::update_color()
7619 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7625 * lyxrc.C: remove file->new asks for name option, and let
7626 buffer-new take an argument
7628 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7630 * BufferView_pimpl.C: remove unneeded extra repaint()
7632 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7634 * LyXAction.C: allow command-sequence with NoBuffer
7636 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7638 2002-07-10 Angus Leeming <leeming@lyx.org>
7640 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7642 2002-07-09 Angus Leeming <leeming@lyx.org>
7644 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7646 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7648 * lengthcommon.h: whitespace
7650 * lyxfunc.C: update scrollbar after goto paragraph
7652 * lyxtext.h: factor out page break drawing, and fix it so
7653 page break/added space paints as selected nicely
7655 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7657 * BufferView_pimpl.C: add FIXMEs, clean up a little
7659 2002-07-09 André Pönitz <poenitz@gmx.net>
7661 * lyxfont.[Ch]: support for wasy symbols
7663 2002-07-08 André Pönitz <poenitz@gmx.net>
7665 * BufferView_pimpl.C: apply John's patch for #93.
7667 2002-07-05 Angus Leeming <leeming@lyx.org>
7669 * BufferView_pimpl.C (buffer): generate previews if desired.
7671 * LColor.h: add "preview" to the color enum.
7673 * LColor.C (LColor): add a corresponding entry to the items array.
7675 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7678 2002-07-05 Angus Leeming <leeming@lyx.org>
7680 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7681 The body of the code is now in the method that is passed an ostream &
7682 rather than a file name.
7683 Pass an additional only_preamble parameter, useful for the forthcoming
7686 2002-07-03 André Pönitz <poenitz@gmx.net>
7688 * lyxfunc.C: simplify getStatus() a bit for math stuff
7690 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7692 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7694 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7696 * text.C (changeRegionCase): do not change case of all the
7697 document when region ends at paragraph end (bug #461)
7699 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7701 * paragraph.C (startTeXParParams):
7702 (endTeXParParams): add \protect when necessary
7704 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7706 * BufferView_pimpl.C (workAreaExpose): remove warning
7708 2002-06-27 Angus Leeming <leeming@lyx.org>
7710 * Makefile.am: add lyxlayout_ptr_fwd.h.
7712 2002-06-26 André Pönitz <poenitz@gmx.net>
7714 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7716 2002-06-25 Angus Leeming <leeming@lyx.org>
7718 * lyxfunc.C (dispatch): Comment out the call to
7719 grfx::GCache::changeDisplay. The method no longer exists now that the
7720 pixmap generation part of the graphics loader has been moved into
7723 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7725 * text2.C: layout as layout
7727 * text.C: layout as layout
7729 * tabular.C (OldFormatRead): layout as layout
7731 * paragraph_pimpl.C (TeXDeeper): layout as layout
7732 (realizeFont): layout as layout
7734 * paragraph.C (writeFile): layout as layout
7735 (validate): layout as layout
7736 (getFont): layout as layout
7737 (getLabelFont): layout as layout
7738 (getLayoutFont): layout as layout
7739 (breakParagraph): layout as layout
7740 (stripLeadingSpaces): layout as layout
7741 (getEndLabel): layout as layout
7742 (getMaxDepthAfter): layout as layout
7743 (applyLayout): layout as layout
7744 (TeXOnePar): layout as layout
7745 (simpleTeXOnePar): layout as layout
7746 (TeXEnvironment): layout as layout
7747 (layout): layout as layout
7748 (layout): layout as layout
7750 * lyxtextclass.C (compare_name): new functor to work with
7751 shared_ptr, layout as layout
7752 (Read): layout as layout
7753 (hasLayout): layout as layout
7754 (operator): layout as layout
7755 (delete_layout): layout as layout
7756 (defaultLayout): layout as layout
7758 * lyxlayout_ptr_fwd.h: new file
7760 * lyxlayout.C (Read): layout as layout
7762 * lyx_cb.C (MenuInsertLabel): layout as layout
7764 * bufferlist.C (newFile): layout as layout
7766 * buffer.C (readLyXformat2): layout as layout
7767 (parseSingleLyXformat2Token): layout as layout
7768 (insertStringAsLines): layout as layout
7769 (asciiParagraph): layout as layout
7770 (latexParagraphs): layout as layout
7771 (makeLinuxDocFile): layout as layout
7772 (simpleLinuxDocOnePar): layout as layout
7773 (makeDocBookFile): layout as layout
7774 (simpleDocBookOnePar): layout as layout
7775 (getLists): layout as layout
7777 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7779 * CutAndPaste.C (cutSelection): layout as layout
7780 (pasteSelection): layout as layout
7781 (SwitchLayoutsBetweenClasses): layout as layout
7783 * BufferView_pimpl.C (Dispatch): layout as layout
7784 (smartQuote): layout as layout
7786 * BufferView2.C (unlockInset): layout as layout
7788 2002-06-24 André Pönitz <poenitz@gmx.net>
7790 * lyxfunc.C: fix #487
7792 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7796 * lyxfunc.C: remove display_shortcuts, show_banner
7798 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7800 * Buffer_pimpl.C: oops, update on resize
7802 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7809 * BufferView.C: use repaint()
7811 * BufferView_pimpl.h:
7812 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7813 as it's a clearer description. Remove superfluous
7816 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7818 * text.C: fix bug 488. Not ideal, but getting
7819 getWord() to work properly for the insets that
7820 matter is more difficult ...
7822 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7824 * BufferView_pimpl.C:
7827 * lyxfunc.C: remove the six million index lyxfuncs to just
7828 one, and DTRT (bug 458)
7830 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7834 * BufferView_pimpl.h:
7835 * BufferView_pimpl.C: clean up resize() stuff,
7836 and unnecessary updateScreen()s
7838 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7842 * BufferView_pimpl.h:
7843 * BufferView_pimpl.C:
7846 * minibuffer.C: remove focus management of workarea,
7847 not needed. Use screen's greyOut()
7849 2002-06-17 Herbert Voss <voss@lyx.org>
7851 * converter.C: (convert) do not post a message, when converting
7852 fails, let the calling function decide what to do in this case
7854 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7856 * lyxfunc.C: tidy up a little
7858 2002-06-16 <alstrup@diku.dk>
7860 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7861 Got rid of FORMS_H_LOCATION include. Now we are
7864 2002-06-15 LyX Development team <lyx@rilke>
7866 * buffer.[Ch] (sgmlOpenTag):
7867 (sgmlCloseTag): Added support for avoiding pernicious mixed
7868 content. Return number of lines written.
7871 (makeDocBookFile): Fixed calls to sgml*Tag.
7872 Simple white space clean.
7874 (simpleDocBookOnePar): Simple white space clean.
7876 * tabular.[Ch] (docBook): Renamed to docbook and got another
7877 argument to related with the pernicious mixed content.
7879 (docbookRow): Fixed calls for docbook inset method.
7881 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7883 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7884 so it's X11 independent.
7888 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7890 2002-06-15 Lyx Development team <lyx@electronia>
7892 * intl.h: Renamed getTrans to getTransManager.
7894 2002-06-14 Angus Leeming <leeming@lyx.org>
7896 * Makefile.am: nuke forgotten stl_string_fwd.h.
7898 2002-06-12 Angus Leeming <leeming@lyx.org>
7900 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7902 2002-06-13 Angus Leeming <leeming@lyx.org>
7905 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7907 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7909 * kbmap.C (getiso): add support for cyrillic and greek
7911 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7915 * BufferView_pimpl.h:
7916 * BufferView_pimpl.C: move bogus scrolling logic
7919 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7922 * BufferView_pimpl.C: view->resize() change
7924 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7926 * BufferView_pimpl.C: topCursorVisible
7929 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7933 * lyx_gui.C: move to frontends/
7937 * lyx_main.C: changes from above
7939 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7946 * lyx_main.C: minor tidy
7948 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7950 * BufferView_pimpl.h:
7951 * BufferView_pimpl.C:
7953 * BufferView.C: make painter() const,
7956 * BufferView2.C: use screen() accessor
7959 * lyx_main.C: some minor cleanup
7961 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7963 * BufferView_pimpl.h:
7964 * BufferView_pimpl.C: remove enter/leaveView,
7967 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7972 * BufferView_pimpl.h:
7973 * BufferView_pimpl.C: only construct screen once,
7976 * lyxrc.C: remove pointless comment
7978 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7981 * BufferView.C: remove active() and belowMouse()
7983 * BufferView_pimpl.h:
7984 * BufferView_pimpl.C: use workarea() not workarea_,
7985 and make it use a scoped_ptr instead
7987 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7989 * lyx_gui.C: add debug message on BadWindow
7991 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7993 * sp_spell.C: fdopen is not part of the C++ standard.
7995 * paragraph.C (InsetIterator): use >= instead of ==
7997 2002-06-07 Angus Leeming <leeming@lyx.org>
7999 Fixes needed to compile with Compaq cxx 6.5.
8000 * BufferView_pimpl.C:
8007 * lyxtextclasslist.C:
8012 all c-library variables have been moved into namespace std. Wrap
8013 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8018 Add a using std::abs declaration.
8020 * kbmap.h (modifier_pair):
8021 * paragraph.h (InsetTable, InsetList):
8022 * lyxfont.h (FontBits):
8023 type definition made public.
8025 * bufferlist.C (emergencyWriteAll): the compiler complains that
8026 there is more than one possible lyx::class_fun template to choose from.
8027 I re-named the void specialisation as lyx::void_class_fun.
8029 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8031 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8032 the compiler is is unable to find tostr in write_attribute.
8034 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8036 * buffer.C (sgmlError): hide #warning
8038 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8040 * xtl/*: get rid of xtl, which is not in use anyway
8042 * LyXAction.C (init):
8043 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8044 were unimplemented xtl experimentation
8046 2002-06-04 André Pönitz <poenitz@gmx.net>
8048 * lyxfunc.C: disable array operation on simple formulae
8050 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8052 * converter.C: constify a bit
8054 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8056 * lyx_gui.C: check xforms version correctly
8058 2002-04-30 Herbert Voss <voss@lyx.org>
8060 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8063 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8065 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8066 attempt to register it with a VCS)
8068 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8070 * lyx_main.C (init): honor variables LYX_DIR_13x and
8073 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8077 * lyx_main.C: fix a crash on bad command line,
8078 and give a useful exit status on error
8080 * lyxfunc.C (doImport): allow -i lyx to work
8082 2002-03-30 André Pönitz <poenitz@gmx.net>
8084 * lyxfunc.C: mathed font changes
8086 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8101 * trans_mgr.h: srcdocs, and some minor cleanups
8103 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8105 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8106 call getFont all the time)
8108 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8110 * switch from SigC signals to boost::signals
8112 2002-05-29 André Pönitz <poenitz@gmx.net>
8114 * paragraph_pimpl.C (getChar): don't call size() too often...
8116 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8118 * paragraph_pimpl.C (insertChar): do not try to update tables when
8119 appending (pos == size())
8121 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8122 in order to reduce drastically the number of comparisons needed to
8123 parse a large document
8125 2002-05-29 André Pönitz <poenitz@gmx.net>
8131 * textclasslist.[Ch]:
8132 * sp_ispell.h: whitespace change
8134 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8136 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8137 lyxaction directly now.
8139 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8143 * lyxvc.C: remove unused headers
8145 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8152 * undo_funcs.C: some cleanups. Use shared_ptr
8153 and a template for the undo stacks.
8155 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8157 * BufferView_pimpl.h:
8158 * BufferView_pimpl.C:
8165 * text2.C: use key_state/mouse_state
8167 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8169 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8172 * chset.C: change include order
8173 (loadFile): use boost regex and get rid of LRegex and LSubstring
8175 * Makefile.am (BOOST_LIBS): new variable
8178 * LaTeX.C: change include order.
8179 (scanAuxFile): use boost regex and get rid of LRegex and
8183 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8188 * FontInfo.C: moved to frontends/xforms/
8191 * FontLoader.C: moved into frontends for GUIIzation
8196 * lyxfunc.C: changes from above
8198 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8200 * LColor.C: remove spurious X include
8202 * BufferView_pimpl.C:
8207 * text2.C: move font metrics to frontends/
8209 2002-05-24 Juergen Vigna <jug@sad.it>
8211 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8212 setting the undo_cursor.
8214 * ParagraphParameters.h: include local includes first.
8216 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8218 * BufferView_pimpl.C:
8219 * BufferView_pimpl.h:
8223 * screen.C: move WorkArea into frontends/
8229 * BufferView2.C: move LyXScreen into frontends/
8233 * lyx_gui.C: move lyxlookup into frontends/xforms/
8235 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8238 * BufferView_pimpl.C:
8248 * bufferview_funcs.C:
8261 * vc-backend.C: move LyX/XFormsView into frontends/
8263 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8275 * text2.C: move Painter to frontends/
8277 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8279 * buffer.C: comment out some some code that depend upon lyx_format
8282 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8283 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8285 * buffer.h (NO_COMPABILITY): turn off compability
8287 * ColorHandler.C: include scoped_array.hpp
8289 * font.C: Use more specific smart_ptr header.
8292 * ShareContainer.h: ditto
8296 * BufferView_pimpl.h: ditto
8297 * ColorHandler.h: ditto
8299 * kbmap.C (defkey): change call to shared_ptr::reset
8301 2002-05-21 Juergen Vigna <jug@sad.it>
8303 * buffer.C (insertErtContents): fix to insert ert asis if it is
8304 non empty. Skip it completely if it contains only whitespaces.
8306 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8308 * BufferView_pimpl.C:
8309 * BufferView2.C: clear selection on paste (bug 393)
8311 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8313 * DepTable.C: include ctime
8315 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8317 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8319 2002-05-14 Juergen Vigna <jug@sad.it>
8321 * text.C (breakParagraph): fixed function to honor the keepempty
8322 layout in the right maner and also to permit the right breaking
8323 algorithm on empty or non empyt keepempty paragraphs.
8325 * paragraph.C (breakParagraph): we have to check also if the par
8326 is really empty (!size()) for isempty otherwise we do the wrong
8329 2002-05-10 Juergen Vigna <jug@sad.it>
8331 * buffer.[Ch] : The following are only changes to the ert
8332 compatibility read reading old LaTeX layout and font stuff and
8333 convert it to ERTInsets.
8335 * buffer.h: added isErtInset().
8337 * buffer.C (struct ErtComp): add a fromlayout bool to check
8338 if we're inside a LaTeX layout.
8339 (isErtInset): new helper function.
8340 (insertErtContents): look for other ert insets before this one
8341 and insert the contents there, so that we don't have subsequent
8342 ERT insets with nothing between them. This way we create only one
8343 inset with multiple paragraphs. Also check if we don't insert only
8344 spaces ' ' as they are ignored anyway afterwards in the .tex file
8345 so if we have only spaces we will ignore this latex part in the
8347 (parseSingleLyXformat2Token \\layout): better compatibility when
8348 reading layout-latex stuff.
8349 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8351 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8352 stuff after reading the inset only get the information back from
8355 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8357 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8359 * LaTeXFeatures.C (getBabelOptions): New method.
8361 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8363 * BufferView_pimpl.C (Dispatch): work around missing argument for
8366 2002-05-08 Juergen Vigna <jug@sad.it>
8368 * text.C (leftMargin): handle paragraph leftindent.
8370 * paragraph.C (writeFile): write the new \\leftindent tag.
8371 (validate): handle leftindent code.
8372 (TeXEnvironment): handle paragraphleftindent code again.
8374 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8376 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8377 for paragrap_extra indent code and new token \\leftindent.
8378 (latexParagraphs): handle the leftindent as environment.
8380 * ParameterStruct.h: added leftindent support.
8382 * ParagraphParameters.C (leftIndent): added support functions for
8383 the paragraph left indent.
8385 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8388 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8390 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8393 * text.C (computeBidiTables): No bidi in insetERT.
8395 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8398 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8400 * version.C.in: pre 5
8402 2002-05-02 José Matos <jamatos@fep.up.pt>
8403 * buffer.C (makeDocBookFile): white space changes, add newline to
8405 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8407 * tabular.C (docBook): fix typo.
8409 2002-05-03 Juergen Vigna <jug@sad.it>
8411 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8412 change in LyXText as we can not be sure it was not freed.
8413 (drawOneRow): remove unused code.
8415 * text.C (drawInset): redo the calculation of the need_break_row as
8416 it could have a row which was already freed.
8417 (draw): look at the return value of drawInset and return false if
8418 it also returned false.
8419 (paintRowText): look at the return value of draw and return false if
8420 it also returned false.
8422 * lyxtext.h: added bool return type to drawInset() and draw() so that
8423 if we have a change in the row so that the rowbreak has to be redone
8424 we abort drawing as it will be called again.
8426 2002-05-02 Juergen Vigna <jug@sad.it>
8428 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8429 a change in the maintext also if we're inside an inset.
8430 (Dispatch): set the cursor again after a break line and after the
8431 screen has been updated as it could be we're in a different row.
8433 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8434 to set the cursor behind the pargraph with > size().
8435 (setCursor): check also for the same paragraph when checking where
8436 to put the cursor if we have a NFR inset.
8438 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8439 parts of layout read further up as it still was in the wrong
8442 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8444 * screen.C (drawFromTo): change sine fullRebreak always return
8447 * buffer.C (parseSingleLyXformat2Token): reindent some
8449 * BufferView_pimpl.C (update): change since fullRebreak always
8451 (Dispatch): git rid of the last hardcoded "Standard"s.
8453 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8455 * text2.[Ch] (fullRebreak): make it return void now that we always
8458 2002-04-30 Juergen Vigna <jug@sad.it>
8460 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8461 ert compatibility check for "latex" layout.
8463 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8465 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8466 minipages: use col% instead of p%, and also use the current font.
8467 (makeLaTeXFile): Fix use babel condition.
8468 (parseSingleLyXformat2Token): Correct font when reading old floats.
8470 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8472 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8473 inserting list of floats.
8475 2002-04-25 Herbert Voss <voss@lyx.org>
8477 * MenuBackend.C (expand): don't add the graphics extensions to the
8480 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8482 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8483 non-existing layout, do not complain if it was the default layout
8484 of the original class (bug #342)
8486 2002-04-24 Juergen Vigna <jug@sad.it>
8488 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8489 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8491 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8493 * buffer.C (getBibkeyList): If using \bibliography, return the
8494 option field with the reference itself. Enables us to provide natbib
8495 support when using \bibliography.
8497 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8499 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8501 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8502 natbib is provided by the LaTeX class.
8504 2002-04-23 Juergen Vigna <jug@sad.it>
8506 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8509 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8511 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8513 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8515 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8516 ensuremath around textordmasculine, textordfeminine and
8519 2002-04-19 Juergen Vigna <jug@sad.it>
8521 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8522 reinitializing the buffer otherwise row-dimensions may be wrong.
8523 (update): reset also the selection cursors if they do exits otherwise
8524 their x/y positions may be wrong.
8526 * text2.C (cursorDown): don't enter the inset if we came from a row
8527 above and are one row over the inset.
8529 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8530 really leaving an inset.
8532 2002-04-18 Juergen Vigna <jug@sad.it>
8534 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8535 of the selected paragraph does not have the selected layout also if
8538 * text2.C (setLayout): fixed bug which did not change last selected
8541 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8542 changed the read and substituted \\end_float with \\end_inset!
8544 * BufferView_pimpl.C (cursorPrevious):
8545 (cursorNext): fixed to make it work with rows heigher than the work
8546 area without moving the cursor only the draw of the row.
8547 (workAreaMotionNotify): fix jumping over high rows.
8549 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8551 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8554 2002-04-16 Juergen Vigna <jug@sad.it>
8556 * text2.C (setCursor): set also the irow().
8557 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8559 (cursorDown): support for locking an inset if the x_fix value goes
8560 inside it. That way I can transverse insets too with cursor up/down.
8562 * lyxrow.h: added irow helper function same as other (i) functions.
8564 * BufferView_pimpl.C (cursorPrevious):
8565 (cursorNext): fixed for insets!
8567 2002-04-15 Juergen Vigna <jug@sad.it>
8569 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8570 position otherwise it is wrong in some cases.
8572 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8573 inside the inset before the call.
8575 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8577 * buffer.[Ch] (getBibkeyList): make it const.
8579 2002-04-12 Juergen Vigna <jug@sad.it>
8581 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8583 * text2.C (getCursorX): new helper function
8584 (setCursor): compute also ix_
8585 (setCursorFromCoordinates): set also ix.
8587 * lyxcursor.h: added ix_ and helper functions.
8589 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8591 * buffer.C (insertStringAsLines): dont break paragraph if the this
8592 paragraph is inside an inset which does not permit it!
8594 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8595 also with no chars on this paragraph.
8596 (paintRowText): only paint stuff if it's inside the workarea!
8598 * paragraph.C (breakParagraph): honor keepempty flag and break the
8599 paragraph always below not above.
8601 * BufferView2.C (unlockInset): update the paragraph layout on inset
8602 unlock as we changed paragraph in such a case.
8604 * lyxfind.C (LyXFind): clear the former selection if not found!
8606 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8607 again called in insertChar().
8609 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8610 an inset which uses the whole row!
8611 (rightMargin): ditto.
8612 (insertChar): force a rebreak if we inserted an inset!
8614 2002-03-28 Herbert Voss <voss@lyx.org>
8616 * lyxlength.[Ch]: add inBP() to get the right PS-point
8617 units (BigPoint). With inPixels we have rounding errors
8619 2002-04-11 Juergen Vigna <jug@sad.it>
8621 * text2.C (setCursorFromCoordinates): set iy to the right value.
8622 (setCursor): add check if row->previous exists!
8624 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8625 an old float_type as this was the case in the old code!
8627 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8629 * BufferView2.C (showLockedInsetCursor): use iy
8630 (fitLockedInsetCursor): ditto
8632 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8633 locked insets as there we have the right value now.
8635 * lyxcursor.C: added iy_ variable and iy functions to set to the
8636 baseline of cursor-y of the locked inset.
8638 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8639 (setCursor): fixed for insets which need a full row.
8641 * text.C (rowLastPrintable): don't ignore the last space when before
8642 an inset which needs a full row.
8643 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8644 as last character of a row when before a inset which needs a full row.
8646 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8648 * version.C.in: update date
8650 * text2.C (fullRebreak): try to always return true and see what
8653 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8655 * MenuBackend.C (expand): use Floating::listName
8657 * FloatList.C (FloatList): add listName argument to the built-in
8660 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8661 text associated with the float.
8663 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8665 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8667 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8669 * ShareContainer.h: add a couple of missing typenames.
8671 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8673 * lyxrc.C (getDescription): use _() correctly rather than N_().
8675 2002-03-28 Herbert Voss <voss@lyx.org>
8677 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8678 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8680 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8682 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8683 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8685 2002-03-29 Juergen Vigna <jug@sad.it>
8687 * lyxfunc.C (dispatch): add a missing fitCursor call.
8689 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8690 it was scrolled by a cursor move, so return the bool status.
8692 * BufferView.C (fitCursor): return the bool flag also to the outside
8693 world as this is needed.
8695 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8697 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8698 call the edit() as it is not needed (and wrong) IMO.
8699 (workAreaButtonPress): set the screen_first variable before evt.
8700 unlock the inset as this may change screen_first and then we have
8701 a wrong y position for the click!
8703 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8705 * MenuBackend.C (expand): another translation that I missed
8707 2002-03-28 Juergen Vigna <jug@sad.it>
8709 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8711 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8713 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8715 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8717 * MenuBackend.C (expand): fix export/view/update when there is no
8720 2002-03-27 Herbert Voss <voss@lyx.org>
8722 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8725 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8727 * bufferview_funcs.C (currentState): only show paragraph number
8728 for is DEVEL_VERSION is set.
8730 * lyxfunc.C (dispatch): put warning in INFO channel
8732 * MenuBackend.C (expand): translate the name of floats
8734 * FloatList.C (FloatList): mark the float names for translation
8736 * converter.C (convert): use LibScriptSearch
8738 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8740 * MenuBackend.C (defaults): fix default menu (we might as well get
8743 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8745 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8748 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8750 * lyxvc.C: reorder includes.
8752 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8754 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8757 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8759 * CutAndPaste.C: change layouts earlier on paste
8760 to avoid crashing when calling getFont()
8762 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8764 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8767 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8769 * WorkArea.C: remove 'Pending' debug message.
8771 * most files: ws cleanup
8773 * buffer.[Ch]: ws changes
8775 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8777 2002-03-21 Juergen Vigna <jug@sad.it>
8779 * tabular.C (SetMultiColumn): collapse also the contents of the
8780 cells and set the last border right. Added a Buffer const * param.
8782 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8784 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8787 2002-03-19 Juergen Vigna <jug@sad.it>
8789 * text2.C (clearSelection): reset also xsel_cache.
8791 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8792 where it needs to be called (John tells us to do so too :)
8793 (selectionLost): reset sel_cache.
8795 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8797 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8799 * text2.C (setCursorIntern): put debuging code in INSETS channel
8801 2002-03-19 André Pönitz <poenitz@gmx.net>
8803 * lyxfunc.C: tiny whitespace change
8805 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8807 * ToolbarDefaults.C (init):
8808 * LyXAction.C (init):
8810 * BufferView_pimpl.C (Dispatch):
8811 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8813 2002-03-19 Allan Rae <rae@lyx.org>
8815 * exporter.C (Export): removeAutoInsets before doing anything else.
8816 While I've just introduced a dependency on BufferView this really is
8817 the best place to clean the buffer otherwise you need to cleanup in
8818 a dozen places before calling export or cleanup in a dozen functions
8821 * converter.C (runLaTeX):
8822 (scanLog): Better handling of removeAutoInsets and screen updates.
8824 * lyxfunc.C (dispatch): small whitespace changes
8826 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8828 * WorkArea.C (C_WorkAreaEvent): return a value.
8829 (event_cb): return 1 if we handled the event, 0 otherwise.
8831 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8833 2002-03-18 Juergen Vigna <jug@sad.it>
8835 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8836 (GetAdditionalWidth): ditto.
8840 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8841 inset if we're there actually (probably not used right now but this
8842 is the direction to go for unifying code).
8843 (paste): disable code to clear the selection.
8845 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8846 inside an InsetText and move the check further up as it is in the
8849 * text2.C (pasteSelection): set a selection over the pasted text.
8851 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8853 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8854 and libgraphics to build on Cygwin.
8856 2002-03-15 Juergen Vigna <jug@sad.it>
8858 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8859 inserting an Inset into the paragraph. I know this is not the best
8860 fix but we already use current_view in CutAndPaste so we will remove
8861 all of it's using at the same time.
8863 * buffer.C (sgmlError): deactivated function till it is rewritten in
8864 the right mode, now it can create problems.
8866 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8867 before accessing it.
8869 2002-03-14 Juergen Vigna <jug@sad.it>
8871 * undo_funcs.C (textHandleUndo): do the right thing when updating
8872 the inset after the undo/redo.
8874 * text2.C (setCursor): just some testcode for #44 not ready yet.
8876 * undo_funcs.C (textHandleUndo): set the next() and previous()
8877 pointers of the paragraph to 0 before deleting otherwise we have
8878 problems with the Paragraph::[destructor].
8880 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8881 on a paragraph insertion.
8883 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8885 * buffer.C (asciiParagraph): use += operator for char append to
8888 * paragraph.C (getFontSettings): compare >= not just >
8889 (highestFontInRange): ditto
8892 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8894 * paragraph.C: change several algorithm to be more appripriate for
8895 the problem domain. This is lookip in FontList and in the InsetList.
8897 2002-03-13 André Pönitz <poenitz@gmx.net>
8900 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8902 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8907 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8909 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8911 * Painter.C (display): anon helper function, adjust code for this
8913 (pixmap): remove function.
8915 * Painter.h: remove private display variable.
8917 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8919 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8921 * WorkArea.[Ch]: remove figinset_canvas cruft.
8923 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8925 * lyxtextclass.C (operator): add one item cache optimization.
8927 * bufferlist.h: doxy changes
8929 * bufferlist.C: ws changes
8931 * DepTable.[Ch] (ext_exist): place const in the right spot.
8933 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8935 (workAreaExpose): call resizeInsets when the with BufferView changes.
8936 (Dispatch): adjust for protectedBlank removal
8937 (specialChar): call updateInset if the insert went ok.
8939 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8940 specialChar instead.
8942 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8944 * BufferView.h: doxy change
8946 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8948 * lyxtextclass.C (operator[]): remove non-const version
8949 (defaultLayout): remove non-const version
8951 2002-03-12 Juergen Vigna <jug@sad.it>
8953 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8954 did resize the LyXText too.
8956 * buffer.C (readLyXformat2): set layout information on newly allocated
8959 * tabular.C (OldFormatRead): set layout information on the paragraph.
8961 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8963 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8965 2002-03-11 Juergen Vigna <jug@sad.it>
8967 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8969 (resizeCurrentBuffer): force also the insets to resize themselfes.
8970 (moveCursorUpdate): fixed up for InsetText.
8972 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8975 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8976 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8977 value of Dialogs::tooltipsEnabled().
8978 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8980 2002-03-08 Juergen Vigna <jug@sad.it>
8982 * BufferView_pimpl.C (updateInset): update inset inside inset also
8983 if it isn't inside theLockingInset().
8985 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8987 * buffer.C (asciiParagraph): redo some of the word and line length
8989 (getLists): look for Caption instead of caption.
8991 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8993 * buffer.C (Buffer): initialize niceFile to true
8996 (makeDocBookFile): make sure niceFile is true on exit
8998 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9000 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9002 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9004 * LyXSendto.C: remove.
9005 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9006 * lyx_gui.C: remove now-redundant comment.
9007 * ColorHandler.h: remove forward declaration of class WorkArea.
9008 * lyxfunc.C: remove #include "WorkArea.h".
9010 2002-03-07 Juergen Vigna <jug@sad.it>
9012 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9013 got moved away with the DEPM and also set the inset_owner always
9014 right which before could have been omitted.
9016 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9018 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9019 wanted layout is not found.
9021 2002-03-07 Juergen Vigna <jug@sad.it>
9023 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9025 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9027 * paragraph.C (breakParagraph): use default layout not layout of
9029 (Paragraph): clear ParagraphParameters.
9031 2002-03-06 Juergen Vigna <jug@sad.it>
9033 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9034 otherwise it would not be a valid lenght. Fixed a special case in
9035 the minipage compatibility read where we end the document with a
9038 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9039 was set as it could be 0 for InsetTexts first entry.
9041 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9043 * paragraph.C (writeFile): if layout is empty write out
9044 defaultLayoutName().
9046 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9047 file without named layout we set layout to defaultLayoutName().
9049 2002-03-06 Juergen Vigna <jug@sad.it>
9051 * CutAndPaste.C (copySelection): set layout for new paragraph.
9053 * text.C (prepareToPrint): leave ERT inset left aligned
9054 (leftMargin): don't indent paragraphs inside ERT insets
9056 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9058 * paragraph.C (breakParagraph): dont call clear do the work manually
9060 * paragraph.[Ch] (clear): remove function
9062 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9064 * paragraph.C (Paragraph): dont call clear, the work has already
9067 * lyxtextclass.C (operator): assert if n is empty
9069 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9070 work manually instead.
9072 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9074 * BufferView_pimpl.C: protect selectionLost against text == 0
9076 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9078 * text.C (breakParagraph): fix a setting layout to '0' problem.
9080 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9082 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9083 final location of file, for the included files, and graphics.
9085 2002-03-05 Juergen Vigna <jug@sad.it>
9087 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9089 2002-03-04 Juergen Vigna <jug@sad.it>
9091 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9093 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9094 last column of multicolumn cells.
9095 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9097 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9099 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9100 file if it doesn't go to a temporary file.
9102 * buffer.C (sgmlOpenTag):
9103 (sgmlCloseTag): remove extra newline insertion.
9105 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9107 * text.C (getRowNearY): comment out debug msg
9109 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9111 * text2.C: first -> first_y
9113 * text.C (getRowNearY): add some attemts at a possible
9114 optimization, not working.
9116 * tabular.[Ch]: add BufferParams to several function so that newly
9117 created paragraph can be initialized to he default layotu for the
9120 * tabular-old.C (ReadOld): add buf->params to call of Init
9122 * screen.C: rename text->first to text->first_y
9124 * paragraph.C (breakParagraph): always set layout in the broken
9127 * lyxtextclass.C (Read): remove lowercase
9130 (delete_layout): ditto
9132 * lyxtext.h: rename first -> first_y
9134 * lyxlayout.C (Read): remove lowercase
9137 (obsoleted_by): ditto
9139 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9141 * buffer.C (insertErtContents): add params are to InsetERT
9142 (parseSingleLyXformat2Token): add code to check if a paragraphs
9143 layout really exist.
9144 (parseSingleLyXformat2Token): add params to several inset
9146 (asciiParagraph): remove lowercase, do the layout comparisons with
9149 * BufferView_pimpl.C (cursorNext): first -> first_y
9150 (resizeCurrentBuffer): first -> first_y
9151 (updateScrollbar): first -> first_y
9152 (scrollCB): first -> first_y
9153 (workAreaMotionNotify): first -> first_y
9154 (workAreaButtonPress): first -> first_y
9155 (checkInsetHit): first -> first_y
9156 (cursorPrevious): first -> first_y
9157 (cursorNext): first -> first_y
9158 (Dispatch): add buffer_->params to severl inset contructors
9160 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9162 * lyxlayout.C (Read): remove some debug info that I forgot.
9164 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9165 clean up the code slightly.
9166 (makeLinuxDocFile): ditto
9167 (makeDocBookFile): ditto
9169 * text2.C: layout as string
9171 * text.C: layout as string
9173 * paragraph_pimpl.C: layout as string
9175 * paragraph.[Ch]: layout as string
9177 * lyxtextclasslist.[Ch]: layout as string
9179 * lyxtextclass.[Ch]: layout as string
9181 * lyxtext.h: layout as string
9183 * lyxlayout.[Ch]: layout as string
9185 * lyx_cb.C: layout as string
9187 * bufferview_funcs.C: layout as string
9189 * bufferparams.C: layout as string
9191 * buffer.C: layout as string
9193 * LyXView.[Ch]: layout as string
9195 * LaTeXFeatures.[Ch]: layout as string
9197 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9199 * BufferView_pimpl.C: change current_layout to string, remove
9204 (workAreaButtonRelease): layout as string
9206 * BufferView2.C (unlockInset): adjust
9208 * vspace.C (asLatexCommand): use an explict temp variable.
9210 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9212 * Makefile.am: use FRONTEND_*
9214 2002-03-01 Juergen Vigna <jug@sad.it>
9216 * tabular.C (SetWidthOfMulticolCell): changed to something better
9217 I hope but still work in progress.
9218 (recalculateMulticolumnsOfColumn): renamed function from
9219 recalculateMulticolCells as it is more appropriate now.
9220 (SetWidthOfCell): calculate multicols better.
9222 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9224 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9226 * lyxfunc.C (processKeySym): print sequence also if it is
9227 `deleted' (complete)
9229 * kbsequence.C (print): print sequence even if it is deleted
9230 (complete would be a better word, actually).
9232 * lyxfunc.C (dispatch): print complete options after a prefix key
9234 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9236 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9238 * text2.C (setCharFont): eliminate setCharFont code duplication.
9240 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9242 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9243 LFUN_TABULAR_FEATURE (bug #177)
9245 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9247 * Makefile.am: remove figure.h
9249 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9251 * Bufferview_pimpl.C:
9263 * text2.C: remove #include "lyx_gui_misc.h".
9265 * LaTeX.C: added #include <cstdio>
9267 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9269 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9270 that the paragraph following this one can have.
9272 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9274 * vspace.C (asLatexCommand): fix bogus gcc warning
9276 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9278 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9280 * text2.C (setLayout): get rid of redundant code
9282 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9284 * text2.C (incDepth): make sure depth cannot be increased beyond
9287 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9289 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9290 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9292 * PainterBase.h (image):
9293 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9296 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9300 * BufferView_pimpl.C:
9301 * BufferView_pimpl.h:
9321 * sp_spell.C: remove fig inset, and the crap house of
9322 cards that follows it
9324 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9330 * nt_defines.h: move .h into support/
9332 * vms_defines.h: remove
9334 * WorkArea.C: add space in debug output
9338 * buffer.C: add WITH_WARNINGS
9342 * bufferlist.C: s/retrive/retrieve/, add docs
9353 * lyxgui.C: add ID to X error handler
9355 * lyxtestclass.c: fix typo
9357 2002-02-26 Juergen Vigna <jug@sad.it>
9359 * tabular_funcs.C (write_attribute): changed so that some default
9360 attributes are not written at all.
9361 (getTokenValue): set default values before trying to read the
9362 value so we have the return value always set as default if we don't
9363 find the token we search for.
9365 * tabular.C (Write): write bools as bools not as strings!
9367 2002-02-22 Juergen Vigna <jug@sad.it>
9369 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9370 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9372 * text.C (leftMargin): don't add an indent for paragraphs inside
9373 tabular cells (fix #208).
9375 2002-02-21 José Matos <jamatos@fep.up.pt>
9377 * tabular.C (docBook): fixed support for long tables.
9379 2002-02-20 Juergen Vigna <jug@sad.it>
9381 * text2.C (getFont): get the drawing font of the Inset if this
9382 paragraph is inside an inset (only important for InsetERT for now).
9384 * buffer.C (insertErtContents): use new lanugage params in ERT
9387 * CutAndPaste.C: commenting out seemingly uneeded code.
9389 2002-02-19 Allan Rae <rae@lyx.org>
9391 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9392 Iterators might be simple to use but they also get invalidated.
9393 (removeAutoInsets): renamed saved cursor tracking variables and added
9394 some comments to clarify what everything does.
9396 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9403 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9404 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9407 * vc-backend.h: remove #include "support/syscall.h"
9411 * converter.C: rearrange #includes in Lars' approved fashion.
9413 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9414 forward declare class Timeout in the header file.
9416 * XFormsView.C: changes due to the above.
9418 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9421 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9422 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9424 2002-02-18 José Matos <jamatos@fep.up.pt>
9426 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9429 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9431 * a lot of small ws changes
9432 * add a lot of using std::XXX
9433 * use std construcs some places where approp.
9434 * use some exisint stuff from lyxfunctional where approp.
9435 * Make file changes to use partial linking (lets test this now...)
9437 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9441 remove #include "support/syscontr.h" as it's redundant. Always has been.
9449 change Systemcalls::System to Systemcalls::Wait and
9450 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9451 No change of functionality, just reflects the stripped down Systemcalls
9454 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9456 * debug.[Ch]: add a GRAPHICS type to the enum.
9458 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9460 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9462 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9465 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9467 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9468 match the changes below.
9470 * text2.C (toggleInset): if there is not editable inset at cursor
9471 position, try to see if cursor is _inside_ a collapsable inset
9474 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9476 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9477 document menu has a nice checkbox
9479 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9481 * lyxlength.C (asLatexString): change PW to output as percent of
9484 * lengthcommon.C: change '%' to 't%'
9486 * lyxfunc.C (dispatch): a few comments from Martin
9488 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9492 * BufferView_pimpl.h:
9493 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9496 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9498 * vspace.C (inPixels): fix compiler warning
9500 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9502 * lyxfunc.C (getStatus): fix status message for disabled commands.
9504 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9506 * BufferView_pimpl.C: fix crash on close buffer
9507 during selection (#227)
9509 2002-01-27 Herbert Voss <voss@lyx.org>
9511 * buffer.C: link old Figure to new graphic inset
9513 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9515 * FontLoader.C (getFontinfo): Change the latex font names in order
9516 to match the names of type1inst.
9518 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9520 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9522 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9525 (remove_files_with_extension): ditto
9526 (remove_file): ditto
9529 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9530 document is smaller than the work area height. Do not initialize
9531 static variables to 0.
9533 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9535 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9537 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9538 LFUN_LAYOUT_PARAGRAPHS.
9540 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9541 tabular. It is possible to provide a possible cell, which will
9542 typically be the actcell from the corresponding insettabular
9544 * lyxfunc.C (getStatus): small cleanup; disable
9545 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9548 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9550 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9552 * paragraph.C (startTeXParParams):
9553 (endTeXParParams): new methods. The LaTeX code to
9554 start/end paragraph formatting
9555 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9556 empty (fixes bug #200)
9558 * vspace.C (inPixels): adapt to the change below
9559 (inPixels): [later] more cleanups (remove unused variables)
9561 * lyxlength.C (inPixels): change to use a width and a height as
9564 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9566 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9567 Replaced with \paperwidth
9569 * DepTable.C (insert): add std:: qualifier
9571 2002-01-18 Allan Rae <rae@lyx.org>
9573 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9576 * text.C (drawInset): Turned out I didn't know enough about how
9577 rebreaking worked. This fixes most of the redraw problems. I see
9578 an occasional cursor trail when a line is broken now and the cursor
9579 placement can seem out by a few pixels also after a rebreak.
9581 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9583 * buffer.C (parseSingleLyXformat2Token): update because minipage
9584 width is now a LyXLength
9586 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9588 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9591 2002-01-17 Juergen Vigna <jug@sad.it>
9593 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9595 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9596 is set correctly and the inset is updated correctly.
9598 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9600 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9601 the beginning of the loop.
9603 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9605 * lyxrc.C: improve help for use_scalable_fonts
9607 2002-01-17 Allan Rae <rae@lyx.org>
9609 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9611 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9613 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9614 make sure to set their inset_owner to the right value (bug #171)
9616 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9619 * DepTable.C: Implement mtime checking to reduce time spent doing
9622 2002-01-16 Juergen Vigna <jug@sad.it>
9624 * tabular.C (GetAdditionalHeight): one of error fixed.
9626 * lyxrc.C (output): small fix in writing use_pspell.
9628 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9630 * sp_base.h: #include LString.h
9632 2002-01-16 Allan Rae <rae@lyx.org>
9634 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9635 Can someone check this please?
9637 * text.C (drawInset): It was possible that p.row would be removed by
9638 breakAgainOneRow upsetting a few other settings. There may be another
9639 small tweak possible by setting need_break_row = 0 when p.row has been
9640 removed but I don't know enough about the logic here.
9642 2002-01-15 Allan Rae <rae@lyx.org>
9644 * text.C (insertChar): removed conditional truism.
9646 * BufferView2.C (removeAutoInsets): More tweaks.
9647 cur_par_prev could be a stray pointer. Check for trailing empty line
9648 in case last line was cur_par and only had an error inset on it.
9650 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9652 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9655 * vc-backend.C (most methods):
9656 * exporter.C (Export):
9657 * converter.C (convert):
9659 * LyXSendto.C (SendtoApplyCB):
9660 * lyxfunc.C (dispatch):
9664 * lyx_cb.C (AutoSave):
9666 * BufferView_pimpl.C (MenuInsertLyXFile):
9667 * buffer.C (runChktex): use Buffer::filePath().
9669 * buffer.h: rename filename to filename_; rename filepath to
9670 filepath_ and make it private
9671 (filePath): new method
9673 * buffer.C (writeFile): use fileName()
9676 * lyx_main.C (init): fix starting of LyX when the binary is a
9677 link from so,ewhere else.
9679 * minibuffer.C: include <cctype> for isprint
9681 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9683 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9684 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9685 name clash with InsetCollapsable's width function.
9687 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9689 * lastfiles.C: include <iterator>
9691 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9693 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9696 * buffer.C (makeLaTeXFile): ditto.
9697 Also make loop operation more transparent.
9699 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9701 * ToolbarDefaults.C: remove trailing comma closing namespace.
9703 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9705 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9708 * trans.C (Load): comment out unused variable, allowed.
9710 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9712 * minibuffer.[Ch] (append_char): new method to recieve input from the
9713 drop-down completion browser. If a key was pressed, then recieve this
9714 char and append it to the existing string.
9715 (peek_event): modify the positioning data passed to the completion
9716 browser so that it can be placed above the minibuffer rather than below.
9717 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9719 * LyXAction.C (init): alloe error-next for readonly documents.
9721 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9724 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9726 * bufferlist.C (readFile): create the buffer _after_ checking that
9729 * lyxfunc.C (verboseDispatch): fix handling of arguments
9731 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9733 * lyxrc.C: use string::erase() instead of initializing to "".
9736 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9738 * BufferView_pimpl.h:
9739 * BufferView_pimpl.C:
9742 * text2.C: tell X when we have made a selection for copying
9744 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9746 * BufferView_pimpl.C (MenuInsertLyXFile):
9747 * lyxfunc.C (menuNew):
9749 (doImport): add shortcuts to directory buttons
9751 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9754 * lyxfunc.C (setStatusMessage):
9755 (getStatusMessage): new methods
9756 (getStatus):use setStatusMessage instead of setErrorMessage
9757 (dispatch): when function is disabled, set error message here
9758 [instead of in getStatus previously]
9760 * BufferView_pimpl.C (workAreaButtonRelease): update
9761 toolbar/menubar here too.
9763 2002-01-13 Allan Rae <rae@lyx.org>
9765 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9766 Now seems indestructible. Remaining task is to audit all other
9767 code affected by deleteEmptyParagraphMechanism. One small quirk
9768 left is that an empty document with an error in the preamble can
9769 be made to report an error but no error box appears. I don't know
9771 (removeAutoInsets): Improved comments.
9773 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9776 * Thesaurus.C: update for Aiksaurus 0.14
9778 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9780 * text2.C (firstParagraph): removed member function, all uses
9781 replaces with ownerParagraph
9782 (redoParagraphs): here
9784 (toggleAppendix): here
9785 * BufferView2.C (insertErrors): here
9786 (setCursorFromRow): here
9788 2002-01-13 Allan Rae <rae@lyx.org>
9790 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9791 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9792 There is still a way to segfault this although you may have to do this
9793 multiple times: Have an InsetERT with an unknown command in it.
9794 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9795 <down-arrow>, <Enter> again, View->DVI, BANG!
9797 * text2.C (setCursor):
9798 (deleteEmptyParagraphMechanism):
9799 * lyxtext.h (setCursor):
9800 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9801 Making use of the return value may help fix other bugs.
9803 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9805 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9807 * LyXView.C (updateMenubar): call MenuBar::update here
9808 (updateToolbar): but not here
9809 (showState): do not update toolbar/menubar
9811 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9812 should need to care about that.
9814 * lyxfunc.C (verboseDispatch): simplify a bit
9815 (getStatus): have a version which takes a pseudoaction, and
9816 another which requires a (kb_action,string).
9818 * LyXAction.C (retrieveActionArg): make it work also when action
9819 is not a pseudo-action.
9820 (getActionName): simplify a bit
9823 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9825 * lyxfunc.C (verboseDispatch): new families of methods with
9826 several ways to specify a command and a bool to indicate whether
9827 the command name and shortcut should be displayed in minibuffer
9828 (eventually, we could extend that to a finer bitmask like
9829 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9830 (dispatch): the pristine dispatch command which just, well,
9831 dispatchs! Note it still sets its result to minibuffer; I'm not
9834 * lyxfunc.h: remove setHintMessage
9836 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9838 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9840 * BufferView_pimpl.C (specialChar): delete new inset if we have
9841 not been able to insert it.
9843 * kbmap.C: revert to using int instead of kb_action, since all we
9844 are dealing with is pseudo-actions.
9846 * LyXAction.C (searchActionArg): change to return int instead of
9847 kb_action, since the result is a pseudoaction.
9849 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9851 * buffer.C (insertErtContents): Fix (partially) the font bug.
9853 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9855 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9856 as the other one is broken on my machine!
9858 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9861 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9863 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9865 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9866 reflect their actual use. Provide compatibility code for older lyxrc
9869 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9871 change names of popup font variables in line with the changes to lyxrc.C
9873 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9875 * buffer.C (asciiParagraph): avoid outputing a word twice after
9878 * lyxrc.C (getDescription): document that document_path and
9879 template_path can be empty.
9881 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9883 * LaTeXFeatures.C (getMacros):
9884 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9886 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9888 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9890 (getPackages): rename feature "floats" to "float". Use an array to
9891 iterate over 'simple' features (i.e. just a \usepackage). Add
9892 handling of "amsmath" (renamed from "amsstyle").
9894 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9896 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9899 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9901 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9902 FuncStaus::FuncStatus & FuncStaus::some_method().
9904 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9906 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9907 of the func_satus stuff. Edited and massaged in various ways by
9910 * lyxfunc.C (getStatus): use FuncStatus
9912 2002-01-08 Juergen Vigna <jug@sad.it>
9914 * text.C (nextBreakPoint): use function Inset::isChar().
9916 * paragraph.C (TeXOnePar): use function
9917 Inset::forceDefaultParagraphs.
9919 * buffer.C (latexParagraphs): use function
9920 Inset::forceDefaultParagraphs.
9922 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9924 * lyx_gui.C (init): set the style of the menu popups to
9925 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9927 2002-01-07 Juergen Vigna <jug@sad.it>
9929 * text.C (setHeightOfRow): small fix
9930 (prepareToPrint): don't look at alignment if we don't have the place
9933 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9935 * box.C: New file. Move the Box methods and functions out of box.h,
9936 following Lars' suggestion.
9938 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9940 * box.h: #include "support/LOstream.h", needed for inlined function.
9943 * lyxtextclasslist.C: added some using std declarations.
9945 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9947 * box.h: make signed dimensions to allow insets wider than
9948 the screen (bug #162)
9950 * BufferView_pimpl.C: add some insetHit debug
9952 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9954 * vc-backend.C: add FIXME
9956 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9958 * lyxfunc.C (getStatus): enable code for showing math font status
9961 2002-01-07 Juergen Vigna <jug@sad.it>
9963 * text.C (nextBreakPoint): removed debug output not needed anymore.
9965 2002-01-06 Juergen Vigna <jug@sad.it>
9967 * text.C (nextBreakPoint): fixed up this function we had this bug
9968 since ever but now hopefully we break row better.
9969 (insertChar): we have to check if an inset is the next char as it
9970 could now happen that a large inset is causing a break.
9972 2002-01-05 Juergen Vigna <jug@sad.it>
9974 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9975 if it doesn't like to be drawed.
9977 2002-01-04 Juergen Vigna <jug@sad.it>
9979 * BufferView2.C (lockInset): forgot to set a cursor.
9981 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9983 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9988 * form_maths_panel.C:
9989 * form_maths_panel.h:
9990 * form_maths_panel.fd: implemented sub- and super- buttons in math
9993 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9994 (or ^ space) to be used as in TeX (req'd by André).
9996 * lyxfunc.C: Allow ^ and _ again to be used both as
9997 super/subscript (mathed) and as themselves (in text).
9999 2002-01-03 Allan Rae <rae@lyx.org>
10001 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10002 "LyX" or the filename of the current buffer if it has one. This is a
10003 modified form of John Levon's patch.
10005 * XFormsView.C (setWindowTitle): also set icon title.
10007 * LyXView.h (setWindowTitle): signature changed.
10008 * XFormsView.h (setWindowTitle): ditto.
10010 2002-01-02 Juergen Vigna <jug@sad.it>
10012 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10014 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10016 * screen.C (topCursorVisible): introduce a temp var for
10017 text->cursor.row(), handle the case where this row is null. (kindo
10020 * text2.C (setCursor): add a couple of asserts.
10022 * paragraph.h (inset_iterator): add -> operator
10024 * paragraph.[Ch] (autoDeleteInsets): remove member function
10026 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10027 cursor pos correctly and handle inset deletion by itself.
10028 (insertErrors): move iterator declaration out of for expression
10030 * lyxtextclass.C: add <algorithm>
10032 * Makefile.am: added the new files to sources, removed layout.C
10034 * layout.C: removed file
10036 * layout.h: remove LYX_DUMMY_LAYOUT
10038 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10042 * lyxtextclass.[Ch]:
10043 * lyxtextclasslist.[Ch]: new files
10045 * include order changes to a lot of files, also changes because of
10048 2001-12-27 Juergen Vigna <jug@sad.it>
10050 * buffer.C (asciiParagraph): more fixes.
10052 * tabular.C (ascii): make ascii export support export of only the
10053 data separated by a column-delimiter.
10054 (ascii): better support for ascii export.
10056 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10058 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10060 * tabular_funcs.C: use a "using std::getline" instead of the
10061 previous fix from Angus (necessary for cxx + lyxstring)
10063 2001-12-24 Juergen Vigna <jug@sad.it>
10065 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10067 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10068 problems. First check a minipage also if we have some ert-contents
10069 (not only on par->size(), second set the right depth of the paragraph
10070 on the relink to the root-paragraph-list!
10072 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10073 which then did not anymore update the main paragraphs on undo/redo!
10075 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10077 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10078 code. Support all font-changing funcs (even those which are not in
10079 menu currently). Support for reporting font settings in
10080 mathed (disabled until Andre provides a function on mathed's side).
10082 * func_status.h (toggle): small helper function to set toggle
10085 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10087 * tabular_funcs.C: getline -> std::getline
10089 2001-12-21 Juergen Vigna <jug@sad.it>
10091 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10092 accessed and could be 0 (I couldn't generate this but it seems
10095 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10097 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10098 * tabular_funcs.h: here and include iosfwd
10100 2001-12-20 Juergen Vigna <jug@sad.it>
10102 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10103 inside inset but undo_par was.
10105 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10107 * Thesaurus.C: always include <config.h> in sources.
10111 * box.h: do not include <config.h> in header files
10113 * text.C (paintLastRow): remove unused variable
10115 * text.C (transformChar):
10117 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10119 * Painter.C (text):
10120 * font.C (width): rewrite to use uppercase() instead of
10123 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10125 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10127 * lyxfind.C: clean up of find failure position change
10129 2001-12-20 Juergen Vigna <jug@sad.it>
10131 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10133 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10134 (TeXRow): added to LaTeX a single tabular row.
10135 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10136 (Latex): simplified and finally good LT-h/f support.
10137 (various_functions): just small adaptions for LT-h/f support.
10139 * tabular_funcs.[hC]: added and moved here all not classfunctions
10142 2001-12-19 Juergen Vigna <jug@sad.it>
10144 * tabular.[Ch]: better support for longtabular options (not finished
10147 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10149 * text.C (paintLastRow): use the label font instead of the font of
10150 the last character to compute the size of *_BOX. This makes more
10151 sense and avoids a crash with empty paragraphs.
10152 Use Painter::rectangle to draw EMPTY_BOX.
10154 2001-12-19 Juergen Vigna <jug@sad.it>
10156 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10157 the paragraphs if the replaced paragraph is not the first one!
10158 Tried to delete not used paragraphs but does not work yet so for
10159 now it's inside #ifdef's and by default off!
10161 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10163 * MenuBackend.C: include "lyx_main.h" instead of declaring
10164 lastfiles (actually was declared as LastFiles* instead of a
10167 2001-12-17 Juergen Vigna <jug@sad.it>
10169 * tabular.C (AppendColumn): applied John's fix
10171 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10175 * BufferView_pimpl.h:
10176 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10179 * box.h: new start of class for above
10181 * lyxfunc.C: ignore space-only minibuffer dispatches.
10182 Show the command name when it doesn't exist
10184 * minibuffer.C: don't add empty lines to the history
10186 * minibuffer.C: add a space on dropdown completion
10188 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10190 * text.C: fix line above/below drawing in insets
10192 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10194 * lyxlength.C (LyXLength): Initialize private variables.
10196 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10198 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10199 when inserting error insets.
10201 2001-12-13 Juergen Vigna <jug@sad.it>
10203 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10204 actually sometimes the before-paragraph.
10205 (setUndo): don't clear the redostack if we're not actually undoing!
10207 2001-12-06 Juergen Vigna <jug@sad.it>
10209 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10210 and fixed redoing of main paragraph, so we can use it now ;)
10212 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10214 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10216 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10219 2001-12-13 André Pönitz <poenitz@gmx.net>
10222 * undo_func.C: minor cleanup
10224 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10226 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10227 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10228 font in urw-fonts package which is marked as -urw-fontspecific and
10229 does not work (incidentally, changing the encoding in the
10230 fonts.dir of this package to -adobe-fontspecific fixes the
10233 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10234 is a crash when undoing first paragraph (Juergen, please take a
10235 look). THis does not mean the undo fix is wrong, just that it
10238 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10239 the (Paragraph*) version when needed instead of duplicating the
10242 * text.C (workWidth): use Inset::parOwner to find out where the
10243 inset has been inserted. This is a huge performance gain for large
10244 documents with lots of insets. If Inset::parOwner is not set, fall
10245 back on the brute force method
10247 * paragraph_pimpl.C (insertInset):
10248 * paragraph.C (Paragraph):
10249 (cutIntoMinibuffer): set parOwner of insets when
10250 inserting/removing them
10252 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10254 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10260 * mathed/formulabase.C:
10261 * mathed/math_cursor.[Ch]:
10262 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10265 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10267 * lyxlength.[Ch] (operator!=): new function
10269 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10271 * text.C (workWidth): use Inset::parOwner to find out where the
10272 inset has been inserted. This is a huge performance gain for large
10273 documents with lots of insets. If Inset::parOwner is not set, fall
10274 back on the brute force method
10276 * paragraph_pimpl.C (insertInset):
10277 * paragraph.C (Paragraph):
10278 (cutIntoMinibuffer): set parOwner of insets when
10279 inserting/removing them
10281 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10283 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10285 * tabular-old.C (getTokenValue):
10286 * tabular.C (getTokenValue):
10287 (write_attribute): new versions for LyXLength
10288 (everywhere): adjust the use of widths
10290 * tabular.h: change the type of widths from string to LyXLength
10292 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10294 * paragraph.C: fixed missing line number count when exporting
10295 Environments to LaTeX file
10297 * buffer.C: added informational message for checking line numbers.
10299 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10301 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10302 paragraph, do the 'double space' part, but not the 'empty
10305 * text.C (workWidth): small optimization
10306 (getLengthMarkerHeight): use minimal size for negative lengths.
10308 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10310 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10312 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10314 2001-12-11 André Pönitz <poenitz@gmx.net>
10317 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10319 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10321 * text2.C: keep selection on a setFont()
10323 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10325 * lyx_cb.C: another bv->text misuse, from insert label
10327 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10330 * kbsequence.C: re-instate nmodifier mask
10332 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10334 * lyx_main.h: make lyxGUI private.
10336 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10338 * lyxfind.C: place the cursor correctly on failed search
10340 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10342 * text.C (getLengthMarkerHeight): for small heights, the arrows
10343 are not always on top/bottom of the text
10344 (drawLengthMarker): smaller arrows; take the left margin in
10345 account; draw also vfills.
10347 (paintLastRow): remove special code for vfill and standard spaces,
10348 since everything is handled in drawLengthMarker now.
10350 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10352 * buffer.C (insertErtContents): try to handle font and language
10353 interaction a bit better.g
10355 * ColorHandler.C (updateColor): change the hash to cover the whole
10356 LColor enum, ws cleanup
10357 (getGCLinepars): ditto
10358 (getGCLinepars): only lookup in the linecache once.
10360 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10362 * iterators.C (operator++): Make the iterator more robust
10364 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10366 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10368 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10371 * text.C: better added space drawing
10373 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10376 * BufferView2.C: fix layout combo update on inset unlock
10378 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10380 * Makefile.am: don't compile unused files
10382 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10386 * LyXAction.C: remove old LFUN_LAYOUTNO
10388 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10390 * paragraph_pimpl.h:
10391 * paragraph_pimpl.C: isTextAt() doesn't need font param
10393 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10396 * lyxlex.C: little cleanup
10398 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10400 * BufferView_pimpl.C: fix insertAscii for insets
10402 2001-12-05 Juergen Vigna <jug@sad.it>
10404 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10405 set the right font on the "multi" paragraph paste!
10407 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10413 * lyxlength.C: remove out-commented code.
10415 * BufferView_pimpl:
10429 * vc-backend.C: change "while(" to "while ("
10431 * lyxlength.[Ch]: add zero function to check if length is zero or
10433 * lyxgluelength.C: use it
10435 2001-12-05 Allan Rae <rae@lyx.org>
10437 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10438 Works for 2.95.3, from what I understand of Garst's reports this should
10439 work for other g++ versions. We're screwed if the abs(int) definition
10440 changed between bugfix releases of gcc.
10442 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10444 * text.C: fix chapter label offset !
10446 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10449 * text.C: fix hfill at end of line, clean up
10451 2001-12-04 Juergen Vigna <jug@sad.it>
10453 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10454 that we force an update of the inset and it's owners if neccessary.
10456 2001-12-03 Juergen Vigna <jug@sad.it>
10458 * text.C (rowLast): simplified code
10460 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10462 * lyxfunc.C: fix show options on timeout
10464 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10466 * screen.C (topCursorVisible): scroll half a page when the cursor
10467 reached top of bottom of screen
10469 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10471 * minibuffer.C: deactivate on loss of focus
10473 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10475 * vspace.[Ch] (operator!=): add operator.
10477 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10479 * BufferView_pimpl.C: refuse to open an inset when
10480 there's a selection.
10482 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10484 * BufferView_pimpl.C: allow to click on RHS of full row insets
10486 2001-11-30 Juergen Vigna <jug@sad.it>
10488 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10489 insets for undo reasons.
10491 2001-11-28 André Pönitz <poenitz@gmx.net>
10493 * vspace.[Ch]: cosmetical changes
10495 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10505 * kbsequence.C: part re-write of old kb code
10508 * WorkArea.C: remove Lgb_bug_find_hack
10510 2001-11-30 José Matos <jamatos@fep.up.pt>
10512 * buffer.C (makeDocBookFile): add a comment to point a hack.
10513 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10514 Fixed a double write of labels.
10516 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10519 * LaTeX.h Fixed bug in LaTeX class where it would not
10520 re-run latex if no depfiles were changed, but the .dvi was removed.
10522 2001-11-28 André Pönitz <poenitz@gmx.net>
10524 * all the files from the change on 2001/11/26:
10525 use lyx::layout_type instead of LyXTextClass::size_type
10526 use lyx::textclass_type instead of LyXTextClassList::size_type
10528 2001-11-29 Juergen Vigna <jug@sad.it>
10530 * text.C: added support for paragraph::isFreeSpacing()
10532 * buffer.C: same as above
10534 * paragraph.h: inserted isFreeSpacing() function to enable
10535 FreeSpacing inside InsetERT.
10537 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10538 of the paragraph's in the cut/copy buffer to 0!
10540 * text2.C (removeRow): remove the assert as it can!
10542 * lyxtext.h: added helper function firstRow returning firstrow and
10543 made firstrow private again.
10545 * BufferView2.C (lockInset): don't relock if we're already locked!
10547 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10548 the only paragraph.
10549 (removeRow): added Assert::(firstrow)
10551 * debug.C: forgot to add INSETTEXT here.
10553 2001-11-28 Juergen Vigna <jug@sad.it>
10555 * sp_spell.C (initialize): changed error text to more general
10556 spellchecker command use (not only ispell!)
10558 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10560 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10562 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10564 * vspace.C: initialise lyxgluelength on failure
10566 2001-11-28 Allan Rae <rae@lyx.org>
10568 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10569 declaration & definition that looks like a function declaration.
10571 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10573 * BufferView2.C (copy):
10574 (copyEnvironment): do not clear the selection when doing a copy.
10576 * text.C (paintFirstRow): compilation fix
10578 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10580 * tabular.C (Latex): correct line count when writing latex.
10582 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10584 * paragraph_pimpl.h:
10585 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10588 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10592 * LColor.C: change vfillline->added_space
10594 * text.C: add markers and text for added space
10596 * vspace.C: fix comment
10598 2001-11-28 André Pönitz <poenitz@gmx.net>
10600 * paragraph.C: whitespace changes
10601 * all the other files from the change on 2001/11/26:
10602 change *::pos_type into lyx::pos_type
10604 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10606 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10607 language of the document when inserting error insets.
10609 2001-11-26 André Pönitz <poenitz@gmx.net>
10611 * BufferView_pimpl.[Ch]:
10619 * paragraph_pimpl.[Ch]:
10622 * text2.C: reduce header dependencies, introduce type for positions
10624 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10626 * <various>: change to use Alert.h
10628 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10630 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10631 when encountering an unknown token.
10632 (readLyXformat2): Show an error message if there were unknown tokens.
10634 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10637 * BufferView_pimpl.C:
10641 * text2.C: use par->isInset()
10643 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10645 * paragraph_pimpl.h:
10646 * paragraph_pimpl.C: cleanup
10648 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10650 * text2.C (removeRow):
10651 * text.C (setHeightOfRow): remove useless (and costly) call to
10654 2001-11-20 Allan Rae <rae@lyx.org>
10656 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10657 Now need Inset*::checkInsertChar() to return true for appropriate
10658 cases so that the characters in the minibuffer will actually be
10661 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10663 * text.C: change the order of the includes.
10664 (workWidth): initialize it at once.
10665 (workWidth): make maxw unsigned
10666 (setHeightOfRow): remove unused variable (inset)
10667 (selectSelectedWord): remove unused variable (inset)
10668 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10670 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10672 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10673 server is not running.
10675 (closeConnection): add debug info when server is disabled.
10677 * ColorHandler.C (getGCForeground): send debug message to GUI
10680 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10682 * kbmap.C (bind): modify because return conventions of
10683 kb_sequence::parse have changed.
10685 * kbsequence.C (parse): only ignore spaces and not any stupid
10686 control character. This avoids tests like s[i] <= ' ', which are
10687 guaranteed to fail with 8bit characters and signed chars.
10688 Change return code to string::npos when there have been no error
10689 (0 was a bad idea when error is at first character)
10691 2001-11-14 José Matos <jamatos@fep.up.pt>
10694 * buffer.C (simpleDocBookOnePar): removed unused argument.
10696 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10698 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10699 insets which are part of a word. Paragraph::isLetter takes care of
10700 that now. Use Paragraph::isInset to identify insets.
10701 (selectSelectedWord): do not test for hyphenation break.
10703 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10704 that protected spaces are considered as spaces.
10706 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10709 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10712 * lyxserver.C: fix it. and small cleanup.
10714 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10716 * BufferView_pimpl.C: use inline helpers
10719 * LaTeXFeatures.C: fix typos
10722 * Spacing.C: move spacing_string into class
10724 * ToolbarDefaults.C: move stuff into namespace anon
10726 * layout.h: update enum
10728 * lyxfunc.C: use better debug
10730 * minibuffer.h: fix typo
10734 * WorkArea.C: add and use Debug::WORKAREA
10738 * text2.C: code re-organisation, inline helpers
10740 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10742 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10743 std::vector.empty().
10745 2001-11-09 Allan Rae <rae@lyx.org>
10747 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10748 '\n's after tables. Tabular and ERT inset work now makes this no
10751 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10754 * minibuffer.C: fix crash, improve drop-down completion
10756 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10759 * lyxserver.C: invalidate fd's when doing endPipe()
10761 2001-11-08 José Matos <jamatos@fep.up.pt>
10763 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10764 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10767 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10769 2001-11-07 José Matos <jamatos@fep.up.pt>
10772 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10775 * buffer.C (sgmlOpenTag):
10776 * buffer.C (sgmlCloseTag): removed debug info.
10778 * buffer.h (sgmlOpenTag):
10779 * buffer.h (sgmlCloseTag): made public.
10781 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10783 * buffer.C (saveParamsAsDefaults):
10784 * lyx_cb.C (MenuLayoutSave): remove
10786 * LyXAction.C (init):
10788 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10790 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10792 * buffer.C (setPaperStuff): removed from here...
10794 * bufferparams.C (setPaperStuff): ... and moved there.
10796 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10800 * XFormsView.C: add support for drop-down completion
10802 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10804 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10807 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10809 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10812 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10814 * lyx_main.C: change ref to known bugs
10816 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10818 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10819 to work around older babel problems.
10821 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10823 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10825 2001-10-24 Juergen Vigna <jug@sad.it>
10827 * tabular-old.C (ReadOld): below variable changes reflected.
10829 * tabular.[Ch]: added ltType struct for longtable header/footer
10830 defines and changed all instances where they are used. Added
10831 future support for double top/bottom rows.
10833 2001-10-24 José Matos <jamatos@fep.up.pt>
10835 * buffer.h (docbookHandleCaption):
10836 * buffer.C (docbookHandleCaption): removed unused function.
10837 (makeDocBookFile): moved docbook supported version to v4.1.
10839 2001-10-24 José Matos <jamatos@fep.up.pt>
10842 * tabular.C (docbookRow): new function to export docbook code of a row.
10843 (DocBook): now honors the longtable flags.
10845 2001-10-23 José Matos <jamatos@fep.up.pt>
10848 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10849 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10851 * buffer.C (makeLinuxDocFile):
10852 (makeDocBookFile): reworked the preamble, more clean, and with
10853 support for lyx defined entities. Changed the document declaration
10854 to be more XML friendly.
10856 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10857 if we need to output XML that should be done with a filter.
10859 2001-10-22 Juergen Vigna <jug@sad.it>
10861 * sp_pspell.h (class PSpell): add alive function needed in the
10862 controller to see if the spellchecker could be started.
10864 2001-10-22 Juergen Vigna <jug@sad.it>
10866 * buffer.C (insertStringAsLines): modify the font for inserting
10867 chars in certain conditions by calling checkInsertChar(font).
10869 2001-10-19 Juergen Vigna <jug@sad.it>
10871 * text.C (workWidth): use getRow instead of wrong algorithm.
10872 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10874 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10879 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10881 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10883 * text.C (workWidth): do not search for the exact row when
10884 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10885 optimization for big documents.
10887 2001-10-18 Juergen Vigna <jug@sad.it>
10889 * text.C (workWidth): new function with added Inset * parameter.
10891 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10893 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10895 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10896 change return type of getColumnNearX.
10899 * text.C (changeRegionCase): use uppercase/lowercase instead of
10902 (rightMargin): simplify code by factoring out the uses of
10907 (appendParagraph): use Paragraph::size_type
10909 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10911 * vspace.C (asLatexString): add a missing break
10913 2001-10-15 Herbert Voss <voss@perce.de>
10915 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10917 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10919 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10922 2001-10-10 André Pönitz <poenitz@gmx.net>
10924 * lyxfunc.C: removed greek_kb_flag.
10926 2001-10-10 Herbert Voss <voss@perce.de>
10928 * lyx_main.C: delete global string help_lyxdir.
10930 2001-10-09 Herbert Voss <voss@perce.de>
10932 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10934 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10936 * lyx_main.C: added global string help_lyxdir.
10938 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10940 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10942 * lyxrc.C (set_font_norm_type): support iso8859-4
10944 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10946 * LaTeX.C (deplog): add another regex for MikTeX
10948 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10950 * lyxrc.C (set_font_norm_type): support iso8859-3
10952 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10954 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10956 * LaTeXFeatures.C: remove special case of french and index
10958 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10959 before \begin{document}). This solves several incompatibilities.
10961 2001-10-03 Garst Reese <reese@isn.net>
10963 * lyx_cb.C: change CheckTex error msg.
10965 2001-10-03 José Matos <jamatos@fep.up.pt>
10967 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10969 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10971 * .cvsignore: update
10973 * lyx_main.C (commandLineVersionInfo): use new style version info.
10975 * buffer.C (writeFile):
10977 (makeLinuxDocFile):
10978 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10980 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10982 * version.h: update to use stuff in version.C
10984 * version.C.in: new file. Contains version information determined
10985 at compile time. This is a merging of version.h and
10988 2001-10-03 Juergen Vigna <jug@sad.it>
10990 * BufferView_pimpl.C (update): don't change "dirty" status in
10993 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10995 * WorkArea.C (c-tor): re-position version string slightly.
10997 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10999 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11000 revert to previous code.
11002 WorkArea.[Ch]: (show, destroySplash): methods removed.
11004 WorkArea.C: rework code so that it's an amalgam of the codes before and
11005 after the splash screen was moved to WorkArea.
11007 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11010 * vspace.C (inPixels):
11013 * buffer.C (insertStringAsLines):
11014 (asciiParagraph): fix types to be large enough
11016 * lyxlex_pimpl.h: change member status from short to int
11018 * layout.h: fix type of endlabeltype
11021 * kbsequence.C (parse): change return type to string::size_type
11023 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11026 * Bullet.C (bulletSize):
11027 (bulletEntry): do not use short ints as parameters
11029 * BufferView2.C (insertLyXFile): change a char to an int.
11031 * WorkArea.C (WorkArea): remove unneeded floats in computation
11033 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11035 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11037 * paragraph.C (asString): Do not ignore newline/hfill chars when
11038 copying to the clipboard.
11040 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11042 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11043 after a multi-line inset.
11045 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11047 * paragraph.C (validate): Set NeedLyXFootnoteCode
11049 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11051 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11052 and decrease-error to decrease.
11054 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11056 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11057 it more readable (should be equivalent)
11059 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11061 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11063 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11065 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11066 of a cursor (row, etc.) after a character has been deleted
11067 (deleteEmptyParagraphMechanism): call the method above on _all_
11068 cursors held by the LyXText when a double space has been
11071 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11073 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11075 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11077 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11078 background. Use greyOut() and the new show() methods to toggle between
11079 the foreground and background. Add code to remove the splash after
11080 its initial showing.
11082 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11083 (create_forms): no longer call Dialogs::showSplash.
11085 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11087 * .cvsignore: add version_info.h
11089 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11091 * version_info.h.in: new file
11093 * Makefile.am: add version_info.h.in
11095 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11096 version_info.h instead of VERSION_INFO
11098 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11100 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11101 The ERT inset now returns string().
11103 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11105 * lyxtext.h, text.C (selectNextWord): renamed as
11106 selectNextWordToSpellcheck.
11108 * text.C (selectNextWordToSpellcheck): Modified to not select
11109 words inside an ERT inset.
11111 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11113 * lyx_cb.C (MenuLayoutSave): change a bit the question
11115 * sp_base.h: include <sys/types.h>
11117 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11119 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11121 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11123 * several files: fix typos in user-visible strings
11125 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11127 * text2.C (pasteSelection): do not set the selection, since it
11128 will be cleared later. Actually, the intent was to fix the way the
11129 selection was set, but I figured rmoving the code was just as good.
11131 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11133 * FontLoader.C (available): Check if font is available without
11136 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11138 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11140 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11142 * lyxrc.[Ch]: added display_graphics variable and associated code.
11144 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11146 * bufferparams.C (hasClassDefaults): new method. Returns true if
11147 the buffer parameters correspond to known class defaults
11149 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11151 * XFormsView.C (show): set minimum size to the main window.
11153 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11155 * text2.C (copySelection):
11157 * lyxfind.C (LyXReplace):
11158 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11159 LyXText::selectionAsString.
11161 * paragraph.C (asString): add "label" argument to the second form
11163 * text2.C (selectionAsString): add "label" argument and pass it to
11164 Paragraph::asString.
11166 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11168 * lyx_main.C (commandLineHelp): remove version information
11170 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11172 * lyx_main.C: add -version commandline option
11174 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11176 * paragraph.h: make the optional constructor arg required instead.
11177 some modifications to other files because of this.
11179 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11181 * lyxserver.C (C_LyXComm_callback): make it static
11183 * lyx_main.C (error_handler): make it static
11185 * lyx_gui.C (LyX_XErrHandler): make it static
11187 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11189 * WorkArea.C: make the extern "C" methods static.
11191 * Makefile.am (lyx_LDADD): simplify
11193 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11195 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11196 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11198 * LyXAction.C (init):
11199 * lyxfunc.C (dispatch): associated code removal.
11201 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11203 * lyxfont.h (isSymbolFont): shut off warning
11205 * text.C (setHeightOfRow):
11206 (getVisibleRow): fix crash with empty paragraphs which have a
11209 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11211 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11214 2001-09-04 José Matos <jamatos@fep.up.pt>
11217 * tabular.C (docbook): rename docBook method to docbook.
11219 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11221 * Makefile.am: add dependencies to main.o.
11223 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11225 * FontLoader.C (available): Return false if !lyxrc.use_gui
11227 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11229 * FontInfo.C (query):
11230 * converter.C (view):
11231 * importer.C (Import):
11232 * exporter.C (Export): Can not -> cannot.
11234 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11236 * BufferView_pimpl.C: allow to create index inset even if
11239 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11241 * buffer.C (getLists): replace boost::tie code with an explicit pair
11242 as boost::tie can break some compilers.
11244 * iterators.h: Added a std:: declaration to the return type of
11247 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11249 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11252 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11254 * iterators.[Ch]: New files. Provide paragraph iterators.
11256 * buffer.C (changeLanguage): Use paragraph iterators.
11257 (isMultiLingual): ditto
11259 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11261 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11263 * FontLoader.C: Support for cmr font.
11265 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11267 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11268 (available): New method.
11270 * FontInfo.C (getFontname): Use scalable fonts even when
11271 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11274 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11276 * converter.C (Formats::view): reverted! Incorrect fix.
11278 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11280 * converter.C (Formats::view): only output the -paper option
11281 if the dvi viewer is xdvi, thereby fixing bug #233429.
11283 2001-08-23 Herbert Voss <voss@perce>
11285 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11287 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11289 * Spacing.h (Spacing): Set space to Default on in the default
11292 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11294 * vc-backend.h (RCS::versionString): add RCS to version
11295 (CVS::versionString): add CVS to version
11297 * vc-backend.C (scanMaster): do not add CVS to version.
11298 (scanMaster): do not add RCS to version
11300 * lyxvc.C (versionString): new method
11302 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11304 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11306 * Spacing.C (set): initialize fval
11308 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11310 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11313 2001-08-16 Juergen Vigna <jug@sad.it>
11315 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11317 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11319 * BufferView_pimpl.C:
11322 * text2.C: setParagraph takes linespacing now
11324 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11326 * LyxAction.C: add internal LFUN_CITATION_INSERT
11328 * LyXView.C: actually apply fix
11330 * bufferlist.C: fix open non-existent file
11332 * lyxfind.C: fix indentation
11334 * lyxfunc.C: remove unneeded assert, fix typo
11336 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11338 * MenuBackend.C: use "Floatname List"
11340 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11342 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11343 when converting LaTeX layout to insetERT.
11344 Generate a non-collapsed float when reading old float
11346 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11348 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11351 2001-08-13 Juergen Vigna <jug@sad.it>
11353 * text.C (fill): return 0 instead of 20 as this seems to be the more
11356 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11358 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11361 2001-08-13 Juergen Vigna <jug@sad.it>
11363 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11365 (SearchBackward): comment out the unlocking of the inset_owner this
11366 should not be needed!
11368 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11370 * Many files: Remove inherit_language, and add latex_language
11372 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11373 collapsible insets.
11375 2001-08-10 Juergen Vigna <jug@sad.it>
11377 * text.C (prepareToPrint): fixed hfill-width in draw!
11379 * BufferView2.C (selectLastWord): save the selection cursor as this
11380 now is cleared in the function LyXText::clearSelection!
11382 2001-08-08 Juergen Vigna <jug@sad.it>
11384 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11385 BACKSPACE type functions.
11387 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11388 is only cutted from the document but not put in the cut-buffer, where
11389 still the old stuff should be.
11391 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11393 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11395 * tabular.C (SetWidthOfCell): fixed special case where the width
11397 (LeftLine): handle '|' in align_special.
11399 (LeftAlreadyDrawed): ditto
11400 (SetWidthOfCell): ditto
11402 2001-08-07 Juergen Vigna <jug@sad.it>
11404 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11406 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11408 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11409 * lyxlex.[hC]: ditto
11411 2001-08-06 Juergen Vigna <jug@sad.it>
11413 * text.C (getVisibleRow): fix up row clearing a bit.
11415 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11417 * minibuffer.C: make sure the X server sees the changes in the input.
11419 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11421 * paragraph.C (getFont): split into...
11422 (getLabelFont): this
11423 (getLayoutFont): and this
11424 * paragraph_pimpl.C (realizeFont): calling this
11426 * text2.C (getFont): split into...
11427 (getLayoutFont): this
11428 (getLabelFont): and this
11429 (realizeFont): all three calling this
11431 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11434 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11436 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11438 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11440 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11441 layouts from the Quote inset insertion.
11443 2001-08-03 Juergen Vigna <jug@sad.it>
11445 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11447 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11448 only if status not is already CHANGED_IN_DRAW (second level).
11450 * text.C (draw): don't set the need_break_row when inside an
11453 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11455 * buffer.C (parseSingleLyXformat2Token): handle more latex
11458 * bufferview_funcs.[hC]: change function names to
11459 begin with small char, adjust other files.
11461 2001-08-02 André Pönitz <poenitz@gmx.net>
11464 BufferView_pimpl.C: remove broken special code for math-greek
11466 2001-08-02 Juergen Vigna <jug@sad.it>
11468 * BufferView_pimpl.C (update): redone this function so that we
11469 update the text again if there was a CHANGE_IN_DRAW.
11471 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11472 (drawFromTo): added a new internal bool which is used by draw() and
11474 (general): some cursor drawing problems fixed.
11476 2001-08-01 Juergen Vigna <jug@sad.it>
11478 * lyxfind.C (LyXFind): fixed
11479 (SearchForward): ditto
11480 (SearchBackward): ditto
11482 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11483 spurius drawing of the cursor in the main area.
11485 * text2.C (status): small fix which could lead to a segfault!
11486 (clearSelection): remove unneeded BufferView param.
11488 2001-08-01 André Pönitz <poenitz@gmx.net>
11490 * lyxfunc.C: small change due to changed mathed interface
11492 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11494 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11496 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11498 * lyxfunc.c: fail gracefully if file doesn't exist
11503 * BufferView_pimpl.C: IsDirWriteable() proto changed
11505 * LyXView.C: fix updateWindowTitle() to store the last title
11507 2001-07-31 Juergen Vigna <jug@sad.it>
11509 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11510 the font (wrong since using of Paragraph::highestFontInRange).
11512 * paragraph.C (highestFontInRange): added a default_size parameter.
11514 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11515 (setHeightOfRow): reformat
11517 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11519 * converter.[hC] + affected files: move to (inital-char)lowercase
11522 * ParagraphParameters.C (ParagraphParameters): remove commented code
11524 * PainterBase.[Ch]: remove commented code
11526 * LaTeXFeatures.h: add "bool floats" for float.sty
11528 * LaTeXFeatures.C (LaTeXFeatures): init floats
11529 (require): handle float
11530 (getPackages): do it with floats
11532 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11534 * BufferView_pimpl.C (Dispatch): improve handling of
11535 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11537 * commandtags.h: #include lyxfont.h here temporarily to avoid
11540 * bufferlist.h: include LString.h here.
11542 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11544 * text2.C (getStringToIndex): new method.
11546 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11548 * *: Reduced header file dependencies all over.
11550 2001-07-30 Baruch Even <baruch@lyx.org>
11552 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11554 2001-07-29 Baruch Even <baruch@lyx.org>
11556 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11558 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11560 * ParameterStruct.h (endif): add a default constructor to make
11561 sure that all variables is initialized.
11563 * ParagraphParameters.C (ParagraphParameters): adjust
11565 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11567 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11568 index; also, check that there is something to index, and that it
11569 does not span over several paragraphs.
11570 (doubleClick): use WHOLE_WORD_STRICT for double click.
11572 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11574 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11577 2001-07-26 Baruch Even <baruch@lyx.org>
11579 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11580 an InsetFig figure, backwards compatible reading of old figure code.
11582 2001-07-27 Juergen Vigna <jug@sad.it>
11584 * text2.C: font.realize function adaption.
11586 * text.C (draw): add a warnings lyxerr text if needed.
11588 * layout.C: font.realize function adaption.
11590 * language.C: add inherit_language and implement it's handlings
11592 * bufferview_funcs.C (StyleReset): remove language parameter from
11593 font creation (should be language_inherit now).
11595 * bufferparams.C (writeFile): handle ignore_language.
11597 * paragraph.C (getFontSettings): the language has to be resolved
11598 otherwise we have problems in LyXFont!
11600 * lyxfont.C (lyxWriteChanges): added document_language parameter
11601 (update): removed unneeded language parameter
11603 * paragraph.C (validate): fixed wrong output of color-package when
11604 using interface colors for certain fonts in certain environments,
11605 which should not seen as that on the final output.
11607 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11609 * BufferView_pimpl.C:
11614 * LyXAction.C: add thesaurus support
11617 * lyxfind.C: add "once" parameter, for thesaurus, to not
11618 move to the next match
11620 2001-07-26 Juergen Vigna <jug@sad.it>
11622 * lyxfont.C (realize): honor ignore_language too!
11625 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11627 * text.C (draw): one place more for ignore_language to not draw
11630 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11632 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11634 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11636 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11637 the minipage conversion problem.
11639 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11641 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11644 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11646 * BufferView.h: don't forward declare WorkArea
11648 * BufferView.C: don't include WorkArea.h
11650 2001-07-25 André Pönitz <poenitz@gmx.net>
11654 * lyxfunc.C: new LFUN 'math-space'
11656 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11658 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11660 * text2.C (toggleInset): call open/close
11662 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11664 * lyxfunc.C (dispatch): add debug for the disabled case
11666 * font.C (buttonText): make similar to rectText
11668 * buffer.C (readInset): comment out parsing of insetlist and
11671 * PainterBase.C (rectText): small correction
11673 * BufferView_pimpl.C: comment out insettheorem and insetlist
11674 * LyXAction.C: ditto
11675 * commandtags.h: ditto
11677 2001-07-24 Juergen Vigna <jug@sad.it>
11679 * text.C (draw): honor the ignore_language.
11681 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11683 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11685 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11688 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11690 * lyxtext.h: remove unused (and unimplemented) methods
11692 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11694 * text.C (getVisibleRow): honor background color
11697 * Painter.h: remove default color argument for fillRectangle
11699 * text.C (backgroundColor): new method
11701 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11703 * text.C (getVisibleRow): adjust
11705 * font.[Ch] (rectText): new method, metrics
11706 (buttonText): new method, metrics
11708 * PainterBase.[hC]: make rectText and buttonText always draw and take
11711 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11713 * ToolbarDefaults.C (read):
11714 * MenuBackend.C (read): allow escaping in all strings
11716 * BufferView_pimpl.C (insertAndEditInset): new method.
11717 (Dispatch): use insertAndEditInset whenever appropriate.
11719 * BufferView_pimpl.C (insertNote): removed
11721 * BufferView_pimpl.C (smartQuote): new method, moved from
11722 BufferView; if an insetquote cannot be inserted, insert a '"'
11725 * BufferView2.C: remove insertCorrectQuote();
11727 * lyxfunc.C (getStatus): Add support for all remaingin
11728 inset-insert lfuns.
11730 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11732 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11733 command (necessary to pass " as parameter of self-insert.
11735 * text.C (selectWordWhenUnderCursor):
11736 (selectWord): add word_location parameter
11737 (selectWordWhenUnderCursor): same + remove special code for word
11739 (selectNextWord): use kind() to guess type of insetspecialchar,
11742 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11743 (insertErtContents): create ert insets as collapsed.
11744 (readInset): better compatibility code for Info inset.
11746 2001-07-20 Juergen Vigna <jug@sad.it>
11748 * lyxfunc.C (dispatch): use always LyXFind now!
11750 * text2.C (init): add a reinit flag so that the LyXText can be
11751 reinited instead of deleted and reallocated (used in InsetText).
11753 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11759 2001-07-18 Juergen Vigna <jug@sad.it>
11761 * text.C (selectNextWord): handle insets inside inset by calling
11762 always the bv->text functions so that we can go up the_locking_inset!
11764 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11765 in strange locations when inside an inset!
11767 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11768 handling to include insets.
11770 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11772 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11774 * LyXAction.C (init):
11776 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11777 LIGATURE_BREAK, since the name is so stupid.
11779 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11781 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11784 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11786 * sp_form.[Ch]: remove.
11788 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11790 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11793 * src/buffer.C (readInset): ditto.
11795 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11797 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11798 menuSeparator(), endOfSentenceDot(), ldots() and
11799 hyphenationPoint(), which are therefore removed.
11800 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11802 * LyXAction.C (init):
11803 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11805 * paragraph.C (getWord): removed.
11807 * BufferView_pimpl.C (Dispatch): use last word or selection for
11808 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11810 * lyx_main.C (queryUserLyXDir): do not ask before creating
11811 user_dir, except if it has been named explicitely.
11813 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11815 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11816 a document of zero size.
11818 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11820 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11821 approriately in the c-tor and in require().
11822 (getPackages): output the appropriate LaTeX for natbib support.
11824 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11825 variables "use_natbib" and "use_numerical_citations" when reading the
11827 (readInset): read the various natbib cite commands.
11828 (validate): white-space change.
11830 * bufferparams.[Ch]: new variables "bool use_natbib" and
11831 "bool use_numerical_citations".
11832 (writeFile): output them in the LyX file.
11834 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11836 * lyxfunc.C (getStatus): add support for all the inset insertion
11839 * text2.C (insertInset):
11840 * paragraph.C (insetAllowed):
11841 * BufferView_pimpl.C (insertInset): update to take in account the
11842 renaming of insertInsetAllowed
11844 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11846 * text2.C (getInset): new method. returns inset at cursor position.
11848 * BufferView_pimpl.C (Dispatch): changes because of this.
11850 * LyXAction.C (init): rename open-stuff to inset-toggle.
11852 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11854 * text2.C (toggleInset): renamed from openStuff; use
11857 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11859 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11861 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11863 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11865 * buffer.C (readLyXformat2): Add filename to the error dialog
11867 2001-07-18 Juergen Vigna <jug@sad.it>
11869 * tabular.C (GetCellNumber): put an assert here instead of the check!
11871 2001-07-17 Juergen Vigna <jug@sad.it>
11873 * BufferView_pimpl.C (toggleSelection): adapted too.
11875 * text.C (selectNextWord): adapted for use with insets.
11876 (selectSelectedWord): ditto
11878 2001-07-17 Juergen Vigna <jug@sad.it>
11880 * sp_spell.C (PSpell): fix initialitation order.
11882 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11884 * paragraph.C: spacing
11886 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11888 * sp_spell.C: repair language selection for pspell
11890 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11892 * lyxfunc.h: change more methods to begin with lower char.
11894 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11896 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11897 for unknown layouts.
11899 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11901 * buffer.C (readLyXformat2): Generate an error dialog if there are
11904 2001-07-16 Juergen Vigna <jug@sad.it>
11906 * sp_spell.C: always compile ISpell part.
11908 * lyxrc.C: added use_pspell entry and it's handling.
11910 2001-07-13 Juergen Vigna <jug@sad.it>
11912 * sp_spell.C: removed double includes.
11914 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11916 Consistent use of Lsstream.h:
11917 * Lsstream.h: added using std::stringstream for consistencies sake.
11919 * buffer.C: removed using std::stringstream
11921 * lyxfont.C (stateText):
11922 * paragraph.C (asString):
11923 * text.C (selectNextWord, selectSelectedWord):
11924 * text2.C (setCounter):
11925 * vspace.C (asString, asLatexString):
11926 std::ostringstream -> ostringstream.
11928 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11930 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11931 * commandtags.h: add LFUN_HELP_ABOUTLYX
11932 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11934 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11936 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11938 * lyx_gui_misc.C: remove spellchecker
11939 * lyxfunc.C: showSpellchecker
11941 * sp_ispell.h: added
11942 * sp_pspell.h: added
11943 * sp_spell.C: added
11944 * sp_form.[Ch]: removed
11945 * spellchecker.[Ch]: removed
11947 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11949 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11951 (simpleTeXSpecialChars): Simply print the input character without
11952 any special translation if pass_thru is set.
11954 * layout.h: Added bool pass_thru to layout class for being able to
11955 implement pass through of a paragraph for Literate Programming.
11957 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11958 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11959 * layout.C (Read): add "passthru" to list of layout tags and add
11960 code to set the pass_thru boolean when it is read.
11962 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11964 * trans_decl.h: remove allowed from KmodInfo
11966 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11967 remove allowed code
11970 * paragraph_pimpl.C (erase): use boost::prior
11972 * Painter.C (text): use data() instead of c_str() when length is
11974 * WorkArea.C (putClipboard): ditto
11975 * font.h (width): ditto
11977 * BufferView2.C: use it-> instead of (*it). for iterators
11979 * paragraph_pimpl.C: ditto
11980 * paragraph.C: ditto
11981 * minibuffer.C: ditto
11982 * language.C: ditto
11984 * encoding.C: ditto
11985 * counters.C: ditto
11986 * converter.C: ditto
11988 * Variables.C: ditto
11989 * TextCache.C: ditto
11990 * MenuBackend.C: ditto
11991 * LyXAction.C: ditto
11993 * FloatList.C: ditto
11994 * DepTable.C: ditto
11995 * ColorHandler.C (LyXColorHandler): ditto
11997 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11999 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12001 * text2.C (openStuff): reintroduce this method (which had been
12002 nuked in NEW_INSETS frenzy).
12004 * lyxfunc.C (Dispatch): when an action has not been handled, use
12005 its name in the error message, not its number.
12007 * paragraph.C (inInset): change method name to begin with lowercase.
12010 * text2.C: updates because of this.
12012 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12014 * ToolbarDefaults.C (add): add spaces in error message
12016 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12018 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12019 (readLyXformat2): rename return_par to first_par, use lyxlex's
12020 pushToken and remove the manual push handling.
12021 (parseSingleLyXformat2Token): add another ert comp. variable:
12022 in_tabular, rename return_par to first_par. handle newlines better
12024 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12026 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12028 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12030 * text2.C (getParFromID): removed
12032 * buffer.C (getParFromID): new method moved form lyxtext.
12033 * BufferView2.C (insertErrors): adjust
12034 (setCursorFromRow): adjust
12035 * BufferView_pimpl.C (restorePosition): adjust
12036 * lyxfunc.C (Dispatch): adjust
12037 * undo_funcs.C (textUndo): adjust
12039 (textHandleUndo): adjust
12040 (textHandleUndo): adjust
12042 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12044 * buffer.C: up' the LYX_FORMAT
12046 * lyxfont.h: turn NO_LATEX on as default
12048 * buffer.C (insertErtContents): new methods of tex style compability.
12049 (parseSingleLyXformat2Token): use it several places.
12050 * tabular.C (OldFormatRead): and here
12052 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12054 * text2.C: remove some commented code.
12057 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12058 * trans.C: changes because of the above.
12060 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12062 * text2.C (setCounter): Fix counters bug with bibliography layout.
12064 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12066 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12067 own member functions
12068 (simpleTeXSpecialChars): ditto
12070 2001-07-06 Juergen Vigna <jug@sad.it>
12072 * a lot of files: changed the access to LyXText::status and the
12073 call of undo-functions.
12075 * undo.[Ch]: added a inset_id to the undo informations.
12077 * undo_funcs.[Ch]: added and moved here all undo functions.
12079 * lyxtext.h: give the status enum a weight, made status_ a private
12080 variable and made accessor functions for it, removed the whole bunch
12081 of undo-functions as they are now in their own file, make some
12082 functions publically available. Added function ownerParagraph with
12085 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12086 made InInset() a const function, added getParFromID() function.
12088 * buffer.[Ch]: added const version for inset_iterator functions,
12089 added getInsetFromID() function.
12091 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12092 changed undo functions for new version.
12094 2001-07-05 Juergen Vigna <jug@sad.it>
12096 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12097 unknow mechanism does not call the proper constructor but only this
12098 one also if I request the other!?
12100 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12102 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12104 * text2.C (LyXText): use initialization lists.
12106 * lyxtext.h (Selection): initialize set_ and mark_
12107 (init): remove method
12109 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12111 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12113 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12115 * screen.[Ch]: change method names to begin with lowercase
12117 * BufferView_pimpl.C (updateScrollbar): simplify further and
12118 hopefully make it a bit faster.
12120 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12122 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12123 calling directly xforms functions.
12125 * Painter.C (Painter):
12126 * lyx_cb.C (MenuWrite):
12127 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12130 * lyx_gui.C: remove bogus guiruntime extern declaration.
12132 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12134 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12136 (redoDrawingOfParagraph): ditto
12137 (redoParagraphs): ditto
12138 (cutSelection): don't create a object for CutAndPaste use the
12139 static method directly
12140 (pasteSelection): ditto
12142 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12145 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12147 * modifications to some other files because of this.
12149 * Makefile.am (lyx_SOURCES): add XFormsView
12151 * XFormsView.[Ch]: new files
12153 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12154 the main window. Move the gui dependent stuff to XFormsView
12156 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12158 * tabular.C (GetCellInset): update cur_cell also in the row/col
12159 version of this function.
12161 * lyxfunc.C: no need to include figure_form.h here.
12167 * lyxvc.C: no need to include forms.h here.
12169 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12171 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12173 * lyxfunc.C (Dispatch):
12175 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12176 constructor argument.
12178 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12180 * paragraph.C (Paragraph): dont't clear, and just set layout.
12181 (makeSameLayout): use params's copy contructor.
12183 * ParagraphParameters.[Ch] (makeSame): delete method
12185 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12187 * Variables.[Ch]: fix indentation, rename set to isSet
12189 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12191 * lyxfunc.C (Dispatch): fix typo
12193 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12195 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12198 * bufferlist.C: include assert.h for emergencyWrite().
12200 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12202 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12203 give up at last (bug #425202) !
12205 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12211 * spellchecker.C: strip spellchecker options and bring up
12212 preferences tab instead
12214 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12216 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12217 the istringstream constructor
12219 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12221 * paragraph.C (getLayout): fix return value
12223 * paragraph.h: do not declare getLayout as inline.
12225 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12227 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12229 * lyxcursor.h (operator<): new func
12230 (operator>): new func
12231 (operator>=): new func
12232 (operator<=): new func
12234 * text.C (changeCase): use selection.start and selection.end
12235 (changeRegionCase): require from to be <= to. Require par to be a
12238 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12240 2001-06-27 Juergen Vigna <jug@sad.it>
12242 * text.C (cursorLeftOneWord): changed to return the cursor and added
12243 overlay with BufferView * parameter which calls this one.
12245 (selectWord): use new getWord function.
12246 (changeCase): renamed from changeWordCase as and extended to work
12247 also on selections.
12249 * lyxtext.h: added enum word_location
12251 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12252 changeCase as this operates now also on selections.
12254 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12256 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12258 * many files: send debug output to Debug::INFO instead of
12261 * converter.C (View):
12263 (Move): send debug output to Debug::FILES instead of console.
12265 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12267 * lyxfunc.C (getStatus): use func_status
12269 * func_status.h: new header, describing the results of
12270 LyXFunc::getStatus;
12272 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12275 2001-06-25 The LyX Project <jug@sad.it>
12277 * buffer.C (sgmlOpenTag):
12279 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12281 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12283 * text2.C: remove some dead code
12285 * tabular.C (GetCellInset): store the last cell checked (gotten)
12287 * tabular.h: add the helper for the speedup
12289 * lyxtext.h: remove some dead code
12291 2001-06-26 The LyX Project <Asger>
12293 * paragraph.C: Change export to LaTeX of alignment to
12294 \begin{center} and family for better roundtrip work with reLyX.
12296 * Tune the math drawing a bit.
12298 2001-06-25 The LyX Project <Asger>
12300 * LColor.C (LColor): New color for math background. New color
12303 2001-06-25 The LyX Project <jug@sad.it>
12305 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12307 * lyxfunc.C (Open):
12308 * bufferlist.C (newFile): do not restrict to files ending with
12311 * BufferView_pimpl.C (MenuInsertLyXFile):
12313 2001-06-24 The LyX Project <jug@sad.it>
12315 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12318 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12320 * lyxtext.h: rename most methods to begin with a small char.
12321 Lots of changes because of this.
12323 * paragraph.C (Paragraph): do not call fitToSize
12324 (erase): call Pimpl::erase
12325 (insertChar): call Pimpl::insertChar
12326 (insertInset): call Pipl::insertInset
12327 (breakParagraph): do not call fitToSize
12328 (breakParagraphConservative): do not call fitToSize
12329 (fitToSize): remove method
12331 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12333 2001-06-24 The LyX Project <Asger>
12335 * Fix Qt compilation^2
12337 2001-06-24 The LyX Project <jug@sad.it>
12339 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12340 depthHook(getDepth()-1).
12343 * ParagraphParameters.h:
12344 * ParameterStruct.h: change type of depth to unsigned int ==
12345 depth_type. Many adaptations to other files before of that.
12347 2001-06-24 The LyX Project <Asger>
12349 * Fix Qt compilation.
12351 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12353 * paragraph.h: renamed several methods to begin with small letter.
12354 several changes to many parts of the code because of this.
12356 2001-06-23 The LyX Project <jug@sad.it>
12358 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12359 rewritten to discard all double spaces when KeepEmpty is off
12360 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12361 to only handle newlines but not fiddle with spaces and friends.
12363 * lyxfunc.C (MenuNew): when doing 'new from template', use
12364 template_path as default directory
12366 2001-06-23 The LyX Project <Asger>
12368 * Clean-up of header file includes all over
12369 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12371 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12373 * paragraph.h: renamed from lyxparagraph.h
12375 2001-06-23 Asger <lyx@violet.home.sad.it>
12377 * Buffer.h: Removed Buffer::resize
12378 * BufferList.h: Removed BufferList::resize
12379 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12380 the document lazily when we change the width, or the font settings.
12382 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12384 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12386 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12388 * buffer.h: remove out of date comment
12390 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12393 * screen.C: fix "theoretical" GC leak
12395 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12397 * LaTeX.C (scanAuxFile):
12398 (deplog): remove trailing \r when reading stream (useful under
12401 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12403 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12404 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12405 and BufferView::theLockingInset(Inset*), so should use them and not
12406 access bv_->text->the_locking_inset directly.
12408 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12410 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12413 * tex-defs.h: remove old unused file
12415 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12417 * BufferView_pimpl.C: fix typo, remove minibuffer message
12418 when buffer has loaded
12420 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12422 * lyxfunc.C (Dispatch): use stringstream
12423 (MenuNew): use stringstream
12424 (Open): use stringstream
12426 * importer.C (Import): use stringstream
12428 * bufferview_funcs.C (CurrentState): use stringstream
12430 * LaTeX.C (run): use stringstream
12432 * BufferView_pimpl.C (savePosition): use stringstream
12433 (restorePosition): use stringstream
12434 (MenuInsertLyXFile): use stringstream
12436 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12449 * vspace.C: removed // -*- C++ -*- as first line.
12452 * version.h: added // -*- C++ -*- as first line.
12454 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12456 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12458 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12461 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12463 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12466 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12468 * gettext.C: include LString.h even when --disable-nls is on.
12470 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12472 * converter.h (Get): changed argument type from int to
12473 FormatList::size_type to avoid unnecessary conversion.
12475 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12478 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12480 * gettext.h: include LString.h even when --disable-nls is on.
12482 2001-06-07 Juergen Vigna <jug@sad.it>
12484 * text.C (BreakAgain): subst spaces with tabs.
12486 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12487 (resizeInsetsLyXText): set force on resizeLyXText.
12489 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12491 * gettext.h (gettext_init):
12492 (locale_init): use a real definition instead of a macro
12494 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12496 * Bufferview_pimpl.C:
12498 * LColor.C: further lcolor tidies
12500 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12502 * BufferView_pimpl.C (updateScrollbar): simplify.
12504 * BufferView2.C: don't include insets/insetinfo.h, change
12505 prototype for insertInset and call the Pimpl version. let
12506 updateInset call Pimpl version.
12508 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12509 gotoInset to BufferView::Pimpl
12511 2001-06-01 Juergen Vigna <jug@sad.it>
12513 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12514 inside a LockingInset (is the update needed at all?).
12516 2001-05-31 Juergen Vigna <jug@sad.it>
12518 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12519 here not the old one otherwise how should we compare it afterwards
12522 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12527 * FontInfo.C: bring C functions into global namespace when
12530 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12532 * LString.h: make sure config.h has been loaded before LString.h.
12534 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12535 (one for each char read by EatLine!).
12537 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12540 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12542 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12543 to the same as the par we break from
12545 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12547 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12549 * MenuBackend.C (expand): also create menu entries for wide
12550 versions of the floats.
12552 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12554 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12556 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12557 frontends/Makefile.am
12563 * tabular.C (getTokenValue): add std::
12565 * tabular-old.C (getTokenValue): add std::
12566 (getTokenValue): ditto
12567 (getTokenValue): ditto
12569 * screen.C (ToggleSelection): adjust
12571 * lyxtext.h: put selection cursors inside a Selection struct.
12573 * lyxfunc.C (moveCursorUpdate): adjust
12575 * lyxfont.C (latexWriteStartChanges): add std::
12577 * lyxfind.C: adjust
12579 * font.h: delete with(char const *, LyXFont const &)
12581 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12583 * FontInfo.C (getFontname): add std::
12585 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12586 (workAreaButtonPress): adjust
12587 (tripleClick): adjust
12589 (moveCursorUpdate): adjust
12592 * BufferView2.C (gotoInset): adjust
12594 2001-05-30 Juergen Vigna <jug@sad.it>
12596 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12597 to check pspell I add this as default as I now have new pspell
12598 libraries and they seem to use this.
12600 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12602 * text2.C (CutSelection): make the cursor valid before the call to
12605 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12607 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12608 relied on 0 terminated strings and other horrors. Bug found due to
12609 the new assert in lyxstring!
12611 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12614 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12616 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12619 * lyxfunc.C (processKeySym): change method of getting to the
12622 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12623 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12624 * BufferView_pimpl.[Ch]: here as private methods.
12626 2001-05-28 Juergen Vigna <jug@sad.it>
12628 * text.C (SetHeightOfRow): added the update() call again as it is
12629 needed to initialize inset dimensions!
12631 2001-05-16 Juergen Vigna <jug@sad.it>
12633 * text2.C (SetCharFont): Add new function with BufferView * and
12634 bool toggleall parameters for setting insets internal fonts.
12635 (SetFont): Freeze the undo as we may change fonts in Insets and
12636 all this change should be inside only one Undo!
12638 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12639 setting font's in insets as for them we have the SetFont function!
12641 2001-05-15 Juergen Vigna <jug@sad.it>
12643 * text2.C (ClearSelection): to be sure we REALLY don't have any
12646 * tabular.C (TeXCellPreamble): fixed the left border problem for
12649 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12651 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12654 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12656 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12657 LFUN_BREAKPARAGRAPH.
12659 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12660 help test to "internal only", similar for LFUN_INSERT_URL
12662 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12663 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12664 auto_region_delete and deadkeys.
12666 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12669 * LColor.C: remove some dead entries, tidy a little
12671 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12673 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12675 (Dispatch): implement LFUN_ESCAPE
12677 * commandtags.h: add LFUN_ESCAPE
12679 * LyXAction.C (init): add entry for LFUN_ESCAPE
12681 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12682 Remove commented code.
12683 (insertNote): moved here
12684 (open_new_inset): moved here
12686 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12689 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12691 * kbmap.C (findbinding): clean it up and make it work correctly.
12693 * lyx_main.C (init): do not pass argc and argv as parameters
12695 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12697 * buffer.C: fix path for OS/2 & Win32
12701 * lyx_main.C: Added os:: class.
12703 * os2_defines.h: update
12705 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12707 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12708 better by trying again with reduced state.
12710 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12712 * lyxrc.C (read): print error about invalid key sequence only when
12713 debugging (because not all latinX keysyms are known to some X
12716 * kbsequence.C (getiso): add a few std:: qualifiers
12717 (getiso): comment out extra return statement.
12719 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12721 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12723 (Dispatch): enhance the accent inset a bit. (not perfect)
12725 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12727 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12729 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12731 * bufferlist.C (emergencyWrite): fix assert() call
12733 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12735 * text.C (InsertChar): Added trivial patch to only send the "you
12736 can not do multiple spaces this way" message once during a
12739 2001-05-08 Baruch Even <baruch@lyx.org>
12741 * Makefile.am: Changed order of libraries to get LyX to link properly
12742 with the gnome frontend.
12744 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12746 * LaTeXFeatures.h: add a std:: qualifier
12748 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12750 * paragraph.C (String): use stringstream
12752 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12754 * paragraph.C (writeFile): remove footflag arg
12756 * buffer.C (makeLaTeXFile): use stringstream
12757 (latexParagraphs): remove footnot gurba
12759 * LaTeXFeatures.C (getPackages): use stringstream
12760 (getMacros): likewise
12761 (getTClassPreamble): likewise
12762 (getFloatDefinitions): new method
12764 * paragraph.C (writeFile): reindent
12767 * WorkArea.h: revert the xpos + etc changes.
12769 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12771 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12773 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12774 (pasteSelection): likewise
12775 * text2.C (CreateUndo): likewise
12777 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12779 * minibuffer.C (peek_event): temporarily reduce the functionality
12780 of the minibuffer (to allow args on lfuns)
12782 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12783 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12785 * buffer.C (readInset): add compability reading of old float
12786 lists, add reading of new style float list.
12787 (readInset): avoid reevaluation of inscmd.getCmdName()
12788 (getLists): reindent
12790 * MenuBackend.C (MenuItem): implement parsing of
12791 md_floatlistinsert and md_floatinsert.
12792 (expand::LastFiles): move initalizaton of iterators out of loop,
12793 avoid reevaluation.
12794 (expand::Documents): introduce typdedef vector<string> Strings,
12796 (expand::ExportFormats): introduce typedef vector<Format const *>
12797 Formats, and use it.
12798 (expand): implement FloatListInsert and FloatInsert.
12800 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12801 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12802 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12804 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12806 (Dispatch::LFUN_FLOAT_LIST): implement
12808 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12810 * LaTeX.C (run): Fix problem with --export code.
12812 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12814 * BufferView.[Ch] (workarea): removed.
12815 (getClipboard) new method; wrapper for workarea()->getClipboard()
12817 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12820 * WorkArea.h (width, height, xpos, ypos): These methods all
12821 returned the dimensions of the work_area sub-area of WorkArea,
12822 resulting in a position error if the WorkArea were resized. Now
12823 return the dimensions of the entire WorkArea.
12825 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12827 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12829 * LaTeX.C (deplog): correct the syntax of regex reg1
12831 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12833 * undo.C: remove !NEW_INSETS cruft
12835 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12837 * text2.C: remove !NEW_INSETS cruft
12839 * text.C: remove !NEW_INSETS cruft
12841 * tabular.C: remove !NEW_INSETS cruft
12843 * spellchecker.C: remove !NEW_INSETS cruft
12845 * lyxtext.h: remove !NEW_INSETS cruft
12847 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12849 * lyxfunc.C: remove !NEW_INSETS cruft
12851 * lyxfind.C: remove !NEW_INSETS cruft
12853 * lyx_cb.C: remove !NEW_INSETS cruft
12855 * figureForm.C: remove !NEW_INSETS cruft
12857 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12859 * buffer.[Ch]: remove !NEW_INSETS cruft
12861 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12863 * CutAndPaste.C: remove !NEW_INSETS cruft
12865 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12867 * BufferView2.C: remove !NEW_INSETS cruft
12869 * BufferView.h: remove !NEW_INSETS cruft
12871 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12873 * Lsstream.h: include LString.h before the sstream headers to
12874 fix problem with gcc 2.95.3 and lyxstring
12876 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12878 * lyx_main.C: add using directives when needed for C functions
12879 declared in std:: namespace.
12881 2001-04-27 Juergen Vigna <jug@sad.it>
12883 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12884 (SetHeightOfRow): comment out the update call should not be needed!
12886 2001-04-13 Juergen Vigna <jug@sad.it>
12888 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12889 (LyXTabular): tried to minimize operator= operations (and realized
12890 hopfully Lars wish).
12892 2001-04-27 Juergen Vigna <jug@sad.it>
12894 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12896 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12898 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12900 * buffer.C (readInset): hack to make listof algorithm work
12902 * BufferView_pimpl.C: hack to make listof algorithm work
12904 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12906 * LyXAction.C: removed all !NEW_INSETS cruft
12907 (init): moved lfun_item in method
12909 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12911 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12913 * BufferView2.C (theLockingInset): white space.
12915 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12917 * minibuffer.C: include <iostream>
12919 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12921 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12923 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12925 * text.[Ch] (TransposeChars): new method
12927 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12929 * call message directly through LyXView instead of through LyXFunc
12930 * BufferView2.C: adjust
12931 * BufferView_pimpl.C: adjust
12932 * FontLoader.C: adjust
12934 * bufferview_funcs.C: adjust
12935 * converter.C: adjust
12936 * figureForm.C: adjust
12937 * importer.C: adjust
12939 * lyx_gui_misc.C: adjust
12940 * lyxfunc.C: adjust
12943 + more files in subdirs
12945 * lyxparagraph.h (size): move up int file
12948 * adjust all uses of Assert to lyx::Assert.
12950 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12951 lyxfunctional in namespace lyx
12952 * layout.C (hasLayout): ditto
12955 (delete_layout): ditto
12956 (NumberOfClass): ditto
12957 * converter.C (GetFormat): ditto
12962 * bufferlist.C (getFileNames): ditto
12963 (emergencyWriteAll): ditto
12966 * MenuBackend.C (hasSubmenu): ditto
12969 * BufferView_pimpl.C (getInsetByCode): ditto
12971 2001-04-18 Juergen Vigna <jug@sad.it>
12973 * vspace.C (asLatexString): fixed the 100% problem.
12975 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12977 * lyxfunc.C (Dispatch):
12979 * minibuffer.h: add a few std:: qualifiers
12981 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12983 * minibuffer.[Ch]: reimplement so that commands is initiated and
12984 run from lyxfunc, simplified som handling, and made the completion
12985 and history code for complete. wip.
12987 * lyxfunc.C (processKeySym): call message
12988 (miniDispatch): new temporary method
12989 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12990 (LFUN_MESSAGE): implement
12991 (LFUN_MESSAGE_PUSH): implement
12992 (LFUN_MESSAGE_POP): implement
12993 (initMiniBuffer): the initial/defualt minibuffer message.
12995 * lyxfont.[Ch]: inline some more getters
12997 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12999 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13001 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13002 (AutoSave): use LFUN_MESSAGE
13003 (Reconfigure): ditto
13005 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13007 * figureForm.C: use LFUN_MESSAGE
13009 * converter.C (runLaTeX): use LFUN_MESSAGE
13011 * bufferview_funcs.C: use LFUN_MESSAGE
13013 (changeDepth): ditto
13015 * bufferparams.h: use boost::
13017 * bufferlist.h: inherit privately from noncopyable
13019 * bufferlist.C (loadLyXFile): remove some commented code.
13021 * buffer.C (runChktex): use LFUN_MESSAGE
13023 * ShareContainer.h: inherit privately from noncopyable
13025 * ParagraphParameters.[hC] (depth): inline it.
13027 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13029 (message): new method
13030 (messagePush): ditto
13031 (messagePop): ditto
13032 (show): init minibuffer
13033 (showState): direct call
13035 * LaTeX.[Ch]: inherit privately from noncopyable
13036 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13037 instead of WriteStatus.
13039 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13041 * BufferView_pimpl.C (buffer): don't init minibuffer
13042 (workAreaButtonPress): use LFUN_MESSAGE
13043 (workAreaButtonRelease): ditto
13044 (savePosition): ditto
13045 (restorePosition): ditto
13046 (MenuInsertLyXFile): ditto
13047 (workAreaExpose): don't init minibuffer
13048 (update): remove commented code, simplify
13050 * BufferView2.C (openStuff): use LFUN_MESSAGE
13051 (toggleFloat): ditto
13054 (copyEnvironment): ditto
13055 (pasteEnvironment): ditto
13060 (updateInset): remove some commented code
13062 * lastfiles.h: inherit privately from noncopyable
13065 * lyx_main.h: ditto
13067 * lyxlex_pimpl.h: ditto
13069 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13070 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13071 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13073 * LyXAction.h: inherit privately from noncopyable, add methods
13074 func_begin, func_end, returning iterators to the func map.
13076 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13077 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13078 (func_begin): new method
13079 (func_end): new method
13081 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13083 (copySelection): ditto
13084 (pasteSelection): ditto
13086 * BufferView.C: whitespace change
13087 * BufferView.h: inherit privately from noncopyable
13089 2001-04-16 Allan Rae <rae@lyx.org>
13091 * tabular-old.C (l_getline):
13092 * spellchecker.C (sc_check_word):
13093 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13094 an unrecognised preprocessor directive. So ensure they're wrapped.
13096 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13098 * src/exporter.C (Export): Give an error message when path to file
13101 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13103 * LaTeX.C (deplog): Always check that foundfile exists.
13105 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13108 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13110 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13112 * tabular.[Ch] (getLabelList): implement new method
13114 * minibuffer.h: comment ouf setTiimer
13116 * minibuffer.C (ExecutingCB): constify res
13117 (peek_event): constify s
13118 (Set): constify ntext
13119 (Init): constify nicename
13121 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13123 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13124 (savePosition): use two params to Minibuffer::Set
13125 (restorePosition): ditto
13127 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13129 * lyx_main.C: include language.h
13131 * Makefile.am (lyx_main.o): add language.h
13133 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13139 * CutAndPaste.C: include gettext.h
13141 * lyxfont.h: remove old hack with ON and OFF.
13144 * lyxfont.h: do not include language.h...
13149 * bufferview_funcs.C:
13155 * paragraph.C: ... but do it here instead
13157 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13159 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13161 * tabular.C: small reformat
13163 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13166 (BreakParagraph): ditto
13167 (SetOnlyLayout): ditto
13170 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13173 * lastfiles.C: removed most using decl, add std:: where needed
13175 * buffer.C: ws changes
13177 * MenuBackend.C (class compare_format): put into anon namespace
13178 (expand): constify label, names, action, action2
13181 * text.C (SingleWidth): constify font
13182 (IsBoundary): constify rtl2
13183 (GetVisibleRow): constify ww
13185 * LaTeX.C (deplog): constify logfile
13187 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13189 (workAreaExpose): constify widthChange, heightChange
13191 * lyxrow.C (par): moved
13194 * lyxrow.h: as inlines here
13196 * lyxfont.h (shape): moved from lyxfont.C
13197 (emph): moved from lyxfont.C
13199 * lyxfont.C (LyXFont): use initialization list for all
13201 (shape): move to lyxfont.h as inline
13202 (emph): move to lyxfont.h as inline
13205 2001-04-04 Juergen Vigna <jug@sad.it>
13207 * vspace.C: had to include stdio.h for use of sscanf
13209 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13212 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13213 independent of xforms.
13215 2001-04-02 Juergen Vigna <jug@sad.it>
13217 * spellchecker.C: fixed namespace placing!
13219 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13221 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13222 the LyXParagraph * is 0.
13224 2001-03-29 Juergen Vigna <jug@sad.it>
13226 * vspace.C: added support for %, c%, p%, l%.
13227 (stringFromUnit): added helper function.
13228 (asLatexString): changed to give right results for the %-values.
13230 * buffer.C: convert the widthp in a width%.
13232 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13234 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13237 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13238 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13240 * lyx_cb.[Ch]: see above.
13242 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13246 * lyx.[Ch]: replaced by figure_form.[Ch].
13250 * lyxfunc.C: changed headers associated with above changes.
13252 2001-03-27 Juergen Vigna <jug@sad.it>
13254 * BufferView_pimpl.C: set the temporary cursor right!
13256 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13258 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13260 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13262 * LString.h: removed "using std::getline"!
13264 * BufferView_pimpl.C (Dispatch): changes due to changes in
13265 InsetInclude::Params.
13267 * buffer.C (tag_name): removed redundant break statements as they were
13268 producing lots of warnings with my compiler.
13270 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13272 * LString.h: add "using std::getline" when using the real <string>.
13274 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13276 * buffer.C: removed bitset usage.
13277 PAR_TAG moved to an anonymous name space.
13278 (tag_name): new funtion, also in the anonymous namespace.
13279 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13280 (makeDocBookFile): clean code. Completed transition from string arrays
13282 (SimpleDocBookOnePar): code clean.
13284 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13286 * tabular.C: add some comments.
13288 2001-03-22 Juergen Vigna <jug@sad.it>
13290 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13291 compatibility read a bit and fixed bug with minipage in different
13294 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13296 * buffer.C (pop_tag): removed.
13297 (push_tag): removed.
13298 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13299 array replaced with vector. Added support for CDATA sections.
13300 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13302 (makeDocBookFile): XML conformant declaration of CDATA section,
13303 fixed bug related to <emphasis> in the first paragraph char.
13304 (sgmlOpenTag): exclude empty tags.
13305 (sgmlCloseTag): ditto.
13307 * buffer.h (pop_tag): removed.
13308 (push_tag): removed.
13310 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13312 * language.h (Languages): added size_type and size().
13314 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13316 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13317 response on compability reading of minipages. One probliem is that
13318 the old usage of minipages was «flertydig»
13320 * several files here and in subdirs: don't use static at file
13321 scope use anon namespaces instead.
13323 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13325 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13326 LaTeX output. This is necessary for Literate document
13329 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13331 * buffer.C: insert hfill when needed.
13333 * tabular.C (l_getline): use string::erase, small whitespace change.
13335 * BufferView_pimpl.C: try the anon namespace.
13336 * WorkArea.C: ditto
13338 2001-03-16 Juergen Vigna <jug@sad.it>
13340 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13341 otherwise it won't open options-dialogs.
13343 * buffer.C: honor pextraWidth(p) on converting minipages.
13345 * tabular.C (l_getline): changed the functions to strip trailing \r.
13347 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13349 * BufferView_pimpl.C:
13350 * minibuffer..C: added "using SigC::slot" declaration.
13352 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13354 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13360 * paragraph.C: ditto
13362 * lyxtext.h: NO_PEXTRA
13364 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13366 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13367 * ParameterStruct.h: ditto
13368 * ParagraphParameters.h: ditto
13369 * lyxparagraph.h: ditto
13371 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13373 * buffer.C: add compability for minipage alignment.
13374 (latexParagraphs): remove unwanted pextra check.
13376 * several files: remove CXX_WORKING_NAMESPACES
13378 * buffer.C (pop_tag): tie is in namespace boost
13380 * BufferView.h: noncopyable is in namespace boost
13382 * lyx_main.h: ditto
13385 * lastfiles.h: ditto
13386 * bufferlist.h: ditto
13387 * ShareContainer.h: ditto
13389 * LyXAction.h: ditto
13392 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13394 * Merging changes from BRANCH_MVC back into HEAD.
13396 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13398 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13400 * BufferView_pimpl.C: change from intl.C
13404 * Makefile.am: move combox.*
13410 * intl.C: remove dialog (covered by prefs)
13412 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13414 * lyxfunc.C (Dispatch): removed redundant break statement.
13416 2001-03-14 Juergen Vigna <jug@sad.it>
13418 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13420 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13422 * buffer.C: add hack to fix compability reading of minipages.
13424 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13426 * buffer.C (getLists): Cleanup.
13428 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13430 * lyxfont.C (update): don't honor toggleall on font size.
13432 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13436 * Makefile.am: moved to frontends/xforms/
13440 * BufferView_pimpl.C: changes for moved mathpanel
13442 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13444 * gettext.h: fix gettext_init() in --disable-nls
13446 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13448 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13450 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13453 * lyx.h: strip external form
13455 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13457 * BufferView_pimpl.C: add comment, destroySplash()
13459 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13461 * BufferView_pimpl.C:
13465 * lyxfunc.C: use re-worked insetinclude
13467 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13469 * buffer.C: add using std::stringstream.
13471 * lyx_cb.C: readd using std::ios.
13473 * buffer.C: add using std::map.
13475 * BufferView_pimpl.C: add using std::vector.
13477 * ShareContainer.h: add std:: to swap.
13479 * buffer.h: add some typedefs
13480 * buffer.C (getLists): use them
13481 (getLists): renamed from getTocList.
13482 add a counter for the different float types and use it in the
13484 (getLists): use the same counter for the NEW_INSETS and the "non"
13487 * lyx_cb.h: remove unused items, includes, using etc.
13489 * ShareContainer.h: remove some commented code, add more comments
13490 and "documentation".
13492 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13494 * buffer.C (getTocList): make the list also when NEW_INSETS is
13497 * buffer.h: remove TocType
13499 * buffer.C (getTocList): change to return a map<string,
13500 vector<TocItem> >, implement for dynamic number of list.
13502 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13503 * text2.C (PasteSelection): adjust
13504 * CutAndPaste.C (pasteSelection): adjust
13506 * FloatList.C (FloatList): update from the new_insets branch.
13507 * Floating.[Ch]: ditto
13508 * LaTeXFeatures.C: ditto
13510 * lyxlex_pimpl.C: ditto
13512 * paragraph.C (Last): remove when NEW_INSETS is defined.
13514 * other file: changes because of the above.
13516 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13518 * lyxparagraph.h: rename next to next_, previous to previous_,
13519 make them private for NEW_INSETS. Rename Next() to next(),
13520 Previous() to previous().
13522 * other files: changes because of the above.
13524 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13527 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13530 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13532 * main.C (main): pass lyx_localedir to gettext_init().
13534 * gettext.h: remove locale_init and gettext_init macros
13536 * gettext.C (locale_init): new function
13537 (gettext_init): new function
13539 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13542 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13544 * Moved credits to frontends:
13545 * credits.[Ch]: removed
13546 * credits_form.[Ch]: removed
13547 * lyx_gui_misc.C: remove credits stuff
13550 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13552 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13554 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13555 unneeded destructor.
13557 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13558 a standalone pointer again.
13560 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13562 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13568 * ToolbarDefaults.C:
13577 * BufferView_pimpl.C: use new file dialog in GUII
13580 * lyx_cb.C: remove LayoutsCB to Toolbar
13582 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13584 * ShareContainer.h (get): add std:: qualifier
13586 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13588 * ShareContainer.h: define a proper ShareContainer::value_type
13589 type (and use typename to please compaq cxx)
13591 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13593 * lyxparagraph.h: move serveral local vars to
13594 ParameterStruct/ParagraphParameters., use ShareContainer in
13595 FontTable., make vars in FontTable private and add getter and
13598 * paragraph.C: changes because of the above.
13600 * lyxfont.h: remove copy constructor and copy assignment. (the
13601 default ones is ok), move number inside FontBits. move inlines to
13604 * lyxfont.C: add number to initializaton of statics, move several
13605 inlines here. constify several local vars. some whitespace
13606 cleanup. Dont hide outerscope variables.
13608 * Spacing.h: add two new constructors to match the set methods.
13610 * ShareContainer.h: new file, will perhaps be moved to support
13612 * ParameterStruct.h: new file
13614 * ParagraphParameters.h: new file
13616 * ParagraphParameters.C: new file
13618 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13619 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13621 * BufferView_pimpl.C: ParagraphParameter changes.
13622 * buffer.C: Likewise.
13623 * bufferview_funcs.C: Likewise.
13624 * text.C: Likewise.
13625 * text2.C: Likewise.
13627 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13629 * lyxfind.C (LyXReplace): do not redefine default argument in
13631 (IsStringInText): ditto
13632 (SearchForward): ditto
13633 (SearchBackward): ditto
13635 2001-03-06 Juergen Vigna <jug@sad.it>
13637 * lyxfind.C (IsStringInText): put parentes around expressions.
13639 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13641 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13643 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13645 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13647 * stl_string_fwd.h: add comment
13649 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13652 * tabular.C: remove unused DocBook methods
13658 killed DO_USE_DEFAULT_LANGUAGE
13660 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13662 * lyx_gui.C: do not include language.h.
13664 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13665 arguments in function implementation.
13667 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13669 * BufferView_pimpl.C: add <ctime>
13671 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13673 * BufferView_pimpl.C: add using std::find_if
13675 2001-02-27 José Matos <jamatos@fep.up.pt>
13677 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13680 2001-02-11 José Matos <jamatos@fep.up.pt>
13682 * buffer.C (makeDocBookFile): command styles now have a parameter as
13683 "title" by default.
13685 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13687 * layout_forms.[Ch]: removed
13688 * lyx_cb.[Ch]: out character
13689 * lyx_gui.C: out character
13690 * lyx_gui_misc.C: out character
13691 * bufferview_funcs.C: : out character,
13692 added toggleall as parameter in ToggleAndShow
13694 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13696 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13698 * text2.C (SetCurrentFont): Disable number property at boundary.
13700 2001-02-26 Juergen Vigna <jug@sad.it>
13702 * lyxfunc.C (getStatus): added a string argument override function so
13703 that this is correctly called from LyXFunc::Dispatch if it contains a
13704 do_not_use_argument which is used!
13705 (Dispatch): added check for "custom" export and call appropriate func.
13707 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13709 * lyxrc.C: Add language_command_local, language_use_babel and
13710 language_global_options.
13712 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13714 * buffer.C (makeLaTeXFile): Use language_use_babel and
13715 language_global_options.
13717 2001-02-23 Juergen Vigna <jug@sad.it>
13719 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13720 which works with LyXText and putted it inside BufferView. Here now we
13721 only call for that part the BufferView::Dispatch() function.
13723 * BufferView.C (Dispatch): added.
13725 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13726 functions which needs to use a LyXText over from LyXFunc.
13727 (MenuInsertLyXFile): added
13728 (getInsetByCode): added
13729 (moveCursorUpdate): added
13730 (static TEXT): added
13732 2001-02-22 Juergen Vigna <jug@sad.it>
13734 * BufferView_pimpl.C (update): call a status update to see if LyXText
13737 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13739 * vc-backend.C (revert): implement for CVS
13740 (getLog): implement for CVS
13742 2001-02-20 Juergen Vigna <jug@sad.it>
13744 * text2.C (ClearSelection): added BufferView param for inset_owner call
13746 * lyxfunc.C (TEXT): added this function and use it instead of
13747 directly owner->view()-text of getLyXText().
13749 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13751 * src/layout_forms.C: out preamble
13752 * src/layout_forms.h: out preamble
13753 * src/lyx_cb.C: out preamble
13754 * src/lyx_cb.h: out preamble
13755 * src/lyx_gui.C: out preamble
13756 * src/lyx_gui_misc.C: out preamble
13757 * src/lyxfunc.C: connect with guii preamble
13759 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13761 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13763 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13765 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13766 whether to run bibtex.
13768 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13770 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13772 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13774 * Makefile.am (lyx_SOURCES): removed bibforms.h
13776 * vspace.h: doxygen
13778 * text.C (GetVisibleRow): make several local vars const
13780 * tabular.C: small cleanup.
13782 * lyxserver.C (callback): use compare instead of strncmp
13784 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13785 inlines to after class or to paragraph.C
13787 * lyxfont.h: remove friend operator!=
13789 * converter.h: move friend bool operator< to non friend and after
13792 * combox.h: small cleanup
13794 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13795 to inlines after class def.
13797 * buffer.C (pop_tag): use string operations instead of strcmp
13799 * bmtable.c: doxygen, small cleanup
13801 * LaTeX.h: remove friend operator==
13803 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13815 * BufferView_pimpl.C:
13816 * BufferView.[Ch]: remove cruft
13818 2001-02-14 Juergen Vigna <jug@sad.it>
13820 * lyxfunc.C: removed #if 0 unused code
13822 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13824 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13826 * text2.C (SetSelection): added a BufferView * parameter
13828 2001-02-13 Juergen Vigna <jug@sad.it>
13830 * lyxfunc.C (Dispatch): fixed protected blank problem.
13831 * BufferView2.C (protectedBlank): added LyxText * parameter.
13833 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13834 (AppendColumn): same as above for column_info.
13836 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13837 (moveCursorUpdate): use a LyXText param for support of InsetText.
13839 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13840 (tripleClick): ditto
13842 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13844 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13846 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13848 * text2.C (SetSelection): set correct update status if inset_owner
13849 (ToggleFree): ditto
13851 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13853 * tabular.C: remove some commented code.
13855 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13857 * BufferView_pimpl.C: call hideSplash()
13859 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13862 * bibforms.h: remove
13865 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13866 add LFUN_CHILD_CREATE
13868 * counters.h: fix tiny typo
13873 * lyx.C: move splash to frontends/xforms/
13875 * lyx_gui_misc.C: move Include and Bibform to frontends
13877 * lyxvc.h: clarify comment
13879 * vspace.C: tiny housekeeping
13881 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13883 * text.C (PrepareToPrint): RTL Fix.
13885 * paragraph.C (GetUChar): New method.
13886 (String): Use GetUChar.
13888 * buffer.C (asciiParagraph): Use GetUChar.
13890 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13892 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13894 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13897 * buffer.C: rename to getLogName(), handle
13898 build log / latex log nicely
13900 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13903 * MenuBackend.h: remove support for reference menuitem type.
13905 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13907 * BufferView_pimpl.C: housekeeping
13908 * BufferView_pimpl.h:
13913 * minibuffer.h: move Timeout GUI-I
13915 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13917 * lyxrc.C (read): Update converters data-structures.
13919 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13921 * LaTeX.h (operator!=): add operator != for Aux_Info
13923 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13925 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13927 * LaTeXLog.C: deleted, useful code moved to Buffer
13930 * buffer.C: new function getLatexLogName()
13936 * lyxfunc.C: use frontends for LaTeX and VC logs
13938 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13940 * LaTeX.h: yet another std:: that Allan forgot.
13942 * Variables.C (set): renamed from isset(), because this clashes
13943 with some HP-UX macros (grr).
13945 2001-02-06 Allan Rae <rae@lyx.org>
13947 * LaTeX.h: Another bug fix. Missing std:: this time.
13949 2001-02-04 Allan Rae <rae@lyx.org>
13951 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13952 floats problem. I've left it commented out because it's not quite
13953 correct. It should also test that the current object is a table or
13954 figure inset. But I haven't gotten around to figuring out how to do
13955 that. I *think* it'll be something like: "table" == inset.type()
13957 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13960 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13962 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13963 all the citation/databases/styles in the auxilary file.
13964 (run): Rerun latex if there was a babel language error.
13966 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13968 * text.C (Backspace): Preserve the font when changing newline char
13970 (BreakParagraph): If the cursor is before a space, delete the space.
13972 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13974 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13976 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13977 new argument (code).
13978 (ChangeCitationsIfUnique): New method.
13980 * paragraph.C (GetPositionOfInset): Handle bibkey.
13982 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13984 * BufferView_pimpl.h: change type of Position::par_pos to
13985 LyXParagraph::size_type.
13987 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13989 * BufferView_pimpl.C (savePosition, restorePosition): Write
13990 messages to minibuffer.
13992 2001-01-28 José Matos <jamatos@fep.up.pt>
13994 * buffer.C (makeDocBookFile): adds support for document language.
13995 A silly restriction on the name of LatexCommand types where removed.
13996 Added support for CDATA sections, allows to chars unescaped, used
13997 among others in code, to avoid escape < and >.
13999 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14001 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14002 saved positions instrad of a stack. Furthermore, a position is
14003 stored using paragraph id/paragraph position.
14005 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14006 Remove LFUN_REF_BACK.
14008 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14010 * converter.C (dvipdfm_options): New method.
14012 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14014 * vspace.C (isValidLength): Fix for empty input string.
14016 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14018 * LyXAction.C (init): change description of LFUN_FIGURE to
14021 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14023 * LaTeX.C: add using directive
14025 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14027 * MenuBackend.C (expand): Fix the sorting of the formats.
14029 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14031 * lyx_main.C: tiny error message fix
14033 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14035 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14036 calling fl_initialize(). This fixes the problem with ',' as
14037 decimal separator in text files.
14039 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14041 * trans.C (process): Fix the keymap bug.
14043 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14045 * LaTeX.C (scanAuxFiles): New method. Provides support for
14046 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14047 (scanLogFile) Scan for "run BibTeX" messages.
14049 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14050 OT1 font encoding. Also, load the aecompl package if the ae
14053 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14055 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14057 * texrow.C (increasePos): turn two error messages into debug
14060 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14062 * LaTeX.C (scanAux): Handle the \@input macro.
14063 (runBibTeX): Use scanAux().
14065 * language.C (latex_options_): New field.
14067 * LaTeXFeatures.C (getMacros): Add language macros.
14069 * buffer.C (makeLaTeXFile): Small fix.
14071 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14073 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14075 * text2.C: add a using directive.
14077 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14082 * lyxfunc.C: kill LyXBell.
14084 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14086 * text.C (IsBoundary): Remove the error message
14088 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14090 * lyxrc.C (setDefaults): Correct initialization value for
14093 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14095 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14098 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14099 and GotoNextNote().
14101 * src/LyXAction.C: Added reference-next.
14103 * text.C (InsertChar): Use contains instead of strchr.
14105 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14107 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14109 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14110 alignment commands (when needed).
14112 * text.C (InsertChar): Add ':' to number separator chars.