2 2003-11-28 André Pönitz <poenitz@gmx.net>
4 * ParagraphParameters.[Ch]:
5 * ParameterStruct.h: remove space above/below from Paragraph to
20 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
22 * factory.C: Syntax change for CharStyles
24 2003-11-28 André Pönitz <poenitz@gmx.net>
29 * buffer.[Ch]: move LyXText member
31 2003-11-28 André Pönitz <poenitz@gmx.net>
33 * BufferView.[Ch]: make LyXText * text a private member
46 * output_plaintext.C: cleanup
48 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
51 * lyxtextclass.[Ch]: parametrize SGML document header
53 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
56 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
59 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
61 * text2.C (setFont): rework using PosIterator (no more recursive)
62 (setCharFont): no more needed
63 (setLayout): no more selection cursors fiddling (done by redoCursor)
64 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
65 destroy remaining ones)
67 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
69 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
71 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
74 * text3.C: adjust + re-allow multi par depth changes
75 * textcursor.C: simplify a bit
77 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
83 * src/output_docbook.C:
89 * src/text2.C: Introducing a number of tags parametrizing various
90 XML formats that we may want to support
92 2003-11-25 André Pönitz <poenitz@gmx.net>
94 * InsetList.[Ch] (begein, end): inline as suggested by profiler
96 * lyxtext.h (leftMargin/rightMargin): simplify interface
103 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
105 * lyxfunc.C (dispatch): propogate the bibtex databases from the
106 master file to any child files. Fixes bug 546.
108 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
110 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
112 2003-11-24 André Pönitz <poenitz@gmx.net>
114 * rowpainter.C: simplification
116 * text2.C (updateCounters): remove call to redoParagraph on
117 changed labels as this is far too expensive.
119 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
121 * converter.C (convert): fix a crash: this function gets
122 called with buffer == 0 from importer code.
124 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
126 * text3.C (cursorPrevious): make sure that we do not compare
127 iterators form different containers.
130 * rowpainter.C (paintSelection): make sure that we do not compare
131 iterators from different containers.
133 * text3.C (dispatch): [PRIOR] make sure that we do not compare
134 iterators from different ParagraphList containers.
137 * text2.C (LyXText): change order of initialization slightly
138 (operator=): new function. copy all variables except cache_par_
139 (moveUp): make sure that we do not compare iterators from
140 different ParagraphList constainers.
143 * text.C (firstPar): new function
144 (lastPar): new function
145 (endPar): new function
147 * lyxtext.h: move things around and group public functions, public
148 variables, private functions, private variables
150 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
152 * factory.C: change call to InsetERT constructor to avoid
153 additional invocation of method status
154 * text2.C (toggleInset): remove redundant update() call
155 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
156 instead of a Bufferview pointer
158 2003-11-21 André Pönitz <poenitz@gmx.net>
160 * rowpainter.C: simplification
162 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
164 * text3.C (dispatch): make possible to extend a word/row selection
167 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
169 * lyxtext.h: x0_,y0_ -> xo_,yo_
170 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
171 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
172 * rowpainter.C (paintRows): paint full paragraphs
174 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
176 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
179 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
181 * lyxtext.h: add x0_, y0_
182 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
183 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
185 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
187 * text2.C (setCursorIntern): move the x_target update here *
188 * text3.C: change some bv() to true/false in calls to
189 cursorUp/Down/Right/Left
190 * cursor.C: use helper function.
192 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
194 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
195 * paragraph_funcs.[Ch]: correct comment
196 * rowpainter.C: do not paint selections away from bv->cursor()
197 Fix a long standing selection painting bug.
198 * text3.C: generalize mouse-selection code to LyXTexts other that
200 * textcursor.C: do not use y coords if we can use par offsets
202 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
204 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
205 cursor position after e.g. inset insert)
207 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
209 * lyxfind.C (replace): adjust to locking removal + some
212 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
214 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
217 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
220 * output_docbook.C: XML sanitation: new layout
221 parameters InnerTag and CommandDepth
223 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
225 * BufferView_pimpl.C:
227 * text3.C: Fix the insertion and modification of button-style
230 2003-11-13 André Pönitz <poenitz@gmx.net>
232 * InsetList.[Ch]: remove deleteLyXText
234 * paragraph.[Ch]: cache beginOfBody position
239 * text3.C: remove superfluous update() calls
243 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
245 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
246 * BufferView.C (fitLockedInsetCursor): remove
247 * cursor.[Ch] (getDim): add
248 * text.C (getRowNearY): add faster version
249 * text3.C: remove some update calls
251 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
263 * text3.C: The Character Style /XML short element patch.
265 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
268 * factory.C: Small step to solving 'unable to insert some insets'
271 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
273 * cursor.[Ch] (updatePos): new function for updating the y
274 position of the tip inset
275 * bufferview_funcs.C (put_selection_at):
276 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
278 2003-11-11 André Pönitz <poenitz@gmx.net>
280 * text.C: remove big comment on invalid Paragraph pointers as it is
283 2003-11-11 André Pönitz <poenitz@gmx.net>
285 * text_funcs.[Ch]: merge with ...
293 * Makefile.am: remove text_funcs.[Ch]
295 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
297 * cursor.C (getPos): return absolute cached y coord
299 * BufferView_pimpl.C (fitCursor): new simplistic code
300 (workAreaDispatch): add a fitCursor call
302 2003-11-10 André Pönitz <poenitz@gmx.net>
305 * BufferView_pimpl.[Ch]: merge update() and updateInset()
307 2003-11-10 André Pönitz <poenitz@gmx.net>
309 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
310 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
311 indicate that the cursor needs to leave an inset
313 * lyxtext.h: remove inset locking
315 * cursor.[Ch]: re-implement functionality provided by inset locking
318 * BufferView_pimpl.[Ch]:
320 * bufferview_funcs.[Ch]:
332 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
334 * PosIterator.[Ch]: replace the stack with a vector, add inset
336 * iterators.[C]: adjust
338 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
340 * lyxfind.C (replaceAll): mark the buffer dirty if something was
342 * paragraph_funcs.C (readParToken): put the correct id in the
343 error item, not the id of the top paragraph
345 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
347 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
348 * bufferview_funcs.C (put_selection_at): use the above
350 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
352 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
354 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
357 * output_plaintext.h:
359 * output_docbook.h: add #include statements
361 2003-11-05 José Matos <jamatos@lyx.org>
363 * output_docbook.[Ch]:
365 * output_linuxdoc.[Ch]:
366 * output_plaintext.[Ch]: New files for output formats.
367 * output.[Ch]: New file for helper functions.
370 * paragraph_funcs.[Ch]: output functions moved to new files.
372 * outputparams.h: rename of latexrunparams.h
380 * paragraph_funcs.[Ch]:
381 * paragraph_pimpl.[Ch]:
382 * tabular.[Ch]: rename ascii to plaintext
383 and LatexRunParams to OutputParams.
385 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
387 * iterators.[Ch] (text): require bv argument
388 * undo.C (recordUndo):
389 * lyxfunc.C (dispatch):
390 * bufferview_funcs.C (put_selection_at): adjust
392 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
394 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
396 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
398 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
401 2003-11-04 André Pönitz <poenitz@gmx.net>
403 * cursor.[Ch]: restructure
406 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
408 * iterators.[Ch] (asCursor): remove
410 * lfuns.h: remove LFUN_INSET_EDIT
416 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
418 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
420 * lyxfind.[Ch]: complete overhaul
421 * BufferView_pimpl.C:
423 * paragraph.[Ch] (insert): add
425 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
429 * text.C: remove dead spellcheck code
431 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
433 * dispatchresult.h: add a val setter
435 * cursor.C (dispatch): use a tempvar for data_[i]
437 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
439 * PosIterator.[Ch]: compile fix
441 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
443 * text.C (cursorPar): deactivate the cursor cache
445 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
447 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
449 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
451 * text3.C (dispatch): adjust for new DisptchResult semantics.
453 * lyxfunc.C (dispatch): handle update when return from
454 Cursor::dispatch, adjust for new DispatchResult semantics.
456 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
457 DispatchResult(true) mean to not update. Add class functions for
458 setting dispatched and update, as well as reading.
460 * cursor.C (dispatch): don't handle update here
462 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
464 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
465 * trans_mgr.C: adjust
467 * paragraph_funcs.C (readParToken): exception safety
469 * lyxvc.h: store the vcs pointer in a scoped_ptr
472 * lyxsocket.C (serverCallback): exception safety
474 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
476 * ispell.C (clone): make it return a auto_ptr
478 * factory.C (createInset): exception safety
479 (readInset): exception safety
481 * bufferlist.C (newBuffer): exception safety
483 * Thesaurus.C (Thesaurus): use initialization for aik_
485 * MenuBackend.C (expandToc): exception safety.
487 2003-11-03 André Pönitz <poenitz@gmx.net>
491 * bufferview_funcs.C: remove getInsetFromId()
494 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
500 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
502 * PosIterator.C (distance, advance): new
503 * bufferview_funcs.[Ch] (put_selection_at): new
504 * iterators.[Ch] (lockPath): new
506 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
508 * iterators.[Ch] (asPosIterator): added
509 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
510 * PosIterator.[Ch]: added
512 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
516 * cursor.C (dispatch):
517 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
519 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
520 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
521 contructor, add a class function dispatched. Remove operator>=
523 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
525 * debug.C: only use the default constructor for debugstream
528 * main.C (main): include debug.h and setup the lyxerr streambuf
531 2003-10-31 José Matos <jamatos@lyx.org>
533 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
535 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
536 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
537 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
538 * paragraph_pimpl.C (simpleTeXSpecialC):
539 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
540 add LatexRunParams argument.
542 * exporter.C (Export): change call accordingly.
544 * latexrunparams.h: add new member to take care of the other backends.
545 2003-10-30 José Matos <jamatos@lyx.org>
547 * buffer.C (makeLinuxDocFile, makeDocBookFile):
548 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
549 factorise code for paragraph output.
551 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
554 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
556 * text3.C (dispatch):
557 * lyxfunc.C (dispatch):
558 * cursor.C (dispatch):
559 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
561 * dispatchresult.h: make the dispatch_result_t ctor explicit
563 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
566 * buffer.C: small refactoring of docbook stuff
568 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
570 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
573 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
575 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
576 operator dispatch_result_t, and operators for == != and >=
578 * cursor.C (dispatch): adjust for operator dispatch_result_t
579 removal. comment out call to update
581 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
583 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
591 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
594 * dispatchresult.h: new file, DispatchResult broken out of
597 * Makefile.am (lyx_SOURCES): add dispatchresult.h
599 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
601 * text.C (rowBreakPoint): put a hack inside #if 0
603 2003-10-28 André Pönitz <poenitz@gmx.net>
610 * text2.C: general cleanup (lots of small stuff)
612 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
614 * text2.C (cursorEnd): simple fix to the "end key goes to one
615 before the end on last row" bug
617 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
619 * text.C (backspace): fix the "zombie characters"
621 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
623 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
625 2003-10-27 André Pönitz <poenitz@gmx.net>
627 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
629 * factory.C: handle new InsetPagebreak, InsetLine
631 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
632 and move handling into new InsetPagebreak, InsetLine
634 * BufferView_pimpl.C:
636 * ParagraphParameters.C:
649 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
658 * text3.C: remove lastPos uses in favour of Row::endpos
660 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
662 * undo.C (performUndoOrRedo): fix two crashes by setting a
663 cursor by hand and reordering some calls. Use bv->lockInset instead
664 of inset->edit because the latter loses cursor information
666 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
668 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
670 (rowBreakPoint): fix width. change point to point + 1.
673 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
676 * lyxfunc.C: fix (at least partly) the problems
677 with the Nav menu and headers inside branch insets
680 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
682 * paragraph.C (getChar): add strong asserts
684 * lyxrow_funcs.C (lastPos): remove hideous hack
686 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
687 (fill): adjust to that (avoid an infinite loop)
689 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
691 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
693 2003-10-23 André Pönitz <poenitz@gmx.net>
695 * RowList_fwd.h: change list<> to vector<> to gain speed
696 after suggestion from Alfredo
698 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
700 * lyxtext.h: move the bidi stuff from here...
703 * Bidi.[Ch]: ... to here
705 2003-10-23 André Pönitz <poenitz@gmx.net>
708 * text.C (isLastRow, isFirstRow): new functions
710 * paragraph.h: new width cache member
712 * rowpainter.C: replace RowList::iterator with Row & where possible
714 * lyxfunc.C: replace several view()->text with a single call
716 * toc.C: fix 'unused' warning
718 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
720 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
721 when woring with stream::pos_type
722 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
724 2003-10-22 André Pönitz <poenitz@gmx.net>
727 * text.C: use Row & instead of RowList::iterator
729 * lyxrow.h: rename end() to endpos()
735 2003-10-22 Angus Leeming <leeming@lyx.org>
737 * buffer.[Ch] (fully_loaded): new member function, returning true
738 only when the file has been loaded fully.
739 Used to prevent the premature generation of previews and by the
740 citation inset to prevent computation of the natbib-style label.
742 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
743 templates are all set up.
745 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
747 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
749 * text.C: fixed an "oops" in the "is a bit silly"
752 2003-10-21 André Pönitz <poenitz@gmx.net>
754 * FuncStatus.[Ch]: small stuff, whitespace
756 * lyxfont.[Ch]: operator<<() for debug reasons
760 * lyxtext.h: whitespace, spelling
762 * paragraph.C: naming of variables
765 * text2.C: small stuff
768 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
770 * text.C: (1) finish off the inset display() work;
771 (2) fix the "is a bit silly" bug (accessing char
774 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
776 * text.C: re-introduce display() for insets, fixing the
777 various bugs (stretch of line above, math inset
780 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
782 * text.C (rightMargin): remove spurious semicolon
784 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
787 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
789 * text3.C: fix one crash due to wrong cursor def
791 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
793 * vc-backend.C (scanMaster): make the regex static
795 * LaTeX.C (scanAuxFile): make the regexs static
797 * text3.C (doInsertInset, dispatch, dispatch):
798 * text2.C (cursorUp, cursorDown):
799 * text.C (selectNextWordToSpellcheck):
800 * BufferView_pimpl.C (dispatch):
801 * lyxfunc.C (dispatch): localDispatch -> dispatch
803 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
805 * lyxsocket.C: include <cerrno>
807 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
809 * lyxfunc.C (dispatch): remove textcache stuff
811 * bufferlist.C (release): remove textcache stuff
814 * TextCache.C: delete file
815 * TextCache.h: delete file
817 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
819 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
820 delete of the bv_->text.
821 (resizeCurrentBuffer): remove texcache stuff
822 (workAreaResize): ditto
824 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
826 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
829 2003-10-16 André Pönitz <poenitz@gmx.net>
836 * text3.C: speed up by storing y positions per paragraph plus per-row
837 offset instead of having a 'full' y position in the row.
839 2003-10-15 André Pönitz <poenitz@gmx.net>
843 * undo.[Ch]: make undo aware of inner insets
845 2003-10-14 Angus Leeming <leeming@lyx.org>
847 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
848 static member functions LyX::ref() and LyX::cref.
849 (lastfiles): new accessor functions for the new lastfiles_ member var.
850 (addLyXView, views_): add a new LyXView to the list of views_.
851 (updateInset): loop over all LyXViews to call their own updateInset
852 member function, returning a pointer to the Buffer owning the inset.
854 * BufferView_pimpl.C (loadLyXFile):
855 * MenuBackend.C (expandLastfiles):
856 * bufferlist.C (MenuWrite, QuitLyX):
857 lastfiles is no longer a global variable.
858 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
860 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
861 static function. Access through LyX::cref().emergencyCleanup().
863 2003-10-14 André Pönitz <poenitz@gmx.net>
865 * iterators.[Ch]: new direct access to innermost LyXText and Inset
867 * undo.[Ch]: restoring part of 'undo in insets'
870 * undo_funcs.[Ch]: merge with undo.[Ch]
872 * tabular.C: small cleansing stuff
874 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
876 * paragraph_funcs.C (readParToken): report unknown insets as error
877 boxes. Use the outer paragraph as location (also for unknown
880 * factory.C (readInset): do not abort on reading an unknown inset.
883 2003-10-13 Angus Leeming <leeming@lyx.org>
885 * lyx_main.C (LyX): remove call to setDisplayTranslator().
887 * lyxrc.C: displayTranslator is now a function,
888 declared in GraphicsTypes.h.
890 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
892 * format.C: new placeholder $$a to pass the socket address.
894 * bufferlist.[Ch]: new function getBufferFromTmp.
896 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
897 files in the temporary dir.
899 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
901 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
903 * Makefile.am: add lyxsocket.[Ch].
905 * lyx_main.C (error_handler): handle SIGPIPE.
907 2003-10-13 André Pönitz <poenitz@gmx.net>
909 * BufferView_pimpl.C:
914 * undo_funcs.[Ch]: use paroffset_type instead of
915 ParagraphList::iterators to prevent multiple conversion
916 (and get a more robust interface)
918 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
920 * lyxfunc.C (dispatch): RESULT -> dispatch_result
922 * text3.C (dispatch): ditto
924 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
926 * LaTeX.C (handleFoundFile): move the static to smaller scope,
927 move the onlyfile, use onlyfile instead of foundfile in a couple
930 * DepTable.C (update): flush the error stream a bit more
932 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
934 * lyxserver.C (callback): adjust
936 * lyxfunc.C (getStatus): add a missing brace in commented code
937 (ensureBufferClean): reindent
938 (dispatch): delete version taking a string
940 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
942 * LaTeX.C (deplog): move found file handlig from here...
943 (handleFoundFile): .. to new function here.
944 (deplog): make sure to discover several files mentioned on the
947 2003-10-10 André Pönitz <poenitz@gmx.net>
954 * text3.C: fix some of the tabular crashes
956 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
958 * MenuBackend.C (binding): put debug message into Debug::KBMAP
960 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
962 2003-10-09 André Pönitz <poenitz@gmx.net>
964 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
967 * BufferView_pimpl.C:
968 * bufferview_funcs.C:
979 * undo_funcs.C: adjust
981 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
983 * text2.C (incrementItemDepth): new function, use a backtracking
984 algorithm to discover the correct item depth.
985 (resetEnumCounterIfNeeded): new function, use a backtracking
986 algorithm to discover if counter reset is needed.
987 (setCounter): use them. Simplify a bit. Add different labels for
988 different item depths for itemize.
990 * paragraph.C (Paragraph): remove initialization of enumdepth
993 * paragraph.h: get rid of enumdepth, and use itemdepth both for
994 enumerate and itemize. Change the type of itemdepth to signed char.
996 2003-10-08 André Pönitz <poenitz@gmx.net>
998 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1003 * tabular.[Ch]: fix crash after 'row-insert'
1005 2003-10-08 Angus Leeming <leeming@lyx.org>
1007 Fix doxygen warnings.
1009 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1010 Remove CutAndPaste:: prefix from header file declaration.
1012 * LColor.h (fill): remove LColor:: prefix from declaration.
1014 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1015 use lyx::depth_type rather than Paragraph::depth_type so that
1016 header file and .C file match.
1018 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1020 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1021 * aspell.C: \file aspell_local.C -> \file aspell.C
1022 * gettext.C: \file gettext.C -> \file src/gettext.C
1023 * gettext.h: \file gettext.h -> \file src/gettext.h
1024 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1025 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1026 * text.C: \file text.C -> \file src/text.C
1028 * toc.C: move comment so that doxygen is not confused.
1030 2003-10-07 Angus Leeming <leeming@lyx.org>
1032 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1034 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1037 * aspell_local.h: add forgotten std::string's.
1039 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1046 * text3.C: The Box patch. Fancybox support, minipage, parbox
1048 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1054 * ParagraphParameters.h:
1064 * lyxtextclasslist.h:
1067 * paragraph_pimpl.C:
1068 * textcursor.h: add <string> and other small fixes to make Lars'
1069 std::string patch compile with STLport.
1071 2003-10-06 Angus Leeming <leeming@lyx.org>
1073 * LColor.h: Add missing #include <string>.
1075 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1077 * All most all file in all subdirs: Make <string> be the prefered
1078 way of getting to std::string, add using declarations.
1080 2003-10-06 André Pönitz <poenitz@gmx.net>
1082 * metricsinfo.C: initialize LyXFont before changing attribute.
1083 (fixes the 'math in \emph is upright' bug)
1085 2003-10-06 André Pönitz <poenitz@gmx.net>
1087 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1089 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1092 * paragraph_pimpl.C: Small fixes to build using STLport
1094 2003-10-02 André Pönitz <poenitz@gmx.net>
1097 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1099 2003-10-01 André Pönitz <poenitz@gmx.net>
1101 * factory.C: assert early
1103 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1105 * lyx_main.C: remove the global debug object
1107 * debug.h: adjust for new debugstream
1109 * debug.C: adjust for new debugstream and keep the global debug
1112 2003-09-22 Angus Leeming <leeming@lyx.org>
1114 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1115 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1116 an incomplete class LyXFont.
1118 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1120 * factory.C: bug fix in branches
1122 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1124 * lyxfunc.C (processKeySym): adjust
1126 (dispatch): change arg name from ev to func, adjust
1127 (sendDispatchMessage): ditto
1129 * lyx_main.C (defaultKeyBindings): adjust keybindings
1130 (deadKeyBindings): ditto
1132 * kbsequence.C (addkey): return a FuncRequest
1134 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1136 * kbmap.C (bind): take a FuncRequest as arg, adjust
1139 (defkey): change to take a FuncRequest as arg, adjust
1140 (findbinding): take a FuncRequest as arg, adjust.
1142 * funcrequest.h (operator=): added
1144 * funcrequest.C (FuncRequest): default kb_action changed from
1145 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1147 * buffer.C (dispatch): simplify
1148 (dispatch): adjust to take a FuncRequest as arg, adjust
1150 * boost.C (assertion_failed): change assertion message slightly
1152 * ToolbarBackend.C (read): simplify
1154 * MenuBackend.C (binding): adjust call to findbinding, add a
1155 message if no binding is found.
1157 (expandToc): correct by adding a empty FuncRequest
1159 * LyXAction.C: include <boost/assert.hpp>
1160 (isPseudoAction): delete function
1161 (LookupFunc): change name to...
1162 (lookupFunc): this. change return type to FuncRequest.
1163 (getActionName): take kb_action as arg, simplify
1164 (funcHasFlag): add an assert, simplify.
1166 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1168 * toc.C (action): return a FuncRequest, simplify
1170 * lyxfunc.C (processKeySym): adjust
1171 (getStatus): delete version that takes an int.
1173 (dispatch): delete version that takes action as int
1175 (sendDispatchMessage): simplify and adjust
1177 * funcrequest.C (getArg): take unsigned int as arg
1179 * ToolbarBackend.C (read): adjust
1180 (add): delete version that takes func as a string.
1181 (getIton): take a FuncRequest as arg
1183 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1186 * MenuBackend.C (MenuItem): add a new construct that only takes a
1187 Kind, simplify the constructor use for submenus.
1189 (expandLastfiles): adjust
1190 (expandDocuments): adjust
1191 (expandFormats): adjust
1192 (expandFloatListInsert): adjust
1193 (expandFloatInsert): adjust
1194 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1196 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1197 Remove class variables lyx_pseudo_map and lyx_arg_map
1199 * LyXAction.C (searchActionArg): delete function
1200 (getPseudoAction): delete function
1201 (retrieveActionArg): delete function
1202 (LookupFunc): make it return kb_action, simplify.
1203 (getActionName): simplify
1205 * factory.C (createInset): fix new bug
1207 2003-09-19 Angus Leeming <leeming@lyx.org>
1209 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1210 masterFilename_ parameter in the include inset.
1212 * factory.C (createInset): changes due to the changes to InsetInclude.
1214 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1216 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1218 2003-09-18 Angus Leeming <leeming@lyx.org>
1221 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1222 Inset::fillWithBibKeys.
1223 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1225 2003-09-18 Angus Leeming <leeming@lyx.org>
1227 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1229 (ctor): pass and store a 'Buffer const &'
1230 (buffer): new member function.
1232 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1233 '*this' to the LaTeXFeatures ctor.
1235 2003-09-18 Angus Leeming <leeming@lyx.org>
1241 * text.C: rename EnumLColor as LColor_color.
1243 2003-09-18 Angus Leeming <leeming@lyx.org>
1245 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1246 remove #include "insets/insetbase.h" from cursor.h.
1248 2003-09-18 Angus Leeming <leeming@lyx.org>
1250 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1251 InsetOld_code to remove #include "inset.h".
1253 * iterators.C: add #include "insets/inset.h"
1255 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1257 * BufferView.C: remove more locking stuff that apparently doesn't
1258 do anything sensible.
1260 2003-09-16 André Pönitz <poenitz@gmx.net>
1263 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1266 2003-09-16 Angus Leeming <leeming@lyx.org>
1268 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1270 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1273 * paragraph.h: remove #include "lyxfont.h". Forward declare
1276 2003-09-16 Angus Leeming <leeming@lyx.org>
1278 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1279 of support/textutils.h.
1280 (isWord): move the contents of support/textutils.h's IsWordChar here.
1286 * text2.C: add #include "paragraph.h".
1289 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1291 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1297 * LaTeX.C: use namespace alias for lyx::support::os
1299 2003-09-16 Angus Leeming <leeming@lyx.org>
1302 * bufferview_funcs.C:
1305 * paragraph_pimpl.C:
1307 * text.C: add #include "LColor.h".
1309 2003-09-16 Angus Leeming <leeming@lyx.org>
1311 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1312 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1314 Store the FontBits::color variable as an int rather than as an
1315 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1318 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1319 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1320 string calls together.
1322 * lyxrc.C: add #include "LColor.h".
1324 2003-09-15 Angus Leeming <leeming@lyx.org>
1326 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1329 2003-09-15 Angus Leeming <leeming@lyx.org>
1331 * LColor.h: add an EnumLColor wrapper for LColor::color.
1333 * lyxfont.[Ch] (color, setColor, realColor):
1334 * lyxtext.h, text.C (backgroundColor):
1335 pass EnumLColor args to/from the functions, rather than LColor::color
1339 * lyxtext.h: forward declare EnumLColor.
1341 * lyx_main.C: add #include "LColor.h".
1343 2003-09-15 Angus Leeming <leeming@lyx.org>
1345 * .cvsignore: add lyx-gtk.
1347 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1352 * ParagraphParameters.C
1356 * bufferview_funcs.C
1366 * vc-backend.C: remove usage of STRCONV
1368 2003-09-15 Angus Leeming <leeming@lyx.org>
1370 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1371 explicitly define the color passed to the painter.
1373 2003-09-15 Angus Leeming <leeming@lyx.org>
1375 * bufferparams.C (BufferParams): reorder member initializers to avoid
1378 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1380 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1381 * text.C (updateRowPositions): remove an unusual nop
1383 2003-09-12 André Pönitz <poenitz@gmx.net>
1385 * BufferView_pimpl.C:
1394 * Counters.[Ch]: finish the 'automatic counters' job
1396 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1398 * aspell.C: include <boost/assert.cpp> (compile fix)
1400 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1402 * boost.C (assertion_failed): use lyx::support::abort instead of
1405 2003-09-10 Angus Leeming <leeming@lyx.org>
1407 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1408 with their _fwd progeny.
1410 2003-09-09 Angus Leeming <leeming@lyx.org>
1412 134 files throughtout the source tree: replace 'using namespace abc;'
1413 directives with the appropriate 'using abc::xyz;' declarations.
1415 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1417 * boost.C (emergencyCleanup): moved here from LAssert.c
1418 (assertion_failed): new function, called by BOOST_ASSERT
1420 * several files: change Assert to BOOST_ASSERT
1422 2003-09-09 Angus Leeming <leeming@lyx.org>
1424 * buffer.[Ch]: Add an Impl class and move Buffer's member
1425 variables into it. As a result move several header files out of
1428 Add header files to lots of .C files all over the tree as a result.
1430 2003-09-09 Angus Leeming <leeming@lyx.org>
1432 * buffer.[Ch]: make Buffer's member variables private. Add
1435 Lots of changes all over the tree as a result.
1437 2003-09-08 Angus Leeming <leeming@lyx.org>
1439 * graph.C: #include <config.h>.
1441 2003-09-08 Angus Leeming <leeming@lyx.org>
1445 * BufferView_pimpl.C:
1474 * toc.C: remove redundant using directives.
1476 2003-09-07 Angus Leeming <leeming@lyx.org>
1478 * LaTeXFeatures.h: remove #include "support/types.h".
1479 * ToolbarBackend.h: remove #include <algorithm>.
1480 * changes.h: remove #include <ctime>.
1481 * debug.h: remove #include <iosfwd>.
1482 * graph.h: remove #include "support/std_string.h".
1483 * lyx_main.h: remove #include <csignal>.
1484 * lyxlex_pimpl.h: remove #include <fstream>.
1485 * sgml.h: remove #include <algorithm>, <utility>.
1486 * toc.h: remove #include "support/std_ostream.h".
1487 Add #include <iosfwd>.
1489 2003-09-07 Angus Leeming <leeming@lyx.org>
1491 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1493 * converter.h: forward declare LatexRunParams.
1494 * encoding.h: remove #include "lyxrc.h".
1495 * lyxtext.h: remove #include "LColor.h".
1496 * lyxtextclass.h: remove #include "support/types.h".
1497 * trans.h: remove #include "tex-accent.h".
1498 * trans_mgr.h: remove #include "tex-accent.h".
1499 * insets/inset.h: remove #include "support/types.h", <vector>.
1500 * insets/insetcollapsable.h: remove #include "LColor.h".
1501 * insets/insetinclude.h: remove #include "dimension.h".
1502 * insets/insetlatexaccent.h: remove #include "dimension.h".
1503 * insets/insetoptarg.h:: remove #include "insettext.h".
1504 * insets/insettext.h: remove #include "dimension.h",
1505 <boost/shared_ptr.hpp>
1507 * insets/renderers.h: add #include "dimension.h".
1508 * insets/updatableinset.h: add #include "support/types.h".
1510 * many .C files: Associated changes.
1512 2003-09-06 Angus Leeming <leeming@lyx.org>
1514 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1515 one, inside testInvariant.
1517 * PrinterParams.C: new file.
1518 * PrinterParams.[Ch]: move the function bodies out of line.
1520 2003-09-06 Angus Leeming <leeming@lyx.org>
1522 * ParagraphParameters.h: forward declare ParameterStruct rather than
1523 including its header file.
1524 (depth): moved out-of-line.
1526 2003-09-06 Angus Leeming <leeming@lyx.org>
1528 * BufferView_pimpl.h:
1531 * lyxfunc.h: forward declare LyXKeySym rather than
1532 #include "frontends/LyXKeySym.h".
1534 * BufferView_pimpl.C:
1537 * lyxfunc.C: associated changes.
1539 2003-09-06 Angus Leeming <leeming@lyx.org>
1541 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1542 As a result, can remove the #include "insets/inset.h" from BufferView.h
1544 2003-09-06 Angus Leeming <leeming@lyx.org>
1546 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1547 As a result, can remove the #include "insets/inset.h" from BufferView.h
1549 2003-09-06 Angus Leeming <leeming@lyx.org>
1555 * bufferview_funcs.C:
1556 * BufferView_pimpl.C:
1561 * ParagraphParameters.C:
1566 * frontends/controllers/ControlDocument.C:
1567 * insets/insetcaption.C: rearrange the #includes into some sort of
1570 * buffer.h: remove #includes ErrorList.h, undo.h
1572 2003-09-06 Angus Leeming <leeming@lyx.org>
1574 * support/types.h: add a 'depth_type' typedef, used to store the
1575 nesting depth of a paragraph.
1578 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1579 defining explicitly.
1582 * paragraph_funcs.h:
1583 * ParagraphParameters.h:
1584 * sgml.h: use lyx::depth_type rather than Paragraph or
1585 ParameterStruct's depth_type.
1588 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1591 * BufferView_pimpl.C:
1593 * ParagraphParameters.C:
1596 * bufferview_funcs.C:
1603 * frontends/LyXView.C:
1604 * frontends/controllers/ControlDocument.C:
1605 * frontends/controllers/ControlErrorList.C:
1606 * insets/insetbibitem.C:
1607 * insets/insetbranch.C:
1608 * insets/insetcaption.C:
1609 * insets/insetcollapsable.C:
1610 * insets/insetenv.C:
1611 * insets/insetert.C:
1612 * insets/insetfloat.C:
1613 * insets/insetfoot.C:
1614 * insets/insetfootlike.C:
1615 * insets/insetnewline.C:
1616 * insets/insetquotes.C:
1617 * insets/insettabular.C:
1618 * insets/insettext.C:
1619 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1621 * frontends/controllers/ControlChanges.C: #include "changes.h".
1623 2003-09-06 Angus Leeming <leeming@lyx.org>
1625 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1626 than #including paragraph.h.
1629 * RowList.h: deleted. Superfluous.
1639 * insets/insettext.h: use ParagraphList_fwd.h rather than
1642 * paragraph.h: don't forward declare ParagraphList.
1645 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1646 rather than ParagraphList.h. paragraph.h is still needed for the
1647 Paragraph::depth_type parameters.
1649 * textcursor.h: enable it to compile stand-alone in light of the
1652 * bufferview_funcs.C:
1664 * frontends/controllers/ControlParagraph.C:
1665 * frontends/controllers/ControlTabular.C:
1666 * insets/insetmarginal.C:
1667 * insets/insetminipage.C:
1668 * insets/insetnote.C:
1669 * insets/insetoptarg.C: add header files needed to compile again.
1671 2003-09-06 Angus Leeming <leeming@lyx.org>
1673 * RowList_fwd.h: new file, forward-declaring Row rather than
1674 #including lyxrow.h.
1679 * insets/insettext.h: use it instead of RowList.h
1681 * bufferview_funcs.C:
1688 * text3.C: #include "RowList.h".
1690 2003-09-05 Angus Leeming <leeming@lyx.org>
1692 * factory.C (createInset):
1693 * vspace.C (c-tor): replace sscanf call with an istringstream.
1694 * ispell.C: re-add missing HP/UX headers.
1695 * lyxserver.C: re-add missing os2 headers.
1697 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1706 * text3.C: re-add missing system headers, needed for 2.95.2.
1708 2003-09-05 Angus Leeming <leeming@lyx.org>
1710 Changes most place everywhere due to the removal of using directives
1711 from support/std_sstream.h.
1713 2003-09-05 Angus Leeming <leeming@lyx.org>
1715 Replace LString.h with support/std_string.h,
1716 Lsstream.h with support/std_sstream.h,
1717 support/LIstream.h with support/std_istream.h,
1718 support/LOstream.h with support/std_ostream.h.
1720 Changes resulting throughout the tree.
1722 2003-09-05 Angus Leeming <leeming@lyx.org>
1724 * sgml.h: ensure that the header file can be compiled stand-alone.
1725 * *.C: strip out redundant #includes. (320 in total.)
1727 2003-09-04 Angus Leeming <leeming@lyx.org>
1729 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1730 here (from getPackages).
1732 * debug.[Ch]: add a new EXTERNAL tag.
1734 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1736 * text2.C (cursorEnd): simplify
1738 (getColumnNearX): adjust
1740 * text.C (computeBidiTables): adjust
1743 * rowpainter.C (paintChars): adjust
1744 (paintSelection): adjust
1745 (paintChangeBar): adjust
1748 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1750 (numberOfSeparators): adjust
1752 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1758 * text3.C: Restricts the mouse click functionality
1759 of insets like bibtex, include, toc and floatlist to the visible
1760 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1761 up the dialogs. Cursor has to be in front of the inset (i.e.
1762 start of row) for this to function.
1764 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1766 * bufferview_funcs.C (currentState): output row information
1768 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1770 * bufferview_funcs.C (currentState): output paragraph position
1772 2003-09-04 Angus Leeming <leeming@lyx.org>
1774 * FloatList.h: move out #include "Floating.h".
1775 * LaTeX.h: move out #include "DepTable.h".
1776 * LyXAction.h: move out #include "funcrequest.h".
1777 * buffer.h: move out #include "author.h", "iterators.h".
1778 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1779 * lyx_main.h: move out #include "errorlist.h".
1780 * lyxfunc.h: move out #include "FuncStatus.h".
1781 * lyxtext: move out #include "lyxcursor.h".
1782 * paragraph_pimpl.h: move out #include "counters.h".
1784 2003-09-03 Angus Leeming <leeming@lyx.org>
1786 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1787 preamble_snippets list, enabling us to add snippets to the preamble
1788 only if the snippet was not there already.
1790 2003-09-04 Angus Leeming <leeming@lyx.org>
1792 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1794 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1796 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1799 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1801 * BranchList.C: point fix, earlier forgotten
1803 2003-09-02 Angus Leeming <leeming@lyx.org>
1805 * box.C (contains): renamed from 'contained' after a fantastic
1808 2003-09-02 John Levon <levon@movementarian.org>
1814 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1816 2003-09-02 John Levon <levon@movementarian.org>
1818 * text2.C: simplification of cursorEnd(), including partial
1821 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1823 * buffer.C (readFile): add a space
1825 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1827 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1829 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1831 * buffer.C (readFile): new function, take a filename and a
1832 ParagraphList::iterator
1834 (readFile): adjust, make it private. don't use setStream, make
1835 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1836 always contain the filename.
1838 * BufferView.C (insertLyXFile): simplify and make it work for
1841 2003-08-30 John Levon <levon@movementarian.org>
1843 * Makefile.am: fix dist (from Kayvan)
1845 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1847 * most files: change to use const Buffer refs
1849 2003-08-27 André Pönitz <poenitz@gmx.net>
1851 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1852 on top of ownerPar().
1854 2003-08-27 John Levon <levon@movementarian.org>
1856 * funcrequest.C: properly initialise POD members
1858 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1860 * lyxtext.h (top_y): move top_y from here
1865 * BufferView_pimpl.[Ch]: to here
1866 * frontends/screen.C:
1867 * insets/insettabular.C:
1868 * insets/insettext.C: adjust
1869 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1871 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1874 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1876 2003-08-26 André Pönitz <poenitz@gmx.net>
1878 * paragraph_func.[Ch] (outerPar): new function
1881 * paragraph_funcs.C:
1882 * paragraph_funcs.h:
1883 * paragraph_pimpl.C:
1884 * text2.C: remove Inset::par_owner
1886 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1891 * text2.C: eliminates the needFullRow/display() stuff
1892 altogether, putting the logic in metrics/draw in the insets.
1894 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1896 * text2.C (redoParagraphInternal, redoParagraphs):
1897 * text.C (redoParagraph): add a call to updateRowPositions at the
1898 end of each 'metrics-like' call. Remove all others.
1899 (getRow): remove the 'y-computing' version.
1900 (getRowNearY): do not compute nor return the real y. Solve the
1901 'y < 0' problem and simplify.
1903 2003-08-22 Angus Leeming <leeming@lyx.org>
1905 * *.[Ch]: clean-up of licence and author blurbs.
1906 Also move config.h out of a few .h files and into a few .C files.
1908 2003-08-22 André Pönitz <poenitz@gmx.net>
1910 * lyxrow.[Ch]: add x_ and *fill_ members
1915 * text2.C: adjust/remove prepareToPrint() calls
1917 2003-08-22 André Pönitz <poenitz@gmx.net>
1919 * lyxrow.[Ch]: add end_ member
1921 * lyxrow_funcs.C: use LyXRow::end_
1923 * lyxtext.h (singleWidth): add LyXFont parameter
1926 * text2.C: adjust LyXText::singleWidth() calls
1928 * text.C (redoParagraph): simplify row breaking logic
1931 2003-08-19 André Pönitz <poenitz@gmx.net>
1933 * funcrequest.C: initialize button_ member
1936 * rowpainter.[Ch]: interface consolidation
1938 2003-08-18 André Pönitz <poenitz@gmx.net>
1941 * BufferView_pimpl.C:
1943 * paragraph_funcs.C:
1945 * text3.C: remove LyXScreen::draw() and fitCursor calls
1947 * BranchList.h: remove spurious semicolons
1949 * MenuBackend.C: fix branchlist related crash
1951 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1959 * bufferparams.[Ch]:
1963 * text3.C: implements the 'branch inset'
1964 idea. This allows the output of various versions of a document
1965 from a single source version, selectively outputing or suppressing
1966 output of parts of the text.
1967 This implementation contains a 'branch list editor' in a separate
1968 tab of the document settings dialog. Branches are user definable
1969 and have a "display colour" to distinguish them on-screen.
1971 ColorHandler was somewhat cleaned up.
1972 (1) make possible a dynamically growing LColor list by allowing
1973 the graphic context cache to grow along (vector);
1974 (2) eliminate an IMHO unnecessary step in colour allocation.
1976 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1978 * BufferView_pimpl.C: compile fix
1980 2003-08-15 André Pönitz <poenitz@gmx.net>
1982 * rowpainter.C: remove extra metrics calls
1984 * lyxtext.h: merge the two constructors into a single one,
1985 pass reference to owner's par list
1987 * BufferView_pimpl.C:
1991 2003-08-15 André Pönitz <poenitz@gmx.net>
1993 * lyxrow_funcs.[Ch]:
1996 * paragraph_funcs.C:
2001 * text_funcs.C: split LyXText::rowlist_ into individual
2002 Paragraph::rows_ chunks
2005 * BufferView_pimpl.[Ch]:
2008 * text3.C: remove toggleSelection()
2010 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2012 * bufferlist.C: beautify two alerts (shorter text of buttons)
2013 * buffer.C: Remove redundant ' ' from message
2015 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2016 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2017 rename VALIGN_CENTER to VALIGN_MIDDLE
2019 2003-08-11 André Pönitz <poenitz@gmx.net>
2021 * lyxtext.h (getPar):
2022 * text.C: new function
2024 2003-08-11 André Pönitz <poenitz@gmx.net>
2027 * tracer.[Ch]: remove unneeded files
2029 * InsetList.[Ch]: remove resizeInsetsLyXText()
2034 * text3.C: merge insertParagraphs() and appendParagraph()
2035 remove breakAgain(), update()
2037 * BufferView_pimpl.[Ch]:
2038 * bufferview_funcs.[Ch]:
2042 * tabular.C: adjust after text & InsetList changes.
2044 2003-08-08 André Pönitz <poenitz@gmx.net>
2046 * text.C (insertChar, backspace): replace rowlist fiddling
2047 with rebreak of full par
2050 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2051 checkParagraph, updateInset): removed
2053 2003-08-07 André Pönitz <poenitz@gmx.net>
2056 * text3.C: merge some LFUN handlers, remove dead code
2058 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2060 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2062 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2064 * text2.C (DEPM): fix part of bug 1255 and 1256
2066 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2068 * BufferView_pimpl.C (workAreaDispatch): change to use
2069 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2070 that are no mouse related.
2072 2003-08-05 André Pönitz <poenitz@gmx.net>
2075 * BufferView_pimpl.[Ch]:
2076 * bufferview_funcs.C:
2078 * text3.C: rip out "deep update"
2080 * textcursor.[Ch] (last_sel_cursor): remove unused member
2082 2003-08-04 André Pönitz <poenitz@gmx.net>
2085 * BufferView_pimpl.[Ch]:
2086 * ParagraphParameters.C:
2087 * bufferview_funcs.C:
2093 * text3.C: replace "complicated" BufferView::update(...) calls with
2096 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2098 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2100 * Makefile.am (lyx_SOURCES): add paper.h
2102 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2104 * Makefile.am: move things around so that both lyx-qt and
2105 lyx-xforms can be built (according to --with-frontend). Then lyx
2106 is a symbolic link to lyx-[firstfrontend]
2108 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2110 * Always use std::endl with lyxerr
2112 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2114 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2116 2003-08-01 André Pönitz <poenitz@gmx.net>
2119 * BufferView_pimpl.[Ch]:
2121 * text3.C: merge BufferView::repaint() and BufferView::update()
2123 2003-08-01 José Matos <jamatos@lyx.org>
2125 * buffer.[Ch]: file_format is no longer a buffer data element.
2127 2003-08-01 André Pönitz <poenitz@gmx.net>
2132 * text2.C: make redoParagraph more independent of current cursor
2134 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2136 * text2.C: remove unneeded members
2138 2003-07-30 André Pönitz <poenitz@gmx.net>
2140 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2142 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2143 create a single function...
2145 * paragraph_funcs.C (moveItem): ... here.
2148 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2150 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2152 * LColor.[Ch]: Add comment and greyedout logical colors.
2154 2003-07-30 André Pönitz <poenitz@gmx.net>
2156 * tabular.C: don't use Assert too heavily. This crashes where it
2159 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2161 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2162 is disabled (bug 1232)
2164 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2166 * factory.C: limited 'arg' scope
2168 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2170 * factory.C: fixed Note submenu issues
2172 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2174 * factory.C: submenu for Note/Comment/Greyedout
2176 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2179 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2181 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2184 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2185 greyedout. Patch provided by Jürgen Spitzmüller.
2187 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2189 * kbmap.C (read): fix error message when reading bind files
2191 2003-07-29 Angus Leeming <leeming@lyx.org>
2193 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2194 certainly does not do what it purports to do. I am doing it, and
2195 us, a favour by killing it.
2197 2003-07-28 José Matos <jamatos@lyx.org>
2199 * buffer.C (readBody, do_writeFile):
2200 * paragraph.C(readParagraph): \end_document replaces \the_end.
2202 2003-07-29 André Pönitz <poenitz@gmx.net>
2205 * BufferView_pimpl.[Ch]:
2209 * textcursor.[Ch]: remove toggleToggle & Co
2211 2003-07-28 José Matos <jamatos@fep.up.pt>
2213 * buffer.C (readParagraph):
2214 * params_func (readParToken, readParagraph):
2215 * paragraph.C (write): \layout -> \begin_layout.
2217 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2219 * lyxlex_pimpl.C (setFile): clean up slightly.
2221 * bufferparams.h: add compressed var
2223 * buffer_funcs.C (readFile): adjust for LyXLex change
2224 (newFile): ditto + simplify
2226 * buffer.C (writeFile): handle writing of compressed files
2228 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2229 Check if the file is compressed and set a bufferparm if so.
2231 * Makefile.am (lyx_LDADD): remove explicit -lz
2233 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2235 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2236 makeDocBookFile): put the real LyX version in the first line of
2240 * version.C.in: remove lyx_docversion
2242 * tabular.C (write_attribute): add a template-based version to
2243 write enums properly
2245 2003-07-28 André Pönitz <poenitz@gmx.net>
2250 * text3.C: use doubles again for x-coordinates. They are needed.
2252 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2254 * messages.C (getLocaleDir): use lyx_localedir()
2256 * lyxlex_pimpl.C (setFile): compress stuff
2258 * buffer.C (writeFile): add some compression stuff
2259 (do_writeFile): new func, dont call expliti close... will this
2262 * Makefile.am (lyx_LDADD): add -lz
2264 2003-07-28 José Matos <jamatos@fep.up.pt>
2266 * buffer.C: increment file format.
2267 * paragraph_funcs (readParagraph, readParToken):
2268 * paragraph.C (readParagraph): add \end_layout.
2270 2003-07-27 Angus Leeming <leeming@lyx.org>
2272 * Makefile.am: remove special casing for configure-time setting of
2273 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2275 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2276 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2278 2003-07-26 André Pönitz <poenitz@gmx.net>
2280 * paragraph_func.[Ch]:
2281 * paragraph.C (realizeFont): inline it whereever it is used
2286 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2289 2003-07-26 André Pönitz <poenitz@gmx.net>
2293 * text2.C: get rid of LyXText::need_break_row
2295 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2297 * toc.[Ch]: put namespace toc inside namespace lyx
2299 * MenuBackend.C (expandToc2): adjust for lyx::toc
2302 * lyxfunc.C (dispatch): adjust for lyx::find
2304 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2305 lyx::find instead. Reorganize a bit.
2306 (LyXReplace): rename to replace
2307 (LyXFind): rename to find
2309 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2312 2003-07-26 André Pönitz <poenitz@gmx.net>
2314 * text.C (setHeightOfRow): restrict scope of temporary variable
2316 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2317 code (never has been used?)
2319 2003-07-27 Asger Alstrup <alstrup@local>
2321 * text.C (fill): Optimise algorithm to exploit that we can reuse
2322 the LyXFont for many characters.
2323 (setHeightOfRow): Same thing.
2324 (rowBreakPoint): Same thing.
2326 2003-07-26 Asger Alstrup <alstrup@local>
2328 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2330 * text.C (singleWidth): Spurious font copying in hot-spot
2331 singleWidth avoided. Reorder tests for arabic for efficiency.
2333 * text.C (fill): handle empty paragraphs better.
2335 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2338 * encoding.h: add includes
2340 * lyxrc.C: remove reading of bind files
2342 * lyx_main.C (init): setup bindings and menus only if we have a
2345 * kbmap.C (read): new method. Do the actual reading of bind
2348 * converter.C (dvipdfm_options):
2351 (output): adapt PAPER_* enums.
2353 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2355 * bufferparams.h: remove paper-related enums from there
2357 * paper.h: New file. A trivial header file to hold paper-related
2358 enums. It should later expand to contain many paper-related
2361 * lyxrc.C: declare extern displayTranslator
2363 2003-07-27 José Matos <jamatos@fep.up.pt>
2365 * tabular.[Ch] (linuxdoc): add support for tables and figures
2368 2003-07-27 José Matos <jamatos@fep.up.pt>
2370 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2371 consistency in both functions.
2372 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2374 2003-07-26 Asger Alstrup <alstrup@local>
2376 * rowpainter.C (paintRows): Change algorithm to work directly on
2377 the insets rather than asking every character in the document
2378 whether its an inset.
2380 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2382 * buffer.C (openFileWrite): factorize some code
2384 2003-07-26 Angus Leeming <leeming@lyx.org>
2387 * lyx_main.[Ch]: replace occurances of system_tempdir with
2390 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2392 * rename Inset to InsetOld
2394 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2396 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2397 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2398 which I think is a bit clearer. EDIT is gone, since it was
2399 premature optimisation, and broken for mathed anyway.
2400 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2401 with cursor positioning in insets as well (math insets still do not
2402 work, but that's a different story anyway.) It mysteriously
2403 crashes sometimes with undo in the first paragraph, but I'm fairly
2404 confident that this is a compiler bug.
2406 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2408 * paragraph.C (Paragraph): adjust for new clone return type
2410 (copyIntoMinibuffer): ditto
2412 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2414 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2415 by not having a special case, and always doing a full rebreak of
2416 the document after undo.
2418 2003-07-23 Angus Leeming <leeming@lyx.org>
2420 * factory.C (createInset): InsetExternal::setParams now takes a
2423 2003-07-23 Angus Leeming <leeming@lyx.org>
2425 * factory.C (createInset): changed interface to the external and
2426 graphics mailers' string2params functions.
2428 2003-07-23 Angus Leeming <leeming@lyx.org>
2430 * factory.C (createInset): pass a
2431 Buffer const * parameter to InsetExternalMailer's string2params.
2433 2003-07-22 John Levon <levon@movementarian.org>
2435 * Thesaurus.h: include the right aiksaurus header
2437 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2439 * MenuBackend.C (expand): check menu shortcuts unconditionally
2441 2003-07-21 Angus Leeming <leeming@lyx.org>
2443 * factory.C (createInset): pass a
2444 buffer_path parameter to InsetGraphicsMailer's string2params.
2446 2003-07-21 Angus Leeming <leeming@lyx.org>
2448 * BufferView_pimpl.C (buffer):
2451 * lyxfunc.C (dispatch):
2452 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2453 rather than the grfx shortcut.
2455 2003-07-21 André Pönitz <poenitz@gmx.net>
2457 * rowpainter.C: remove unused variables
2460 * tabular_funcs.h: move to tabular.C
2461 * Makefile.am: adjust
2463 * tabular.[Ch]: basic optical cleaning
2465 * author.h: pass references, not values
2467 2003-07-18 André Pönitz <poenitz@gmx.net>
2475 * text3.C: two-phase drawing for InsetText and InsetTabular
2476 some float -> int changes.
2478 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2480 * lyx_main.C: fix the fix
2482 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2484 * lyx_main.C: fix a crash in batch mode if no files specified
2487 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2489 * format.[Ch] (papersize): moved to BufferParams
2490 * converter.[Ch] (dvips_options): moved to BufferParams
2491 (dvipdfm_options): moved to anon namespace
2492 * bufferparams.[Ch]: added above functions.
2494 2003-07-17 André Pönitz <poenitz@gmx.net>
2498 * text2.C: don't call inset->update() anymore
2500 * metricsinfo.[Ch]: add convenience constructor
2502 2003-07-16 André Pönitz <poenitz@gmx.net>
2507 * text2.C: replace the LyXCursor::irow_ member with
2508 on-demand computation of the value
2510 2003-07-16 John Levon <levon@movementarian.org>
2512 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2514 2003-07-15 André Pönitz <poenitz@gmx.net>
2517 * text2.C: remove no more needed refresh_row
2519 2003-07-15 André Pönitz <poenitz@gmx.net>
2524 * text3.C: refresh_status tristate -> need_update bool
2526 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2528 * lyxtext.h (init): remove reinit argument (act as if always true)
2529 * text2.C: adjust to that
2531 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2533 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2534 * text3.C: use it to delete selections in some cases
2535 (bugs 441, 673, 702, 954).
2537 2003-07-14 André Pönitz <poenitz@gmx.net>
2539 * rowpainter.[Ch]: reduce interface
2541 2003-07-14 André Pönitz <poenitz@gmx.net>
2543 * BufferView_pimpl.C:
2544 * text2.C: adjust after removing unused BufferView * argument
2546 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2548 * text2.C (init): fix a crash fired on resize
2550 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2552 * buffer.[Ch]: added new closing signal
2553 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2554 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2555 BufferView::Pimpl via the closing the signal
2557 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2559 * buffer.[Ch]: take out all bv-related from buffer
2561 * BufferView_pimpl.[Ch]: connect to new signals
2562 * CutAndPaste.C: removed useless asserts
2563 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2566 * lyxfunc.C: moved view-related funciontality from vc here
2567 * paragraph.C: removed outdated comments
2570 2003-07-10 André Pönitz <poenitz@gmx.net>
2572 * BufferView_pimpl.C:
2576 * text2.C: remove InsetText::InnerCache, clean up consequences
2578 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2580 * ispell.C: fix two typos in error messages
2582 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2584 * Extend Note inset to other forms of annotation like Comment
2585 and Greyedout. Right button click gives dialog.
2587 Files modified or added (+):
2591 * ControlNote.[Ch] +
2593 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2594 frontends/controllers
2598 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2600 * aspell.C: add missing namespace lyx::support
2602 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2604 * BufferView.[Ch] (newFile): Add
2605 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2606 * LaTeX.[Ch] (message): added this signal and use it
2607 * buffer.[Ch] (busy, message): added these signals and use them
2608 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2612 * importer.C: use buffer signals instead of direct bv calling
2613 * lyx_cb.[Ch] (ShowMessage): removed
2616 * paragraph_funcs.C:
2617 * text2.C: use buffer signals
2619 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2621 * introduce namespace lyx::graphics
2623 2003-07-02 André Pönitz <poenitz@gmx.net>
2625 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2627 2003-07-01 André Pönitz <poenitz@gmx.net>
2634 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2635 text*.C to text_func.C
2637 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2639 * introduce namespace lyx::support
2641 2003-06-30 André Pönitz <poenitz@gmx.net>
2646 * text.C: re-enable --with-included-string
2648 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2650 * textcursor.C: add <config.h>
2652 * text.C (getWord): remove const from word_location arg
2654 * lyxvc.C (getLogFile): fix const type order
2656 * lyxtext.h: remove const from word_location arg, add arg name
2658 * lyxlayout.h: currect type on labeltype.
2660 * importer.C: correct \file
2662 * converter.C (intToFormat): use std:: on ret val, ws changes
2664 * bufferlist.h: correct \file
2666 * buffer.C (makeLinuxDocFile): fix const type order
2667 (makeDocBookFile): ditto
2668 (fillWithBibKeys): use std:: on stdlib args.
2670 * CutAndPaste.C: fix authors.
2671 (availableSelections): use std:: on return vector
2673 2003-06-27 André Pönitz <poenitz@gmx.net>
2675 * BufferView_pimpl.C:
2676 * bufferview_funcs.C:
2684 * text3.C: remove LyXCursor::row_ member
2687 * text.C: rename fullRebreak() to partialRebreak() and implement
2688 a fullRebreak() that really bereks fully
2690 * textcursor.h: new struct for cursor-related data
2692 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2694 * lyx_main.C (LyX): get full path of document loaded on the
2697 2003-06-26 André Pönitz <poenitz@gmx.net>
2699 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2700 remove unused/broken operator>,<,>=.
2702 * text.C: remove only use of broken operator<= in an Assert().
2704 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2706 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2707 moved errorlist_.clear to showErrorList
2709 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2711 * converter.C (scanLog, runLaTeX):
2712 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2713 move the bv->showErrorList call to the callers
2714 * lyxfunc.C: i.e. here...
2716 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2717 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2718 namespace, the second to...
2719 * buffer_funcs (BufferFormat, parseErrors): added
2720 * errorlist.C (ErrorList(TeXErrors const &)): removed
2722 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2724 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2726 2003-06-24 "Garst R. Reese" <reese@isn.net>
2730 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2732 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2734 * version.C.in: change docversion to 1.4
2736 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2738 * buffer.C: fix a bug just introduced
2740 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2742 * buffer.[Ch]: added the parseError signal and use it, removed
2744 * BufferView.[Ch] (addError): moved to ...
2745 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2746 to the Buffer::parseError signal to catch (guess what) parse errors
2747 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2749 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2751 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2752 ability to create a buffer and to return an existing one from
2753 the list. Moved these functions to...
2754 * buffer_funcs.[Ch]: added
2755 * BufferView.[Ch] (loadLyXFile): added
2756 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2757 job removed from bufferlist::loadLyXFile.
2758 * buffer.C (setReadOnly): make it work without view
2759 (i.e added an if (users))
2761 2003-06-19 Angus Leeming <leeming@lyx.org>
2764 * LyXAction.C (init):
2765 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2766 with LFUN_DIALOG_SHOW <name> <data>.
2768 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2770 * CutAndPaste.C (availableSelections): small compilation fix for
2771 ancient (gcc 2.9x) compilers
2773 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2775 * text3.C (cursorNext): add tmp var
2777 * text2.C (updateCounters): for function calling out of for clause
2778 (replaceSelectionWithString): ditto
2779 (insertStringAsParagraphs): ditto
2780 (getColumnNearX): add tmp var
2781 (setCursorFromCoordinates): add tmp var
2782 (cursorDownParagraph): add tmp var
2783 (deleteEmptyParagraphMechanism): add tmp var
2785 * text.C (insertChar): add tmp var
2787 * rowpainter.C (paintDepthBar): add tmp var
2789 * CutAndPaste.C (availableSelections): potentially check all
2790 paragraphs in a cut to fill the shown strings.
2792 2003-06-18 André Pönitz <poenitz@gmx.net>
2794 * kbmap.[Ch]: use vector<> instead of list<>
2796 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2798 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2799 pasteSelection with index
2801 * text2.C (pasteSelection): modify, call pasteSelection with index
2803 * paragraph.C (asString): reimplement version with no interval to
2804 call the one with interval.
2806 * lyxtext.h: add index arg to pasteSelection
2808 * MenuBackend.C (MenuItem): handle PasteRecent
2809 (Menu::read::Menutags): add md_pasterecent
2811 (expandPasteRecent): new function
2814 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2816 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2818 (availableSelections): new function
2820 2003-06-17 Angus Leeming <leeming@lyx.org>
2822 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2824 2003-06-17 Angus Leeming <leeming@lyx.org>
2827 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2829 * lyxfunc.C (dispatch): invoke it.
2831 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2833 * iterators.C (operator++, ParPosition): reintroduce some
2834 const_cast for the benefit of older compilers.
2836 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2838 * text3.C (dispatch): do not modify clipboard when doing
2839 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2840 LFUN_DELETE_SKIP on a selection selection
2842 2003-06-16 André Pönitz <poenitz@gmx.net>
2848 * tabular.[Ch]: IU of clone() and getLabelList();
2850 2003-06-13 André Pönitz <poenitz@gmx.net>
2852 * tabular.h: compactification
2854 2003-06-12 André Pönitz <poenitz@gmx.net>
2858 * tabular_funcs.h: some renaming plus whitespace
2860 2003-06-12 André Pönitz <poenitz@gmx.net>
2863 * BufferView_pimpl.C:
2869 * toc.C: Return a Paragraph & for ParIterator::operator*()
2871 2003-06-11 John Levon <levon@movementarian.org>
2875 * ToolbarBackend.C: add "Toolbars" section and
2878 2003-06-10 Angus Leeming <leeming@lyx.org>
2881 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2883 * lyxfunc.C (dispatch): invoke it.
2885 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2887 * main.C: protect <ios> with HAVE_IOS
2888 (main): protect sync_with_stdio with HAVE_IOS
2890 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2892 * text2.C (cutSelection): adjust
2893 (pasteSelection): adjust
2895 * messages.C: handle get of empty string
2897 * main.C (main): use sync_with_stdio(false)
2899 * lyxfunc.C (dispatch): adjust
2901 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2902 (WriteAs): remove unneeded BufferView arg.
2904 * bufferparams.h: use correct types on papersize, papersize2 and
2907 * bufferparams.C (readToken): adjust for type
2908 (writeLaTeX): add missing cases to switch.
2910 * bufferlist.C (quitWriteBuffer): adjust
2913 * buffer.C (asciiParagraph): remove some commented code.
2915 * CutAndPaste.C: remove current_view extern variable.
2916 (cutSelection): add BufferParams arg.
2917 (eraseSelection): add BufferParams arg.
2918 (pasteSelection): add Buffer const & arg
2920 2003-06-07 John Levon <levon@movementarian.org>
2923 * paragraph_funcs.C:
2924 * paragraph_pimpl.C:
2928 * paragraph.C: allow InsetERT to freely space lines,
2929 and some consolidation of code
2931 2003-06-06 José Matos <jamatos@fep.up.pt>
2933 * buffer.C (makeDocBookFile): fix bug #821
2935 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2937 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2939 2003-06-04 Angus Leeming <leeming@lyx.org>
2941 * buffer.C: bump format to 224.
2943 2003-06-05 André Pönitz <poenitz@gmx.net>
2945 * text2.C (redoParagraphs): remove two const_cast<>
2947 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2949 * ParagraphList.h: remove last remnants of NO_STD_LIST
2951 2003-06-03 Angus Leeming <leeming@lyx.org>
2953 * factory.C (createInset): small change to the way InsetExternal's params
2956 2003-06-04 André Pönitz <poenitz@gmx.net>
2958 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2960 * paragraph_pimpl.h:
2961 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2963 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2965 * undo_funcs.C: make some simple cases of undo work again
2967 2003-06-03 John Levon <levon@movementarian.org>
2969 * ispell.C: HPUX doesn't have sys/select.h
2972 2003-06-03 John Levon <levon@movementarian.org>
2974 * CutAndPaste.C: update tabular and include inset
2979 * paragraph.C: remove owningBuffer(), don't pass Buffer
2982 * factory.C: insetGraphicsParams changed
2984 2003-06-02 John Levon <levon@movementarian.org>
2990 * text3.C: remove insetparent
2992 2003-06-02 John Levon <levon@movementarian.org>
2995 * buffer.C: fix inset_iterator.end(), move out of line
2998 2003-06-01 John Levon <levon@movementarian.org>
3000 * text3.C: use a proper cut/paste when doing inset
3001 insert (from Jürgen Spitzmüller)
3003 2003-06-01 John Levon <levon@movementarian.org>
3005 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3007 2003-05-30 André Pönitz <poenitz@gmx.net>
3009 * rowpainter.C: unify second drawing phase
3011 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3013 * trans_mgr.C: remove one case of current_view
3015 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3017 * paragraph_funcs.h: remove paragraph.h include
3019 * paragraph.h: delete NO_STD_LIST stuff
3021 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3023 * buffer.h: remove paragraph.h include
3025 * ParagraphList.C: delete file
3027 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3029 * toc.C (getTocList): adjust
3031 * paragraph_pimpl.C (validate): adjust
3033 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3035 * paragraph.C (Paragraph): adjust
3036 (getPositionOfInset): use const_iterator, adjust
3037 (bibitem): use const_iterator, adjust
3038 (setInsetOwner): adjust
3040 * iterators.C (operator++): adjust
3042 * InsetList.[Ch]: Replace selfmade iterator with standard
3043 vector::iterator also introduce const_iterator. Remove getPos,
3044 getInset and setInset from InsetTable. Adjust accordingly.
3046 * BufferView.C (lockInset): adjust
3047 (ChangeInsets): adjust
3049 * tabular.[Ch]: delete commented same_id functions
3051 2003-05-28 John Levon <levon@movementarian.org>
3053 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3055 2003-05-28 André Pönitz <poenitz@gmx.net>
3057 * metricsinfo.[Ch]: remove 'fullredraw' member
3059 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3061 * lyxtextclass.C (operator): remove caching.
3063 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3067 * text2.C (cursorBottom): adjust
3068 (setCounter): use ParagraphList::find, adjust
3070 * text.C (workWidth): use ParagraphList::find, adjust
3072 * lyxcursor.C (LyXCursor): adjust
3074 * buffer.C (inset_iterator): adjust
3076 * ParagraphList.h: make iterator(value_type) private, make
3077 ParagraphList a friend of iterator.
3079 * ParagraphList.C (find): new function
3081 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3083 2003-05-27 André Pönitz <poenitz@gmx.net>
3085 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3087 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3089 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3091 2003-05-26 John Levon <levon@movementarian.org>
3093 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3095 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3097 * remove same_id from function signatures, adjust.
3099 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3101 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3103 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3105 * paragraph.C (Paragraph): get rid of same_ids parameter
3107 * ParagraphList.C (insert): adjust
3110 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3112 * paragraph_funcs.C (breakParagraph): adjust
3113 (breakParagraphConservative): adjust
3115 * buffer.C (readParagraph): adjust
3117 * ParagraphList.C (insert): take a reference instead of a pointer
3120 * paragraph.[Ch] (id): new function
3122 * bufferlist.C (newFile): adjust
3124 * ParagraphList.C (ParagraphList): adjust
3126 (push_back): take a reference instead of a pointer.
3128 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3130 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3133 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3134 set else use old code.
3136 * ParagraphList.C: remove all NO_NEXT code and only compile this
3137 code of NO_STD_LIST is set.
3139 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3141 * BufferView_pimpl.C:
3151 * graphics/GraphicsConverter.C:
3152 * graphics/PreviewLoader.C: header adjustment
3154 2003-05-23 Angus Leeming <leeming@lyx.org>
3156 * LaTeXFeatures.[Ch] (useBabel): new method.
3157 * bufferparams.C (writeLaTeX): use it.
3159 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3161 * ParagraphList.h (set): remove unused function.
3163 2003-05-23 André Pönitz <poenitz@gmx.net>
3166 * BufferView_pimpl.C:
3170 * undo_funcs.C: setUndo reworked
3172 * iterators.[Ch]: add access to topmost ParagraphList
3174 * lyxtext.[Ch] (workWidth): add a const
3176 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3178 * texrow.[Ch] (increasePos): remove function
3179 * exporter.C (export): removed unused var and outdated comment
3181 2003-05-23 Angus Leeming <leeming@lyx.org>
3183 * latexrunparams.h: rename fragile as moving_arg.
3184 * paragraph.C (simpleTeXOnePar): ditto.
3185 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3187 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3189 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3191 (textUndoOrRedo): comment out a currently unused var.
3193 * paragraph.h (NO_NEXT): enable NO_NEXT
3195 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3197 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3199 * exporter.C (Export): adjust for removeAutoInsets removal.
3201 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3203 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3205 * BufferView.[Ch] (removeAutoInsets): delete function
3207 2003-05-22 Angus Leeming <leeming@lyx.org>
3209 * latexrunparams.h: add a free_spacing variable.
3211 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3212 to pass moving_arg, as the data is stored in runparams.fragile.
3214 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3215 to Inset::latexOptional or to simpleTeXOnePar.
3217 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3218 free_spacing arg to Inset::latexOptional.
3220 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3223 2003-05-22 Angus Leeming <leeming@lyx.org>
3225 * latexrunparams.h: add fragile and use_babel variables.
3227 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3228 * buffer.C (makeLaTeXFile): store this returned value in
3229 runparams.use_babel, thus passing it to the inset::latex methods.
3231 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3232 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3234 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3235 longer has a fragile arg, as it is stored in runparams.fragile.
3237 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3238 moving_arg parameter as the data is stored in runparams.fragile.
3240 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3241 a fragile parameter as the data is stored in runparams.fragile.
3243 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3245 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3247 2003-05-22 Angus Leeming <leeming@lyx.org>
3249 * latexrunparams.h: add a 'bool nice' which defaults to false.
3251 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3252 now encapsulated within runparams.
3254 * bufferlist.C (updateIncludedTeXfiles):
3255 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3257 2003-05-22 Angus Leeming <leeming@lyx.org>
3259 * latexrunparams.h: new file containing struct LatexRunParams.
3260 * Makefile.am: add new file.
3262 * LaTeX.[Ch] (c-tor, run):
3263 * buffer.[Ch] (makeLaTeXFile):
3264 * bufferlist.[Ch] (updateIncludedTeXfiles):
3265 * converter.C (convert, scanLog):
3266 * converter.[Ch] (runLaTeX):
3267 * exporter.C (Export):
3268 * paragraph.[Ch] (simpleTeXOnePar):
3269 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3270 * paragraph_funcs.[Ch] (latexParagraphs):
3271 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3272 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3273 pass around a LatexRunParams parameter.
3275 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3277 * paragraph.[Ch]: remove unused constructor
3279 * ParagraphList.C (erase): new function, taking two iterators
3281 2003-05-22 André Pönitz <poenitz@gmx.net>
3283 * undo_funcs.C: remove duplicated code
3285 * iterator.[Ch]: operator=
3287 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3289 * tabular.C (SetMultiColumn): ws changes
3291 * rowpainter.C (paintFirst): get rid of a ->previous
3293 * lyx_cb.C (getPossibleLabel): parlist simplification
3295 * BufferView.C (ChangeInsets): simplify slightly.
3297 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3299 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3300 * lfuns.h: new LFUN_SPACE
3301 * lyxfunc.C: protected space has a new lfun
3302 * paragraph_funcs.C: read new space insets
3304 * factory.C: handle new space insets
3306 2003-05-22 André Pönitz <poenitz@gmx.net>
3309 * BufferView_pimpl.C:
3312 * undo_funcs.C: return a ParIterator from getParFromID.
3314 * iterators.[Ch]: add two const's
3316 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3318 * toc.C (getTocList): adjust
3320 * iterators.[Ch]: rework for parlist
3322 * buffer.C (par_iterator_begin): adjust
3323 (par_iterator_end): adjust
3325 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3327 * BufferView.C (removeAutoInsets): adjust
3328 (ChangeInsets): adjust
3330 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3332 * text.C (top_y): fix bug 1110
3334 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3336 * errorlist.[Ch]: added
3339 * BufferView_pimpl.C:
3340 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3343 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3345 * Makefile.am: ensure that lyx is relinked upon changes to the
3346 various "convenience" libs.
3348 2003-05-20 Angus Leeming <leeming@lyx.org>
3350 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3351 files are compiled in alphabetical order again.
3353 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3355 2003-05-19 Angus Leeming <leeming@lyx.org>
3357 * gettext.[Ch]: remove "char const * _(char const *)".
3359 2003-05-19 André Pönitz <poenitz@gmx.net>
3361 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3370 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3372 2003-05-19 André Pönitz <poenitz@gmx.net>
3376 * lyxtextclass.[Ch]:
3378 * paragraph_funcs.[Ch]:
3380 * text3.C: more insetenv work
3382 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3384 * ParagraphParameters.C (params2string): small bug fixed
3386 2003-05-16 André Pönitz <poenitz@gmx.net>
3389 * bufferview_funcs.C: patch from Kornel Benko to prevent
3390 crash when _(...) is called twice in a statement
3392 2003-05-16 André Pönitz <poenitz@gmx.net>
3399 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3401 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3403 * lyx_main.C (init): remove spurious static_cast
3405 2003-05-14 André Pönitz <poenitz@gmx.net>
3407 * BufferView.C: fix format string
3409 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3411 * BufferView.[Ch] (insertErrors): removed
3412 * BufferView.[Ch] (showErrorList): added
3413 * buffer.C (runChkTeX):
3414 * converter.C (scanLog): call showErrorList instead of inserterrors
3416 2003-05-13 André Pönitz <poenitz@gmx.net>
3418 * BufferView_pimpl.C:
3420 * bufferview_func.C:
3427 * tabular_funcs.h: tostr() from its own header
3429 * ParagraphParameters.C:
3434 * text3.C: STRCONV()
3436 2003-05-12 André Pönitz <poenitz@gmx.net>
3439 * BufferView_pimpl.C:
3443 * ParagraphParameters.C:
3447 * bufferview_funcs.C:
3460 * paragraph_funcs.C:
3464 * text3.C: boost::format -> bformat all over the place
3467 2003-05-09 André Pönitz <poenitz@gmx.net>
3469 * LColor.[Ch]: Pimpl the #include <map> away
3471 2003-05-09 John Levon <levon@movementarian.org>
3473 * bufferlist.C: never remove emergency saves
3475 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3477 * Makefile.am: better lib building
3479 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3481 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3483 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3484 (simpleTeXSpecialChars): adjust
3485 (simpleTeXSpecialChars): adjust
3486 * paragraph.C (simpleTeXOnePar): adjust
3487 * buffer.C (makeLaTeXFile): adjust
3489 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3491 * text2.C (changeDepth): parlist cleanup
3492 (getColumnNearX): ditto
3494 * rowpainter.C (getLabelFont): parlist cleanup
3496 * bufferlist.C (newFile): parlist cleanup
3498 * CutAndPaste.C (eraseSelection): parlist cleanup
3500 * BufferView_pimpl.C (trackChanges): parlist cleanup
3503 * BufferView.C (lockInset): parlist cleanup.
3504 (ChangeInsets): ditto
3506 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3508 * CutAndPaste.h: Update file header.
3510 * CutAndPaste.C: Update file header.
3511 Store the parts cut out of the Document in a limited_stack.
3512 (copySelection): adjust
3513 (pasteSelection): new function, takes the index in the limited stack.
3514 (nrOfParagraphs): adjust
3515 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3516 simplify error inset insertion.
3517 (checkPastePossible): adjust
3519 2003-05-06 John Levon <levon@movementarian.org>
3521 * text2.C: don't cast wrap inset to float
3523 2003-05-05 André Pönitz <poenitz@gmx.net>
3526 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3528 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3529 few naked Paragraph *.
3531 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3533 * bufferparams.C: Output warning if a document with missing
3534 TeX document class is loaded
3535 * exporter.C: Disable TeX exports if the document class is missing
3538 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3539 isTeXClassAvailable()
3541 2003-05-03 John Levon <levon@movementarian.org>
3544 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3545 explicit cursor show/hide
3547 * BufferView_pimpl.h:
3548 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3549 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3551 * lyxfunc.C: hide cursor before dispatching.
3556 * text3.C: remove explicit cursor hides
3558 2003-05-02 André Pönitz <poenitz@gmx.net>
3560 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3563 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3566 * text2.C: tiny whitespace
3568 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3570 * undo_funcs.C: almost only ws changes.
3572 * ParagraphList.C (splice): just return if pl is empty.
3574 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3576 * ParagraphList.C (splice): new function.
3578 * CutAndPaste.C (pasteSelection): use it
3580 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3582 * CutAndPaste.C (pasteSelection): remove the last next and
3583 previous from this file.
3585 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3587 * CutAndPaste.C (pasteSelection): more clean up, user proper
3588 ParagraphList functions for pasteing.
3590 * ParagraphList.C (insert): new function, three arg insert
3592 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3594 * ParagraphList.C (insert): new function, three arg insert
3596 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3599 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3601 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3603 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3605 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3607 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3609 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3610 (copySelection): clean up a bit.
3611 (pasteSelection): use make_pair
3613 * ParagraphList.C (ParagraphList): implement copy constructor
3614 (operator=): implement, base on copy constructor.
3617 * paragraph.C (erase): return a bool
3619 * paragraph_pimpl.C (erasePos): remove function, move contents...
3620 (erase): ... here. Return a bool.
3621 (erase): call erase instead of erasePos.
3623 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3625 * ParagraphList.h: define PitPosPair
3626 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3627 ParagraphList, fix a bug on pasting multiple pars
3628 * text2.C: change interface to C&P
3630 2003-04-30 André Pönitz <poenitz@gmx.net>
3632 * undo_func.C: revert part of yesterday's patch 2
3634 2003-04-30 John Levon <levon@movementarian.org>
3636 * LColor.C: s/tabular/table/
3638 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3640 * text3.C (dispatch): do not convert iterator -> pointer
3641 * undo_funcs.C (setCursorParUndo): ditto
3642 * text_funcs.C (transposeChars): ditto
3644 * text2.C (setLayout): ws changes only
3646 * text.C (breakParagraph): do not convert iterator -> pointer
3648 (acceptChange): ditto
3649 (rejectChange): ditto
3654 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3657 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3659 * text3.C (gotoInset): YABG (yet another bad getChar)
3661 2003-04-29 André Pönitz <poenitz@gmx.net>
3663 * paragraph.h: make operator= private unimplemented as long as
3666 * ParagraphList.C: whitespace
3669 * paragraph_pimpl.[Ch]:
3670 * paragraph_funcs.C:
3672 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3675 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3677 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3679 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3680 * paragraph.[Ch] (erase):
3681 * paragraph_pimpl.[Ch] (erase): change return type and value
3682 * text2.C (cutSelection): some rework
3684 2003-04-28 John Levon <levon@movementarian.org>
3686 * bufferlist.C: changes for unsaved changes dialog
3688 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3690 * bufferlist.C (newFile): set language (messages_) for new
3693 * buffer.C (readFile): ws changes only.
3695 2003-04-28 André Pönitz <poenitz@gmx.net>
3700 * BufferView_pimpl.C:
3701 * BufferView.C: getParFromID related ParagraphList::iterator changes
3703 2003-04-28 André Pönitz <poenitz@gmx.net>
3705 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3708 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3710 * messages.C: remove one more localedir class variable.
3712 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3714 * messages.C (getLocaleDir): singleton generation function
3716 (Messages): add a default constructor.
3718 * main.C (main): do not setup localedir here, do not call
3721 * gettext.C (_): use it.
3722 (gettext_init): delete funciton
3724 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3726 * gettext.C (getLyXMessages): new singleton generating function.
3728 * buffer.C (updateDocLang): adjust
3730 * Makefile.am (messages.o): add target
3731 (main.o): remove target
3733 2003-04-27 John Levon <levon@movementarian.org>
3738 * lyxvc.C: specify cancel button in Alert::prompt
3740 2003-04-26 John Levon <levon@movementarian.org>
3745 * LyXAction.C: add LFUN_INSET_SETTINGS
3747 * lyxfunc.C: don't enable tabular-feature when there's
3748 just any locking inset
3750 2003-04-26 John Levon <levon@movementarian.org>
3752 * bufferlist.C: re-add Cancel to buffer close question
3754 * lyxfunc.C: fix import UI a bit
3756 2003-04-25 John Levon <levon@movementarian.org>
3758 * gettext.C: remove the broken asserts for now
3760 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3762 * messages.C: make case where setlocale cannot comply work better.
3764 * buffer.C (updateDocLang): new function
3765 (changeLanguage): use it
3768 * text2.C (setCounter): use B_ a bit.
3770 * lyxlayout.C (Read): be sure to trim the label strings.
3772 * messages.C (Messages): fix typo in comment
3774 * buffer.C (readFile): set message_ after file is loaded.
3775 (makeDocBookFile): remove double return
3776 (changeLanguage): reset message_ upon language change.
3777 (B_): new func, use this to get translated buffer strings.
3779 * main.C: add myself and Jean Marc as authors.
3781 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3783 * messages.[hC]: pimplify Messages, and three different pimpls to be
3784 used in different circumstances.
3786 * gettext.[Ch]: change for use with new message code.
3788 2003-04-24 André Pönitz <poenitz@gmx.net>
3790 * factory.C: support for eqref
3792 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3794 * messages.[Ch]: add missing char
3796 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3798 * messages.[Ch]: New files
3800 2003-04-18 John Levon <levon@movementarian.org>
3804 * BufferView_pimpl.C:
3808 * text2.C: remove layout-copy/paste (bug 778)
3810 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3812 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3814 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3816 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3817 if they succeed. Act accordingly.
3819 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3821 * text2.C (setCharFont): adjust
3822 (setCounter): adjust
3823 (insertStringAsLines): adjust
3825 * text.C (leftMargin): adjust
3826 (setHeightOfRow): adjust
3828 * rowpainter.C (paintFirst): adjust
3831 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3833 (isFirstInSequence): ditto
3834 (getEndLabel): ditto
3837 * paragraph.C (getParLanguage): comment out some hard stuff.
3839 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3841 (simpleDocBookOnePar): ditto
3842 (makeDocBookFile): use ParagraphList::iterator
3844 * CutAndPaste.C (pasteSelection): adjust
3846 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3848 * text2.C (getFont): adjust
3849 (getLayoutFont): adjust
3850 (getLabelFont): adjust
3852 * paragraph_funcs.C (TeXOnePar): adjust
3854 * buffer.C (simpleLinuxDocOnePar): adjust
3855 (simpleDocBookOnePar): adjust
3857 * CutAndPaste.C (pasteSelection): adjust
3859 * BufferView.C (getEncoding): adjust
3861 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3863 2003-04-16 John Levon <levon@movementarian.org>
3865 * lyxfind.C: use parlist stuff for search/changes
3867 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3869 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3871 * text2.C (deleteEmptyParagraphMechanism): adjust
3873 * text2.[Ch] (ownerParagraph): delete func (both of them
3875 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3877 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3879 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3881 * ParagraphList.C: prepare for NO_NEXT
3883 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3885 * text2.C (getFont): adjust
3886 (getLayoutFont): adjust
3887 (getLabelFont): adjust
3889 * paragraph.C (getFont): adjust
3890 (getLabelFont): adjust
3891 (getLayoutFont): adjust
3893 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3895 2003-04-15 John Levon <levon@movementarian.org>
3899 * lyx_main.C: handle Include in .ui files
3901 2003-04-15 John Levon <levon@movementarian.org>
3903 * MenuBackend.C: make the doc files length shorter
3906 * ToolbarBackend.C: handle toolbar placement flags,
3909 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3911 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3914 * paragraph_funcs.C (TeXOnePar): adjust
3916 * paragraph.C (getLabelFont): add outerfont arg, adjust
3917 (getLayoutFont): ditto
3918 (simpleTeXOnePar): adjust
3920 * paragraph_pimpl.C (realizeFont): delete func
3922 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3924 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3925 row argument, constify cur argument.
3927 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3929 * text2.C (getFont): adjust
3930 (getLayoutFont): adjust
3931 (getLabelFont): adjust
3933 * paragraph_funcs.C (TeXOnePar): adjust
3934 (outerFont): new func...
3935 (realizeFont): ...moved out from here, changed this to facilitate
3938 * paragraph.C (getFont): take outerfont as arg, adjust
3939 (simpleTeXOnePar): add outerfont arg, adjust
3941 * buffer.C (simpleLinuxDocOnePar): adjust
3942 (simpleDocBookOnePar): adjust
3944 * CutAndPaste.C (pasteSelection): adjust
3946 * BufferView.C (getEncoding): adjust
3948 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3950 * text2.C (setCharFont): adjust
3951 (setCounter): adjust
3953 * text.C (leftMargin): adjust
3954 (setHeightOfRow): adjust
3956 * rowpainter.C (paintFirst): adjust
3959 * paragraph_pimpl.C (realizeFont): adjust
3961 * paragraph.C (isFirstInSequence): move from here...
3962 * paragraph_funcs.C (isFirstInSequence): ...to here
3964 * paragraph.C (outerHook): move from here...
3965 * paragraph_funcs.C (outerHook): ...to here
3967 * paragraph.C (depthHook): move from here...
3968 * paragraph_funcs.C (depthHook): ...to here
3970 * paragraph.C (getEndLabel): move from here...
3971 * paragraph_funcs.C (getEndLabel): ...to here
3973 * text2.C (realizeFont): move from here...
3974 * paragraph_funcs.C (realizeFont): ...to here
3976 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3978 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3980 2003-04-14 Angus Leeming <leeming@lyx.org>
3982 * LColor.[Ch]: scrap LColor mathcursor.
3984 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3986 * lyxlex.[Ch] (text): delete function
3987 * trans.C (Load): adjust
3988 * paragraph_funcs.C (readParToken): adjust
3990 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3992 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3993 vector<char> instead of a char[].
3995 * lyxlex_pimpl.C (getString): adjust
3997 (lex): use getString
4001 * lyxlex.C (text): use pimpl_->getString()
4005 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4007 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4008 (makeFontEntriesLayoutSpecific): temp var for par.size()
4009 (setLayout): temp var for ownerParagraphs().end()
4010 (fullRebreak): temp var for rows().end()
4011 (selectionAsString): temp var for boost::next(startpit), realize
4012 that the while really is a regular for loop.
4013 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4014 setCursor in one place.
4015 (setParagraph): temp vr for ownerParagraphs().end()
4016 (updateCounters): make the while loop a for loop
4017 (cutSelection): temp var for ownerParagraphs().end()
4018 (updateInset): make the do {} while() a regular for loop
4019 (getCursorX): use temp vars
4020 (setCurrentFont): use temp vars
4021 (getColumnNearX): use temp vars
4023 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4025 * text.C (transformChar): use temp var for getChar
4026 (computeBidiTables): use temp var for row->par()
4027 (fill): move temp vars for row->par() and pit->layout() earlier in
4029 (labelFill): use temp var for row->par()
4030 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4031 asc and desc, realize that pit never changes and that firstpit is
4032 just a duplicate and not needed. Exchange rit->par() with pit in a
4034 (breakAgain): use a temp var for boost::next(rit)
4035 (breakAgainOneRow): ditto
4036 (breakParagraph): use a temp var for rows().begin()
4037 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4038 (cursorRightOneWord): use temp var for cursor.par() and
4039 cursor.pos(), remove usage of tmpcursor.
4040 (cursorLeftOneWord): use temp var for cursor.par() and
4041 cursor.pos() only set cur at end of function.
4043 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4045 * text.C, text2.C: exchange all usage of Paragraph::next with
4046 boost::next(ParagraphList::iterator)
4048 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4050 * text2.C (cursorTop): simplify implementation
4051 (cursorBottom): ditto
4052 (setParagraph): use ParagraphList::iterator
4053 (setCurrentFont): adjust
4054 (getColumnNearX): adjust
4055 (cursorRight): adjust
4056 (cursorLeft): remove usage of Paragraph::previous
4057 (cursorUpParagraph): ditto
4058 (deleteEmptyParagraphMechanism): slight cleanup
4060 * text.C (isBoundary): take a Paragraph const & instead of a
4062 (addressBreakPoint): ditto
4063 (leftMargin): remove usage of Paragraph::previous.
4064 (setHeightOfRow): ditto
4065 (cursorLeftOneWord): ditto
4066 (selectNextWordToSpellcheck): ditto
4069 (breakParagraph): remove one usage of Paragraph::next
4070 (redoParagraph): ditto
4071 (acceptChange): ditto
4072 (insertChar): adjust
4073 (rowBreakPoint): adjust
4075 * bufferview_funcs.C (toggleAndShow): adjust
4077 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4079 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4080 methods to access it.
4082 * text.C: Added updateRowPositions to compute all row positions.
4083 Make top_y and getRowNearY() to use the cached y position
4085 2003-04-11 John Levon <levon@movementarian.org>
4087 * text.C (rowBreakPoint): reintroduce the labelEnd
4088 checks, code copied from the row fill stuff. Deep voodoo.
4090 * text.C (fill): add a comment and debugging for the
4093 2003-04-11 John Levon <levon@movementarian.org>
4095 * text.C: make sure fullrow insets get wrapped to the next line,
4096 even when they're in a manual label
4098 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4100 * text2.C (insertParagraph): make it take ParagraphList::iterator
4102 (setLayout): make it return ParagraphList::iterator
4103 (redoParagraphs): ditto
4105 (checkParagraph): ditto
4107 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4109 * text2.C: adjust several funcs.
4110 (realizeFont): take a ParagraphList::iterator as arg.
4111 (getLayoutFont): ditto
4112 (getLabelFont): ditto
4113 (setCharFont): ditto
4115 * text.C: adjust several funcs.
4117 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4119 * text.C (selectNextWordToSpellcheck): don't accidentally
4122 2003-04-10 John Levon <levon@movementarian.org>
4124 * ToolbarBackend.C (getIcon): special handling for
4127 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4129 * text2.C (cursorRight): a getChar assert fixed
4131 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4133 * text2.C (getFont): change to take a ParagraphList::iterator
4134 instead of Paragraph*
4135 Adjust several functions.
4137 * text.C (transformChar): change to take a ParagraphList::iterator
4138 instead of Paragraph*
4139 (singleWidth): ditto
4140 Adjust several functions.
4142 * rowpainter.C: adjust several functions
4143 * rowpainter.h:store a ParagraphList::iterator and not a
4147 2003-04-09 John Levon <levon@movementarian.org>
4152 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4153 and the "help" bits as well
4155 2003-04-09 John Levon <levon@movementarian.org>
4158 * ToolbarBackend.C: allow multiple toolbars
4160 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4162 * undo_funcs.C (setCursorParUndo): adjust
4164 * text_funcs.C (transposeChars): adjust
4166 * text3.C (gotoNextInset): adjust
4169 * text2.C (setLayout): adjust
4170 (changeDepth): adjust
4172 (redoParagraphs): adjust
4173 (selectionAsString): adjust
4174 (setParagraph): adjust
4175 (insertInset): adjust
4176 (cutSelection): adjust
4177 (copySelection): adjust
4178 (pasteSelection): adjust
4179 (insertStringAsLines): adjust
4180 (updateInset): adjust
4181 (setCursor): change to take a ParagraphList::iterator parameter
4182 (setCursorIntern): change to take a ParagraphList::iterator parameter
4183 (setCurrentFont): adjust
4184 (cursorLeft): adjust
4185 (cursorRight): adjust
4186 (deleteEmptyParagraphMechanism): adjust
4188 * text.C (breakParagraph): adjust
4189 (insertChar): adjust
4190 (acceptChange): adjust
4191 (rejectChange): adjust
4192 (selectNextWordToSpellcheck): adjust
4193 (changeCase): adjust
4197 * lyxfind.C (SearchForward): adjust
4198 (SearchBackward): adjust
4199 (nextChange): adjust
4201 * lyxcursor.C (par): adjust
4203 * lyxcursor.h: store a ParagraphList::iterator instead of a
4206 * lyx_cb.C (getPossibleLabel): adjust
4208 * bufferview_funcs.C (toggleAndShow): adjust
4210 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4213 * BufferView.C (removeAutoInsets): adjust
4214 (lockedInsetStoreUndo): adjust
4216 2003-04-09 John Levon <levon@movementarian.org>
4218 * ToolbarBackend.C: try icon without argument
4219 if with argument fails
4221 2003-04-08 John Levon <levon@movementarian.org>
4224 * ToolbarBackend.C: add getIcon(), handle tooltip,
4225 and change from "Icon" to "Item".
4227 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4229 * BufferView.C (lockInset): another bad getchar crunched
4231 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4233 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4236 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4238 * lyxfind.C (searchForward, searchBackwards): bug 782
4240 2003-04-07 John Levon <levon@movementarian.org>
4242 * paragraph.C: remove dead comment
4244 * text.C: remove troublesome depth-fiddling code
4245 in leftMargin() and rightMargin() (bug 1017)
4247 * text.C: fix breaking of rows in nested lists
4250 * text2.C (updateCounters): fix up depth values
4253 2003-04-07 John Levon <levon@movementarian.org>
4255 * BufferView_pimpl.C: clear message when doc finishes resizing,
4256 and after a mouse event
4258 * lyxfunc.C: clear message after exiting inset
4260 2003-04-07 John Levon <levon@movementarian.org>
4262 * bufferview_funcs.C: show math status not outside
4263 status in the statusbar
4265 2003-04-07 John Levon <levon@movementarian.org>
4267 * lyxfunc.C: note status changed after a depth change
4269 2003-04-04 Angus Leeming <leeming@lyx.org>
4271 * LaTeX.h: move AuxInfo operator==, != out of line.
4272 Remove LaTeX virtual destructor; nothing derives from it.
4273 Move operator()() out of public area and rename it startscript().
4274 Change protected for private.
4276 2003-04-04 Angus Leeming <leeming@lyx.org>
4279 * text2.C: remove unneeded #includes.
4281 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4283 * text2.C (dEPM): fix the heigth of the next row
4285 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4287 * text.C: squashed an invalid getChar requester + some ws changes
4289 2003-04-03 John Levon <levon@movementarian.org>
4291 * bufferview_funcs.h:
4292 * bufferview_funcs.C:
4295 * text2.C: make getStatus work for the env depth lfuns
4297 2003-04-03 John Levon <levon@movementarian.org>
4299 * bufferview_funcs.h:
4300 * bufferview_funcs.C:
4303 * text2.C: parlistize decDepth(), by merging it with incDepth()
4305 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4307 * lyxrow.h: store a ParagraphList::iterator instead of a
4308 Paragraph* and adjust other class functions to suit.
4310 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4313 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4315 * text2.C (setCursor): do not anchor to cursor row for the time being
4317 2003-04-02 John Levon <levon@movementarian.org>
4324 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4326 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4328 * paragraph.h: make ParagraphList and ParagraphList::iterator
4329 friends of Paragraph.
4331 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4333 * ParagraphList.C: Use the private next_ and previous_ from
4336 2003-04-01 John Levon <levon@movementarian.org>
4340 * Makefile.am: rename, remove defaults gunk
4343 * MenuBackend.C: remove defaults gunk
4346 * Languages.C: remove defaults gunk
4349 * lyx_main.C: error out if files couldn't be found.
4351 2003-04-02 John Levon <levon@movementarian.org>
4353 * text2.C: make incDepth() use parlist
4355 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4357 * undo_funcs.C (firstUndoParagraph): adjust
4359 * text3.C (gotoInset): adjust
4360 (dispatch): adjust, and rewrite loop.
4362 * text2.C (init): adjust, and rewrite loop.
4363 (redoParagraphs): adjust
4364 (updateInset): adjust, and rewrite loop.
4365 (deleteEmptyParagraphMechanism): adjust
4367 * tabular.C (LyXTabular): adjust
4368 (SetMultiColumn): adjust
4371 * lyxtext.[Ch] (ownerParagraph): delete function
4372 (ownerParagraphs): new function returns a ParagraphList.
4374 * BufferView.C (removeAutoInsets): adjust
4375 (insertErrors): adjust
4376 (setCursorFromRow): adjust
4378 2003-04-01 Angus Leeming <leeming@lyx.org>
4380 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4383 2003-04-02 John Levon <levon@movementarian.org>
4389 * text_funcs.C: make transposeChars a free function
4391 * lyxrow_funcs.C: remove wrong comment
4393 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4396 * rowpainter.C: adjust
4401 * lyxrow_funcs. [Ch]: new files
4403 * lyxrow.[Ch]: remove next and previous pointers
4404 (next,previous): remove accessor functions
4405 (isParEnd): move to lyxrow_funcs
4406 (lastPos): move to lyxrow_funcs
4407 (nextRowIsAllInset): move to lyxrow_funcs
4408 (lastPrintablePos): move to lyxrow_funcs
4409 (numberOfSeparators): move to lyxrow_funcs
4410 (numberOfHfills): move to lyxrow_funcs
4411 (numberOfLabelHfills): move to lyxrow_funcs
4412 (hfillExpansion): move to lyxrow_funcs
4416 * bufferview_funcs.C (toggleAndShow): adjust
4418 * RowList.h: Remove class RowList from file leave just a
4421 * RowList.C: delete file
4423 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4426 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4428 * text3.C (cursorPrevious): adjust
4429 (cursorNext): adjust
4432 * text2.C (redoHeightOfParagraph): adjust
4433 (redoDrawingOfParagraph): adjust
4436 * text.C (breakParagraph): adjust
4437 (insertChar): adjust
4440 * rowpainter.C (RowPainter): adjust
4441 (leftMargin): simplify and adjust
4442 (most rowpainter functions): adjust.
4444 * rowpainter.h: store the row as RowList::iterator not as Row*
4446 * lyxcursor.C (row): taka RowList::iterator as arg
4449 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4452 2003-04-01 Angus Leeming <leeming@lyx.org>
4454 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4455 stuff like bool Bool.
4457 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4459 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4462 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4464 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4467 * lyxtext.h (rows): drop one version and leve a const variant that
4468 returns a RowList::iterator.
4470 2003-03-31 Angus Leeming <leeming@lyx.org>
4472 * text.C (fill): ensure that the signature is the same as that in the
4475 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4477 * text2.C (redoParagraphs): adjust
4478 (updateCounters): adjust
4479 (checkParagraph): adjust
4480 (getColumnNearX): adjust and reformat a bit.
4482 * text.C (top_y): adjust
4484 (leftMargin): adjust
4485 (prepareToPrint): adjust
4487 (getRowNearY): adjust
4489 * lyxtext.h: make rowlist_ mutable.
4491 * RowList.h: add const_iterator
4492 * RowList.C: adjust for RowList::const_iterator.
4494 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4497 2003-03-31 John Levon <levon@movementarian.org>
4500 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4502 * lyx_main.C: set default fonts from using lyx_gui funcs
4504 * exporter.C: pdf_mode moved from lyxrc
4507 * lyxfunc.C: changes from above
4509 2003-03-31 John Levon <levon@movementarian.org>
4511 * lyx_main.C: fix to the last fix
4513 2003-03-31 John Levon <levon@movementarian.org>
4515 * bufferlist.C: "Load original" -> "Load Original"
4521 * format.C: more Alert cleanups
4523 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4525 * text2.C (removeParagraph): make it take a RowList::iterator as
4527 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4528 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4530 * text.C (anchor_row): make it take a RowList::iterator as arg,
4532 (computeBidiTables): make it take a const reference to Row instead
4533 of Row pointer, adjust.
4534 (leftMargin): make it take a RowList::iterator as arg, adjust.
4535 (rowBreakPoint): adjust
4536 (breakAgainOneRow): make it take a RowList::iterator as arg,
4538 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4540 * bufferview_funcs.C (toggleAndShow): adjust
4542 2003-03-30 John Levon <levon@movementarian.org>
4546 * boost-inst.C: moved to support
4548 * several files: changes as a result
4550 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4552 * text2.C (LyXText): adjust.
4554 (removeRow): make it take a RowList::iterator as arg, adjust.
4555 (fullRebreak): adjust
4556 (deleteEmptyParagraphMechanism): adjust
4557 (clearPaint): adjust
4560 * text.C (top_y): adjust
4561 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4562 (breakAgain): make it take a RowList::iterator as arg, adjust.
4563 (breakParagraph): adjust
4564 (insertChar): adjust
4567 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4568 need_break_row, and refresh_row.
4570 * text3.C (dispatch): adjust
4572 * text2.C (checkParagraph): adjust
4574 (setCursorFromCoordinates): adjust
4576 * text.C (top_y): adjust
4578 (getRow): make it return a RowList::iterator, adjust
4579 (getRowNearY): make it return a RowList::iterator, adjust
4581 * text2.C (init): adjust
4582 (insertRow): remove function
4583 (insertParagraph): adjust
4584 (redoParagraphs): adjust
4585 (fullRebreak): adjust
4586 (updateCounters): adjust
4588 * text.C (top_y): rewrite to use RowList iterators.
4590 (setHeightOfRow): rewrite to sue RowList iterators.
4591 (appendParagraph): adjust
4592 (breakAgain): adjust
4593 (breakAgainOneRow): adjust
4594 (breakParagraph): adjust
4596 (getRowNearY): adjust, and remove commented code.
4598 * lyxtext.h (firstRow): delete function
4599 (lastRow): delete function
4600 (rows): new function (const and non-const versions.)
4601 (insertRow): delete function
4603 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4605 2003-03-29 John Levon <levon@movementarian.org>
4607 * BufferView_pimpl.C: always update scrollbar top
4608 because pasting text when we're anchored could mean we
4609 miss an update altogether
4611 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4613 * text2.C (init): use rowlist_.end() and not 0.
4614 (insertRow): change to take a RowList::iterator as arg, adjust
4616 (insertParagraph): change to take a RowList::iterator as arg,
4618 (redoParagraphs): remove some debug msgs.
4620 * text.C (appendParagraph): change to take a RowList::iterator
4621 arg, adjust for this.
4622 (breakAgain): add an assert
4623 (breakAgainOneRow): ditto
4625 2003-03-29 John Levon <levon@movementarian.org>
4627 * text2.C: do not clear selection after inc/decDepth
4630 2003-03-29 John Levon <levon@movementarian.org>
4633 * buffer.C: fix broken strerrors according to Lars
4635 2003-03-29 John Levon <levon@movementarian.org>
4637 * converters.C: more Alert cleanups
4639 2003-03-29 John Levon <levon@movementarian.org>
4641 * bufferview_funcs.C: remove pointless Alert
4643 * buffer.C: fix confusing error message when
4644 a template is chmoded 000
4646 2003-03-29 John Levon <levon@movementarian.org>
4650 * BufferView_pimpl.C: Alert fixes
4654 * tabular-old.C: remove unused table compat reading
4656 2003-03-29 John Levon <levon@movementarian.org>
4661 * lyx_cb.C: more Alert cleanups
4663 * lyxfunc.C: don't allow chktex if not latex document
4665 2003-03-29 John Levon <levon@movementarian.org>
4669 * buffer.C: warnings pushed down from support/,
4672 2003-03-29 John Levon <levon@movementarian.org>
4674 * lyxfunc.C: safety check for C-r (revert)
4676 2003-03-29 John Levon <levon@movementarian.org>
4679 * bufferlist.C: several UI fixes using Alert::prompt.
4680 Fix the pointless looping quit code. Fix stupid revert
4685 * lyx_cb.C: use Alert::prompt
4687 * lyx_main.C: remove a silly question
4689 * lyxfunc.C: remove a couple of silly questions,
4692 2003-03-28 John Levon <levon@movementarian.org>
4694 * text2.C: fix bug 974 (End on empty par)
4696 2003-03-28 John Levon <levon@movementarian.org>
4698 * BufferView_pimpl.C:
4700 * lfuns.h: remove do-nothing math greek lfuns
4702 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4704 * lyxgluelength.h (isValidGlueLength): add default arg on
4705 parameter 2. Remove default arg from friend in class.
4707 * lyxlength.h (isValidLength): add default arg on parameter 2.
4708 Remove default arg from friend in class.
4710 * text2.C (LyXText): adjust, initialize refresh_row.
4714 (insertParagraph): adjst
4715 (redoParagraphs): adjust
4716 (fullRebreak): adjust
4717 (updateCounters): adjust
4718 (deleteEmptyParagraphMechanism): first attempt at fixing a
4721 * text.C (top_y): adjust
4722 (setHeightOfRow): adjust
4724 (getRowNearY): adjust
4726 * lyxtext.h: include RowList.h
4727 (~LyXText): not needed anymore, deleted.
4728 (firstRow): modify for RowList
4729 (lastRow): new function
4730 Delete firstrow and lastrow class variables, add a Rowlist
4731 rowlist_ class variable.
4733 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4736 * RowList.C (insert): fix case where it == begin().
4738 2003-03-26 Angus Leeming <leeming@lyx.org>
4740 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4741 the thesaurus dialog.
4743 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4745 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4747 * RowList.[Ch]: new files
4749 * ParagraphList.C (erase): handle the case where it == begin
4752 2003-03-25 John Levon <levon@movementarian.org>
4756 * aspell.C: add new aspell support
4759 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4762 2003-03-25 Angus Leeming <leeming@lyx.org>
4765 * LyXAction.C (init): new LFUN_INSET_INSERT.
4767 * BufferView_pimpl.C (dispatch): split out part of the
4768 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4770 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4773 2003-03-25 Angus Leeming <leeming@lyx.org>
4775 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4777 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4780 * text3.C: remove useless row->height(0)
4782 2003-03-25 John Levon <levon@movementarian.org>
4786 * text3.C: rename the refreshing stuff to better names
4788 2003-03-24 John Levon <levon@movementarian.org>
4790 * BufferView_pimpl.h:
4791 * BufferView_pimpl.C: update layout choice on a mouse
4794 2003-03-23 John Levon <levon@movementarian.org>
4796 * Makefile.am: fix commandtags.h reference
4798 2003-03-22 John Levon <levon@movementarian.org>
4800 * BufferView_pimpl.C:
4805 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4807 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4810 * text.C: take the rtl methods out of line
4812 2003-03-21 André Pönitz <poenitz@gmx.net>
4814 * metricsinfo.[Ch]: new files containing structures to be passed around
4815 during the two-phase-drawing...
4817 2003-03-21 André Pönitz <poenitz@gmx.net>
4819 * lyxtextclass.C: read 'environment' tag.
4821 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4823 * text2.C (removeRow): fix bug 964
4825 2003-03-20 John Levon <levon@movementarian.org>
4829 * text2.C: paint cleanups. Inset::update() dropped font
4832 2003-03-19 John Levon <levon@movementarian.org>
4834 * lyxfunc.C: only fitcursor/markDirty if available()
4836 2003-03-19 John Levon <levon@movementarian.org>
4838 * commandtags.h: rename to ...
4840 * lfuns.h: ... this, and renumber / cleanup
4842 2003-03-19 John Levon <levon@movementarian.org>
4844 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4845 fit the cursor after an lfun
4849 * BufferView_pimpl.h:
4850 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4852 * LyXAction.C: layout-character should have ReadOnly
4854 * ParagraphParameters.C:
4856 * bufferview_funcs.C:
4863 * undo_funcs.C: changes from above
4865 2003-03-18 John Levon <levon@movementarian.org>
4867 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4868 remove it from update()
4870 * lyxfunc.C: update layout choice after an lfun
4872 * text3.C: remove extra updateLayoutChoice()s
4874 2003-03-18 John Levon <levon@movementarian.org>
4876 * text.C: top_y change means full repaint, fix
4877 a drawing bug with cursor movement
4879 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4883 * text2.C: anchor row on setCursor
4885 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4887 * lyxtext.h: remove almost all mutable keywords
4890 * text3.C: remove const keywords accordingly
4892 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4894 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4896 (TeXEnvironment): ditto
4899 2003-03-17 John Levon <levon@movementarian.org>
4901 * text.C (rowBreakPoint): remove attempt to fix displayed
4902 math insets inside a manual label
4904 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4906 * lyxtext.h: remove BufferView* as first arg from almost all class
4908 * other files: adjust.
4910 2003-03-17 John Levon <levon@movementarian.org>
4914 * text2.C: more paint cleanups
4916 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4919 * rowpainter.C: remove "smart" background painting code
4921 2003-03-16 John Levon <levon@movementarian.org>
4926 * text3.C: add helper functions for setting refresh_row/y
4928 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4930 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4931 newline inset which *can* get inserted in the pass_thru layouts.
4932 This is primarily for literate documents.
4934 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4936 * buffer.C: increment LYX_FORMAT to 223
4938 2003-03-14 André Pönitz <poenitz@gmx.net>
4940 * textclass.h: prepare for environment handling, ws changes
4941 * lyxlayout.C: read latexheader and latexfooter tags
4943 2003-03-14 John Levon <levon@movementarian.org>
4945 * text2.C: rewrite ::status() a bit
4947 2003-03-13 John Levon <levon@movementarian.org>
4949 * lyxtext.h: add some docs
4951 2003-03-13 John Levon <levon@movementarian.org>
4956 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4958 2003-03-13 John Levon <levon@movementarian.org>
4960 * text3.C: fix appendix redrawing
4962 2003-03-13 John Levon <levon@movementarian.org>
4964 * text.C (setHeightOfRow):
4966 * rowpainter.C: make appendix mark have the text
4967 "Appendix" so the user knows what it is
4970 * LColor.C: s/appendixline/appendix/ from above
4972 2003-03-13 John Levon <levon@movementarian.org>
4974 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4976 * text.C: fix a getChar(pos) bug properly
4978 2003-03-13 Angus Leeming <leeming@lyx.org>
4981 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4982 Probably only temporary. Let's see how things pan out.
4984 * BufferView.C (unlockInset):
4985 * BufferView_pimpl.C (fitCursor):
4986 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4988 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4989 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4991 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4992 new functions that convert ParagraphParameters to and from a string.
4994 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4995 BufferView::Pimpl's dispatch.
4996 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4998 2003-03-13 André Pönitz <poenitz@gmx.net>
5002 * factory.C: make it aware of InsetEnv
5004 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5006 * text2.C (setCursor): never ask for one past last
5007 (setCursor): add some debugging messages.
5009 * text.C (singleWidth): never ask for one past last
5010 (singleWidth): ditto
5012 (rightMargin): ditto
5013 (rowBreakPoint): ditto
5014 (setHeightOfRow): ditto
5015 (prepareToPrint): ditto
5017 * rowpainter.C (paintBackground): never ask for one past last
5018 (paintText): never ask for one past last
5020 * paragraph_pimpl.C (getChar): make the assert stricter, never
5021 allow the one past last pos to be taken
5023 * paragraph.C (getChar): ws changes only
5025 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5026 (numberOfSeparators): ditto
5027 (numberOfHfills): ditto
5029 2003-03-12 John Levon <levon@movementarian.org>
5035 * paragraph_funcs.C: fix per-buffer authorlists
5037 2003-03-12 John Levon <levon@movementarian.org>
5039 * text.C: fix newline in right address
5041 2003-03-12 Angus Leeming <leeming@lyx.org>
5043 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5044 duplicate those in LyXFunc::dispatch.
5048 * ToolbarDefaults.C:
5049 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5050 Add LFUN_FONTFREE_UPDATE.
5052 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5053 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5055 * bufferview_func.[Ch]: several new functions to facilliate
5056 transfer of data to and from the character dialog.
5058 2003-03-12 John Levon <levon@movementarian.org>
5063 * paragraph_funcs.C:
5064 * paragraph_pimpl.C:
5068 * text3.C: remove META_NEWLINE in favour of an inset
5071 * rowpainter.C: remove paintNewline (done by inset)
5073 2003-03-12 John Levon <levon@movementarian.org>
5075 * paragraph_pimpl.C: complain about bad getChar()s
5076 for a while at least
5078 2003-03-12 John Levon <levon@movementarian.org>
5081 * buffer.C: move paragraph read into a separate function,
5082 a little renaming to reflect that.
5085 * bufferparams.C: remove the author_ids map, not necessary now
5088 * factory.C: moved Buffer::readInset to here
5090 * paragraph_funcs.h:
5091 * paragraph_funcs.C: readParagraph free function moved from
5094 * tabular.C: name change
5096 2003-03-12 John Levon <levon@movementarian.org>
5099 * ParagraphParameters.C: move par params input to
5102 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5103 behave like a normal read from the stream wrt reading
5104 a line vs. a \\token
5106 2003-03-12 John Levon <levon@movementarian.org>
5109 * ParagraphParameters.h:
5110 * ParagraphParameters.C: move output code to a
5113 2003-03-12 John Levon <levon@movementarian.org>
5115 * BufferView.C (insertLyXFile):
5118 * tabular.C: use a parlist iterator for creating the
5121 2003-03-12 John Levon <levon@movementarian.org>
5123 * buffer.C: make current_change static local not
5126 2003-03-12 John Levon <levon@movementarian.org>
5128 * buffer.C: fix insertStringAsLines for change tracking
5130 2003-03-12 John Levon <levon@movementarian.org>
5137 * bufferparams.C: move author list into params. Rename some
5138 functions. Move the header reading into a separate token
5139 loop. Move the header token reading into BufferParams.
5141 2003-03-12 John Levon <levon@movementarian.org>
5143 * changes.C: put debug inside lyxerr.debugging() checks
5145 2003-03-11 André Pönitz <poenitz@gmx.net>
5147 * factory.C: make it aware of InsetHFill
5149 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5151 * buffer.C (latexParagraphs): move function from here...
5152 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5155 2003-03-10 Angus Leeming <leeming@lyx.org>
5157 * LyXAction.C (init): fix bug in poplating array with multiple entries
5158 with the same LFUN (spotted by JMarc).
5160 2003-03-10 John Levon <levon@movementarian.org>
5163 * text2.C: move getColumnNearX() near its
5166 2003-03-10 John Levon <levon@movementarian.org>
5168 * text.C: fix break before a minipage
5170 2003-03-10 John Levon <levon@movementarian.org>
5172 * text.C: fix the last commit
5174 2003-03-09 John Levon <levon@movementarian.org>
5178 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5179 bug 365 (don't break before insets unless needed). Don't
5180 return a value > last under any circumstances.
5182 2003-03-09 Angus Leeming <leeming@lyx.org>
5184 * BufferView_pimpl.C (trackChanges, dispatch): call
5185 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5187 2003-03-09 Angus Leeming <leeming@lyx.org>
5189 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5190 than Dialogs::showAboutlyx().
5192 2003-03-09 Angus Leeming <leeming@lyx.org>
5194 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5195 than Dialogs::showTabularCreate().
5197 2003-03-09 John Levon <levon@movementarian.org>
5201 * text2.C: 3rd arg to nextBreakPoint was always the same.
5204 2003-03-08 John Levon <levon@movementarian.org>
5211 * text2.C: Remove the "main" bit from the "main body"
5214 2003-03-08 John Levon <levon@movementarian.org>
5216 * text.C (leftMargin): The left margin of an empty
5217 manual label paragraph should not include the label width
5220 * text.C (prepareToPrint): don't attempt to measure hfills
5221 for empty manual label paragraphs - the answer should be 0
5223 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5225 * CutAndPaste.C: remove commented code and reindent.
5227 2003-03-08 John Levon <levon@movementarian.org>
5230 * lyxfunc.C: move reloadBuffer()
5233 * BufferView.C: to here
5235 * lyxvc.C: add comment
5238 * vc-backend.C: call bv->reload() to avoid
5239 getStatus() check on MENURELOAD
5241 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5243 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5244 to an old format .dep file.
5246 2003-03-07 Angus Leeming <leeming@lyx.org>
5248 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5249 when the LFUN_MOUSE_RELEASE should have been handled by
5250 inset->localDispatch.
5252 2003-03-07 Angus Leeming <leeming@lyx.org>
5254 * BufferView_pimpl.C (dispatch):
5255 * LyXAction.C (init):
5256 * ToolbarDefaults.C (init):
5258 * lyxfunc.C (getStatus):
5259 remove LFUN_INSET_GRAPHICS.
5261 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5263 2003-03-07 Angus Leeming <leeming@lyx.org>
5266 * LyXAction.C (init):
5267 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5269 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5272 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5274 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5275 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5277 2003-03-07 Angus Leeming <leeming@lyx.org>
5279 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5282 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5284 * ParagraphList.C (front): new function
5287 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5289 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5290 and top_row_offset_. removed var first_y.
5292 * text2.C (LyXText, removeRow):
5294 * BufferView_pimpl.C:
5295 use these methods instead of using first_y
5297 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5299 * text2.C (pasteSelection): adjust for checkPastePossible
5301 * CutAndPaste.C: remove Paragraph * buf and replace with
5302 ParagraphList paragraphs.
5303 (DeleteBuffer): delete
5304 (cutSelection): change the tc type to textclass_type
5305 (copySelection): change the tc type to textclass_type
5306 (copySelection): adjust for ParagraphList
5307 (pasteSelection): change the tc type to textclass_type
5308 (pasteSelection): adjust for Paragraphlist
5309 (nrOfParagraphs): simplify for ParagraphList
5310 (checkPastePossible): simplify for ParagraphList
5311 (checkPastePossible): remove unused arg
5313 * ParagraphList.C (insert): handle the case where there are no
5316 * CutAndPaste.h: make CutAndPaste a namespace.
5318 * text3.C (dispatch): adjust
5320 * text.C (breakParagraph): add a ParagraphList as arg
5322 * paragraph_funcs.C (breakParagraph): change to take a
5323 BufferParams and a ParagraphList as args.
5324 (breakParagraphConservative): ditto
5325 (mergeParagraph): ditto
5326 (TeXDeeper): add a ParagraphList arg
5327 (TeXEnvironment): ditto
5330 * buffer.C (readLyXformat2): adjust
5331 (insertStringAsLines): adjust
5332 (latexParagraphs): adjust
5334 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5335 (cutSelection): adjust
5336 (pasteSelection): adjust
5338 * BufferView_pimpl.C (insertInset): adjust
5340 2003-03-05 Angus Leeming <leeming@lyx.org>
5343 * LyXAction.C (init):
5344 * BufferView_pimpl.C (dispatch):
5345 * lyxfunc.C (getStatus):
5346 remove LFUN_CHILD_INSERT.
5348 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5350 2003-03-05 Angus Leeming <leeming@lyx.org>
5353 * LyXAction.C (init):
5354 * src/factory.C (createInset):
5355 * lyxfunc.C (getStatus):
5356 * text3.C (dispatch):
5357 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5359 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5361 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5363 * ParagraphList.C (insert): handle insert right before end()
5364 (erase): fix cases where it can be first or last paragraph.
5366 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5368 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5369 Paragraph::next and Paragraph::previous
5372 * text.C (breakParagraph): adjust
5374 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5375 BufferParams& as arg.
5376 (breakParagraph): use ParagraphList::insert
5377 (breakParagraphConservative): take a Buffer* instead of a
5378 BufferParams& as arg.
5379 (breakParagraphConservative): use ParagraphList::insert.
5381 * buffer.C (insertStringAsLines): un-const it
5382 (insertStringAsLines): adjust
5384 * ParagraphList.C (insert): new function
5386 * CutAndPaste.C (pasteSelection): adjust
5388 * text.C (backspace): adjust
5390 * tabular.C (SetMultiColumn): adjust
5392 * CutAndPaste.C (cutSelection): adjust
5393 (pasteSelection): adjust
5395 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5396 Buffer const * as arg
5398 * ParagraphList.C (erase): new function
5399 * paragraph_funcs.C (mergeParagraph): use it
5400 (mergeParagraph): make it take a Buffer* instead of a
5401 BufferParams* as arg
5403 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5405 (breakParagraphConservative): ditto
5407 * paragraph.h: remove the breakParagraph friend
5409 * paragraph.C (eraseIntern): new function
5410 (setChange): new function
5412 * paragraph_funcs.C (mergeParagraph): make it take a
5413 ParagraphList::iterator instead of a Paragraph *, adjust
5416 * paragraph.h: move an #endif so that the change tracking stuff
5417 also works in the NO_NEXT case.
5419 2003-03-04 Angus Leeming <leeming@lyx.org>
5422 * LyXAction.C: new LFUN_INSET_MODIFY.
5424 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5425 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5427 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5429 * several files: ws changes only
5431 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5432 (TeXEnvironment): ditto
5435 * buffer.C (makeLaTeXFile): adjust
5436 (latexParagraphs): make it take ParagraphList::iterator as args
5438 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5440 * buffer.C (latexParagraphs): adjust
5442 * paragraph.C (TeXOnePar): move function...
5443 (optArgInset): move function...
5444 (TeXEnvironment): move function...
5445 * paragraph_pimpl.C (TeXDeeper): move function...
5446 * paragraph_funcs.C: ...here
5448 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5450 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5452 * buffer.C (readInset): remove compability code for old Figure and
5455 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5457 * buffer.C: ws changes
5460 * BufferView_pimpl.C: ditto
5463 * bufferlist.h: ditto
5467 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5469 * converter.[Ch]: split into itself +
5472 * Makefile.am: += graph.[Ch] + format.[Ch]
5479 * lyxrc.C: added #include "format.h"
5481 2003-02-27 Angus Leeming <leeming@lyx.org>
5483 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5486 * factory.C (createInset): add "label" to the factory.
5488 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5489 string and do no more.
5491 2003-02-27 Angus Leeming <leeming@lyx.org>
5494 * LyXAction.C (init):
5495 * factory.C (createInset):
5496 * BufferView_pimpl.C (dispatch):
5497 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5499 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5501 * lyxfunc.C (dispatch):
5502 * text3.C (dispatch): pass name to params2string.
5504 2003-02-26 Angus Leeming <leeming@lyx.org>
5506 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5508 Rearrange the ~includes. Strip out the unnecessary ones.
5510 * factory.C (createInset): reformat.
5511 create new insets for the various LFUN_XYZ_APPLY lfuns.
5513 2003-02-26 John Levon <levon@movementarian.org>
5516 * lyxrow.C: add isParStart,isParEnd helpers
5518 * paragraph.h: make isInserted/DeletedText take refs
5520 * paragraph_funcs.h:
5521 * paragraph_funcs.C: remove #if 0'd code
5526 * text.C: use lyxrow helpers above.
5527 Move draw and paint routines to RowPainter.
5528 Make several methods use refs not pointers.
5529 Make backgroundColor() const.
5530 Add markChangeInDraw(), isInInset().
5531 Merge changeRegionCase into changeCase.
5532 Make workWidth() shouldn't-happen code into an Assert.
5535 * rowpainter.C: new class for painting a row.
5538 * vspace.C: make inPixels take a ref
5540 2003-02-26 Angus Leeming <leeming@lyx.org>
5542 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5545 2003-02-25 John Levon <levon@movementarian.org>
5547 * ispell.C: give the forked command a more accurate name
5549 2003-02-22 John Levon <levon@movementarian.org>
5552 * toc.C: make TocItem store an id not a Paragraph *
5555 2003-02-21 Angus Leeming <leeming@lyx.org>
5557 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5558 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5559 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5560 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5561 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5562 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5564 * BufferView_pimpl.C (dispatch):
5565 * LyXAction.C (init):
5566 * factory.C (createInset):
5567 * lyxfunc.C (getStatus, dispatch):
5568 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5570 2003-02-21 Angus Leeming <leeming@lyx.org>
5572 * BufferView_pimpl.C (MenuInsertLyXFile):
5573 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5574 * lyxfunc.C (menuNew, open, doImport):
5575 no longer pass a LyXView & to fileDlg.
5577 2003-02-21 Angus Leeming <leeming@lyx.org>
5579 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5580 * LyXAction.C: change, BIBKEY to BIBITEM.
5581 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5582 Change InsetBibKey to InsetBibitem.
5583 Change BIBKEY_CODE to BIBITEM_CODE.
5584 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5585 * factory.C: replace insetbib.h with insetbibitem.h.
5586 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5587 * paragraph.C: replace insetbib.h with insetbibitem.h.
5588 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5589 Change bibkey() to bibitem().
5590 * text.C: remove insetbib.h.
5591 * text2.C: replace insetbib.h with insetbibitem.h.
5592 change bibkey() to bibitem().
5593 * text3.C: remove insetbib.h.
5594 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5596 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5598 * lyxrc.C (output): enclose user email in quotes (in case there are
5601 2003-02-18 John Levon <levon@movementarian.org>
5603 * buffer.h: add std::
5605 2003-02-17 John Levon <levon@movementarian.org>
5611 * pspell.C: reworking. Especially in ispell, a large
5612 number of clean ups and bug fixes.
5614 * lyxfunc.C: fix revert to behave sensibly
5616 2003-02-17 André Pönitz <poenitz@gmx.net>
5619 * commandtags.h: new LFUN_INSERT_BIBKEY
5629 * paragraph_func.C: remove special bibkey handling
5631 2003-02-17 John Levon <levon@movementarian.org>
5633 * text.C (Delete): fix case where delete at the end of
5634 the very first paragraph would not merge the pars
5636 2003-02-17 John Levon <levon@movementarian.org>
5638 * lyxrow.C: fix lastPrintablePos()
5640 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5642 * bufferparams.C (writeLaTeX): add a std:here
5644 * buffer.C: and remove a using directive there
5646 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5648 * buffer.C (makeLaTeXFile): move the code that generates the
5651 * bufferparams.C (writeLaTeX): ... in this new method
5653 * LaTeXFeatures.C (getEncodingSet): make const
5654 (getLanguages): make const
5656 * MenuBackend.C (binding): returns the binding associated to this
5658 (add): sets the status of each item by calling getStatus. Adds
5660 (read): add support for OptSubMenu
5661 (expand): remove extra separator at the end of expanded menu
5663 2003-02-15 John Levon <levon@movementarian.org>
5666 * BufferView_pimpl.C:
5668 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5669 inset code that had no actual effect. Remove unneeded status
5672 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5674 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5677 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5679 * text.C (drawLengthMarker): also draw an arrow marker for
5680 symbolic lengths (medskip...)
5682 2003-02-14 John Levon <levon@movementarian.org>
5685 * tabular.C: better method names
5687 2003-02-14 John Levon <levon@movementarian.org>
5689 * BufferView_pimpl.C:
5694 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5695 it's a more accurate name. Remove some pointless uses.
5697 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5699 * text2.C (LyXText): change order of initilizers to shut off
5702 2003-02-14 John Levon <levon@movementarian.org>
5704 * buffer.C: use ParIterator for getParFromID()
5708 * paragraph_pimpl.h:
5709 * paragraph_pimpl.C: remove unused getParFromID()
5711 2003-02-14 John Levon <levon@movementarian.org>
5713 * buffer.C: remove some very old #if 0'd parse code
5715 2003-02-13 John Levon <levon@movementarian.org>
5719 * text2.C: move hfillExpansion(), numberOfSeparators(),
5720 rowLast(), rowLastPrintable(), numberofHfills(),
5721 numberOfLabelHfills() ...
5724 * lyxrow.C: ... to member functions here.
5729 * text.C: remove LyXText::beginningOfMainBody(), and call
5730 p->beginningOfMainBody() directly. Move the check for
5731 LABEL_MANUAL into the latter.
5738 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5744 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5745 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5747 2003-02-13 John Levon <levon@movementarian.org>
5749 * CutAndPaste.C: remove debug
5751 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5753 * paragraph.C (asString): remove two unused variables
5755 * lyxtextclass.C (readTitleType):
5757 (LyXTextClass): handle new members titletype_ and titlename_
5759 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5761 2003-02-09 John Levon <levon@movementarian.org>
5764 * buffer.C: replace hand-coded list with a map for the dep clean
5766 2003-02-08 John Levon <levon@movementarian.org>
5768 * LaTeX.C: consolidate code into showRunMessage() helper
5770 2003-02-08 John Levon <levon@movementarian.org>
5775 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5776 and pass the size in explicitly
5778 * BufferView_pimpl.h:
5779 * BufferView_pimpl.C:
5781 * BufferView.C: add getCurrentChange()
5783 * BufferView_pimpl.h:
5784 * BufferView_pimpl.C: handle change lfuns
5786 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5787 for changes. Mark pasted paragraphs as new.
5789 * support/lyxtime.h:
5790 * support/lyxtime.C:
5791 * DepTable.C: abstract time_t as lyx::time_type
5794 * LColor.C: add colours for new text, deleted text, changebars
5796 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5797 package use "usenames" option.
5801 * LyXAction.C: add change lfuns
5805 * author.C: author handling
5808 * buffer.C: add a per-buffer author list, with first entry as
5809 current author. Handle new .lyx tokens for change tracking. Output
5810 author list to .lyx file. Output dvipost stuff to .tex preamble.
5811 Bump lyx format to 222.
5814 * bufferlist.C: add setCurrentAuthor() to reset current author details
5818 * bufferparams.C: add param for tracking
5820 * bufferview_funcs.C: output change info in minibuffer
5824 * changes.C: add change-tracking structure
5827 * debug.C: add CHANGES debug flag
5830 * lyxfind.C: add code for finding the next change piece
5833 * lyxrc.C: add user_name and user_email
5836 * lyxrow.C: add a metric for the top of the text line
5839 * text.C: implement accept/rejectChange()
5842 * text.C: paint changebars. Paint new/deleted text in the chosen
5843 colours. Strike through deleted text.
5847 * paragraph_pimpl.h:
5848 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5849 in the current change to the insert functions. Rework erase to
5850 mark text as deleted, adding an eraseIntern() and a range-based
5851 erase(). Implement per-paragraph change lookup and
5854 * paragraph_funcs.C: Fixup paste for change tracking.
5856 * tabular.C: mark added row/columns as new.
5858 * text.C: fix rowLast() to never return -1. Don't allow
5859 spellchecking of deleted text. Track transpose changes. Don't
5860 allow paragraph break or merge where appropriate.
5862 * text2.C: leave cursor at end of selection after a cut.
5864 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5866 * text.C (getLengthMarkerHeight):
5867 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5868 visible on screen too.
5870 2003-02-07 John Levon <levon@movementarian.org>
5872 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5874 2003-02-05 Angus Leeming <leeming@lyx.org>
5876 * lyxserver.C (read_ready): revert my patch of 11 September last year
5877 as it sends PC cpu through the roof. Presumably this means that
5878 the lyxserver will no longer run on an Alpha...
5880 2003-01-30 Angus Leeming <leeming@lyx.org>
5882 * factory.C (createInset): create an InsetCommandParam of type "index"
5883 and use it to 'do the right thing'.
5885 * text2.C (getStringToIndex): ensure that cursor position is always
5886 reset to the reset_cursor position.
5888 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5890 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5893 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5897 * lyxfunc.C: Output messages with identical spelling, punctuation,
5900 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5902 * MenuBackend.C (expandFormats): List only viewable export formats
5905 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5908 * lyxfunc.C (getStatus): Make sure that formats other than
5909 "fax" can also be disabled
5911 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5913 * text3.C (dispatch): put the lfuns that insert insets in 3
5914 groups, and call doInsertInset with appropriate arguments.
5915 (doInsertInset): new function, that creates an inset and inserts
5916 it according to some boolean parameters.
5918 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5920 * buffer.C (readFile): remember to pass on 'par' when calling
5921 readFile recursively.
5923 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5925 * MenuBackend.C (expandFormats): add "..." to import formats.
5927 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5929 * paragraph.C (asString): Remove XForms RTL hacks.
5931 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5932 * buffer.C: fix typo
5934 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5936 * Makefile.am (LIBS): delete var
5937 (lyx_LDADD): add @LIBS@ here instead.
5939 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5941 * Clarify the meaning of "wheel mouse jump"
5943 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5945 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5948 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5950 * importer.C (Loaders): do not preallocate 3 elements in the
5951 vector, since one ends up with 6 elements otherwise
5953 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5955 * DepTable.C (write): write the file name as last element of the
5956 .dep file (because it may contain spaces)
5957 (read): read info in the right order
5959 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5961 * paragraph_pimpl.C (simpleTeXBlanks):
5962 (simpleTeXSpecialChars):
5963 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5965 * tabular.C (latex): add some missing case statements. Reindent.
5967 * MenuBackend.C (expandToc): remove unused variable.
5969 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5978 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5981 2003-01-05 John Levon <levon@movementarian.org>
5984 * BufferView.C: add getEncoding()
5987 * kbsequence.C: do not store last keypress
5990 * lyxfunc.C: store last keypress here instead. Pass encoding
5993 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5995 * lyx_main.C (init): remove annoying error message when following
5996 symbolic links (bug #780)
5998 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6000 * text.C (insertChar):
6001 * lyxrc.C (getDescription): remove extra spaces
6003 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6005 * lyxrc.C (getDescription): remove extra spaces
6007 2002-12-20 John Levon <levon@movementarian.org>
6009 * text3.C: hack fix for page up/down across tall rows
6011 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6013 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6016 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6018 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6019 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6020 thesaurus is not compiled in
6022 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6024 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6026 2002-12-16 Angus Leeming <leeming@lyx.org>
6029 * lyx_main.C (init): remove override_x_deadkeys stuff.
6031 2002-12-12 John Levon <levon@movementarian.org>
6033 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6034 insert. Only remove shift modifier under strict
6037 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6039 * MenuBackend.C (expandToc): fix crash.
6041 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6043 * MenuBackend.C (expandToc): gettext on float names.
6045 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6047 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6048 implement bool empty() [bug 490]
6050 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6052 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6054 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6056 * several files: ws changes
6058 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6060 * text2.C (setCounter): clean up a bit, use boost.format.
6061 (updateCounters): initialize par upon declaration.
6063 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6064 if the layout exists. We do not just store the layout any more.
6065 (SwitchLayoutsBetweenClasses): use boost.format
6067 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6069 * converter.C (convert): if from and to files are the same, use a
6070 temporary files as intermediary
6072 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6075 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6077 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6079 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6081 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6083 * tabular.C (asciiPrintCell): use string(size, char) instead of
6086 * sgml.C (openTag): fix order of arguments to string constructor
6089 * lyxfunc.C (dispatch): use boost.format
6091 * lots of files: change "c" -> 'c'
6093 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6095 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6097 2002-11-25 Angus Leeming <leeming@lyx.org>
6099 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6101 * lyx_main.C (init): compile fix.
6103 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6105 * lyx_cb.C (start): boost.formatify
6106 do not include <iostream>
6108 * lengthcommon.C: ws only
6110 * boost-inst.C,BoostFormat.h: add more explict instantations
6112 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6114 * lots of files: handle USE_BOOST_FORMAT
6116 2002-11-21 John Levon <levon@movementarian.org>
6118 * pspell.C: fix compile
6120 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6122 * lyxfunc.C (dispatch): use boost::format
6126 * lyxfont.C (stateText): use boost::format
6128 * lyx_main.C (LyX): use boost::format
6130 (queryUserLyXDir): ditto
6133 (typedef boost::function): use the recommened syntax.
6135 * importer.C (Import): use boost::format
6137 * debug.C (showLevel): use boost::format
6139 * converter.C (view): use boost::format
6144 * bufferview_funcs.C (currentState): use boost::format
6146 * bufferlist.C (emergencyWrite): use boost::format
6148 * buffer.C (readLyXformat2): use boost::format
6149 (parseSingleLyXformat2Token): ditto
6151 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6153 * LaTeX.C (run): use boost::format
6155 * Chktex.C (scanLogFile): use boost::format
6157 * BufferView_pimpl.C (savePosition): use boost::format
6158 (restorePosition): ditto
6159 (MenuInsertLyXFile): ditto
6161 * BoostFormat.h: help file for explicit instation.
6163 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6165 * tabular.C (latex): Support for block alignment in fixed width
6168 2002-11-17 John Levon <levon@movementarian.org>
6170 * BufferView_pimpl.C:
6172 * lyxfunc.C: split filedialog into open/save
6174 2002-11-08 Juergen Vigna <jug@sad.it>
6176 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6177 by my last patch (hopefully).
6179 2002-11-08 John Levon <levon@movementarian.org>
6188 * toc.C: ParConstIterator, and use it (from Lars)
6190 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6192 * lyxtextclass.[Ch]: revise and add doxygen comments
6194 2002-11-07 John Levon <levon@movementarian.org>
6196 * text.C: fix progress value for spellchecker
6198 * toc.C: fix navigate menu for insetwrap inside minipage
6200 * paragraph_funcs.C: added FIXME for suspect code
6202 2002-11-07 John Levon <levon@movementarian.org>
6204 * BufferView_pimpl.C: fix redrawing of insets
6207 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6209 * text2.C (updateCounters): fix bug 668
6211 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6213 * text3.C (dispatch): Do not make the buffer dirty when moving the
6216 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6218 * vc-backend.C: STRCONV
6221 * text2.C (setCounter): STRCONV
6223 * paragraph.C (asString): STRCONV
6225 * lyxlength.C (asString): STRCONV
6226 (asLatexString): ditto
6228 * lyxgluelength.C (asString): STRCONV
6229 (asLatexString): ditto
6231 * lyxfunc.C (dispatch): STRCONV
6234 * lyxfont.C (stateText): STRCONV
6236 * importer.C (Import): STRCONV
6238 * counters.C (labelItem): STRCONV
6239 (numberLabel): ditto
6240 (numberLabel): remove unused ostringstream o
6245 * bufferview_funcs.C (currentState): STRCONV
6247 * buffer.C (readFile): STRCONV
6248 (asciiParagraph): ditto
6249 (makeLaTeXFile): ditto
6251 * Spacing.C (writeEnvirBegin): STRCONV
6253 * LaTeXFeatures.C (getLanguages): STRCONV
6254 (getPackages): ditto
6256 (getBabelOptions): ditto
6257 (getTClassPreamble): ditto
6258 (getLyXSGMLEntities): ditto
6259 (getIncludedFiles): ditto
6263 (scanAuxFile): ditto
6266 * LString.h: add the STRCONV macros
6268 * BufferView_pimpl.C (savePosition): STRCONV
6269 (restorePosition): ditto
6270 (MenuInsertLyXFile): ditto
6272 * vc-backend.C (scanMaster): change from submatch[...] to
6275 * funcrequest.C: include config.h
6277 * factory.C: include config.h
6279 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6281 * box.C: include config.h
6283 * LaTeX.C (scanAuxFile): change from submatch[...] to
6287 2002-10-25 Angus Leeming <leeming@lyx.org>
6289 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6291 * ispell.[Ch] (setError): new method.
6292 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6293 Use setError() insetead of goto END.
6295 * lyx_cb.C (AutoSave): move out child process into new class
6298 2002-10-30 John Levon <levon@movementarian.org>
6300 * text3.C: make start appendix undoable
6302 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6304 * lyxlength.C (inPixels): Fix returned value.
6306 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6309 2002-10-24 Angus Leeming <leeming@lyx.org>
6311 * lyxgluelength.h: no need to forward declare BufferParams
6312 or BufferView, so don't.
6314 2002-10-21 John Levon <levon@movementarian.org>
6316 * BufferView.C: menuUndo ->undo, redo
6318 * BufferView.h: document, remove dead, make some methods private
6320 * paragraph_funcs.h:
6321 * paragraph_funcs.C:
6322 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6327 * sgml.C: move sgml open/close tag into sgml.C
6329 * bufferview_funcs.h: unused prototype
6332 * lyxfunc.C: remove unused
6335 * text.C: remove unused
6337 2002-10-21 John Levon <levon@movementarian.org>
6341 * BufferView_pimpl.h:
6342 * BufferView_pimpl.C: fix mouse wheel handling based on
6343 patch from Darren Freeman
6345 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6347 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6349 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6351 * lyxlength.C (inPixels): Fix hanfling of negative length.
6352 Fix LyXLength::MU case.
6354 2002-10-16 John Levon <levon@movementarian.org>
6356 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6358 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6360 * converter.C (view): add support for $$i (file name) and $$p
6361 (file path) for the viewer command. If $$i is not specified, then
6362 it is appended to the command (for compatibility with old syntax)
6364 2002-10-14 Juergen Vigna <jug@sad.it>
6366 * undo_funcs.C (textHandleUndo): alter the order in which the
6367 new undopar is added to the LyXText, as we have to set first
6368 the right prev/next and then add it as otherwise the rebuild of
6369 LyXText is not correct. Also reset the cursor to the right paragraph,
6370 with this IMO we could remove the hack in "redoParagraphs()".
6372 2002-10-09 Angus Leeming <leeming@lyx.org>
6374 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6375 to turn off an optimisation if a new inset is to be inserted.
6377 2002-10-11 André Pönitz <poenitz@gmx.net>
6379 * lyxtext.h: make some functions public to allow access
6380 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6382 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6384 * text3.C (dispatch): when changing layout, avoid an infinite loop
6387 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6389 * lyxrc.C (read): treat a viewer or converter command of "none" as
6392 * MenuBackend.C (expandFormats): for an update, also allow the
6393 formats that are not viewable
6395 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6396 script if it is newer than the lyxrc.defaults in user directory
6398 2002-10-07 André Pönitz <poenitz@gmx.net>
6400 * text.C: Vitaly Lipatov's small i18n fix
6402 2002-09-25 Angus Leeming <leeming@lyx.org>
6404 * ispell.h: doxygen fix.
6406 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6408 * buffer.h (readFile): Add a new argument to the method, to allow
6409 reading of old-format templates.
6411 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6413 * toc.C (getTocList): Get TOC from InsetWrap.
6415 2002-09-16 John Levon <levon@movementarian.org>
6417 * lyxfunc.C: check tabular for cut/copy too
6419 2002-09-12 John Levon <levon@movementarian.org>
6424 * factory.C: add header
6426 * paragraph_funcs.h:
6427 * paragraph_funcs.C: cleanup
6429 2002-09-11 John Levon <levon@movementarian.org>
6431 * PrinterParams.h: odd/even default to true
6433 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6435 * PrinterParams.h: update printer parameters for new xforms dialog
6437 2002-09-11 Angus Leeming <leeming@lyx.org>
6439 * lyxserver.C (read_ready): re-write to make it more transparent
6440 and to make it work in coherent fashion under Tru64 Unix.
6442 2002-09-11 André Pönitz <poenitz@gmx.net>
6446 * text3.C: implement LFUN_WORDSEL
6448 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6450 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6451 make floatlist_ a boost::shared_ptr<FloatList>
6453 * lyxtextclass.C: include FloatList.h
6454 (LyXTextClass): initialize floatlist_
6455 (TextClassTags): add TC_NOFLOAT
6456 (Read): match "nofloat" to TC_NOFLOAT and use it.
6457 (readFloat): modify call to floatlist_
6461 * FloatList.[Ch] (FloatList): remove commented out float
6463 (erase): new function
6465 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6467 * MenuBackend.C (expandToc): fix crash when there is no document
6470 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6472 * many files: Add insetwrap.
6474 2002-09-09 John Levon <levon@movementarian.org>
6476 * text2.C: remove confusing and awkward depth wraparound
6478 2002-09-09 John Levon <levon@movementarian.org>
6480 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6483 * buffer.C: remove getIncludeonlyList()
6486 * lyxfunc.C: remove headers
6488 2002-09-09 Juergen Vigna <jug@sad.it>
6490 * text.C (getColumnNearX): fix form Michael this is most
6491 probably a cut&paste bug.
6493 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6495 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6497 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6498 references, ws changes.
6500 * text2.C (init): update counters after init
6501 (insertParagraph): no need to set counter on idividual paragraphs.
6502 (setCounter): access the counters object in the textclass object
6503 on in the buffer object.
6504 (updateCounters): ditto
6506 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6507 shared_ptr<Counters> to avoid loading counters.h in all
6509 (LyXTextClass): initialize ctrs_
6510 (TextClassTags): add TC_COUNTER, and ...
6511 (Read): use it here.
6512 (CounterTags): new tags
6513 (readCounter): new function
6514 (counters): new funtion
6515 (defaultLayoutName): return a const reference
6517 * counters.C (Counters): remove contructor
6518 (newCounter): remove a couple of unneeded statements.
6519 (newCounter): simplify a bit.
6520 (numberLabel): some small formatting changes.
6522 * buffer.[Ch]: remove all traces of counters, move the Counters
6523 object to the LyXTextClass.
6525 2002-09-06 Alain Castera <castera@in2p3.fr>
6527 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6528 package to set the horizontal alignment on fixed width columns.
6531 * lyx_sty.h: added tabularnewline macro def.
6533 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6535 2002-09-06 John Levon <levon@movementarian.org>
6537 * LyXAction.C: tooltips for sub/superscript
6539 * MenuBackend.C: a bit more verbose
6541 * lyxfunc.C: tiny clean
6543 * undo_funcs.C: document undo_frozen
6545 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6547 * counters.C (Counters): add missing algorithm counter.
6549 * text2.C (setCounter): lookup the counter with layouts latexname
6550 instead of by section number.
6551 (setCounter): use a hackish way to lookup the correct enum
6553 a float name->type change
6554 reset enum couners with counter name directly instead of depth value.
6556 * counters.C (Counters): remove the push_backs, change to use the
6557 float type not the float name.
6558 (labelItem): remove unused string, float name->type change
6560 * counters.h: don't include vector, loose the enums and sects vectors
6562 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6564 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6565 (Read): add float->TC_FLOAT to textclassTags
6566 (Read): and handle it in the switch
6567 (readFloat): new function
6569 * FloatList.C (FloatList): comment out the hardcoded float
6572 * lyxlayout.h: ws change.
6574 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6576 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6578 2002-09-03 Angus Leeming <leeming@lyx.org>
6580 * BufferView_pimpl.h: qualified name is not allowed in member
6581 declaration: WorkArea & Pimpl::workarea() const;
6583 * factory.C: added using std::endl directive.
6585 * text3.C: added using std::find and std::vector directives.
6587 2002-08-29 André Pönitz <poenitz@gmx.net>
6590 * text2.C: remove unused member number_of_rows
6593 * BufferView2.C: remove file, move contents to...
6594 * BufferView.C: ... here
6596 * BufferView_pimpl.C:
6597 * factory.C: move more inset creation to factory
6599 * vspace.C: avoid direct usage of LyXText, ws changes
6602 don't provide direct access to WorkArea, use two simple
6603 acessors haveSelction() and workHeight() instead
6606 2002-08-29 John Levon <levon@movementarian.org>
6608 * BufferView_pimpl.C (dispatch): do not continue when
6611 2002-08-28 André Pönitz <poenitz@gmx.net>
6613 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6616 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6618 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6620 * buffer.C: increment LYX_FORMAT to 221
6622 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6623 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6625 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6627 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6629 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6631 * factory.C (createInset): use LyXTextClass::floats
6633 * MenuBackend.C (expandFloatListInsert):
6634 (expandFloatInsert):
6637 * text2.C (setCounter):
6639 * LaTeXFeatures.C (useFloat):
6640 (getFloatDefinitions):
6642 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6644 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6645 floatlist_, with accessor floats().
6647 * FloatList.h: remove global FloatList
6649 2002-08-26 André Pönitz <poenitz@gmx.net>
6651 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6655 * BufferView_pimpl.C:
6656 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6658 2002-08-25 John Levon <levon@movementarian.org>
6660 * LyXAction.C: fix margin note description
6662 2002-08-24 John Levon <levon@movementarian.org>
6666 * bufferview_funcs.C:
6668 * undo_funcs.C: cleanups
6670 * lyxfunc.C: disable CUT/COPY when no selection
6672 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6674 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6675 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6677 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6678 Add backward compatibility to "mono", "gray" and "no".
6680 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6682 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6683 (and file_format >= 200).
6685 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6687 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6689 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6691 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6693 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6695 * BufferView_pimpl.C:
6702 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6703 inset and code to make it work with the paragraph code. The inset
6704 can be anywhere in the paragraph, but will only do the expected
6705 thing in LaTeX if the layout file contains the parameter line
6707 (or more generally, a nonzero value) for that layout.
6709 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6711 * paragraph.h: remove the declaration of undefined counters class
6714 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6716 * text2.C (setCounter): fixed enumeration mis-count as reported by
6717 Dr. Richard Hawkins.
6719 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6721 * paragraph_funcs.h: remove some unneeded includes
6723 * text.C (backspace): pasteParagraph now in global scipe
6725 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6726 (pasteSelection): ditto
6728 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6729 * paragraph_funcs.C (pasteParagraph): ... here
6731 2002-08-20 André Pönitz <poenitz@gmx.net>
6733 * commandtags.h: new LFUNs for swapping/copying table row/colums
6736 * lyxfunc.C: support for new lfuns
6738 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6741 * buffer.[Ch]: remove NO_COMPABILITY stuff
6743 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6745 * boost.C (throw_exception): new file, with helper function for
6746 boost compiled without exceptions.
6751 * ParameterStruct.h:
6752 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6754 * bufferlist.C (emergencyWriteAll): use boost bind
6756 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6758 * text.C: include paragraph_funcs.h
6759 (breakParagraph): breakParagraph is now in global scope
6761 * paragraph_funcs.[Ch]: new files
6763 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6766 * buffer.C: include paragraph_funcs.h
6767 (insertStringAsLines): breakParagraph is now in global scope
6769 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6772 * CutAndPaste.C: include paragraph_funcs.h
6773 (cutSelection): breakParagraphConservative is now in global scope
6774 (pasteSelection): ditto
6776 * buffer.h: declare oprator== and operator!= for
6777 Buffer::inset_iterator
6779 * bufferlist.C (emergencyWrite): don't use fmt(...)
6781 * text3.C: add using std::endl
6783 * BufferView.C (moveCursorUpdate): remove default arg
6785 2002-08-20 André Pönitz <poenitz@gmx.net>
6787 * buffer.[Ch]: move inline functions to .C
6790 * BufferView_pimpl.C:
6792 * buffer.[Ch]: use improved inset_iterator
6795 * paragraph.[Ch]: write one paragraph at a time
6797 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6799 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6800 style if style is not specified.
6802 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6804 * text2.C (setCounter): when searching for right label for a
6805 caption, make sure to recurse to parent insets (so that a caption
6806 in a minipage in a figure float works) (bug #568)
6808 2002-08-20 André Pönitz <poenitz@gmx.net>
6810 * text3.C: new file for LyXText::dispatch() and helpers
6812 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6814 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6816 2002-08-19 André Pönitz <poenitz@gmx.net>
6819 * text.C: new LyXText::dispatch()
6821 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6823 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6825 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6827 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6830 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6832 * Makefile.am: use $(variables) instead of @substitutions@
6834 2002-08-15 André Pönitz <poenitz@gmx.net>
6837 * BufferView_pimpl.C: streamlining mathed <-> outer world
6841 * LyXAction.C: remove unused LFUN_MATH
6843 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6845 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6847 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6849 * paragraph.C (Paragraph): reformat a bit
6850 (cutIntoMinibuffer): use builtin InsetList function instad of
6854 * buffer.C: include boost/bind.hpp, add using std::for_each
6855 (writeFileAscii): use ParagraphList iterators
6856 (validate): use for_each for validate traversal of paragraphs
6857 (getBibkeyList): use ParagraphList iterators
6858 (resizeInsets): use for_each to resizeInsetsLyXText for all
6860 (getParFromID): use ParagraphList iterators
6862 * BufferView2.C (lockInset): use paragraph list and iterators
6864 2002-08-14 John Levon <levon@movementarian.org>
6866 * lyxserver.C: remove spurious xforms include
6868 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6870 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6872 2002-08-13 André Pönitz <poenitz@gmx.net>
6875 * lyxfunc.C: further cleaning
6877 2002-08-13 André Pönitz <poenitz@gmx.net>
6879 * funcrequest.h: new constructor
6881 * funcrequest.C: move stuff here from .h
6884 * BufferView_pimpl.C:
6887 * lyxfunc.C: subsequent changes
6889 * lyxfunc.h: new view() member function
6891 * lyxfunc.C: subsequent changes
6893 2002-08-13 Angus Leeming <leeming@lyx.org>
6896 * BufferView_pimpl.C:
6904 changes due to the changed LyXView interface that now returns references
6905 to member variables not pointers.
6907 2002-08-13 Angus Leeming <leeming@lyx.org>
6909 * WordLangTuple (word, lang_code): return references to strings,
6914 * lyxtext.h: forward-declare WordLangTuple.
6919 * text.C: #include "WordLangTuple.h".
6922 * text.C: (selectNextWordToSpellcheck): constify return type.
6924 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6930 * paragraph_pimpl.h:
6933 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6935 Made updateCounter always count from start of buffer, and removed
6936 second argument (par).
6937 Reverted floats number display to '#'. Perhaps I'll try again when the
6938 code base is sanitized a bit.
6940 2002-08-12 Angus Leeming <leeming@lyx.org>
6942 * buffer.[Ch] (getLabelList): constify.
6944 2002-08-07 André Pönitz <poenitz@gmx.net>
6946 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6948 * funcrequest.h: extension to keep mouse (x,y) position
6950 2002-08-12 Juergen Vigna <jug@sad.it>
6952 * BufferView2.C (insertErrors): forbid undo when inserting error
6955 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6957 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6959 * ParagraphList.[Ch]: new files
6961 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6963 * BufferView2.C (lockInset): ParagraphList changes
6966 * bufferlist.C: ditto
6970 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6972 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6973 unused class variable counter_,
6975 * paragraph.[Ch] (getFirstCounter): delete unused function
6977 * counters.C: include LAssert.h
6978 (reset): add a new function with no arg, change other version to
6979 not have def. arg and to not allow empty arg.
6981 * text2.C (setCounter): remove empty arg from call to Counters::reset
6983 2002-08-11 John Levon <levon@movementarian.org>
6985 * Makefile.am: add WordLangTuple.h
6987 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6989 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6990 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6992 * insets/insettext.C: InsetList changes
6994 * graphics/GraphicsSupport.C (operator()): InsetList changes
6996 * toc.C (getTocList): InsetList changes
6998 * paragraph_pimpl.[Ch]: InsetList changes
7000 * paragraph.[Ch]: InsetList changes
7002 * buffer.C (inset_iterator): InsetList changes
7003 (setParagraph): ditto
7004 * buffer.h (inset_iterator): ditto
7005 * iterators.C (operator++): ditto
7006 * iterators.h: ditto
7008 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7010 * InsetList.[Ch]: new files, most InsetList handling moved out of
7013 * BufferView2.C (removeAutoInsets): InsetList changes
7015 (ChangeInsets): ditto
7017 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7019 * paragraph_pimpl.h (empty): new function
7021 * paragraph.[Ch] (empty): new function
7023 * other files: use the new Paragraph::empty function
7025 2002-08-09 John Levon <levon@movementarian.org>
7027 * lyxtext.h: remove unused refresh_height
7029 2002-08-09 John Levon <levon@movementarian.org>
7036 * paragraph.C: move sgml char escaping out of paragraph
7039 * paragraph.C: remove id setter
7043 * paragraph_pimpl.C: remove dead tex_code_break_column
7045 * bufferview_funcs.C: small cleanup
7047 * lyxfunc.C: remove dead proto
7049 * lyxtext.h: make some stuff private. Remove some dead stuff.
7051 * lyxgluelength.C: make as[LyX]String() readable
7053 2002-08-08 John Levon <levon@movementarian.org>
7058 * ToolbarDefaults.C:
7061 * toc.C: lyxaction cleanup
7063 2002-08-08 John Levon <levon@movementarian.org>
7065 * BufferView2.C: small cleanup
7068 * lyxfind.C: move unnecessary header into the .C
7070 2002-08-08 John Levon <levon@movementarian.org>
7072 * funcrequest.h: just tedious nonsense
7075 * lyx_main.C: cleanups
7078 * vspace.C: remove dead header lyx_main.h
7080 2002-08-07 Angus Leeming <leeming@lyx.org>
7083 * paragraph_pimpl.h:
7084 Forward declare class Counters in paragraph.h by moving the ctrs member
7085 variable into Paragraph::Pimpl.
7086 (counters): new method, returning a reference to pimpl_->ctrs.
7088 * text2.C: ensuing changes.
7090 2002-08-07 John Levon <levon@movementarian.org>
7092 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7094 * BufferView_pimpl.C: announce X selection on double/triple
7097 * lyx_main.C: use correct bool in batch dispatch
7099 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7101 2002-08-07 André Pönitz <poenitz@gmx.net>
7103 * funcrequest.h: new class to wrap a kb_action and its argument
7106 * BufferView_pimpl[Ch]:
7110 * lyxrc.C: subsequent changes
7113 2002-08-07 John Levon <levon@movementarian.org>
7115 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7116 document options change.
7118 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7123 * makefile.am: move counters functionality over from
7124 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7126 2002-08-06 John Levon <levon@movementarian.org>
7128 * WordLangTuple.h: new file for word + language code tuple
7139 * BufferView2.C: use WordLangTuple
7142 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7144 2002-08-06 John Levon <levon@movementarian.org>
7146 * lyx_main.C: fix cmdline batch handling
7148 2002-08-06 André Pönitz <poenitz@gmx.net>
7150 * lyxrc.C: set default for show_banner to true
7152 2002-08-06 John Levon <levon@movementarian.org>
7154 * pspell.C: fix a crash, and allow new aspell to work
7156 2002-08-06 John Levon <levon@movementarian.org>
7159 * kbmap.C: small cleanup
7162 * vspace.C: add const
7164 2002-08-05 John Levon <levon@movementarian.org>
7166 * LyXAction.C: back to tabular-insert
7168 2002-08-04 John Levon <levon@movementarian.org>
7171 * BufferView.C: cosmetic change
7173 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7183 * BufferView2.C: purge all "Lyx" not "LyX" strings
7186 * lyxcursor.C: attempt to add some documentation
7191 * ToolbarDefaults.C:
7192 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7193 merge with LFUN_TABULAR_INSERT
7200 * pspell.C: split up i/pspell implementations into separate
7201 files, many cleanups
7203 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7205 * text2.C: some cleanup
7207 * lyxfunc.C: don't check for isp_command == "none" any more, it
7208 didn't make any sense
7210 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7215 * makefile.am: move counters functionality over
7216 from text2.C/paragraph.[Ch] to counters.[Ch], and
7218 2002-08-02 John Levon <levon@movementarian.org>
7220 * buffer.C: s/lyxconvert/lyx2lyx/
7222 2002-08-02 Angus Leeming <leeming@lyx.org>
7224 * lyxlex.C: revert John's change as it breaks reading of the user
7227 2002-08-02 Angus Leeming <leeming@lyx.org>
7229 * importer.C (Import):
7230 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7231 changes due to LyXView::view() now returning a boost::shared_ptr.
7233 2002-08-02 John Levon <levon@movementarian.org>
7235 * lyxlex.C: small cleanup
7237 2002-08-02 John Levon <levon@movementarian.org>
7239 * text2.C (status): small cleanup, no logic change
7241 2002-08-01 John Levon <levon@movementarian.org>
7244 * buffer.C (writeFile): don't output alerts, caller
7248 * lyx_cb.C: from above
7250 * lyxfunc.C: allow to open non-existent files
7252 2002-07-31 John Levon <levon@movementarian.org>
7254 * lyxserver.C: don't let incidental errors get
7257 2002-07-30 John Levon <levon@movementarian.org>
7259 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7261 2002-07-30 John Levon <levon@movementarian.org>
7264 * lyxserver.C: remove I/O callback too
7266 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7268 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7271 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7273 * many files: strip,frontStrip -> trim,ltrim,rtrim
7275 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7277 * PrinterParams.h: remove extern containsOnly, and include
7278 support/lstrings.h instead.
7280 * LaTeX.C (scanAuxFile): modify because of strip changes
7282 * buffer.C (makeLaTeXFile): ditto
7283 * bufferparams.C (writeFile): ditt
7284 * lyxfont.C (stateText): ditto
7285 * lyxserver.C (read_ready): ditto
7286 * vc-backend.C (scanMaster): ditto
7288 * BufferView_pimpl.h: ws changes
7290 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7292 2002-07-26 André Pönitz <poenitz@gmx.net>
7294 * kb_sequence.C: remove unnedred usings
7296 2002-07-26 Juergen Vigna <jug@sad.it>
7298 * lyxfind.C (LyXReplace): we have to check better if the returned
7299 text is not of theLockingInset()->getLockingInset().
7301 2002-07-25 Juergen Vigna <jug@sad.it>
7303 * lyxfind.C (LyXReplace): don't replace if we don't get the
7306 * undo_funcs.C (createUndo): remove debugging code.
7308 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7310 * buffer.C (parseSingleLyXformat2Token): Use default placement
7311 when reading old floats.
7313 * FloatList.C (FloatList): Change the default placement of figure
7314 and tables to "tbp".
7316 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7318 * MenuBackend.C: using std::max
7320 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7322 * MenuBackend.C (expandToc):
7323 (expandToc2): code moved from xforms menu frontend. It is now
7324 generic and TOCs are transparent to menu frontends.
7326 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7328 * toc.C (getTocList): protect against buf=0
7330 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7331 Menu as first parameter. Now, this calls itself recursively to
7332 expand a whole tree (this will be useful for TOC handling)
7333 (expandFloatInsert): remove 'wide' version of floats
7335 * MenuBackend.h (submenuname): returns the name of the submenu.
7336 (submenu): returns the submenu itself, provided it has been
7337 created by MenuBackend::expand
7339 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7341 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7342 insets which have noFontChange == true. (bug #172)
7344 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7346 * BufferView_pimpl.C: add connection objects and use them...
7349 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7351 * MenuBackend.C (expandLastfiles):
7354 (expandFloatListInsert):
7355 (expandFloatInsert):
7356 (expand): split expand in parts
7358 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7360 * lyx_gui.C: use lyx_gui::exit()
7362 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7364 * LyXAction.C: show the failing pseudo action
7366 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7368 * buffer.C (readFile): Run the lyxconvert script in order to read
7371 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7375 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7377 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7381 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7383 2002-07-22 Herbert Voss <voss@lyx.org>
7386 * lyxlength.[Ch]: add support for the vertical lengths
7388 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7390 * toc.[Ch]: std:: fixes
7392 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7394 * lyxrc.C: do not include lyx_main.h
7396 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7402 * BufferView2.C: include "lyxlex.h"
7405 * bufferparams.h: do not #include "lyxlex.h"
7407 * lyxtextclasslist.C (Add): remove method
7408 (classlist): renamed to classlist_
7410 * paragraph_pimpl.C:
7414 * bufferview_funcs.C:
7419 * toc.C (getTocList): use BufferParams::getLyXTextClass
7421 * toc.C (getTocList): use InsetFloat::addToToc
7423 * toc.[Ch]: new files, containing helper functions to handle table
7426 * lyxfunc.C (dispatch): no need to remove spaces around command
7428 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7429 first command of the sequence; it is not very clever, but I do not
7430 have a better idea, actually
7432 * LyXAction.C (LookupFunc): make sure to remove space at the
7433 beginning and end of the command
7435 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7437 * MenuBackend.C (getMenubar): new method: return the menubar of
7439 (read): treat differently reading of menu and menubar (in
7440 particular, the menubar has no name now)
7441 (Menu::menubar): remove
7443 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7446 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7448 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7449 a bibitem inset in a RTL paragraph.
7451 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7453 * paragraph_pimpl.C: constify
7455 * BufferView_pimpl.C:
7457 * lyxfunc.C: fix dispatch in a nicer way
7459 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7461 * lyxfunc.C (dispatch):
7462 * BufferView_pimpl.C:
7463 * BufferView_pimpl.h:
7465 * BufferView.h: rename Dispatch() to dispatch()
7467 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7469 * lyxlayout.C (Read): honor DependsOn tag
7471 * lyxlayout.[Ch] (depends_on): new method
7473 * version.C.in: update lyx_docversion
7475 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7477 * paragraph.C (validate): remove from here...
7478 * paragraph_pimpl.C (validate): ... and move here
7479 (isTextAt): make it const
7481 * buffer.C (getLists): ws cleanup
7483 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7485 * language.C (read): Use iso8859-1 encoding in latex_lang
7486 (this prevents LyX from crashing when using iso10646-1 encoding).
7488 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7490 * text2.C (toggleInset): if cursor is inside an inset, close the
7491 inset and leave cursor _after_ it
7493 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7495 * lyxfunc.C: move minibuffer completion handling out of here
7497 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7499 * BufferView_pimpl.C:
7500 * LaTeX.C: fix dispatch calls
7502 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7504 * text.C (drawChars): Fix Arabic text rendering.
7506 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7510 * lyxfunc.C: remove message-push/pop
7514 * lyxfunc.C: rationalise some code by removing verboseDispatch
7515 in favour of a bool argument to dispatch()
7517 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7519 * lyx_main.C (init): make sure to read symlinks as absolute paths
7521 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7524 * lyxfunc.C: no need for commandshortcut to be a member
7526 2002-07-15 André Pönitz <poenitz@gmx.net>
7528 * converter.C: add support for $$s (scripts from lib/scripts dir)
7529 * lyx_main.C: white space
7531 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7535 * lyxrc.C: remove second exit confirmation
7537 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7542 * BufferView_pimpl.h:
7543 * BufferView_pimpl.C:
7544 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7546 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7548 * MenuBackend.C (expand): add numeric shortcuts to document menu
7550 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7552 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7554 * lyxfont.C (setLyXFamily):
7561 * buffer.C (asciiParagraph): use ascii_lowercase
7563 2002-07-15 Mike Fabian <mfabian@suse.de>
7565 * lyxlex_pimpl.C (search_kw):
7566 * lyxlex.C (getLongString):
7567 * converter.h (operator<):
7568 * converter.C (operator<):
7569 * buffer.C (parseSingleLyXformat2Token):
7571 * ToolbarDefaults.C (read):
7572 * MenuBackend.C (checkShortcuts):
7574 * LColor.C (getFromGUIName):
7575 (getFromLyXName): use the compare_ascii_no_case instead of
7576 compare_no_case, because in turkish, 'i' is not the lowercase
7577 version of 'I', and thus turkish locale breaks parsing of tags.
7579 2002-07-16 Angus Leeming <leeming@lyx.org>
7581 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7582 now takes a Buffer const & argument.
7584 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7586 * BufferView.C (resize): check there's a buffer to resize
7588 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7590 * lyxfunc.C: remove dead code
7593 * lyxserver.C: use lyx_guii::set_read_callback
7595 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7597 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7598 an inset in a RTL paragraph.
7600 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7602 * lyxfunc.C: repaint after a font size update
7604 2002-07-15 André Pönitz <poenitz@gmx.net>
7606 * lyxlength.C: inBP should be able to return negative values
7608 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7610 * lyxfunc.C: use lyx_gui::update_fonts()
7612 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7614 * lyxfunc.C: use lyx_gui::update_color()
7616 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7622 * lyxrc.C: remove file->new asks for name option, and let
7623 buffer-new take an argument
7625 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7627 * BufferView_pimpl.C: remove unneeded extra repaint()
7629 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7631 * LyXAction.C: allow command-sequence with NoBuffer
7633 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7635 2002-07-10 Angus Leeming <leeming@lyx.org>
7637 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7639 2002-07-09 Angus Leeming <leeming@lyx.org>
7641 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7643 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7645 * lengthcommon.h: whitespace
7647 * lyxfunc.C: update scrollbar after goto paragraph
7649 * lyxtext.h: factor out page break drawing, and fix it so
7650 page break/added space paints as selected nicely
7652 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7654 * BufferView_pimpl.C: add FIXMEs, clean up a little
7656 2002-07-09 André Pönitz <poenitz@gmx.net>
7658 * lyxfont.[Ch]: support for wasy symbols
7660 2002-07-08 André Pönitz <poenitz@gmx.net>
7662 * BufferView_pimpl.C: apply John's patch for #93.
7664 2002-07-05 Angus Leeming <leeming@lyx.org>
7666 * BufferView_pimpl.C (buffer): generate previews if desired.
7668 * LColor.h: add "preview" to the color enum.
7670 * LColor.C (LColor): add a corresponding entry to the items array.
7672 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7675 2002-07-05 Angus Leeming <leeming@lyx.org>
7677 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7678 The body of the code is now in the method that is passed an ostream &
7679 rather than a file name.
7680 Pass an additional only_preamble parameter, useful for the forthcoming
7683 2002-07-03 André Pönitz <poenitz@gmx.net>
7685 * lyxfunc.C: simplify getStatus() a bit for math stuff
7687 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7689 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7691 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7693 * text.C (changeRegionCase): do not change case of all the
7694 document when region ends at paragraph end (bug #461)
7696 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7698 * paragraph.C (startTeXParParams):
7699 (endTeXParParams): add \protect when necessary
7701 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7703 * BufferView_pimpl.C (workAreaExpose): remove warning
7705 2002-06-27 Angus Leeming <leeming@lyx.org>
7707 * Makefile.am: add lyxlayout_ptr_fwd.h.
7709 2002-06-26 André Pönitz <poenitz@gmx.net>
7711 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7713 2002-06-25 Angus Leeming <leeming@lyx.org>
7715 * lyxfunc.C (dispatch): Comment out the call to
7716 grfx::GCache::changeDisplay. The method no longer exists now that the
7717 pixmap generation part of the graphics loader has been moved into
7720 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7722 * text2.C: layout as layout
7724 * text.C: layout as layout
7726 * tabular.C (OldFormatRead): layout as layout
7728 * paragraph_pimpl.C (TeXDeeper): layout as layout
7729 (realizeFont): layout as layout
7731 * paragraph.C (writeFile): layout as layout
7732 (validate): layout as layout
7733 (getFont): layout as layout
7734 (getLabelFont): layout as layout
7735 (getLayoutFont): layout as layout
7736 (breakParagraph): layout as layout
7737 (stripLeadingSpaces): layout as layout
7738 (getEndLabel): layout as layout
7739 (getMaxDepthAfter): layout as layout
7740 (applyLayout): layout as layout
7741 (TeXOnePar): layout as layout
7742 (simpleTeXOnePar): layout as layout
7743 (TeXEnvironment): layout as layout
7744 (layout): layout as layout
7745 (layout): layout as layout
7747 * lyxtextclass.C (compare_name): new functor to work with
7748 shared_ptr, layout as layout
7749 (Read): layout as layout
7750 (hasLayout): layout as layout
7751 (operator): layout as layout
7752 (delete_layout): layout as layout
7753 (defaultLayout): layout as layout
7755 * lyxlayout_ptr_fwd.h: new file
7757 * lyxlayout.C (Read): layout as layout
7759 * lyx_cb.C (MenuInsertLabel): layout as layout
7761 * bufferlist.C (newFile): layout as layout
7763 * buffer.C (readLyXformat2): layout as layout
7764 (parseSingleLyXformat2Token): layout as layout
7765 (insertStringAsLines): layout as layout
7766 (asciiParagraph): layout as layout
7767 (latexParagraphs): layout as layout
7768 (makeLinuxDocFile): layout as layout
7769 (simpleLinuxDocOnePar): layout as layout
7770 (makeDocBookFile): layout as layout
7771 (simpleDocBookOnePar): layout as layout
7772 (getLists): layout as layout
7774 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7776 * CutAndPaste.C (cutSelection): layout as layout
7777 (pasteSelection): layout as layout
7778 (SwitchLayoutsBetweenClasses): layout as layout
7780 * BufferView_pimpl.C (Dispatch): layout as layout
7781 (smartQuote): layout as layout
7783 * BufferView2.C (unlockInset): layout as layout
7785 2002-06-24 André Pönitz <poenitz@gmx.net>
7787 * lyxfunc.C: fix #487
7789 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7793 * lyxfunc.C: remove display_shortcuts, show_banner
7795 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7797 * Buffer_pimpl.C: oops, update on resize
7799 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7806 * BufferView.C: use repaint()
7808 * BufferView_pimpl.h:
7809 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7810 as it's a clearer description. Remove superfluous
7813 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7815 * text.C: fix bug 488. Not ideal, but getting
7816 getWord() to work properly for the insets that
7817 matter is more difficult ...
7819 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7821 * BufferView_pimpl.C:
7824 * lyxfunc.C: remove the six million index lyxfuncs to just
7825 one, and DTRT (bug 458)
7827 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7831 * BufferView_pimpl.h:
7832 * BufferView_pimpl.C: clean up resize() stuff,
7833 and unnecessary updateScreen()s
7835 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7839 * BufferView_pimpl.h:
7840 * BufferView_pimpl.C:
7843 * minibuffer.C: remove focus management of workarea,
7844 not needed. Use screen's greyOut()
7846 2002-06-17 Herbert Voss <voss@lyx.org>
7848 * converter.C: (convert) do not post a message, when converting
7849 fails, let the calling function decide what to do in this case
7851 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7853 * lyxfunc.C: tidy up a little
7855 2002-06-16 <alstrup@diku.dk>
7857 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7858 Got rid of FORMS_H_LOCATION include. Now we are
7861 2002-06-15 LyX Development team <lyx@rilke>
7863 * buffer.[Ch] (sgmlOpenTag):
7864 (sgmlCloseTag): Added support for avoiding pernicious mixed
7865 content. Return number of lines written.
7868 (makeDocBookFile): Fixed calls to sgml*Tag.
7869 Simple white space clean.
7871 (simpleDocBookOnePar): Simple white space clean.
7873 * tabular.[Ch] (docBook): Renamed to docbook and got another
7874 argument to related with the pernicious mixed content.
7876 (docbookRow): Fixed calls for docbook inset method.
7878 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7880 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7881 so it's X11 independent.
7885 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7887 2002-06-15 Lyx Development team <lyx@electronia>
7889 * intl.h: Renamed getTrans to getTransManager.
7891 2002-06-14 Angus Leeming <leeming@lyx.org>
7893 * Makefile.am: nuke forgotten stl_string_fwd.h.
7895 2002-06-12 Angus Leeming <leeming@lyx.org>
7897 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7899 2002-06-13 Angus Leeming <leeming@lyx.org>
7902 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7904 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7906 * kbmap.C (getiso): add support for cyrillic and greek
7908 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7912 * BufferView_pimpl.h:
7913 * BufferView_pimpl.C: move bogus scrolling logic
7916 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7919 * BufferView_pimpl.C: view->resize() change
7921 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7923 * BufferView_pimpl.C: topCursorVisible
7926 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7930 * lyx_gui.C: move to frontends/
7934 * lyx_main.C: changes from above
7936 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7943 * lyx_main.C: minor tidy
7945 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7947 * BufferView_pimpl.h:
7948 * BufferView_pimpl.C:
7950 * BufferView.C: make painter() const,
7953 * BufferView2.C: use screen() accessor
7956 * lyx_main.C: some minor cleanup
7958 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7960 * BufferView_pimpl.h:
7961 * BufferView_pimpl.C: remove enter/leaveView,
7964 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7969 * BufferView_pimpl.h:
7970 * BufferView_pimpl.C: only construct screen once,
7973 * lyxrc.C: remove pointless comment
7975 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7978 * BufferView.C: remove active() and belowMouse()
7980 * BufferView_pimpl.h:
7981 * BufferView_pimpl.C: use workarea() not workarea_,
7982 and make it use a scoped_ptr instead
7984 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7986 * lyx_gui.C: add debug message on BadWindow
7988 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7990 * sp_spell.C: fdopen is not part of the C++ standard.
7992 * paragraph.C (InsetIterator): use >= instead of ==
7994 2002-06-07 Angus Leeming <leeming@lyx.org>
7996 Fixes needed to compile with Compaq cxx 6.5.
7997 * BufferView_pimpl.C:
8004 * lyxtextclasslist.C:
8009 all c-library variables have been moved into namespace std. Wrap
8010 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8015 Add a using std::abs declaration.
8017 * kbmap.h (modifier_pair):
8018 * paragraph.h (InsetTable, InsetList):
8019 * lyxfont.h (FontBits):
8020 type definition made public.
8022 * bufferlist.C (emergencyWriteAll): the compiler complains that
8023 there is more than one possible lyx::class_fun template to choose from.
8024 I re-named the void specialisation as lyx::void_class_fun.
8026 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8028 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8029 the compiler is is unable to find tostr in write_attribute.
8031 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8033 * buffer.C (sgmlError): hide #warning
8035 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8037 * xtl/*: get rid of xtl, which is not in use anyway
8039 * LyXAction.C (init):
8040 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8041 were unimplemented xtl experimentation
8043 2002-06-04 André Pönitz <poenitz@gmx.net>
8045 * lyxfunc.C: disable array operation on simple formulae
8047 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8049 * converter.C: constify a bit
8051 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8053 * lyx_gui.C: check xforms version correctly
8055 2002-04-30 Herbert Voss <voss@lyx.org>
8057 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8060 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8062 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8063 attempt to register it with a VCS)
8065 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8067 * lyx_main.C (init): honor variables LYX_DIR_13x and
8070 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8074 * lyx_main.C: fix a crash on bad command line,
8075 and give a useful exit status on error
8077 * lyxfunc.C (doImport): allow -i lyx to work
8079 2002-03-30 André Pönitz <poenitz@gmx.net>
8081 * lyxfunc.C: mathed font changes
8083 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8098 * trans_mgr.h: srcdocs, and some minor cleanups
8100 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8102 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8103 call getFont all the time)
8105 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8107 * switch from SigC signals to boost::signals
8109 2002-05-29 André Pönitz <poenitz@gmx.net>
8111 * paragraph_pimpl.C (getChar): don't call size() too often...
8113 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8115 * paragraph_pimpl.C (insertChar): do not try to update tables when
8116 appending (pos == size())
8118 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8119 in order to reduce drastically the number of comparisons needed to
8120 parse a large document
8122 2002-05-29 André Pönitz <poenitz@gmx.net>
8128 * textclasslist.[Ch]:
8129 * sp_ispell.h: whitespace change
8131 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8133 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8134 lyxaction directly now.
8136 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8140 * lyxvc.C: remove unused headers
8142 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8149 * undo_funcs.C: some cleanups. Use shared_ptr
8150 and a template for the undo stacks.
8152 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8154 * BufferView_pimpl.h:
8155 * BufferView_pimpl.C:
8162 * text2.C: use key_state/mouse_state
8164 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8166 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8169 * chset.C: change include order
8170 (loadFile): use boost regex and get rid of LRegex and LSubstring
8172 * Makefile.am (BOOST_LIBS): new variable
8175 * LaTeX.C: change include order.
8176 (scanAuxFile): use boost regex and get rid of LRegex and
8180 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8185 * FontInfo.C: moved to frontends/xforms/
8188 * FontLoader.C: moved into frontends for GUIIzation
8193 * lyxfunc.C: changes from above
8195 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8197 * LColor.C: remove spurious X include
8199 * BufferView_pimpl.C:
8204 * text2.C: move font metrics to frontends/
8206 2002-05-24 Juergen Vigna <jug@sad.it>
8208 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8209 setting the undo_cursor.
8211 * ParagraphParameters.h: include local includes first.
8213 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8215 * BufferView_pimpl.C:
8216 * BufferView_pimpl.h:
8220 * screen.C: move WorkArea into frontends/
8226 * BufferView2.C: move LyXScreen into frontends/
8230 * lyx_gui.C: move lyxlookup into frontends/xforms/
8232 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8235 * BufferView_pimpl.C:
8245 * bufferview_funcs.C:
8258 * vc-backend.C: move LyX/XFormsView into frontends/
8260 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8272 * text2.C: move Painter to frontends/
8274 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8276 * buffer.C: comment out some some code that depend upon lyx_format
8279 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8280 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8282 * buffer.h (NO_COMPABILITY): turn off compability
8284 * ColorHandler.C: include scoped_array.hpp
8286 * font.C: Use more specific smart_ptr header.
8289 * ShareContainer.h: ditto
8293 * BufferView_pimpl.h: ditto
8294 * ColorHandler.h: ditto
8296 * kbmap.C (defkey): change call to shared_ptr::reset
8298 2002-05-21 Juergen Vigna <jug@sad.it>
8300 * buffer.C (insertErtContents): fix to insert ert asis if it is
8301 non empty. Skip it completely if it contains only whitespaces.
8303 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8305 * BufferView_pimpl.C:
8306 * BufferView2.C: clear selection on paste (bug 393)
8308 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8310 * DepTable.C: include ctime
8312 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8314 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8316 2002-05-14 Juergen Vigna <jug@sad.it>
8318 * text.C (breakParagraph): fixed function to honor the keepempty
8319 layout in the right maner and also to permit the right breaking
8320 algorithm on empty or non empyt keepempty paragraphs.
8322 * paragraph.C (breakParagraph): we have to check also if the par
8323 is really empty (!size()) for isempty otherwise we do the wrong
8326 2002-05-10 Juergen Vigna <jug@sad.it>
8328 * buffer.[Ch] : The following are only changes to the ert
8329 compatibility read reading old LaTeX layout and font stuff and
8330 convert it to ERTInsets.
8332 * buffer.h: added isErtInset().
8334 * buffer.C (struct ErtComp): add a fromlayout bool to check
8335 if we're inside a LaTeX layout.
8336 (isErtInset): new helper function.
8337 (insertErtContents): look for other ert insets before this one
8338 and insert the contents there, so that we don't have subsequent
8339 ERT insets with nothing between them. This way we create only one
8340 inset with multiple paragraphs. Also check if we don't insert only
8341 spaces ' ' as they are ignored anyway afterwards in the .tex file
8342 so if we have only spaces we will ignore this latex part in the
8344 (parseSingleLyXformat2Token \\layout): better compatibility when
8345 reading layout-latex stuff.
8346 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8348 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8349 stuff after reading the inset only get the information back from
8352 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8354 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8356 * LaTeXFeatures.C (getBabelOptions): New method.
8358 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8360 * BufferView_pimpl.C (Dispatch): work around missing argument for
8363 2002-05-08 Juergen Vigna <jug@sad.it>
8365 * text.C (leftMargin): handle paragraph leftindent.
8367 * paragraph.C (writeFile): write the new \\leftindent tag.
8368 (validate): handle leftindent code.
8369 (TeXEnvironment): handle paragraphleftindent code again.
8371 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8373 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8374 for paragrap_extra indent code and new token \\leftindent.
8375 (latexParagraphs): handle the leftindent as environment.
8377 * ParameterStruct.h: added leftindent support.
8379 * ParagraphParameters.C (leftIndent): added support functions for
8380 the paragraph left indent.
8382 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8385 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8387 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8390 * text.C (computeBidiTables): No bidi in insetERT.
8392 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8395 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8397 * version.C.in: pre 5
8399 2002-05-02 José Matos <jamatos@fep.up.pt>
8400 * buffer.C (makeDocBookFile): white space changes, add newline to
8402 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8404 * tabular.C (docBook): fix typo.
8406 2002-05-03 Juergen Vigna <jug@sad.it>
8408 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8409 change in LyXText as we can not be sure it was not freed.
8410 (drawOneRow): remove unused code.
8412 * text.C (drawInset): redo the calculation of the need_break_row as
8413 it could have a row which was already freed.
8414 (draw): look at the return value of drawInset and return false if
8415 it also returned false.
8416 (paintRowText): look at the return value of draw and return false if
8417 it also returned false.
8419 * lyxtext.h: added bool return type to drawInset() and draw() so that
8420 if we have a change in the row so that the rowbreak has to be redone
8421 we abort drawing as it will be called again.
8423 2002-05-02 Juergen Vigna <jug@sad.it>
8425 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8426 a change in the maintext also if we're inside an inset.
8427 (Dispatch): set the cursor again after a break line and after the
8428 screen has been updated as it could be we're in a different row.
8430 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8431 to set the cursor behind the pargraph with > size().
8432 (setCursor): check also for the same paragraph when checking where
8433 to put the cursor if we have a NFR inset.
8435 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8436 parts of layout read further up as it still was in the wrong
8439 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8441 * screen.C (drawFromTo): change sine fullRebreak always return
8444 * buffer.C (parseSingleLyXformat2Token): reindent some
8446 * BufferView_pimpl.C (update): change since fullRebreak always
8448 (Dispatch): git rid of the last hardcoded "Standard"s.
8450 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8452 * text2.[Ch] (fullRebreak): make it return void now that we always
8455 2002-04-30 Juergen Vigna <jug@sad.it>
8457 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8458 ert compatibility check for "latex" layout.
8460 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8462 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8463 minipages: use col% instead of p%, and also use the current font.
8464 (makeLaTeXFile): Fix use babel condition.
8465 (parseSingleLyXformat2Token): Correct font when reading old floats.
8467 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8469 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8470 inserting list of floats.
8472 2002-04-25 Herbert Voss <voss@lyx.org>
8474 * MenuBackend.C (expand): don't add the graphics extensions to the
8477 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8479 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8480 non-existing layout, do not complain if it was the default layout
8481 of the original class (bug #342)
8483 2002-04-24 Juergen Vigna <jug@sad.it>
8485 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8486 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8488 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8490 * buffer.C (getBibkeyList): If using \bibliography, return the
8491 option field with the reference itself. Enables us to provide natbib
8492 support when using \bibliography.
8494 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8496 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8498 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8499 natbib is provided by the LaTeX class.
8501 2002-04-23 Juergen Vigna <jug@sad.it>
8503 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8506 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8508 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8510 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8512 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8513 ensuremath around textordmasculine, textordfeminine and
8516 2002-04-19 Juergen Vigna <jug@sad.it>
8518 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8519 reinitializing the buffer otherwise row-dimensions may be wrong.
8520 (update): reset also the selection cursors if they do exits otherwise
8521 their x/y positions may be wrong.
8523 * text2.C (cursorDown): don't enter the inset if we came from a row
8524 above and are one row over the inset.
8526 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8527 really leaving an inset.
8529 2002-04-18 Juergen Vigna <jug@sad.it>
8531 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8532 of the selected paragraph does not have the selected layout also if
8535 * text2.C (setLayout): fixed bug which did not change last selected
8538 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8539 changed the read and substituted \\end_float with \\end_inset!
8541 * BufferView_pimpl.C (cursorPrevious):
8542 (cursorNext): fixed to make it work with rows heigher than the work
8543 area without moving the cursor only the draw of the row.
8544 (workAreaMotionNotify): fix jumping over high rows.
8546 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8548 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8551 2002-04-16 Juergen Vigna <jug@sad.it>
8553 * text2.C (setCursor): set also the irow().
8554 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8556 (cursorDown): support for locking an inset if the x_fix value goes
8557 inside it. That way I can transverse insets too with cursor up/down.
8559 * lyxrow.h: added irow helper function same as other (i) functions.
8561 * BufferView_pimpl.C (cursorPrevious):
8562 (cursorNext): fixed for insets!
8564 2002-04-15 Juergen Vigna <jug@sad.it>
8566 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8567 position otherwise it is wrong in some cases.
8569 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8570 inside the inset before the call.
8572 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8574 * buffer.[Ch] (getBibkeyList): make it const.
8576 2002-04-12 Juergen Vigna <jug@sad.it>
8578 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8580 * text2.C (getCursorX): new helper function
8581 (setCursor): compute also ix_
8582 (setCursorFromCoordinates): set also ix.
8584 * lyxcursor.h: added ix_ and helper functions.
8586 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8588 * buffer.C (insertStringAsLines): dont break paragraph if the this
8589 paragraph is inside an inset which does not permit it!
8591 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8592 also with no chars on this paragraph.
8593 (paintRowText): only paint stuff if it's inside the workarea!
8595 * paragraph.C (breakParagraph): honor keepempty flag and break the
8596 paragraph always below not above.
8598 * BufferView2.C (unlockInset): update the paragraph layout on inset
8599 unlock as we changed paragraph in such a case.
8601 * lyxfind.C (LyXFind): clear the former selection if not found!
8603 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8604 again called in insertChar().
8606 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8607 an inset which uses the whole row!
8608 (rightMargin): ditto.
8609 (insertChar): force a rebreak if we inserted an inset!
8611 2002-03-28 Herbert Voss <voss@lyx.org>
8613 * lyxlength.[Ch]: add inBP() to get the right PS-point
8614 units (BigPoint). With inPixels we have rounding errors
8616 2002-04-11 Juergen Vigna <jug@sad.it>
8618 * text2.C (setCursorFromCoordinates): set iy to the right value.
8619 (setCursor): add check if row->previous exists!
8621 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8622 an old float_type as this was the case in the old code!
8624 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8626 * BufferView2.C (showLockedInsetCursor): use iy
8627 (fitLockedInsetCursor): ditto
8629 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8630 locked insets as there we have the right value now.
8632 * lyxcursor.C: added iy_ variable and iy functions to set to the
8633 baseline of cursor-y of the locked inset.
8635 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8636 (setCursor): fixed for insets which need a full row.
8638 * text.C (rowLastPrintable): don't ignore the last space when before
8639 an inset which needs a full row.
8640 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8641 as last character of a row when before a inset which needs a full row.
8643 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8645 * version.C.in: update date
8647 * text2.C (fullRebreak): try to always return true and see what
8650 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8652 * MenuBackend.C (expand): use Floating::listName
8654 * FloatList.C (FloatList): add listName argument to the built-in
8657 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8658 text associated with the float.
8660 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8662 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8664 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8666 * ShareContainer.h: add a couple of missing typenames.
8668 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8670 * lyxrc.C (getDescription): use _() correctly rather than N_().
8672 2002-03-28 Herbert Voss <voss@lyx.org>
8674 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8675 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8677 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8679 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8680 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8682 2002-03-29 Juergen Vigna <jug@sad.it>
8684 * lyxfunc.C (dispatch): add a missing fitCursor call.
8686 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8687 it was scrolled by a cursor move, so return the bool status.
8689 * BufferView.C (fitCursor): return the bool flag also to the outside
8690 world as this is needed.
8692 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8694 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8695 call the edit() as it is not needed (and wrong) IMO.
8696 (workAreaButtonPress): set the screen_first variable before evt.
8697 unlock the inset as this may change screen_first and then we have
8698 a wrong y position for the click!
8700 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8702 * MenuBackend.C (expand): another translation that I missed
8704 2002-03-28 Juergen Vigna <jug@sad.it>
8706 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8708 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8710 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8712 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8714 * MenuBackend.C (expand): fix export/view/update when there is no
8717 2002-03-27 Herbert Voss <voss@lyx.org>
8719 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8722 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8724 * bufferview_funcs.C (currentState): only show paragraph number
8725 for is DEVEL_VERSION is set.
8727 * lyxfunc.C (dispatch): put warning in INFO channel
8729 * MenuBackend.C (expand): translate the name of floats
8731 * FloatList.C (FloatList): mark the float names for translation
8733 * converter.C (convert): use LibScriptSearch
8735 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8737 * MenuBackend.C (defaults): fix default menu (we might as well get
8740 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8742 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8745 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8747 * lyxvc.C: reorder includes.
8749 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8751 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8754 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8756 * CutAndPaste.C: change layouts earlier on paste
8757 to avoid crashing when calling getFont()
8759 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8761 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8764 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8766 * WorkArea.C: remove 'Pending' debug message.
8768 * most files: ws cleanup
8770 * buffer.[Ch]: ws changes
8772 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8774 2002-03-21 Juergen Vigna <jug@sad.it>
8776 * tabular.C (SetMultiColumn): collapse also the contents of the
8777 cells and set the last border right. Added a Buffer const * param.
8779 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8781 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8784 2002-03-19 Juergen Vigna <jug@sad.it>
8786 * text2.C (clearSelection): reset also xsel_cache.
8788 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8789 where it needs to be called (John tells us to do so too :)
8790 (selectionLost): reset sel_cache.
8792 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8794 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8796 * text2.C (setCursorIntern): put debuging code in INSETS channel
8798 2002-03-19 André Pönitz <poenitz@gmx.net>
8800 * lyxfunc.C: tiny whitespace change
8802 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8804 * ToolbarDefaults.C (init):
8805 * LyXAction.C (init):
8807 * BufferView_pimpl.C (Dispatch):
8808 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8810 2002-03-19 Allan Rae <rae@lyx.org>
8812 * exporter.C (Export): removeAutoInsets before doing anything else.
8813 While I've just introduced a dependency on BufferView this really is
8814 the best place to clean the buffer otherwise you need to cleanup in
8815 a dozen places before calling export or cleanup in a dozen functions
8818 * converter.C (runLaTeX):
8819 (scanLog): Better handling of removeAutoInsets and screen updates.
8821 * lyxfunc.C (dispatch): small whitespace changes
8823 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8825 * WorkArea.C (C_WorkAreaEvent): return a value.
8826 (event_cb): return 1 if we handled the event, 0 otherwise.
8828 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8830 2002-03-18 Juergen Vigna <jug@sad.it>
8832 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8833 (GetAdditionalWidth): ditto.
8837 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8838 inset if we're there actually (probably not used right now but this
8839 is the direction to go for unifying code).
8840 (paste): disable code to clear the selection.
8842 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8843 inside an InsetText and move the check further up as it is in the
8846 * text2.C (pasteSelection): set a selection over the pasted text.
8848 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8850 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8851 and libgraphics to build on Cygwin.
8853 2002-03-15 Juergen Vigna <jug@sad.it>
8855 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8856 inserting an Inset into the paragraph. I know this is not the best
8857 fix but we already use current_view in CutAndPaste so we will remove
8858 all of it's using at the same time.
8860 * buffer.C (sgmlError): deactivated function till it is rewritten in
8861 the right mode, now it can create problems.
8863 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8864 before accessing it.
8866 2002-03-14 Juergen Vigna <jug@sad.it>
8868 * undo_funcs.C (textHandleUndo): do the right thing when updating
8869 the inset after the undo/redo.
8871 * text2.C (setCursor): just some testcode for #44 not ready yet.
8873 * undo_funcs.C (textHandleUndo): set the next() and previous()
8874 pointers of the paragraph to 0 before deleting otherwise we have
8875 problems with the Paragraph::[destructor].
8877 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8878 on a paragraph insertion.
8880 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8882 * buffer.C (asciiParagraph): use += operator for char append to
8885 * paragraph.C (getFontSettings): compare >= not just >
8886 (highestFontInRange): ditto
8889 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8891 * paragraph.C: change several algorithm to be more appripriate for
8892 the problem domain. This is lookip in FontList and in the InsetList.
8894 2002-03-13 André Pönitz <poenitz@gmx.net>
8897 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8899 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8904 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8906 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8908 * Painter.C (display): anon helper function, adjust code for this
8910 (pixmap): remove function.
8912 * Painter.h: remove private display variable.
8914 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8916 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8918 * WorkArea.[Ch]: remove figinset_canvas cruft.
8920 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8922 * lyxtextclass.C (operator): add one item cache optimization.
8924 * bufferlist.h: doxy changes
8926 * bufferlist.C: ws changes
8928 * DepTable.[Ch] (ext_exist): place const in the right spot.
8930 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8932 (workAreaExpose): call resizeInsets when the with BufferView changes.
8933 (Dispatch): adjust for protectedBlank removal
8934 (specialChar): call updateInset if the insert went ok.
8936 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8937 specialChar instead.
8939 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8941 * BufferView.h: doxy change
8943 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8945 * lyxtextclass.C (operator[]): remove non-const version
8946 (defaultLayout): remove non-const version
8948 2002-03-12 Juergen Vigna <jug@sad.it>
8950 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8951 did resize the LyXText too.
8953 * buffer.C (readLyXformat2): set layout information on newly allocated
8956 * tabular.C (OldFormatRead): set layout information on the paragraph.
8958 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8960 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8962 2002-03-11 Juergen Vigna <jug@sad.it>
8964 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8966 (resizeCurrentBuffer): force also the insets to resize themselfes.
8967 (moveCursorUpdate): fixed up for InsetText.
8969 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8972 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8973 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8974 value of Dialogs::tooltipsEnabled().
8975 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8977 2002-03-08 Juergen Vigna <jug@sad.it>
8979 * BufferView_pimpl.C (updateInset): update inset inside inset also
8980 if it isn't inside theLockingInset().
8982 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8984 * buffer.C (asciiParagraph): redo some of the word and line length
8986 (getLists): look for Caption instead of caption.
8988 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8990 * buffer.C (Buffer): initialize niceFile to true
8993 (makeDocBookFile): make sure niceFile is true on exit
8995 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8997 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8999 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9001 * LyXSendto.C: remove.
9002 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9003 * lyx_gui.C: remove now-redundant comment.
9004 * ColorHandler.h: remove forward declaration of class WorkArea.
9005 * lyxfunc.C: remove #include "WorkArea.h".
9007 2002-03-07 Juergen Vigna <jug@sad.it>
9009 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9010 got moved away with the DEPM and also set the inset_owner always
9011 right which before could have been omitted.
9013 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9015 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9016 wanted layout is not found.
9018 2002-03-07 Juergen Vigna <jug@sad.it>
9020 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9022 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9024 * paragraph.C (breakParagraph): use default layout not layout of
9026 (Paragraph): clear ParagraphParameters.
9028 2002-03-06 Juergen Vigna <jug@sad.it>
9030 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9031 otherwise it would not be a valid lenght. Fixed a special case in
9032 the minipage compatibility read where we end the document with a
9035 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9036 was set as it could be 0 for InsetTexts first entry.
9038 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9040 * paragraph.C (writeFile): if layout is empty write out
9041 defaultLayoutName().
9043 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9044 file without named layout we set layout to defaultLayoutName().
9046 2002-03-06 Juergen Vigna <jug@sad.it>
9048 * CutAndPaste.C (copySelection): set layout for new paragraph.
9050 * text.C (prepareToPrint): leave ERT inset left aligned
9051 (leftMargin): don't indent paragraphs inside ERT insets
9053 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9055 * paragraph.C (breakParagraph): dont call clear do the work manually
9057 * paragraph.[Ch] (clear): remove function
9059 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9061 * paragraph.C (Paragraph): dont call clear, the work has already
9064 * lyxtextclass.C (operator): assert if n is empty
9066 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9067 work manually instead.
9069 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9071 * BufferView_pimpl.C: protect selectionLost against text == 0
9073 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9075 * text.C (breakParagraph): fix a setting layout to '0' problem.
9077 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9079 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9080 final location of file, for the included files, and graphics.
9082 2002-03-05 Juergen Vigna <jug@sad.it>
9084 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9086 2002-03-04 Juergen Vigna <jug@sad.it>
9088 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9090 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9091 last column of multicolumn cells.
9092 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9094 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9096 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9097 file if it doesn't go to a temporary file.
9099 * buffer.C (sgmlOpenTag):
9100 (sgmlCloseTag): remove extra newline insertion.
9102 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9104 * text.C (getRowNearY): comment out debug msg
9106 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9108 * text2.C: first -> first_y
9110 * text.C (getRowNearY): add some attemts at a possible
9111 optimization, not working.
9113 * tabular.[Ch]: add BufferParams to several function so that newly
9114 created paragraph can be initialized to he default layotu for the
9117 * tabular-old.C (ReadOld): add buf->params to call of Init
9119 * screen.C: rename text->first to text->first_y
9121 * paragraph.C (breakParagraph): always set layout in the broken
9124 * lyxtextclass.C (Read): remove lowercase
9127 (delete_layout): ditto
9129 * lyxtext.h: rename first -> first_y
9131 * lyxlayout.C (Read): remove lowercase
9134 (obsoleted_by): ditto
9136 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9138 * buffer.C (insertErtContents): add params are to InsetERT
9139 (parseSingleLyXformat2Token): add code to check if a paragraphs
9140 layout really exist.
9141 (parseSingleLyXformat2Token): add params to several inset
9143 (asciiParagraph): remove lowercase, do the layout comparisons with
9146 * BufferView_pimpl.C (cursorNext): first -> first_y
9147 (resizeCurrentBuffer): first -> first_y
9148 (updateScrollbar): first -> first_y
9149 (scrollCB): first -> first_y
9150 (workAreaMotionNotify): first -> first_y
9151 (workAreaButtonPress): first -> first_y
9152 (checkInsetHit): first -> first_y
9153 (cursorPrevious): first -> first_y
9154 (cursorNext): first -> first_y
9155 (Dispatch): add buffer_->params to severl inset contructors
9157 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9159 * lyxlayout.C (Read): remove some debug info that I forgot.
9161 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9162 clean up the code slightly.
9163 (makeLinuxDocFile): ditto
9164 (makeDocBookFile): ditto
9166 * text2.C: layout as string
9168 * text.C: layout as string
9170 * paragraph_pimpl.C: layout as string
9172 * paragraph.[Ch]: layout as string
9174 * lyxtextclasslist.[Ch]: layout as string
9176 * lyxtextclass.[Ch]: layout as string
9178 * lyxtext.h: layout as string
9180 * lyxlayout.[Ch]: layout as string
9182 * lyx_cb.C: layout as string
9184 * bufferview_funcs.C: layout as string
9186 * bufferparams.C: layout as string
9188 * buffer.C: layout as string
9190 * LyXView.[Ch]: layout as string
9192 * LaTeXFeatures.[Ch]: layout as string
9194 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9196 * BufferView_pimpl.C: change current_layout to string, remove
9201 (workAreaButtonRelease): layout as string
9203 * BufferView2.C (unlockInset): adjust
9205 * vspace.C (asLatexCommand): use an explict temp variable.
9207 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9209 * Makefile.am: use FRONTEND_*
9211 2002-03-01 Juergen Vigna <jug@sad.it>
9213 * tabular.C (SetWidthOfMulticolCell): changed to something better
9214 I hope but still work in progress.
9215 (recalculateMulticolumnsOfColumn): renamed function from
9216 recalculateMulticolCells as it is more appropriate now.
9217 (SetWidthOfCell): calculate multicols better.
9219 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9221 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9223 * lyxfunc.C (processKeySym): print sequence also if it is
9224 `deleted' (complete)
9226 * kbsequence.C (print): print sequence even if it is deleted
9227 (complete would be a better word, actually).
9229 * lyxfunc.C (dispatch): print complete options after a prefix key
9231 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9233 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9235 * text2.C (setCharFont): eliminate setCharFont code duplication.
9237 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9239 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9240 LFUN_TABULAR_FEATURE (bug #177)
9242 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9244 * Makefile.am: remove figure.h
9246 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9248 * Bufferview_pimpl.C:
9260 * text2.C: remove #include "lyx_gui_misc.h".
9262 * LaTeX.C: added #include <cstdio>
9264 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9266 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9267 that the paragraph following this one can have.
9269 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9271 * vspace.C (asLatexCommand): fix bogus gcc warning
9273 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9275 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9277 * text2.C (setLayout): get rid of redundant code
9279 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9281 * text2.C (incDepth): make sure depth cannot be increased beyond
9284 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9286 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9287 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9289 * PainterBase.h (image):
9290 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9293 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9297 * BufferView_pimpl.C:
9298 * BufferView_pimpl.h:
9318 * sp_spell.C: remove fig inset, and the crap house of
9319 cards that follows it
9321 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9327 * nt_defines.h: move .h into support/
9329 * vms_defines.h: remove
9331 * WorkArea.C: add space in debug output
9335 * buffer.C: add WITH_WARNINGS
9339 * bufferlist.C: s/retrive/retrieve/, add docs
9350 * lyxgui.C: add ID to X error handler
9352 * lyxtestclass.c: fix typo
9354 2002-02-26 Juergen Vigna <jug@sad.it>
9356 * tabular_funcs.C (write_attribute): changed so that some default
9357 attributes are not written at all.
9358 (getTokenValue): set default values before trying to read the
9359 value so we have the return value always set as default if we don't
9360 find the token we search for.
9362 * tabular.C (Write): write bools as bools not as strings!
9364 2002-02-22 Juergen Vigna <jug@sad.it>
9366 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9367 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9369 * text.C (leftMargin): don't add an indent for paragraphs inside
9370 tabular cells (fix #208).
9372 2002-02-21 José Matos <jamatos@fep.up.pt>
9374 * tabular.C (docBook): fixed support for long tables.
9376 2002-02-20 Juergen Vigna <jug@sad.it>
9378 * text2.C (getFont): get the drawing font of the Inset if this
9379 paragraph is inside an inset (only important for InsetERT for now).
9381 * buffer.C (insertErtContents): use new lanugage params in ERT
9384 * CutAndPaste.C: commenting out seemingly uneeded code.
9386 2002-02-19 Allan Rae <rae@lyx.org>
9388 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9389 Iterators might be simple to use but they also get invalidated.
9390 (removeAutoInsets): renamed saved cursor tracking variables and added
9391 some comments to clarify what everything does.
9393 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9400 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9401 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9404 * vc-backend.h: remove #include "support/syscall.h"
9408 * converter.C: rearrange #includes in Lars' approved fashion.
9410 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9411 forward declare class Timeout in the header file.
9413 * XFormsView.C: changes due to the above.
9415 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9418 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9419 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9421 2002-02-18 José Matos <jamatos@fep.up.pt>
9423 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9426 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9428 * a lot of small ws changes
9429 * add a lot of using std::XXX
9430 * use std construcs some places where approp.
9431 * use some exisint stuff from lyxfunctional where approp.
9432 * Make file changes to use partial linking (lets test this now...)
9434 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9438 remove #include "support/syscontr.h" as it's redundant. Always has been.
9446 change Systemcalls::System to Systemcalls::Wait and
9447 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9448 No change of functionality, just reflects the stripped down Systemcalls
9451 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9453 * debug.[Ch]: add a GRAPHICS type to the enum.
9455 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9457 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9459 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9462 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9464 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9465 match the changes below.
9467 * text2.C (toggleInset): if there is not editable inset at cursor
9468 position, try to see if cursor is _inside_ a collapsable inset
9471 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9473 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9474 document menu has a nice checkbox
9476 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9478 * lyxlength.C (asLatexString): change PW to output as percent of
9481 * lengthcommon.C: change '%' to 't%'
9483 * lyxfunc.C (dispatch): a few comments from Martin
9485 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9489 * BufferView_pimpl.h:
9490 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9493 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9495 * vspace.C (inPixels): fix compiler warning
9497 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9499 * lyxfunc.C (getStatus): fix status message for disabled commands.
9501 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9503 * BufferView_pimpl.C: fix crash on close buffer
9504 during selection (#227)
9506 2002-01-27 Herbert Voss <voss@lyx.org>
9508 * buffer.C: link old Figure to new graphic inset
9510 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9512 * FontLoader.C (getFontinfo): Change the latex font names in order
9513 to match the names of type1inst.
9515 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9517 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9519 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9522 (remove_files_with_extension): ditto
9523 (remove_file): ditto
9526 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9527 document is smaller than the work area height. Do not initialize
9528 static variables to 0.
9530 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9532 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9534 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9535 LFUN_LAYOUT_PARAGRAPHS.
9537 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9538 tabular. It is possible to provide a possible cell, which will
9539 typically be the actcell from the corresponding insettabular
9541 * lyxfunc.C (getStatus): small cleanup; disable
9542 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9545 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9547 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9549 * paragraph.C (startTeXParParams):
9550 (endTeXParParams): new methods. The LaTeX code to
9551 start/end paragraph formatting
9552 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9553 empty (fixes bug #200)
9555 * vspace.C (inPixels): adapt to the change below
9556 (inPixels): [later] more cleanups (remove unused variables)
9558 * lyxlength.C (inPixels): change to use a width and a height as
9561 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9563 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9564 Replaced with \paperwidth
9566 * DepTable.C (insert): add std:: qualifier
9568 2002-01-18 Allan Rae <rae@lyx.org>
9570 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9573 * text.C (drawInset): Turned out I didn't know enough about how
9574 rebreaking worked. This fixes most of the redraw problems. I see
9575 an occasional cursor trail when a line is broken now and the cursor
9576 placement can seem out by a few pixels also after a rebreak.
9578 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9580 * buffer.C (parseSingleLyXformat2Token): update because minipage
9581 width is now a LyXLength
9583 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9585 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9588 2002-01-17 Juergen Vigna <jug@sad.it>
9590 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9592 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9593 is set correctly and the inset is updated correctly.
9595 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9597 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9598 the beginning of the loop.
9600 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9602 * lyxrc.C: improve help for use_scalable_fonts
9604 2002-01-17 Allan Rae <rae@lyx.org>
9606 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9608 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9610 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9611 make sure to set their inset_owner to the right value (bug #171)
9613 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9616 * DepTable.C: Implement mtime checking to reduce time spent doing
9619 2002-01-16 Juergen Vigna <jug@sad.it>
9621 * tabular.C (GetAdditionalHeight): one of error fixed.
9623 * lyxrc.C (output): small fix in writing use_pspell.
9625 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9627 * sp_base.h: #include LString.h
9629 2002-01-16 Allan Rae <rae@lyx.org>
9631 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9632 Can someone check this please?
9634 * text.C (drawInset): It was possible that p.row would be removed by
9635 breakAgainOneRow upsetting a few other settings. There may be another
9636 small tweak possible by setting need_break_row = 0 when p.row has been
9637 removed but I don't know enough about the logic here.
9639 2002-01-15 Allan Rae <rae@lyx.org>
9641 * text.C (insertChar): removed conditional truism.
9643 * BufferView2.C (removeAutoInsets): More tweaks.
9644 cur_par_prev could be a stray pointer. Check for trailing empty line
9645 in case last line was cur_par and only had an error inset on it.
9647 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9649 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9652 * vc-backend.C (most methods):
9653 * exporter.C (Export):
9654 * converter.C (convert):
9656 * LyXSendto.C (SendtoApplyCB):
9657 * lyxfunc.C (dispatch):
9661 * lyx_cb.C (AutoSave):
9663 * BufferView_pimpl.C (MenuInsertLyXFile):
9664 * buffer.C (runChktex): use Buffer::filePath().
9666 * buffer.h: rename filename to filename_; rename filepath to
9667 filepath_ and make it private
9668 (filePath): new method
9670 * buffer.C (writeFile): use fileName()
9673 * lyx_main.C (init): fix starting of LyX when the binary is a
9674 link from so,ewhere else.
9676 * minibuffer.C: include <cctype> for isprint
9678 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9680 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9681 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9682 name clash with InsetCollapsable's width function.
9684 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9686 * lastfiles.C: include <iterator>
9688 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9690 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9693 * buffer.C (makeLaTeXFile): ditto.
9694 Also make loop operation more transparent.
9696 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9698 * ToolbarDefaults.C: remove trailing comma closing namespace.
9700 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9702 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9705 * trans.C (Load): comment out unused variable, allowed.
9707 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9709 * minibuffer.[Ch] (append_char): new method to recieve input from the
9710 drop-down completion browser. If a key was pressed, then recieve this
9711 char and append it to the existing string.
9712 (peek_event): modify the positioning data passed to the completion
9713 browser so that it can be placed above the minibuffer rather than below.
9714 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9716 * LyXAction.C (init): alloe error-next for readonly documents.
9718 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9721 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9723 * bufferlist.C (readFile): create the buffer _after_ checking that
9726 * lyxfunc.C (verboseDispatch): fix handling of arguments
9728 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9730 * lyxrc.C: use string::erase() instead of initializing to "".
9733 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9735 * BufferView_pimpl.h:
9736 * BufferView_pimpl.C:
9739 * text2.C: tell X when we have made a selection for copying
9741 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9743 * BufferView_pimpl.C (MenuInsertLyXFile):
9744 * lyxfunc.C (menuNew):
9746 (doImport): add shortcuts to directory buttons
9748 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9751 * lyxfunc.C (setStatusMessage):
9752 (getStatusMessage): new methods
9753 (getStatus):use setStatusMessage instead of setErrorMessage
9754 (dispatch): when function is disabled, set error message here
9755 [instead of in getStatus previously]
9757 * BufferView_pimpl.C (workAreaButtonRelease): update
9758 toolbar/menubar here too.
9760 2002-01-13 Allan Rae <rae@lyx.org>
9762 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9763 Now seems indestructible. Remaining task is to audit all other
9764 code affected by deleteEmptyParagraphMechanism. One small quirk
9765 left is that an empty document with an error in the preamble can
9766 be made to report an error but no error box appears. I don't know
9768 (removeAutoInsets): Improved comments.
9770 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9773 * Thesaurus.C: update for Aiksaurus 0.14
9775 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9777 * text2.C (firstParagraph): removed member function, all uses
9778 replaces with ownerParagraph
9779 (redoParagraphs): here
9781 (toggleAppendix): here
9782 * BufferView2.C (insertErrors): here
9783 (setCursorFromRow): here
9785 2002-01-13 Allan Rae <rae@lyx.org>
9787 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9788 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9789 There is still a way to segfault this although you may have to do this
9790 multiple times: Have an InsetERT with an unknown command in it.
9791 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9792 <down-arrow>, <Enter> again, View->DVI, BANG!
9794 * text2.C (setCursor):
9795 (deleteEmptyParagraphMechanism):
9796 * lyxtext.h (setCursor):
9797 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9798 Making use of the return value may help fix other bugs.
9800 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9802 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9804 * LyXView.C (updateMenubar): call MenuBar::update here
9805 (updateToolbar): but not here
9806 (showState): do not update toolbar/menubar
9808 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9809 should need to care about that.
9811 * lyxfunc.C (verboseDispatch): simplify a bit
9812 (getStatus): have a version which takes a pseudoaction, and
9813 another which requires a (kb_action,string).
9815 * LyXAction.C (retrieveActionArg): make it work also when action
9816 is not a pseudo-action.
9817 (getActionName): simplify a bit
9820 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9822 * lyxfunc.C (verboseDispatch): new families of methods with
9823 several ways to specify a command and a bool to indicate whether
9824 the command name and shortcut should be displayed in minibuffer
9825 (eventually, we could extend that to a finer bitmask like
9826 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9827 (dispatch): the pristine dispatch command which just, well,
9828 dispatchs! Note it still sets its result to minibuffer; I'm not
9831 * lyxfunc.h: remove setHintMessage
9833 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9835 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9837 * BufferView_pimpl.C (specialChar): delete new inset if we have
9838 not been able to insert it.
9840 * kbmap.C: revert to using int instead of kb_action, since all we
9841 are dealing with is pseudo-actions.
9843 * LyXAction.C (searchActionArg): change to return int instead of
9844 kb_action, since the result is a pseudoaction.
9846 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9848 * buffer.C (insertErtContents): Fix (partially) the font bug.
9850 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9852 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9853 as the other one is broken on my machine!
9855 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9858 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9860 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9862 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9863 reflect their actual use. Provide compatibility code for older lyxrc
9866 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9868 change names of popup font variables in line with the changes to lyxrc.C
9870 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9872 * buffer.C (asciiParagraph): avoid outputing a word twice after
9875 * lyxrc.C (getDescription): document that document_path and
9876 template_path can be empty.
9878 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9880 * LaTeXFeatures.C (getMacros):
9881 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9883 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9885 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9887 (getPackages): rename feature "floats" to "float". Use an array to
9888 iterate over 'simple' features (i.e. just a \usepackage). Add
9889 handling of "amsmath" (renamed from "amsstyle").
9891 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9893 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9896 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9898 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9899 FuncStaus::FuncStatus & FuncStaus::some_method().
9901 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9903 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9904 of the func_satus stuff. Edited and massaged in various ways by
9907 * lyxfunc.C (getStatus): use FuncStatus
9909 2002-01-08 Juergen Vigna <jug@sad.it>
9911 * text.C (nextBreakPoint): use function Inset::isChar().
9913 * paragraph.C (TeXOnePar): use function
9914 Inset::forceDefaultParagraphs.
9916 * buffer.C (latexParagraphs): use function
9917 Inset::forceDefaultParagraphs.
9919 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9921 * lyx_gui.C (init): set the style of the menu popups to
9922 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9924 2002-01-07 Juergen Vigna <jug@sad.it>
9926 * text.C (setHeightOfRow): small fix
9927 (prepareToPrint): don't look at alignment if we don't have the place
9930 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9932 * box.C: New file. Move the Box methods and functions out of box.h,
9933 following Lars' suggestion.
9935 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9937 * box.h: #include "support/LOstream.h", needed for inlined function.
9940 * lyxtextclasslist.C: added some using std declarations.
9942 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9944 * box.h: make signed dimensions to allow insets wider than
9945 the screen (bug #162)
9947 * BufferView_pimpl.C: add some insetHit debug
9949 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9951 * vc-backend.C: add FIXME
9953 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9955 * lyxfunc.C (getStatus): enable code for showing math font status
9958 2002-01-07 Juergen Vigna <jug@sad.it>
9960 * text.C (nextBreakPoint): removed debug output not needed anymore.
9962 2002-01-06 Juergen Vigna <jug@sad.it>
9964 * text.C (nextBreakPoint): fixed up this function we had this bug
9965 since ever but now hopefully we break row better.
9966 (insertChar): we have to check if an inset is the next char as it
9967 could now happen that a large inset is causing a break.
9969 2002-01-05 Juergen Vigna <jug@sad.it>
9971 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9972 if it doesn't like to be drawed.
9974 2002-01-04 Juergen Vigna <jug@sad.it>
9976 * BufferView2.C (lockInset): forgot to set a cursor.
9978 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9980 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9985 * form_maths_panel.C:
9986 * form_maths_panel.h:
9987 * form_maths_panel.fd: implemented sub- and super- buttons in math
9990 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9991 (or ^ space) to be used as in TeX (req'd by André).
9993 * lyxfunc.C: Allow ^ and _ again to be used both as
9994 super/subscript (mathed) and as themselves (in text).
9996 2002-01-03 Allan Rae <rae@lyx.org>
9998 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9999 "LyX" or the filename of the current buffer if it has one. This is a
10000 modified form of John Levon's patch.
10002 * XFormsView.C (setWindowTitle): also set icon title.
10004 * LyXView.h (setWindowTitle): signature changed.
10005 * XFormsView.h (setWindowTitle): ditto.
10007 2002-01-02 Juergen Vigna <jug@sad.it>
10009 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10011 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10013 * screen.C (topCursorVisible): introduce a temp var for
10014 text->cursor.row(), handle the case where this row is null. (kindo
10017 * text2.C (setCursor): add a couple of asserts.
10019 * paragraph.h (inset_iterator): add -> operator
10021 * paragraph.[Ch] (autoDeleteInsets): remove member function
10023 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10024 cursor pos correctly and handle inset deletion by itself.
10025 (insertErrors): move iterator declaration out of for expression
10027 * lyxtextclass.C: add <algorithm>
10029 * Makefile.am: added the new files to sources, removed layout.C
10031 * layout.C: removed file
10033 * layout.h: remove LYX_DUMMY_LAYOUT
10035 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10039 * lyxtextclass.[Ch]:
10040 * lyxtextclasslist.[Ch]: new files
10042 * include order changes to a lot of files, also changes because of
10045 2001-12-27 Juergen Vigna <jug@sad.it>
10047 * buffer.C (asciiParagraph): more fixes.
10049 * tabular.C (ascii): make ascii export support export of only the
10050 data separated by a column-delimiter.
10051 (ascii): better support for ascii export.
10053 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10055 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10057 * tabular_funcs.C: use a "using std::getline" instead of the
10058 previous fix from Angus (necessary for cxx + lyxstring)
10060 2001-12-24 Juergen Vigna <jug@sad.it>
10062 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10064 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10065 problems. First check a minipage also if we have some ert-contents
10066 (not only on par->size(), second set the right depth of the paragraph
10067 on the relink to the root-paragraph-list!
10069 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10070 which then did not anymore update the main paragraphs on undo/redo!
10072 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10074 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10075 code. Support all font-changing funcs (even those which are not in
10076 menu currently). Support for reporting font settings in
10077 mathed (disabled until Andre provides a function on mathed's side).
10079 * func_status.h (toggle): small helper function to set toggle
10082 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10084 * tabular_funcs.C: getline -> std::getline
10086 2001-12-21 Juergen Vigna <jug@sad.it>
10088 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10089 accessed and could be 0 (I couldn't generate this but it seems
10092 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10094 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10095 * tabular_funcs.h: here and include iosfwd
10097 2001-12-20 Juergen Vigna <jug@sad.it>
10099 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10100 inside inset but undo_par was.
10102 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10104 * Thesaurus.C: always include <config.h> in sources.
10108 * box.h: do not include <config.h> in header files
10110 * text.C (paintLastRow): remove unused variable
10112 * text.C (transformChar):
10114 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10116 * Painter.C (text):
10117 * font.C (width): rewrite to use uppercase() instead of
10120 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10122 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10124 * lyxfind.C: clean up of find failure position change
10126 2001-12-20 Juergen Vigna <jug@sad.it>
10128 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10130 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10131 (TeXRow): added to LaTeX a single tabular row.
10132 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10133 (Latex): simplified and finally good LT-h/f support.
10134 (various_functions): just small adaptions for LT-h/f support.
10136 * tabular_funcs.[hC]: added and moved here all not classfunctions
10139 2001-12-19 Juergen Vigna <jug@sad.it>
10141 * tabular.[Ch]: better support for longtabular options (not finished
10144 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10146 * text.C (paintLastRow): use the label font instead of the font of
10147 the last character to compute the size of *_BOX. This makes more
10148 sense and avoids a crash with empty paragraphs.
10149 Use Painter::rectangle to draw EMPTY_BOX.
10151 2001-12-19 Juergen Vigna <jug@sad.it>
10153 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10154 the paragraphs if the replaced paragraph is not the first one!
10155 Tried to delete not used paragraphs but does not work yet so for
10156 now it's inside #ifdef's and by default off!
10158 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10160 * MenuBackend.C: include "lyx_main.h" instead of declaring
10161 lastfiles (actually was declared as LastFiles* instead of a
10164 2001-12-17 Juergen Vigna <jug@sad.it>
10166 * tabular.C (AppendColumn): applied John's fix
10168 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10172 * BufferView_pimpl.h:
10173 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10176 * box.h: new start of class for above
10178 * lyxfunc.C: ignore space-only minibuffer dispatches.
10179 Show the command name when it doesn't exist
10181 * minibuffer.C: don't add empty lines to the history
10183 * minibuffer.C: add a space on dropdown completion
10185 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10187 * text.C: fix line above/below drawing in insets
10189 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10191 * lyxlength.C (LyXLength): Initialize private variables.
10193 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10195 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10196 when inserting error insets.
10198 2001-12-13 Juergen Vigna <jug@sad.it>
10200 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10201 actually sometimes the before-paragraph.
10202 (setUndo): don't clear the redostack if we're not actually undoing!
10204 2001-12-06 Juergen Vigna <jug@sad.it>
10206 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10207 and fixed redoing of main paragraph, so we can use it now ;)
10209 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10211 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10213 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10216 2001-12-13 André Pönitz <poenitz@gmx.net>
10219 * undo_func.C: minor cleanup
10221 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10223 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10224 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10225 font in urw-fonts package which is marked as -urw-fontspecific and
10226 does not work (incidentally, changing the encoding in the
10227 fonts.dir of this package to -adobe-fontspecific fixes the
10230 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10231 is a crash when undoing first paragraph (Juergen, please take a
10232 look). THis does not mean the undo fix is wrong, just that it
10235 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10236 the (Paragraph*) version when needed instead of duplicating the
10239 * text.C (workWidth): use Inset::parOwner to find out where the
10240 inset has been inserted. This is a huge performance gain for large
10241 documents with lots of insets. If Inset::parOwner is not set, fall
10242 back on the brute force method
10244 * paragraph_pimpl.C (insertInset):
10245 * paragraph.C (Paragraph):
10246 (cutIntoMinibuffer): set parOwner of insets when
10247 inserting/removing them
10249 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10251 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10257 * mathed/formulabase.C:
10258 * mathed/math_cursor.[Ch]:
10259 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10262 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10264 * lyxlength.[Ch] (operator!=): new function
10266 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10268 * text.C (workWidth): use Inset::parOwner to find out where the
10269 inset has been inserted. This is a huge performance gain for large
10270 documents with lots of insets. If Inset::parOwner is not set, fall
10271 back on the brute force method
10273 * paragraph_pimpl.C (insertInset):
10274 * paragraph.C (Paragraph):
10275 (cutIntoMinibuffer): set parOwner of insets when
10276 inserting/removing them
10278 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10280 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10282 * tabular-old.C (getTokenValue):
10283 * tabular.C (getTokenValue):
10284 (write_attribute): new versions for LyXLength
10285 (everywhere): adjust the use of widths
10287 * tabular.h: change the type of widths from string to LyXLength
10289 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10291 * paragraph.C: fixed missing line number count when exporting
10292 Environments to LaTeX file
10294 * buffer.C: added informational message for checking line numbers.
10296 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10298 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10299 paragraph, do the 'double space' part, but not the 'empty
10302 * text.C (workWidth): small optimization
10303 (getLengthMarkerHeight): use minimal size for negative lengths.
10305 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10307 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10309 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10311 2001-12-11 André Pönitz <poenitz@gmx.net>
10314 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10316 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10318 * text2.C: keep selection on a setFont()
10320 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10322 * lyx_cb.C: another bv->text misuse, from insert label
10324 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10327 * kbsequence.C: re-instate nmodifier mask
10329 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10331 * lyx_main.h: make lyxGUI private.
10333 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10335 * lyxfind.C: place the cursor correctly on failed search
10337 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10339 * text.C (getLengthMarkerHeight): for small heights, the arrows
10340 are not always on top/bottom of the text
10341 (drawLengthMarker): smaller arrows; take the left margin in
10342 account; draw also vfills.
10344 (paintLastRow): remove special code for vfill and standard spaces,
10345 since everything is handled in drawLengthMarker now.
10347 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10349 * buffer.C (insertErtContents): try to handle font and language
10350 interaction a bit better.g
10352 * ColorHandler.C (updateColor): change the hash to cover the whole
10353 LColor enum, ws cleanup
10354 (getGCLinepars): ditto
10355 (getGCLinepars): only lookup in the linecache once.
10357 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10359 * iterators.C (operator++): Make the iterator more robust
10361 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10363 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10365 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10368 * text.C: better added space drawing
10370 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10373 * BufferView2.C: fix layout combo update on inset unlock
10375 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10377 * Makefile.am: don't compile unused files
10379 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10383 * LyXAction.C: remove old LFUN_LAYOUTNO
10385 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10387 * paragraph_pimpl.h:
10388 * paragraph_pimpl.C: isTextAt() doesn't need font param
10390 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10393 * lyxlex.C: little cleanup
10395 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10397 * BufferView_pimpl.C: fix insertAscii for insets
10399 2001-12-05 Juergen Vigna <jug@sad.it>
10401 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10402 set the right font on the "multi" paragraph paste!
10404 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10410 * lyxlength.C: remove out-commented code.
10412 * BufferView_pimpl:
10426 * vc-backend.C: change "while(" to "while ("
10428 * lyxlength.[Ch]: add zero function to check if length is zero or
10430 * lyxgluelength.C: use it
10432 2001-12-05 Allan Rae <rae@lyx.org>
10434 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10435 Works for 2.95.3, from what I understand of Garst's reports this should
10436 work for other g++ versions. We're screwed if the abs(int) definition
10437 changed between bugfix releases of gcc.
10439 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10441 * text.C: fix chapter label offset !
10443 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10446 * text.C: fix hfill at end of line, clean up
10448 2001-12-04 Juergen Vigna <jug@sad.it>
10450 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10451 that we force an update of the inset and it's owners if neccessary.
10453 2001-12-03 Juergen Vigna <jug@sad.it>
10455 * text.C (rowLast): simplified code
10457 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10459 * lyxfunc.C: fix show options on timeout
10461 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10463 * screen.C (topCursorVisible): scroll half a page when the cursor
10464 reached top of bottom of screen
10466 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10468 * minibuffer.C: deactivate on loss of focus
10470 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10472 * vspace.[Ch] (operator!=): add operator.
10474 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10476 * BufferView_pimpl.C: refuse to open an inset when
10477 there's a selection.
10479 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10481 * BufferView_pimpl.C: allow to click on RHS of full row insets
10483 2001-11-30 Juergen Vigna <jug@sad.it>
10485 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10486 insets for undo reasons.
10488 2001-11-28 André Pönitz <poenitz@gmx.net>
10490 * vspace.[Ch]: cosmetical changes
10492 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10502 * kbsequence.C: part re-write of old kb code
10505 * WorkArea.C: remove Lgb_bug_find_hack
10507 2001-11-30 José Matos <jamatos@fep.up.pt>
10509 * buffer.C (makeDocBookFile): add a comment to point a hack.
10510 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10511 Fixed a double write of labels.
10513 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10516 * LaTeX.h Fixed bug in LaTeX class where it would not
10517 re-run latex if no depfiles were changed, but the .dvi was removed.
10519 2001-11-28 André Pönitz <poenitz@gmx.net>
10521 * all the files from the change on 2001/11/26:
10522 use lyx::layout_type instead of LyXTextClass::size_type
10523 use lyx::textclass_type instead of LyXTextClassList::size_type
10525 2001-11-29 Juergen Vigna <jug@sad.it>
10527 * text.C: added support for paragraph::isFreeSpacing()
10529 * buffer.C: same as above
10531 * paragraph.h: inserted isFreeSpacing() function to enable
10532 FreeSpacing inside InsetERT.
10534 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10535 of the paragraph's in the cut/copy buffer to 0!
10537 * text2.C (removeRow): remove the assert as it can!
10539 * lyxtext.h: added helper function firstRow returning firstrow and
10540 made firstrow private again.
10542 * BufferView2.C (lockInset): don't relock if we're already locked!
10544 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10545 the only paragraph.
10546 (removeRow): added Assert::(firstrow)
10548 * debug.C: forgot to add INSETTEXT here.
10550 2001-11-28 Juergen Vigna <jug@sad.it>
10552 * sp_spell.C (initialize): changed error text to more general
10553 spellchecker command use (not only ispell!)
10555 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10557 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10559 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10561 * vspace.C: initialise lyxgluelength on failure
10563 2001-11-28 Allan Rae <rae@lyx.org>
10565 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10566 declaration & definition that looks like a function declaration.
10568 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10570 * BufferView2.C (copy):
10571 (copyEnvironment): do not clear the selection when doing a copy.
10573 * text.C (paintFirstRow): compilation fix
10575 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10577 * tabular.C (Latex): correct line count when writing latex.
10579 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10581 * paragraph_pimpl.h:
10582 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10585 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10589 * LColor.C: change vfillline->added_space
10591 * text.C: add markers and text for added space
10593 * vspace.C: fix comment
10595 2001-11-28 André Pönitz <poenitz@gmx.net>
10597 * paragraph.C: whitespace changes
10598 * all the other files from the change on 2001/11/26:
10599 change *::pos_type into lyx::pos_type
10601 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10603 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10604 language of the document when inserting error insets.
10606 2001-11-26 André Pönitz <poenitz@gmx.net>
10608 * BufferView_pimpl.[Ch]:
10616 * paragraph_pimpl.[Ch]:
10619 * text2.C: reduce header dependencies, introduce type for positions
10621 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10623 * <various>: change to use Alert.h
10625 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10627 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10628 when encountering an unknown token.
10629 (readLyXformat2): Show an error message if there were unknown tokens.
10631 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10634 * BufferView_pimpl.C:
10638 * text2.C: use par->isInset()
10640 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10642 * paragraph_pimpl.h:
10643 * paragraph_pimpl.C: cleanup
10645 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10647 * text2.C (removeRow):
10648 * text.C (setHeightOfRow): remove useless (and costly) call to
10651 2001-11-20 Allan Rae <rae@lyx.org>
10653 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10654 Now need Inset*::checkInsertChar() to return true for appropriate
10655 cases so that the characters in the minibuffer will actually be
10658 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10660 * text.C: change the order of the includes.
10661 (workWidth): initialize it at once.
10662 (workWidth): make maxw unsigned
10663 (setHeightOfRow): remove unused variable (inset)
10664 (selectSelectedWord): remove unused variable (inset)
10665 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10667 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10669 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10670 server is not running.
10672 (closeConnection): add debug info when server is disabled.
10674 * ColorHandler.C (getGCForeground): send debug message to GUI
10677 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10679 * kbmap.C (bind): modify because return conventions of
10680 kb_sequence::parse have changed.
10682 * kbsequence.C (parse): only ignore spaces and not any stupid
10683 control character. This avoids tests like s[i] <= ' ', which are
10684 guaranteed to fail with 8bit characters and signed chars.
10685 Change return code to string::npos when there have been no error
10686 (0 was a bad idea when error is at first character)
10688 2001-11-14 José Matos <jamatos@fep.up.pt>
10691 * buffer.C (simpleDocBookOnePar): removed unused argument.
10693 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10695 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10696 insets which are part of a word. Paragraph::isLetter takes care of
10697 that now. Use Paragraph::isInset to identify insets.
10698 (selectSelectedWord): do not test for hyphenation break.
10700 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10701 that protected spaces are considered as spaces.
10703 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10706 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10709 * lyxserver.C: fix it. and small cleanup.
10711 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10713 * BufferView_pimpl.C: use inline helpers
10716 * LaTeXFeatures.C: fix typos
10719 * Spacing.C: move spacing_string into class
10721 * ToolbarDefaults.C: move stuff into namespace anon
10723 * layout.h: update enum
10725 * lyxfunc.C: use better debug
10727 * minibuffer.h: fix typo
10731 * WorkArea.C: add and use Debug::WORKAREA
10735 * text2.C: code re-organisation, inline helpers
10737 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10739 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10740 std::vector.empty().
10742 2001-11-09 Allan Rae <rae@lyx.org>
10744 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10745 '\n's after tables. Tabular and ERT inset work now makes this no
10748 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10751 * minibuffer.C: fix crash, improve drop-down completion
10753 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10756 * lyxserver.C: invalidate fd's when doing endPipe()
10758 2001-11-08 José Matos <jamatos@fep.up.pt>
10760 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10761 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10764 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10766 2001-11-07 José Matos <jamatos@fep.up.pt>
10769 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10772 * buffer.C (sgmlOpenTag):
10773 * buffer.C (sgmlCloseTag): removed debug info.
10775 * buffer.h (sgmlOpenTag):
10776 * buffer.h (sgmlCloseTag): made public.
10778 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10780 * buffer.C (saveParamsAsDefaults):
10781 * lyx_cb.C (MenuLayoutSave): remove
10783 * LyXAction.C (init):
10785 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10787 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10789 * buffer.C (setPaperStuff): removed from here...
10791 * bufferparams.C (setPaperStuff): ... and moved there.
10793 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10797 * XFormsView.C: add support for drop-down completion
10799 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10801 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10804 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10806 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10809 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10811 * lyx_main.C: change ref to known bugs
10813 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10815 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10816 to work around older babel problems.
10818 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10820 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10822 2001-10-24 Juergen Vigna <jug@sad.it>
10824 * tabular-old.C (ReadOld): below variable changes reflected.
10826 * tabular.[Ch]: added ltType struct for longtable header/footer
10827 defines and changed all instances where they are used. Added
10828 future support for double top/bottom rows.
10830 2001-10-24 José Matos <jamatos@fep.up.pt>
10832 * buffer.h (docbookHandleCaption):
10833 * buffer.C (docbookHandleCaption): removed unused function.
10834 (makeDocBookFile): moved docbook supported version to v4.1.
10836 2001-10-24 José Matos <jamatos@fep.up.pt>
10839 * tabular.C (docbookRow): new function to export docbook code of a row.
10840 (DocBook): now honors the longtable flags.
10842 2001-10-23 José Matos <jamatos@fep.up.pt>
10845 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10846 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10848 * buffer.C (makeLinuxDocFile):
10849 (makeDocBookFile): reworked the preamble, more clean, and with
10850 support for lyx defined entities. Changed the document declaration
10851 to be more XML friendly.
10853 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10854 if we need to output XML that should be done with a filter.
10856 2001-10-22 Juergen Vigna <jug@sad.it>
10858 * sp_pspell.h (class PSpell): add alive function needed in the
10859 controller to see if the spellchecker could be started.
10861 2001-10-22 Juergen Vigna <jug@sad.it>
10863 * buffer.C (insertStringAsLines): modify the font for inserting
10864 chars in certain conditions by calling checkInsertChar(font).
10866 2001-10-19 Juergen Vigna <jug@sad.it>
10868 * text.C (workWidth): use getRow instead of wrong algorithm.
10869 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10871 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10876 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10878 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10880 * text.C (workWidth): do not search for the exact row when
10881 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10882 optimization for big documents.
10884 2001-10-18 Juergen Vigna <jug@sad.it>
10886 * text.C (workWidth): new function with added Inset * parameter.
10888 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10890 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10892 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10893 change return type of getColumnNearX.
10896 * text.C (changeRegionCase): use uppercase/lowercase instead of
10899 (rightMargin): simplify code by factoring out the uses of
10904 (appendParagraph): use Paragraph::size_type
10906 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10908 * vspace.C (asLatexString): add a missing break
10910 2001-10-15 Herbert Voss <voss@perce.de>
10912 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10914 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10916 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10919 2001-10-10 André Pönitz <poenitz@gmx.net>
10921 * lyxfunc.C: removed greek_kb_flag.
10923 2001-10-10 Herbert Voss <voss@perce.de>
10925 * lyx_main.C: delete global string help_lyxdir.
10927 2001-10-09 Herbert Voss <voss@perce.de>
10929 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10931 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10933 * lyx_main.C: added global string help_lyxdir.
10935 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10937 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10939 * lyxrc.C (set_font_norm_type): support iso8859-4
10941 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10943 * LaTeX.C (deplog): add another regex for MikTeX
10945 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10947 * lyxrc.C (set_font_norm_type): support iso8859-3
10949 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10951 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10953 * LaTeXFeatures.C: remove special case of french and index
10955 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10956 before \begin{document}). This solves several incompatibilities.
10958 2001-10-03 Garst Reese <reese@isn.net>
10960 * lyx_cb.C: change CheckTex error msg.
10962 2001-10-03 José Matos <jamatos@fep.up.pt>
10964 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10966 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10968 * .cvsignore: update
10970 * lyx_main.C (commandLineVersionInfo): use new style version info.
10972 * buffer.C (writeFile):
10974 (makeLinuxDocFile):
10975 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10977 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10979 * version.h: update to use stuff in version.C
10981 * version.C.in: new file. Contains version information determined
10982 at compile time. This is a merging of version.h and
10985 2001-10-03 Juergen Vigna <jug@sad.it>
10987 * BufferView_pimpl.C (update): don't change "dirty" status in
10990 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10992 * WorkArea.C (c-tor): re-position version string slightly.
10994 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10996 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10997 revert to previous code.
10999 WorkArea.[Ch]: (show, destroySplash): methods removed.
11001 WorkArea.C: rework code so that it's an amalgam of the codes before and
11002 after the splash screen was moved to WorkArea.
11004 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11007 * vspace.C (inPixels):
11010 * buffer.C (insertStringAsLines):
11011 (asciiParagraph): fix types to be large enough
11013 * lyxlex_pimpl.h: change member status from short to int
11015 * layout.h: fix type of endlabeltype
11018 * kbsequence.C (parse): change return type to string::size_type
11020 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11023 * Bullet.C (bulletSize):
11024 (bulletEntry): do not use short ints as parameters
11026 * BufferView2.C (insertLyXFile): change a char to an int.
11028 * WorkArea.C (WorkArea): remove unneeded floats in computation
11030 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11032 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11034 * paragraph.C (asString): Do not ignore newline/hfill chars when
11035 copying to the clipboard.
11037 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11039 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11040 after a multi-line inset.
11042 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11044 * paragraph.C (validate): Set NeedLyXFootnoteCode
11046 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11048 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11049 and decrease-error to decrease.
11051 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11053 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11054 it more readable (should be equivalent)
11056 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11058 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11060 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11062 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11063 of a cursor (row, etc.) after a character has been deleted
11064 (deleteEmptyParagraphMechanism): call the method above on _all_
11065 cursors held by the LyXText when a double space has been
11068 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11070 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11072 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11074 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11075 background. Use greyOut() and the new show() methods to toggle between
11076 the foreground and background. Add code to remove the splash after
11077 its initial showing.
11079 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11080 (create_forms): no longer call Dialogs::showSplash.
11082 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11084 * .cvsignore: add version_info.h
11086 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11088 * version_info.h.in: new file
11090 * Makefile.am: add version_info.h.in
11092 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11093 version_info.h instead of VERSION_INFO
11095 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11097 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11098 The ERT inset now returns string().
11100 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11102 * lyxtext.h, text.C (selectNextWord): renamed as
11103 selectNextWordToSpellcheck.
11105 * text.C (selectNextWordToSpellcheck): Modified to not select
11106 words inside an ERT inset.
11108 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11110 * lyx_cb.C (MenuLayoutSave): change a bit the question
11112 * sp_base.h: include <sys/types.h>
11114 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11116 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11118 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11120 * several files: fix typos in user-visible strings
11122 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11124 * text2.C (pasteSelection): do not set the selection, since it
11125 will be cleared later. Actually, the intent was to fix the way the
11126 selection was set, but I figured rmoving the code was just as good.
11128 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11130 * FontLoader.C (available): Check if font is available without
11133 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11135 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11137 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11139 * lyxrc.[Ch]: added display_graphics variable and associated code.
11141 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11143 * bufferparams.C (hasClassDefaults): new method. Returns true if
11144 the buffer parameters correspond to known class defaults
11146 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11148 * XFormsView.C (show): set minimum size to the main window.
11150 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11152 * text2.C (copySelection):
11154 * lyxfind.C (LyXReplace):
11155 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11156 LyXText::selectionAsString.
11158 * paragraph.C (asString): add "label" argument to the second form
11160 * text2.C (selectionAsString): add "label" argument and pass it to
11161 Paragraph::asString.
11163 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11165 * lyx_main.C (commandLineHelp): remove version information
11167 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11169 * lyx_main.C: add -version commandline option
11171 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11173 * paragraph.h: make the optional constructor arg required instead.
11174 some modifications to other files because of this.
11176 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11178 * lyxserver.C (C_LyXComm_callback): make it static
11180 * lyx_main.C (error_handler): make it static
11182 * lyx_gui.C (LyX_XErrHandler): make it static
11184 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11186 * WorkArea.C: make the extern "C" methods static.
11188 * Makefile.am (lyx_LDADD): simplify
11190 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11192 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11193 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11195 * LyXAction.C (init):
11196 * lyxfunc.C (dispatch): associated code removal.
11198 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11200 * lyxfont.h (isSymbolFont): shut off warning
11202 * text.C (setHeightOfRow):
11203 (getVisibleRow): fix crash with empty paragraphs which have a
11206 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11208 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11211 2001-09-04 José Matos <jamatos@fep.up.pt>
11214 * tabular.C (docbook): rename docBook method to docbook.
11216 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11218 * Makefile.am: add dependencies to main.o.
11220 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11222 * FontLoader.C (available): Return false if !lyxrc.use_gui
11224 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11226 * FontInfo.C (query):
11227 * converter.C (view):
11228 * importer.C (Import):
11229 * exporter.C (Export): Can not -> cannot.
11231 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11233 * BufferView_pimpl.C: allow to create index inset even if
11236 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11238 * buffer.C (getLists): replace boost::tie code with an explicit pair
11239 as boost::tie can break some compilers.
11241 * iterators.h: Added a std:: declaration to the return type of
11244 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11246 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11249 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11251 * iterators.[Ch]: New files. Provide paragraph iterators.
11253 * buffer.C (changeLanguage): Use paragraph iterators.
11254 (isMultiLingual): ditto
11256 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11258 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11260 * FontLoader.C: Support for cmr font.
11262 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11264 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11265 (available): New method.
11267 * FontInfo.C (getFontname): Use scalable fonts even when
11268 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11271 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11273 * converter.C (Formats::view): reverted! Incorrect fix.
11275 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11277 * converter.C (Formats::view): only output the -paper option
11278 if the dvi viewer is xdvi, thereby fixing bug #233429.
11280 2001-08-23 Herbert Voss <voss@perce>
11282 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11284 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11286 * Spacing.h (Spacing): Set space to Default on in the default
11289 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11291 * vc-backend.h (RCS::versionString): add RCS to version
11292 (CVS::versionString): add CVS to version
11294 * vc-backend.C (scanMaster): do not add CVS to version.
11295 (scanMaster): do not add RCS to version
11297 * lyxvc.C (versionString): new method
11299 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11301 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11303 * Spacing.C (set): initialize fval
11305 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11307 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11310 2001-08-16 Juergen Vigna <jug@sad.it>
11312 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11314 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11316 * BufferView_pimpl.C:
11319 * text2.C: setParagraph takes linespacing now
11321 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11323 * LyxAction.C: add internal LFUN_CITATION_INSERT
11325 * LyXView.C: actually apply fix
11327 * bufferlist.C: fix open non-existent file
11329 * lyxfind.C: fix indentation
11331 * lyxfunc.C: remove unneeded assert, fix typo
11333 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11335 * MenuBackend.C: use "Floatname List"
11337 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11339 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11340 when converting LaTeX layout to insetERT.
11341 Generate a non-collapsed float when reading old float
11343 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11345 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11348 2001-08-13 Juergen Vigna <jug@sad.it>
11350 * text.C (fill): return 0 instead of 20 as this seems to be the more
11353 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11355 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11358 2001-08-13 Juergen Vigna <jug@sad.it>
11360 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11362 (SearchBackward): comment out the unlocking of the inset_owner this
11363 should not be needed!
11365 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11367 * Many files: Remove inherit_language, and add latex_language
11369 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11370 collapsible insets.
11372 2001-08-10 Juergen Vigna <jug@sad.it>
11374 * text.C (prepareToPrint): fixed hfill-width in draw!
11376 * BufferView2.C (selectLastWord): save the selection cursor as this
11377 now is cleared in the function LyXText::clearSelection!
11379 2001-08-08 Juergen Vigna <jug@sad.it>
11381 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11382 BACKSPACE type functions.
11384 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11385 is only cutted from the document but not put in the cut-buffer, where
11386 still the old stuff should be.
11388 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11390 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11392 * tabular.C (SetWidthOfCell): fixed special case where the width
11394 (LeftLine): handle '|' in align_special.
11396 (LeftAlreadyDrawed): ditto
11397 (SetWidthOfCell): ditto
11399 2001-08-07 Juergen Vigna <jug@sad.it>
11401 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11403 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11405 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11406 * lyxlex.[hC]: ditto
11408 2001-08-06 Juergen Vigna <jug@sad.it>
11410 * text.C (getVisibleRow): fix up row clearing a bit.
11412 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11414 * minibuffer.C: make sure the X server sees the changes in the input.
11416 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11418 * paragraph.C (getFont): split into...
11419 (getLabelFont): this
11420 (getLayoutFont): and this
11421 * paragraph_pimpl.C (realizeFont): calling this
11423 * text2.C (getFont): split into...
11424 (getLayoutFont): this
11425 (getLabelFont): and this
11426 (realizeFont): all three calling this
11428 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11431 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11433 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11435 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11437 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11438 layouts from the Quote inset insertion.
11440 2001-08-03 Juergen Vigna <jug@sad.it>
11442 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11444 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11445 only if status not is already CHANGED_IN_DRAW (second level).
11447 * text.C (draw): don't set the need_break_row when inside an
11450 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11452 * buffer.C (parseSingleLyXformat2Token): handle more latex
11455 * bufferview_funcs.[hC]: change function names to
11456 begin with small char, adjust other files.
11458 2001-08-02 André Pönitz <poenitz@gmx.net>
11461 BufferView_pimpl.C: remove broken special code for math-greek
11463 2001-08-02 Juergen Vigna <jug@sad.it>
11465 * BufferView_pimpl.C (update): redone this function so that we
11466 update the text again if there was a CHANGE_IN_DRAW.
11468 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11469 (drawFromTo): added a new internal bool which is used by draw() and
11471 (general): some cursor drawing problems fixed.
11473 2001-08-01 Juergen Vigna <jug@sad.it>
11475 * lyxfind.C (LyXFind): fixed
11476 (SearchForward): ditto
11477 (SearchBackward): ditto
11479 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11480 spurius drawing of the cursor in the main area.
11482 * text2.C (status): small fix which could lead to a segfault!
11483 (clearSelection): remove unneeded BufferView param.
11485 2001-08-01 André Pönitz <poenitz@gmx.net>
11487 * lyxfunc.C: small change due to changed mathed interface
11489 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11491 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11493 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11495 * lyxfunc.c: fail gracefully if file doesn't exist
11500 * BufferView_pimpl.C: IsDirWriteable() proto changed
11502 * LyXView.C: fix updateWindowTitle() to store the last title
11504 2001-07-31 Juergen Vigna <jug@sad.it>
11506 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11507 the font (wrong since using of Paragraph::highestFontInRange).
11509 * paragraph.C (highestFontInRange): added a default_size parameter.
11511 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11512 (setHeightOfRow): reformat
11514 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11516 * converter.[hC] + affected files: move to (inital-char)lowercase
11519 * ParagraphParameters.C (ParagraphParameters): remove commented code
11521 * PainterBase.[Ch]: remove commented code
11523 * LaTeXFeatures.h: add "bool floats" for float.sty
11525 * LaTeXFeatures.C (LaTeXFeatures): init floats
11526 (require): handle float
11527 (getPackages): do it with floats
11529 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11531 * BufferView_pimpl.C (Dispatch): improve handling of
11532 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11534 * commandtags.h: #include lyxfont.h here temporarily to avoid
11537 * bufferlist.h: include LString.h here.
11539 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11541 * text2.C (getStringToIndex): new method.
11543 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11545 * *: Reduced header file dependencies all over.
11547 2001-07-30 Baruch Even <baruch@lyx.org>
11549 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11551 2001-07-29 Baruch Even <baruch@lyx.org>
11553 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11555 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11557 * ParameterStruct.h (endif): add a default constructor to make
11558 sure that all variables is initialized.
11560 * ParagraphParameters.C (ParagraphParameters): adjust
11562 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11564 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11565 index; also, check that there is something to index, and that it
11566 does not span over several paragraphs.
11567 (doubleClick): use WHOLE_WORD_STRICT for double click.
11569 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11571 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11574 2001-07-26 Baruch Even <baruch@lyx.org>
11576 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11577 an InsetFig figure, backwards compatible reading of old figure code.
11579 2001-07-27 Juergen Vigna <jug@sad.it>
11581 * text2.C: font.realize function adaption.
11583 * text.C (draw): add a warnings lyxerr text if needed.
11585 * layout.C: font.realize function adaption.
11587 * language.C: add inherit_language and implement it's handlings
11589 * bufferview_funcs.C (StyleReset): remove language parameter from
11590 font creation (should be language_inherit now).
11592 * bufferparams.C (writeFile): handle ignore_language.
11594 * paragraph.C (getFontSettings): the language has to be resolved
11595 otherwise we have problems in LyXFont!
11597 * lyxfont.C (lyxWriteChanges): added document_language parameter
11598 (update): removed unneeded language parameter
11600 * paragraph.C (validate): fixed wrong output of color-package when
11601 using interface colors for certain fonts in certain environments,
11602 which should not seen as that on the final output.
11604 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11606 * BufferView_pimpl.C:
11611 * LyXAction.C: add thesaurus support
11614 * lyxfind.C: add "once" parameter, for thesaurus, to not
11615 move to the next match
11617 2001-07-26 Juergen Vigna <jug@sad.it>
11619 * lyxfont.C (realize): honor ignore_language too!
11622 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11624 * text.C (draw): one place more for ignore_language to not draw
11627 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11629 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11631 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11633 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11634 the minipage conversion problem.
11636 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11638 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11641 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11643 * BufferView.h: don't forward declare WorkArea
11645 * BufferView.C: don't include WorkArea.h
11647 2001-07-25 André Pönitz <poenitz@gmx.net>
11651 * lyxfunc.C: new LFUN 'math-space'
11653 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11655 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11657 * text2.C (toggleInset): call open/close
11659 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11661 * lyxfunc.C (dispatch): add debug for the disabled case
11663 * font.C (buttonText): make similar to rectText
11665 * buffer.C (readInset): comment out parsing of insetlist and
11668 * PainterBase.C (rectText): small correction
11670 * BufferView_pimpl.C: comment out insettheorem and insetlist
11671 * LyXAction.C: ditto
11672 * commandtags.h: ditto
11674 2001-07-24 Juergen Vigna <jug@sad.it>
11676 * text.C (draw): honor the ignore_language.
11678 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11680 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11682 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11685 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11687 * lyxtext.h: remove unused (and unimplemented) methods
11689 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11691 * text.C (getVisibleRow): honor background color
11694 * Painter.h: remove default color argument for fillRectangle
11696 * text.C (backgroundColor): new method
11698 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11700 * text.C (getVisibleRow): adjust
11702 * font.[Ch] (rectText): new method, metrics
11703 (buttonText): new method, metrics
11705 * PainterBase.[hC]: make rectText and buttonText always draw and take
11708 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11710 * ToolbarDefaults.C (read):
11711 * MenuBackend.C (read): allow escaping in all strings
11713 * BufferView_pimpl.C (insertAndEditInset): new method.
11714 (Dispatch): use insertAndEditInset whenever appropriate.
11716 * BufferView_pimpl.C (insertNote): removed
11718 * BufferView_pimpl.C (smartQuote): new method, moved from
11719 BufferView; if an insetquote cannot be inserted, insert a '"'
11722 * BufferView2.C: remove insertCorrectQuote();
11724 * lyxfunc.C (getStatus): Add support for all remaingin
11725 inset-insert lfuns.
11727 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11729 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11730 command (necessary to pass " as parameter of self-insert.
11732 * text.C (selectWordWhenUnderCursor):
11733 (selectWord): add word_location parameter
11734 (selectWordWhenUnderCursor): same + remove special code for word
11736 (selectNextWord): use kind() to guess type of insetspecialchar,
11739 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11740 (insertErtContents): create ert insets as collapsed.
11741 (readInset): better compatibility code for Info inset.
11743 2001-07-20 Juergen Vigna <jug@sad.it>
11745 * lyxfunc.C (dispatch): use always LyXFind now!
11747 * text2.C (init): add a reinit flag so that the LyXText can be
11748 reinited instead of deleted and reallocated (used in InsetText).
11750 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11756 2001-07-18 Juergen Vigna <jug@sad.it>
11758 * text.C (selectNextWord): handle insets inside inset by calling
11759 always the bv->text functions so that we can go up the_locking_inset!
11761 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11762 in strange locations when inside an inset!
11764 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11765 handling to include insets.
11767 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11769 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11771 * LyXAction.C (init):
11773 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11774 LIGATURE_BREAK, since the name is so stupid.
11776 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11778 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11781 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11783 * sp_form.[Ch]: remove.
11785 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11787 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11790 * src/buffer.C (readInset): ditto.
11792 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11794 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11795 menuSeparator(), endOfSentenceDot(), ldots() and
11796 hyphenationPoint(), which are therefore removed.
11797 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11799 * LyXAction.C (init):
11800 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11802 * paragraph.C (getWord): removed.
11804 * BufferView_pimpl.C (Dispatch): use last word or selection for
11805 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11807 * lyx_main.C (queryUserLyXDir): do not ask before creating
11808 user_dir, except if it has been named explicitely.
11810 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11812 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11813 a document of zero size.
11815 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11817 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11818 approriately in the c-tor and in require().
11819 (getPackages): output the appropriate LaTeX for natbib support.
11821 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11822 variables "use_natbib" and "use_numerical_citations" when reading the
11824 (readInset): read the various natbib cite commands.
11825 (validate): white-space change.
11827 * bufferparams.[Ch]: new variables "bool use_natbib" and
11828 "bool use_numerical_citations".
11829 (writeFile): output them in the LyX file.
11831 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11833 * lyxfunc.C (getStatus): add support for all the inset insertion
11836 * text2.C (insertInset):
11837 * paragraph.C (insetAllowed):
11838 * BufferView_pimpl.C (insertInset): update to take in account the
11839 renaming of insertInsetAllowed
11841 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11843 * text2.C (getInset): new method. returns inset at cursor position.
11845 * BufferView_pimpl.C (Dispatch): changes because of this.
11847 * LyXAction.C (init): rename open-stuff to inset-toggle.
11849 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11851 * text2.C (toggleInset): renamed from openStuff; use
11854 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11856 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11858 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11860 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11862 * buffer.C (readLyXformat2): Add filename to the error dialog
11864 2001-07-18 Juergen Vigna <jug@sad.it>
11866 * tabular.C (GetCellNumber): put an assert here instead of the check!
11868 2001-07-17 Juergen Vigna <jug@sad.it>
11870 * BufferView_pimpl.C (toggleSelection): adapted too.
11872 * text.C (selectNextWord): adapted for use with insets.
11873 (selectSelectedWord): ditto
11875 2001-07-17 Juergen Vigna <jug@sad.it>
11877 * sp_spell.C (PSpell): fix initialitation order.
11879 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11881 * paragraph.C: spacing
11883 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11885 * sp_spell.C: repair language selection for pspell
11887 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11889 * lyxfunc.h: change more methods to begin with lower char.
11891 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11893 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11894 for unknown layouts.
11896 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11898 * buffer.C (readLyXformat2): Generate an error dialog if there are
11901 2001-07-16 Juergen Vigna <jug@sad.it>
11903 * sp_spell.C: always compile ISpell part.
11905 * lyxrc.C: added use_pspell entry and it's handling.
11907 2001-07-13 Juergen Vigna <jug@sad.it>
11909 * sp_spell.C: removed double includes.
11911 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11913 Consistent use of Lsstream.h:
11914 * Lsstream.h: added using std::stringstream for consistencies sake.
11916 * buffer.C: removed using std::stringstream
11918 * lyxfont.C (stateText):
11919 * paragraph.C (asString):
11920 * text.C (selectNextWord, selectSelectedWord):
11921 * text2.C (setCounter):
11922 * vspace.C (asString, asLatexString):
11923 std::ostringstream -> ostringstream.
11925 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11927 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11928 * commandtags.h: add LFUN_HELP_ABOUTLYX
11929 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11931 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11933 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11935 * lyx_gui_misc.C: remove spellchecker
11936 * lyxfunc.C: showSpellchecker
11938 * sp_ispell.h: added
11939 * sp_pspell.h: added
11940 * sp_spell.C: added
11941 * sp_form.[Ch]: removed
11942 * spellchecker.[Ch]: removed
11944 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11946 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11948 (simpleTeXSpecialChars): Simply print the input character without
11949 any special translation if pass_thru is set.
11951 * layout.h: Added bool pass_thru to layout class for being able to
11952 implement pass through of a paragraph for Literate Programming.
11954 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11955 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11956 * layout.C (Read): add "passthru" to list of layout tags and add
11957 code to set the pass_thru boolean when it is read.
11959 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11961 * trans_decl.h: remove allowed from KmodInfo
11963 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11964 remove allowed code
11967 * paragraph_pimpl.C (erase): use boost::prior
11969 * Painter.C (text): use data() instead of c_str() when length is
11971 * WorkArea.C (putClipboard): ditto
11972 * font.h (width): ditto
11974 * BufferView2.C: use it-> instead of (*it). for iterators
11976 * paragraph_pimpl.C: ditto
11977 * paragraph.C: ditto
11978 * minibuffer.C: ditto
11979 * language.C: ditto
11981 * encoding.C: ditto
11982 * counters.C: ditto
11983 * converter.C: ditto
11985 * Variables.C: ditto
11986 * TextCache.C: ditto
11987 * MenuBackend.C: ditto
11988 * LyXAction.C: ditto
11990 * FloatList.C: ditto
11991 * DepTable.C: ditto
11992 * ColorHandler.C (LyXColorHandler): ditto
11994 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11996 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11998 * text2.C (openStuff): reintroduce this method (which had been
11999 nuked in NEW_INSETS frenzy).
12001 * lyxfunc.C (Dispatch): when an action has not been handled, use
12002 its name in the error message, not its number.
12004 * paragraph.C (inInset): change method name to begin with lowercase.
12007 * text2.C: updates because of this.
12009 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12011 * ToolbarDefaults.C (add): add spaces in error message
12013 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12015 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12016 (readLyXformat2): rename return_par to first_par, use lyxlex's
12017 pushToken and remove the manual push handling.
12018 (parseSingleLyXformat2Token): add another ert comp. variable:
12019 in_tabular, rename return_par to first_par. handle newlines better
12021 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12023 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12025 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12027 * text2.C (getParFromID): removed
12029 * buffer.C (getParFromID): new method moved form lyxtext.
12030 * BufferView2.C (insertErrors): adjust
12031 (setCursorFromRow): adjust
12032 * BufferView_pimpl.C (restorePosition): adjust
12033 * lyxfunc.C (Dispatch): adjust
12034 * undo_funcs.C (textUndo): adjust
12036 (textHandleUndo): adjust
12037 (textHandleUndo): adjust
12039 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12041 * buffer.C: up' the LYX_FORMAT
12043 * lyxfont.h: turn NO_LATEX on as default
12045 * buffer.C (insertErtContents): new methods of tex style compability.
12046 (parseSingleLyXformat2Token): use it several places.
12047 * tabular.C (OldFormatRead): and here
12049 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12051 * text2.C: remove some commented code.
12054 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12055 * trans.C: changes because of the above.
12057 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12059 * text2.C (setCounter): Fix counters bug with bibliography layout.
12061 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12063 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12064 own member functions
12065 (simpleTeXSpecialChars): ditto
12067 2001-07-06 Juergen Vigna <jug@sad.it>
12069 * a lot of files: changed the access to LyXText::status and the
12070 call of undo-functions.
12072 * undo.[Ch]: added a inset_id to the undo informations.
12074 * undo_funcs.[Ch]: added and moved here all undo functions.
12076 * lyxtext.h: give the status enum a weight, made status_ a private
12077 variable and made accessor functions for it, removed the whole bunch
12078 of undo-functions as they are now in their own file, make some
12079 functions publically available. Added function ownerParagraph with
12082 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12083 made InInset() a const function, added getParFromID() function.
12085 * buffer.[Ch]: added const version for inset_iterator functions,
12086 added getInsetFromID() function.
12088 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12089 changed undo functions for new version.
12091 2001-07-05 Juergen Vigna <jug@sad.it>
12093 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12094 unknow mechanism does not call the proper constructor but only this
12095 one also if I request the other!?
12097 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12099 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12101 * text2.C (LyXText): use initialization lists.
12103 * lyxtext.h (Selection): initialize set_ and mark_
12104 (init): remove method
12106 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12108 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12110 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12112 * screen.[Ch]: change method names to begin with lowercase
12114 * BufferView_pimpl.C (updateScrollbar): simplify further and
12115 hopefully make it a bit faster.
12117 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12119 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12120 calling directly xforms functions.
12122 * Painter.C (Painter):
12123 * lyx_cb.C (MenuWrite):
12124 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12127 * lyx_gui.C: remove bogus guiruntime extern declaration.
12129 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12131 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12133 (redoDrawingOfParagraph): ditto
12134 (redoParagraphs): ditto
12135 (cutSelection): don't create a object for CutAndPaste use the
12136 static method directly
12137 (pasteSelection): ditto
12139 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12142 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12144 * modifications to some other files because of this.
12146 * Makefile.am (lyx_SOURCES): add XFormsView
12148 * XFormsView.[Ch]: new files
12150 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12151 the main window. Move the gui dependent stuff to XFormsView
12153 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12155 * tabular.C (GetCellInset): update cur_cell also in the row/col
12156 version of this function.
12158 * lyxfunc.C: no need to include figure_form.h here.
12164 * lyxvc.C: no need to include forms.h here.
12166 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12168 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12170 * lyxfunc.C (Dispatch):
12172 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12173 constructor argument.
12175 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12177 * paragraph.C (Paragraph): dont't clear, and just set layout.
12178 (makeSameLayout): use params's copy contructor.
12180 * ParagraphParameters.[Ch] (makeSame): delete method
12182 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12184 * Variables.[Ch]: fix indentation, rename set to isSet
12186 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12188 * lyxfunc.C (Dispatch): fix typo
12190 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12192 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12195 * bufferlist.C: include assert.h for emergencyWrite().
12197 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12199 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12200 give up at last (bug #425202) !
12202 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12208 * spellchecker.C: strip spellchecker options and bring up
12209 preferences tab instead
12211 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12213 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12214 the istringstream constructor
12216 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12218 * paragraph.C (getLayout): fix return value
12220 * paragraph.h: do not declare getLayout as inline.
12222 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12224 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12226 * lyxcursor.h (operator<): new func
12227 (operator>): new func
12228 (operator>=): new func
12229 (operator<=): new func
12231 * text.C (changeCase): use selection.start and selection.end
12232 (changeRegionCase): require from to be <= to. Require par to be a
12235 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12237 2001-06-27 Juergen Vigna <jug@sad.it>
12239 * text.C (cursorLeftOneWord): changed to return the cursor and added
12240 overlay with BufferView * parameter which calls this one.
12242 (selectWord): use new getWord function.
12243 (changeCase): renamed from changeWordCase as and extended to work
12244 also on selections.
12246 * lyxtext.h: added enum word_location
12248 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12249 changeCase as this operates now also on selections.
12251 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12253 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12255 * many files: send debug output to Debug::INFO instead of
12258 * converter.C (View):
12260 (Move): send debug output to Debug::FILES instead of console.
12262 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12264 * lyxfunc.C (getStatus): use func_status
12266 * func_status.h: new header, describing the results of
12267 LyXFunc::getStatus;
12269 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12272 2001-06-25 The LyX Project <jug@sad.it>
12274 * buffer.C (sgmlOpenTag):
12276 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12278 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12280 * text2.C: remove some dead code
12282 * tabular.C (GetCellInset): store the last cell checked (gotten)
12284 * tabular.h: add the helper for the speedup
12286 * lyxtext.h: remove some dead code
12288 2001-06-26 The LyX Project <Asger>
12290 * paragraph.C: Change export to LaTeX of alignment to
12291 \begin{center} and family for better roundtrip work with reLyX.
12293 * Tune the math drawing a bit.
12295 2001-06-25 The LyX Project <Asger>
12297 * LColor.C (LColor): New color for math background. New color
12300 2001-06-25 The LyX Project <jug@sad.it>
12302 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12304 * lyxfunc.C (Open):
12305 * bufferlist.C (newFile): do not restrict to files ending with
12308 * BufferView_pimpl.C (MenuInsertLyXFile):
12310 2001-06-24 The LyX Project <jug@sad.it>
12312 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12315 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12317 * lyxtext.h: rename most methods to begin with a small char.
12318 Lots of changes because of this.
12320 * paragraph.C (Paragraph): do not call fitToSize
12321 (erase): call Pimpl::erase
12322 (insertChar): call Pimpl::insertChar
12323 (insertInset): call Pipl::insertInset
12324 (breakParagraph): do not call fitToSize
12325 (breakParagraphConservative): do not call fitToSize
12326 (fitToSize): remove method
12328 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12330 2001-06-24 The LyX Project <Asger>
12332 * Fix Qt compilation^2
12334 2001-06-24 The LyX Project <jug@sad.it>
12336 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12337 depthHook(getDepth()-1).
12340 * ParagraphParameters.h:
12341 * ParameterStruct.h: change type of depth to unsigned int ==
12342 depth_type. Many adaptations to other files before of that.
12344 2001-06-24 The LyX Project <Asger>
12346 * Fix Qt compilation.
12348 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12350 * paragraph.h: renamed several methods to begin with small letter.
12351 several changes to many parts of the code because of this.
12353 2001-06-23 The LyX Project <jug@sad.it>
12355 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12356 rewritten to discard all double spaces when KeepEmpty is off
12357 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12358 to only handle newlines but not fiddle with spaces and friends.
12360 * lyxfunc.C (MenuNew): when doing 'new from template', use
12361 template_path as default directory
12363 2001-06-23 The LyX Project <Asger>
12365 * Clean-up of header file includes all over
12366 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12368 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12370 * paragraph.h: renamed from lyxparagraph.h
12372 2001-06-23 Asger <lyx@violet.home.sad.it>
12374 * Buffer.h: Removed Buffer::resize
12375 * BufferList.h: Removed BufferList::resize
12376 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12377 the document lazily when we change the width, or the font settings.
12379 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12381 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12383 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12385 * buffer.h: remove out of date comment
12387 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12390 * screen.C: fix "theoretical" GC leak
12392 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12394 * LaTeX.C (scanAuxFile):
12395 (deplog): remove trailing \r when reading stream (useful under
12398 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12400 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12401 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12402 and BufferView::theLockingInset(Inset*), so should use them and not
12403 access bv_->text->the_locking_inset directly.
12405 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12407 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12410 * tex-defs.h: remove old unused file
12412 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12414 * BufferView_pimpl.C: fix typo, remove minibuffer message
12415 when buffer has loaded
12417 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12419 * lyxfunc.C (Dispatch): use stringstream
12420 (MenuNew): use stringstream
12421 (Open): use stringstream
12423 * importer.C (Import): use stringstream
12425 * bufferview_funcs.C (CurrentState): use stringstream
12427 * LaTeX.C (run): use stringstream
12429 * BufferView_pimpl.C (savePosition): use stringstream
12430 (restorePosition): use stringstream
12431 (MenuInsertLyXFile): use stringstream
12433 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12446 * vspace.C: removed // -*- C++ -*- as first line.
12449 * version.h: added // -*- C++ -*- as first line.
12451 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12453 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12455 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12458 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12460 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12463 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12465 * gettext.C: include LString.h even when --disable-nls is on.
12467 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12469 * converter.h (Get): changed argument type from int to
12470 FormatList::size_type to avoid unnecessary conversion.
12472 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12475 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12477 * gettext.h: include LString.h even when --disable-nls is on.
12479 2001-06-07 Juergen Vigna <jug@sad.it>
12481 * text.C (BreakAgain): subst spaces with tabs.
12483 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12484 (resizeInsetsLyXText): set force on resizeLyXText.
12486 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12488 * gettext.h (gettext_init):
12489 (locale_init): use a real definition instead of a macro
12491 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12493 * Bufferview_pimpl.C:
12495 * LColor.C: further lcolor tidies
12497 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12499 * BufferView_pimpl.C (updateScrollbar): simplify.
12501 * BufferView2.C: don't include insets/insetinfo.h, change
12502 prototype for insertInset and call the Pimpl version. let
12503 updateInset call Pimpl version.
12505 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12506 gotoInset to BufferView::Pimpl
12508 2001-06-01 Juergen Vigna <jug@sad.it>
12510 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12511 inside a LockingInset (is the update needed at all?).
12513 2001-05-31 Juergen Vigna <jug@sad.it>
12515 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12516 here not the old one otherwise how should we compare it afterwards
12519 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12524 * FontInfo.C: bring C functions into global namespace when
12527 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12529 * LString.h: make sure config.h has been loaded before LString.h.
12531 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12532 (one for each char read by EatLine!).
12534 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12537 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12539 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12540 to the same as the par we break from
12542 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12544 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12546 * MenuBackend.C (expand): also create menu entries for wide
12547 versions of the floats.
12549 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12551 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12553 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12554 frontends/Makefile.am
12560 * tabular.C (getTokenValue): add std::
12562 * tabular-old.C (getTokenValue): add std::
12563 (getTokenValue): ditto
12564 (getTokenValue): ditto
12566 * screen.C (ToggleSelection): adjust
12568 * lyxtext.h: put selection cursors inside a Selection struct.
12570 * lyxfunc.C (moveCursorUpdate): adjust
12572 * lyxfont.C (latexWriteStartChanges): add std::
12574 * lyxfind.C: adjust
12576 * font.h: delete with(char const *, LyXFont const &)
12578 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12580 * FontInfo.C (getFontname): add std::
12582 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12583 (workAreaButtonPress): adjust
12584 (tripleClick): adjust
12586 (moveCursorUpdate): adjust
12589 * BufferView2.C (gotoInset): adjust
12591 2001-05-30 Juergen Vigna <jug@sad.it>
12593 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12594 to check pspell I add this as default as I now have new pspell
12595 libraries and they seem to use this.
12597 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12599 * text2.C (CutSelection): make the cursor valid before the call to
12602 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12604 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12605 relied on 0 terminated strings and other horrors. Bug found due to
12606 the new assert in lyxstring!
12608 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12611 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12613 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12616 * lyxfunc.C (processKeySym): change method of getting to the
12619 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12620 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12621 * BufferView_pimpl.[Ch]: here as private methods.
12623 2001-05-28 Juergen Vigna <jug@sad.it>
12625 * text.C (SetHeightOfRow): added the update() call again as it is
12626 needed to initialize inset dimensions!
12628 2001-05-16 Juergen Vigna <jug@sad.it>
12630 * text2.C (SetCharFont): Add new function with BufferView * and
12631 bool toggleall parameters for setting insets internal fonts.
12632 (SetFont): Freeze the undo as we may change fonts in Insets and
12633 all this change should be inside only one Undo!
12635 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12636 setting font's in insets as for them we have the SetFont function!
12638 2001-05-15 Juergen Vigna <jug@sad.it>
12640 * text2.C (ClearSelection): to be sure we REALLY don't have any
12643 * tabular.C (TeXCellPreamble): fixed the left border problem for
12646 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12648 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12651 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12653 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12654 LFUN_BREAKPARAGRAPH.
12656 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12657 help test to "internal only", similar for LFUN_INSERT_URL
12659 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12660 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12661 auto_region_delete and deadkeys.
12663 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12666 * LColor.C: remove some dead entries, tidy a little
12668 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12670 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12672 (Dispatch): implement LFUN_ESCAPE
12674 * commandtags.h: add LFUN_ESCAPE
12676 * LyXAction.C (init): add entry for LFUN_ESCAPE
12678 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12679 Remove commented code.
12680 (insertNote): moved here
12681 (open_new_inset): moved here
12683 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12686 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12688 * kbmap.C (findbinding): clean it up and make it work correctly.
12690 * lyx_main.C (init): do not pass argc and argv as parameters
12692 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12694 * buffer.C: fix path for OS/2 & Win32
12698 * lyx_main.C: Added os:: class.
12700 * os2_defines.h: update
12702 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12704 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12705 better by trying again with reduced state.
12707 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12709 * lyxrc.C (read): print error about invalid key sequence only when
12710 debugging (because not all latinX keysyms are known to some X
12713 * kbsequence.C (getiso): add a few std:: qualifiers
12714 (getiso): comment out extra return statement.
12716 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12718 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12720 (Dispatch): enhance the accent inset a bit. (not perfect)
12722 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12724 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12726 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12728 * bufferlist.C (emergencyWrite): fix assert() call
12730 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12732 * text.C (InsertChar): Added trivial patch to only send the "you
12733 can not do multiple spaces this way" message once during a
12736 2001-05-08 Baruch Even <baruch@lyx.org>
12738 * Makefile.am: Changed order of libraries to get LyX to link properly
12739 with the gnome frontend.
12741 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12743 * LaTeXFeatures.h: add a std:: qualifier
12745 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12747 * paragraph.C (String): use stringstream
12749 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12751 * paragraph.C (writeFile): remove footflag arg
12753 * buffer.C (makeLaTeXFile): use stringstream
12754 (latexParagraphs): remove footnot gurba
12756 * LaTeXFeatures.C (getPackages): use stringstream
12757 (getMacros): likewise
12758 (getTClassPreamble): likewise
12759 (getFloatDefinitions): new method
12761 * paragraph.C (writeFile): reindent
12764 * WorkArea.h: revert the xpos + etc changes.
12766 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12768 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12770 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12771 (pasteSelection): likewise
12772 * text2.C (CreateUndo): likewise
12774 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12776 * minibuffer.C (peek_event): temporarily reduce the functionality
12777 of the minibuffer (to allow args on lfuns)
12779 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12780 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12782 * buffer.C (readInset): add compability reading of old float
12783 lists, add reading of new style float list.
12784 (readInset): avoid reevaluation of inscmd.getCmdName()
12785 (getLists): reindent
12787 * MenuBackend.C (MenuItem): implement parsing of
12788 md_floatlistinsert and md_floatinsert.
12789 (expand::LastFiles): move initalizaton of iterators out of loop,
12790 avoid reevaluation.
12791 (expand::Documents): introduce typdedef vector<string> Strings,
12793 (expand::ExportFormats): introduce typedef vector<Format const *>
12794 Formats, and use it.
12795 (expand): implement FloatListInsert and FloatInsert.
12797 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12798 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12799 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12801 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12803 (Dispatch::LFUN_FLOAT_LIST): implement
12805 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12807 * LaTeX.C (run): Fix problem with --export code.
12809 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12811 * BufferView.[Ch] (workarea): removed.
12812 (getClipboard) new method; wrapper for workarea()->getClipboard()
12814 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12817 * WorkArea.h (width, height, xpos, ypos): These methods all
12818 returned the dimensions of the work_area sub-area of WorkArea,
12819 resulting in a position error if the WorkArea were resized. Now
12820 return the dimensions of the entire WorkArea.
12822 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12824 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12826 * LaTeX.C (deplog): correct the syntax of regex reg1
12828 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12830 * undo.C: remove !NEW_INSETS cruft
12832 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12834 * text2.C: remove !NEW_INSETS cruft
12836 * text.C: remove !NEW_INSETS cruft
12838 * tabular.C: remove !NEW_INSETS cruft
12840 * spellchecker.C: remove !NEW_INSETS cruft
12842 * lyxtext.h: remove !NEW_INSETS cruft
12844 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12846 * lyxfunc.C: remove !NEW_INSETS cruft
12848 * lyxfind.C: remove !NEW_INSETS cruft
12850 * lyx_cb.C: remove !NEW_INSETS cruft
12852 * figureForm.C: remove !NEW_INSETS cruft
12854 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12856 * buffer.[Ch]: remove !NEW_INSETS cruft
12858 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12860 * CutAndPaste.C: remove !NEW_INSETS cruft
12862 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12864 * BufferView2.C: remove !NEW_INSETS cruft
12866 * BufferView.h: remove !NEW_INSETS cruft
12868 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12870 * Lsstream.h: include LString.h before the sstream headers to
12871 fix problem with gcc 2.95.3 and lyxstring
12873 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12875 * lyx_main.C: add using directives when needed for C functions
12876 declared in std:: namespace.
12878 2001-04-27 Juergen Vigna <jug@sad.it>
12880 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12881 (SetHeightOfRow): comment out the update call should not be needed!
12883 2001-04-13 Juergen Vigna <jug@sad.it>
12885 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12886 (LyXTabular): tried to minimize operator= operations (and realized
12887 hopfully Lars wish).
12889 2001-04-27 Juergen Vigna <jug@sad.it>
12891 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12893 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12895 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12897 * buffer.C (readInset): hack to make listof algorithm work
12899 * BufferView_pimpl.C: hack to make listof algorithm work
12901 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12903 * LyXAction.C: removed all !NEW_INSETS cruft
12904 (init): moved lfun_item in method
12906 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12908 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12910 * BufferView2.C (theLockingInset): white space.
12912 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12914 * minibuffer.C: include <iostream>
12916 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12918 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12920 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12922 * text.[Ch] (TransposeChars): new method
12924 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12926 * call message directly through LyXView instead of through LyXFunc
12927 * BufferView2.C: adjust
12928 * BufferView_pimpl.C: adjust
12929 * FontLoader.C: adjust
12931 * bufferview_funcs.C: adjust
12932 * converter.C: adjust
12933 * figureForm.C: adjust
12934 * importer.C: adjust
12936 * lyx_gui_misc.C: adjust
12937 * lyxfunc.C: adjust
12940 + more files in subdirs
12942 * lyxparagraph.h (size): move up int file
12945 * adjust all uses of Assert to lyx::Assert.
12947 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12948 lyxfunctional in namespace lyx
12949 * layout.C (hasLayout): ditto
12952 (delete_layout): ditto
12953 (NumberOfClass): ditto
12954 * converter.C (GetFormat): ditto
12959 * bufferlist.C (getFileNames): ditto
12960 (emergencyWriteAll): ditto
12963 * MenuBackend.C (hasSubmenu): ditto
12966 * BufferView_pimpl.C (getInsetByCode): ditto
12968 2001-04-18 Juergen Vigna <jug@sad.it>
12970 * vspace.C (asLatexString): fixed the 100% problem.
12972 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12974 * lyxfunc.C (Dispatch):
12976 * minibuffer.h: add a few std:: qualifiers
12978 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12980 * minibuffer.[Ch]: reimplement so that commands is initiated and
12981 run from lyxfunc, simplified som handling, and made the completion
12982 and history code for complete. wip.
12984 * lyxfunc.C (processKeySym): call message
12985 (miniDispatch): new temporary method
12986 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12987 (LFUN_MESSAGE): implement
12988 (LFUN_MESSAGE_PUSH): implement
12989 (LFUN_MESSAGE_POP): implement
12990 (initMiniBuffer): the initial/defualt minibuffer message.
12992 * lyxfont.[Ch]: inline some more getters
12994 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12996 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12998 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12999 (AutoSave): use LFUN_MESSAGE
13000 (Reconfigure): ditto
13002 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13004 * figureForm.C: use LFUN_MESSAGE
13006 * converter.C (runLaTeX): use LFUN_MESSAGE
13008 * bufferview_funcs.C: use LFUN_MESSAGE
13010 (changeDepth): ditto
13012 * bufferparams.h: use boost::
13014 * bufferlist.h: inherit privately from noncopyable
13016 * bufferlist.C (loadLyXFile): remove some commented code.
13018 * buffer.C (runChktex): use LFUN_MESSAGE
13020 * ShareContainer.h: inherit privately from noncopyable
13022 * ParagraphParameters.[hC] (depth): inline it.
13024 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13026 (message): new method
13027 (messagePush): ditto
13028 (messagePop): ditto
13029 (show): init minibuffer
13030 (showState): direct call
13032 * LaTeX.[Ch]: inherit privately from noncopyable
13033 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13034 instead of WriteStatus.
13036 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13038 * BufferView_pimpl.C (buffer): don't init minibuffer
13039 (workAreaButtonPress): use LFUN_MESSAGE
13040 (workAreaButtonRelease): ditto
13041 (savePosition): ditto
13042 (restorePosition): ditto
13043 (MenuInsertLyXFile): ditto
13044 (workAreaExpose): don't init minibuffer
13045 (update): remove commented code, simplify
13047 * BufferView2.C (openStuff): use LFUN_MESSAGE
13048 (toggleFloat): ditto
13051 (copyEnvironment): ditto
13052 (pasteEnvironment): ditto
13057 (updateInset): remove some commented code
13059 * lastfiles.h: inherit privately from noncopyable
13062 * lyx_main.h: ditto
13064 * lyxlex_pimpl.h: ditto
13066 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13067 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13068 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13070 * LyXAction.h: inherit privately from noncopyable, add methods
13071 func_begin, func_end, returning iterators to the func map.
13073 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13074 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13075 (func_begin): new method
13076 (func_end): new method
13078 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13080 (copySelection): ditto
13081 (pasteSelection): ditto
13083 * BufferView.C: whitespace change
13084 * BufferView.h: inherit privately from noncopyable
13086 2001-04-16 Allan Rae <rae@lyx.org>
13088 * tabular-old.C (l_getline):
13089 * spellchecker.C (sc_check_word):
13090 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13091 an unrecognised preprocessor directive. So ensure they're wrapped.
13093 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13095 * src/exporter.C (Export): Give an error message when path to file
13098 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13100 * LaTeX.C (deplog): Always check that foundfile exists.
13102 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13105 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13107 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13109 * tabular.[Ch] (getLabelList): implement new method
13111 * minibuffer.h: comment ouf setTiimer
13113 * minibuffer.C (ExecutingCB): constify res
13114 (peek_event): constify s
13115 (Set): constify ntext
13116 (Init): constify nicename
13118 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13120 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13121 (savePosition): use two params to Minibuffer::Set
13122 (restorePosition): ditto
13124 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13126 * lyx_main.C: include language.h
13128 * Makefile.am (lyx_main.o): add language.h
13130 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13136 * CutAndPaste.C: include gettext.h
13138 * lyxfont.h: remove old hack with ON and OFF.
13141 * lyxfont.h: do not include language.h...
13146 * bufferview_funcs.C:
13152 * paragraph.C: ... but do it here instead
13154 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13156 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13158 * tabular.C: small reformat
13160 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13163 (BreakParagraph): ditto
13164 (SetOnlyLayout): ditto
13167 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13170 * lastfiles.C: removed most using decl, add std:: where needed
13172 * buffer.C: ws changes
13174 * MenuBackend.C (class compare_format): put into anon namespace
13175 (expand): constify label, names, action, action2
13178 * text.C (SingleWidth): constify font
13179 (IsBoundary): constify rtl2
13180 (GetVisibleRow): constify ww
13182 * LaTeX.C (deplog): constify logfile
13184 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13186 (workAreaExpose): constify widthChange, heightChange
13188 * lyxrow.C (par): moved
13191 * lyxrow.h: as inlines here
13193 * lyxfont.h (shape): moved from lyxfont.C
13194 (emph): moved from lyxfont.C
13196 * lyxfont.C (LyXFont): use initialization list for all
13198 (shape): move to lyxfont.h as inline
13199 (emph): move to lyxfont.h as inline
13202 2001-04-04 Juergen Vigna <jug@sad.it>
13204 * vspace.C: had to include stdio.h for use of sscanf
13206 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13209 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13210 independent of xforms.
13212 2001-04-02 Juergen Vigna <jug@sad.it>
13214 * spellchecker.C: fixed namespace placing!
13216 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13218 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13219 the LyXParagraph * is 0.
13221 2001-03-29 Juergen Vigna <jug@sad.it>
13223 * vspace.C: added support for %, c%, p%, l%.
13224 (stringFromUnit): added helper function.
13225 (asLatexString): changed to give right results for the %-values.
13227 * buffer.C: convert the widthp in a width%.
13229 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13231 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13234 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13235 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13237 * lyx_cb.[Ch]: see above.
13239 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13243 * lyx.[Ch]: replaced by figure_form.[Ch].
13247 * lyxfunc.C: changed headers associated with above changes.
13249 2001-03-27 Juergen Vigna <jug@sad.it>
13251 * BufferView_pimpl.C: set the temporary cursor right!
13253 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13255 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13257 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13259 * LString.h: removed "using std::getline"!
13261 * BufferView_pimpl.C (Dispatch): changes due to changes in
13262 InsetInclude::Params.
13264 * buffer.C (tag_name): removed redundant break statements as they were
13265 producing lots of warnings with my compiler.
13267 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13269 * LString.h: add "using std::getline" when using the real <string>.
13271 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13273 * buffer.C: removed bitset usage.
13274 PAR_TAG moved to an anonymous name space.
13275 (tag_name): new funtion, also in the anonymous namespace.
13276 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13277 (makeDocBookFile): clean code. Completed transition from string arrays
13279 (SimpleDocBookOnePar): code clean.
13281 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13283 * tabular.C: add some comments.
13285 2001-03-22 Juergen Vigna <jug@sad.it>
13287 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13288 compatibility read a bit and fixed bug with minipage in different
13291 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13293 * buffer.C (pop_tag): removed.
13294 (push_tag): removed.
13295 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13296 array replaced with vector. Added support for CDATA sections.
13297 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13299 (makeDocBookFile): XML conformant declaration of CDATA section,
13300 fixed bug related to <emphasis> in the first paragraph char.
13301 (sgmlOpenTag): exclude empty tags.
13302 (sgmlCloseTag): ditto.
13304 * buffer.h (pop_tag): removed.
13305 (push_tag): removed.
13307 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13309 * language.h (Languages): added size_type and size().
13311 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13313 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13314 response on compability reading of minipages. One probliem is that
13315 the old usage of minipages was «flertydig»
13317 * several files here and in subdirs: don't use static at file
13318 scope use anon namespaces instead.
13320 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13322 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13323 LaTeX output. This is necessary for Literate document
13326 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13328 * buffer.C: insert hfill when needed.
13330 * tabular.C (l_getline): use string::erase, small whitespace change.
13332 * BufferView_pimpl.C: try the anon namespace.
13333 * WorkArea.C: ditto
13335 2001-03-16 Juergen Vigna <jug@sad.it>
13337 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13338 otherwise it won't open options-dialogs.
13340 * buffer.C: honor pextraWidth(p) on converting minipages.
13342 * tabular.C (l_getline): changed the functions to strip trailing \r.
13344 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13346 * BufferView_pimpl.C:
13347 * minibuffer..C: added "using SigC::slot" declaration.
13349 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13351 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13357 * paragraph.C: ditto
13359 * lyxtext.h: NO_PEXTRA
13361 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13363 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13364 * ParameterStruct.h: ditto
13365 * ParagraphParameters.h: ditto
13366 * lyxparagraph.h: ditto
13368 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13370 * buffer.C: add compability for minipage alignment.
13371 (latexParagraphs): remove unwanted pextra check.
13373 * several files: remove CXX_WORKING_NAMESPACES
13375 * buffer.C (pop_tag): tie is in namespace boost
13377 * BufferView.h: noncopyable is in namespace boost
13379 * lyx_main.h: ditto
13382 * lastfiles.h: ditto
13383 * bufferlist.h: ditto
13384 * ShareContainer.h: ditto
13386 * LyXAction.h: ditto
13389 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13391 * Merging changes from BRANCH_MVC back into HEAD.
13393 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13395 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13397 * BufferView_pimpl.C: change from intl.C
13401 * Makefile.am: move combox.*
13407 * intl.C: remove dialog (covered by prefs)
13409 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13411 * lyxfunc.C (Dispatch): removed redundant break statement.
13413 2001-03-14 Juergen Vigna <jug@sad.it>
13415 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13417 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13419 * buffer.C: add hack to fix compability reading of minipages.
13421 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13423 * buffer.C (getLists): Cleanup.
13425 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13427 * lyxfont.C (update): don't honor toggleall on font size.
13429 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13433 * Makefile.am: moved to frontends/xforms/
13437 * BufferView_pimpl.C: changes for moved mathpanel
13439 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13441 * gettext.h: fix gettext_init() in --disable-nls
13443 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13445 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13447 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13450 * lyx.h: strip external form
13452 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13454 * BufferView_pimpl.C: add comment, destroySplash()
13456 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13458 * BufferView_pimpl.C:
13462 * lyxfunc.C: use re-worked insetinclude
13464 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13466 * buffer.C: add using std::stringstream.
13468 * lyx_cb.C: readd using std::ios.
13470 * buffer.C: add using std::map.
13472 * BufferView_pimpl.C: add using std::vector.
13474 * ShareContainer.h: add std:: to swap.
13476 * buffer.h: add some typedefs
13477 * buffer.C (getLists): use them
13478 (getLists): renamed from getTocList.
13479 add a counter for the different float types and use it in the
13481 (getLists): use the same counter for the NEW_INSETS and the "non"
13484 * lyx_cb.h: remove unused items, includes, using etc.
13486 * ShareContainer.h: remove some commented code, add more comments
13487 and "documentation".
13489 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13491 * buffer.C (getTocList): make the list also when NEW_INSETS is
13494 * buffer.h: remove TocType
13496 * buffer.C (getTocList): change to return a map<string,
13497 vector<TocItem> >, implement for dynamic number of list.
13499 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13500 * text2.C (PasteSelection): adjust
13501 * CutAndPaste.C (pasteSelection): adjust
13503 * FloatList.C (FloatList): update from the new_insets branch.
13504 * Floating.[Ch]: ditto
13505 * LaTeXFeatures.C: ditto
13507 * lyxlex_pimpl.C: ditto
13509 * paragraph.C (Last): remove when NEW_INSETS is defined.
13511 * other file: changes because of the above.
13513 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13515 * lyxparagraph.h: rename next to next_, previous to previous_,
13516 make them private for NEW_INSETS. Rename Next() to next(),
13517 Previous() to previous().
13519 * other files: changes because of the above.
13521 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13524 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13527 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13529 * main.C (main): pass lyx_localedir to gettext_init().
13531 * gettext.h: remove locale_init and gettext_init macros
13533 * gettext.C (locale_init): new function
13534 (gettext_init): new function
13536 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13539 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13541 * Moved credits to frontends:
13542 * credits.[Ch]: removed
13543 * credits_form.[Ch]: removed
13544 * lyx_gui_misc.C: remove credits stuff
13547 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13549 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13551 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13552 unneeded destructor.
13554 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13555 a standalone pointer again.
13557 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13559 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13565 * ToolbarDefaults.C:
13574 * BufferView_pimpl.C: use new file dialog in GUII
13577 * lyx_cb.C: remove LayoutsCB to Toolbar
13579 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13581 * ShareContainer.h (get): add std:: qualifier
13583 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13585 * ShareContainer.h: define a proper ShareContainer::value_type
13586 type (and use typename to please compaq cxx)
13588 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13590 * lyxparagraph.h: move serveral local vars to
13591 ParameterStruct/ParagraphParameters., use ShareContainer in
13592 FontTable., make vars in FontTable private and add getter and
13595 * paragraph.C: changes because of the above.
13597 * lyxfont.h: remove copy constructor and copy assignment. (the
13598 default ones is ok), move number inside FontBits. move inlines to
13601 * lyxfont.C: add number to initializaton of statics, move several
13602 inlines here. constify several local vars. some whitespace
13603 cleanup. Dont hide outerscope variables.
13605 * Spacing.h: add two new constructors to match the set methods.
13607 * ShareContainer.h: new file, will perhaps be moved to support
13609 * ParameterStruct.h: new file
13611 * ParagraphParameters.h: new file
13613 * ParagraphParameters.C: new file
13615 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13616 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13618 * BufferView_pimpl.C: ParagraphParameter changes.
13619 * buffer.C: Likewise.
13620 * bufferview_funcs.C: Likewise.
13621 * text.C: Likewise.
13622 * text2.C: Likewise.
13624 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13626 * lyxfind.C (LyXReplace): do not redefine default argument in
13628 (IsStringInText): ditto
13629 (SearchForward): ditto
13630 (SearchBackward): ditto
13632 2001-03-06 Juergen Vigna <jug@sad.it>
13634 * lyxfind.C (IsStringInText): put parentes around expressions.
13636 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13638 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13640 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13642 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13644 * stl_string_fwd.h: add comment
13646 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13649 * tabular.C: remove unused DocBook methods
13655 killed DO_USE_DEFAULT_LANGUAGE
13657 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13659 * lyx_gui.C: do not include language.h.
13661 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13662 arguments in function implementation.
13664 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13666 * BufferView_pimpl.C: add <ctime>
13668 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13670 * BufferView_pimpl.C: add using std::find_if
13672 2001-02-27 José Matos <jamatos@fep.up.pt>
13674 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13677 2001-02-11 José Matos <jamatos@fep.up.pt>
13679 * buffer.C (makeDocBookFile): command styles now have a parameter as
13680 "title" by default.
13682 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13684 * layout_forms.[Ch]: removed
13685 * lyx_cb.[Ch]: out character
13686 * lyx_gui.C: out character
13687 * lyx_gui_misc.C: out character
13688 * bufferview_funcs.C: : out character,
13689 added toggleall as parameter in ToggleAndShow
13691 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13693 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13695 * text2.C (SetCurrentFont): Disable number property at boundary.
13697 2001-02-26 Juergen Vigna <jug@sad.it>
13699 * lyxfunc.C (getStatus): added a string argument override function so
13700 that this is correctly called from LyXFunc::Dispatch if it contains a
13701 do_not_use_argument which is used!
13702 (Dispatch): added check for "custom" export and call appropriate func.
13704 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13706 * lyxrc.C: Add language_command_local, language_use_babel and
13707 language_global_options.
13709 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13711 * buffer.C (makeLaTeXFile): Use language_use_babel and
13712 language_global_options.
13714 2001-02-23 Juergen Vigna <jug@sad.it>
13716 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13717 which works with LyXText and putted it inside BufferView. Here now we
13718 only call for that part the BufferView::Dispatch() function.
13720 * BufferView.C (Dispatch): added.
13722 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13723 functions which needs to use a LyXText over from LyXFunc.
13724 (MenuInsertLyXFile): added
13725 (getInsetByCode): added
13726 (moveCursorUpdate): added
13727 (static TEXT): added
13729 2001-02-22 Juergen Vigna <jug@sad.it>
13731 * BufferView_pimpl.C (update): call a status update to see if LyXText
13734 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13736 * vc-backend.C (revert): implement for CVS
13737 (getLog): implement for CVS
13739 2001-02-20 Juergen Vigna <jug@sad.it>
13741 * text2.C (ClearSelection): added BufferView param for inset_owner call
13743 * lyxfunc.C (TEXT): added this function and use it instead of
13744 directly owner->view()-text of getLyXText().
13746 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13748 * src/layout_forms.C: out preamble
13749 * src/layout_forms.h: out preamble
13750 * src/lyx_cb.C: out preamble
13751 * src/lyx_cb.h: out preamble
13752 * src/lyx_gui.C: out preamble
13753 * src/lyx_gui_misc.C: out preamble
13754 * src/lyxfunc.C: connect with guii preamble
13756 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13758 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13760 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13762 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13763 whether to run bibtex.
13765 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13767 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13769 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13771 * Makefile.am (lyx_SOURCES): removed bibforms.h
13773 * vspace.h: doxygen
13775 * text.C (GetVisibleRow): make several local vars const
13777 * tabular.C: small cleanup.
13779 * lyxserver.C (callback): use compare instead of strncmp
13781 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13782 inlines to after class or to paragraph.C
13784 * lyxfont.h: remove friend operator!=
13786 * converter.h: move friend bool operator< to non friend and after
13789 * combox.h: small cleanup
13791 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13792 to inlines after class def.
13794 * buffer.C (pop_tag): use string operations instead of strcmp
13796 * bmtable.c: doxygen, small cleanup
13798 * LaTeX.h: remove friend operator==
13800 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13812 * BufferView_pimpl.C:
13813 * BufferView.[Ch]: remove cruft
13815 2001-02-14 Juergen Vigna <jug@sad.it>
13817 * lyxfunc.C: removed #if 0 unused code
13819 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13821 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13823 * text2.C (SetSelection): added a BufferView * parameter
13825 2001-02-13 Juergen Vigna <jug@sad.it>
13827 * lyxfunc.C (Dispatch): fixed protected blank problem.
13828 * BufferView2.C (protectedBlank): added LyxText * parameter.
13830 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13831 (AppendColumn): same as above for column_info.
13833 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13834 (moveCursorUpdate): use a LyXText param for support of InsetText.
13836 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13837 (tripleClick): ditto
13839 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13841 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13843 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13845 * text2.C (SetSelection): set correct update status if inset_owner
13846 (ToggleFree): ditto
13848 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13850 * tabular.C: remove some commented code.
13852 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13854 * BufferView_pimpl.C: call hideSplash()
13856 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13859 * bibforms.h: remove
13862 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13863 add LFUN_CHILD_CREATE
13865 * counters.h: fix tiny typo
13870 * lyx.C: move splash to frontends/xforms/
13872 * lyx_gui_misc.C: move Include and Bibform to frontends
13874 * lyxvc.h: clarify comment
13876 * vspace.C: tiny housekeeping
13878 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13880 * text.C (PrepareToPrint): RTL Fix.
13882 * paragraph.C (GetUChar): New method.
13883 (String): Use GetUChar.
13885 * buffer.C (asciiParagraph): Use GetUChar.
13887 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13889 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13891 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13894 * buffer.C: rename to getLogName(), handle
13895 build log / latex log nicely
13897 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13900 * MenuBackend.h: remove support for reference menuitem type.
13902 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13904 * BufferView_pimpl.C: housekeeping
13905 * BufferView_pimpl.h:
13910 * minibuffer.h: move Timeout GUI-I
13912 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13914 * lyxrc.C (read): Update converters data-structures.
13916 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13918 * LaTeX.h (operator!=): add operator != for Aux_Info
13920 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13922 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13924 * LaTeXLog.C: deleted, useful code moved to Buffer
13927 * buffer.C: new function getLatexLogName()
13933 * lyxfunc.C: use frontends for LaTeX and VC logs
13935 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13937 * LaTeX.h: yet another std:: that Allan forgot.
13939 * Variables.C (set): renamed from isset(), because this clashes
13940 with some HP-UX macros (grr).
13942 2001-02-06 Allan Rae <rae@lyx.org>
13944 * LaTeX.h: Another bug fix. Missing std:: this time.
13946 2001-02-04 Allan Rae <rae@lyx.org>
13948 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13949 floats problem. I've left it commented out because it's not quite
13950 correct. It should also test that the current object is a table or
13951 figure inset. But I haven't gotten around to figuring out how to do
13952 that. I *think* it'll be something like: "table" == inset.type()
13954 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13957 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13959 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13960 all the citation/databases/styles in the auxilary file.
13961 (run): Rerun latex if there was a babel language error.
13963 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13965 * text.C (Backspace): Preserve the font when changing newline char
13967 (BreakParagraph): If the cursor is before a space, delete the space.
13969 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13971 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13973 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13974 new argument (code).
13975 (ChangeCitationsIfUnique): New method.
13977 * paragraph.C (GetPositionOfInset): Handle bibkey.
13979 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13981 * BufferView_pimpl.h: change type of Position::par_pos to
13982 LyXParagraph::size_type.
13984 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13986 * BufferView_pimpl.C (savePosition, restorePosition): Write
13987 messages to minibuffer.
13989 2001-01-28 José Matos <jamatos@fep.up.pt>
13991 * buffer.C (makeDocBookFile): adds support for document language.
13992 A silly restriction on the name of LatexCommand types where removed.
13993 Added support for CDATA sections, allows to chars unescaped, used
13994 among others in code, to avoid escape < and >.
13996 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13998 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13999 saved positions instrad of a stack. Furthermore, a position is
14000 stored using paragraph id/paragraph position.
14002 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14003 Remove LFUN_REF_BACK.
14005 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14007 * converter.C (dvipdfm_options): New method.
14009 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14011 * vspace.C (isValidLength): Fix for empty input string.
14013 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14015 * LyXAction.C (init): change description of LFUN_FIGURE to
14018 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14020 * LaTeX.C: add using directive
14022 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14024 * MenuBackend.C (expand): Fix the sorting of the formats.
14026 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14028 * lyx_main.C: tiny error message fix
14030 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14032 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14033 calling fl_initialize(). This fixes the problem with ',' as
14034 decimal separator in text files.
14036 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14038 * trans.C (process): Fix the keymap bug.
14040 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14042 * LaTeX.C (scanAuxFiles): New method. Provides support for
14043 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14044 (scanLogFile) Scan for "run BibTeX" messages.
14046 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14047 OT1 font encoding. Also, load the aecompl package if the ae
14050 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14052 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14054 * texrow.C (increasePos): turn two error messages into debug
14057 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14059 * LaTeX.C (scanAux): Handle the \@input macro.
14060 (runBibTeX): Use scanAux().
14062 * language.C (latex_options_): New field.
14064 * LaTeXFeatures.C (getMacros): Add language macros.
14066 * buffer.C (makeLaTeXFile): Small fix.
14068 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14070 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14072 * text2.C: add a using directive.
14074 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14079 * lyxfunc.C: kill LyXBell.
14081 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14083 * text.C (IsBoundary): Remove the error message
14085 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14087 * lyxrc.C (setDefaults): Correct initialization value for
14090 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14092 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14095 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14096 and GotoNextNote().
14098 * src/LyXAction.C: Added reference-next.
14100 * text.C (InsertChar): Use contains instead of strchr.
14102 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14104 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14106 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14107 alignment commands (when needed).
14109 * text.C (InsertChar): Add ':' to number separator chars.