1 2003-12-01 John Levon <levon@movementarian.org>
3 * BufferView_pimpl.C: fix a crash on exit with
6 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
8 * BranchList.C: fix setSelected() method.
10 2003-11-28 André Pönitz <poenitz@gmx.net>
12 * ParagraphParameters.[Ch]:
13 * ParameterStruct.h: remove space above/below from Paragraph to
28 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
30 * factory.C: Syntax change for CharStyles
32 2003-11-28 André Pönitz <poenitz@gmx.net>
37 * buffer.[Ch]: move LyXText member
39 2003-11-28 André Pönitz <poenitz@gmx.net>
41 * BufferView.[Ch]: make LyXText * text a private member
54 * output_plaintext.C: cleanup
56 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
59 * lyxtextclass.[Ch]: parametrize SGML document header
61 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
64 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
67 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
69 * text2.C (setFont): rework using PosIterator (no more recursive)
70 (setCharFont): no more needed
71 (setLayout): no more selection cursors fiddling (done by redoCursor)
72 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
73 destroy remaining ones)
75 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
77 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
79 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
82 * text3.C: adjust + re-allow multi par depth changes
83 * textcursor.C: simplify a bit
85 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
91 * src/output_docbook.C:
97 * src/text2.C: Introducing a number of tags parametrizing various
98 XML formats that we may want to support
100 2003-11-25 André Pönitz <poenitz@gmx.net>
102 * InsetList.[Ch] (begein, end): inline as suggested by profiler
104 * lyxtext.h (leftMargin/rightMargin): simplify interface
111 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
113 * lyxfunc.C (dispatch): propogate the bibtex databases from the
114 master file to any child files. Fixes bug 546.
116 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
118 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
120 2003-11-24 André Pönitz <poenitz@gmx.net>
122 * rowpainter.C: simplification
124 * text2.C (updateCounters): remove call to redoParagraph on
125 changed labels as this is far too expensive.
127 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
129 * converter.C (convert): fix a crash: this function gets
130 called with buffer == 0 from importer code.
132 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
134 * text3.C (cursorPrevious): make sure that we do not compare
135 iterators form different containers.
138 * rowpainter.C (paintSelection): make sure that we do not compare
139 iterators from different containers.
141 * text3.C (dispatch): [PRIOR] make sure that we do not compare
142 iterators from different ParagraphList containers.
145 * text2.C (LyXText): change order of initialization slightly
146 (operator=): new function. copy all variables except cache_par_
147 (moveUp): make sure that we do not compare iterators from
148 different ParagraphList constainers.
151 * text.C (firstPar): new function
152 (lastPar): new function
153 (endPar): new function
155 * lyxtext.h: move things around and group public functions, public
156 variables, private functions, private variables
158 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
160 * factory.C: change call to InsetERT constructor to avoid
161 additional invocation of method status
162 * text2.C (toggleInset): remove redundant update() call
163 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
164 instead of a Bufferview pointer
166 2003-11-21 André Pönitz <poenitz@gmx.net>
168 * rowpainter.C: simplification
170 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
172 * text3.C (dispatch): make possible to extend a word/row selection
175 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
177 * lyxtext.h: x0_,y0_ -> xo_,yo_
178 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
179 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
180 * rowpainter.C (paintRows): paint full paragraphs
182 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
184 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
187 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
189 * lyxtext.h: add x0_, y0_
190 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
191 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
193 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
195 * text2.C (setCursorIntern): move the x_target update here *
196 * text3.C: change some bv() to true/false in calls to
197 cursorUp/Down/Right/Left
198 * cursor.C: use helper function.
200 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
202 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
203 * paragraph_funcs.[Ch]: correct comment
204 * rowpainter.C: do not paint selections away from bv->cursor()
205 Fix a long standing selection painting bug.
206 * text3.C: generalize mouse-selection code to LyXTexts other that
208 * textcursor.C: do not use y coords if we can use par offsets
210 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
212 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
213 cursor position after e.g. inset insert)
215 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
217 * lyxfind.C (replace): adjust to locking removal + some
220 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
222 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
225 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
228 * output_docbook.C: XML sanitation: new layout
229 parameters InnerTag and CommandDepth
231 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
233 * BufferView_pimpl.C:
235 * text3.C: Fix the insertion and modification of button-style
238 2003-11-13 André Pönitz <poenitz@gmx.net>
240 * InsetList.[Ch]: remove deleteLyXText
242 * paragraph.[Ch]: cache beginOfBody position
247 * text3.C: remove superfluous update() calls
251 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
253 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
254 * BufferView.C (fitLockedInsetCursor): remove
255 * cursor.[Ch] (getDim): add
256 * text.C (getRowNearY): add faster version
257 * text3.C: remove some update calls
259 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
271 * text3.C: The Character Style /XML short element patch.
273 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
276 * factory.C: Small step to solving 'unable to insert some insets'
279 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
281 * cursor.[Ch] (updatePos): new function for updating the y
282 position of the tip inset
283 * bufferview_funcs.C (put_selection_at):
284 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
286 2003-11-11 André Pönitz <poenitz@gmx.net>
288 * text.C: remove big comment on invalid Paragraph pointers as it is
291 2003-11-11 André Pönitz <poenitz@gmx.net>
293 * text_funcs.[Ch]: merge with ...
301 * Makefile.am: remove text_funcs.[Ch]
303 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
305 * cursor.C (getPos): return absolute cached y coord
307 * BufferView_pimpl.C (fitCursor): new simplistic code
308 (workAreaDispatch): add a fitCursor call
310 2003-11-10 André Pönitz <poenitz@gmx.net>
313 * BufferView_pimpl.[Ch]: merge update() and updateInset()
315 2003-11-10 André Pönitz <poenitz@gmx.net>
317 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
318 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
319 indicate that the cursor needs to leave an inset
321 * lyxtext.h: remove inset locking
323 * cursor.[Ch]: re-implement functionality provided by inset locking
326 * BufferView_pimpl.[Ch]:
328 * bufferview_funcs.[Ch]:
340 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
342 * PosIterator.[Ch]: replace the stack with a vector, add inset
344 * iterators.[C]: adjust
346 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
348 * lyxfind.C (replaceAll): mark the buffer dirty if something was
350 * paragraph_funcs.C (readParToken): put the correct id in the
351 error item, not the id of the top paragraph
353 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
355 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
356 * bufferview_funcs.C (put_selection_at): use the above
358 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
360 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
362 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
365 * output_plaintext.h:
367 * output_docbook.h: add #include statements
369 2003-11-05 José Matos <jamatos@lyx.org>
371 * output_docbook.[Ch]:
373 * output_linuxdoc.[Ch]:
374 * output_plaintext.[Ch]: New files for output formats.
375 * output.[Ch]: New file for helper functions.
378 * paragraph_funcs.[Ch]: output functions moved to new files.
380 * outputparams.h: rename of latexrunparams.h
388 * paragraph_funcs.[Ch]:
389 * paragraph_pimpl.[Ch]:
390 * tabular.[Ch]: rename ascii to plaintext
391 and LatexRunParams to OutputParams.
393 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
395 * iterators.[Ch] (text): require bv argument
396 * undo.C (recordUndo):
397 * lyxfunc.C (dispatch):
398 * bufferview_funcs.C (put_selection_at): adjust
400 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
402 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
404 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
406 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
409 2003-11-04 André Pönitz <poenitz@gmx.net>
411 * cursor.[Ch]: restructure
414 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
416 * iterators.[Ch] (asCursor): remove
418 * lfuns.h: remove LFUN_INSET_EDIT
424 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
426 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
428 * lyxfind.[Ch]: complete overhaul
429 * BufferView_pimpl.C:
431 * paragraph.[Ch] (insert): add
433 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
437 * text.C: remove dead spellcheck code
439 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
441 * dispatchresult.h: add a val setter
443 * cursor.C (dispatch): use a tempvar for data_[i]
445 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
447 * PosIterator.[Ch]: compile fix
449 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
451 * text.C (cursorPar): deactivate the cursor cache
453 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
455 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
457 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
459 * text3.C (dispatch): adjust for new DisptchResult semantics.
461 * lyxfunc.C (dispatch): handle update when return from
462 Cursor::dispatch, adjust for new DispatchResult semantics.
464 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
465 DispatchResult(true) mean to not update. Add class functions for
466 setting dispatched and update, as well as reading.
468 * cursor.C (dispatch): don't handle update here
470 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
472 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
473 * trans_mgr.C: adjust
475 * paragraph_funcs.C (readParToken): exception safety
477 * lyxvc.h: store the vcs pointer in a scoped_ptr
480 * lyxsocket.C (serverCallback): exception safety
482 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
484 * ispell.C (clone): make it return a auto_ptr
486 * factory.C (createInset): exception safety
487 (readInset): exception safety
489 * bufferlist.C (newBuffer): exception safety
491 * Thesaurus.C (Thesaurus): use initialization for aik_
493 * MenuBackend.C (expandToc): exception safety.
495 2003-11-03 André Pönitz <poenitz@gmx.net>
499 * bufferview_funcs.C: remove getInsetFromId()
502 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
508 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
510 * PosIterator.C (distance, advance): new
511 * bufferview_funcs.[Ch] (put_selection_at): new
512 * iterators.[Ch] (lockPath): new
514 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
516 * iterators.[Ch] (asPosIterator): added
517 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
518 * PosIterator.[Ch]: added
520 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
524 * cursor.C (dispatch):
525 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
527 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
528 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
529 contructor, add a class function dispatched. Remove operator>=
531 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
533 * debug.C: only use the default constructor for debugstream
536 * main.C (main): include debug.h and setup the lyxerr streambuf
539 2003-10-31 José Matos <jamatos@lyx.org>
541 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
543 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
544 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
545 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
546 * paragraph_pimpl.C (simpleTeXSpecialC):
547 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
548 add LatexRunParams argument.
550 * exporter.C (Export): change call accordingly.
552 * latexrunparams.h: add new member to take care of the other backends.
553 2003-10-30 José Matos <jamatos@lyx.org>
555 * buffer.C (makeLinuxDocFile, makeDocBookFile):
556 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
557 factorise code for paragraph output.
559 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
562 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
564 * text3.C (dispatch):
565 * lyxfunc.C (dispatch):
566 * cursor.C (dispatch):
567 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
569 * dispatchresult.h: make the dispatch_result_t ctor explicit
571 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
574 * buffer.C: small refactoring of docbook stuff
576 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
578 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
581 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
583 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
584 operator dispatch_result_t, and operators for == != and >=
586 * cursor.C (dispatch): adjust for operator dispatch_result_t
587 removal. comment out call to update
589 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
591 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
599 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
602 * dispatchresult.h: new file, DispatchResult broken out of
605 * Makefile.am (lyx_SOURCES): add dispatchresult.h
607 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
609 * text.C (rowBreakPoint): put a hack inside #if 0
611 2003-10-28 André Pönitz <poenitz@gmx.net>
618 * text2.C: general cleanup (lots of small stuff)
620 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
622 * text2.C (cursorEnd): simple fix to the "end key goes to one
623 before the end on last row" bug
625 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
627 * text.C (backspace): fix the "zombie characters"
629 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
631 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
633 2003-10-27 André Pönitz <poenitz@gmx.net>
635 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
637 * factory.C: handle new InsetPagebreak, InsetLine
639 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
640 and move handling into new InsetPagebreak, InsetLine
642 * BufferView_pimpl.C:
644 * ParagraphParameters.C:
657 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
666 * text3.C: remove lastPos uses in favour of Row::endpos
668 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
670 * undo.C (performUndoOrRedo): fix two crashes by setting a
671 cursor by hand and reordering some calls. Use bv->lockInset instead
672 of inset->edit because the latter loses cursor information
674 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
676 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
678 (rowBreakPoint): fix width. change point to point + 1.
681 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
684 * lyxfunc.C: fix (at least partly) the problems
685 with the Nav menu and headers inside branch insets
688 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
690 * paragraph.C (getChar): add strong asserts
692 * lyxrow_funcs.C (lastPos): remove hideous hack
694 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
695 (fill): adjust to that (avoid an infinite loop)
697 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
699 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
701 2003-10-23 André Pönitz <poenitz@gmx.net>
703 * RowList_fwd.h: change list<> to vector<> to gain speed
704 after suggestion from Alfredo
706 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
708 * lyxtext.h: move the bidi stuff from here...
711 * Bidi.[Ch]: ... to here
713 2003-10-23 André Pönitz <poenitz@gmx.net>
716 * text.C (isLastRow, isFirstRow): new functions
718 * paragraph.h: new width cache member
720 * rowpainter.C: replace RowList::iterator with Row & where possible
722 * lyxfunc.C: replace several view()->text with a single call
724 * toc.C: fix 'unused' warning
726 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
728 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
729 when woring with stream::pos_type
730 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
732 2003-10-22 André Pönitz <poenitz@gmx.net>
735 * text.C: use Row & instead of RowList::iterator
737 * lyxrow.h: rename end() to endpos()
743 2003-10-22 Angus Leeming <leeming@lyx.org>
745 * buffer.[Ch] (fully_loaded): new member function, returning true
746 only when the file has been loaded fully.
747 Used to prevent the premature generation of previews and by the
748 citation inset to prevent computation of the natbib-style label.
750 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
751 templates are all set up.
753 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
755 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
757 * text.C: fixed an "oops" in the "is a bit silly"
760 2003-10-21 André Pönitz <poenitz@gmx.net>
762 * FuncStatus.[Ch]: small stuff, whitespace
764 * lyxfont.[Ch]: operator<<() for debug reasons
768 * lyxtext.h: whitespace, spelling
770 * paragraph.C: naming of variables
773 * text2.C: small stuff
776 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
778 * text.C: (1) finish off the inset display() work;
779 (2) fix the "is a bit silly" bug (accessing char
782 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
784 * text.C: re-introduce display() for insets, fixing the
785 various bugs (stretch of line above, math inset
788 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
790 * text.C (rightMargin): remove spurious semicolon
792 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
795 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
797 * text3.C: fix one crash due to wrong cursor def
799 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
801 * vc-backend.C (scanMaster): make the regex static
803 * LaTeX.C (scanAuxFile): make the regexs static
805 * text3.C (doInsertInset, dispatch, dispatch):
806 * text2.C (cursorUp, cursorDown):
807 * text.C (selectNextWordToSpellcheck):
808 * BufferView_pimpl.C (dispatch):
809 * lyxfunc.C (dispatch): localDispatch -> dispatch
811 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
813 * lyxsocket.C: include <cerrno>
815 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
817 * lyxfunc.C (dispatch): remove textcache stuff
819 * bufferlist.C (release): remove textcache stuff
822 * TextCache.C: delete file
823 * TextCache.h: delete file
825 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
827 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
828 delete of the bv_->text.
829 (resizeCurrentBuffer): remove texcache stuff
830 (workAreaResize): ditto
832 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
834 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
837 2003-10-16 André Pönitz <poenitz@gmx.net>
844 * text3.C: speed up by storing y positions per paragraph plus per-row
845 offset instead of having a 'full' y position in the row.
847 2003-10-15 André Pönitz <poenitz@gmx.net>
851 * undo.[Ch]: make undo aware of inner insets
853 2003-10-14 Angus Leeming <leeming@lyx.org>
855 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
856 static member functions LyX::ref() and LyX::cref.
857 (lastfiles): new accessor functions for the new lastfiles_ member var.
858 (addLyXView, views_): add a new LyXView to the list of views_.
859 (updateInset): loop over all LyXViews to call their own updateInset
860 member function, returning a pointer to the Buffer owning the inset.
862 * BufferView_pimpl.C (loadLyXFile):
863 * MenuBackend.C (expandLastfiles):
864 * bufferlist.C (MenuWrite, QuitLyX):
865 lastfiles is no longer a global variable.
866 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
868 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
869 static function. Access through LyX::cref().emergencyCleanup().
871 2003-10-14 André Pönitz <poenitz@gmx.net>
873 * iterators.[Ch]: new direct access to innermost LyXText and Inset
875 * undo.[Ch]: restoring part of 'undo in insets'
878 * undo_funcs.[Ch]: merge with undo.[Ch]
880 * tabular.C: small cleansing stuff
882 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
884 * paragraph_funcs.C (readParToken): report unknown insets as error
885 boxes. Use the outer paragraph as location (also for unknown
888 * factory.C (readInset): do not abort on reading an unknown inset.
891 2003-10-13 Angus Leeming <leeming@lyx.org>
893 * lyx_main.C (LyX): remove call to setDisplayTranslator().
895 * lyxrc.C: displayTranslator is now a function,
896 declared in GraphicsTypes.h.
898 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
900 * format.C: new placeholder $$a to pass the socket address.
902 * bufferlist.[Ch]: new function getBufferFromTmp.
904 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
905 files in the temporary dir.
907 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
909 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
911 * Makefile.am: add lyxsocket.[Ch].
913 * lyx_main.C (error_handler): handle SIGPIPE.
915 2003-10-13 André Pönitz <poenitz@gmx.net>
917 * BufferView_pimpl.C:
922 * undo_funcs.[Ch]: use paroffset_type instead of
923 ParagraphList::iterators to prevent multiple conversion
924 (and get a more robust interface)
926 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
928 * lyxfunc.C (dispatch): RESULT -> dispatch_result
930 * text3.C (dispatch): ditto
932 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
934 * LaTeX.C (handleFoundFile): move the static to smaller scope,
935 move the onlyfile, use onlyfile instead of foundfile in a couple
938 * DepTable.C (update): flush the error stream a bit more
940 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
942 * lyxserver.C (callback): adjust
944 * lyxfunc.C (getStatus): add a missing brace in commented code
945 (ensureBufferClean): reindent
946 (dispatch): delete version taking a string
948 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
950 * LaTeX.C (deplog): move found file handlig from here...
951 (handleFoundFile): .. to new function here.
952 (deplog): make sure to discover several files mentioned on the
955 2003-10-10 André Pönitz <poenitz@gmx.net>
962 * text3.C: fix some of the tabular crashes
964 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
966 * MenuBackend.C (binding): put debug message into Debug::KBMAP
968 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
970 2003-10-09 André Pönitz <poenitz@gmx.net>
972 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
975 * BufferView_pimpl.C:
976 * bufferview_funcs.C:
987 * undo_funcs.C: adjust
989 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
991 * text2.C (incrementItemDepth): new function, use a backtracking
992 algorithm to discover the correct item depth.
993 (resetEnumCounterIfNeeded): new function, use a backtracking
994 algorithm to discover if counter reset is needed.
995 (setCounter): use them. Simplify a bit. Add different labels for
996 different item depths for itemize.
998 * paragraph.C (Paragraph): remove initialization of enumdepth
1001 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1002 enumerate and itemize. Change the type of itemdepth to signed char.
1004 2003-10-08 André Pönitz <poenitz@gmx.net>
1006 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1011 * tabular.[Ch]: fix crash after 'row-insert'
1013 2003-10-08 Angus Leeming <leeming@lyx.org>
1015 Fix doxygen warnings.
1017 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1018 Remove CutAndPaste:: prefix from header file declaration.
1020 * LColor.h (fill): remove LColor:: prefix from declaration.
1022 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1023 use lyx::depth_type rather than Paragraph::depth_type so that
1024 header file and .C file match.
1026 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1028 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1029 * aspell.C: \file aspell_local.C -> \file aspell.C
1030 * gettext.C: \file gettext.C -> \file src/gettext.C
1031 * gettext.h: \file gettext.h -> \file src/gettext.h
1032 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1033 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1034 * text.C: \file text.C -> \file src/text.C
1036 * toc.C: move comment so that doxygen is not confused.
1038 2003-10-07 Angus Leeming <leeming@lyx.org>
1040 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1042 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1045 * aspell_local.h: add forgotten std::string's.
1047 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1054 * text3.C: The Box patch. Fancybox support, minipage, parbox
1056 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1062 * ParagraphParameters.h:
1072 * lyxtextclasslist.h:
1075 * paragraph_pimpl.C:
1076 * textcursor.h: add <string> and other small fixes to make Lars'
1077 std::string patch compile with STLport.
1079 2003-10-06 Angus Leeming <leeming@lyx.org>
1081 * LColor.h: Add missing #include <string>.
1083 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1085 * All most all file in all subdirs: Make <string> be the prefered
1086 way of getting to std::string, add using declarations.
1088 2003-10-06 André Pönitz <poenitz@gmx.net>
1090 * metricsinfo.C: initialize LyXFont before changing attribute.
1091 (fixes the 'math in \emph is upright' bug)
1093 2003-10-06 André Pönitz <poenitz@gmx.net>
1095 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1097 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1100 * paragraph_pimpl.C: Small fixes to build using STLport
1102 2003-10-02 André Pönitz <poenitz@gmx.net>
1105 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1107 2003-10-01 André Pönitz <poenitz@gmx.net>
1109 * factory.C: assert early
1111 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1113 * lyx_main.C: remove the global debug object
1115 * debug.h: adjust for new debugstream
1117 * debug.C: adjust for new debugstream and keep the global debug
1120 2003-09-22 Angus Leeming <leeming@lyx.org>
1122 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1123 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1124 an incomplete class LyXFont.
1126 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1128 * factory.C: bug fix in branches
1130 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1132 * lyxfunc.C (processKeySym): adjust
1134 (dispatch): change arg name from ev to func, adjust
1135 (sendDispatchMessage): ditto
1137 * lyx_main.C (defaultKeyBindings): adjust keybindings
1138 (deadKeyBindings): ditto
1140 * kbsequence.C (addkey): return a FuncRequest
1142 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1144 * kbmap.C (bind): take a FuncRequest as arg, adjust
1147 (defkey): change to take a FuncRequest as arg, adjust
1148 (findbinding): take a FuncRequest as arg, adjust.
1150 * funcrequest.h (operator=): added
1152 * funcrequest.C (FuncRequest): default kb_action changed from
1153 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1155 * buffer.C (dispatch): simplify
1156 (dispatch): adjust to take a FuncRequest as arg, adjust
1158 * boost.C (assertion_failed): change assertion message slightly
1160 * ToolbarBackend.C (read): simplify
1162 * MenuBackend.C (binding): adjust call to findbinding, add a
1163 message if no binding is found.
1165 (expandToc): correct by adding a empty FuncRequest
1167 * LyXAction.C: include <boost/assert.hpp>
1168 (isPseudoAction): delete function
1169 (LookupFunc): change name to...
1170 (lookupFunc): this. change return type to FuncRequest.
1171 (getActionName): take kb_action as arg, simplify
1172 (funcHasFlag): add an assert, simplify.
1174 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1176 * toc.C (action): return a FuncRequest, simplify
1178 * lyxfunc.C (processKeySym): adjust
1179 (getStatus): delete version that takes an int.
1181 (dispatch): delete version that takes action as int
1183 (sendDispatchMessage): simplify and adjust
1185 * funcrequest.C (getArg): take unsigned int as arg
1187 * ToolbarBackend.C (read): adjust
1188 (add): delete version that takes func as a string.
1189 (getIton): take a FuncRequest as arg
1191 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1194 * MenuBackend.C (MenuItem): add a new construct that only takes a
1195 Kind, simplify the constructor use for submenus.
1197 (expandLastfiles): adjust
1198 (expandDocuments): adjust
1199 (expandFormats): adjust
1200 (expandFloatListInsert): adjust
1201 (expandFloatInsert): adjust
1202 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1204 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1205 Remove class variables lyx_pseudo_map and lyx_arg_map
1207 * LyXAction.C (searchActionArg): delete function
1208 (getPseudoAction): delete function
1209 (retrieveActionArg): delete function
1210 (LookupFunc): make it return kb_action, simplify.
1211 (getActionName): simplify
1213 * factory.C (createInset): fix new bug
1215 2003-09-19 Angus Leeming <leeming@lyx.org>
1217 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1218 masterFilename_ parameter in the include inset.
1220 * factory.C (createInset): changes due to the changes to InsetInclude.
1222 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1224 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1226 2003-09-18 Angus Leeming <leeming@lyx.org>
1229 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1230 Inset::fillWithBibKeys.
1231 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1233 2003-09-18 Angus Leeming <leeming@lyx.org>
1235 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1237 (ctor): pass and store a 'Buffer const &'
1238 (buffer): new member function.
1240 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1241 '*this' to the LaTeXFeatures ctor.
1243 2003-09-18 Angus Leeming <leeming@lyx.org>
1249 * text.C: rename EnumLColor as LColor_color.
1251 2003-09-18 Angus Leeming <leeming@lyx.org>
1253 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1254 remove #include "insets/insetbase.h" from cursor.h.
1256 2003-09-18 Angus Leeming <leeming@lyx.org>
1258 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1259 InsetOld_code to remove #include "inset.h".
1261 * iterators.C: add #include "insets/inset.h"
1263 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1265 * BufferView.C: remove more locking stuff that apparently doesn't
1266 do anything sensible.
1268 2003-09-16 André Pönitz <poenitz@gmx.net>
1271 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1274 2003-09-16 Angus Leeming <leeming@lyx.org>
1276 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1278 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1281 * paragraph.h: remove #include "lyxfont.h". Forward declare
1284 2003-09-16 Angus Leeming <leeming@lyx.org>
1286 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1287 of support/textutils.h.
1288 (isWord): move the contents of support/textutils.h's IsWordChar here.
1294 * text2.C: add #include "paragraph.h".
1297 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1299 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1305 * LaTeX.C: use namespace alias for lyx::support::os
1307 2003-09-16 Angus Leeming <leeming@lyx.org>
1310 * bufferview_funcs.C:
1313 * paragraph_pimpl.C:
1315 * text.C: add #include "LColor.h".
1317 2003-09-16 Angus Leeming <leeming@lyx.org>
1319 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1320 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1322 Store the FontBits::color variable as an int rather than as an
1323 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1326 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1327 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1328 string calls together.
1330 * lyxrc.C: add #include "LColor.h".
1332 2003-09-15 Angus Leeming <leeming@lyx.org>
1334 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1337 2003-09-15 Angus Leeming <leeming@lyx.org>
1339 * LColor.h: add an EnumLColor wrapper for LColor::color.
1341 * lyxfont.[Ch] (color, setColor, realColor):
1342 * lyxtext.h, text.C (backgroundColor):
1343 pass EnumLColor args to/from the functions, rather than LColor::color
1347 * lyxtext.h: forward declare EnumLColor.
1349 * lyx_main.C: add #include "LColor.h".
1351 2003-09-15 Angus Leeming <leeming@lyx.org>
1353 * .cvsignore: add lyx-gtk.
1355 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1360 * ParagraphParameters.C
1364 * bufferview_funcs.C
1374 * vc-backend.C: remove usage of STRCONV
1376 2003-09-15 Angus Leeming <leeming@lyx.org>
1378 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1379 explicitly define the color passed to the painter.
1381 2003-09-15 Angus Leeming <leeming@lyx.org>
1383 * bufferparams.C (BufferParams): reorder member initializers to avoid
1386 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1388 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1389 * text.C (updateRowPositions): remove an unusual nop
1391 2003-09-12 André Pönitz <poenitz@gmx.net>
1393 * BufferView_pimpl.C:
1402 * Counters.[Ch]: finish the 'automatic counters' job
1404 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1406 * aspell.C: include <boost/assert.cpp> (compile fix)
1408 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1410 * boost.C (assertion_failed): use lyx::support::abort instead of
1413 2003-09-10 Angus Leeming <leeming@lyx.org>
1415 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1416 with their _fwd progeny.
1418 2003-09-09 Angus Leeming <leeming@lyx.org>
1420 134 files throughtout the source tree: replace 'using namespace abc;'
1421 directives with the appropriate 'using abc::xyz;' declarations.
1423 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1425 * boost.C (emergencyCleanup): moved here from LAssert.c
1426 (assertion_failed): new function, called by BOOST_ASSERT
1428 * several files: change Assert to BOOST_ASSERT
1430 2003-09-09 Angus Leeming <leeming@lyx.org>
1432 * buffer.[Ch]: Add an Impl class and move Buffer's member
1433 variables into it. As a result move several header files out of
1436 Add header files to lots of .C files all over the tree as a result.
1438 2003-09-09 Angus Leeming <leeming@lyx.org>
1440 * buffer.[Ch]: make Buffer's member variables private. Add
1443 Lots of changes all over the tree as a result.
1445 2003-09-08 Angus Leeming <leeming@lyx.org>
1447 * graph.C: #include <config.h>.
1449 2003-09-08 Angus Leeming <leeming@lyx.org>
1453 * BufferView_pimpl.C:
1482 * toc.C: remove redundant using directives.
1484 2003-09-07 Angus Leeming <leeming@lyx.org>
1486 * LaTeXFeatures.h: remove #include "support/types.h".
1487 * ToolbarBackend.h: remove #include <algorithm>.
1488 * changes.h: remove #include <ctime>.
1489 * debug.h: remove #include <iosfwd>.
1490 * graph.h: remove #include "support/std_string.h".
1491 * lyx_main.h: remove #include <csignal>.
1492 * lyxlex_pimpl.h: remove #include <fstream>.
1493 * sgml.h: remove #include <algorithm>, <utility>.
1494 * toc.h: remove #include "support/std_ostream.h".
1495 Add #include <iosfwd>.
1497 2003-09-07 Angus Leeming <leeming@lyx.org>
1499 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1501 * converter.h: forward declare LatexRunParams.
1502 * encoding.h: remove #include "lyxrc.h".
1503 * lyxtext.h: remove #include "LColor.h".
1504 * lyxtextclass.h: remove #include "support/types.h".
1505 * trans.h: remove #include "tex-accent.h".
1506 * trans_mgr.h: remove #include "tex-accent.h".
1507 * insets/inset.h: remove #include "support/types.h", <vector>.
1508 * insets/insetcollapsable.h: remove #include "LColor.h".
1509 * insets/insetinclude.h: remove #include "dimension.h".
1510 * insets/insetlatexaccent.h: remove #include "dimension.h".
1511 * insets/insetoptarg.h:: remove #include "insettext.h".
1512 * insets/insettext.h: remove #include "dimension.h",
1513 <boost/shared_ptr.hpp>
1515 * insets/renderers.h: add #include "dimension.h".
1516 * insets/updatableinset.h: add #include "support/types.h".
1518 * many .C files: Associated changes.
1520 2003-09-06 Angus Leeming <leeming@lyx.org>
1522 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1523 one, inside testInvariant.
1525 * PrinterParams.C: new file.
1526 * PrinterParams.[Ch]: move the function bodies out of line.
1528 2003-09-06 Angus Leeming <leeming@lyx.org>
1530 * ParagraphParameters.h: forward declare ParameterStruct rather than
1531 including its header file.
1532 (depth): moved out-of-line.
1534 2003-09-06 Angus Leeming <leeming@lyx.org>
1536 * BufferView_pimpl.h:
1539 * lyxfunc.h: forward declare LyXKeySym rather than
1540 #include "frontends/LyXKeySym.h".
1542 * BufferView_pimpl.C:
1545 * lyxfunc.C: associated changes.
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>
1554 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1555 As a result, can remove the #include "insets/inset.h" from BufferView.h
1557 2003-09-06 Angus Leeming <leeming@lyx.org>
1563 * bufferview_funcs.C:
1564 * BufferView_pimpl.C:
1569 * ParagraphParameters.C:
1574 * frontends/controllers/ControlDocument.C:
1575 * insets/insetcaption.C: rearrange the #includes into some sort of
1578 * buffer.h: remove #includes ErrorList.h, undo.h
1580 2003-09-06 Angus Leeming <leeming@lyx.org>
1582 * support/types.h: add a 'depth_type' typedef, used to store the
1583 nesting depth of a paragraph.
1586 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1587 defining explicitly.
1590 * paragraph_funcs.h:
1591 * ParagraphParameters.h:
1592 * sgml.h: use lyx::depth_type rather than Paragraph or
1593 ParameterStruct's depth_type.
1596 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1599 * BufferView_pimpl.C:
1601 * ParagraphParameters.C:
1604 * bufferview_funcs.C:
1611 * frontends/LyXView.C:
1612 * frontends/controllers/ControlDocument.C:
1613 * frontends/controllers/ControlErrorList.C:
1614 * insets/insetbibitem.C:
1615 * insets/insetbranch.C:
1616 * insets/insetcaption.C:
1617 * insets/insetcollapsable.C:
1618 * insets/insetenv.C:
1619 * insets/insetert.C:
1620 * insets/insetfloat.C:
1621 * insets/insetfoot.C:
1622 * insets/insetfootlike.C:
1623 * insets/insetnewline.C:
1624 * insets/insetquotes.C:
1625 * insets/insettabular.C:
1626 * insets/insettext.C:
1627 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1629 * frontends/controllers/ControlChanges.C: #include "changes.h".
1631 2003-09-06 Angus Leeming <leeming@lyx.org>
1633 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1634 than #including paragraph.h.
1637 * RowList.h: deleted. Superfluous.
1647 * insets/insettext.h: use ParagraphList_fwd.h rather than
1650 * paragraph.h: don't forward declare ParagraphList.
1653 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1654 rather than ParagraphList.h. paragraph.h is still needed for the
1655 Paragraph::depth_type parameters.
1657 * textcursor.h: enable it to compile stand-alone in light of the
1660 * bufferview_funcs.C:
1672 * frontends/controllers/ControlParagraph.C:
1673 * frontends/controllers/ControlTabular.C:
1674 * insets/insetmarginal.C:
1675 * insets/insetminipage.C:
1676 * insets/insetnote.C:
1677 * insets/insetoptarg.C: add header files needed to compile again.
1679 2003-09-06 Angus Leeming <leeming@lyx.org>
1681 * RowList_fwd.h: new file, forward-declaring Row rather than
1682 #including lyxrow.h.
1687 * insets/insettext.h: use it instead of RowList.h
1689 * bufferview_funcs.C:
1696 * text3.C: #include "RowList.h".
1698 2003-09-05 Angus Leeming <leeming@lyx.org>
1700 * factory.C (createInset):
1701 * vspace.C (c-tor): replace sscanf call with an istringstream.
1702 * ispell.C: re-add missing HP/UX headers.
1703 * lyxserver.C: re-add missing os2 headers.
1705 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1714 * text3.C: re-add missing system headers, needed for 2.95.2.
1716 2003-09-05 Angus Leeming <leeming@lyx.org>
1718 Changes most place everywhere due to the removal of using directives
1719 from support/std_sstream.h.
1721 2003-09-05 Angus Leeming <leeming@lyx.org>
1723 Replace LString.h with support/std_string.h,
1724 Lsstream.h with support/std_sstream.h,
1725 support/LIstream.h with support/std_istream.h,
1726 support/LOstream.h with support/std_ostream.h.
1728 Changes resulting throughout the tree.
1730 2003-09-05 Angus Leeming <leeming@lyx.org>
1732 * sgml.h: ensure that the header file can be compiled stand-alone.
1733 * *.C: strip out redundant #includes. (320 in total.)
1735 2003-09-04 Angus Leeming <leeming@lyx.org>
1737 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1738 here (from getPackages).
1740 * debug.[Ch]: add a new EXTERNAL tag.
1742 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1744 * text2.C (cursorEnd): simplify
1746 (getColumnNearX): adjust
1748 * text.C (computeBidiTables): adjust
1751 * rowpainter.C (paintChars): adjust
1752 (paintSelection): adjust
1753 (paintChangeBar): adjust
1756 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1758 (numberOfSeparators): adjust
1760 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1766 * text3.C: Restricts the mouse click functionality
1767 of insets like bibtex, include, toc and floatlist to the visible
1768 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1769 up the dialogs. Cursor has to be in front of the inset (i.e.
1770 start of row) for this to function.
1772 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1774 * bufferview_funcs.C (currentState): output row information
1776 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1778 * bufferview_funcs.C (currentState): output paragraph position
1780 2003-09-04 Angus Leeming <leeming@lyx.org>
1782 * FloatList.h: move out #include "Floating.h".
1783 * LaTeX.h: move out #include "DepTable.h".
1784 * LyXAction.h: move out #include "funcrequest.h".
1785 * buffer.h: move out #include "author.h", "iterators.h".
1786 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1787 * lyx_main.h: move out #include "errorlist.h".
1788 * lyxfunc.h: move out #include "FuncStatus.h".
1789 * lyxtext: move out #include "lyxcursor.h".
1790 * paragraph_pimpl.h: move out #include "counters.h".
1792 2003-09-03 Angus Leeming <leeming@lyx.org>
1794 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1795 preamble_snippets list, enabling us to add snippets to the preamble
1796 only if the snippet was not there already.
1798 2003-09-04 Angus Leeming <leeming@lyx.org>
1800 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1802 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1804 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1807 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1809 * BranchList.C: point fix, earlier forgotten
1811 2003-09-02 Angus Leeming <leeming@lyx.org>
1813 * box.C (contains): renamed from 'contained' after a fantastic
1816 2003-09-02 John Levon <levon@movementarian.org>
1822 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1824 2003-09-02 John Levon <levon@movementarian.org>
1826 * text2.C: simplification of cursorEnd(), including partial
1829 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1831 * buffer.C (readFile): add a space
1833 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1835 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1837 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1839 * buffer.C (readFile): new function, take a filename and a
1840 ParagraphList::iterator
1842 (readFile): adjust, make it private. don't use setStream, make
1843 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1844 always contain the filename.
1846 * BufferView.C (insertLyXFile): simplify and make it work for
1849 2003-08-30 John Levon <levon@movementarian.org>
1851 * Makefile.am: fix dist (from Kayvan)
1853 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1855 * most files: change to use const Buffer refs
1857 2003-08-27 André Pönitz <poenitz@gmx.net>
1859 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1860 on top of ownerPar().
1862 2003-08-27 John Levon <levon@movementarian.org>
1864 * funcrequest.C: properly initialise POD members
1866 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1868 * lyxtext.h (top_y): move top_y from here
1873 * BufferView_pimpl.[Ch]: to here
1874 * frontends/screen.C:
1875 * insets/insettabular.C:
1876 * insets/insettext.C: adjust
1877 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1879 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1882 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1884 2003-08-26 André Pönitz <poenitz@gmx.net>
1886 * paragraph_func.[Ch] (outerPar): new function
1889 * paragraph_funcs.C:
1890 * paragraph_funcs.h:
1891 * paragraph_pimpl.C:
1892 * text2.C: remove Inset::par_owner
1894 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1899 * text2.C: eliminates the needFullRow/display() stuff
1900 altogether, putting the logic in metrics/draw in the insets.
1902 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1904 * text2.C (redoParagraphInternal, redoParagraphs):
1905 * text.C (redoParagraph): add a call to updateRowPositions at the
1906 end of each 'metrics-like' call. Remove all others.
1907 (getRow): remove the 'y-computing' version.
1908 (getRowNearY): do not compute nor return the real y. Solve the
1909 'y < 0' problem and simplify.
1911 2003-08-22 Angus Leeming <leeming@lyx.org>
1913 * *.[Ch]: clean-up of licence and author blurbs.
1914 Also move config.h out of a few .h files and into a few .C files.
1916 2003-08-22 André Pönitz <poenitz@gmx.net>
1918 * lyxrow.[Ch]: add x_ and *fill_ members
1923 * text2.C: adjust/remove prepareToPrint() calls
1925 2003-08-22 André Pönitz <poenitz@gmx.net>
1927 * lyxrow.[Ch]: add end_ member
1929 * lyxrow_funcs.C: use LyXRow::end_
1931 * lyxtext.h (singleWidth): add LyXFont parameter
1934 * text2.C: adjust LyXText::singleWidth() calls
1936 * text.C (redoParagraph): simplify row breaking logic
1939 2003-08-19 André Pönitz <poenitz@gmx.net>
1941 * funcrequest.C: initialize button_ member
1944 * rowpainter.[Ch]: interface consolidation
1946 2003-08-18 André Pönitz <poenitz@gmx.net>
1949 * BufferView_pimpl.C:
1951 * paragraph_funcs.C:
1953 * text3.C: remove LyXScreen::draw() and fitCursor calls
1955 * BranchList.h: remove spurious semicolons
1957 * MenuBackend.C: fix branchlist related crash
1959 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1967 * bufferparams.[Ch]:
1971 * text3.C: implements the 'branch inset'
1972 idea. This allows the output of various versions of a document
1973 from a single source version, selectively outputing or suppressing
1974 output of parts of the text.
1975 This implementation contains a 'branch list editor' in a separate
1976 tab of the document settings dialog. Branches are user definable
1977 and have a "display colour" to distinguish them on-screen.
1979 ColorHandler was somewhat cleaned up.
1980 (1) make possible a dynamically growing LColor list by allowing
1981 the graphic context cache to grow along (vector);
1982 (2) eliminate an IMHO unnecessary step in colour allocation.
1984 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1986 * BufferView_pimpl.C: compile fix
1988 2003-08-15 André Pönitz <poenitz@gmx.net>
1990 * rowpainter.C: remove extra metrics calls
1992 * lyxtext.h: merge the two constructors into a single one,
1993 pass reference to owner's par list
1995 * BufferView_pimpl.C:
1999 2003-08-15 André Pönitz <poenitz@gmx.net>
2001 * lyxrow_funcs.[Ch]:
2004 * paragraph_funcs.C:
2009 * text_funcs.C: split LyXText::rowlist_ into individual
2010 Paragraph::rows_ chunks
2013 * BufferView_pimpl.[Ch]:
2016 * text3.C: remove toggleSelection()
2018 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2020 * bufferlist.C: beautify two alerts (shorter text of buttons)
2021 * buffer.C: Remove redundant ' ' from message
2023 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2024 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2025 rename VALIGN_CENTER to VALIGN_MIDDLE
2027 2003-08-11 André Pönitz <poenitz@gmx.net>
2029 * lyxtext.h (getPar):
2030 * text.C: new function
2032 2003-08-11 André Pönitz <poenitz@gmx.net>
2035 * tracer.[Ch]: remove unneeded files
2037 * InsetList.[Ch]: remove resizeInsetsLyXText()
2042 * text3.C: merge insertParagraphs() and appendParagraph()
2043 remove breakAgain(), update()
2045 * BufferView_pimpl.[Ch]:
2046 * bufferview_funcs.[Ch]:
2050 * tabular.C: adjust after text & InsetList changes.
2052 2003-08-08 André Pönitz <poenitz@gmx.net>
2054 * text.C (insertChar, backspace): replace rowlist fiddling
2055 with rebreak of full par
2058 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2059 checkParagraph, updateInset): removed
2061 2003-08-07 André Pönitz <poenitz@gmx.net>
2064 * text3.C: merge some LFUN handlers, remove dead code
2066 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2068 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2070 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2072 * text2.C (DEPM): fix part of bug 1255 and 1256
2074 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2076 * BufferView_pimpl.C (workAreaDispatch): change to use
2077 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2078 that are no mouse related.
2080 2003-08-05 André Pönitz <poenitz@gmx.net>
2083 * BufferView_pimpl.[Ch]:
2084 * bufferview_funcs.C:
2086 * text3.C: rip out "deep update"
2088 * textcursor.[Ch] (last_sel_cursor): remove unused member
2090 2003-08-04 André Pönitz <poenitz@gmx.net>
2093 * BufferView_pimpl.[Ch]:
2094 * ParagraphParameters.C:
2095 * bufferview_funcs.C:
2101 * text3.C: replace "complicated" BufferView::update(...) calls with
2104 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2106 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2108 * Makefile.am (lyx_SOURCES): add paper.h
2110 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2112 * Makefile.am: move things around so that both lyx-qt and
2113 lyx-xforms can be built (according to --with-frontend). Then lyx
2114 is a symbolic link to lyx-[firstfrontend]
2116 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2118 * Always use std::endl with lyxerr
2120 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2122 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2124 2003-08-01 André Pönitz <poenitz@gmx.net>
2127 * BufferView_pimpl.[Ch]:
2129 * text3.C: merge BufferView::repaint() and BufferView::update()
2131 2003-08-01 José Matos <jamatos@lyx.org>
2133 * buffer.[Ch]: file_format is no longer a buffer data element.
2135 2003-08-01 André Pönitz <poenitz@gmx.net>
2140 * text2.C: make redoParagraph more independent of current cursor
2142 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2144 * text2.C: remove unneeded members
2146 2003-07-30 André Pönitz <poenitz@gmx.net>
2148 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2150 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2151 create a single function...
2153 * paragraph_funcs.C (moveItem): ... here.
2156 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2158 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2160 * LColor.[Ch]: Add comment and greyedout logical colors.
2162 2003-07-30 André Pönitz <poenitz@gmx.net>
2164 * tabular.C: don't use Assert too heavily. This crashes where it
2167 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2169 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2170 is disabled (bug 1232)
2172 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2174 * factory.C: limited 'arg' scope
2176 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2178 * factory.C: fixed Note submenu issues
2180 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2182 * factory.C: submenu for Note/Comment/Greyedout
2184 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2187 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2189 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2192 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2193 greyedout. Patch provided by Jürgen Spitzmüller.
2195 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2197 * kbmap.C (read): fix error message when reading bind files
2199 2003-07-29 Angus Leeming <leeming@lyx.org>
2201 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2202 certainly does not do what it purports to do. I am doing it, and
2203 us, a favour by killing it.
2205 2003-07-28 José Matos <jamatos@lyx.org>
2207 * buffer.C (readBody, do_writeFile):
2208 * paragraph.C(readParagraph): \end_document replaces \the_end.
2210 2003-07-29 André Pönitz <poenitz@gmx.net>
2213 * BufferView_pimpl.[Ch]:
2217 * textcursor.[Ch]: remove toggleToggle & Co
2219 2003-07-28 José Matos <jamatos@fep.up.pt>
2221 * buffer.C (readParagraph):
2222 * params_func (readParToken, readParagraph):
2223 * paragraph.C (write): \layout -> \begin_layout.
2225 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2227 * lyxlex_pimpl.C (setFile): clean up slightly.
2229 * bufferparams.h: add compressed var
2231 * buffer_funcs.C (readFile): adjust for LyXLex change
2232 (newFile): ditto + simplify
2234 * buffer.C (writeFile): handle writing of compressed files
2236 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2237 Check if the file is compressed and set a bufferparm if so.
2239 * Makefile.am (lyx_LDADD): remove explicit -lz
2241 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2243 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2244 makeDocBookFile): put the real LyX version in the first line of
2248 * version.C.in: remove lyx_docversion
2250 * tabular.C (write_attribute): add a template-based version to
2251 write enums properly
2253 2003-07-28 André Pönitz <poenitz@gmx.net>
2258 * text3.C: use doubles again for x-coordinates. They are needed.
2260 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2262 * messages.C (getLocaleDir): use lyx_localedir()
2264 * lyxlex_pimpl.C (setFile): compress stuff
2266 * buffer.C (writeFile): add some compression stuff
2267 (do_writeFile): new func, dont call expliti close... will this
2270 * Makefile.am (lyx_LDADD): add -lz
2272 2003-07-28 José Matos <jamatos@fep.up.pt>
2274 * buffer.C: increment file format.
2275 * paragraph_funcs (readParagraph, readParToken):
2276 * paragraph.C (readParagraph): add \end_layout.
2278 2003-07-27 Angus Leeming <leeming@lyx.org>
2280 * Makefile.am: remove special casing for configure-time setting of
2281 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2283 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2284 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2286 2003-07-26 André Pönitz <poenitz@gmx.net>
2288 * paragraph_func.[Ch]:
2289 * paragraph.C (realizeFont): inline it whereever it is used
2294 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2297 2003-07-26 André Pönitz <poenitz@gmx.net>
2301 * text2.C: get rid of LyXText::need_break_row
2303 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2305 * toc.[Ch]: put namespace toc inside namespace lyx
2307 * MenuBackend.C (expandToc2): adjust for lyx::toc
2310 * lyxfunc.C (dispatch): adjust for lyx::find
2312 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2313 lyx::find instead. Reorganize a bit.
2314 (LyXReplace): rename to replace
2315 (LyXFind): rename to find
2317 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2320 2003-07-26 André Pönitz <poenitz@gmx.net>
2322 * text.C (setHeightOfRow): restrict scope of temporary variable
2324 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2325 code (never has been used?)
2327 2003-07-27 Asger Alstrup <alstrup@local>
2329 * text.C (fill): Optimise algorithm to exploit that we can reuse
2330 the LyXFont for many characters.
2331 (setHeightOfRow): Same thing.
2332 (rowBreakPoint): Same thing.
2334 2003-07-26 Asger Alstrup <alstrup@local>
2336 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2338 * text.C (singleWidth): Spurious font copying in hot-spot
2339 singleWidth avoided. Reorder tests for arabic for efficiency.
2341 * text.C (fill): handle empty paragraphs better.
2343 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2346 * encoding.h: add includes
2348 * lyxrc.C: remove reading of bind files
2350 * lyx_main.C (init): setup bindings and menus only if we have a
2353 * kbmap.C (read): new method. Do the actual reading of bind
2356 * converter.C (dvipdfm_options):
2359 (output): adapt PAPER_* enums.
2361 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2363 * bufferparams.h: remove paper-related enums from there
2365 * paper.h: New file. A trivial header file to hold paper-related
2366 enums. It should later expand to contain many paper-related
2369 * lyxrc.C: declare extern displayTranslator
2371 2003-07-27 José Matos <jamatos@fep.up.pt>
2373 * tabular.[Ch] (linuxdoc): add support for tables and figures
2376 2003-07-27 José Matos <jamatos@fep.up.pt>
2378 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2379 consistency in both functions.
2380 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2382 2003-07-26 Asger Alstrup <alstrup@local>
2384 * rowpainter.C (paintRows): Change algorithm to work directly on
2385 the insets rather than asking every character in the document
2386 whether its an inset.
2388 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2390 * buffer.C (openFileWrite): factorize some code
2392 2003-07-26 Angus Leeming <leeming@lyx.org>
2395 * lyx_main.[Ch]: replace occurances of system_tempdir with
2398 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2400 * rename Inset to InsetOld
2402 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2404 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2405 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2406 which I think is a bit clearer. EDIT is gone, since it was
2407 premature optimisation, and broken for mathed anyway.
2408 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2409 with cursor positioning in insets as well (math insets still do not
2410 work, but that's a different story anyway.) It mysteriously
2411 crashes sometimes with undo in the first paragraph, but I'm fairly
2412 confident that this is a compiler bug.
2414 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2416 * paragraph.C (Paragraph): adjust for new clone return type
2418 (copyIntoMinibuffer): ditto
2420 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2422 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2423 by not having a special case, and always doing a full rebreak of
2424 the document after undo.
2426 2003-07-23 Angus Leeming <leeming@lyx.org>
2428 * factory.C (createInset): InsetExternal::setParams now takes a
2431 2003-07-23 Angus Leeming <leeming@lyx.org>
2433 * factory.C (createInset): changed interface to the external and
2434 graphics mailers' string2params functions.
2436 2003-07-23 Angus Leeming <leeming@lyx.org>
2438 * factory.C (createInset): pass a
2439 Buffer const * parameter to InsetExternalMailer's string2params.
2441 2003-07-22 John Levon <levon@movementarian.org>
2443 * Thesaurus.h: include the right aiksaurus header
2445 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2447 * MenuBackend.C (expand): check menu shortcuts unconditionally
2449 2003-07-21 Angus Leeming <leeming@lyx.org>
2451 * factory.C (createInset): pass a
2452 buffer_path parameter to InsetGraphicsMailer's string2params.
2454 2003-07-21 Angus Leeming <leeming@lyx.org>
2456 * BufferView_pimpl.C (buffer):
2459 * lyxfunc.C (dispatch):
2460 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2461 rather than the grfx shortcut.
2463 2003-07-21 André Pönitz <poenitz@gmx.net>
2465 * rowpainter.C: remove unused variables
2468 * tabular_funcs.h: move to tabular.C
2469 * Makefile.am: adjust
2471 * tabular.[Ch]: basic optical cleaning
2473 * author.h: pass references, not values
2475 2003-07-18 André Pönitz <poenitz@gmx.net>
2483 * text3.C: two-phase drawing for InsetText and InsetTabular
2484 some float -> int changes.
2486 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2488 * lyx_main.C: fix the fix
2490 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2492 * lyx_main.C: fix a crash in batch mode if no files specified
2495 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2497 * format.[Ch] (papersize): moved to BufferParams
2498 * converter.[Ch] (dvips_options): moved to BufferParams
2499 (dvipdfm_options): moved to anon namespace
2500 * bufferparams.[Ch]: added above functions.
2502 2003-07-17 André Pönitz <poenitz@gmx.net>
2506 * text2.C: don't call inset->update() anymore
2508 * metricsinfo.[Ch]: add convenience constructor
2510 2003-07-16 André Pönitz <poenitz@gmx.net>
2515 * text2.C: replace the LyXCursor::irow_ member with
2516 on-demand computation of the value
2518 2003-07-16 John Levon <levon@movementarian.org>
2520 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2522 2003-07-15 André Pönitz <poenitz@gmx.net>
2525 * text2.C: remove no more needed refresh_row
2527 2003-07-15 André Pönitz <poenitz@gmx.net>
2532 * text3.C: refresh_status tristate -> need_update bool
2534 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2536 * lyxtext.h (init): remove reinit argument (act as if always true)
2537 * text2.C: adjust to that
2539 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2541 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2542 * text3.C: use it to delete selections in some cases
2543 (bugs 441, 673, 702, 954).
2545 2003-07-14 André Pönitz <poenitz@gmx.net>
2547 * rowpainter.[Ch]: reduce interface
2549 2003-07-14 André Pönitz <poenitz@gmx.net>
2551 * BufferView_pimpl.C:
2552 * text2.C: adjust after removing unused BufferView * argument
2554 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2556 * text2.C (init): fix a crash fired on resize
2558 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2560 * buffer.[Ch]: added new closing signal
2561 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2562 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2563 BufferView::Pimpl via the closing the signal
2565 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2567 * buffer.[Ch]: take out all bv-related from buffer
2569 * BufferView_pimpl.[Ch]: connect to new signals
2570 * CutAndPaste.C: removed useless asserts
2571 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2574 * lyxfunc.C: moved view-related funciontality from vc here
2575 * paragraph.C: removed outdated comments
2578 2003-07-10 André Pönitz <poenitz@gmx.net>
2580 * BufferView_pimpl.C:
2584 * text2.C: remove InsetText::InnerCache, clean up consequences
2586 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2588 * ispell.C: fix two typos in error messages
2590 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2592 * Extend Note inset to other forms of annotation like Comment
2593 and Greyedout. Right button click gives dialog.
2595 Files modified or added (+):
2599 * ControlNote.[Ch] +
2601 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2602 frontends/controllers
2606 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2608 * aspell.C: add missing namespace lyx::support
2610 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2612 * BufferView.[Ch] (newFile): Add
2613 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2614 * LaTeX.[Ch] (message): added this signal and use it
2615 * buffer.[Ch] (busy, message): added these signals and use them
2616 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2620 * importer.C: use buffer signals instead of direct bv calling
2621 * lyx_cb.[Ch] (ShowMessage): removed
2624 * paragraph_funcs.C:
2625 * text2.C: use buffer signals
2627 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2629 * introduce namespace lyx::graphics
2631 2003-07-02 André Pönitz <poenitz@gmx.net>
2633 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2635 2003-07-01 André Pönitz <poenitz@gmx.net>
2642 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2643 text*.C to text_func.C
2645 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2647 * introduce namespace lyx::support
2649 2003-06-30 André Pönitz <poenitz@gmx.net>
2654 * text.C: re-enable --with-included-string
2656 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2658 * textcursor.C: add <config.h>
2660 * text.C (getWord): remove const from word_location arg
2662 * lyxvc.C (getLogFile): fix const type order
2664 * lyxtext.h: remove const from word_location arg, add arg name
2666 * lyxlayout.h: currect type on labeltype.
2668 * importer.C: correct \file
2670 * converter.C (intToFormat): use std:: on ret val, ws changes
2672 * bufferlist.h: correct \file
2674 * buffer.C (makeLinuxDocFile): fix const type order
2675 (makeDocBookFile): ditto
2676 (fillWithBibKeys): use std:: on stdlib args.
2678 * CutAndPaste.C: fix authors.
2679 (availableSelections): use std:: on return vector
2681 2003-06-27 André Pönitz <poenitz@gmx.net>
2683 * BufferView_pimpl.C:
2684 * bufferview_funcs.C:
2692 * text3.C: remove LyXCursor::row_ member
2695 * text.C: rename fullRebreak() to partialRebreak() and implement
2696 a fullRebreak() that really bereks fully
2698 * textcursor.h: new struct for cursor-related data
2700 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2702 * lyx_main.C (LyX): get full path of document loaded on the
2705 2003-06-26 André Pönitz <poenitz@gmx.net>
2707 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2708 remove unused/broken operator>,<,>=.
2710 * text.C: remove only use of broken operator<= in an Assert().
2712 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2714 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2715 moved errorlist_.clear to showErrorList
2717 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2719 * converter.C (scanLog, runLaTeX):
2720 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2721 move the bv->showErrorList call to the callers
2722 * lyxfunc.C: i.e. here...
2724 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2725 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2726 namespace, the second to...
2727 * buffer_funcs (BufferFormat, parseErrors): added
2728 * errorlist.C (ErrorList(TeXErrors const &)): removed
2730 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2732 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2734 2003-06-24 "Garst R. Reese" <reese@isn.net>
2738 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2740 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2742 * version.C.in: change docversion to 1.4
2744 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2746 * buffer.C: fix a bug just introduced
2748 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2750 * buffer.[Ch]: added the parseError signal and use it, removed
2752 * BufferView.[Ch] (addError): moved to ...
2753 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2754 to the Buffer::parseError signal to catch (guess what) parse errors
2755 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2757 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2759 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2760 ability to create a buffer and to return an existing one from
2761 the list. Moved these functions to...
2762 * buffer_funcs.[Ch]: added
2763 * BufferView.[Ch] (loadLyXFile): added
2764 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2765 job removed from bufferlist::loadLyXFile.
2766 * buffer.C (setReadOnly): make it work without view
2767 (i.e added an if (users))
2769 2003-06-19 Angus Leeming <leeming@lyx.org>
2772 * LyXAction.C (init):
2773 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2774 with LFUN_DIALOG_SHOW <name> <data>.
2776 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2778 * CutAndPaste.C (availableSelections): small compilation fix for
2779 ancient (gcc 2.9x) compilers
2781 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2783 * text3.C (cursorNext): add tmp var
2785 * text2.C (updateCounters): for function calling out of for clause
2786 (replaceSelectionWithString): ditto
2787 (insertStringAsParagraphs): ditto
2788 (getColumnNearX): add tmp var
2789 (setCursorFromCoordinates): add tmp var
2790 (cursorDownParagraph): add tmp var
2791 (deleteEmptyParagraphMechanism): add tmp var
2793 * text.C (insertChar): add tmp var
2795 * rowpainter.C (paintDepthBar): add tmp var
2797 * CutAndPaste.C (availableSelections): potentially check all
2798 paragraphs in a cut to fill the shown strings.
2800 2003-06-18 André Pönitz <poenitz@gmx.net>
2802 * kbmap.[Ch]: use vector<> instead of list<>
2804 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2806 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2807 pasteSelection with index
2809 * text2.C (pasteSelection): modify, call pasteSelection with index
2811 * paragraph.C (asString): reimplement version with no interval to
2812 call the one with interval.
2814 * lyxtext.h: add index arg to pasteSelection
2816 * MenuBackend.C (MenuItem): handle PasteRecent
2817 (Menu::read::Menutags): add md_pasterecent
2819 (expandPasteRecent): new function
2822 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2824 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2826 (availableSelections): new function
2828 2003-06-17 Angus Leeming <leeming@lyx.org>
2830 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2832 2003-06-17 Angus Leeming <leeming@lyx.org>
2835 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2837 * lyxfunc.C (dispatch): invoke it.
2839 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2841 * iterators.C (operator++, ParPosition): reintroduce some
2842 const_cast for the benefit of older compilers.
2844 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2846 * text3.C (dispatch): do not modify clipboard when doing
2847 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2848 LFUN_DELETE_SKIP on a selection selection
2850 2003-06-16 André Pönitz <poenitz@gmx.net>
2856 * tabular.[Ch]: IU of clone() and getLabelList();
2858 2003-06-13 André Pönitz <poenitz@gmx.net>
2860 * tabular.h: compactification
2862 2003-06-12 André Pönitz <poenitz@gmx.net>
2866 * tabular_funcs.h: some renaming plus whitespace
2868 2003-06-12 André Pönitz <poenitz@gmx.net>
2871 * BufferView_pimpl.C:
2877 * toc.C: Return a Paragraph & for ParIterator::operator*()
2879 2003-06-11 John Levon <levon@movementarian.org>
2883 * ToolbarBackend.C: add "Toolbars" section and
2886 2003-06-10 Angus Leeming <leeming@lyx.org>
2889 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2891 * lyxfunc.C (dispatch): invoke it.
2893 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2895 * main.C: protect <ios> with HAVE_IOS
2896 (main): protect sync_with_stdio with HAVE_IOS
2898 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2900 * text2.C (cutSelection): adjust
2901 (pasteSelection): adjust
2903 * messages.C: handle get of empty string
2905 * main.C (main): use sync_with_stdio(false)
2907 * lyxfunc.C (dispatch): adjust
2909 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2910 (WriteAs): remove unneeded BufferView arg.
2912 * bufferparams.h: use correct types on papersize, papersize2 and
2915 * bufferparams.C (readToken): adjust for type
2916 (writeLaTeX): add missing cases to switch.
2918 * bufferlist.C (quitWriteBuffer): adjust
2921 * buffer.C (asciiParagraph): remove some commented code.
2923 * CutAndPaste.C: remove current_view extern variable.
2924 (cutSelection): add BufferParams arg.
2925 (eraseSelection): add BufferParams arg.
2926 (pasteSelection): add Buffer const & arg
2928 2003-06-07 John Levon <levon@movementarian.org>
2931 * paragraph_funcs.C:
2932 * paragraph_pimpl.C:
2936 * paragraph.C: allow InsetERT to freely space lines,
2937 and some consolidation of code
2939 2003-06-06 José Matos <jamatos@fep.up.pt>
2941 * buffer.C (makeDocBookFile): fix bug #821
2943 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2945 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2947 2003-06-04 Angus Leeming <leeming@lyx.org>
2949 * buffer.C: bump format to 224.
2951 2003-06-05 André Pönitz <poenitz@gmx.net>
2953 * text2.C (redoParagraphs): remove two const_cast<>
2955 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2957 * ParagraphList.h: remove last remnants of NO_STD_LIST
2959 2003-06-03 Angus Leeming <leeming@lyx.org>
2961 * factory.C (createInset): small change to the way InsetExternal's params
2964 2003-06-04 André Pönitz <poenitz@gmx.net>
2966 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2968 * paragraph_pimpl.h:
2969 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2971 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2973 * undo_funcs.C: make some simple cases of undo work again
2975 2003-06-03 John Levon <levon@movementarian.org>
2977 * ispell.C: HPUX doesn't have sys/select.h
2980 2003-06-03 John Levon <levon@movementarian.org>
2982 * CutAndPaste.C: update tabular and include inset
2987 * paragraph.C: remove owningBuffer(), don't pass Buffer
2990 * factory.C: insetGraphicsParams changed
2992 2003-06-02 John Levon <levon@movementarian.org>
2998 * text3.C: remove insetparent
3000 2003-06-02 John Levon <levon@movementarian.org>
3003 * buffer.C: fix inset_iterator.end(), move out of line
3006 2003-06-01 John Levon <levon@movementarian.org>
3008 * text3.C: use a proper cut/paste when doing inset
3009 insert (from Jürgen Spitzmüller)
3011 2003-06-01 John Levon <levon@movementarian.org>
3013 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3015 2003-05-30 André Pönitz <poenitz@gmx.net>
3017 * rowpainter.C: unify second drawing phase
3019 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3021 * trans_mgr.C: remove one case of current_view
3023 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3025 * paragraph_funcs.h: remove paragraph.h include
3027 * paragraph.h: delete NO_STD_LIST stuff
3029 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3031 * buffer.h: remove paragraph.h include
3033 * ParagraphList.C: delete file
3035 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3037 * toc.C (getTocList): adjust
3039 * paragraph_pimpl.C (validate): adjust
3041 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3043 * paragraph.C (Paragraph): adjust
3044 (getPositionOfInset): use const_iterator, adjust
3045 (bibitem): use const_iterator, adjust
3046 (setInsetOwner): adjust
3048 * iterators.C (operator++): adjust
3050 * InsetList.[Ch]: Replace selfmade iterator with standard
3051 vector::iterator also introduce const_iterator. Remove getPos,
3052 getInset and setInset from InsetTable. Adjust accordingly.
3054 * BufferView.C (lockInset): adjust
3055 (ChangeInsets): adjust
3057 * tabular.[Ch]: delete commented same_id functions
3059 2003-05-28 John Levon <levon@movementarian.org>
3061 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3063 2003-05-28 André Pönitz <poenitz@gmx.net>
3065 * metricsinfo.[Ch]: remove 'fullredraw' member
3067 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3069 * lyxtextclass.C (operator): remove caching.
3071 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3075 * text2.C (cursorBottom): adjust
3076 (setCounter): use ParagraphList::find, adjust
3078 * text.C (workWidth): use ParagraphList::find, adjust
3080 * lyxcursor.C (LyXCursor): adjust
3082 * buffer.C (inset_iterator): adjust
3084 * ParagraphList.h: make iterator(value_type) private, make
3085 ParagraphList a friend of iterator.
3087 * ParagraphList.C (find): new function
3089 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3091 2003-05-27 André Pönitz <poenitz@gmx.net>
3093 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3095 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3097 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3099 2003-05-26 John Levon <levon@movementarian.org>
3101 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3103 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3105 * remove same_id from function signatures, adjust.
3107 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3109 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3111 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3113 * paragraph.C (Paragraph): get rid of same_ids parameter
3115 * ParagraphList.C (insert): adjust
3118 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3120 * paragraph_funcs.C (breakParagraph): adjust
3121 (breakParagraphConservative): adjust
3123 * buffer.C (readParagraph): adjust
3125 * ParagraphList.C (insert): take a reference instead of a pointer
3128 * paragraph.[Ch] (id): new function
3130 * bufferlist.C (newFile): adjust
3132 * ParagraphList.C (ParagraphList): adjust
3134 (push_back): take a reference instead of a pointer.
3136 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3138 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3141 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3142 set else use old code.
3144 * ParagraphList.C: remove all NO_NEXT code and only compile this
3145 code of NO_STD_LIST is set.
3147 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3149 * BufferView_pimpl.C:
3159 * graphics/GraphicsConverter.C:
3160 * graphics/PreviewLoader.C: header adjustment
3162 2003-05-23 Angus Leeming <leeming@lyx.org>
3164 * LaTeXFeatures.[Ch] (useBabel): new method.
3165 * bufferparams.C (writeLaTeX): use it.
3167 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3169 * ParagraphList.h (set): remove unused function.
3171 2003-05-23 André Pönitz <poenitz@gmx.net>
3174 * BufferView_pimpl.C:
3178 * undo_funcs.C: setUndo reworked
3180 * iterators.[Ch]: add access to topmost ParagraphList
3182 * lyxtext.[Ch] (workWidth): add a const
3184 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3186 * texrow.[Ch] (increasePos): remove function
3187 * exporter.C (export): removed unused var and outdated comment
3189 2003-05-23 Angus Leeming <leeming@lyx.org>
3191 * latexrunparams.h: rename fragile as moving_arg.
3192 * paragraph.C (simpleTeXOnePar): ditto.
3193 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3195 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3197 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3199 (textUndoOrRedo): comment out a currently unused var.
3201 * paragraph.h (NO_NEXT): enable NO_NEXT
3203 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3205 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3207 * exporter.C (Export): adjust for removeAutoInsets removal.
3209 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3211 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3213 * BufferView.[Ch] (removeAutoInsets): delete function
3215 2003-05-22 Angus Leeming <leeming@lyx.org>
3217 * latexrunparams.h: add a free_spacing variable.
3219 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3220 to pass moving_arg, as the data is stored in runparams.fragile.
3222 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3223 to Inset::latexOptional or to simpleTeXOnePar.
3225 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3226 free_spacing arg to Inset::latexOptional.
3228 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3231 2003-05-22 Angus Leeming <leeming@lyx.org>
3233 * latexrunparams.h: add fragile and use_babel variables.
3235 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3236 * buffer.C (makeLaTeXFile): store this returned value in
3237 runparams.use_babel, thus passing it to the inset::latex methods.
3239 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3240 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3242 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3243 longer has a fragile arg, as it is stored in runparams.fragile.
3245 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3246 moving_arg parameter as the data is stored in runparams.fragile.
3248 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3249 a fragile parameter as the data is stored in runparams.fragile.
3251 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3253 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3255 2003-05-22 Angus Leeming <leeming@lyx.org>
3257 * latexrunparams.h: add a 'bool nice' which defaults to false.
3259 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3260 now encapsulated within runparams.
3262 * bufferlist.C (updateIncludedTeXfiles):
3263 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3265 2003-05-22 Angus Leeming <leeming@lyx.org>
3267 * latexrunparams.h: new file containing struct LatexRunParams.
3268 * Makefile.am: add new file.
3270 * LaTeX.[Ch] (c-tor, run):
3271 * buffer.[Ch] (makeLaTeXFile):
3272 * bufferlist.[Ch] (updateIncludedTeXfiles):
3273 * converter.C (convert, scanLog):
3274 * converter.[Ch] (runLaTeX):
3275 * exporter.C (Export):
3276 * paragraph.[Ch] (simpleTeXOnePar):
3277 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3278 * paragraph_funcs.[Ch] (latexParagraphs):
3279 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3280 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3281 pass around a LatexRunParams parameter.
3283 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3285 * paragraph.[Ch]: remove unused constructor
3287 * ParagraphList.C (erase): new function, taking two iterators
3289 2003-05-22 André Pönitz <poenitz@gmx.net>
3291 * undo_funcs.C: remove duplicated code
3293 * iterator.[Ch]: operator=
3295 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3297 * tabular.C (SetMultiColumn): ws changes
3299 * rowpainter.C (paintFirst): get rid of a ->previous
3301 * lyx_cb.C (getPossibleLabel): parlist simplification
3303 * BufferView.C (ChangeInsets): simplify slightly.
3305 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3307 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3308 * lfuns.h: new LFUN_SPACE
3309 * lyxfunc.C: protected space has a new lfun
3310 * paragraph_funcs.C: read new space insets
3312 * factory.C: handle new space insets
3314 2003-05-22 André Pönitz <poenitz@gmx.net>
3317 * BufferView_pimpl.C:
3320 * undo_funcs.C: return a ParIterator from getParFromID.
3322 * iterators.[Ch]: add two const's
3324 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3326 * toc.C (getTocList): adjust
3328 * iterators.[Ch]: rework for parlist
3330 * buffer.C (par_iterator_begin): adjust
3331 (par_iterator_end): adjust
3333 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3335 * BufferView.C (removeAutoInsets): adjust
3336 (ChangeInsets): adjust
3338 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3340 * text.C (top_y): fix bug 1110
3342 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3344 * errorlist.[Ch]: added
3347 * BufferView_pimpl.C:
3348 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3351 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3353 * Makefile.am: ensure that lyx is relinked upon changes to the
3354 various "convenience" libs.
3356 2003-05-20 Angus Leeming <leeming@lyx.org>
3358 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3359 files are compiled in alphabetical order again.
3361 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3363 2003-05-19 Angus Leeming <leeming@lyx.org>
3365 * gettext.[Ch]: remove "char const * _(char const *)".
3367 2003-05-19 André Pönitz <poenitz@gmx.net>
3369 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3378 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3380 2003-05-19 André Pönitz <poenitz@gmx.net>
3384 * lyxtextclass.[Ch]:
3386 * paragraph_funcs.[Ch]:
3388 * text3.C: more insetenv work
3390 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3392 * ParagraphParameters.C (params2string): small bug fixed
3394 2003-05-16 André Pönitz <poenitz@gmx.net>
3397 * bufferview_funcs.C: patch from Kornel Benko to prevent
3398 crash when _(...) is called twice in a statement
3400 2003-05-16 André Pönitz <poenitz@gmx.net>
3407 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3409 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3411 * lyx_main.C (init): remove spurious static_cast
3413 2003-05-14 André Pönitz <poenitz@gmx.net>
3415 * BufferView.C: fix format string
3417 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3419 * BufferView.[Ch] (insertErrors): removed
3420 * BufferView.[Ch] (showErrorList): added
3421 * buffer.C (runChkTeX):
3422 * converter.C (scanLog): call showErrorList instead of inserterrors
3424 2003-05-13 André Pönitz <poenitz@gmx.net>
3426 * BufferView_pimpl.C:
3428 * bufferview_func.C:
3435 * tabular_funcs.h: tostr() from its own header
3437 * ParagraphParameters.C:
3442 * text3.C: STRCONV()
3444 2003-05-12 André Pönitz <poenitz@gmx.net>
3447 * BufferView_pimpl.C:
3451 * ParagraphParameters.C:
3455 * bufferview_funcs.C:
3468 * paragraph_funcs.C:
3472 * text3.C: boost::format -> bformat all over the place
3475 2003-05-09 André Pönitz <poenitz@gmx.net>
3477 * LColor.[Ch]: Pimpl the #include <map> away
3479 2003-05-09 John Levon <levon@movementarian.org>
3481 * bufferlist.C: never remove emergency saves
3483 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3485 * Makefile.am: better lib building
3487 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3489 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3491 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3492 (simpleTeXSpecialChars): adjust
3493 (simpleTeXSpecialChars): adjust
3494 * paragraph.C (simpleTeXOnePar): adjust
3495 * buffer.C (makeLaTeXFile): adjust
3497 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3499 * text2.C (changeDepth): parlist cleanup
3500 (getColumnNearX): ditto
3502 * rowpainter.C (getLabelFont): parlist cleanup
3504 * bufferlist.C (newFile): parlist cleanup
3506 * CutAndPaste.C (eraseSelection): parlist cleanup
3508 * BufferView_pimpl.C (trackChanges): parlist cleanup
3511 * BufferView.C (lockInset): parlist cleanup.
3512 (ChangeInsets): ditto
3514 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3516 * CutAndPaste.h: Update file header.
3518 * CutAndPaste.C: Update file header.
3519 Store the parts cut out of the Document in a limited_stack.
3520 (copySelection): adjust
3521 (pasteSelection): new function, takes the index in the limited stack.
3522 (nrOfParagraphs): adjust
3523 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3524 simplify error inset insertion.
3525 (checkPastePossible): adjust
3527 2003-05-06 John Levon <levon@movementarian.org>
3529 * text2.C: don't cast wrap inset to float
3531 2003-05-05 André Pönitz <poenitz@gmx.net>
3534 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3536 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3537 few naked Paragraph *.
3539 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3541 * bufferparams.C: Output warning if a document with missing
3542 TeX document class is loaded
3543 * exporter.C: Disable TeX exports if the document class is missing
3546 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3547 isTeXClassAvailable()
3549 2003-05-03 John Levon <levon@movementarian.org>
3552 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3553 explicit cursor show/hide
3555 * BufferView_pimpl.h:
3556 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3557 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3559 * lyxfunc.C: hide cursor before dispatching.
3564 * text3.C: remove explicit cursor hides
3566 2003-05-02 André Pönitz <poenitz@gmx.net>
3568 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3571 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3574 * text2.C: tiny whitespace
3576 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3578 * undo_funcs.C: almost only ws changes.
3580 * ParagraphList.C (splice): just return if pl is empty.
3582 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3584 * ParagraphList.C (splice): new function.
3586 * CutAndPaste.C (pasteSelection): use it
3588 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3590 * CutAndPaste.C (pasteSelection): remove the last next and
3591 previous from this file.
3593 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3595 * CutAndPaste.C (pasteSelection): more clean up, user proper
3596 ParagraphList functions for pasteing.
3598 * ParagraphList.C (insert): new function, three arg insert
3600 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3602 * ParagraphList.C (insert): new function, three arg insert
3604 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3607 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3609 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3611 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3613 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3615 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3617 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3618 (copySelection): clean up a bit.
3619 (pasteSelection): use make_pair
3621 * ParagraphList.C (ParagraphList): implement copy constructor
3622 (operator=): implement, base on copy constructor.
3625 * paragraph.C (erase): return a bool
3627 * paragraph_pimpl.C (erasePos): remove function, move contents...
3628 (erase): ... here. Return a bool.
3629 (erase): call erase instead of erasePos.
3631 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3633 * ParagraphList.h: define PitPosPair
3634 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3635 ParagraphList, fix a bug on pasting multiple pars
3636 * text2.C: change interface to C&P
3638 2003-04-30 André Pönitz <poenitz@gmx.net>
3640 * undo_func.C: revert part of yesterday's patch 2
3642 2003-04-30 John Levon <levon@movementarian.org>
3644 * LColor.C: s/tabular/table/
3646 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3648 * text3.C (dispatch): do not convert iterator -> pointer
3649 * undo_funcs.C (setCursorParUndo): ditto
3650 * text_funcs.C (transposeChars): ditto
3652 * text2.C (setLayout): ws changes only
3654 * text.C (breakParagraph): do not convert iterator -> pointer
3656 (acceptChange): ditto
3657 (rejectChange): ditto
3662 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3665 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3667 * text3.C (gotoInset): YABG (yet another bad getChar)
3669 2003-04-29 André Pönitz <poenitz@gmx.net>
3671 * paragraph.h: make operator= private unimplemented as long as
3674 * ParagraphList.C: whitespace
3677 * paragraph_pimpl.[Ch]:
3678 * paragraph_funcs.C:
3680 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3683 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3685 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3687 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3688 * paragraph.[Ch] (erase):
3689 * paragraph_pimpl.[Ch] (erase): change return type and value
3690 * text2.C (cutSelection): some rework
3692 2003-04-28 John Levon <levon@movementarian.org>
3694 * bufferlist.C: changes for unsaved changes dialog
3696 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3698 * bufferlist.C (newFile): set language (messages_) for new
3701 * buffer.C (readFile): ws changes only.
3703 2003-04-28 André Pönitz <poenitz@gmx.net>
3708 * BufferView_pimpl.C:
3709 * BufferView.C: getParFromID related ParagraphList::iterator changes
3711 2003-04-28 André Pönitz <poenitz@gmx.net>
3713 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3716 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3718 * messages.C: remove one more localedir class variable.
3720 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3722 * messages.C (getLocaleDir): singleton generation function
3724 (Messages): add a default constructor.
3726 * main.C (main): do not setup localedir here, do not call
3729 * gettext.C (_): use it.
3730 (gettext_init): delete funciton
3732 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3734 * gettext.C (getLyXMessages): new singleton generating function.
3736 * buffer.C (updateDocLang): adjust
3738 * Makefile.am (messages.o): add target
3739 (main.o): remove target
3741 2003-04-27 John Levon <levon@movementarian.org>
3746 * lyxvc.C: specify cancel button in Alert::prompt
3748 2003-04-26 John Levon <levon@movementarian.org>
3753 * LyXAction.C: add LFUN_INSET_SETTINGS
3755 * lyxfunc.C: don't enable tabular-feature when there's
3756 just any locking inset
3758 2003-04-26 John Levon <levon@movementarian.org>
3760 * bufferlist.C: re-add Cancel to buffer close question
3762 * lyxfunc.C: fix import UI a bit
3764 2003-04-25 John Levon <levon@movementarian.org>
3766 * gettext.C: remove the broken asserts for now
3768 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3770 * messages.C: make case where setlocale cannot comply work better.
3772 * buffer.C (updateDocLang): new function
3773 (changeLanguage): use it
3776 * text2.C (setCounter): use B_ a bit.
3778 * lyxlayout.C (Read): be sure to trim the label strings.
3780 * messages.C (Messages): fix typo in comment
3782 * buffer.C (readFile): set message_ after file is loaded.
3783 (makeDocBookFile): remove double return
3784 (changeLanguage): reset message_ upon language change.
3785 (B_): new func, use this to get translated buffer strings.
3787 * main.C: add myself and Jean Marc as authors.
3789 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3791 * messages.[hC]: pimplify Messages, and three different pimpls to be
3792 used in different circumstances.
3794 * gettext.[Ch]: change for use with new message code.
3796 2003-04-24 André Pönitz <poenitz@gmx.net>
3798 * factory.C: support for eqref
3800 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3802 * messages.[Ch]: add missing char
3804 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3806 * messages.[Ch]: New files
3808 2003-04-18 John Levon <levon@movementarian.org>
3812 * BufferView_pimpl.C:
3816 * text2.C: remove layout-copy/paste (bug 778)
3818 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3820 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3822 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3824 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3825 if they succeed. Act accordingly.
3827 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3829 * text2.C (setCharFont): adjust
3830 (setCounter): adjust
3831 (insertStringAsLines): adjust
3833 * text.C (leftMargin): adjust
3834 (setHeightOfRow): adjust
3836 * rowpainter.C (paintFirst): adjust
3839 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3841 (isFirstInSequence): ditto
3842 (getEndLabel): ditto
3845 * paragraph.C (getParLanguage): comment out some hard stuff.
3847 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3849 (simpleDocBookOnePar): ditto
3850 (makeDocBookFile): use ParagraphList::iterator
3852 * CutAndPaste.C (pasteSelection): adjust
3854 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3856 * text2.C (getFont): adjust
3857 (getLayoutFont): adjust
3858 (getLabelFont): adjust
3860 * paragraph_funcs.C (TeXOnePar): adjust
3862 * buffer.C (simpleLinuxDocOnePar): adjust
3863 (simpleDocBookOnePar): adjust
3865 * CutAndPaste.C (pasteSelection): adjust
3867 * BufferView.C (getEncoding): adjust
3869 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3871 2003-04-16 John Levon <levon@movementarian.org>
3873 * lyxfind.C: use parlist stuff for search/changes
3875 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3877 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3879 * text2.C (deleteEmptyParagraphMechanism): adjust
3881 * text2.[Ch] (ownerParagraph): delete func (both of them
3883 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3885 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3887 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3889 * ParagraphList.C: prepare for NO_NEXT
3891 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3893 * text2.C (getFont): adjust
3894 (getLayoutFont): adjust
3895 (getLabelFont): adjust
3897 * paragraph.C (getFont): adjust
3898 (getLabelFont): adjust
3899 (getLayoutFont): adjust
3901 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3903 2003-04-15 John Levon <levon@movementarian.org>
3907 * lyx_main.C: handle Include in .ui files
3909 2003-04-15 John Levon <levon@movementarian.org>
3911 * MenuBackend.C: make the doc files length shorter
3914 * ToolbarBackend.C: handle toolbar placement flags,
3917 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3919 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3922 * paragraph_funcs.C (TeXOnePar): adjust
3924 * paragraph.C (getLabelFont): add outerfont arg, adjust
3925 (getLayoutFont): ditto
3926 (simpleTeXOnePar): adjust
3928 * paragraph_pimpl.C (realizeFont): delete func
3930 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3932 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3933 row argument, constify cur argument.
3935 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3937 * text2.C (getFont): adjust
3938 (getLayoutFont): adjust
3939 (getLabelFont): adjust
3941 * paragraph_funcs.C (TeXOnePar): adjust
3942 (outerFont): new func...
3943 (realizeFont): ...moved out from here, changed this to facilitate
3946 * paragraph.C (getFont): take outerfont as arg, adjust
3947 (simpleTeXOnePar): add outerfont arg, adjust
3949 * buffer.C (simpleLinuxDocOnePar): adjust
3950 (simpleDocBookOnePar): adjust
3952 * CutAndPaste.C (pasteSelection): adjust
3954 * BufferView.C (getEncoding): adjust
3956 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3958 * text2.C (setCharFont): adjust
3959 (setCounter): adjust
3961 * text.C (leftMargin): adjust
3962 (setHeightOfRow): adjust
3964 * rowpainter.C (paintFirst): adjust
3967 * paragraph_pimpl.C (realizeFont): adjust
3969 * paragraph.C (isFirstInSequence): move from here...
3970 * paragraph_funcs.C (isFirstInSequence): ...to here
3972 * paragraph.C (outerHook): move from here...
3973 * paragraph_funcs.C (outerHook): ...to here
3975 * paragraph.C (depthHook): move from here...
3976 * paragraph_funcs.C (depthHook): ...to here
3978 * paragraph.C (getEndLabel): move from here...
3979 * paragraph_funcs.C (getEndLabel): ...to here
3981 * text2.C (realizeFont): move from here...
3982 * paragraph_funcs.C (realizeFont): ...to here
3984 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3986 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3988 2003-04-14 Angus Leeming <leeming@lyx.org>
3990 * LColor.[Ch]: scrap LColor mathcursor.
3992 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3994 * lyxlex.[Ch] (text): delete function
3995 * trans.C (Load): adjust
3996 * paragraph_funcs.C (readParToken): adjust
3998 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4000 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4001 vector<char> instead of a char[].
4003 * lyxlex_pimpl.C (getString): adjust
4005 (lex): use getString
4009 * lyxlex.C (text): use pimpl_->getString()
4013 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4015 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4016 (makeFontEntriesLayoutSpecific): temp var for par.size()
4017 (setLayout): temp var for ownerParagraphs().end()
4018 (fullRebreak): temp var for rows().end()
4019 (selectionAsString): temp var for boost::next(startpit), realize
4020 that the while really is a regular for loop.
4021 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4022 setCursor in one place.
4023 (setParagraph): temp vr for ownerParagraphs().end()
4024 (updateCounters): make the while loop a for loop
4025 (cutSelection): temp var for ownerParagraphs().end()
4026 (updateInset): make the do {} while() a regular for loop
4027 (getCursorX): use temp vars
4028 (setCurrentFont): use temp vars
4029 (getColumnNearX): use temp vars
4031 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4033 * text.C (transformChar): use temp var for getChar
4034 (computeBidiTables): use temp var for row->par()
4035 (fill): move temp vars for row->par() and pit->layout() earlier in
4037 (labelFill): use temp var for row->par()
4038 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4039 asc and desc, realize that pit never changes and that firstpit is
4040 just a duplicate and not needed. Exchange rit->par() with pit in a
4042 (breakAgain): use a temp var for boost::next(rit)
4043 (breakAgainOneRow): ditto
4044 (breakParagraph): use a temp var for rows().begin()
4045 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4046 (cursorRightOneWord): use temp var for cursor.par() and
4047 cursor.pos(), remove usage of tmpcursor.
4048 (cursorLeftOneWord): use temp var for cursor.par() and
4049 cursor.pos() only set cur at end of function.
4051 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4053 * text.C, text2.C: exchange all usage of Paragraph::next with
4054 boost::next(ParagraphList::iterator)
4056 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4058 * text2.C (cursorTop): simplify implementation
4059 (cursorBottom): ditto
4060 (setParagraph): use ParagraphList::iterator
4061 (setCurrentFont): adjust
4062 (getColumnNearX): adjust
4063 (cursorRight): adjust
4064 (cursorLeft): remove usage of Paragraph::previous
4065 (cursorUpParagraph): ditto
4066 (deleteEmptyParagraphMechanism): slight cleanup
4068 * text.C (isBoundary): take a Paragraph const & instead of a
4070 (addressBreakPoint): ditto
4071 (leftMargin): remove usage of Paragraph::previous.
4072 (setHeightOfRow): ditto
4073 (cursorLeftOneWord): ditto
4074 (selectNextWordToSpellcheck): ditto
4077 (breakParagraph): remove one usage of Paragraph::next
4078 (redoParagraph): ditto
4079 (acceptChange): ditto
4080 (insertChar): adjust
4081 (rowBreakPoint): adjust
4083 * bufferview_funcs.C (toggleAndShow): adjust
4085 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4087 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4088 methods to access it.
4090 * text.C: Added updateRowPositions to compute all row positions.
4091 Make top_y and getRowNearY() to use the cached y position
4093 2003-04-11 John Levon <levon@movementarian.org>
4095 * text.C (rowBreakPoint): reintroduce the labelEnd
4096 checks, code copied from the row fill stuff. Deep voodoo.
4098 * text.C (fill): add a comment and debugging for the
4101 2003-04-11 John Levon <levon@movementarian.org>
4103 * text.C: make sure fullrow insets get wrapped to the next line,
4104 even when they're in a manual label
4106 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4108 * text2.C (insertParagraph): make it take ParagraphList::iterator
4110 (setLayout): make it return ParagraphList::iterator
4111 (redoParagraphs): ditto
4113 (checkParagraph): ditto
4115 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4117 * text2.C: adjust several funcs.
4118 (realizeFont): take a ParagraphList::iterator as arg.
4119 (getLayoutFont): ditto
4120 (getLabelFont): ditto
4121 (setCharFont): ditto
4123 * text.C: adjust several funcs.
4125 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4127 * text.C (selectNextWordToSpellcheck): don't accidentally
4130 2003-04-10 John Levon <levon@movementarian.org>
4132 * ToolbarBackend.C (getIcon): special handling for
4135 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4137 * text2.C (cursorRight): a getChar assert fixed
4139 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4141 * text2.C (getFont): change to take a ParagraphList::iterator
4142 instead of Paragraph*
4143 Adjust several functions.
4145 * text.C (transformChar): change to take a ParagraphList::iterator
4146 instead of Paragraph*
4147 (singleWidth): ditto
4148 Adjust several functions.
4150 * rowpainter.C: adjust several functions
4151 * rowpainter.h:store a ParagraphList::iterator and not a
4155 2003-04-09 John Levon <levon@movementarian.org>
4160 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4161 and the "help" bits as well
4163 2003-04-09 John Levon <levon@movementarian.org>
4166 * ToolbarBackend.C: allow multiple toolbars
4168 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4170 * undo_funcs.C (setCursorParUndo): adjust
4172 * text_funcs.C (transposeChars): adjust
4174 * text3.C (gotoNextInset): adjust
4177 * text2.C (setLayout): adjust
4178 (changeDepth): adjust
4180 (redoParagraphs): adjust
4181 (selectionAsString): adjust
4182 (setParagraph): adjust
4183 (insertInset): adjust
4184 (cutSelection): adjust
4185 (copySelection): adjust
4186 (pasteSelection): adjust
4187 (insertStringAsLines): adjust
4188 (updateInset): adjust
4189 (setCursor): change to take a ParagraphList::iterator parameter
4190 (setCursorIntern): change to take a ParagraphList::iterator parameter
4191 (setCurrentFont): adjust
4192 (cursorLeft): adjust
4193 (cursorRight): adjust
4194 (deleteEmptyParagraphMechanism): adjust
4196 * text.C (breakParagraph): adjust
4197 (insertChar): adjust
4198 (acceptChange): adjust
4199 (rejectChange): adjust
4200 (selectNextWordToSpellcheck): adjust
4201 (changeCase): adjust
4205 * lyxfind.C (SearchForward): adjust
4206 (SearchBackward): adjust
4207 (nextChange): adjust
4209 * lyxcursor.C (par): adjust
4211 * lyxcursor.h: store a ParagraphList::iterator instead of a
4214 * lyx_cb.C (getPossibleLabel): adjust
4216 * bufferview_funcs.C (toggleAndShow): adjust
4218 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4221 * BufferView.C (removeAutoInsets): adjust
4222 (lockedInsetStoreUndo): adjust
4224 2003-04-09 John Levon <levon@movementarian.org>
4226 * ToolbarBackend.C: try icon without argument
4227 if with argument fails
4229 2003-04-08 John Levon <levon@movementarian.org>
4232 * ToolbarBackend.C: add getIcon(), handle tooltip,
4233 and change from "Icon" to "Item".
4235 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4237 * BufferView.C (lockInset): another bad getchar crunched
4239 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4241 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4244 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4246 * lyxfind.C (searchForward, searchBackwards): bug 782
4248 2003-04-07 John Levon <levon@movementarian.org>
4250 * paragraph.C: remove dead comment
4252 * text.C: remove troublesome depth-fiddling code
4253 in leftMargin() and rightMargin() (bug 1017)
4255 * text.C: fix breaking of rows in nested lists
4258 * text2.C (updateCounters): fix up depth values
4261 2003-04-07 John Levon <levon@movementarian.org>
4263 * BufferView_pimpl.C: clear message when doc finishes resizing,
4264 and after a mouse event
4266 * lyxfunc.C: clear message after exiting inset
4268 2003-04-07 John Levon <levon@movementarian.org>
4270 * bufferview_funcs.C: show math status not outside
4271 status in the statusbar
4273 2003-04-07 John Levon <levon@movementarian.org>
4275 * lyxfunc.C: note status changed after a depth change
4277 2003-04-04 Angus Leeming <leeming@lyx.org>
4279 * LaTeX.h: move AuxInfo operator==, != out of line.
4280 Remove LaTeX virtual destructor; nothing derives from it.
4281 Move operator()() out of public area and rename it startscript().
4282 Change protected for private.
4284 2003-04-04 Angus Leeming <leeming@lyx.org>
4287 * text2.C: remove unneeded #includes.
4289 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4291 * text2.C (dEPM): fix the heigth of the next row
4293 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4295 * text.C: squashed an invalid getChar requester + some ws changes
4297 2003-04-03 John Levon <levon@movementarian.org>
4299 * bufferview_funcs.h:
4300 * bufferview_funcs.C:
4303 * text2.C: make getStatus work for the env depth lfuns
4305 2003-04-03 John Levon <levon@movementarian.org>
4307 * bufferview_funcs.h:
4308 * bufferview_funcs.C:
4311 * text2.C: parlistize decDepth(), by merging it with incDepth()
4313 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4315 * lyxrow.h: store a ParagraphList::iterator instead of a
4316 Paragraph* and adjust other class functions to suit.
4318 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4321 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4323 * text2.C (setCursor): do not anchor to cursor row for the time being
4325 2003-04-02 John Levon <levon@movementarian.org>
4332 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4334 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4336 * paragraph.h: make ParagraphList and ParagraphList::iterator
4337 friends of Paragraph.
4339 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4341 * ParagraphList.C: Use the private next_ and previous_ from
4344 2003-04-01 John Levon <levon@movementarian.org>
4348 * Makefile.am: rename, remove defaults gunk
4351 * MenuBackend.C: remove defaults gunk
4354 * Languages.C: remove defaults gunk
4357 * lyx_main.C: error out if files couldn't be found.
4359 2003-04-02 John Levon <levon@movementarian.org>
4361 * text2.C: make incDepth() use parlist
4363 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4365 * undo_funcs.C (firstUndoParagraph): adjust
4367 * text3.C (gotoInset): adjust
4368 (dispatch): adjust, and rewrite loop.
4370 * text2.C (init): adjust, and rewrite loop.
4371 (redoParagraphs): adjust
4372 (updateInset): adjust, and rewrite loop.
4373 (deleteEmptyParagraphMechanism): adjust
4375 * tabular.C (LyXTabular): adjust
4376 (SetMultiColumn): adjust
4379 * lyxtext.[Ch] (ownerParagraph): delete function
4380 (ownerParagraphs): new function returns a ParagraphList.
4382 * BufferView.C (removeAutoInsets): adjust
4383 (insertErrors): adjust
4384 (setCursorFromRow): adjust
4386 2003-04-01 Angus Leeming <leeming@lyx.org>
4388 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4391 2003-04-02 John Levon <levon@movementarian.org>
4397 * text_funcs.C: make transposeChars a free function
4399 * lyxrow_funcs.C: remove wrong comment
4401 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4404 * rowpainter.C: adjust
4409 * lyxrow_funcs. [Ch]: new files
4411 * lyxrow.[Ch]: remove next and previous pointers
4412 (next,previous): remove accessor functions
4413 (isParEnd): move to lyxrow_funcs
4414 (lastPos): move to lyxrow_funcs
4415 (nextRowIsAllInset): move to lyxrow_funcs
4416 (lastPrintablePos): move to lyxrow_funcs
4417 (numberOfSeparators): move to lyxrow_funcs
4418 (numberOfHfills): move to lyxrow_funcs
4419 (numberOfLabelHfills): move to lyxrow_funcs
4420 (hfillExpansion): move to lyxrow_funcs
4424 * bufferview_funcs.C (toggleAndShow): adjust
4426 * RowList.h: Remove class RowList from file leave just a
4429 * RowList.C: delete file
4431 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4434 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4436 * text3.C (cursorPrevious): adjust
4437 (cursorNext): adjust
4440 * text2.C (redoHeightOfParagraph): adjust
4441 (redoDrawingOfParagraph): adjust
4444 * text.C (breakParagraph): adjust
4445 (insertChar): adjust
4448 * rowpainter.C (RowPainter): adjust
4449 (leftMargin): simplify and adjust
4450 (most rowpainter functions): adjust.
4452 * rowpainter.h: store the row as RowList::iterator not as Row*
4454 * lyxcursor.C (row): taka RowList::iterator as arg
4457 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4460 2003-04-01 Angus Leeming <leeming@lyx.org>
4462 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4463 stuff like bool Bool.
4465 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4467 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4470 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4472 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4475 * lyxtext.h (rows): drop one version and leve a const variant that
4476 returns a RowList::iterator.
4478 2003-03-31 Angus Leeming <leeming@lyx.org>
4480 * text.C (fill): ensure that the signature is the same as that in the
4483 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4485 * text2.C (redoParagraphs): adjust
4486 (updateCounters): adjust
4487 (checkParagraph): adjust
4488 (getColumnNearX): adjust and reformat a bit.
4490 * text.C (top_y): adjust
4492 (leftMargin): adjust
4493 (prepareToPrint): adjust
4495 (getRowNearY): adjust
4497 * lyxtext.h: make rowlist_ mutable.
4499 * RowList.h: add const_iterator
4500 * RowList.C: adjust for RowList::const_iterator.
4502 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4505 2003-03-31 John Levon <levon@movementarian.org>
4508 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4510 * lyx_main.C: set default fonts from using lyx_gui funcs
4512 * exporter.C: pdf_mode moved from lyxrc
4515 * lyxfunc.C: changes from above
4517 2003-03-31 John Levon <levon@movementarian.org>
4519 * lyx_main.C: fix to the last fix
4521 2003-03-31 John Levon <levon@movementarian.org>
4523 * bufferlist.C: "Load original" -> "Load Original"
4529 * format.C: more Alert cleanups
4531 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4533 * text2.C (removeParagraph): make it take a RowList::iterator as
4535 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4536 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4538 * text.C (anchor_row): make it take a RowList::iterator as arg,
4540 (computeBidiTables): make it take a const reference to Row instead
4541 of Row pointer, adjust.
4542 (leftMargin): make it take a RowList::iterator as arg, adjust.
4543 (rowBreakPoint): adjust
4544 (breakAgainOneRow): make it take a RowList::iterator as arg,
4546 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4548 * bufferview_funcs.C (toggleAndShow): adjust
4550 2003-03-30 John Levon <levon@movementarian.org>
4554 * boost-inst.C: moved to support
4556 * several files: changes as a result
4558 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4560 * text2.C (LyXText): adjust.
4562 (removeRow): make it take a RowList::iterator as arg, adjust.
4563 (fullRebreak): adjust
4564 (deleteEmptyParagraphMechanism): adjust
4565 (clearPaint): adjust
4568 * text.C (top_y): adjust
4569 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4570 (breakAgain): make it take a RowList::iterator as arg, adjust.
4571 (breakParagraph): adjust
4572 (insertChar): adjust
4575 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4576 need_break_row, and refresh_row.
4578 * text3.C (dispatch): adjust
4580 * text2.C (checkParagraph): adjust
4582 (setCursorFromCoordinates): adjust
4584 * text.C (top_y): adjust
4586 (getRow): make it return a RowList::iterator, adjust
4587 (getRowNearY): make it return a RowList::iterator, adjust
4589 * text2.C (init): adjust
4590 (insertRow): remove function
4591 (insertParagraph): adjust
4592 (redoParagraphs): adjust
4593 (fullRebreak): adjust
4594 (updateCounters): adjust
4596 * text.C (top_y): rewrite to use RowList iterators.
4598 (setHeightOfRow): rewrite to sue RowList iterators.
4599 (appendParagraph): adjust
4600 (breakAgain): adjust
4601 (breakAgainOneRow): adjust
4602 (breakParagraph): adjust
4604 (getRowNearY): adjust, and remove commented code.
4606 * lyxtext.h (firstRow): delete function
4607 (lastRow): delete function
4608 (rows): new function (const and non-const versions.)
4609 (insertRow): delete function
4611 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4613 2003-03-29 John Levon <levon@movementarian.org>
4615 * BufferView_pimpl.C: always update scrollbar top
4616 because pasting text when we're anchored could mean we
4617 miss an update altogether
4619 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4621 * text2.C (init): use rowlist_.end() and not 0.
4622 (insertRow): change to take a RowList::iterator as arg, adjust
4624 (insertParagraph): change to take a RowList::iterator as arg,
4626 (redoParagraphs): remove some debug msgs.
4628 * text.C (appendParagraph): change to take a RowList::iterator
4629 arg, adjust for this.
4630 (breakAgain): add an assert
4631 (breakAgainOneRow): ditto
4633 2003-03-29 John Levon <levon@movementarian.org>
4635 * text2.C: do not clear selection after inc/decDepth
4638 2003-03-29 John Levon <levon@movementarian.org>
4641 * buffer.C: fix broken strerrors according to Lars
4643 2003-03-29 John Levon <levon@movementarian.org>
4645 * converters.C: more Alert cleanups
4647 2003-03-29 John Levon <levon@movementarian.org>
4649 * bufferview_funcs.C: remove pointless Alert
4651 * buffer.C: fix confusing error message when
4652 a template is chmoded 000
4654 2003-03-29 John Levon <levon@movementarian.org>
4658 * BufferView_pimpl.C: Alert fixes
4662 * tabular-old.C: remove unused table compat reading
4664 2003-03-29 John Levon <levon@movementarian.org>
4669 * lyx_cb.C: more Alert cleanups
4671 * lyxfunc.C: don't allow chktex if not latex document
4673 2003-03-29 John Levon <levon@movementarian.org>
4677 * buffer.C: warnings pushed down from support/,
4680 2003-03-29 John Levon <levon@movementarian.org>
4682 * lyxfunc.C: safety check for C-r (revert)
4684 2003-03-29 John Levon <levon@movementarian.org>
4687 * bufferlist.C: several UI fixes using Alert::prompt.
4688 Fix the pointless looping quit code. Fix stupid revert
4693 * lyx_cb.C: use Alert::prompt
4695 * lyx_main.C: remove a silly question
4697 * lyxfunc.C: remove a couple of silly questions,
4700 2003-03-28 John Levon <levon@movementarian.org>
4702 * text2.C: fix bug 974 (End on empty par)
4704 2003-03-28 John Levon <levon@movementarian.org>
4706 * BufferView_pimpl.C:
4708 * lfuns.h: remove do-nothing math greek lfuns
4710 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4712 * lyxgluelength.h (isValidGlueLength): add default arg on
4713 parameter 2. Remove default arg from friend in class.
4715 * lyxlength.h (isValidLength): add default arg on parameter 2.
4716 Remove default arg from friend in class.
4718 * text2.C (LyXText): adjust, initialize refresh_row.
4722 (insertParagraph): adjst
4723 (redoParagraphs): adjust
4724 (fullRebreak): adjust
4725 (updateCounters): adjust
4726 (deleteEmptyParagraphMechanism): first attempt at fixing a
4729 * text.C (top_y): adjust
4730 (setHeightOfRow): adjust
4732 (getRowNearY): adjust
4734 * lyxtext.h: include RowList.h
4735 (~LyXText): not needed anymore, deleted.
4736 (firstRow): modify for RowList
4737 (lastRow): new function
4738 Delete firstrow and lastrow class variables, add a Rowlist
4739 rowlist_ class variable.
4741 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4744 * RowList.C (insert): fix case where it == begin().
4746 2003-03-26 Angus Leeming <leeming@lyx.org>
4748 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4749 the thesaurus dialog.
4751 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4753 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4755 * RowList.[Ch]: new files
4757 * ParagraphList.C (erase): handle the case where it == begin
4760 2003-03-25 John Levon <levon@movementarian.org>
4764 * aspell.C: add new aspell support
4767 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4770 2003-03-25 Angus Leeming <leeming@lyx.org>
4773 * LyXAction.C (init): new LFUN_INSET_INSERT.
4775 * BufferView_pimpl.C (dispatch): split out part of the
4776 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4778 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4781 2003-03-25 Angus Leeming <leeming@lyx.org>
4783 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4785 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4788 * text3.C: remove useless row->height(0)
4790 2003-03-25 John Levon <levon@movementarian.org>
4794 * text3.C: rename the refreshing stuff to better names
4796 2003-03-24 John Levon <levon@movementarian.org>
4798 * BufferView_pimpl.h:
4799 * BufferView_pimpl.C: update layout choice on a mouse
4802 2003-03-23 John Levon <levon@movementarian.org>
4804 * Makefile.am: fix commandtags.h reference
4806 2003-03-22 John Levon <levon@movementarian.org>
4808 * BufferView_pimpl.C:
4813 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4815 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4818 * text.C: take the rtl methods out of line
4820 2003-03-21 André Pönitz <poenitz@gmx.net>
4822 * metricsinfo.[Ch]: new files containing structures to be passed around
4823 during the two-phase-drawing...
4825 2003-03-21 André Pönitz <poenitz@gmx.net>
4827 * lyxtextclass.C: read 'environment' tag.
4829 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4831 * text2.C (removeRow): fix bug 964
4833 2003-03-20 John Levon <levon@movementarian.org>
4837 * text2.C: paint cleanups. Inset::update() dropped font
4840 2003-03-19 John Levon <levon@movementarian.org>
4842 * lyxfunc.C: only fitcursor/markDirty if available()
4844 2003-03-19 John Levon <levon@movementarian.org>
4846 * commandtags.h: rename to ...
4848 * lfuns.h: ... this, and renumber / cleanup
4850 2003-03-19 John Levon <levon@movementarian.org>
4852 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4853 fit the cursor after an lfun
4857 * BufferView_pimpl.h:
4858 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4860 * LyXAction.C: layout-character should have ReadOnly
4862 * ParagraphParameters.C:
4864 * bufferview_funcs.C:
4871 * undo_funcs.C: changes from above
4873 2003-03-18 John Levon <levon@movementarian.org>
4875 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4876 remove it from update()
4878 * lyxfunc.C: update layout choice after an lfun
4880 * text3.C: remove extra updateLayoutChoice()s
4882 2003-03-18 John Levon <levon@movementarian.org>
4884 * text.C: top_y change means full repaint, fix
4885 a drawing bug with cursor movement
4887 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4891 * text2.C: anchor row on setCursor
4893 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4895 * lyxtext.h: remove almost all mutable keywords
4898 * text3.C: remove const keywords accordingly
4900 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4902 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4904 (TeXEnvironment): ditto
4907 2003-03-17 John Levon <levon@movementarian.org>
4909 * text.C (rowBreakPoint): remove attempt to fix displayed
4910 math insets inside a manual label
4912 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4914 * lyxtext.h: remove BufferView* as first arg from almost all class
4916 * other files: adjust.
4918 2003-03-17 John Levon <levon@movementarian.org>
4922 * text2.C: more paint cleanups
4924 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4927 * rowpainter.C: remove "smart" background painting code
4929 2003-03-16 John Levon <levon@movementarian.org>
4934 * text3.C: add helper functions for setting refresh_row/y
4936 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4938 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4939 newline inset which *can* get inserted in the pass_thru layouts.
4940 This is primarily for literate documents.
4942 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4944 * buffer.C: increment LYX_FORMAT to 223
4946 2003-03-14 André Pönitz <poenitz@gmx.net>
4948 * textclass.h: prepare for environment handling, ws changes
4949 * lyxlayout.C: read latexheader and latexfooter tags
4951 2003-03-14 John Levon <levon@movementarian.org>
4953 * text2.C: rewrite ::status() a bit
4955 2003-03-13 John Levon <levon@movementarian.org>
4957 * lyxtext.h: add some docs
4959 2003-03-13 John Levon <levon@movementarian.org>
4964 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4966 2003-03-13 John Levon <levon@movementarian.org>
4968 * text3.C: fix appendix redrawing
4970 2003-03-13 John Levon <levon@movementarian.org>
4972 * text.C (setHeightOfRow):
4974 * rowpainter.C: make appendix mark have the text
4975 "Appendix" so the user knows what it is
4978 * LColor.C: s/appendixline/appendix/ from above
4980 2003-03-13 John Levon <levon@movementarian.org>
4982 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4984 * text.C: fix a getChar(pos) bug properly
4986 2003-03-13 Angus Leeming <leeming@lyx.org>
4989 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4990 Probably only temporary. Let's see how things pan out.
4992 * BufferView.C (unlockInset):
4993 * BufferView_pimpl.C (fitCursor):
4994 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4996 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4997 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4999 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5000 new functions that convert ParagraphParameters to and from a string.
5002 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5003 BufferView::Pimpl's dispatch.
5004 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5006 2003-03-13 André Pönitz <poenitz@gmx.net>
5010 * factory.C: make it aware of InsetEnv
5012 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5014 * text2.C (setCursor): never ask for one past last
5015 (setCursor): add some debugging messages.
5017 * text.C (singleWidth): never ask for one past last
5018 (singleWidth): ditto
5020 (rightMargin): ditto
5021 (rowBreakPoint): ditto
5022 (setHeightOfRow): ditto
5023 (prepareToPrint): ditto
5025 * rowpainter.C (paintBackground): never ask for one past last
5026 (paintText): never ask for one past last
5028 * paragraph_pimpl.C (getChar): make the assert stricter, never
5029 allow the one past last pos to be taken
5031 * paragraph.C (getChar): ws changes only
5033 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5034 (numberOfSeparators): ditto
5035 (numberOfHfills): ditto
5037 2003-03-12 John Levon <levon@movementarian.org>
5043 * paragraph_funcs.C: fix per-buffer authorlists
5045 2003-03-12 John Levon <levon@movementarian.org>
5047 * text.C: fix newline in right address
5049 2003-03-12 Angus Leeming <leeming@lyx.org>
5051 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5052 duplicate those in LyXFunc::dispatch.
5056 * ToolbarDefaults.C:
5057 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5058 Add LFUN_FONTFREE_UPDATE.
5060 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5061 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5063 * bufferview_func.[Ch]: several new functions to facilliate
5064 transfer of data to and from the character dialog.
5066 2003-03-12 John Levon <levon@movementarian.org>
5071 * paragraph_funcs.C:
5072 * paragraph_pimpl.C:
5076 * text3.C: remove META_NEWLINE in favour of an inset
5079 * rowpainter.C: remove paintNewline (done by inset)
5081 2003-03-12 John Levon <levon@movementarian.org>
5083 * paragraph_pimpl.C: complain about bad getChar()s
5084 for a while at least
5086 2003-03-12 John Levon <levon@movementarian.org>
5089 * buffer.C: move paragraph read into a separate function,
5090 a little renaming to reflect that.
5093 * bufferparams.C: remove the author_ids map, not necessary now
5096 * factory.C: moved Buffer::readInset to here
5098 * paragraph_funcs.h:
5099 * paragraph_funcs.C: readParagraph free function moved from
5102 * tabular.C: name change
5104 2003-03-12 John Levon <levon@movementarian.org>
5107 * ParagraphParameters.C: move par params input to
5110 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5111 behave like a normal read from the stream wrt reading
5112 a line vs. a \\token
5114 2003-03-12 John Levon <levon@movementarian.org>
5117 * ParagraphParameters.h:
5118 * ParagraphParameters.C: move output code to a
5121 2003-03-12 John Levon <levon@movementarian.org>
5123 * BufferView.C (insertLyXFile):
5126 * tabular.C: use a parlist iterator for creating the
5129 2003-03-12 John Levon <levon@movementarian.org>
5131 * buffer.C: make current_change static local not
5134 2003-03-12 John Levon <levon@movementarian.org>
5136 * buffer.C: fix insertStringAsLines for change tracking
5138 2003-03-12 John Levon <levon@movementarian.org>
5145 * bufferparams.C: move author list into params. Rename some
5146 functions. Move the header reading into a separate token
5147 loop. Move the header token reading into BufferParams.
5149 2003-03-12 John Levon <levon@movementarian.org>
5151 * changes.C: put debug inside lyxerr.debugging() checks
5153 2003-03-11 André Pönitz <poenitz@gmx.net>
5155 * factory.C: make it aware of InsetHFill
5157 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5159 * buffer.C (latexParagraphs): move function from here...
5160 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5163 2003-03-10 Angus Leeming <leeming@lyx.org>
5165 * LyXAction.C (init): fix bug in poplating array with multiple entries
5166 with the same LFUN (spotted by JMarc).
5168 2003-03-10 John Levon <levon@movementarian.org>
5171 * text2.C: move getColumnNearX() near its
5174 2003-03-10 John Levon <levon@movementarian.org>
5176 * text.C: fix break before a minipage
5178 2003-03-10 John Levon <levon@movementarian.org>
5180 * text.C: fix the last commit
5182 2003-03-09 John Levon <levon@movementarian.org>
5186 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5187 bug 365 (don't break before insets unless needed). Don't
5188 return a value > last under any circumstances.
5190 2003-03-09 Angus Leeming <leeming@lyx.org>
5192 * BufferView_pimpl.C (trackChanges, dispatch): call
5193 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5195 2003-03-09 Angus Leeming <leeming@lyx.org>
5197 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5198 than Dialogs::showAboutlyx().
5200 2003-03-09 Angus Leeming <leeming@lyx.org>
5202 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5203 than Dialogs::showTabularCreate().
5205 2003-03-09 John Levon <levon@movementarian.org>
5209 * text2.C: 3rd arg to nextBreakPoint was always the same.
5212 2003-03-08 John Levon <levon@movementarian.org>
5219 * text2.C: Remove the "main" bit from the "main body"
5222 2003-03-08 John Levon <levon@movementarian.org>
5224 * text.C (leftMargin): The left margin of an empty
5225 manual label paragraph should not include the label width
5228 * text.C (prepareToPrint): don't attempt to measure hfills
5229 for empty manual label paragraphs - the answer should be 0
5231 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5233 * CutAndPaste.C: remove commented code and reindent.
5235 2003-03-08 John Levon <levon@movementarian.org>
5238 * lyxfunc.C: move reloadBuffer()
5241 * BufferView.C: to here
5243 * lyxvc.C: add comment
5246 * vc-backend.C: call bv->reload() to avoid
5247 getStatus() check on MENURELOAD
5249 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5251 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5252 to an old format .dep file.
5254 2003-03-07 Angus Leeming <leeming@lyx.org>
5256 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5257 when the LFUN_MOUSE_RELEASE should have been handled by
5258 inset->localDispatch.
5260 2003-03-07 Angus Leeming <leeming@lyx.org>
5262 * BufferView_pimpl.C (dispatch):
5263 * LyXAction.C (init):
5264 * ToolbarDefaults.C (init):
5266 * lyxfunc.C (getStatus):
5267 remove LFUN_INSET_GRAPHICS.
5269 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5271 2003-03-07 Angus Leeming <leeming@lyx.org>
5274 * LyXAction.C (init):
5275 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5277 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5280 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5282 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5283 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5285 2003-03-07 Angus Leeming <leeming@lyx.org>
5287 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5290 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5292 * ParagraphList.C (front): new function
5295 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5297 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5298 and top_row_offset_. removed var first_y.
5300 * text2.C (LyXText, removeRow):
5302 * BufferView_pimpl.C:
5303 use these methods instead of using first_y
5305 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5307 * text2.C (pasteSelection): adjust for checkPastePossible
5309 * CutAndPaste.C: remove Paragraph * buf and replace with
5310 ParagraphList paragraphs.
5311 (DeleteBuffer): delete
5312 (cutSelection): change the tc type to textclass_type
5313 (copySelection): change the tc type to textclass_type
5314 (copySelection): adjust for ParagraphList
5315 (pasteSelection): change the tc type to textclass_type
5316 (pasteSelection): adjust for Paragraphlist
5317 (nrOfParagraphs): simplify for ParagraphList
5318 (checkPastePossible): simplify for ParagraphList
5319 (checkPastePossible): remove unused arg
5321 * ParagraphList.C (insert): handle the case where there are no
5324 * CutAndPaste.h: make CutAndPaste a namespace.
5326 * text3.C (dispatch): adjust
5328 * text.C (breakParagraph): add a ParagraphList as arg
5330 * paragraph_funcs.C (breakParagraph): change to take a
5331 BufferParams and a ParagraphList as args.
5332 (breakParagraphConservative): ditto
5333 (mergeParagraph): ditto
5334 (TeXDeeper): add a ParagraphList arg
5335 (TeXEnvironment): ditto
5338 * buffer.C (readLyXformat2): adjust
5339 (insertStringAsLines): adjust
5340 (latexParagraphs): adjust
5342 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5343 (cutSelection): adjust
5344 (pasteSelection): adjust
5346 * BufferView_pimpl.C (insertInset): adjust
5348 2003-03-05 Angus Leeming <leeming@lyx.org>
5351 * LyXAction.C (init):
5352 * BufferView_pimpl.C (dispatch):
5353 * lyxfunc.C (getStatus):
5354 remove LFUN_CHILD_INSERT.
5356 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5358 2003-03-05 Angus Leeming <leeming@lyx.org>
5361 * LyXAction.C (init):
5362 * src/factory.C (createInset):
5363 * lyxfunc.C (getStatus):
5364 * text3.C (dispatch):
5365 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5367 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5369 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5371 * ParagraphList.C (insert): handle insert right before end()
5372 (erase): fix cases where it can be first or last paragraph.
5374 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5376 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5377 Paragraph::next and Paragraph::previous
5380 * text.C (breakParagraph): adjust
5382 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5383 BufferParams& as arg.
5384 (breakParagraph): use ParagraphList::insert
5385 (breakParagraphConservative): take a Buffer* instead of a
5386 BufferParams& as arg.
5387 (breakParagraphConservative): use ParagraphList::insert.
5389 * buffer.C (insertStringAsLines): un-const it
5390 (insertStringAsLines): adjust
5392 * ParagraphList.C (insert): new function
5394 * CutAndPaste.C (pasteSelection): adjust
5396 * text.C (backspace): adjust
5398 * tabular.C (SetMultiColumn): adjust
5400 * CutAndPaste.C (cutSelection): adjust
5401 (pasteSelection): adjust
5403 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5404 Buffer const * as arg
5406 * ParagraphList.C (erase): new function
5407 * paragraph_funcs.C (mergeParagraph): use it
5408 (mergeParagraph): make it take a Buffer* instead of a
5409 BufferParams* as arg
5411 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5413 (breakParagraphConservative): ditto
5415 * paragraph.h: remove the breakParagraph friend
5417 * paragraph.C (eraseIntern): new function
5418 (setChange): new function
5420 * paragraph_funcs.C (mergeParagraph): make it take a
5421 ParagraphList::iterator instead of a Paragraph *, adjust
5424 * paragraph.h: move an #endif so that the change tracking stuff
5425 also works in the NO_NEXT case.
5427 2003-03-04 Angus Leeming <leeming@lyx.org>
5430 * LyXAction.C: new LFUN_INSET_MODIFY.
5432 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5433 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5435 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5437 * several files: ws changes only
5439 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5440 (TeXEnvironment): ditto
5443 * buffer.C (makeLaTeXFile): adjust
5444 (latexParagraphs): make it take ParagraphList::iterator as args
5446 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5448 * buffer.C (latexParagraphs): adjust
5450 * paragraph.C (TeXOnePar): move function...
5451 (optArgInset): move function...
5452 (TeXEnvironment): move function...
5453 * paragraph_pimpl.C (TeXDeeper): move function...
5454 * paragraph_funcs.C: ...here
5456 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5458 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5460 * buffer.C (readInset): remove compability code for old Figure and
5463 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5465 * buffer.C: ws changes
5468 * BufferView_pimpl.C: ditto
5471 * bufferlist.h: ditto
5475 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5477 * converter.[Ch]: split into itself +
5480 * Makefile.am: += graph.[Ch] + format.[Ch]
5487 * lyxrc.C: added #include "format.h"
5489 2003-02-27 Angus Leeming <leeming@lyx.org>
5491 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5494 * factory.C (createInset): add "label" to the factory.
5496 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5497 string and do no more.
5499 2003-02-27 Angus Leeming <leeming@lyx.org>
5502 * LyXAction.C (init):
5503 * factory.C (createInset):
5504 * BufferView_pimpl.C (dispatch):
5505 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5507 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5509 * lyxfunc.C (dispatch):
5510 * text3.C (dispatch): pass name to params2string.
5512 2003-02-26 Angus Leeming <leeming@lyx.org>
5514 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5516 Rearrange the ~includes. Strip out the unnecessary ones.
5518 * factory.C (createInset): reformat.
5519 create new insets for the various LFUN_XYZ_APPLY lfuns.
5521 2003-02-26 John Levon <levon@movementarian.org>
5524 * lyxrow.C: add isParStart,isParEnd helpers
5526 * paragraph.h: make isInserted/DeletedText take refs
5528 * paragraph_funcs.h:
5529 * paragraph_funcs.C: remove #if 0'd code
5534 * text.C: use lyxrow helpers above.
5535 Move draw and paint routines to RowPainter.
5536 Make several methods use refs not pointers.
5537 Make backgroundColor() const.
5538 Add markChangeInDraw(), isInInset().
5539 Merge changeRegionCase into changeCase.
5540 Make workWidth() shouldn't-happen code into an Assert.
5543 * rowpainter.C: new class for painting a row.
5546 * vspace.C: make inPixels take a ref
5548 2003-02-26 Angus Leeming <leeming@lyx.org>
5550 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5553 2003-02-25 John Levon <levon@movementarian.org>
5555 * ispell.C: give the forked command a more accurate name
5557 2003-02-22 John Levon <levon@movementarian.org>
5560 * toc.C: make TocItem store an id not a Paragraph *
5563 2003-02-21 Angus Leeming <leeming@lyx.org>
5565 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5566 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5567 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5568 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5569 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5570 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5572 * BufferView_pimpl.C (dispatch):
5573 * LyXAction.C (init):
5574 * factory.C (createInset):
5575 * lyxfunc.C (getStatus, dispatch):
5576 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5578 2003-02-21 Angus Leeming <leeming@lyx.org>
5580 * BufferView_pimpl.C (MenuInsertLyXFile):
5581 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5582 * lyxfunc.C (menuNew, open, doImport):
5583 no longer pass a LyXView & to fileDlg.
5585 2003-02-21 Angus Leeming <leeming@lyx.org>
5587 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5588 * LyXAction.C: change, BIBKEY to BIBITEM.
5589 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5590 Change InsetBibKey to InsetBibitem.
5591 Change BIBKEY_CODE to BIBITEM_CODE.
5592 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5593 * factory.C: replace insetbib.h with insetbibitem.h.
5594 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5595 * paragraph.C: replace insetbib.h with insetbibitem.h.
5596 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5597 Change bibkey() to bibitem().
5598 * text.C: remove insetbib.h.
5599 * text2.C: replace insetbib.h with insetbibitem.h.
5600 change bibkey() to bibitem().
5601 * text3.C: remove insetbib.h.
5602 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5604 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5606 * lyxrc.C (output): enclose user email in quotes (in case there are
5609 2003-02-18 John Levon <levon@movementarian.org>
5611 * buffer.h: add std::
5613 2003-02-17 John Levon <levon@movementarian.org>
5619 * pspell.C: reworking. Especially in ispell, a large
5620 number of clean ups and bug fixes.
5622 * lyxfunc.C: fix revert to behave sensibly
5624 2003-02-17 André Pönitz <poenitz@gmx.net>
5627 * commandtags.h: new LFUN_INSERT_BIBKEY
5637 * paragraph_func.C: remove special bibkey handling
5639 2003-02-17 John Levon <levon@movementarian.org>
5641 * text.C (Delete): fix case where delete at the end of
5642 the very first paragraph would not merge the pars
5644 2003-02-17 John Levon <levon@movementarian.org>
5646 * lyxrow.C: fix lastPrintablePos()
5648 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5650 * bufferparams.C (writeLaTeX): add a std:here
5652 * buffer.C: and remove a using directive there
5654 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5656 * buffer.C (makeLaTeXFile): move the code that generates the
5659 * bufferparams.C (writeLaTeX): ... in this new method
5661 * LaTeXFeatures.C (getEncodingSet): make const
5662 (getLanguages): make const
5664 * MenuBackend.C (binding): returns the binding associated to this
5666 (add): sets the status of each item by calling getStatus. Adds
5668 (read): add support for OptSubMenu
5669 (expand): remove extra separator at the end of expanded menu
5671 2003-02-15 John Levon <levon@movementarian.org>
5674 * BufferView_pimpl.C:
5676 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5677 inset code that had no actual effect. Remove unneeded status
5680 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5682 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5685 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5687 * text.C (drawLengthMarker): also draw an arrow marker for
5688 symbolic lengths (medskip...)
5690 2003-02-14 John Levon <levon@movementarian.org>
5693 * tabular.C: better method names
5695 2003-02-14 John Levon <levon@movementarian.org>
5697 * BufferView_pimpl.C:
5702 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5703 it's a more accurate name. Remove some pointless uses.
5705 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5707 * text2.C (LyXText): change order of initilizers to shut off
5710 2003-02-14 John Levon <levon@movementarian.org>
5712 * buffer.C: use ParIterator for getParFromID()
5716 * paragraph_pimpl.h:
5717 * paragraph_pimpl.C: remove unused getParFromID()
5719 2003-02-14 John Levon <levon@movementarian.org>
5721 * buffer.C: remove some very old #if 0'd parse code
5723 2003-02-13 John Levon <levon@movementarian.org>
5727 * text2.C: move hfillExpansion(), numberOfSeparators(),
5728 rowLast(), rowLastPrintable(), numberofHfills(),
5729 numberOfLabelHfills() ...
5732 * lyxrow.C: ... to member functions here.
5737 * text.C: remove LyXText::beginningOfMainBody(), and call
5738 p->beginningOfMainBody() directly. Move the check for
5739 LABEL_MANUAL into the latter.
5746 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5752 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5753 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5755 2003-02-13 John Levon <levon@movementarian.org>
5757 * CutAndPaste.C: remove debug
5759 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5761 * paragraph.C (asString): remove two unused variables
5763 * lyxtextclass.C (readTitleType):
5765 (LyXTextClass): handle new members titletype_ and titlename_
5767 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5769 2003-02-09 John Levon <levon@movementarian.org>
5772 * buffer.C: replace hand-coded list with a map for the dep clean
5774 2003-02-08 John Levon <levon@movementarian.org>
5776 * LaTeX.C: consolidate code into showRunMessage() helper
5778 2003-02-08 John Levon <levon@movementarian.org>
5783 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5784 and pass the size in explicitly
5786 * BufferView_pimpl.h:
5787 * BufferView_pimpl.C:
5789 * BufferView.C: add getCurrentChange()
5791 * BufferView_pimpl.h:
5792 * BufferView_pimpl.C: handle change lfuns
5794 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5795 for changes. Mark pasted paragraphs as new.
5797 * support/lyxtime.h:
5798 * support/lyxtime.C:
5799 * DepTable.C: abstract time_t as lyx::time_type
5802 * LColor.C: add colours for new text, deleted text, changebars
5804 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5805 package use "usenames" option.
5809 * LyXAction.C: add change lfuns
5813 * author.C: author handling
5816 * buffer.C: add a per-buffer author list, with first entry as
5817 current author. Handle new .lyx tokens for change tracking. Output
5818 author list to .lyx file. Output dvipost stuff to .tex preamble.
5819 Bump lyx format to 222.
5822 * bufferlist.C: add setCurrentAuthor() to reset current author details
5826 * bufferparams.C: add param for tracking
5828 * bufferview_funcs.C: output change info in minibuffer
5832 * changes.C: add change-tracking structure
5835 * debug.C: add CHANGES debug flag
5838 * lyxfind.C: add code for finding the next change piece
5841 * lyxrc.C: add user_name and user_email
5844 * lyxrow.C: add a metric for the top of the text line
5847 * text.C: implement accept/rejectChange()
5850 * text.C: paint changebars. Paint new/deleted text in the chosen
5851 colours. Strike through deleted text.
5855 * paragraph_pimpl.h:
5856 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5857 in the current change to the insert functions. Rework erase to
5858 mark text as deleted, adding an eraseIntern() and a range-based
5859 erase(). Implement per-paragraph change lookup and
5862 * paragraph_funcs.C: Fixup paste for change tracking.
5864 * tabular.C: mark added row/columns as new.
5866 * text.C: fix rowLast() to never return -1. Don't allow
5867 spellchecking of deleted text. Track transpose changes. Don't
5868 allow paragraph break or merge where appropriate.
5870 * text2.C: leave cursor at end of selection after a cut.
5872 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5874 * text.C (getLengthMarkerHeight):
5875 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5876 visible on screen too.
5878 2003-02-07 John Levon <levon@movementarian.org>
5880 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5882 2003-02-05 Angus Leeming <leeming@lyx.org>
5884 * lyxserver.C (read_ready): revert my patch of 11 September last year
5885 as it sends PC cpu through the roof. Presumably this means that
5886 the lyxserver will no longer run on an Alpha...
5888 2003-01-30 Angus Leeming <leeming@lyx.org>
5890 * factory.C (createInset): create an InsetCommandParam of type "index"
5891 and use it to 'do the right thing'.
5893 * text2.C (getStringToIndex): ensure that cursor position is always
5894 reset to the reset_cursor position.
5896 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5898 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5901 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5905 * lyxfunc.C: Output messages with identical spelling, punctuation,
5908 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5910 * MenuBackend.C (expandFormats): List only viewable export formats
5913 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5916 * lyxfunc.C (getStatus): Make sure that formats other than
5917 "fax" can also be disabled
5919 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5921 * text3.C (dispatch): put the lfuns that insert insets in 3
5922 groups, and call doInsertInset with appropriate arguments.
5923 (doInsertInset): new function, that creates an inset and inserts
5924 it according to some boolean parameters.
5926 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5928 * buffer.C (readFile): remember to pass on 'par' when calling
5929 readFile recursively.
5931 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5933 * MenuBackend.C (expandFormats): add "..." to import formats.
5935 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5937 * paragraph.C (asString): Remove XForms RTL hacks.
5939 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5940 * buffer.C: fix typo
5942 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5944 * Makefile.am (LIBS): delete var
5945 (lyx_LDADD): add @LIBS@ here instead.
5947 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5949 * Clarify the meaning of "wheel mouse jump"
5951 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5953 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5956 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5958 * importer.C (Loaders): do not preallocate 3 elements in the
5959 vector, since one ends up with 6 elements otherwise
5961 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5963 * DepTable.C (write): write the file name as last element of the
5964 .dep file (because it may contain spaces)
5965 (read): read info in the right order
5967 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5969 * paragraph_pimpl.C (simpleTeXBlanks):
5970 (simpleTeXSpecialChars):
5971 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5973 * tabular.C (latex): add some missing case statements. Reindent.
5975 * MenuBackend.C (expandToc): remove unused variable.
5977 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5986 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5989 2003-01-05 John Levon <levon@movementarian.org>
5992 * BufferView.C: add getEncoding()
5995 * kbsequence.C: do not store last keypress
5998 * lyxfunc.C: store last keypress here instead. Pass encoding
6001 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6003 * lyx_main.C (init): remove annoying error message when following
6004 symbolic links (bug #780)
6006 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6008 * text.C (insertChar):
6009 * lyxrc.C (getDescription): remove extra spaces
6011 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6013 * lyxrc.C (getDescription): remove extra spaces
6015 2002-12-20 John Levon <levon@movementarian.org>
6017 * text3.C: hack fix for page up/down across tall rows
6019 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6021 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6024 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6026 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6027 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6028 thesaurus is not compiled in
6030 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6032 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6034 2002-12-16 Angus Leeming <leeming@lyx.org>
6037 * lyx_main.C (init): remove override_x_deadkeys stuff.
6039 2002-12-12 John Levon <levon@movementarian.org>
6041 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6042 insert. Only remove shift modifier under strict
6045 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6047 * MenuBackend.C (expandToc): fix crash.
6049 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6051 * MenuBackend.C (expandToc): gettext on float names.
6053 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6055 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6056 implement bool empty() [bug 490]
6058 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6060 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6062 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6064 * several files: ws changes
6066 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6068 * text2.C (setCounter): clean up a bit, use boost.format.
6069 (updateCounters): initialize par upon declaration.
6071 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6072 if the layout exists. We do not just store the layout any more.
6073 (SwitchLayoutsBetweenClasses): use boost.format
6075 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6077 * converter.C (convert): if from and to files are the same, use a
6078 temporary files as intermediary
6080 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6083 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6085 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6087 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6089 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6091 * tabular.C (asciiPrintCell): use string(size, char) instead of
6094 * sgml.C (openTag): fix order of arguments to string constructor
6097 * lyxfunc.C (dispatch): use boost.format
6099 * lots of files: change "c" -> 'c'
6101 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6103 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6105 2002-11-25 Angus Leeming <leeming@lyx.org>
6107 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6109 * lyx_main.C (init): compile fix.
6111 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6113 * lyx_cb.C (start): boost.formatify
6114 do not include <iostream>
6116 * lengthcommon.C: ws only
6118 * boost-inst.C,BoostFormat.h: add more explict instantations
6120 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6122 * lots of files: handle USE_BOOST_FORMAT
6124 2002-11-21 John Levon <levon@movementarian.org>
6126 * pspell.C: fix compile
6128 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6130 * lyxfunc.C (dispatch): use boost::format
6134 * lyxfont.C (stateText): use boost::format
6136 * lyx_main.C (LyX): use boost::format
6138 (queryUserLyXDir): ditto
6141 (typedef boost::function): use the recommened syntax.
6143 * importer.C (Import): use boost::format
6145 * debug.C (showLevel): use boost::format
6147 * converter.C (view): use boost::format
6152 * bufferview_funcs.C (currentState): use boost::format
6154 * bufferlist.C (emergencyWrite): use boost::format
6156 * buffer.C (readLyXformat2): use boost::format
6157 (parseSingleLyXformat2Token): ditto
6159 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6161 * LaTeX.C (run): use boost::format
6163 * Chktex.C (scanLogFile): use boost::format
6165 * BufferView_pimpl.C (savePosition): use boost::format
6166 (restorePosition): ditto
6167 (MenuInsertLyXFile): ditto
6169 * BoostFormat.h: help file for explicit instation.
6171 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6173 * tabular.C (latex): Support for block alignment in fixed width
6176 2002-11-17 John Levon <levon@movementarian.org>
6178 * BufferView_pimpl.C:
6180 * lyxfunc.C: split filedialog into open/save
6182 2002-11-08 Juergen Vigna <jug@sad.it>
6184 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6185 by my last patch (hopefully).
6187 2002-11-08 John Levon <levon@movementarian.org>
6196 * toc.C: ParConstIterator, and use it (from Lars)
6198 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6200 * lyxtextclass.[Ch]: revise and add doxygen comments
6202 2002-11-07 John Levon <levon@movementarian.org>
6204 * text.C: fix progress value for spellchecker
6206 * toc.C: fix navigate menu for insetwrap inside minipage
6208 * paragraph_funcs.C: added FIXME for suspect code
6210 2002-11-07 John Levon <levon@movementarian.org>
6212 * BufferView_pimpl.C: fix redrawing of insets
6215 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6217 * text2.C (updateCounters): fix bug 668
6219 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6221 * text3.C (dispatch): Do not make the buffer dirty when moving the
6224 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6226 * vc-backend.C: STRCONV
6229 * text2.C (setCounter): STRCONV
6231 * paragraph.C (asString): STRCONV
6233 * lyxlength.C (asString): STRCONV
6234 (asLatexString): ditto
6236 * lyxgluelength.C (asString): STRCONV
6237 (asLatexString): ditto
6239 * lyxfunc.C (dispatch): STRCONV
6242 * lyxfont.C (stateText): STRCONV
6244 * importer.C (Import): STRCONV
6246 * counters.C (labelItem): STRCONV
6247 (numberLabel): ditto
6248 (numberLabel): remove unused ostringstream o
6253 * bufferview_funcs.C (currentState): STRCONV
6255 * buffer.C (readFile): STRCONV
6256 (asciiParagraph): ditto
6257 (makeLaTeXFile): ditto
6259 * Spacing.C (writeEnvirBegin): STRCONV
6261 * LaTeXFeatures.C (getLanguages): STRCONV
6262 (getPackages): ditto
6264 (getBabelOptions): ditto
6265 (getTClassPreamble): ditto
6266 (getLyXSGMLEntities): ditto
6267 (getIncludedFiles): ditto
6271 (scanAuxFile): ditto
6274 * LString.h: add the STRCONV macros
6276 * BufferView_pimpl.C (savePosition): STRCONV
6277 (restorePosition): ditto
6278 (MenuInsertLyXFile): ditto
6280 * vc-backend.C (scanMaster): change from submatch[...] to
6283 * funcrequest.C: include config.h
6285 * factory.C: include config.h
6287 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6289 * box.C: include config.h
6291 * LaTeX.C (scanAuxFile): change from submatch[...] to
6295 2002-10-25 Angus Leeming <leeming@lyx.org>
6297 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6299 * ispell.[Ch] (setError): new method.
6300 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6301 Use setError() insetead of goto END.
6303 * lyx_cb.C (AutoSave): move out child process into new class
6306 2002-10-30 John Levon <levon@movementarian.org>
6308 * text3.C: make start appendix undoable
6310 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6312 * lyxlength.C (inPixels): Fix returned value.
6314 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6317 2002-10-24 Angus Leeming <leeming@lyx.org>
6319 * lyxgluelength.h: no need to forward declare BufferParams
6320 or BufferView, so don't.
6322 2002-10-21 John Levon <levon@movementarian.org>
6324 * BufferView.C: menuUndo ->undo, redo
6326 * BufferView.h: document, remove dead, make some methods private
6328 * paragraph_funcs.h:
6329 * paragraph_funcs.C:
6330 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6335 * sgml.C: move sgml open/close tag into sgml.C
6337 * bufferview_funcs.h: unused prototype
6340 * lyxfunc.C: remove unused
6343 * text.C: remove unused
6345 2002-10-21 John Levon <levon@movementarian.org>
6349 * BufferView_pimpl.h:
6350 * BufferView_pimpl.C: fix mouse wheel handling based on
6351 patch from Darren Freeman
6353 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6355 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6357 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6359 * lyxlength.C (inPixels): Fix hanfling of negative length.
6360 Fix LyXLength::MU case.
6362 2002-10-16 John Levon <levon@movementarian.org>
6364 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6366 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6368 * converter.C (view): add support for $$i (file name) and $$p
6369 (file path) for the viewer command. If $$i is not specified, then
6370 it is appended to the command (for compatibility with old syntax)
6372 2002-10-14 Juergen Vigna <jug@sad.it>
6374 * undo_funcs.C (textHandleUndo): alter the order in which the
6375 new undopar is added to the LyXText, as we have to set first
6376 the right prev/next and then add it as otherwise the rebuild of
6377 LyXText is not correct. Also reset the cursor to the right paragraph,
6378 with this IMO we could remove the hack in "redoParagraphs()".
6380 2002-10-09 Angus Leeming <leeming@lyx.org>
6382 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6383 to turn off an optimisation if a new inset is to be inserted.
6385 2002-10-11 André Pönitz <poenitz@gmx.net>
6387 * lyxtext.h: make some functions public to allow access
6388 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6390 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6392 * text3.C (dispatch): when changing layout, avoid an infinite loop
6395 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6397 * lyxrc.C (read): treat a viewer or converter command of "none" as
6400 * MenuBackend.C (expandFormats): for an update, also allow the
6401 formats that are not viewable
6403 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6404 script if it is newer than the lyxrc.defaults in user directory
6406 2002-10-07 André Pönitz <poenitz@gmx.net>
6408 * text.C: Vitaly Lipatov's small i18n fix
6410 2002-09-25 Angus Leeming <leeming@lyx.org>
6412 * ispell.h: doxygen fix.
6414 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6416 * buffer.h (readFile): Add a new argument to the method, to allow
6417 reading of old-format templates.
6419 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6421 * toc.C (getTocList): Get TOC from InsetWrap.
6423 2002-09-16 John Levon <levon@movementarian.org>
6425 * lyxfunc.C: check tabular for cut/copy too
6427 2002-09-12 John Levon <levon@movementarian.org>
6432 * factory.C: add header
6434 * paragraph_funcs.h:
6435 * paragraph_funcs.C: cleanup
6437 2002-09-11 John Levon <levon@movementarian.org>
6439 * PrinterParams.h: odd/even default to true
6441 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6443 * PrinterParams.h: update printer parameters for new xforms dialog
6445 2002-09-11 Angus Leeming <leeming@lyx.org>
6447 * lyxserver.C (read_ready): re-write to make it more transparent
6448 and to make it work in coherent fashion under Tru64 Unix.
6450 2002-09-11 André Pönitz <poenitz@gmx.net>
6454 * text3.C: implement LFUN_WORDSEL
6456 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6458 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6459 make floatlist_ a boost::shared_ptr<FloatList>
6461 * lyxtextclass.C: include FloatList.h
6462 (LyXTextClass): initialize floatlist_
6463 (TextClassTags): add TC_NOFLOAT
6464 (Read): match "nofloat" to TC_NOFLOAT and use it.
6465 (readFloat): modify call to floatlist_
6469 * FloatList.[Ch] (FloatList): remove commented out float
6471 (erase): new function
6473 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6475 * MenuBackend.C (expandToc): fix crash when there is no document
6478 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6480 * many files: Add insetwrap.
6482 2002-09-09 John Levon <levon@movementarian.org>
6484 * text2.C: remove confusing and awkward depth wraparound
6486 2002-09-09 John Levon <levon@movementarian.org>
6488 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6491 * buffer.C: remove getIncludeonlyList()
6494 * lyxfunc.C: remove headers
6496 2002-09-09 Juergen Vigna <jug@sad.it>
6498 * text.C (getColumnNearX): fix form Michael this is most
6499 probably a cut&paste bug.
6501 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6503 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6505 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6506 references, ws changes.
6508 * text2.C (init): update counters after init
6509 (insertParagraph): no need to set counter on idividual paragraphs.
6510 (setCounter): access the counters object in the textclass object
6511 on in the buffer object.
6512 (updateCounters): ditto
6514 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6515 shared_ptr<Counters> to avoid loading counters.h in all
6517 (LyXTextClass): initialize ctrs_
6518 (TextClassTags): add TC_COUNTER, and ...
6519 (Read): use it here.
6520 (CounterTags): new tags
6521 (readCounter): new function
6522 (counters): new funtion
6523 (defaultLayoutName): return a const reference
6525 * counters.C (Counters): remove contructor
6526 (newCounter): remove a couple of unneeded statements.
6527 (newCounter): simplify a bit.
6528 (numberLabel): some small formatting changes.
6530 * buffer.[Ch]: remove all traces of counters, move the Counters
6531 object to the LyXTextClass.
6533 2002-09-06 Alain Castera <castera@in2p3.fr>
6535 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6536 package to set the horizontal alignment on fixed width columns.
6539 * lyx_sty.h: added tabularnewline macro def.
6541 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6543 2002-09-06 John Levon <levon@movementarian.org>
6545 * LyXAction.C: tooltips for sub/superscript
6547 * MenuBackend.C: a bit more verbose
6549 * lyxfunc.C: tiny clean
6551 * undo_funcs.C: document undo_frozen
6553 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6555 * counters.C (Counters): add missing algorithm counter.
6557 * text2.C (setCounter): lookup the counter with layouts latexname
6558 instead of by section number.
6559 (setCounter): use a hackish way to lookup the correct enum
6561 a float name->type change
6562 reset enum couners with counter name directly instead of depth value.
6564 * counters.C (Counters): remove the push_backs, change to use the
6565 float type not the float name.
6566 (labelItem): remove unused string, float name->type change
6568 * counters.h: don't include vector, loose the enums and sects vectors
6570 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6572 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6573 (Read): add float->TC_FLOAT to textclassTags
6574 (Read): and handle it in the switch
6575 (readFloat): new function
6577 * FloatList.C (FloatList): comment out the hardcoded float
6580 * lyxlayout.h: ws change.
6582 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6584 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6586 2002-09-03 Angus Leeming <leeming@lyx.org>
6588 * BufferView_pimpl.h: qualified name is not allowed in member
6589 declaration: WorkArea & Pimpl::workarea() const;
6591 * factory.C: added using std::endl directive.
6593 * text3.C: added using std::find and std::vector directives.
6595 2002-08-29 André Pönitz <poenitz@gmx.net>
6598 * text2.C: remove unused member number_of_rows
6601 * BufferView2.C: remove file, move contents to...
6602 * BufferView.C: ... here
6604 * BufferView_pimpl.C:
6605 * factory.C: move more inset creation to factory
6607 * vspace.C: avoid direct usage of LyXText, ws changes
6610 don't provide direct access to WorkArea, use two simple
6611 acessors haveSelction() and workHeight() instead
6614 2002-08-29 John Levon <levon@movementarian.org>
6616 * BufferView_pimpl.C (dispatch): do not continue when
6619 2002-08-28 André Pönitz <poenitz@gmx.net>
6621 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6624 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6626 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6628 * buffer.C: increment LYX_FORMAT to 221
6630 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6631 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6633 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6635 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6637 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6639 * factory.C (createInset): use LyXTextClass::floats
6641 * MenuBackend.C (expandFloatListInsert):
6642 (expandFloatInsert):
6645 * text2.C (setCounter):
6647 * LaTeXFeatures.C (useFloat):
6648 (getFloatDefinitions):
6650 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6652 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6653 floatlist_, with accessor floats().
6655 * FloatList.h: remove global FloatList
6657 2002-08-26 André Pönitz <poenitz@gmx.net>
6659 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6663 * BufferView_pimpl.C:
6664 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6666 2002-08-25 John Levon <levon@movementarian.org>
6668 * LyXAction.C: fix margin note description
6670 2002-08-24 John Levon <levon@movementarian.org>
6674 * bufferview_funcs.C:
6676 * undo_funcs.C: cleanups
6678 * lyxfunc.C: disable CUT/COPY when no selection
6680 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6682 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6683 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6685 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6686 Add backward compatibility to "mono", "gray" and "no".
6688 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6690 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6691 (and file_format >= 200).
6693 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6695 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6697 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6699 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6701 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6703 * BufferView_pimpl.C:
6710 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6711 inset and code to make it work with the paragraph code. The inset
6712 can be anywhere in the paragraph, but will only do the expected
6713 thing in LaTeX if the layout file contains the parameter line
6715 (or more generally, a nonzero value) for that layout.
6717 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6719 * paragraph.h: remove the declaration of undefined counters class
6722 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6724 * text2.C (setCounter): fixed enumeration mis-count as reported by
6725 Dr. Richard Hawkins.
6727 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6729 * paragraph_funcs.h: remove some unneeded includes
6731 * text.C (backspace): pasteParagraph now in global scipe
6733 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6734 (pasteSelection): ditto
6736 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6737 * paragraph_funcs.C (pasteParagraph): ... here
6739 2002-08-20 André Pönitz <poenitz@gmx.net>
6741 * commandtags.h: new LFUNs for swapping/copying table row/colums
6744 * lyxfunc.C: support for new lfuns
6746 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6749 * buffer.[Ch]: remove NO_COMPABILITY stuff
6751 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6753 * boost.C (throw_exception): new file, with helper function for
6754 boost compiled without exceptions.
6759 * ParameterStruct.h:
6760 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6762 * bufferlist.C (emergencyWriteAll): use boost bind
6764 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6766 * text.C: include paragraph_funcs.h
6767 (breakParagraph): breakParagraph is now in global scope
6769 * paragraph_funcs.[Ch]: new files
6771 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6774 * buffer.C: include paragraph_funcs.h
6775 (insertStringAsLines): breakParagraph is now in global scope
6777 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6780 * CutAndPaste.C: include paragraph_funcs.h
6781 (cutSelection): breakParagraphConservative is now in global scope
6782 (pasteSelection): ditto
6784 * buffer.h: declare oprator== and operator!= for
6785 Buffer::inset_iterator
6787 * bufferlist.C (emergencyWrite): don't use fmt(...)
6789 * text3.C: add using std::endl
6791 * BufferView.C (moveCursorUpdate): remove default arg
6793 2002-08-20 André Pönitz <poenitz@gmx.net>
6795 * buffer.[Ch]: move inline functions to .C
6798 * BufferView_pimpl.C:
6800 * buffer.[Ch]: use improved inset_iterator
6803 * paragraph.[Ch]: write one paragraph at a time
6805 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6807 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6808 style if style is not specified.
6810 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6812 * text2.C (setCounter): when searching for right label for a
6813 caption, make sure to recurse to parent insets (so that a caption
6814 in a minipage in a figure float works) (bug #568)
6816 2002-08-20 André Pönitz <poenitz@gmx.net>
6818 * text3.C: new file for LyXText::dispatch() and helpers
6820 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6822 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6824 2002-08-19 André Pönitz <poenitz@gmx.net>
6827 * text.C: new LyXText::dispatch()
6829 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6831 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6833 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6835 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6838 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6840 * Makefile.am: use $(variables) instead of @substitutions@
6842 2002-08-15 André Pönitz <poenitz@gmx.net>
6845 * BufferView_pimpl.C: streamlining mathed <-> outer world
6849 * LyXAction.C: remove unused LFUN_MATH
6851 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6853 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6855 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6857 * paragraph.C (Paragraph): reformat a bit
6858 (cutIntoMinibuffer): use builtin InsetList function instad of
6862 * buffer.C: include boost/bind.hpp, add using std::for_each
6863 (writeFileAscii): use ParagraphList iterators
6864 (validate): use for_each for validate traversal of paragraphs
6865 (getBibkeyList): use ParagraphList iterators
6866 (resizeInsets): use for_each to resizeInsetsLyXText for all
6868 (getParFromID): use ParagraphList iterators
6870 * BufferView2.C (lockInset): use paragraph list and iterators
6872 2002-08-14 John Levon <levon@movementarian.org>
6874 * lyxserver.C: remove spurious xforms include
6876 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6878 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6880 2002-08-13 André Pönitz <poenitz@gmx.net>
6883 * lyxfunc.C: further cleaning
6885 2002-08-13 André Pönitz <poenitz@gmx.net>
6887 * funcrequest.h: new constructor
6889 * funcrequest.C: move stuff here from .h
6892 * BufferView_pimpl.C:
6895 * lyxfunc.C: subsequent changes
6897 * lyxfunc.h: new view() member function
6899 * lyxfunc.C: subsequent changes
6901 2002-08-13 Angus Leeming <leeming@lyx.org>
6904 * BufferView_pimpl.C:
6912 changes due to the changed LyXView interface that now returns references
6913 to member variables not pointers.
6915 2002-08-13 Angus Leeming <leeming@lyx.org>
6917 * WordLangTuple (word, lang_code): return references to strings,
6922 * lyxtext.h: forward-declare WordLangTuple.
6927 * text.C: #include "WordLangTuple.h".
6930 * text.C: (selectNextWordToSpellcheck): constify return type.
6932 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6938 * paragraph_pimpl.h:
6941 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6943 Made updateCounter always count from start of buffer, and removed
6944 second argument (par).
6945 Reverted floats number display to '#'. Perhaps I'll try again when the
6946 code base is sanitized a bit.
6948 2002-08-12 Angus Leeming <leeming@lyx.org>
6950 * buffer.[Ch] (getLabelList): constify.
6952 2002-08-07 André Pönitz <poenitz@gmx.net>
6954 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6956 * funcrequest.h: extension to keep mouse (x,y) position
6958 2002-08-12 Juergen Vigna <jug@sad.it>
6960 * BufferView2.C (insertErrors): forbid undo when inserting error
6963 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6965 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6967 * ParagraphList.[Ch]: new files
6969 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6971 * BufferView2.C (lockInset): ParagraphList changes
6974 * bufferlist.C: ditto
6978 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6980 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6981 unused class variable counter_,
6983 * paragraph.[Ch] (getFirstCounter): delete unused function
6985 * counters.C: include LAssert.h
6986 (reset): add a new function with no arg, change other version to
6987 not have def. arg and to not allow empty arg.
6989 * text2.C (setCounter): remove empty arg from call to Counters::reset
6991 2002-08-11 John Levon <levon@movementarian.org>
6993 * Makefile.am: add WordLangTuple.h
6995 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6997 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6998 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7000 * insets/insettext.C: InsetList changes
7002 * graphics/GraphicsSupport.C (operator()): InsetList changes
7004 * toc.C (getTocList): InsetList changes
7006 * paragraph_pimpl.[Ch]: InsetList changes
7008 * paragraph.[Ch]: InsetList changes
7010 * buffer.C (inset_iterator): InsetList changes
7011 (setParagraph): ditto
7012 * buffer.h (inset_iterator): ditto
7013 * iterators.C (operator++): ditto
7014 * iterators.h: ditto
7016 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7018 * InsetList.[Ch]: new files, most InsetList handling moved out of
7021 * BufferView2.C (removeAutoInsets): InsetList changes
7023 (ChangeInsets): ditto
7025 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7027 * paragraph_pimpl.h (empty): new function
7029 * paragraph.[Ch] (empty): new function
7031 * other files: use the new Paragraph::empty function
7033 2002-08-09 John Levon <levon@movementarian.org>
7035 * lyxtext.h: remove unused refresh_height
7037 2002-08-09 John Levon <levon@movementarian.org>
7044 * paragraph.C: move sgml char escaping out of paragraph
7047 * paragraph.C: remove id setter
7051 * paragraph_pimpl.C: remove dead tex_code_break_column
7053 * bufferview_funcs.C: small cleanup
7055 * lyxfunc.C: remove dead proto
7057 * lyxtext.h: make some stuff private. Remove some dead stuff.
7059 * lyxgluelength.C: make as[LyX]String() readable
7061 2002-08-08 John Levon <levon@movementarian.org>
7066 * ToolbarDefaults.C:
7069 * toc.C: lyxaction cleanup
7071 2002-08-08 John Levon <levon@movementarian.org>
7073 * BufferView2.C: small cleanup
7076 * lyxfind.C: move unnecessary header into the .C
7078 2002-08-08 John Levon <levon@movementarian.org>
7080 * funcrequest.h: just tedious nonsense
7083 * lyx_main.C: cleanups
7086 * vspace.C: remove dead header lyx_main.h
7088 2002-08-07 Angus Leeming <leeming@lyx.org>
7091 * paragraph_pimpl.h:
7092 Forward declare class Counters in paragraph.h by moving the ctrs member
7093 variable into Paragraph::Pimpl.
7094 (counters): new method, returning a reference to pimpl_->ctrs.
7096 * text2.C: ensuing changes.
7098 2002-08-07 John Levon <levon@movementarian.org>
7100 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7102 * BufferView_pimpl.C: announce X selection on double/triple
7105 * lyx_main.C: use correct bool in batch dispatch
7107 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7109 2002-08-07 André Pönitz <poenitz@gmx.net>
7111 * funcrequest.h: new class to wrap a kb_action and its argument
7114 * BufferView_pimpl[Ch]:
7118 * lyxrc.C: subsequent changes
7121 2002-08-07 John Levon <levon@movementarian.org>
7123 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7124 document options change.
7126 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7131 * makefile.am: move counters functionality over from
7132 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7134 2002-08-06 John Levon <levon@movementarian.org>
7136 * WordLangTuple.h: new file for word + language code tuple
7147 * BufferView2.C: use WordLangTuple
7150 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7152 2002-08-06 John Levon <levon@movementarian.org>
7154 * lyx_main.C: fix cmdline batch handling
7156 2002-08-06 André Pönitz <poenitz@gmx.net>
7158 * lyxrc.C: set default for show_banner to true
7160 2002-08-06 John Levon <levon@movementarian.org>
7162 * pspell.C: fix a crash, and allow new aspell to work
7164 2002-08-06 John Levon <levon@movementarian.org>
7167 * kbmap.C: small cleanup
7170 * vspace.C: add const
7172 2002-08-05 John Levon <levon@movementarian.org>
7174 * LyXAction.C: back to tabular-insert
7176 2002-08-04 John Levon <levon@movementarian.org>
7179 * BufferView.C: cosmetic change
7181 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7191 * BufferView2.C: purge all "Lyx" not "LyX" strings
7194 * lyxcursor.C: attempt to add some documentation
7199 * ToolbarDefaults.C:
7200 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7201 merge with LFUN_TABULAR_INSERT
7208 * pspell.C: split up i/pspell implementations into separate
7209 files, many cleanups
7211 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7213 * text2.C: some cleanup
7215 * lyxfunc.C: don't check for isp_command == "none" any more, it
7216 didn't make any sense
7218 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7223 * makefile.am: move counters functionality over
7224 from text2.C/paragraph.[Ch] to counters.[Ch], and
7226 2002-08-02 John Levon <levon@movementarian.org>
7228 * buffer.C: s/lyxconvert/lyx2lyx/
7230 2002-08-02 Angus Leeming <leeming@lyx.org>
7232 * lyxlex.C: revert John's change as it breaks reading of the user
7235 2002-08-02 Angus Leeming <leeming@lyx.org>
7237 * importer.C (Import):
7238 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7239 changes due to LyXView::view() now returning a boost::shared_ptr.
7241 2002-08-02 John Levon <levon@movementarian.org>
7243 * lyxlex.C: small cleanup
7245 2002-08-02 John Levon <levon@movementarian.org>
7247 * text2.C (status): small cleanup, no logic change
7249 2002-08-01 John Levon <levon@movementarian.org>
7252 * buffer.C (writeFile): don't output alerts, caller
7256 * lyx_cb.C: from above
7258 * lyxfunc.C: allow to open non-existent files
7260 2002-07-31 John Levon <levon@movementarian.org>
7262 * lyxserver.C: don't let incidental errors get
7265 2002-07-30 John Levon <levon@movementarian.org>
7267 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7269 2002-07-30 John Levon <levon@movementarian.org>
7272 * lyxserver.C: remove I/O callback too
7274 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7276 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7279 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7281 * many files: strip,frontStrip -> trim,ltrim,rtrim
7283 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7285 * PrinterParams.h: remove extern containsOnly, and include
7286 support/lstrings.h instead.
7288 * LaTeX.C (scanAuxFile): modify because of strip changes
7290 * buffer.C (makeLaTeXFile): ditto
7291 * bufferparams.C (writeFile): ditt
7292 * lyxfont.C (stateText): ditto
7293 * lyxserver.C (read_ready): ditto
7294 * vc-backend.C (scanMaster): ditto
7296 * BufferView_pimpl.h: ws changes
7298 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7300 2002-07-26 André Pönitz <poenitz@gmx.net>
7302 * kb_sequence.C: remove unnedred usings
7304 2002-07-26 Juergen Vigna <jug@sad.it>
7306 * lyxfind.C (LyXReplace): we have to check better if the returned
7307 text is not of theLockingInset()->getLockingInset().
7309 2002-07-25 Juergen Vigna <jug@sad.it>
7311 * lyxfind.C (LyXReplace): don't replace if we don't get the
7314 * undo_funcs.C (createUndo): remove debugging code.
7316 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7318 * buffer.C (parseSingleLyXformat2Token): Use default placement
7319 when reading old floats.
7321 * FloatList.C (FloatList): Change the default placement of figure
7322 and tables to "tbp".
7324 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7326 * MenuBackend.C: using std::max
7328 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7330 * MenuBackend.C (expandToc):
7331 (expandToc2): code moved from xforms menu frontend. It is now
7332 generic and TOCs are transparent to menu frontends.
7334 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7336 * toc.C (getTocList): protect against buf=0
7338 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7339 Menu as first parameter. Now, this calls itself recursively to
7340 expand a whole tree (this will be useful for TOC handling)
7341 (expandFloatInsert): remove 'wide' version of floats
7343 * MenuBackend.h (submenuname): returns the name of the submenu.
7344 (submenu): returns the submenu itself, provided it has been
7345 created by MenuBackend::expand
7347 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7349 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7350 insets which have noFontChange == true. (bug #172)
7352 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7354 * BufferView_pimpl.C: add connection objects and use them...
7357 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7359 * MenuBackend.C (expandLastfiles):
7362 (expandFloatListInsert):
7363 (expandFloatInsert):
7364 (expand): split expand in parts
7366 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7368 * lyx_gui.C: use lyx_gui::exit()
7370 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7372 * LyXAction.C: show the failing pseudo action
7374 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7376 * buffer.C (readFile): Run the lyxconvert script in order to read
7379 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7383 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7385 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7389 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7391 2002-07-22 Herbert Voss <voss@lyx.org>
7394 * lyxlength.[Ch]: add support for the vertical lengths
7396 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7398 * toc.[Ch]: std:: fixes
7400 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7402 * lyxrc.C: do not include lyx_main.h
7404 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7410 * BufferView2.C: include "lyxlex.h"
7413 * bufferparams.h: do not #include "lyxlex.h"
7415 * lyxtextclasslist.C (Add): remove method
7416 (classlist): renamed to classlist_
7418 * paragraph_pimpl.C:
7422 * bufferview_funcs.C:
7427 * toc.C (getTocList): use BufferParams::getLyXTextClass
7429 * toc.C (getTocList): use InsetFloat::addToToc
7431 * toc.[Ch]: new files, containing helper functions to handle table
7434 * lyxfunc.C (dispatch): no need to remove spaces around command
7436 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7437 first command of the sequence; it is not very clever, but I do not
7438 have a better idea, actually
7440 * LyXAction.C (LookupFunc): make sure to remove space at the
7441 beginning and end of the command
7443 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7445 * MenuBackend.C (getMenubar): new method: return the menubar of
7447 (read): treat differently reading of menu and menubar (in
7448 particular, the menubar has no name now)
7449 (Menu::menubar): remove
7451 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7454 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7456 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7457 a bibitem inset in a RTL paragraph.
7459 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7461 * paragraph_pimpl.C: constify
7463 * BufferView_pimpl.C:
7465 * lyxfunc.C: fix dispatch in a nicer way
7467 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7469 * lyxfunc.C (dispatch):
7470 * BufferView_pimpl.C:
7471 * BufferView_pimpl.h:
7473 * BufferView.h: rename Dispatch() to dispatch()
7475 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7477 * lyxlayout.C (Read): honor DependsOn tag
7479 * lyxlayout.[Ch] (depends_on): new method
7481 * version.C.in: update lyx_docversion
7483 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7485 * paragraph.C (validate): remove from here...
7486 * paragraph_pimpl.C (validate): ... and move here
7487 (isTextAt): make it const
7489 * buffer.C (getLists): ws cleanup
7491 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7493 * language.C (read): Use iso8859-1 encoding in latex_lang
7494 (this prevents LyX from crashing when using iso10646-1 encoding).
7496 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7498 * text2.C (toggleInset): if cursor is inside an inset, close the
7499 inset and leave cursor _after_ it
7501 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7503 * lyxfunc.C: move minibuffer completion handling out of here
7505 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7507 * BufferView_pimpl.C:
7508 * LaTeX.C: fix dispatch calls
7510 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7512 * text.C (drawChars): Fix Arabic text rendering.
7514 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7518 * lyxfunc.C: remove message-push/pop
7522 * lyxfunc.C: rationalise some code by removing verboseDispatch
7523 in favour of a bool argument to dispatch()
7525 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7527 * lyx_main.C (init): make sure to read symlinks as absolute paths
7529 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7532 * lyxfunc.C: no need for commandshortcut to be a member
7534 2002-07-15 André Pönitz <poenitz@gmx.net>
7536 * converter.C: add support for $$s (scripts from lib/scripts dir)
7537 * lyx_main.C: white space
7539 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7543 * lyxrc.C: remove second exit confirmation
7545 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7550 * BufferView_pimpl.h:
7551 * BufferView_pimpl.C:
7552 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7554 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7556 * MenuBackend.C (expand): add numeric shortcuts to document menu
7558 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7560 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7562 * lyxfont.C (setLyXFamily):
7569 * buffer.C (asciiParagraph): use ascii_lowercase
7571 2002-07-15 Mike Fabian <mfabian@suse.de>
7573 * lyxlex_pimpl.C (search_kw):
7574 * lyxlex.C (getLongString):
7575 * converter.h (operator<):
7576 * converter.C (operator<):
7577 * buffer.C (parseSingleLyXformat2Token):
7579 * ToolbarDefaults.C (read):
7580 * MenuBackend.C (checkShortcuts):
7582 * LColor.C (getFromGUIName):
7583 (getFromLyXName): use the compare_ascii_no_case instead of
7584 compare_no_case, because in turkish, 'i' is not the lowercase
7585 version of 'I', and thus turkish locale breaks parsing of tags.
7587 2002-07-16 Angus Leeming <leeming@lyx.org>
7589 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7590 now takes a Buffer const & argument.
7592 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7594 * BufferView.C (resize): check there's a buffer to resize
7596 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7598 * lyxfunc.C: remove dead code
7601 * lyxserver.C: use lyx_guii::set_read_callback
7603 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7605 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7606 an inset in a RTL paragraph.
7608 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7610 * lyxfunc.C: repaint after a font size update
7612 2002-07-15 André Pönitz <poenitz@gmx.net>
7614 * lyxlength.C: inBP should be able to return negative values
7616 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7618 * lyxfunc.C: use lyx_gui::update_fonts()
7620 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7622 * lyxfunc.C: use lyx_gui::update_color()
7624 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7630 * lyxrc.C: remove file->new asks for name option, and let
7631 buffer-new take an argument
7633 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7635 * BufferView_pimpl.C: remove unneeded extra repaint()
7637 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7639 * LyXAction.C: allow command-sequence with NoBuffer
7641 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7643 2002-07-10 Angus Leeming <leeming@lyx.org>
7645 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7647 2002-07-09 Angus Leeming <leeming@lyx.org>
7649 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7651 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7653 * lengthcommon.h: whitespace
7655 * lyxfunc.C: update scrollbar after goto paragraph
7657 * lyxtext.h: factor out page break drawing, and fix it so
7658 page break/added space paints as selected nicely
7660 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7662 * BufferView_pimpl.C: add FIXMEs, clean up a little
7664 2002-07-09 André Pönitz <poenitz@gmx.net>
7666 * lyxfont.[Ch]: support for wasy symbols
7668 2002-07-08 André Pönitz <poenitz@gmx.net>
7670 * BufferView_pimpl.C: apply John's patch for #93.
7672 2002-07-05 Angus Leeming <leeming@lyx.org>
7674 * BufferView_pimpl.C (buffer): generate previews if desired.
7676 * LColor.h: add "preview" to the color enum.
7678 * LColor.C (LColor): add a corresponding entry to the items array.
7680 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7683 2002-07-05 Angus Leeming <leeming@lyx.org>
7685 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7686 The body of the code is now in the method that is passed an ostream &
7687 rather than a file name.
7688 Pass an additional only_preamble parameter, useful for the forthcoming
7691 2002-07-03 André Pönitz <poenitz@gmx.net>
7693 * lyxfunc.C: simplify getStatus() a bit for math stuff
7695 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7697 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7699 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7701 * text.C (changeRegionCase): do not change case of all the
7702 document when region ends at paragraph end (bug #461)
7704 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7706 * paragraph.C (startTeXParParams):
7707 (endTeXParParams): add \protect when necessary
7709 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7711 * BufferView_pimpl.C (workAreaExpose): remove warning
7713 2002-06-27 Angus Leeming <leeming@lyx.org>
7715 * Makefile.am: add lyxlayout_ptr_fwd.h.
7717 2002-06-26 André Pönitz <poenitz@gmx.net>
7719 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7721 2002-06-25 Angus Leeming <leeming@lyx.org>
7723 * lyxfunc.C (dispatch): Comment out the call to
7724 grfx::GCache::changeDisplay. The method no longer exists now that the
7725 pixmap generation part of the graphics loader has been moved into
7728 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7730 * text2.C: layout as layout
7732 * text.C: layout as layout
7734 * tabular.C (OldFormatRead): layout as layout
7736 * paragraph_pimpl.C (TeXDeeper): layout as layout
7737 (realizeFont): layout as layout
7739 * paragraph.C (writeFile): layout as layout
7740 (validate): layout as layout
7741 (getFont): layout as layout
7742 (getLabelFont): layout as layout
7743 (getLayoutFont): layout as layout
7744 (breakParagraph): layout as layout
7745 (stripLeadingSpaces): layout as layout
7746 (getEndLabel): layout as layout
7747 (getMaxDepthAfter): layout as layout
7748 (applyLayout): layout as layout
7749 (TeXOnePar): layout as layout
7750 (simpleTeXOnePar): layout as layout
7751 (TeXEnvironment): layout as layout
7752 (layout): layout as layout
7753 (layout): layout as layout
7755 * lyxtextclass.C (compare_name): new functor to work with
7756 shared_ptr, layout as layout
7757 (Read): layout as layout
7758 (hasLayout): layout as layout
7759 (operator): layout as layout
7760 (delete_layout): layout as layout
7761 (defaultLayout): layout as layout
7763 * lyxlayout_ptr_fwd.h: new file
7765 * lyxlayout.C (Read): layout as layout
7767 * lyx_cb.C (MenuInsertLabel): layout as layout
7769 * bufferlist.C (newFile): layout as layout
7771 * buffer.C (readLyXformat2): layout as layout
7772 (parseSingleLyXformat2Token): layout as layout
7773 (insertStringAsLines): layout as layout
7774 (asciiParagraph): layout as layout
7775 (latexParagraphs): layout as layout
7776 (makeLinuxDocFile): layout as layout
7777 (simpleLinuxDocOnePar): layout as layout
7778 (makeDocBookFile): layout as layout
7779 (simpleDocBookOnePar): layout as layout
7780 (getLists): layout as layout
7782 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7784 * CutAndPaste.C (cutSelection): layout as layout
7785 (pasteSelection): layout as layout
7786 (SwitchLayoutsBetweenClasses): layout as layout
7788 * BufferView_pimpl.C (Dispatch): layout as layout
7789 (smartQuote): layout as layout
7791 * BufferView2.C (unlockInset): layout as layout
7793 2002-06-24 André Pönitz <poenitz@gmx.net>
7795 * lyxfunc.C: fix #487
7797 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7801 * lyxfunc.C: remove display_shortcuts, show_banner
7803 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7805 * Buffer_pimpl.C: oops, update on resize
7807 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7814 * BufferView.C: use repaint()
7816 * BufferView_pimpl.h:
7817 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7818 as it's a clearer description. Remove superfluous
7821 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7823 * text.C: fix bug 488. Not ideal, but getting
7824 getWord() to work properly for the insets that
7825 matter is more difficult ...
7827 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7829 * BufferView_pimpl.C:
7832 * lyxfunc.C: remove the six million index lyxfuncs to just
7833 one, and DTRT (bug 458)
7835 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7839 * BufferView_pimpl.h:
7840 * BufferView_pimpl.C: clean up resize() stuff,
7841 and unnecessary updateScreen()s
7843 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7847 * BufferView_pimpl.h:
7848 * BufferView_pimpl.C:
7851 * minibuffer.C: remove focus management of workarea,
7852 not needed. Use screen's greyOut()
7854 2002-06-17 Herbert Voss <voss@lyx.org>
7856 * converter.C: (convert) do not post a message, when converting
7857 fails, let the calling function decide what to do in this case
7859 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7861 * lyxfunc.C: tidy up a little
7863 2002-06-16 <alstrup@diku.dk>
7865 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7866 Got rid of FORMS_H_LOCATION include. Now we are
7869 2002-06-15 LyX Development team <lyx@rilke>
7871 * buffer.[Ch] (sgmlOpenTag):
7872 (sgmlCloseTag): Added support for avoiding pernicious mixed
7873 content. Return number of lines written.
7876 (makeDocBookFile): Fixed calls to sgml*Tag.
7877 Simple white space clean.
7879 (simpleDocBookOnePar): Simple white space clean.
7881 * tabular.[Ch] (docBook): Renamed to docbook and got another
7882 argument to related with the pernicious mixed content.
7884 (docbookRow): Fixed calls for docbook inset method.
7886 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7888 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7889 so it's X11 independent.
7893 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7895 2002-06-15 Lyx Development team <lyx@electronia>
7897 * intl.h: Renamed getTrans to getTransManager.
7899 2002-06-14 Angus Leeming <leeming@lyx.org>
7901 * Makefile.am: nuke forgotten stl_string_fwd.h.
7903 2002-06-12 Angus Leeming <leeming@lyx.org>
7905 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7907 2002-06-13 Angus Leeming <leeming@lyx.org>
7910 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7912 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7914 * kbmap.C (getiso): add support for cyrillic and greek
7916 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7920 * BufferView_pimpl.h:
7921 * BufferView_pimpl.C: move bogus scrolling logic
7924 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7927 * BufferView_pimpl.C: view->resize() change
7929 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7931 * BufferView_pimpl.C: topCursorVisible
7934 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7938 * lyx_gui.C: move to frontends/
7942 * lyx_main.C: changes from above
7944 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7951 * lyx_main.C: minor tidy
7953 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7955 * BufferView_pimpl.h:
7956 * BufferView_pimpl.C:
7958 * BufferView.C: make painter() const,
7961 * BufferView2.C: use screen() accessor
7964 * lyx_main.C: some minor cleanup
7966 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7968 * BufferView_pimpl.h:
7969 * BufferView_pimpl.C: remove enter/leaveView,
7972 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7977 * BufferView_pimpl.h:
7978 * BufferView_pimpl.C: only construct screen once,
7981 * lyxrc.C: remove pointless comment
7983 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7986 * BufferView.C: remove active() and belowMouse()
7988 * BufferView_pimpl.h:
7989 * BufferView_pimpl.C: use workarea() not workarea_,
7990 and make it use a scoped_ptr instead
7992 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7994 * lyx_gui.C: add debug message on BadWindow
7996 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7998 * sp_spell.C: fdopen is not part of the C++ standard.
8000 * paragraph.C (InsetIterator): use >= instead of ==
8002 2002-06-07 Angus Leeming <leeming@lyx.org>
8004 Fixes needed to compile with Compaq cxx 6.5.
8005 * BufferView_pimpl.C:
8012 * lyxtextclasslist.C:
8017 all c-library variables have been moved into namespace std. Wrap
8018 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8023 Add a using std::abs declaration.
8025 * kbmap.h (modifier_pair):
8026 * paragraph.h (InsetTable, InsetList):
8027 * lyxfont.h (FontBits):
8028 type definition made public.
8030 * bufferlist.C (emergencyWriteAll): the compiler complains that
8031 there is more than one possible lyx::class_fun template to choose from.
8032 I re-named the void specialisation as lyx::void_class_fun.
8034 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8036 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8037 the compiler is is unable to find tostr in write_attribute.
8039 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8041 * buffer.C (sgmlError): hide #warning
8043 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8045 * xtl/*: get rid of xtl, which is not in use anyway
8047 * LyXAction.C (init):
8048 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8049 were unimplemented xtl experimentation
8051 2002-06-04 André Pönitz <poenitz@gmx.net>
8053 * lyxfunc.C: disable array operation on simple formulae
8055 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8057 * converter.C: constify a bit
8059 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8061 * lyx_gui.C: check xforms version correctly
8063 2002-04-30 Herbert Voss <voss@lyx.org>
8065 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8068 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8070 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8071 attempt to register it with a VCS)
8073 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8075 * lyx_main.C (init): honor variables LYX_DIR_13x and
8078 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8082 * lyx_main.C: fix a crash on bad command line,
8083 and give a useful exit status on error
8085 * lyxfunc.C (doImport): allow -i lyx to work
8087 2002-03-30 André Pönitz <poenitz@gmx.net>
8089 * lyxfunc.C: mathed font changes
8091 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8106 * trans_mgr.h: srcdocs, and some minor cleanups
8108 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8110 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8111 call getFont all the time)
8113 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8115 * switch from SigC signals to boost::signals
8117 2002-05-29 André Pönitz <poenitz@gmx.net>
8119 * paragraph_pimpl.C (getChar): don't call size() too often...
8121 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8123 * paragraph_pimpl.C (insertChar): do not try to update tables when
8124 appending (pos == size())
8126 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8127 in order to reduce drastically the number of comparisons needed to
8128 parse a large document
8130 2002-05-29 André Pönitz <poenitz@gmx.net>
8136 * textclasslist.[Ch]:
8137 * sp_ispell.h: whitespace change
8139 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8141 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8142 lyxaction directly now.
8144 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8148 * lyxvc.C: remove unused headers
8150 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8157 * undo_funcs.C: some cleanups. Use shared_ptr
8158 and a template for the undo stacks.
8160 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8162 * BufferView_pimpl.h:
8163 * BufferView_pimpl.C:
8170 * text2.C: use key_state/mouse_state
8172 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8174 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8177 * chset.C: change include order
8178 (loadFile): use boost regex and get rid of LRegex and LSubstring
8180 * Makefile.am (BOOST_LIBS): new variable
8183 * LaTeX.C: change include order.
8184 (scanAuxFile): use boost regex and get rid of LRegex and
8188 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8193 * FontInfo.C: moved to frontends/xforms/
8196 * FontLoader.C: moved into frontends for GUIIzation
8201 * lyxfunc.C: changes from above
8203 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8205 * LColor.C: remove spurious X include
8207 * BufferView_pimpl.C:
8212 * text2.C: move font metrics to frontends/
8214 2002-05-24 Juergen Vigna <jug@sad.it>
8216 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8217 setting the undo_cursor.
8219 * ParagraphParameters.h: include local includes first.
8221 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8223 * BufferView_pimpl.C:
8224 * BufferView_pimpl.h:
8228 * screen.C: move WorkArea into frontends/
8234 * BufferView2.C: move LyXScreen into frontends/
8238 * lyx_gui.C: move lyxlookup into frontends/xforms/
8240 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8243 * BufferView_pimpl.C:
8253 * bufferview_funcs.C:
8266 * vc-backend.C: move LyX/XFormsView into frontends/
8268 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8280 * text2.C: move Painter to frontends/
8282 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8284 * buffer.C: comment out some some code that depend upon lyx_format
8287 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8288 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8290 * buffer.h (NO_COMPABILITY): turn off compability
8292 * ColorHandler.C: include scoped_array.hpp
8294 * font.C: Use more specific smart_ptr header.
8297 * ShareContainer.h: ditto
8301 * BufferView_pimpl.h: ditto
8302 * ColorHandler.h: ditto
8304 * kbmap.C (defkey): change call to shared_ptr::reset
8306 2002-05-21 Juergen Vigna <jug@sad.it>
8308 * buffer.C (insertErtContents): fix to insert ert asis if it is
8309 non empty. Skip it completely if it contains only whitespaces.
8311 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8313 * BufferView_pimpl.C:
8314 * BufferView2.C: clear selection on paste (bug 393)
8316 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8318 * DepTable.C: include ctime
8320 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8322 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8324 2002-05-14 Juergen Vigna <jug@sad.it>
8326 * text.C (breakParagraph): fixed function to honor the keepempty
8327 layout in the right maner and also to permit the right breaking
8328 algorithm on empty or non empyt keepempty paragraphs.
8330 * paragraph.C (breakParagraph): we have to check also if the par
8331 is really empty (!size()) for isempty otherwise we do the wrong
8334 2002-05-10 Juergen Vigna <jug@sad.it>
8336 * buffer.[Ch] : The following are only changes to the ert
8337 compatibility read reading old LaTeX layout and font stuff and
8338 convert it to ERTInsets.
8340 * buffer.h: added isErtInset().
8342 * buffer.C (struct ErtComp): add a fromlayout bool to check
8343 if we're inside a LaTeX layout.
8344 (isErtInset): new helper function.
8345 (insertErtContents): look for other ert insets before this one
8346 and insert the contents there, so that we don't have subsequent
8347 ERT insets with nothing between them. This way we create only one
8348 inset with multiple paragraphs. Also check if we don't insert only
8349 spaces ' ' as they are ignored anyway afterwards in the .tex file
8350 so if we have only spaces we will ignore this latex part in the
8352 (parseSingleLyXformat2Token \\layout): better compatibility when
8353 reading layout-latex stuff.
8354 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8356 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8357 stuff after reading the inset only get the information back from
8360 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8362 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8364 * LaTeXFeatures.C (getBabelOptions): New method.
8366 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8368 * BufferView_pimpl.C (Dispatch): work around missing argument for
8371 2002-05-08 Juergen Vigna <jug@sad.it>
8373 * text.C (leftMargin): handle paragraph leftindent.
8375 * paragraph.C (writeFile): write the new \\leftindent tag.
8376 (validate): handle leftindent code.
8377 (TeXEnvironment): handle paragraphleftindent code again.
8379 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8381 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8382 for paragrap_extra indent code and new token \\leftindent.
8383 (latexParagraphs): handle the leftindent as environment.
8385 * ParameterStruct.h: added leftindent support.
8387 * ParagraphParameters.C (leftIndent): added support functions for
8388 the paragraph left indent.
8390 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8393 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8395 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8398 * text.C (computeBidiTables): No bidi in insetERT.
8400 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8403 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8405 * version.C.in: pre 5
8407 2002-05-02 José Matos <jamatos@fep.up.pt>
8408 * buffer.C (makeDocBookFile): white space changes, add newline to
8410 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8412 * tabular.C (docBook): fix typo.
8414 2002-05-03 Juergen Vigna <jug@sad.it>
8416 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8417 change in LyXText as we can not be sure it was not freed.
8418 (drawOneRow): remove unused code.
8420 * text.C (drawInset): redo the calculation of the need_break_row as
8421 it could have a row which was already freed.
8422 (draw): look at the return value of drawInset and return false if
8423 it also returned false.
8424 (paintRowText): look at the return value of draw and return false if
8425 it also returned false.
8427 * lyxtext.h: added bool return type to drawInset() and draw() so that
8428 if we have a change in the row so that the rowbreak has to be redone
8429 we abort drawing as it will be called again.
8431 2002-05-02 Juergen Vigna <jug@sad.it>
8433 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8434 a change in the maintext also if we're inside an inset.
8435 (Dispatch): set the cursor again after a break line and after the
8436 screen has been updated as it could be we're in a different row.
8438 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8439 to set the cursor behind the pargraph with > size().
8440 (setCursor): check also for the same paragraph when checking where
8441 to put the cursor if we have a NFR inset.
8443 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8444 parts of layout read further up as it still was in the wrong
8447 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8449 * screen.C (drawFromTo): change sine fullRebreak always return
8452 * buffer.C (parseSingleLyXformat2Token): reindent some
8454 * BufferView_pimpl.C (update): change since fullRebreak always
8456 (Dispatch): git rid of the last hardcoded "Standard"s.
8458 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8460 * text2.[Ch] (fullRebreak): make it return void now that we always
8463 2002-04-30 Juergen Vigna <jug@sad.it>
8465 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8466 ert compatibility check for "latex" layout.
8468 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8470 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8471 minipages: use col% instead of p%, and also use the current font.
8472 (makeLaTeXFile): Fix use babel condition.
8473 (parseSingleLyXformat2Token): Correct font when reading old floats.
8475 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8477 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8478 inserting list of floats.
8480 2002-04-25 Herbert Voss <voss@lyx.org>
8482 * MenuBackend.C (expand): don't add the graphics extensions to the
8485 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8487 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8488 non-existing layout, do not complain if it was the default layout
8489 of the original class (bug #342)
8491 2002-04-24 Juergen Vigna <jug@sad.it>
8493 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8494 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8496 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8498 * buffer.C (getBibkeyList): If using \bibliography, return the
8499 option field with the reference itself. Enables us to provide natbib
8500 support when using \bibliography.
8502 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8504 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8506 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8507 natbib is provided by the LaTeX class.
8509 2002-04-23 Juergen Vigna <jug@sad.it>
8511 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8514 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8516 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8518 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8520 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8521 ensuremath around textordmasculine, textordfeminine and
8524 2002-04-19 Juergen Vigna <jug@sad.it>
8526 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8527 reinitializing the buffer otherwise row-dimensions may be wrong.
8528 (update): reset also the selection cursors if they do exits otherwise
8529 their x/y positions may be wrong.
8531 * text2.C (cursorDown): don't enter the inset if we came from a row
8532 above and are one row over the inset.
8534 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8535 really leaving an inset.
8537 2002-04-18 Juergen Vigna <jug@sad.it>
8539 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8540 of the selected paragraph does not have the selected layout also if
8543 * text2.C (setLayout): fixed bug which did not change last selected
8546 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8547 changed the read and substituted \\end_float with \\end_inset!
8549 * BufferView_pimpl.C (cursorPrevious):
8550 (cursorNext): fixed to make it work with rows heigher than the work
8551 area without moving the cursor only the draw of the row.
8552 (workAreaMotionNotify): fix jumping over high rows.
8554 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8556 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8559 2002-04-16 Juergen Vigna <jug@sad.it>
8561 * text2.C (setCursor): set also the irow().
8562 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8564 (cursorDown): support for locking an inset if the x_fix value goes
8565 inside it. That way I can transverse insets too with cursor up/down.
8567 * lyxrow.h: added irow helper function same as other (i) functions.
8569 * BufferView_pimpl.C (cursorPrevious):
8570 (cursorNext): fixed for insets!
8572 2002-04-15 Juergen Vigna <jug@sad.it>
8574 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8575 position otherwise it is wrong in some cases.
8577 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8578 inside the inset before the call.
8580 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8582 * buffer.[Ch] (getBibkeyList): make it const.
8584 2002-04-12 Juergen Vigna <jug@sad.it>
8586 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8588 * text2.C (getCursorX): new helper function
8589 (setCursor): compute also ix_
8590 (setCursorFromCoordinates): set also ix.
8592 * lyxcursor.h: added ix_ and helper functions.
8594 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8596 * buffer.C (insertStringAsLines): dont break paragraph if the this
8597 paragraph is inside an inset which does not permit it!
8599 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8600 also with no chars on this paragraph.
8601 (paintRowText): only paint stuff if it's inside the workarea!
8603 * paragraph.C (breakParagraph): honor keepempty flag and break the
8604 paragraph always below not above.
8606 * BufferView2.C (unlockInset): update the paragraph layout on inset
8607 unlock as we changed paragraph in such a case.
8609 * lyxfind.C (LyXFind): clear the former selection if not found!
8611 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8612 again called in insertChar().
8614 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8615 an inset which uses the whole row!
8616 (rightMargin): ditto.
8617 (insertChar): force a rebreak if we inserted an inset!
8619 2002-03-28 Herbert Voss <voss@lyx.org>
8621 * lyxlength.[Ch]: add inBP() to get the right PS-point
8622 units (BigPoint). With inPixels we have rounding errors
8624 2002-04-11 Juergen Vigna <jug@sad.it>
8626 * text2.C (setCursorFromCoordinates): set iy to the right value.
8627 (setCursor): add check if row->previous exists!
8629 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8630 an old float_type as this was the case in the old code!
8632 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8634 * BufferView2.C (showLockedInsetCursor): use iy
8635 (fitLockedInsetCursor): ditto
8637 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8638 locked insets as there we have the right value now.
8640 * lyxcursor.C: added iy_ variable and iy functions to set to the
8641 baseline of cursor-y of the locked inset.
8643 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8644 (setCursor): fixed for insets which need a full row.
8646 * text.C (rowLastPrintable): don't ignore the last space when before
8647 an inset which needs a full row.
8648 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8649 as last character of a row when before a inset which needs a full row.
8651 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8653 * version.C.in: update date
8655 * text2.C (fullRebreak): try to always return true and see what
8658 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8660 * MenuBackend.C (expand): use Floating::listName
8662 * FloatList.C (FloatList): add listName argument to the built-in
8665 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8666 text associated with the float.
8668 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8670 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8672 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8674 * ShareContainer.h: add a couple of missing typenames.
8676 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8678 * lyxrc.C (getDescription): use _() correctly rather than N_().
8680 2002-03-28 Herbert Voss <voss@lyx.org>
8682 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8683 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8685 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8687 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8688 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8690 2002-03-29 Juergen Vigna <jug@sad.it>
8692 * lyxfunc.C (dispatch): add a missing fitCursor call.
8694 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8695 it was scrolled by a cursor move, so return the bool status.
8697 * BufferView.C (fitCursor): return the bool flag also to the outside
8698 world as this is needed.
8700 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8702 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8703 call the edit() as it is not needed (and wrong) IMO.
8704 (workAreaButtonPress): set the screen_first variable before evt.
8705 unlock the inset as this may change screen_first and then we have
8706 a wrong y position for the click!
8708 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8710 * MenuBackend.C (expand): another translation that I missed
8712 2002-03-28 Juergen Vigna <jug@sad.it>
8714 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8716 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8718 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8720 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8722 * MenuBackend.C (expand): fix export/view/update when there is no
8725 2002-03-27 Herbert Voss <voss@lyx.org>
8727 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8730 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8732 * bufferview_funcs.C (currentState): only show paragraph number
8733 for is DEVEL_VERSION is set.
8735 * lyxfunc.C (dispatch): put warning in INFO channel
8737 * MenuBackend.C (expand): translate the name of floats
8739 * FloatList.C (FloatList): mark the float names for translation
8741 * converter.C (convert): use LibScriptSearch
8743 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8745 * MenuBackend.C (defaults): fix default menu (we might as well get
8748 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8750 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8753 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8755 * lyxvc.C: reorder includes.
8757 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8759 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8762 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8764 * CutAndPaste.C: change layouts earlier on paste
8765 to avoid crashing when calling getFont()
8767 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8769 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8772 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8774 * WorkArea.C: remove 'Pending' debug message.
8776 * most files: ws cleanup
8778 * buffer.[Ch]: ws changes
8780 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8782 2002-03-21 Juergen Vigna <jug@sad.it>
8784 * tabular.C (SetMultiColumn): collapse also the contents of the
8785 cells and set the last border right. Added a Buffer const * param.
8787 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8789 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8792 2002-03-19 Juergen Vigna <jug@sad.it>
8794 * text2.C (clearSelection): reset also xsel_cache.
8796 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8797 where it needs to be called (John tells us to do so too :)
8798 (selectionLost): reset sel_cache.
8800 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8802 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8804 * text2.C (setCursorIntern): put debuging code in INSETS channel
8806 2002-03-19 André Pönitz <poenitz@gmx.net>
8808 * lyxfunc.C: tiny whitespace change
8810 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8812 * ToolbarDefaults.C (init):
8813 * LyXAction.C (init):
8815 * BufferView_pimpl.C (Dispatch):
8816 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8818 2002-03-19 Allan Rae <rae@lyx.org>
8820 * exporter.C (Export): removeAutoInsets before doing anything else.
8821 While I've just introduced a dependency on BufferView this really is
8822 the best place to clean the buffer otherwise you need to cleanup in
8823 a dozen places before calling export or cleanup in a dozen functions
8826 * converter.C (runLaTeX):
8827 (scanLog): Better handling of removeAutoInsets and screen updates.
8829 * lyxfunc.C (dispatch): small whitespace changes
8831 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8833 * WorkArea.C (C_WorkAreaEvent): return a value.
8834 (event_cb): return 1 if we handled the event, 0 otherwise.
8836 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8838 2002-03-18 Juergen Vigna <jug@sad.it>
8840 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8841 (GetAdditionalWidth): ditto.
8845 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8846 inset if we're there actually (probably not used right now but this
8847 is the direction to go for unifying code).
8848 (paste): disable code to clear the selection.
8850 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8851 inside an InsetText and move the check further up as it is in the
8854 * text2.C (pasteSelection): set a selection over the pasted text.
8856 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8858 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8859 and libgraphics to build on Cygwin.
8861 2002-03-15 Juergen Vigna <jug@sad.it>
8863 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8864 inserting an Inset into the paragraph. I know this is not the best
8865 fix but we already use current_view in CutAndPaste so we will remove
8866 all of it's using at the same time.
8868 * buffer.C (sgmlError): deactivated function till it is rewritten in
8869 the right mode, now it can create problems.
8871 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8872 before accessing it.
8874 2002-03-14 Juergen Vigna <jug@sad.it>
8876 * undo_funcs.C (textHandleUndo): do the right thing when updating
8877 the inset after the undo/redo.
8879 * text2.C (setCursor): just some testcode for #44 not ready yet.
8881 * undo_funcs.C (textHandleUndo): set the next() and previous()
8882 pointers of the paragraph to 0 before deleting otherwise we have
8883 problems with the Paragraph::[destructor].
8885 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8886 on a paragraph insertion.
8888 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8890 * buffer.C (asciiParagraph): use += operator for char append to
8893 * paragraph.C (getFontSettings): compare >= not just >
8894 (highestFontInRange): ditto
8897 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8899 * paragraph.C: change several algorithm to be more appripriate for
8900 the problem domain. This is lookip in FontList and in the InsetList.
8902 2002-03-13 André Pönitz <poenitz@gmx.net>
8905 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8907 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8912 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8914 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8916 * Painter.C (display): anon helper function, adjust code for this
8918 (pixmap): remove function.
8920 * Painter.h: remove private display variable.
8922 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8924 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8926 * WorkArea.[Ch]: remove figinset_canvas cruft.
8928 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8930 * lyxtextclass.C (operator): add one item cache optimization.
8932 * bufferlist.h: doxy changes
8934 * bufferlist.C: ws changes
8936 * DepTable.[Ch] (ext_exist): place const in the right spot.
8938 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8940 (workAreaExpose): call resizeInsets when the with BufferView changes.
8941 (Dispatch): adjust for protectedBlank removal
8942 (specialChar): call updateInset if the insert went ok.
8944 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8945 specialChar instead.
8947 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8949 * BufferView.h: doxy change
8951 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8953 * lyxtextclass.C (operator[]): remove non-const version
8954 (defaultLayout): remove non-const version
8956 2002-03-12 Juergen Vigna <jug@sad.it>
8958 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8959 did resize the LyXText too.
8961 * buffer.C (readLyXformat2): set layout information on newly allocated
8964 * tabular.C (OldFormatRead): set layout information on the paragraph.
8966 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8968 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8970 2002-03-11 Juergen Vigna <jug@sad.it>
8972 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8974 (resizeCurrentBuffer): force also the insets to resize themselfes.
8975 (moveCursorUpdate): fixed up for InsetText.
8977 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8980 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8981 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8982 value of Dialogs::tooltipsEnabled().
8983 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8985 2002-03-08 Juergen Vigna <jug@sad.it>
8987 * BufferView_pimpl.C (updateInset): update inset inside inset also
8988 if it isn't inside theLockingInset().
8990 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8992 * buffer.C (asciiParagraph): redo some of the word and line length
8994 (getLists): look for Caption instead of caption.
8996 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8998 * buffer.C (Buffer): initialize niceFile to true
9001 (makeDocBookFile): make sure niceFile is true on exit
9003 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9005 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9007 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9009 * LyXSendto.C: remove.
9010 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9011 * lyx_gui.C: remove now-redundant comment.
9012 * ColorHandler.h: remove forward declaration of class WorkArea.
9013 * lyxfunc.C: remove #include "WorkArea.h".
9015 2002-03-07 Juergen Vigna <jug@sad.it>
9017 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9018 got moved away with the DEPM and also set the inset_owner always
9019 right which before could have been omitted.
9021 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9023 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9024 wanted layout is not found.
9026 2002-03-07 Juergen Vigna <jug@sad.it>
9028 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9030 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9032 * paragraph.C (breakParagraph): use default layout not layout of
9034 (Paragraph): clear ParagraphParameters.
9036 2002-03-06 Juergen Vigna <jug@sad.it>
9038 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9039 otherwise it would not be a valid lenght. Fixed a special case in
9040 the minipage compatibility read where we end the document with a
9043 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9044 was set as it could be 0 for InsetTexts first entry.
9046 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9048 * paragraph.C (writeFile): if layout is empty write out
9049 defaultLayoutName().
9051 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9052 file without named layout we set layout to defaultLayoutName().
9054 2002-03-06 Juergen Vigna <jug@sad.it>
9056 * CutAndPaste.C (copySelection): set layout for new paragraph.
9058 * text.C (prepareToPrint): leave ERT inset left aligned
9059 (leftMargin): don't indent paragraphs inside ERT insets
9061 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9063 * paragraph.C (breakParagraph): dont call clear do the work manually
9065 * paragraph.[Ch] (clear): remove function
9067 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9069 * paragraph.C (Paragraph): dont call clear, the work has already
9072 * lyxtextclass.C (operator): assert if n is empty
9074 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9075 work manually instead.
9077 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9079 * BufferView_pimpl.C: protect selectionLost against text == 0
9081 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9083 * text.C (breakParagraph): fix a setting layout to '0' problem.
9085 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9087 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9088 final location of file, for the included files, and graphics.
9090 2002-03-05 Juergen Vigna <jug@sad.it>
9092 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9094 2002-03-04 Juergen Vigna <jug@sad.it>
9096 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9098 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9099 last column of multicolumn cells.
9100 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9102 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9104 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9105 file if it doesn't go to a temporary file.
9107 * buffer.C (sgmlOpenTag):
9108 (sgmlCloseTag): remove extra newline insertion.
9110 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9112 * text.C (getRowNearY): comment out debug msg
9114 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9116 * text2.C: first -> first_y
9118 * text.C (getRowNearY): add some attemts at a possible
9119 optimization, not working.
9121 * tabular.[Ch]: add BufferParams to several function so that newly
9122 created paragraph can be initialized to he default layotu for the
9125 * tabular-old.C (ReadOld): add buf->params to call of Init
9127 * screen.C: rename text->first to text->first_y
9129 * paragraph.C (breakParagraph): always set layout in the broken
9132 * lyxtextclass.C (Read): remove lowercase
9135 (delete_layout): ditto
9137 * lyxtext.h: rename first -> first_y
9139 * lyxlayout.C (Read): remove lowercase
9142 (obsoleted_by): ditto
9144 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9146 * buffer.C (insertErtContents): add params are to InsetERT
9147 (parseSingleLyXformat2Token): add code to check if a paragraphs
9148 layout really exist.
9149 (parseSingleLyXformat2Token): add params to several inset
9151 (asciiParagraph): remove lowercase, do the layout comparisons with
9154 * BufferView_pimpl.C (cursorNext): first -> first_y
9155 (resizeCurrentBuffer): first -> first_y
9156 (updateScrollbar): first -> first_y
9157 (scrollCB): first -> first_y
9158 (workAreaMotionNotify): first -> first_y
9159 (workAreaButtonPress): first -> first_y
9160 (checkInsetHit): first -> first_y
9161 (cursorPrevious): first -> first_y
9162 (cursorNext): first -> first_y
9163 (Dispatch): add buffer_->params to severl inset contructors
9165 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9167 * lyxlayout.C (Read): remove some debug info that I forgot.
9169 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9170 clean up the code slightly.
9171 (makeLinuxDocFile): ditto
9172 (makeDocBookFile): ditto
9174 * text2.C: layout as string
9176 * text.C: layout as string
9178 * paragraph_pimpl.C: layout as string
9180 * paragraph.[Ch]: layout as string
9182 * lyxtextclasslist.[Ch]: layout as string
9184 * lyxtextclass.[Ch]: layout as string
9186 * lyxtext.h: layout as string
9188 * lyxlayout.[Ch]: layout as string
9190 * lyx_cb.C: layout as string
9192 * bufferview_funcs.C: layout as string
9194 * bufferparams.C: layout as string
9196 * buffer.C: layout as string
9198 * LyXView.[Ch]: layout as string
9200 * LaTeXFeatures.[Ch]: layout as string
9202 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9204 * BufferView_pimpl.C: change current_layout to string, remove
9209 (workAreaButtonRelease): layout as string
9211 * BufferView2.C (unlockInset): adjust
9213 * vspace.C (asLatexCommand): use an explict temp variable.
9215 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9217 * Makefile.am: use FRONTEND_*
9219 2002-03-01 Juergen Vigna <jug@sad.it>
9221 * tabular.C (SetWidthOfMulticolCell): changed to something better
9222 I hope but still work in progress.
9223 (recalculateMulticolumnsOfColumn): renamed function from
9224 recalculateMulticolCells as it is more appropriate now.
9225 (SetWidthOfCell): calculate multicols better.
9227 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9229 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9231 * lyxfunc.C (processKeySym): print sequence also if it is
9232 `deleted' (complete)
9234 * kbsequence.C (print): print sequence even if it is deleted
9235 (complete would be a better word, actually).
9237 * lyxfunc.C (dispatch): print complete options after a prefix key
9239 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9241 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9243 * text2.C (setCharFont): eliminate setCharFont code duplication.
9245 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9247 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9248 LFUN_TABULAR_FEATURE (bug #177)
9250 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9252 * Makefile.am: remove figure.h
9254 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9256 * Bufferview_pimpl.C:
9268 * text2.C: remove #include "lyx_gui_misc.h".
9270 * LaTeX.C: added #include <cstdio>
9272 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9274 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9275 that the paragraph following this one can have.
9277 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9279 * vspace.C (asLatexCommand): fix bogus gcc warning
9281 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9283 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9285 * text2.C (setLayout): get rid of redundant code
9287 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9289 * text2.C (incDepth): make sure depth cannot be increased beyond
9292 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9294 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9295 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9297 * PainterBase.h (image):
9298 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9301 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9305 * BufferView_pimpl.C:
9306 * BufferView_pimpl.h:
9326 * sp_spell.C: remove fig inset, and the crap house of
9327 cards that follows it
9329 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9335 * nt_defines.h: move .h into support/
9337 * vms_defines.h: remove
9339 * WorkArea.C: add space in debug output
9343 * buffer.C: add WITH_WARNINGS
9347 * bufferlist.C: s/retrive/retrieve/, add docs
9358 * lyxgui.C: add ID to X error handler
9360 * lyxtestclass.c: fix typo
9362 2002-02-26 Juergen Vigna <jug@sad.it>
9364 * tabular_funcs.C (write_attribute): changed so that some default
9365 attributes are not written at all.
9366 (getTokenValue): set default values before trying to read the
9367 value so we have the return value always set as default if we don't
9368 find the token we search for.
9370 * tabular.C (Write): write bools as bools not as strings!
9372 2002-02-22 Juergen Vigna <jug@sad.it>
9374 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9375 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9377 * text.C (leftMargin): don't add an indent for paragraphs inside
9378 tabular cells (fix #208).
9380 2002-02-21 José Matos <jamatos@fep.up.pt>
9382 * tabular.C (docBook): fixed support for long tables.
9384 2002-02-20 Juergen Vigna <jug@sad.it>
9386 * text2.C (getFont): get the drawing font of the Inset if this
9387 paragraph is inside an inset (only important for InsetERT for now).
9389 * buffer.C (insertErtContents): use new lanugage params in ERT
9392 * CutAndPaste.C: commenting out seemingly uneeded code.
9394 2002-02-19 Allan Rae <rae@lyx.org>
9396 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9397 Iterators might be simple to use but they also get invalidated.
9398 (removeAutoInsets): renamed saved cursor tracking variables and added
9399 some comments to clarify what everything does.
9401 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9408 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9409 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9412 * vc-backend.h: remove #include "support/syscall.h"
9416 * converter.C: rearrange #includes in Lars' approved fashion.
9418 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9419 forward declare class Timeout in the header file.
9421 * XFormsView.C: changes due to the above.
9423 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9426 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9427 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9429 2002-02-18 José Matos <jamatos@fep.up.pt>
9431 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9434 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9436 * a lot of small ws changes
9437 * add a lot of using std::XXX
9438 * use std construcs some places where approp.
9439 * use some exisint stuff from lyxfunctional where approp.
9440 * Make file changes to use partial linking (lets test this now...)
9442 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9446 remove #include "support/syscontr.h" as it's redundant. Always has been.
9454 change Systemcalls::System to Systemcalls::Wait and
9455 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9456 No change of functionality, just reflects the stripped down Systemcalls
9459 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9461 * debug.[Ch]: add a GRAPHICS type to the enum.
9463 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9465 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9467 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9470 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9472 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9473 match the changes below.
9475 * text2.C (toggleInset): if there is not editable inset at cursor
9476 position, try to see if cursor is _inside_ a collapsable inset
9479 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9481 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9482 document menu has a nice checkbox
9484 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9486 * lyxlength.C (asLatexString): change PW to output as percent of
9489 * lengthcommon.C: change '%' to 't%'
9491 * lyxfunc.C (dispatch): a few comments from Martin
9493 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9497 * BufferView_pimpl.h:
9498 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9501 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9503 * vspace.C (inPixels): fix compiler warning
9505 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9507 * lyxfunc.C (getStatus): fix status message for disabled commands.
9509 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9511 * BufferView_pimpl.C: fix crash on close buffer
9512 during selection (#227)
9514 2002-01-27 Herbert Voss <voss@lyx.org>
9516 * buffer.C: link old Figure to new graphic inset
9518 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9520 * FontLoader.C (getFontinfo): Change the latex font names in order
9521 to match the names of type1inst.
9523 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9525 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9527 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9530 (remove_files_with_extension): ditto
9531 (remove_file): ditto
9534 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9535 document is smaller than the work area height. Do not initialize
9536 static variables to 0.
9538 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9540 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9542 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9543 LFUN_LAYOUT_PARAGRAPHS.
9545 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9546 tabular. It is possible to provide a possible cell, which will
9547 typically be the actcell from the corresponding insettabular
9549 * lyxfunc.C (getStatus): small cleanup; disable
9550 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9553 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9555 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9557 * paragraph.C (startTeXParParams):
9558 (endTeXParParams): new methods. The LaTeX code to
9559 start/end paragraph formatting
9560 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9561 empty (fixes bug #200)
9563 * vspace.C (inPixels): adapt to the change below
9564 (inPixels): [later] more cleanups (remove unused variables)
9566 * lyxlength.C (inPixels): change to use a width and a height as
9569 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9571 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9572 Replaced with \paperwidth
9574 * DepTable.C (insert): add std:: qualifier
9576 2002-01-18 Allan Rae <rae@lyx.org>
9578 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9581 * text.C (drawInset): Turned out I didn't know enough about how
9582 rebreaking worked. This fixes most of the redraw problems. I see
9583 an occasional cursor trail when a line is broken now and the cursor
9584 placement can seem out by a few pixels also after a rebreak.
9586 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9588 * buffer.C (parseSingleLyXformat2Token): update because minipage
9589 width is now a LyXLength
9591 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9593 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9596 2002-01-17 Juergen Vigna <jug@sad.it>
9598 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9600 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9601 is set correctly and the inset is updated correctly.
9603 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9605 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9606 the beginning of the loop.
9608 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9610 * lyxrc.C: improve help for use_scalable_fonts
9612 2002-01-17 Allan Rae <rae@lyx.org>
9614 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9616 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9618 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9619 make sure to set their inset_owner to the right value (bug #171)
9621 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9624 * DepTable.C: Implement mtime checking to reduce time spent doing
9627 2002-01-16 Juergen Vigna <jug@sad.it>
9629 * tabular.C (GetAdditionalHeight): one of error fixed.
9631 * lyxrc.C (output): small fix in writing use_pspell.
9633 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9635 * sp_base.h: #include LString.h
9637 2002-01-16 Allan Rae <rae@lyx.org>
9639 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9640 Can someone check this please?
9642 * text.C (drawInset): It was possible that p.row would be removed by
9643 breakAgainOneRow upsetting a few other settings. There may be another
9644 small tweak possible by setting need_break_row = 0 when p.row has been
9645 removed but I don't know enough about the logic here.
9647 2002-01-15 Allan Rae <rae@lyx.org>
9649 * text.C (insertChar): removed conditional truism.
9651 * BufferView2.C (removeAutoInsets): More tweaks.
9652 cur_par_prev could be a stray pointer. Check for trailing empty line
9653 in case last line was cur_par and only had an error inset on it.
9655 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9657 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9660 * vc-backend.C (most methods):
9661 * exporter.C (Export):
9662 * converter.C (convert):
9664 * LyXSendto.C (SendtoApplyCB):
9665 * lyxfunc.C (dispatch):
9669 * lyx_cb.C (AutoSave):
9671 * BufferView_pimpl.C (MenuInsertLyXFile):
9672 * buffer.C (runChktex): use Buffer::filePath().
9674 * buffer.h: rename filename to filename_; rename filepath to
9675 filepath_ and make it private
9676 (filePath): new method
9678 * buffer.C (writeFile): use fileName()
9681 * lyx_main.C (init): fix starting of LyX when the binary is a
9682 link from so,ewhere else.
9684 * minibuffer.C: include <cctype> for isprint
9686 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9688 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9689 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9690 name clash with InsetCollapsable's width function.
9692 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9694 * lastfiles.C: include <iterator>
9696 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9698 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9701 * buffer.C (makeLaTeXFile): ditto.
9702 Also make loop operation more transparent.
9704 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9706 * ToolbarDefaults.C: remove trailing comma closing namespace.
9708 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9710 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9713 * trans.C (Load): comment out unused variable, allowed.
9715 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9717 * minibuffer.[Ch] (append_char): new method to recieve input from the
9718 drop-down completion browser. If a key was pressed, then recieve this
9719 char and append it to the existing string.
9720 (peek_event): modify the positioning data passed to the completion
9721 browser so that it can be placed above the minibuffer rather than below.
9722 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9724 * LyXAction.C (init): alloe error-next for readonly documents.
9726 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9729 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9731 * bufferlist.C (readFile): create the buffer _after_ checking that
9734 * lyxfunc.C (verboseDispatch): fix handling of arguments
9736 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9738 * lyxrc.C: use string::erase() instead of initializing to "".
9741 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9743 * BufferView_pimpl.h:
9744 * BufferView_pimpl.C:
9747 * text2.C: tell X when we have made a selection for copying
9749 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9751 * BufferView_pimpl.C (MenuInsertLyXFile):
9752 * lyxfunc.C (menuNew):
9754 (doImport): add shortcuts to directory buttons
9756 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9759 * lyxfunc.C (setStatusMessage):
9760 (getStatusMessage): new methods
9761 (getStatus):use setStatusMessage instead of setErrorMessage
9762 (dispatch): when function is disabled, set error message here
9763 [instead of in getStatus previously]
9765 * BufferView_pimpl.C (workAreaButtonRelease): update
9766 toolbar/menubar here too.
9768 2002-01-13 Allan Rae <rae@lyx.org>
9770 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9771 Now seems indestructible. Remaining task is to audit all other
9772 code affected by deleteEmptyParagraphMechanism. One small quirk
9773 left is that an empty document with an error in the preamble can
9774 be made to report an error but no error box appears. I don't know
9776 (removeAutoInsets): Improved comments.
9778 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9781 * Thesaurus.C: update for Aiksaurus 0.14
9783 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9785 * text2.C (firstParagraph): removed member function, all uses
9786 replaces with ownerParagraph
9787 (redoParagraphs): here
9789 (toggleAppendix): here
9790 * BufferView2.C (insertErrors): here
9791 (setCursorFromRow): here
9793 2002-01-13 Allan Rae <rae@lyx.org>
9795 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9796 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9797 There is still a way to segfault this although you may have to do this
9798 multiple times: Have an InsetERT with an unknown command in it.
9799 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9800 <down-arrow>, <Enter> again, View->DVI, BANG!
9802 * text2.C (setCursor):
9803 (deleteEmptyParagraphMechanism):
9804 * lyxtext.h (setCursor):
9805 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9806 Making use of the return value may help fix other bugs.
9808 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9810 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9812 * LyXView.C (updateMenubar): call MenuBar::update here
9813 (updateToolbar): but not here
9814 (showState): do not update toolbar/menubar
9816 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9817 should need to care about that.
9819 * lyxfunc.C (verboseDispatch): simplify a bit
9820 (getStatus): have a version which takes a pseudoaction, and
9821 another which requires a (kb_action,string).
9823 * LyXAction.C (retrieveActionArg): make it work also when action
9824 is not a pseudo-action.
9825 (getActionName): simplify a bit
9828 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9830 * lyxfunc.C (verboseDispatch): new families of methods with
9831 several ways to specify a command and a bool to indicate whether
9832 the command name and shortcut should be displayed in minibuffer
9833 (eventually, we could extend that to a finer bitmask like
9834 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9835 (dispatch): the pristine dispatch command which just, well,
9836 dispatchs! Note it still sets its result to minibuffer; I'm not
9839 * lyxfunc.h: remove setHintMessage
9841 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9843 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9845 * BufferView_pimpl.C (specialChar): delete new inset if we have
9846 not been able to insert it.
9848 * kbmap.C: revert to using int instead of kb_action, since all we
9849 are dealing with is pseudo-actions.
9851 * LyXAction.C (searchActionArg): change to return int instead of
9852 kb_action, since the result is a pseudoaction.
9854 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9856 * buffer.C (insertErtContents): Fix (partially) the font bug.
9858 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9860 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9861 as the other one is broken on my machine!
9863 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9866 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9868 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9870 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9871 reflect their actual use. Provide compatibility code for older lyxrc
9874 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9876 change names of popup font variables in line with the changes to lyxrc.C
9878 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9880 * buffer.C (asciiParagraph): avoid outputing a word twice after
9883 * lyxrc.C (getDescription): document that document_path and
9884 template_path can be empty.
9886 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9888 * LaTeXFeatures.C (getMacros):
9889 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9891 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9893 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9895 (getPackages): rename feature "floats" to "float". Use an array to
9896 iterate over 'simple' features (i.e. just a \usepackage). Add
9897 handling of "amsmath" (renamed from "amsstyle").
9899 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9901 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9904 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9906 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9907 FuncStaus::FuncStatus & FuncStaus::some_method().
9909 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9911 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9912 of the func_satus stuff. Edited and massaged in various ways by
9915 * lyxfunc.C (getStatus): use FuncStatus
9917 2002-01-08 Juergen Vigna <jug@sad.it>
9919 * text.C (nextBreakPoint): use function Inset::isChar().
9921 * paragraph.C (TeXOnePar): use function
9922 Inset::forceDefaultParagraphs.
9924 * buffer.C (latexParagraphs): use function
9925 Inset::forceDefaultParagraphs.
9927 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9929 * lyx_gui.C (init): set the style of the menu popups to
9930 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9932 2002-01-07 Juergen Vigna <jug@sad.it>
9934 * text.C (setHeightOfRow): small fix
9935 (prepareToPrint): don't look at alignment if we don't have the place
9938 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9940 * box.C: New file. Move the Box methods and functions out of box.h,
9941 following Lars' suggestion.
9943 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9945 * box.h: #include "support/LOstream.h", needed for inlined function.
9948 * lyxtextclasslist.C: added some using std declarations.
9950 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9952 * box.h: make signed dimensions to allow insets wider than
9953 the screen (bug #162)
9955 * BufferView_pimpl.C: add some insetHit debug
9957 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9959 * vc-backend.C: add FIXME
9961 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9963 * lyxfunc.C (getStatus): enable code for showing math font status
9966 2002-01-07 Juergen Vigna <jug@sad.it>
9968 * text.C (nextBreakPoint): removed debug output not needed anymore.
9970 2002-01-06 Juergen Vigna <jug@sad.it>
9972 * text.C (nextBreakPoint): fixed up this function we had this bug
9973 since ever but now hopefully we break row better.
9974 (insertChar): we have to check if an inset is the next char as it
9975 could now happen that a large inset is causing a break.
9977 2002-01-05 Juergen Vigna <jug@sad.it>
9979 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9980 if it doesn't like to be drawed.
9982 2002-01-04 Juergen Vigna <jug@sad.it>
9984 * BufferView2.C (lockInset): forgot to set a cursor.
9986 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9988 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9993 * form_maths_panel.C:
9994 * form_maths_panel.h:
9995 * form_maths_panel.fd: implemented sub- and super- buttons in math
9998 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9999 (or ^ space) to be used as in TeX (req'd by André).
10001 * lyxfunc.C: Allow ^ and _ again to be used both as
10002 super/subscript (mathed) and as themselves (in text).
10004 2002-01-03 Allan Rae <rae@lyx.org>
10006 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10007 "LyX" or the filename of the current buffer if it has one. This is a
10008 modified form of John Levon's patch.
10010 * XFormsView.C (setWindowTitle): also set icon title.
10012 * LyXView.h (setWindowTitle): signature changed.
10013 * XFormsView.h (setWindowTitle): ditto.
10015 2002-01-02 Juergen Vigna <jug@sad.it>
10017 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10019 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10021 * screen.C (topCursorVisible): introduce a temp var for
10022 text->cursor.row(), handle the case where this row is null. (kindo
10025 * text2.C (setCursor): add a couple of asserts.
10027 * paragraph.h (inset_iterator): add -> operator
10029 * paragraph.[Ch] (autoDeleteInsets): remove member function
10031 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10032 cursor pos correctly and handle inset deletion by itself.
10033 (insertErrors): move iterator declaration out of for expression
10035 * lyxtextclass.C: add <algorithm>
10037 * Makefile.am: added the new files to sources, removed layout.C
10039 * layout.C: removed file
10041 * layout.h: remove LYX_DUMMY_LAYOUT
10043 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10047 * lyxtextclass.[Ch]:
10048 * lyxtextclasslist.[Ch]: new files
10050 * include order changes to a lot of files, also changes because of
10053 2001-12-27 Juergen Vigna <jug@sad.it>
10055 * buffer.C (asciiParagraph): more fixes.
10057 * tabular.C (ascii): make ascii export support export of only the
10058 data separated by a column-delimiter.
10059 (ascii): better support for ascii export.
10061 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10063 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10065 * tabular_funcs.C: use a "using std::getline" instead of the
10066 previous fix from Angus (necessary for cxx + lyxstring)
10068 2001-12-24 Juergen Vigna <jug@sad.it>
10070 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10072 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10073 problems. First check a minipage also if we have some ert-contents
10074 (not only on par->size(), second set the right depth of the paragraph
10075 on the relink to the root-paragraph-list!
10077 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10078 which then did not anymore update the main paragraphs on undo/redo!
10080 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10082 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10083 code. Support all font-changing funcs (even those which are not in
10084 menu currently). Support for reporting font settings in
10085 mathed (disabled until Andre provides a function on mathed's side).
10087 * func_status.h (toggle): small helper function to set toggle
10090 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10092 * tabular_funcs.C: getline -> std::getline
10094 2001-12-21 Juergen Vigna <jug@sad.it>
10096 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10097 accessed and could be 0 (I couldn't generate this but it seems
10100 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10102 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10103 * tabular_funcs.h: here and include iosfwd
10105 2001-12-20 Juergen Vigna <jug@sad.it>
10107 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10108 inside inset but undo_par was.
10110 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10112 * Thesaurus.C: always include <config.h> in sources.
10116 * box.h: do not include <config.h> in header files
10118 * text.C (paintLastRow): remove unused variable
10120 * text.C (transformChar):
10122 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10124 * Painter.C (text):
10125 * font.C (width): rewrite to use uppercase() instead of
10128 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10130 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10132 * lyxfind.C: clean up of find failure position change
10134 2001-12-20 Juergen Vigna <jug@sad.it>
10136 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10138 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10139 (TeXRow): added to LaTeX a single tabular row.
10140 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10141 (Latex): simplified and finally good LT-h/f support.
10142 (various_functions): just small adaptions for LT-h/f support.
10144 * tabular_funcs.[hC]: added and moved here all not classfunctions
10147 2001-12-19 Juergen Vigna <jug@sad.it>
10149 * tabular.[Ch]: better support for longtabular options (not finished
10152 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10154 * text.C (paintLastRow): use the label font instead of the font of
10155 the last character to compute the size of *_BOX. This makes more
10156 sense and avoids a crash with empty paragraphs.
10157 Use Painter::rectangle to draw EMPTY_BOX.
10159 2001-12-19 Juergen Vigna <jug@sad.it>
10161 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10162 the paragraphs if the replaced paragraph is not the first one!
10163 Tried to delete not used paragraphs but does not work yet so for
10164 now it's inside #ifdef's and by default off!
10166 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10168 * MenuBackend.C: include "lyx_main.h" instead of declaring
10169 lastfiles (actually was declared as LastFiles* instead of a
10172 2001-12-17 Juergen Vigna <jug@sad.it>
10174 * tabular.C (AppendColumn): applied John's fix
10176 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10180 * BufferView_pimpl.h:
10181 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10184 * box.h: new start of class for above
10186 * lyxfunc.C: ignore space-only minibuffer dispatches.
10187 Show the command name when it doesn't exist
10189 * minibuffer.C: don't add empty lines to the history
10191 * minibuffer.C: add a space on dropdown completion
10193 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10195 * text.C: fix line above/below drawing in insets
10197 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10199 * lyxlength.C (LyXLength): Initialize private variables.
10201 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10203 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10204 when inserting error insets.
10206 2001-12-13 Juergen Vigna <jug@sad.it>
10208 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10209 actually sometimes the before-paragraph.
10210 (setUndo): don't clear the redostack if we're not actually undoing!
10212 2001-12-06 Juergen Vigna <jug@sad.it>
10214 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10215 and fixed redoing of main paragraph, so we can use it now ;)
10217 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10219 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10221 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10224 2001-12-13 André Pönitz <poenitz@gmx.net>
10227 * undo_func.C: minor cleanup
10229 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10231 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10232 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10233 font in urw-fonts package which is marked as -urw-fontspecific and
10234 does not work (incidentally, changing the encoding in the
10235 fonts.dir of this package to -adobe-fontspecific fixes the
10238 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10239 is a crash when undoing first paragraph (Juergen, please take a
10240 look). THis does not mean the undo fix is wrong, just that it
10243 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10244 the (Paragraph*) version when needed instead of duplicating the
10247 * text.C (workWidth): use Inset::parOwner to find out where the
10248 inset has been inserted. This is a huge performance gain for large
10249 documents with lots of insets. If Inset::parOwner is not set, fall
10250 back on the brute force method
10252 * paragraph_pimpl.C (insertInset):
10253 * paragraph.C (Paragraph):
10254 (cutIntoMinibuffer): set parOwner of insets when
10255 inserting/removing them
10257 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10259 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10265 * mathed/formulabase.C:
10266 * mathed/math_cursor.[Ch]:
10267 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10270 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10272 * lyxlength.[Ch] (operator!=): new function
10274 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10276 * text.C (workWidth): use Inset::parOwner to find out where the
10277 inset has been inserted. This is a huge performance gain for large
10278 documents with lots of insets. If Inset::parOwner is not set, fall
10279 back on the brute force method
10281 * paragraph_pimpl.C (insertInset):
10282 * paragraph.C (Paragraph):
10283 (cutIntoMinibuffer): set parOwner of insets when
10284 inserting/removing them
10286 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10288 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10290 * tabular-old.C (getTokenValue):
10291 * tabular.C (getTokenValue):
10292 (write_attribute): new versions for LyXLength
10293 (everywhere): adjust the use of widths
10295 * tabular.h: change the type of widths from string to LyXLength
10297 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10299 * paragraph.C: fixed missing line number count when exporting
10300 Environments to LaTeX file
10302 * buffer.C: added informational message for checking line numbers.
10304 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10306 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10307 paragraph, do the 'double space' part, but not the 'empty
10310 * text.C (workWidth): small optimization
10311 (getLengthMarkerHeight): use minimal size for negative lengths.
10313 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10315 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10317 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10319 2001-12-11 André Pönitz <poenitz@gmx.net>
10322 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10324 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10326 * text2.C: keep selection on a setFont()
10328 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10330 * lyx_cb.C: another bv->text misuse, from insert label
10332 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10335 * kbsequence.C: re-instate nmodifier mask
10337 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10339 * lyx_main.h: make lyxGUI private.
10341 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10343 * lyxfind.C: place the cursor correctly on failed search
10345 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10347 * text.C (getLengthMarkerHeight): for small heights, the arrows
10348 are not always on top/bottom of the text
10349 (drawLengthMarker): smaller arrows; take the left margin in
10350 account; draw also vfills.
10352 (paintLastRow): remove special code for vfill and standard spaces,
10353 since everything is handled in drawLengthMarker now.
10355 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10357 * buffer.C (insertErtContents): try to handle font and language
10358 interaction a bit better.g
10360 * ColorHandler.C (updateColor): change the hash to cover the whole
10361 LColor enum, ws cleanup
10362 (getGCLinepars): ditto
10363 (getGCLinepars): only lookup in the linecache once.
10365 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10367 * iterators.C (operator++): Make the iterator more robust
10369 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10371 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10373 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10376 * text.C: better added space drawing
10378 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10381 * BufferView2.C: fix layout combo update on inset unlock
10383 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10385 * Makefile.am: don't compile unused files
10387 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10391 * LyXAction.C: remove old LFUN_LAYOUTNO
10393 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10395 * paragraph_pimpl.h:
10396 * paragraph_pimpl.C: isTextAt() doesn't need font param
10398 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10401 * lyxlex.C: little cleanup
10403 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10405 * BufferView_pimpl.C: fix insertAscii for insets
10407 2001-12-05 Juergen Vigna <jug@sad.it>
10409 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10410 set the right font on the "multi" paragraph paste!
10412 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10418 * lyxlength.C: remove out-commented code.
10420 * BufferView_pimpl:
10434 * vc-backend.C: change "while(" to "while ("
10436 * lyxlength.[Ch]: add zero function to check if length is zero or
10438 * lyxgluelength.C: use it
10440 2001-12-05 Allan Rae <rae@lyx.org>
10442 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10443 Works for 2.95.3, from what I understand of Garst's reports this should
10444 work for other g++ versions. We're screwed if the abs(int) definition
10445 changed between bugfix releases of gcc.
10447 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10449 * text.C: fix chapter label offset !
10451 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10454 * text.C: fix hfill at end of line, clean up
10456 2001-12-04 Juergen Vigna <jug@sad.it>
10458 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10459 that we force an update of the inset and it's owners if neccessary.
10461 2001-12-03 Juergen Vigna <jug@sad.it>
10463 * text.C (rowLast): simplified code
10465 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10467 * lyxfunc.C: fix show options on timeout
10469 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10471 * screen.C (topCursorVisible): scroll half a page when the cursor
10472 reached top of bottom of screen
10474 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10476 * minibuffer.C: deactivate on loss of focus
10478 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10480 * vspace.[Ch] (operator!=): add operator.
10482 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10484 * BufferView_pimpl.C: refuse to open an inset when
10485 there's a selection.
10487 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10489 * BufferView_pimpl.C: allow to click on RHS of full row insets
10491 2001-11-30 Juergen Vigna <jug@sad.it>
10493 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10494 insets for undo reasons.
10496 2001-11-28 André Pönitz <poenitz@gmx.net>
10498 * vspace.[Ch]: cosmetical changes
10500 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10510 * kbsequence.C: part re-write of old kb code
10513 * WorkArea.C: remove Lgb_bug_find_hack
10515 2001-11-30 José Matos <jamatos@fep.up.pt>
10517 * buffer.C (makeDocBookFile): add a comment to point a hack.
10518 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10519 Fixed a double write of labels.
10521 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10524 * LaTeX.h Fixed bug in LaTeX class where it would not
10525 re-run latex if no depfiles were changed, but the .dvi was removed.
10527 2001-11-28 André Pönitz <poenitz@gmx.net>
10529 * all the files from the change on 2001/11/26:
10530 use lyx::layout_type instead of LyXTextClass::size_type
10531 use lyx::textclass_type instead of LyXTextClassList::size_type
10533 2001-11-29 Juergen Vigna <jug@sad.it>
10535 * text.C: added support for paragraph::isFreeSpacing()
10537 * buffer.C: same as above
10539 * paragraph.h: inserted isFreeSpacing() function to enable
10540 FreeSpacing inside InsetERT.
10542 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10543 of the paragraph's in the cut/copy buffer to 0!
10545 * text2.C (removeRow): remove the assert as it can!
10547 * lyxtext.h: added helper function firstRow returning firstrow and
10548 made firstrow private again.
10550 * BufferView2.C (lockInset): don't relock if we're already locked!
10552 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10553 the only paragraph.
10554 (removeRow): added Assert::(firstrow)
10556 * debug.C: forgot to add INSETTEXT here.
10558 2001-11-28 Juergen Vigna <jug@sad.it>
10560 * sp_spell.C (initialize): changed error text to more general
10561 spellchecker command use (not only ispell!)
10563 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10565 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10567 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10569 * vspace.C: initialise lyxgluelength on failure
10571 2001-11-28 Allan Rae <rae@lyx.org>
10573 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10574 declaration & definition that looks like a function declaration.
10576 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10578 * BufferView2.C (copy):
10579 (copyEnvironment): do not clear the selection when doing a copy.
10581 * text.C (paintFirstRow): compilation fix
10583 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10585 * tabular.C (Latex): correct line count when writing latex.
10587 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10589 * paragraph_pimpl.h:
10590 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10593 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10597 * LColor.C: change vfillline->added_space
10599 * text.C: add markers and text for added space
10601 * vspace.C: fix comment
10603 2001-11-28 André Pönitz <poenitz@gmx.net>
10605 * paragraph.C: whitespace changes
10606 * all the other files from the change on 2001/11/26:
10607 change *::pos_type into lyx::pos_type
10609 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10611 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10612 language of the document when inserting error insets.
10614 2001-11-26 André Pönitz <poenitz@gmx.net>
10616 * BufferView_pimpl.[Ch]:
10624 * paragraph_pimpl.[Ch]:
10627 * text2.C: reduce header dependencies, introduce type for positions
10629 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10631 * <various>: change to use Alert.h
10633 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10635 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10636 when encountering an unknown token.
10637 (readLyXformat2): Show an error message if there were unknown tokens.
10639 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10642 * BufferView_pimpl.C:
10646 * text2.C: use par->isInset()
10648 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10650 * paragraph_pimpl.h:
10651 * paragraph_pimpl.C: cleanup
10653 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10655 * text2.C (removeRow):
10656 * text.C (setHeightOfRow): remove useless (and costly) call to
10659 2001-11-20 Allan Rae <rae@lyx.org>
10661 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10662 Now need Inset*::checkInsertChar() to return true for appropriate
10663 cases so that the characters in the minibuffer will actually be
10666 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10668 * text.C: change the order of the includes.
10669 (workWidth): initialize it at once.
10670 (workWidth): make maxw unsigned
10671 (setHeightOfRow): remove unused variable (inset)
10672 (selectSelectedWord): remove unused variable (inset)
10673 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10675 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10677 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10678 server is not running.
10680 (closeConnection): add debug info when server is disabled.
10682 * ColorHandler.C (getGCForeground): send debug message to GUI
10685 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10687 * kbmap.C (bind): modify because return conventions of
10688 kb_sequence::parse have changed.
10690 * kbsequence.C (parse): only ignore spaces and not any stupid
10691 control character. This avoids tests like s[i] <= ' ', which are
10692 guaranteed to fail with 8bit characters and signed chars.
10693 Change return code to string::npos when there have been no error
10694 (0 was a bad idea when error is at first character)
10696 2001-11-14 José Matos <jamatos@fep.up.pt>
10699 * buffer.C (simpleDocBookOnePar): removed unused argument.
10701 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10703 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10704 insets which are part of a word. Paragraph::isLetter takes care of
10705 that now. Use Paragraph::isInset to identify insets.
10706 (selectSelectedWord): do not test for hyphenation break.
10708 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10709 that protected spaces are considered as spaces.
10711 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10714 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10717 * lyxserver.C: fix it. and small cleanup.
10719 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10721 * BufferView_pimpl.C: use inline helpers
10724 * LaTeXFeatures.C: fix typos
10727 * Spacing.C: move spacing_string into class
10729 * ToolbarDefaults.C: move stuff into namespace anon
10731 * layout.h: update enum
10733 * lyxfunc.C: use better debug
10735 * minibuffer.h: fix typo
10739 * WorkArea.C: add and use Debug::WORKAREA
10743 * text2.C: code re-organisation, inline helpers
10745 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10747 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10748 std::vector.empty().
10750 2001-11-09 Allan Rae <rae@lyx.org>
10752 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10753 '\n's after tables. Tabular and ERT inset work now makes this no
10756 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10759 * minibuffer.C: fix crash, improve drop-down completion
10761 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10764 * lyxserver.C: invalidate fd's when doing endPipe()
10766 2001-11-08 José Matos <jamatos@fep.up.pt>
10768 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10769 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10772 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10774 2001-11-07 José Matos <jamatos@fep.up.pt>
10777 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10780 * buffer.C (sgmlOpenTag):
10781 * buffer.C (sgmlCloseTag): removed debug info.
10783 * buffer.h (sgmlOpenTag):
10784 * buffer.h (sgmlCloseTag): made public.
10786 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10788 * buffer.C (saveParamsAsDefaults):
10789 * lyx_cb.C (MenuLayoutSave): remove
10791 * LyXAction.C (init):
10793 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10795 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10797 * buffer.C (setPaperStuff): removed from here...
10799 * bufferparams.C (setPaperStuff): ... and moved there.
10801 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10805 * XFormsView.C: add support for drop-down completion
10807 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10809 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10812 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10814 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10817 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10819 * lyx_main.C: change ref to known bugs
10821 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10823 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10824 to work around older babel problems.
10826 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10828 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10830 2001-10-24 Juergen Vigna <jug@sad.it>
10832 * tabular-old.C (ReadOld): below variable changes reflected.
10834 * tabular.[Ch]: added ltType struct for longtable header/footer
10835 defines and changed all instances where they are used. Added
10836 future support for double top/bottom rows.
10838 2001-10-24 José Matos <jamatos@fep.up.pt>
10840 * buffer.h (docbookHandleCaption):
10841 * buffer.C (docbookHandleCaption): removed unused function.
10842 (makeDocBookFile): moved docbook supported version to v4.1.
10844 2001-10-24 José Matos <jamatos@fep.up.pt>
10847 * tabular.C (docbookRow): new function to export docbook code of a row.
10848 (DocBook): now honors the longtable flags.
10850 2001-10-23 José Matos <jamatos@fep.up.pt>
10853 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10854 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10856 * buffer.C (makeLinuxDocFile):
10857 (makeDocBookFile): reworked the preamble, more clean, and with
10858 support for lyx defined entities. Changed the document declaration
10859 to be more XML friendly.
10861 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10862 if we need to output XML that should be done with a filter.
10864 2001-10-22 Juergen Vigna <jug@sad.it>
10866 * sp_pspell.h (class PSpell): add alive function needed in the
10867 controller to see if the spellchecker could be started.
10869 2001-10-22 Juergen Vigna <jug@sad.it>
10871 * buffer.C (insertStringAsLines): modify the font for inserting
10872 chars in certain conditions by calling checkInsertChar(font).
10874 2001-10-19 Juergen Vigna <jug@sad.it>
10876 * text.C (workWidth): use getRow instead of wrong algorithm.
10877 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10879 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10884 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10886 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10888 * text.C (workWidth): do not search for the exact row when
10889 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10890 optimization for big documents.
10892 2001-10-18 Juergen Vigna <jug@sad.it>
10894 * text.C (workWidth): new function with added Inset * parameter.
10896 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10898 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10900 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10901 change return type of getColumnNearX.
10904 * text.C (changeRegionCase): use uppercase/lowercase instead of
10907 (rightMargin): simplify code by factoring out the uses of
10912 (appendParagraph): use Paragraph::size_type
10914 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10916 * vspace.C (asLatexString): add a missing break
10918 2001-10-15 Herbert Voss <voss@perce.de>
10920 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10922 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10924 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10927 2001-10-10 André Pönitz <poenitz@gmx.net>
10929 * lyxfunc.C: removed greek_kb_flag.
10931 2001-10-10 Herbert Voss <voss@perce.de>
10933 * lyx_main.C: delete global string help_lyxdir.
10935 2001-10-09 Herbert Voss <voss@perce.de>
10937 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10939 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10941 * lyx_main.C: added global string help_lyxdir.
10943 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10945 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10947 * lyxrc.C (set_font_norm_type): support iso8859-4
10949 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10951 * LaTeX.C (deplog): add another regex for MikTeX
10953 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10955 * lyxrc.C (set_font_norm_type): support iso8859-3
10957 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10959 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10961 * LaTeXFeatures.C: remove special case of french and index
10963 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10964 before \begin{document}). This solves several incompatibilities.
10966 2001-10-03 Garst Reese <reese@isn.net>
10968 * lyx_cb.C: change CheckTex error msg.
10970 2001-10-03 José Matos <jamatos@fep.up.pt>
10972 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10974 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10976 * .cvsignore: update
10978 * lyx_main.C (commandLineVersionInfo): use new style version info.
10980 * buffer.C (writeFile):
10982 (makeLinuxDocFile):
10983 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10985 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10987 * version.h: update to use stuff in version.C
10989 * version.C.in: new file. Contains version information determined
10990 at compile time. This is a merging of version.h and
10993 2001-10-03 Juergen Vigna <jug@sad.it>
10995 * BufferView_pimpl.C (update): don't change "dirty" status in
10998 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11000 * WorkArea.C (c-tor): re-position version string slightly.
11002 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11004 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11005 revert to previous code.
11007 WorkArea.[Ch]: (show, destroySplash): methods removed.
11009 WorkArea.C: rework code so that it's an amalgam of the codes before and
11010 after the splash screen was moved to WorkArea.
11012 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11015 * vspace.C (inPixels):
11018 * buffer.C (insertStringAsLines):
11019 (asciiParagraph): fix types to be large enough
11021 * lyxlex_pimpl.h: change member status from short to int
11023 * layout.h: fix type of endlabeltype
11026 * kbsequence.C (parse): change return type to string::size_type
11028 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11031 * Bullet.C (bulletSize):
11032 (bulletEntry): do not use short ints as parameters
11034 * BufferView2.C (insertLyXFile): change a char to an int.
11036 * WorkArea.C (WorkArea): remove unneeded floats in computation
11038 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11040 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11042 * paragraph.C (asString): Do not ignore newline/hfill chars when
11043 copying to the clipboard.
11045 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11047 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11048 after a multi-line inset.
11050 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11052 * paragraph.C (validate): Set NeedLyXFootnoteCode
11054 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11056 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11057 and decrease-error to decrease.
11059 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11061 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11062 it more readable (should be equivalent)
11064 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11066 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11068 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11070 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11071 of a cursor (row, etc.) after a character has been deleted
11072 (deleteEmptyParagraphMechanism): call the method above on _all_
11073 cursors held by the LyXText when a double space has been
11076 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11078 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11080 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11082 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11083 background. Use greyOut() and the new show() methods to toggle between
11084 the foreground and background. Add code to remove the splash after
11085 its initial showing.
11087 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11088 (create_forms): no longer call Dialogs::showSplash.
11090 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11092 * .cvsignore: add version_info.h
11094 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11096 * version_info.h.in: new file
11098 * Makefile.am: add version_info.h.in
11100 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11101 version_info.h instead of VERSION_INFO
11103 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11105 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11106 The ERT inset now returns string().
11108 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11110 * lyxtext.h, text.C (selectNextWord): renamed as
11111 selectNextWordToSpellcheck.
11113 * text.C (selectNextWordToSpellcheck): Modified to not select
11114 words inside an ERT inset.
11116 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11118 * lyx_cb.C (MenuLayoutSave): change a bit the question
11120 * sp_base.h: include <sys/types.h>
11122 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11124 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11126 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11128 * several files: fix typos in user-visible strings
11130 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11132 * text2.C (pasteSelection): do not set the selection, since it
11133 will be cleared later. Actually, the intent was to fix the way the
11134 selection was set, but I figured rmoving the code was just as good.
11136 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11138 * FontLoader.C (available): Check if font is available without
11141 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11143 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11145 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11147 * lyxrc.[Ch]: added display_graphics variable and associated code.
11149 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11151 * bufferparams.C (hasClassDefaults): new method. Returns true if
11152 the buffer parameters correspond to known class defaults
11154 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11156 * XFormsView.C (show): set minimum size to the main window.
11158 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11160 * text2.C (copySelection):
11162 * lyxfind.C (LyXReplace):
11163 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11164 LyXText::selectionAsString.
11166 * paragraph.C (asString): add "label" argument to the second form
11168 * text2.C (selectionAsString): add "label" argument and pass it to
11169 Paragraph::asString.
11171 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11173 * lyx_main.C (commandLineHelp): remove version information
11175 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11177 * lyx_main.C: add -version commandline option
11179 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11181 * paragraph.h: make the optional constructor arg required instead.
11182 some modifications to other files because of this.
11184 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11186 * lyxserver.C (C_LyXComm_callback): make it static
11188 * lyx_main.C (error_handler): make it static
11190 * lyx_gui.C (LyX_XErrHandler): make it static
11192 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11194 * WorkArea.C: make the extern "C" methods static.
11196 * Makefile.am (lyx_LDADD): simplify
11198 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11200 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11201 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11203 * LyXAction.C (init):
11204 * lyxfunc.C (dispatch): associated code removal.
11206 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11208 * lyxfont.h (isSymbolFont): shut off warning
11210 * text.C (setHeightOfRow):
11211 (getVisibleRow): fix crash with empty paragraphs which have a
11214 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11216 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11219 2001-09-04 José Matos <jamatos@fep.up.pt>
11222 * tabular.C (docbook): rename docBook method to docbook.
11224 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11226 * Makefile.am: add dependencies to main.o.
11228 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11230 * FontLoader.C (available): Return false if !lyxrc.use_gui
11232 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11234 * FontInfo.C (query):
11235 * converter.C (view):
11236 * importer.C (Import):
11237 * exporter.C (Export): Can not -> cannot.
11239 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11241 * BufferView_pimpl.C: allow to create index inset even if
11244 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11246 * buffer.C (getLists): replace boost::tie code with an explicit pair
11247 as boost::tie can break some compilers.
11249 * iterators.h: Added a std:: declaration to the return type of
11252 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11254 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11257 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11259 * iterators.[Ch]: New files. Provide paragraph iterators.
11261 * buffer.C (changeLanguage): Use paragraph iterators.
11262 (isMultiLingual): ditto
11264 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11266 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11268 * FontLoader.C: Support for cmr font.
11270 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11272 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11273 (available): New method.
11275 * FontInfo.C (getFontname): Use scalable fonts even when
11276 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11279 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11281 * converter.C (Formats::view): reverted! Incorrect fix.
11283 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11285 * converter.C (Formats::view): only output the -paper option
11286 if the dvi viewer is xdvi, thereby fixing bug #233429.
11288 2001-08-23 Herbert Voss <voss@perce>
11290 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11292 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11294 * Spacing.h (Spacing): Set space to Default on in the default
11297 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11299 * vc-backend.h (RCS::versionString): add RCS to version
11300 (CVS::versionString): add CVS to version
11302 * vc-backend.C (scanMaster): do not add CVS to version.
11303 (scanMaster): do not add RCS to version
11305 * lyxvc.C (versionString): new method
11307 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11309 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11311 * Spacing.C (set): initialize fval
11313 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11315 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11318 2001-08-16 Juergen Vigna <jug@sad.it>
11320 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11322 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11324 * BufferView_pimpl.C:
11327 * text2.C: setParagraph takes linespacing now
11329 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11331 * LyxAction.C: add internal LFUN_CITATION_INSERT
11333 * LyXView.C: actually apply fix
11335 * bufferlist.C: fix open non-existent file
11337 * lyxfind.C: fix indentation
11339 * lyxfunc.C: remove unneeded assert, fix typo
11341 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11343 * MenuBackend.C: use "Floatname List"
11345 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11347 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11348 when converting LaTeX layout to insetERT.
11349 Generate a non-collapsed float when reading old float
11351 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11353 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11356 2001-08-13 Juergen Vigna <jug@sad.it>
11358 * text.C (fill): return 0 instead of 20 as this seems to be the more
11361 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11363 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11366 2001-08-13 Juergen Vigna <jug@sad.it>
11368 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11370 (SearchBackward): comment out the unlocking of the inset_owner this
11371 should not be needed!
11373 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11375 * Many files: Remove inherit_language, and add latex_language
11377 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11378 collapsible insets.
11380 2001-08-10 Juergen Vigna <jug@sad.it>
11382 * text.C (prepareToPrint): fixed hfill-width in draw!
11384 * BufferView2.C (selectLastWord): save the selection cursor as this
11385 now is cleared in the function LyXText::clearSelection!
11387 2001-08-08 Juergen Vigna <jug@sad.it>
11389 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11390 BACKSPACE type functions.
11392 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11393 is only cutted from the document but not put in the cut-buffer, where
11394 still the old stuff should be.
11396 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11398 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11400 * tabular.C (SetWidthOfCell): fixed special case where the width
11402 (LeftLine): handle '|' in align_special.
11404 (LeftAlreadyDrawed): ditto
11405 (SetWidthOfCell): ditto
11407 2001-08-07 Juergen Vigna <jug@sad.it>
11409 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11411 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11413 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11414 * lyxlex.[hC]: ditto
11416 2001-08-06 Juergen Vigna <jug@sad.it>
11418 * text.C (getVisibleRow): fix up row clearing a bit.
11420 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11422 * minibuffer.C: make sure the X server sees the changes in the input.
11424 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11426 * paragraph.C (getFont): split into...
11427 (getLabelFont): this
11428 (getLayoutFont): and this
11429 * paragraph_pimpl.C (realizeFont): calling this
11431 * text2.C (getFont): split into...
11432 (getLayoutFont): this
11433 (getLabelFont): and this
11434 (realizeFont): all three calling this
11436 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11439 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11441 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11443 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11445 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11446 layouts from the Quote inset insertion.
11448 2001-08-03 Juergen Vigna <jug@sad.it>
11450 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11452 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11453 only if status not is already CHANGED_IN_DRAW (second level).
11455 * text.C (draw): don't set the need_break_row when inside an
11458 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11460 * buffer.C (parseSingleLyXformat2Token): handle more latex
11463 * bufferview_funcs.[hC]: change function names to
11464 begin with small char, adjust other files.
11466 2001-08-02 André Pönitz <poenitz@gmx.net>
11469 BufferView_pimpl.C: remove broken special code for math-greek
11471 2001-08-02 Juergen Vigna <jug@sad.it>
11473 * BufferView_pimpl.C (update): redone this function so that we
11474 update the text again if there was a CHANGE_IN_DRAW.
11476 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11477 (drawFromTo): added a new internal bool which is used by draw() and
11479 (general): some cursor drawing problems fixed.
11481 2001-08-01 Juergen Vigna <jug@sad.it>
11483 * lyxfind.C (LyXFind): fixed
11484 (SearchForward): ditto
11485 (SearchBackward): ditto
11487 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11488 spurius drawing of the cursor in the main area.
11490 * text2.C (status): small fix which could lead to a segfault!
11491 (clearSelection): remove unneeded BufferView param.
11493 2001-08-01 André Pönitz <poenitz@gmx.net>
11495 * lyxfunc.C: small change due to changed mathed interface
11497 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11499 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11501 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11503 * lyxfunc.c: fail gracefully if file doesn't exist
11508 * BufferView_pimpl.C: IsDirWriteable() proto changed
11510 * LyXView.C: fix updateWindowTitle() to store the last title
11512 2001-07-31 Juergen Vigna <jug@sad.it>
11514 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11515 the font (wrong since using of Paragraph::highestFontInRange).
11517 * paragraph.C (highestFontInRange): added a default_size parameter.
11519 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11520 (setHeightOfRow): reformat
11522 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11524 * converter.[hC] + affected files: move to (inital-char)lowercase
11527 * ParagraphParameters.C (ParagraphParameters): remove commented code
11529 * PainterBase.[Ch]: remove commented code
11531 * LaTeXFeatures.h: add "bool floats" for float.sty
11533 * LaTeXFeatures.C (LaTeXFeatures): init floats
11534 (require): handle float
11535 (getPackages): do it with floats
11537 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11539 * BufferView_pimpl.C (Dispatch): improve handling of
11540 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11542 * commandtags.h: #include lyxfont.h here temporarily to avoid
11545 * bufferlist.h: include LString.h here.
11547 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11549 * text2.C (getStringToIndex): new method.
11551 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11553 * *: Reduced header file dependencies all over.
11555 2001-07-30 Baruch Even <baruch@lyx.org>
11557 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11559 2001-07-29 Baruch Even <baruch@lyx.org>
11561 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11563 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11565 * ParameterStruct.h (endif): add a default constructor to make
11566 sure that all variables is initialized.
11568 * ParagraphParameters.C (ParagraphParameters): adjust
11570 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11572 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11573 index; also, check that there is something to index, and that it
11574 does not span over several paragraphs.
11575 (doubleClick): use WHOLE_WORD_STRICT for double click.
11577 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11579 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11582 2001-07-26 Baruch Even <baruch@lyx.org>
11584 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11585 an InsetFig figure, backwards compatible reading of old figure code.
11587 2001-07-27 Juergen Vigna <jug@sad.it>
11589 * text2.C: font.realize function adaption.
11591 * text.C (draw): add a warnings lyxerr text if needed.
11593 * layout.C: font.realize function adaption.
11595 * language.C: add inherit_language and implement it's handlings
11597 * bufferview_funcs.C (StyleReset): remove language parameter from
11598 font creation (should be language_inherit now).
11600 * bufferparams.C (writeFile): handle ignore_language.
11602 * paragraph.C (getFontSettings): the language has to be resolved
11603 otherwise we have problems in LyXFont!
11605 * lyxfont.C (lyxWriteChanges): added document_language parameter
11606 (update): removed unneeded language parameter
11608 * paragraph.C (validate): fixed wrong output of color-package when
11609 using interface colors for certain fonts in certain environments,
11610 which should not seen as that on the final output.
11612 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11614 * BufferView_pimpl.C:
11619 * LyXAction.C: add thesaurus support
11622 * lyxfind.C: add "once" parameter, for thesaurus, to not
11623 move to the next match
11625 2001-07-26 Juergen Vigna <jug@sad.it>
11627 * lyxfont.C (realize): honor ignore_language too!
11630 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11632 * text.C (draw): one place more for ignore_language to not draw
11635 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11637 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11639 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11641 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11642 the minipage conversion problem.
11644 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11646 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11649 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11651 * BufferView.h: don't forward declare WorkArea
11653 * BufferView.C: don't include WorkArea.h
11655 2001-07-25 André Pönitz <poenitz@gmx.net>
11659 * lyxfunc.C: new LFUN 'math-space'
11661 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11663 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11665 * text2.C (toggleInset): call open/close
11667 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11669 * lyxfunc.C (dispatch): add debug for the disabled case
11671 * font.C (buttonText): make similar to rectText
11673 * buffer.C (readInset): comment out parsing of insetlist and
11676 * PainterBase.C (rectText): small correction
11678 * BufferView_pimpl.C: comment out insettheorem and insetlist
11679 * LyXAction.C: ditto
11680 * commandtags.h: ditto
11682 2001-07-24 Juergen Vigna <jug@sad.it>
11684 * text.C (draw): honor the ignore_language.
11686 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11688 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11690 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11693 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11695 * lyxtext.h: remove unused (and unimplemented) methods
11697 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11699 * text.C (getVisibleRow): honor background color
11702 * Painter.h: remove default color argument for fillRectangle
11704 * text.C (backgroundColor): new method
11706 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11708 * text.C (getVisibleRow): adjust
11710 * font.[Ch] (rectText): new method, metrics
11711 (buttonText): new method, metrics
11713 * PainterBase.[hC]: make rectText and buttonText always draw and take
11716 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11718 * ToolbarDefaults.C (read):
11719 * MenuBackend.C (read): allow escaping in all strings
11721 * BufferView_pimpl.C (insertAndEditInset): new method.
11722 (Dispatch): use insertAndEditInset whenever appropriate.
11724 * BufferView_pimpl.C (insertNote): removed
11726 * BufferView_pimpl.C (smartQuote): new method, moved from
11727 BufferView; if an insetquote cannot be inserted, insert a '"'
11730 * BufferView2.C: remove insertCorrectQuote();
11732 * lyxfunc.C (getStatus): Add support for all remaingin
11733 inset-insert lfuns.
11735 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11737 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11738 command (necessary to pass " as parameter of self-insert.
11740 * text.C (selectWordWhenUnderCursor):
11741 (selectWord): add word_location parameter
11742 (selectWordWhenUnderCursor): same + remove special code for word
11744 (selectNextWord): use kind() to guess type of insetspecialchar,
11747 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11748 (insertErtContents): create ert insets as collapsed.
11749 (readInset): better compatibility code for Info inset.
11751 2001-07-20 Juergen Vigna <jug@sad.it>
11753 * lyxfunc.C (dispatch): use always LyXFind now!
11755 * text2.C (init): add a reinit flag so that the LyXText can be
11756 reinited instead of deleted and reallocated (used in InsetText).
11758 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11764 2001-07-18 Juergen Vigna <jug@sad.it>
11766 * text.C (selectNextWord): handle insets inside inset by calling
11767 always the bv->text functions so that we can go up the_locking_inset!
11769 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11770 in strange locations when inside an inset!
11772 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11773 handling to include insets.
11775 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11777 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11779 * LyXAction.C (init):
11781 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11782 LIGATURE_BREAK, since the name is so stupid.
11784 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11786 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11789 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11791 * sp_form.[Ch]: remove.
11793 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11795 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11798 * src/buffer.C (readInset): ditto.
11800 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11802 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11803 menuSeparator(), endOfSentenceDot(), ldots() and
11804 hyphenationPoint(), which are therefore removed.
11805 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11807 * LyXAction.C (init):
11808 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11810 * paragraph.C (getWord): removed.
11812 * BufferView_pimpl.C (Dispatch): use last word or selection for
11813 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11815 * lyx_main.C (queryUserLyXDir): do not ask before creating
11816 user_dir, except if it has been named explicitely.
11818 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11820 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11821 a document of zero size.
11823 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11825 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11826 approriately in the c-tor and in require().
11827 (getPackages): output the appropriate LaTeX for natbib support.
11829 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11830 variables "use_natbib" and "use_numerical_citations" when reading the
11832 (readInset): read the various natbib cite commands.
11833 (validate): white-space change.
11835 * bufferparams.[Ch]: new variables "bool use_natbib" and
11836 "bool use_numerical_citations".
11837 (writeFile): output them in the LyX file.
11839 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11841 * lyxfunc.C (getStatus): add support for all the inset insertion
11844 * text2.C (insertInset):
11845 * paragraph.C (insetAllowed):
11846 * BufferView_pimpl.C (insertInset): update to take in account the
11847 renaming of insertInsetAllowed
11849 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11851 * text2.C (getInset): new method. returns inset at cursor position.
11853 * BufferView_pimpl.C (Dispatch): changes because of this.
11855 * LyXAction.C (init): rename open-stuff to inset-toggle.
11857 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11859 * text2.C (toggleInset): renamed from openStuff; use
11862 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11864 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11866 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11868 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11870 * buffer.C (readLyXformat2): Add filename to the error dialog
11872 2001-07-18 Juergen Vigna <jug@sad.it>
11874 * tabular.C (GetCellNumber): put an assert here instead of the check!
11876 2001-07-17 Juergen Vigna <jug@sad.it>
11878 * BufferView_pimpl.C (toggleSelection): adapted too.
11880 * text.C (selectNextWord): adapted for use with insets.
11881 (selectSelectedWord): ditto
11883 2001-07-17 Juergen Vigna <jug@sad.it>
11885 * sp_spell.C (PSpell): fix initialitation order.
11887 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11889 * paragraph.C: spacing
11891 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11893 * sp_spell.C: repair language selection for pspell
11895 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11897 * lyxfunc.h: change more methods to begin with lower char.
11899 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11901 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11902 for unknown layouts.
11904 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11906 * buffer.C (readLyXformat2): Generate an error dialog if there are
11909 2001-07-16 Juergen Vigna <jug@sad.it>
11911 * sp_spell.C: always compile ISpell part.
11913 * lyxrc.C: added use_pspell entry and it's handling.
11915 2001-07-13 Juergen Vigna <jug@sad.it>
11917 * sp_spell.C: removed double includes.
11919 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11921 Consistent use of Lsstream.h:
11922 * Lsstream.h: added using std::stringstream for consistencies sake.
11924 * buffer.C: removed using std::stringstream
11926 * lyxfont.C (stateText):
11927 * paragraph.C (asString):
11928 * text.C (selectNextWord, selectSelectedWord):
11929 * text2.C (setCounter):
11930 * vspace.C (asString, asLatexString):
11931 std::ostringstream -> ostringstream.
11933 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11935 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11936 * commandtags.h: add LFUN_HELP_ABOUTLYX
11937 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11939 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11941 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11943 * lyx_gui_misc.C: remove spellchecker
11944 * lyxfunc.C: showSpellchecker
11946 * sp_ispell.h: added
11947 * sp_pspell.h: added
11948 * sp_spell.C: added
11949 * sp_form.[Ch]: removed
11950 * spellchecker.[Ch]: removed
11952 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11954 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11956 (simpleTeXSpecialChars): Simply print the input character without
11957 any special translation if pass_thru is set.
11959 * layout.h: Added bool pass_thru to layout class for being able to
11960 implement pass through of a paragraph for Literate Programming.
11962 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11963 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11964 * layout.C (Read): add "passthru" to list of layout tags and add
11965 code to set the pass_thru boolean when it is read.
11967 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11969 * trans_decl.h: remove allowed from KmodInfo
11971 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11972 remove allowed code
11975 * paragraph_pimpl.C (erase): use boost::prior
11977 * Painter.C (text): use data() instead of c_str() when length is
11979 * WorkArea.C (putClipboard): ditto
11980 * font.h (width): ditto
11982 * BufferView2.C: use it-> instead of (*it). for iterators
11984 * paragraph_pimpl.C: ditto
11985 * paragraph.C: ditto
11986 * minibuffer.C: ditto
11987 * language.C: ditto
11989 * encoding.C: ditto
11990 * counters.C: ditto
11991 * converter.C: ditto
11993 * Variables.C: ditto
11994 * TextCache.C: ditto
11995 * MenuBackend.C: ditto
11996 * LyXAction.C: ditto
11998 * FloatList.C: ditto
11999 * DepTable.C: ditto
12000 * ColorHandler.C (LyXColorHandler): ditto
12002 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12004 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12006 * text2.C (openStuff): reintroduce this method (which had been
12007 nuked in NEW_INSETS frenzy).
12009 * lyxfunc.C (Dispatch): when an action has not been handled, use
12010 its name in the error message, not its number.
12012 * paragraph.C (inInset): change method name to begin with lowercase.
12015 * text2.C: updates because of this.
12017 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12019 * ToolbarDefaults.C (add): add spaces in error message
12021 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12023 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12024 (readLyXformat2): rename return_par to first_par, use lyxlex's
12025 pushToken and remove the manual push handling.
12026 (parseSingleLyXformat2Token): add another ert comp. variable:
12027 in_tabular, rename return_par to first_par. handle newlines better
12029 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12031 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12033 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12035 * text2.C (getParFromID): removed
12037 * buffer.C (getParFromID): new method moved form lyxtext.
12038 * BufferView2.C (insertErrors): adjust
12039 (setCursorFromRow): adjust
12040 * BufferView_pimpl.C (restorePosition): adjust
12041 * lyxfunc.C (Dispatch): adjust
12042 * undo_funcs.C (textUndo): adjust
12044 (textHandleUndo): adjust
12045 (textHandleUndo): adjust
12047 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12049 * buffer.C: up' the LYX_FORMAT
12051 * lyxfont.h: turn NO_LATEX on as default
12053 * buffer.C (insertErtContents): new methods of tex style compability.
12054 (parseSingleLyXformat2Token): use it several places.
12055 * tabular.C (OldFormatRead): and here
12057 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12059 * text2.C: remove some commented code.
12062 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12063 * trans.C: changes because of the above.
12065 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12067 * text2.C (setCounter): Fix counters bug with bibliography layout.
12069 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12071 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12072 own member functions
12073 (simpleTeXSpecialChars): ditto
12075 2001-07-06 Juergen Vigna <jug@sad.it>
12077 * a lot of files: changed the access to LyXText::status and the
12078 call of undo-functions.
12080 * undo.[Ch]: added a inset_id to the undo informations.
12082 * undo_funcs.[Ch]: added and moved here all undo functions.
12084 * lyxtext.h: give the status enum a weight, made status_ a private
12085 variable and made accessor functions for it, removed the whole bunch
12086 of undo-functions as they are now in their own file, make some
12087 functions publically available. Added function ownerParagraph with
12090 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12091 made InInset() a const function, added getParFromID() function.
12093 * buffer.[Ch]: added const version for inset_iterator functions,
12094 added getInsetFromID() function.
12096 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12097 changed undo functions for new version.
12099 2001-07-05 Juergen Vigna <jug@sad.it>
12101 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12102 unknow mechanism does not call the proper constructor but only this
12103 one also if I request the other!?
12105 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12107 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12109 * text2.C (LyXText): use initialization lists.
12111 * lyxtext.h (Selection): initialize set_ and mark_
12112 (init): remove method
12114 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12116 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12118 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12120 * screen.[Ch]: change method names to begin with lowercase
12122 * BufferView_pimpl.C (updateScrollbar): simplify further and
12123 hopefully make it a bit faster.
12125 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12127 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12128 calling directly xforms functions.
12130 * Painter.C (Painter):
12131 * lyx_cb.C (MenuWrite):
12132 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12135 * lyx_gui.C: remove bogus guiruntime extern declaration.
12137 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12139 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12141 (redoDrawingOfParagraph): ditto
12142 (redoParagraphs): ditto
12143 (cutSelection): don't create a object for CutAndPaste use the
12144 static method directly
12145 (pasteSelection): ditto
12147 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12150 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12152 * modifications to some other files because of this.
12154 * Makefile.am (lyx_SOURCES): add XFormsView
12156 * XFormsView.[Ch]: new files
12158 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12159 the main window. Move the gui dependent stuff to XFormsView
12161 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12163 * tabular.C (GetCellInset): update cur_cell also in the row/col
12164 version of this function.
12166 * lyxfunc.C: no need to include figure_form.h here.
12172 * lyxvc.C: no need to include forms.h here.
12174 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12176 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12178 * lyxfunc.C (Dispatch):
12180 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12181 constructor argument.
12183 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12185 * paragraph.C (Paragraph): dont't clear, and just set layout.
12186 (makeSameLayout): use params's copy contructor.
12188 * ParagraphParameters.[Ch] (makeSame): delete method
12190 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12192 * Variables.[Ch]: fix indentation, rename set to isSet
12194 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12196 * lyxfunc.C (Dispatch): fix typo
12198 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12200 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12203 * bufferlist.C: include assert.h for emergencyWrite().
12205 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12207 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12208 give up at last (bug #425202) !
12210 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12216 * spellchecker.C: strip spellchecker options and bring up
12217 preferences tab instead
12219 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12221 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12222 the istringstream constructor
12224 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12226 * paragraph.C (getLayout): fix return value
12228 * paragraph.h: do not declare getLayout as inline.
12230 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12232 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12234 * lyxcursor.h (operator<): new func
12235 (operator>): new func
12236 (operator>=): new func
12237 (operator<=): new func
12239 * text.C (changeCase): use selection.start and selection.end
12240 (changeRegionCase): require from to be <= to. Require par to be a
12243 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12245 2001-06-27 Juergen Vigna <jug@sad.it>
12247 * text.C (cursorLeftOneWord): changed to return the cursor and added
12248 overlay with BufferView * parameter which calls this one.
12250 (selectWord): use new getWord function.
12251 (changeCase): renamed from changeWordCase as and extended to work
12252 also on selections.
12254 * lyxtext.h: added enum word_location
12256 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12257 changeCase as this operates now also on selections.
12259 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12261 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12263 * many files: send debug output to Debug::INFO instead of
12266 * converter.C (View):
12268 (Move): send debug output to Debug::FILES instead of console.
12270 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12272 * lyxfunc.C (getStatus): use func_status
12274 * func_status.h: new header, describing the results of
12275 LyXFunc::getStatus;
12277 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12280 2001-06-25 The LyX Project <jug@sad.it>
12282 * buffer.C (sgmlOpenTag):
12284 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12286 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12288 * text2.C: remove some dead code
12290 * tabular.C (GetCellInset): store the last cell checked (gotten)
12292 * tabular.h: add the helper for the speedup
12294 * lyxtext.h: remove some dead code
12296 2001-06-26 The LyX Project <Asger>
12298 * paragraph.C: Change export to LaTeX of alignment to
12299 \begin{center} and family for better roundtrip work with reLyX.
12301 * Tune the math drawing a bit.
12303 2001-06-25 The LyX Project <Asger>
12305 * LColor.C (LColor): New color for math background. New color
12308 2001-06-25 The LyX Project <jug@sad.it>
12310 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12312 * lyxfunc.C (Open):
12313 * bufferlist.C (newFile): do not restrict to files ending with
12316 * BufferView_pimpl.C (MenuInsertLyXFile):
12318 2001-06-24 The LyX Project <jug@sad.it>
12320 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12323 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12325 * lyxtext.h: rename most methods to begin with a small char.
12326 Lots of changes because of this.
12328 * paragraph.C (Paragraph): do not call fitToSize
12329 (erase): call Pimpl::erase
12330 (insertChar): call Pimpl::insertChar
12331 (insertInset): call Pipl::insertInset
12332 (breakParagraph): do not call fitToSize
12333 (breakParagraphConservative): do not call fitToSize
12334 (fitToSize): remove method
12336 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12338 2001-06-24 The LyX Project <Asger>
12340 * Fix Qt compilation^2
12342 2001-06-24 The LyX Project <jug@sad.it>
12344 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12345 depthHook(getDepth()-1).
12348 * ParagraphParameters.h:
12349 * ParameterStruct.h: change type of depth to unsigned int ==
12350 depth_type. Many adaptations to other files before of that.
12352 2001-06-24 The LyX Project <Asger>
12354 * Fix Qt compilation.
12356 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12358 * paragraph.h: renamed several methods to begin with small letter.
12359 several changes to many parts of the code because of this.
12361 2001-06-23 The LyX Project <jug@sad.it>
12363 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12364 rewritten to discard all double spaces when KeepEmpty is off
12365 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12366 to only handle newlines but not fiddle with spaces and friends.
12368 * lyxfunc.C (MenuNew): when doing 'new from template', use
12369 template_path as default directory
12371 2001-06-23 The LyX Project <Asger>
12373 * Clean-up of header file includes all over
12374 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12376 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12378 * paragraph.h: renamed from lyxparagraph.h
12380 2001-06-23 Asger <lyx@violet.home.sad.it>
12382 * Buffer.h: Removed Buffer::resize
12383 * BufferList.h: Removed BufferList::resize
12384 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12385 the document lazily when we change the width, or the font settings.
12387 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12389 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12391 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12393 * buffer.h: remove out of date comment
12395 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12398 * screen.C: fix "theoretical" GC leak
12400 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12402 * LaTeX.C (scanAuxFile):
12403 (deplog): remove trailing \r when reading stream (useful under
12406 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12408 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12409 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12410 and BufferView::theLockingInset(Inset*), so should use them and not
12411 access bv_->text->the_locking_inset directly.
12413 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12415 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12418 * tex-defs.h: remove old unused file
12420 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12422 * BufferView_pimpl.C: fix typo, remove minibuffer message
12423 when buffer has loaded
12425 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12427 * lyxfunc.C (Dispatch): use stringstream
12428 (MenuNew): use stringstream
12429 (Open): use stringstream
12431 * importer.C (Import): use stringstream
12433 * bufferview_funcs.C (CurrentState): use stringstream
12435 * LaTeX.C (run): use stringstream
12437 * BufferView_pimpl.C (savePosition): use stringstream
12438 (restorePosition): use stringstream
12439 (MenuInsertLyXFile): use stringstream
12441 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12454 * vspace.C: removed // -*- C++ -*- as first line.
12457 * version.h: added // -*- C++ -*- as first line.
12459 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12461 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12463 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12466 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12468 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12471 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12473 * gettext.C: include LString.h even when --disable-nls is on.
12475 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12477 * converter.h (Get): changed argument type from int to
12478 FormatList::size_type to avoid unnecessary conversion.
12480 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12483 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12485 * gettext.h: include LString.h even when --disable-nls is on.
12487 2001-06-07 Juergen Vigna <jug@sad.it>
12489 * text.C (BreakAgain): subst spaces with tabs.
12491 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12492 (resizeInsetsLyXText): set force on resizeLyXText.
12494 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12496 * gettext.h (gettext_init):
12497 (locale_init): use a real definition instead of a macro
12499 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12501 * Bufferview_pimpl.C:
12503 * LColor.C: further lcolor tidies
12505 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12507 * BufferView_pimpl.C (updateScrollbar): simplify.
12509 * BufferView2.C: don't include insets/insetinfo.h, change
12510 prototype for insertInset and call the Pimpl version. let
12511 updateInset call Pimpl version.
12513 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12514 gotoInset to BufferView::Pimpl
12516 2001-06-01 Juergen Vigna <jug@sad.it>
12518 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12519 inside a LockingInset (is the update needed at all?).
12521 2001-05-31 Juergen Vigna <jug@sad.it>
12523 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12524 here not the old one otherwise how should we compare it afterwards
12527 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12532 * FontInfo.C: bring C functions into global namespace when
12535 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12537 * LString.h: make sure config.h has been loaded before LString.h.
12539 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12540 (one for each char read by EatLine!).
12542 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12545 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12547 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12548 to the same as the par we break from
12550 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12552 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12554 * MenuBackend.C (expand): also create menu entries for wide
12555 versions of the floats.
12557 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12559 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12561 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12562 frontends/Makefile.am
12568 * tabular.C (getTokenValue): add std::
12570 * tabular-old.C (getTokenValue): add std::
12571 (getTokenValue): ditto
12572 (getTokenValue): ditto
12574 * screen.C (ToggleSelection): adjust
12576 * lyxtext.h: put selection cursors inside a Selection struct.
12578 * lyxfunc.C (moveCursorUpdate): adjust
12580 * lyxfont.C (latexWriteStartChanges): add std::
12582 * lyxfind.C: adjust
12584 * font.h: delete with(char const *, LyXFont const &)
12586 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12588 * FontInfo.C (getFontname): add std::
12590 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12591 (workAreaButtonPress): adjust
12592 (tripleClick): adjust
12594 (moveCursorUpdate): adjust
12597 * BufferView2.C (gotoInset): adjust
12599 2001-05-30 Juergen Vigna <jug@sad.it>
12601 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12602 to check pspell I add this as default as I now have new pspell
12603 libraries and they seem to use this.
12605 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12607 * text2.C (CutSelection): make the cursor valid before the call to
12610 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12612 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12613 relied on 0 terminated strings and other horrors. Bug found due to
12614 the new assert in lyxstring!
12616 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12619 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12621 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12624 * lyxfunc.C (processKeySym): change method of getting to the
12627 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12628 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12629 * BufferView_pimpl.[Ch]: here as private methods.
12631 2001-05-28 Juergen Vigna <jug@sad.it>
12633 * text.C (SetHeightOfRow): added the update() call again as it is
12634 needed to initialize inset dimensions!
12636 2001-05-16 Juergen Vigna <jug@sad.it>
12638 * text2.C (SetCharFont): Add new function with BufferView * and
12639 bool toggleall parameters for setting insets internal fonts.
12640 (SetFont): Freeze the undo as we may change fonts in Insets and
12641 all this change should be inside only one Undo!
12643 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12644 setting font's in insets as for them we have the SetFont function!
12646 2001-05-15 Juergen Vigna <jug@sad.it>
12648 * text2.C (ClearSelection): to be sure we REALLY don't have any
12651 * tabular.C (TeXCellPreamble): fixed the left border problem for
12654 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12656 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12659 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12661 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12662 LFUN_BREAKPARAGRAPH.
12664 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12665 help test to "internal only", similar for LFUN_INSERT_URL
12667 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12668 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12669 auto_region_delete and deadkeys.
12671 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12674 * LColor.C: remove some dead entries, tidy a little
12676 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12678 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12680 (Dispatch): implement LFUN_ESCAPE
12682 * commandtags.h: add LFUN_ESCAPE
12684 * LyXAction.C (init): add entry for LFUN_ESCAPE
12686 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12687 Remove commented code.
12688 (insertNote): moved here
12689 (open_new_inset): moved here
12691 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12694 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12696 * kbmap.C (findbinding): clean it up and make it work correctly.
12698 * lyx_main.C (init): do not pass argc and argv as parameters
12700 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12702 * buffer.C: fix path for OS/2 & Win32
12706 * lyx_main.C: Added os:: class.
12708 * os2_defines.h: update
12710 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12712 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12713 better by trying again with reduced state.
12715 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12717 * lyxrc.C (read): print error about invalid key sequence only when
12718 debugging (because not all latinX keysyms are known to some X
12721 * kbsequence.C (getiso): add a few std:: qualifiers
12722 (getiso): comment out extra return statement.
12724 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12726 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12728 (Dispatch): enhance the accent inset a bit. (not perfect)
12730 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12732 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12734 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12736 * bufferlist.C (emergencyWrite): fix assert() call
12738 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12740 * text.C (InsertChar): Added trivial patch to only send the "you
12741 can not do multiple spaces this way" message once during a
12744 2001-05-08 Baruch Even <baruch@lyx.org>
12746 * Makefile.am: Changed order of libraries to get LyX to link properly
12747 with the gnome frontend.
12749 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12751 * LaTeXFeatures.h: add a std:: qualifier
12753 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12755 * paragraph.C (String): use stringstream
12757 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12759 * paragraph.C (writeFile): remove footflag arg
12761 * buffer.C (makeLaTeXFile): use stringstream
12762 (latexParagraphs): remove footnot gurba
12764 * LaTeXFeatures.C (getPackages): use stringstream
12765 (getMacros): likewise
12766 (getTClassPreamble): likewise
12767 (getFloatDefinitions): new method
12769 * paragraph.C (writeFile): reindent
12772 * WorkArea.h: revert the xpos + etc changes.
12774 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12776 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12778 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12779 (pasteSelection): likewise
12780 * text2.C (CreateUndo): likewise
12782 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12784 * minibuffer.C (peek_event): temporarily reduce the functionality
12785 of the minibuffer (to allow args on lfuns)
12787 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12788 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12790 * buffer.C (readInset): add compability reading of old float
12791 lists, add reading of new style float list.
12792 (readInset): avoid reevaluation of inscmd.getCmdName()
12793 (getLists): reindent
12795 * MenuBackend.C (MenuItem): implement parsing of
12796 md_floatlistinsert and md_floatinsert.
12797 (expand::LastFiles): move initalizaton of iterators out of loop,
12798 avoid reevaluation.
12799 (expand::Documents): introduce typdedef vector<string> Strings,
12801 (expand::ExportFormats): introduce typedef vector<Format const *>
12802 Formats, and use it.
12803 (expand): implement FloatListInsert and FloatInsert.
12805 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12806 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12807 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12809 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12811 (Dispatch::LFUN_FLOAT_LIST): implement
12813 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12815 * LaTeX.C (run): Fix problem with --export code.
12817 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12819 * BufferView.[Ch] (workarea): removed.
12820 (getClipboard) new method; wrapper for workarea()->getClipboard()
12822 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12825 * WorkArea.h (width, height, xpos, ypos): These methods all
12826 returned the dimensions of the work_area sub-area of WorkArea,
12827 resulting in a position error if the WorkArea were resized. Now
12828 return the dimensions of the entire WorkArea.
12830 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12832 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12834 * LaTeX.C (deplog): correct the syntax of regex reg1
12836 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12838 * undo.C: remove !NEW_INSETS cruft
12840 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12842 * text2.C: remove !NEW_INSETS cruft
12844 * text.C: remove !NEW_INSETS cruft
12846 * tabular.C: remove !NEW_INSETS cruft
12848 * spellchecker.C: remove !NEW_INSETS cruft
12850 * lyxtext.h: remove !NEW_INSETS cruft
12852 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12854 * lyxfunc.C: remove !NEW_INSETS cruft
12856 * lyxfind.C: remove !NEW_INSETS cruft
12858 * lyx_cb.C: remove !NEW_INSETS cruft
12860 * figureForm.C: remove !NEW_INSETS cruft
12862 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12864 * buffer.[Ch]: remove !NEW_INSETS cruft
12866 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12868 * CutAndPaste.C: remove !NEW_INSETS cruft
12870 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12872 * BufferView2.C: remove !NEW_INSETS cruft
12874 * BufferView.h: remove !NEW_INSETS cruft
12876 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12878 * Lsstream.h: include LString.h before the sstream headers to
12879 fix problem with gcc 2.95.3 and lyxstring
12881 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12883 * lyx_main.C: add using directives when needed for C functions
12884 declared in std:: namespace.
12886 2001-04-27 Juergen Vigna <jug@sad.it>
12888 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12889 (SetHeightOfRow): comment out the update call should not be needed!
12891 2001-04-13 Juergen Vigna <jug@sad.it>
12893 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12894 (LyXTabular): tried to minimize operator= operations (and realized
12895 hopfully Lars wish).
12897 2001-04-27 Juergen Vigna <jug@sad.it>
12899 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12901 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12903 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12905 * buffer.C (readInset): hack to make listof algorithm work
12907 * BufferView_pimpl.C: hack to make listof algorithm work
12909 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12911 * LyXAction.C: removed all !NEW_INSETS cruft
12912 (init): moved lfun_item in method
12914 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12916 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12918 * BufferView2.C (theLockingInset): white space.
12920 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12922 * minibuffer.C: include <iostream>
12924 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12926 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12928 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12930 * text.[Ch] (TransposeChars): new method
12932 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12934 * call message directly through LyXView instead of through LyXFunc
12935 * BufferView2.C: adjust
12936 * BufferView_pimpl.C: adjust
12937 * FontLoader.C: adjust
12939 * bufferview_funcs.C: adjust
12940 * converter.C: adjust
12941 * figureForm.C: adjust
12942 * importer.C: adjust
12944 * lyx_gui_misc.C: adjust
12945 * lyxfunc.C: adjust
12948 + more files in subdirs
12950 * lyxparagraph.h (size): move up int file
12953 * adjust all uses of Assert to lyx::Assert.
12955 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12956 lyxfunctional in namespace lyx
12957 * layout.C (hasLayout): ditto
12960 (delete_layout): ditto
12961 (NumberOfClass): ditto
12962 * converter.C (GetFormat): ditto
12967 * bufferlist.C (getFileNames): ditto
12968 (emergencyWriteAll): ditto
12971 * MenuBackend.C (hasSubmenu): ditto
12974 * BufferView_pimpl.C (getInsetByCode): ditto
12976 2001-04-18 Juergen Vigna <jug@sad.it>
12978 * vspace.C (asLatexString): fixed the 100% problem.
12980 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12982 * lyxfunc.C (Dispatch):
12984 * minibuffer.h: add a few std:: qualifiers
12986 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12988 * minibuffer.[Ch]: reimplement so that commands is initiated and
12989 run from lyxfunc, simplified som handling, and made the completion
12990 and history code for complete. wip.
12992 * lyxfunc.C (processKeySym): call message
12993 (miniDispatch): new temporary method
12994 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12995 (LFUN_MESSAGE): implement
12996 (LFUN_MESSAGE_PUSH): implement
12997 (LFUN_MESSAGE_POP): implement
12998 (initMiniBuffer): the initial/defualt minibuffer message.
13000 * lyxfont.[Ch]: inline some more getters
13002 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13004 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13006 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13007 (AutoSave): use LFUN_MESSAGE
13008 (Reconfigure): ditto
13010 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13012 * figureForm.C: use LFUN_MESSAGE
13014 * converter.C (runLaTeX): use LFUN_MESSAGE
13016 * bufferview_funcs.C: use LFUN_MESSAGE
13018 (changeDepth): ditto
13020 * bufferparams.h: use boost::
13022 * bufferlist.h: inherit privately from noncopyable
13024 * bufferlist.C (loadLyXFile): remove some commented code.
13026 * buffer.C (runChktex): use LFUN_MESSAGE
13028 * ShareContainer.h: inherit privately from noncopyable
13030 * ParagraphParameters.[hC] (depth): inline it.
13032 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13034 (message): new method
13035 (messagePush): ditto
13036 (messagePop): ditto
13037 (show): init minibuffer
13038 (showState): direct call
13040 * LaTeX.[Ch]: inherit privately from noncopyable
13041 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13042 instead of WriteStatus.
13044 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13046 * BufferView_pimpl.C (buffer): don't init minibuffer
13047 (workAreaButtonPress): use LFUN_MESSAGE
13048 (workAreaButtonRelease): ditto
13049 (savePosition): ditto
13050 (restorePosition): ditto
13051 (MenuInsertLyXFile): ditto
13052 (workAreaExpose): don't init minibuffer
13053 (update): remove commented code, simplify
13055 * BufferView2.C (openStuff): use LFUN_MESSAGE
13056 (toggleFloat): ditto
13059 (copyEnvironment): ditto
13060 (pasteEnvironment): ditto
13065 (updateInset): remove some commented code
13067 * lastfiles.h: inherit privately from noncopyable
13070 * lyx_main.h: ditto
13072 * lyxlex_pimpl.h: ditto
13074 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13075 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13076 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13078 * LyXAction.h: inherit privately from noncopyable, add methods
13079 func_begin, func_end, returning iterators to the func map.
13081 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13082 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13083 (func_begin): new method
13084 (func_end): new method
13086 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13088 (copySelection): ditto
13089 (pasteSelection): ditto
13091 * BufferView.C: whitespace change
13092 * BufferView.h: inherit privately from noncopyable
13094 2001-04-16 Allan Rae <rae@lyx.org>
13096 * tabular-old.C (l_getline):
13097 * spellchecker.C (sc_check_word):
13098 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13099 an unrecognised preprocessor directive. So ensure they're wrapped.
13101 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13103 * src/exporter.C (Export): Give an error message when path to file
13106 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13108 * LaTeX.C (deplog): Always check that foundfile exists.
13110 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13113 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13115 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13117 * tabular.[Ch] (getLabelList): implement new method
13119 * minibuffer.h: comment ouf setTiimer
13121 * minibuffer.C (ExecutingCB): constify res
13122 (peek_event): constify s
13123 (Set): constify ntext
13124 (Init): constify nicename
13126 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13128 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13129 (savePosition): use two params to Minibuffer::Set
13130 (restorePosition): ditto
13132 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13134 * lyx_main.C: include language.h
13136 * Makefile.am (lyx_main.o): add language.h
13138 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13144 * CutAndPaste.C: include gettext.h
13146 * lyxfont.h: remove old hack with ON and OFF.
13149 * lyxfont.h: do not include language.h...
13154 * bufferview_funcs.C:
13160 * paragraph.C: ... but do it here instead
13162 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13164 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13166 * tabular.C: small reformat
13168 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13171 (BreakParagraph): ditto
13172 (SetOnlyLayout): ditto
13175 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13178 * lastfiles.C: removed most using decl, add std:: where needed
13180 * buffer.C: ws changes
13182 * MenuBackend.C (class compare_format): put into anon namespace
13183 (expand): constify label, names, action, action2
13186 * text.C (SingleWidth): constify font
13187 (IsBoundary): constify rtl2
13188 (GetVisibleRow): constify ww
13190 * LaTeX.C (deplog): constify logfile
13192 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13194 (workAreaExpose): constify widthChange, heightChange
13196 * lyxrow.C (par): moved
13199 * lyxrow.h: as inlines here
13201 * lyxfont.h (shape): moved from lyxfont.C
13202 (emph): moved from lyxfont.C
13204 * lyxfont.C (LyXFont): use initialization list for all
13206 (shape): move to lyxfont.h as inline
13207 (emph): move to lyxfont.h as inline
13210 2001-04-04 Juergen Vigna <jug@sad.it>
13212 * vspace.C: had to include stdio.h for use of sscanf
13214 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13217 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13218 independent of xforms.
13220 2001-04-02 Juergen Vigna <jug@sad.it>
13222 * spellchecker.C: fixed namespace placing!
13224 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13226 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13227 the LyXParagraph * is 0.
13229 2001-03-29 Juergen Vigna <jug@sad.it>
13231 * vspace.C: added support for %, c%, p%, l%.
13232 (stringFromUnit): added helper function.
13233 (asLatexString): changed to give right results for the %-values.
13235 * buffer.C: convert the widthp in a width%.
13237 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13239 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13242 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13243 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13245 * lyx_cb.[Ch]: see above.
13247 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13251 * lyx.[Ch]: replaced by figure_form.[Ch].
13255 * lyxfunc.C: changed headers associated with above changes.
13257 2001-03-27 Juergen Vigna <jug@sad.it>
13259 * BufferView_pimpl.C: set the temporary cursor right!
13261 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13263 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13265 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13267 * LString.h: removed "using std::getline"!
13269 * BufferView_pimpl.C (Dispatch): changes due to changes in
13270 InsetInclude::Params.
13272 * buffer.C (tag_name): removed redundant break statements as they were
13273 producing lots of warnings with my compiler.
13275 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13277 * LString.h: add "using std::getline" when using the real <string>.
13279 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13281 * buffer.C: removed bitset usage.
13282 PAR_TAG moved to an anonymous name space.
13283 (tag_name): new funtion, also in the anonymous namespace.
13284 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13285 (makeDocBookFile): clean code. Completed transition from string arrays
13287 (SimpleDocBookOnePar): code clean.
13289 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13291 * tabular.C: add some comments.
13293 2001-03-22 Juergen Vigna <jug@sad.it>
13295 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13296 compatibility read a bit and fixed bug with minipage in different
13299 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13301 * buffer.C (pop_tag): removed.
13302 (push_tag): removed.
13303 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13304 array replaced with vector. Added support for CDATA sections.
13305 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13307 (makeDocBookFile): XML conformant declaration of CDATA section,
13308 fixed bug related to <emphasis> in the first paragraph char.
13309 (sgmlOpenTag): exclude empty tags.
13310 (sgmlCloseTag): ditto.
13312 * buffer.h (pop_tag): removed.
13313 (push_tag): removed.
13315 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13317 * language.h (Languages): added size_type and size().
13319 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13321 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13322 response on compability reading of minipages. One probliem is that
13323 the old usage of minipages was «flertydig»
13325 * several files here and in subdirs: don't use static at file
13326 scope use anon namespaces instead.
13328 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13330 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13331 LaTeX output. This is necessary for Literate document
13334 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13336 * buffer.C: insert hfill when needed.
13338 * tabular.C (l_getline): use string::erase, small whitespace change.
13340 * BufferView_pimpl.C: try the anon namespace.
13341 * WorkArea.C: ditto
13343 2001-03-16 Juergen Vigna <jug@sad.it>
13345 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13346 otherwise it won't open options-dialogs.
13348 * buffer.C: honor pextraWidth(p) on converting minipages.
13350 * tabular.C (l_getline): changed the functions to strip trailing \r.
13352 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13354 * BufferView_pimpl.C:
13355 * minibuffer..C: added "using SigC::slot" declaration.
13357 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13359 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13365 * paragraph.C: ditto
13367 * lyxtext.h: NO_PEXTRA
13369 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13371 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13372 * ParameterStruct.h: ditto
13373 * ParagraphParameters.h: ditto
13374 * lyxparagraph.h: ditto
13376 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13378 * buffer.C: add compability for minipage alignment.
13379 (latexParagraphs): remove unwanted pextra check.
13381 * several files: remove CXX_WORKING_NAMESPACES
13383 * buffer.C (pop_tag): tie is in namespace boost
13385 * BufferView.h: noncopyable is in namespace boost
13387 * lyx_main.h: ditto
13390 * lastfiles.h: ditto
13391 * bufferlist.h: ditto
13392 * ShareContainer.h: ditto
13394 * LyXAction.h: ditto
13397 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13399 * Merging changes from BRANCH_MVC back into HEAD.
13401 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13403 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13405 * BufferView_pimpl.C: change from intl.C
13409 * Makefile.am: move combox.*
13415 * intl.C: remove dialog (covered by prefs)
13417 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13419 * lyxfunc.C (Dispatch): removed redundant break statement.
13421 2001-03-14 Juergen Vigna <jug@sad.it>
13423 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13425 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13427 * buffer.C: add hack to fix compability reading of minipages.
13429 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13431 * buffer.C (getLists): Cleanup.
13433 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13435 * lyxfont.C (update): don't honor toggleall on font size.
13437 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13441 * Makefile.am: moved to frontends/xforms/
13445 * BufferView_pimpl.C: changes for moved mathpanel
13447 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13449 * gettext.h: fix gettext_init() in --disable-nls
13451 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13453 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13455 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13458 * lyx.h: strip external form
13460 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13462 * BufferView_pimpl.C: add comment, destroySplash()
13464 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13466 * BufferView_pimpl.C:
13470 * lyxfunc.C: use re-worked insetinclude
13472 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13474 * buffer.C: add using std::stringstream.
13476 * lyx_cb.C: readd using std::ios.
13478 * buffer.C: add using std::map.
13480 * BufferView_pimpl.C: add using std::vector.
13482 * ShareContainer.h: add std:: to swap.
13484 * buffer.h: add some typedefs
13485 * buffer.C (getLists): use them
13486 (getLists): renamed from getTocList.
13487 add a counter for the different float types and use it in the
13489 (getLists): use the same counter for the NEW_INSETS and the "non"
13492 * lyx_cb.h: remove unused items, includes, using etc.
13494 * ShareContainer.h: remove some commented code, add more comments
13495 and "documentation".
13497 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13499 * buffer.C (getTocList): make the list also when NEW_INSETS is
13502 * buffer.h: remove TocType
13504 * buffer.C (getTocList): change to return a map<string,
13505 vector<TocItem> >, implement for dynamic number of list.
13507 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13508 * text2.C (PasteSelection): adjust
13509 * CutAndPaste.C (pasteSelection): adjust
13511 * FloatList.C (FloatList): update from the new_insets branch.
13512 * Floating.[Ch]: ditto
13513 * LaTeXFeatures.C: ditto
13515 * lyxlex_pimpl.C: ditto
13517 * paragraph.C (Last): remove when NEW_INSETS is defined.
13519 * other file: changes because of the above.
13521 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13523 * lyxparagraph.h: rename next to next_, previous to previous_,
13524 make them private for NEW_INSETS. Rename Next() to next(),
13525 Previous() to previous().
13527 * other files: changes because of the above.
13529 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13532 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13535 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13537 * main.C (main): pass lyx_localedir to gettext_init().
13539 * gettext.h: remove locale_init and gettext_init macros
13541 * gettext.C (locale_init): new function
13542 (gettext_init): new function
13544 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13547 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13549 * Moved credits to frontends:
13550 * credits.[Ch]: removed
13551 * credits_form.[Ch]: removed
13552 * lyx_gui_misc.C: remove credits stuff
13555 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13557 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13559 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13560 unneeded destructor.
13562 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13563 a standalone pointer again.
13565 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13567 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13573 * ToolbarDefaults.C:
13582 * BufferView_pimpl.C: use new file dialog in GUII
13585 * lyx_cb.C: remove LayoutsCB to Toolbar
13587 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13589 * ShareContainer.h (get): add std:: qualifier
13591 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13593 * ShareContainer.h: define a proper ShareContainer::value_type
13594 type (and use typename to please compaq cxx)
13596 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13598 * lyxparagraph.h: move serveral local vars to
13599 ParameterStruct/ParagraphParameters., use ShareContainer in
13600 FontTable., make vars in FontTable private and add getter and
13603 * paragraph.C: changes because of the above.
13605 * lyxfont.h: remove copy constructor and copy assignment. (the
13606 default ones is ok), move number inside FontBits. move inlines to
13609 * lyxfont.C: add number to initializaton of statics, move several
13610 inlines here. constify several local vars. some whitespace
13611 cleanup. Dont hide outerscope variables.
13613 * Spacing.h: add two new constructors to match the set methods.
13615 * ShareContainer.h: new file, will perhaps be moved to support
13617 * ParameterStruct.h: new file
13619 * ParagraphParameters.h: new file
13621 * ParagraphParameters.C: new file
13623 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13624 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13626 * BufferView_pimpl.C: ParagraphParameter changes.
13627 * buffer.C: Likewise.
13628 * bufferview_funcs.C: Likewise.
13629 * text.C: Likewise.
13630 * text2.C: Likewise.
13632 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13634 * lyxfind.C (LyXReplace): do not redefine default argument in
13636 (IsStringInText): ditto
13637 (SearchForward): ditto
13638 (SearchBackward): ditto
13640 2001-03-06 Juergen Vigna <jug@sad.it>
13642 * lyxfind.C (IsStringInText): put parentes around expressions.
13644 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13646 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13648 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13650 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13652 * stl_string_fwd.h: add comment
13654 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13657 * tabular.C: remove unused DocBook methods
13663 killed DO_USE_DEFAULT_LANGUAGE
13665 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13667 * lyx_gui.C: do not include language.h.
13669 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13670 arguments in function implementation.
13672 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13674 * BufferView_pimpl.C: add <ctime>
13676 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13678 * BufferView_pimpl.C: add using std::find_if
13680 2001-02-27 José Matos <jamatos@fep.up.pt>
13682 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13685 2001-02-11 José Matos <jamatos@fep.up.pt>
13687 * buffer.C (makeDocBookFile): command styles now have a parameter as
13688 "title" by default.
13690 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13692 * layout_forms.[Ch]: removed
13693 * lyx_cb.[Ch]: out character
13694 * lyx_gui.C: out character
13695 * lyx_gui_misc.C: out character
13696 * bufferview_funcs.C: : out character,
13697 added toggleall as parameter in ToggleAndShow
13699 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13701 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13703 * text2.C (SetCurrentFont): Disable number property at boundary.
13705 2001-02-26 Juergen Vigna <jug@sad.it>
13707 * lyxfunc.C (getStatus): added a string argument override function so
13708 that this is correctly called from LyXFunc::Dispatch if it contains a
13709 do_not_use_argument which is used!
13710 (Dispatch): added check for "custom" export and call appropriate func.
13712 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13714 * lyxrc.C: Add language_command_local, language_use_babel and
13715 language_global_options.
13717 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13719 * buffer.C (makeLaTeXFile): Use language_use_babel and
13720 language_global_options.
13722 2001-02-23 Juergen Vigna <jug@sad.it>
13724 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13725 which works with LyXText and putted it inside BufferView. Here now we
13726 only call for that part the BufferView::Dispatch() function.
13728 * BufferView.C (Dispatch): added.
13730 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13731 functions which needs to use a LyXText over from LyXFunc.
13732 (MenuInsertLyXFile): added
13733 (getInsetByCode): added
13734 (moveCursorUpdate): added
13735 (static TEXT): added
13737 2001-02-22 Juergen Vigna <jug@sad.it>
13739 * BufferView_pimpl.C (update): call a status update to see if LyXText
13742 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13744 * vc-backend.C (revert): implement for CVS
13745 (getLog): implement for CVS
13747 2001-02-20 Juergen Vigna <jug@sad.it>
13749 * text2.C (ClearSelection): added BufferView param for inset_owner call
13751 * lyxfunc.C (TEXT): added this function and use it instead of
13752 directly owner->view()-text of getLyXText().
13754 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13756 * src/layout_forms.C: out preamble
13757 * src/layout_forms.h: out preamble
13758 * src/lyx_cb.C: out preamble
13759 * src/lyx_cb.h: out preamble
13760 * src/lyx_gui.C: out preamble
13761 * src/lyx_gui_misc.C: out preamble
13762 * src/lyxfunc.C: connect with guii preamble
13764 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13766 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13768 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13770 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13771 whether to run bibtex.
13773 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13775 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13777 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13779 * Makefile.am (lyx_SOURCES): removed bibforms.h
13781 * vspace.h: doxygen
13783 * text.C (GetVisibleRow): make several local vars const
13785 * tabular.C: small cleanup.
13787 * lyxserver.C (callback): use compare instead of strncmp
13789 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13790 inlines to after class or to paragraph.C
13792 * lyxfont.h: remove friend operator!=
13794 * converter.h: move friend bool operator< to non friend and after
13797 * combox.h: small cleanup
13799 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13800 to inlines after class def.
13802 * buffer.C (pop_tag): use string operations instead of strcmp
13804 * bmtable.c: doxygen, small cleanup
13806 * LaTeX.h: remove friend operator==
13808 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13820 * BufferView_pimpl.C:
13821 * BufferView.[Ch]: remove cruft
13823 2001-02-14 Juergen Vigna <jug@sad.it>
13825 * lyxfunc.C: removed #if 0 unused code
13827 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13829 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13831 * text2.C (SetSelection): added a BufferView * parameter
13833 2001-02-13 Juergen Vigna <jug@sad.it>
13835 * lyxfunc.C (Dispatch): fixed protected blank problem.
13836 * BufferView2.C (protectedBlank): added LyxText * parameter.
13838 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13839 (AppendColumn): same as above for column_info.
13841 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13842 (moveCursorUpdate): use a LyXText param for support of InsetText.
13844 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13845 (tripleClick): ditto
13847 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13849 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13851 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13853 * text2.C (SetSelection): set correct update status if inset_owner
13854 (ToggleFree): ditto
13856 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13858 * tabular.C: remove some commented code.
13860 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13862 * BufferView_pimpl.C: call hideSplash()
13864 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13867 * bibforms.h: remove
13870 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13871 add LFUN_CHILD_CREATE
13873 * counters.h: fix tiny typo
13878 * lyx.C: move splash to frontends/xforms/
13880 * lyx_gui_misc.C: move Include and Bibform to frontends
13882 * lyxvc.h: clarify comment
13884 * vspace.C: tiny housekeeping
13886 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13888 * text.C (PrepareToPrint): RTL Fix.
13890 * paragraph.C (GetUChar): New method.
13891 (String): Use GetUChar.
13893 * buffer.C (asciiParagraph): Use GetUChar.
13895 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13897 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13899 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13902 * buffer.C: rename to getLogName(), handle
13903 build log / latex log nicely
13905 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13908 * MenuBackend.h: remove support for reference menuitem type.
13910 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13912 * BufferView_pimpl.C: housekeeping
13913 * BufferView_pimpl.h:
13918 * minibuffer.h: move Timeout GUI-I
13920 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13922 * lyxrc.C (read): Update converters data-structures.
13924 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13926 * LaTeX.h (operator!=): add operator != for Aux_Info
13928 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13930 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13932 * LaTeXLog.C: deleted, useful code moved to Buffer
13935 * buffer.C: new function getLatexLogName()
13941 * lyxfunc.C: use frontends for LaTeX and VC logs
13943 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13945 * LaTeX.h: yet another std:: that Allan forgot.
13947 * Variables.C (set): renamed from isset(), because this clashes
13948 with some HP-UX macros (grr).
13950 2001-02-06 Allan Rae <rae@lyx.org>
13952 * LaTeX.h: Another bug fix. Missing std:: this time.
13954 2001-02-04 Allan Rae <rae@lyx.org>
13956 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13957 floats problem. I've left it commented out because it's not quite
13958 correct. It should also test that the current object is a table or
13959 figure inset. But I haven't gotten around to figuring out how to do
13960 that. I *think* it'll be something like: "table" == inset.type()
13962 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13965 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13967 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13968 all the citation/databases/styles in the auxilary file.
13969 (run): Rerun latex if there was a babel language error.
13971 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13973 * text.C (Backspace): Preserve the font when changing newline char
13975 (BreakParagraph): If the cursor is before a space, delete the space.
13977 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13979 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13981 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13982 new argument (code).
13983 (ChangeCitationsIfUnique): New method.
13985 * paragraph.C (GetPositionOfInset): Handle bibkey.
13987 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13989 * BufferView_pimpl.h: change type of Position::par_pos to
13990 LyXParagraph::size_type.
13992 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13994 * BufferView_pimpl.C (savePosition, restorePosition): Write
13995 messages to minibuffer.
13997 2001-01-28 José Matos <jamatos@fep.up.pt>
13999 * buffer.C (makeDocBookFile): adds support for document language.
14000 A silly restriction on the name of LatexCommand types where removed.
14001 Added support for CDATA sections, allows to chars unescaped, used
14002 among others in code, to avoid escape < and >.
14004 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14006 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14007 saved positions instrad of a stack. Furthermore, a position is
14008 stored using paragraph id/paragraph position.
14010 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14011 Remove LFUN_REF_BACK.
14013 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14015 * converter.C (dvipdfm_options): New method.
14017 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14019 * vspace.C (isValidLength): Fix for empty input string.
14021 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14023 * LyXAction.C (init): change description of LFUN_FIGURE to
14026 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14028 * LaTeX.C: add using directive
14030 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14032 * MenuBackend.C (expand): Fix the sorting of the formats.
14034 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14036 * lyx_main.C: tiny error message fix
14038 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14040 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14041 calling fl_initialize(). This fixes the problem with ',' as
14042 decimal separator in text files.
14044 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14046 * trans.C (process): Fix the keymap bug.
14048 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14050 * LaTeX.C (scanAuxFiles): New method. Provides support for
14051 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14052 (scanLogFile) Scan for "run BibTeX" messages.
14054 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14055 OT1 font encoding. Also, load the aecompl package if the ae
14058 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14060 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14062 * texrow.C (increasePos): turn two error messages into debug
14065 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14067 * LaTeX.C (scanAux): Handle the \@input macro.
14068 (runBibTeX): Use scanAux().
14070 * language.C (latex_options_): New field.
14072 * LaTeXFeatures.C (getMacros): Add language macros.
14074 * buffer.C (makeLaTeXFile): Small fix.
14076 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14078 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14080 * text2.C: add a using directive.
14082 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14087 * lyxfunc.C: kill LyXBell.
14089 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14091 * text.C (IsBoundary): Remove the error message
14093 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14095 * lyxrc.C (setDefaults): Correct initialization value for
14098 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14100 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14103 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14104 and GotoNextNote().
14106 * src/LyXAction.C: Added reference-next.
14108 * text.C (InsertChar): Use contains instead of strchr.
14110 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14112 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14114 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14115 alignment commands (when needed).
14117 * text.C (InsertChar): Add ':' to number separator chars.