2 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
5 * lyxtextclass.[Ch]: parametrize SGML document header
7 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
10 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
13 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
15 * text2.C (setFont): rework using PosIterator (no more recursive)
16 (setCharFont): no more needed
17 (setLayout): no more selection cursors fiddling (done by redoCursor)
18 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
19 destroy remaining ones)
21 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
23 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
25 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
28 * text3.C: adjust + re-allow multi par depth changes
29 * textcursor.C: simplify a bit
31 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
37 * src/output_docbook.C:
43 * src/text2.C: Introducing a number of tags parametrizing various
44 XML formats that we may want to support
46 2003-11-25 André Pönitz <poenitz@gmx.net>
48 * InsetList.[Ch] (begein, end): inline as suggested by profiler
50 * lyxtext.h (leftMargin/rightMargin): simplify interface
57 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
59 * lyxfunc.C (dispatch): propogate the bibtex databases from the
60 master file to any child files. Fixes bug 546.
62 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
64 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
66 2003-11-24 André Pönitz <poenitz@gmx.net>
68 * rowpainter.C: simplification
70 * text2.C (updateCounters): remove call to redoParagraph on
71 changed labels as this is far too expensive.
73 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
75 * converter.C (convert): fix a crash: this function gets
76 called with buffer == 0 from importer code.
78 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
80 * text3.C (cursorPrevious): make sure that we do not compare
81 iterators form different containers.
84 * rowpainter.C (paintSelection): make sure that we do not compare
85 iterators from different containers.
87 * text3.C (dispatch): [PRIOR] make sure that we do not compare
88 iterators from different ParagraphList containers.
91 * text2.C (LyXText): change order of initialization slightly
92 (operator=): new function. copy all variables except cache_par_
93 (moveUp): make sure that we do not compare iterators from
94 different ParagraphList constainers.
97 * text.C (firstPar): new function
98 (lastPar): new function
99 (endPar): new function
101 * lyxtext.h: move things around and group public functions, public
102 variables, private functions, private variables
104 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
106 * factory.C: change call to InsetERT constructor to avoid
107 additional invocation of method status
108 * text2.C (toggleInset): remove redundant update() call
109 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
110 instead of a Bufferview pointer
112 2003-11-21 André Pönitz <poenitz@gmx.net>
114 * rowpainter.C: simplification
116 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
118 * text3.C (dispatch): make possible to extend a word/row selection
121 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
123 * lyxtext.h: x0_,y0_ -> xo_,yo_
124 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
125 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
126 * rowpainter.C (paintRows): paint full paragraphs
128 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
130 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
133 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
135 * lyxtext.h: add x0_, y0_
136 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
137 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
139 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
141 * text2.C (setCursorIntern): move the x_target update here *
142 * text3.C: change some bv() to true/false in calls to
143 cursorUp/Down/Right/Left
144 * cursor.C: use helper function.
146 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
148 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
149 * paragraph_funcs.[Ch]: correct comment
150 * rowpainter.C: do not paint selections away from bv->cursor()
151 Fix a long standing selection painting bug.
152 * text3.C: generalize mouse-selection code to LyXTexts other that
154 * textcursor.C: do not use y coords if we can use par offsets
156 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
158 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
159 cursor position after e.g. inset insert)
161 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
163 * lyxfind.C (replace): adjust to locking removal + some
166 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
168 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
171 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
174 * output_docbook.C: XML sanitation: new layout
175 parameters InnerTag and CommandDepth
177 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
179 * BufferView_pimpl.C:
181 * text3.C: Fix the insertion and modification of button-style
184 2003-11-13 André Pönitz <poenitz@gmx.net>
186 * InsetList.[Ch]: remove deleteLyXText
188 * paragraph.[Ch]: cache beginOfBody position
193 * text3.C: remove superfluous update() calls
197 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
199 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
200 * BufferView.C (fitLockedInsetCursor): remove
201 * cursor.[Ch] (getDim): add
202 * text.C (getRowNearY): add faster version
203 * text3.C: remove some update calls
205 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
217 * text3.C: The Character Style /XML short element patch.
219 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
222 * factory.C: Small step to solving 'unable to insert some insets'
225 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
227 * cursor.[Ch] (updatePos): new function for updating the y
228 position of the tip inset
229 * bufferview_funcs.C (put_selection_at):
230 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
232 2003-11-11 André Pönitz <poenitz@gmx.net>
234 * text.C: remove big comment on invalid Paragraph pointers as it is
237 2003-11-11 André Pönitz <poenitz@gmx.net>
239 * text_funcs.[Ch]: merge with ...
247 * Makefile.am: remove text_funcs.[Ch]
249 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
251 * cursor.C (getPos): return absolute cached y coord
253 * BufferView_pimpl.C (fitCursor): new simplistic code
254 (workAreaDispatch): add a fitCursor call
256 2003-11-10 André Pönitz <poenitz@gmx.net>
259 * BufferView_pimpl.[Ch]: merge update() and updateInset()
261 2003-11-10 André Pönitz <poenitz@gmx.net>
263 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
264 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
265 indicate that the cursor needs to leave an inset
267 * lyxtext.h: remove inset locking
269 * cursor.[Ch]: re-implement functionality provided by inset locking
272 * BufferView_pimpl.[Ch]:
274 * bufferview_funcs.[Ch]:
286 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
288 * PosIterator.[Ch]: replace the stack with a vector, add inset
290 * iterators.[C]: adjust
292 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
294 * lyxfind.C (replaceAll): mark the buffer dirty if something was
296 * paragraph_funcs.C (readParToken): put the correct id in the
297 error item, not the id of the top paragraph
299 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
301 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
302 * bufferview_funcs.C (put_selection_at): use the above
304 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
306 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
308 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
311 * output_plaintext.h:
313 * output_docbook.h: add #include statements
315 2003-11-05 José Matos <jamatos@lyx.org>
317 * output_docbook.[Ch]:
319 * output_linuxdoc.[Ch]:
320 * output_plaintext.[Ch]: New files for output formats.
321 * output.[Ch]: New file for helper functions.
324 * paragraph_funcs.[Ch]: output functions moved to new files.
326 * outputparams.h: rename of latexrunparams.h
334 * paragraph_funcs.[Ch]:
335 * paragraph_pimpl.[Ch]:
336 * tabular.[Ch]: rename ascii to plaintext
337 and LatexRunParams to OutputParams.
339 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
341 * iterators.[Ch] (text): require bv argument
342 * undo.C (recordUndo):
343 * lyxfunc.C (dispatch):
344 * bufferview_funcs.C (put_selection_at): adjust
346 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
348 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
350 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
352 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
355 2003-11-04 André Pönitz <poenitz@gmx.net>
357 * cursor.[Ch]: restructure
360 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
362 * iterators.[Ch] (asCursor): remove
364 * lfuns.h: remove LFUN_INSET_EDIT
370 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
372 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
374 * lyxfind.[Ch]: complete overhaul
375 * BufferView_pimpl.C:
377 * paragraph.[Ch] (insert): add
379 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
383 * text.C: remove dead spellcheck code
385 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
387 * dispatchresult.h: add a val setter
389 * cursor.C (dispatch): use a tempvar for data_[i]
391 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
393 * PosIterator.[Ch]: compile fix
395 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
397 * text.C (cursorPar): deactivate the cursor cache
399 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
401 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
403 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
405 * text3.C (dispatch): adjust for new DisptchResult semantics.
407 * lyxfunc.C (dispatch): handle update when return from
408 Cursor::dispatch, adjust for new DispatchResult semantics.
410 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
411 DispatchResult(true) mean to not update. Add class functions for
412 setting dispatched and update, as well as reading.
414 * cursor.C (dispatch): don't handle update here
416 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
418 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
419 * trans_mgr.C: adjust
421 * paragraph_funcs.C (readParToken): exception safety
423 * lyxvc.h: store the vcs pointer in a scoped_ptr
426 * lyxsocket.C (serverCallback): exception safety
428 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
430 * ispell.C (clone): make it return a auto_ptr
432 * factory.C (createInset): exception safety
433 (readInset): exception safety
435 * bufferlist.C (newBuffer): exception safety
437 * Thesaurus.C (Thesaurus): use initialization for aik_
439 * MenuBackend.C (expandToc): exception safety.
441 2003-11-03 André Pönitz <poenitz@gmx.net>
445 * bufferview_funcs.C: remove getInsetFromId()
448 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
454 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
456 * PosIterator.C (distance, advance): new
457 * bufferview_funcs.[Ch] (put_selection_at): new
458 * iterators.[Ch] (lockPath): new
460 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
462 * iterators.[Ch] (asPosIterator): added
463 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
464 * PosIterator.[Ch]: added
466 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
470 * cursor.C (dispatch):
471 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
473 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
474 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
475 contructor, add a class function dispatched. Remove operator>=
477 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
479 * debug.C: only use the default constructor for debugstream
482 * main.C (main): include debug.h and setup the lyxerr streambuf
485 2003-10-31 José Matos <jamatos@lyx.org>
487 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
489 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
490 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
491 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
492 * paragraph_pimpl.C (simpleTeXSpecialC):
493 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
494 add LatexRunParams argument.
496 * exporter.C (Export): change call accordingly.
498 * latexrunparams.h: add new member to take care of the other backends.
499 2003-10-30 José Matos <jamatos@lyx.org>
501 * buffer.C (makeLinuxDocFile, makeDocBookFile):
502 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
503 factorise code for paragraph output.
505 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
508 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
510 * text3.C (dispatch):
511 * lyxfunc.C (dispatch):
512 * cursor.C (dispatch):
513 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
515 * dispatchresult.h: make the dispatch_result_t ctor explicit
517 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
520 * buffer.C: small refactoring of docbook stuff
522 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
524 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
527 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
529 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
530 operator dispatch_result_t, and operators for == != and >=
532 * cursor.C (dispatch): adjust for operator dispatch_result_t
533 removal. comment out call to update
535 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
537 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
545 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
548 * dispatchresult.h: new file, DispatchResult broken out of
551 * Makefile.am (lyx_SOURCES): add dispatchresult.h
553 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
555 * text.C (rowBreakPoint): put a hack inside #if 0
557 2003-10-28 André Pönitz <poenitz@gmx.net>
564 * text2.C: general cleanup (lots of small stuff)
566 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
568 * text2.C (cursorEnd): simple fix to the "end key goes to one
569 before the end on last row" bug
571 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
573 * text.C (backspace): fix the "zombie characters"
575 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
577 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
579 2003-10-27 André Pönitz <poenitz@gmx.net>
581 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
583 * factory.C: handle new InsetPagebreak, InsetLine
585 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
586 and move handling into new InsetPagebreak, InsetLine
588 * BufferView_pimpl.C:
590 * ParagraphParameters.C:
603 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
612 * text3.C: remove lastPos uses in favour of Row::endpos
614 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
616 * undo.C (performUndoOrRedo): fix two crashes by setting a
617 cursor by hand and reordering some calls. Use bv->lockInset instead
618 of inset->edit because the latter loses cursor information
620 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
622 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
624 (rowBreakPoint): fix width. change point to point + 1.
627 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
630 * lyxfunc.C: fix (at least partly) the problems
631 with the Nav menu and headers inside branch insets
634 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
636 * paragraph.C (getChar): add strong asserts
638 * lyxrow_funcs.C (lastPos): remove hideous hack
640 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
641 (fill): adjust to that (avoid an infinite loop)
643 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
645 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
647 2003-10-23 André Pönitz <poenitz@gmx.net>
649 * RowList_fwd.h: change list<> to vector<> to gain speed
650 after suggestion from Alfredo
652 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
654 * lyxtext.h: move the bidi stuff from here...
657 * Bidi.[Ch]: ... to here
659 2003-10-23 André Pönitz <poenitz@gmx.net>
662 * text.C (isLastRow, isFirstRow): new functions
664 * paragraph.h: new width cache member
666 * rowpainter.C: replace RowList::iterator with Row & where possible
668 * lyxfunc.C: replace several view()->text with a single call
670 * toc.C: fix 'unused' warning
672 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
674 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
675 when woring with stream::pos_type
676 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
678 2003-10-22 André Pönitz <poenitz@gmx.net>
681 * text.C: use Row & instead of RowList::iterator
683 * lyxrow.h: rename end() to endpos()
689 2003-10-22 Angus Leeming <leeming@lyx.org>
691 * buffer.[Ch] (fully_loaded): new member function, returning true
692 only when the file has been loaded fully.
693 Used to prevent the premature generation of previews and by the
694 citation inset to prevent computation of the natbib-style label.
696 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
697 templates are all set up.
699 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
701 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
703 * text.C: fixed an "oops" in the "is a bit silly"
706 2003-10-21 André Pönitz <poenitz@gmx.net>
708 * FuncStatus.[Ch]: small stuff, whitespace
710 * lyxfont.[Ch]: operator<<() for debug reasons
714 * lyxtext.h: whitespace, spelling
716 * paragraph.C: naming of variables
719 * text2.C: small stuff
722 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
724 * text.C: (1) finish off the inset display() work;
725 (2) fix the "is a bit silly" bug (accessing char
728 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
730 * text.C: re-introduce display() for insets, fixing the
731 various bugs (stretch of line above, math inset
734 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
736 * text.C (rightMargin): remove spurious semicolon
738 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
741 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
743 * text3.C: fix one crash due to wrong cursor def
745 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
747 * vc-backend.C (scanMaster): make the regex static
749 * LaTeX.C (scanAuxFile): make the regexs static
751 * text3.C (doInsertInset, dispatch, dispatch):
752 * text2.C (cursorUp, cursorDown):
753 * text.C (selectNextWordToSpellcheck):
754 * BufferView_pimpl.C (dispatch):
755 * lyxfunc.C (dispatch): localDispatch -> dispatch
757 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
759 * lyxsocket.C: include <cerrno>
761 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
763 * lyxfunc.C (dispatch): remove textcache stuff
765 * bufferlist.C (release): remove textcache stuff
768 * TextCache.C: delete file
769 * TextCache.h: delete file
771 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
773 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
774 delete of the bv_->text.
775 (resizeCurrentBuffer): remove texcache stuff
776 (workAreaResize): ditto
778 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
780 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
783 2003-10-16 André Pönitz <poenitz@gmx.net>
790 * text3.C: speed up by storing y positions per paragraph plus per-row
791 offset instead of having a 'full' y position in the row.
793 2003-10-15 André Pönitz <poenitz@gmx.net>
797 * undo.[Ch]: make undo aware of inner insets
799 2003-10-14 Angus Leeming <leeming@lyx.org>
801 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
802 static member functions LyX::ref() and LyX::cref.
803 (lastfiles): new accessor functions for the new lastfiles_ member var.
804 (addLyXView, views_): add a new LyXView to the list of views_.
805 (updateInset): loop over all LyXViews to call their own updateInset
806 member function, returning a pointer to the Buffer owning the inset.
808 * BufferView_pimpl.C (loadLyXFile):
809 * MenuBackend.C (expandLastfiles):
810 * bufferlist.C (MenuWrite, QuitLyX):
811 lastfiles is no longer a global variable.
812 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
814 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
815 static function. Access through LyX::cref().emergencyCleanup().
817 2003-10-14 André Pönitz <poenitz@gmx.net>
819 * iterators.[Ch]: new direct access to innermost LyXText and Inset
821 * undo.[Ch]: restoring part of 'undo in insets'
824 * undo_funcs.[Ch]: merge with undo.[Ch]
826 * tabular.C: small cleansing stuff
828 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
830 * paragraph_funcs.C (readParToken): report unknown insets as error
831 boxes. Use the outer paragraph as location (also for unknown
834 * factory.C (readInset): do not abort on reading an unknown inset.
837 2003-10-13 Angus Leeming <leeming@lyx.org>
839 * lyx_main.C (LyX): remove call to setDisplayTranslator().
841 * lyxrc.C: displayTranslator is now a function,
842 declared in GraphicsTypes.h.
844 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
846 * format.C: new placeholder $$a to pass the socket address.
848 * bufferlist.[Ch]: new function getBufferFromTmp.
850 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
851 files in the temporary dir.
853 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
855 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
857 * Makefile.am: add lyxsocket.[Ch].
859 * lyx_main.C (error_handler): handle SIGPIPE.
861 2003-10-13 André Pönitz <poenitz@gmx.net>
863 * BufferView_pimpl.C:
868 * undo_funcs.[Ch]: use paroffset_type instead of
869 ParagraphList::iterators to prevent multiple conversion
870 (and get a more robust interface)
872 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
874 * lyxfunc.C (dispatch): RESULT -> dispatch_result
876 * text3.C (dispatch): ditto
878 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
880 * LaTeX.C (handleFoundFile): move the static to smaller scope,
881 move the onlyfile, use onlyfile instead of foundfile in a couple
884 * DepTable.C (update): flush the error stream a bit more
886 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
888 * lyxserver.C (callback): adjust
890 * lyxfunc.C (getStatus): add a missing brace in commented code
891 (ensureBufferClean): reindent
892 (dispatch): delete version taking a string
894 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
896 * LaTeX.C (deplog): move found file handlig from here...
897 (handleFoundFile): .. to new function here.
898 (deplog): make sure to discover several files mentioned on the
901 2003-10-10 André Pönitz <poenitz@gmx.net>
908 * text3.C: fix some of the tabular crashes
910 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
912 * MenuBackend.C (binding): put debug message into Debug::KBMAP
914 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
916 2003-10-09 André Pönitz <poenitz@gmx.net>
918 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
921 * BufferView_pimpl.C:
922 * bufferview_funcs.C:
933 * undo_funcs.C: adjust
935 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
937 * text2.C (incrementItemDepth): new function, use a backtracking
938 algorithm to discover the correct item depth.
939 (resetEnumCounterIfNeeded): new function, use a backtracking
940 algorithm to discover if counter reset is needed.
941 (setCounter): use them. Simplify a bit. Add different labels for
942 different item depths for itemize.
944 * paragraph.C (Paragraph): remove initialization of enumdepth
947 * paragraph.h: get rid of enumdepth, and use itemdepth both for
948 enumerate and itemize. Change the type of itemdepth to signed char.
950 2003-10-08 André Pönitz <poenitz@gmx.net>
952 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
957 * tabular.[Ch]: fix crash after 'row-insert'
959 2003-10-08 Angus Leeming <leeming@lyx.org>
961 Fix doxygen warnings.
963 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
964 Remove CutAndPaste:: prefix from header file declaration.
966 * LColor.h (fill): remove LColor:: prefix from declaration.
968 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
969 use lyx::depth_type rather than Paragraph::depth_type so that
970 header file and .C file match.
972 * converter.h (intToFormat): remove Converters:: prefix from declaration.
974 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
975 * aspell.C: \file aspell_local.C -> \file aspell.C
976 * gettext.C: \file gettext.C -> \file src/gettext.C
977 * gettext.h: \file gettext.h -> \file src/gettext.h
978 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
979 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
980 * text.C: \file text.C -> \file src/text.C
982 * toc.C: move comment so that doxygen is not confused.
984 2003-10-07 Angus Leeming <leeming@lyx.org>
986 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
988 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
991 * aspell_local.h: add forgotten std::string's.
993 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1000 * text3.C: The Box patch. Fancybox support, minipage, parbox
1002 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1008 * ParagraphParameters.h:
1018 * lyxtextclasslist.h:
1021 * paragraph_pimpl.C:
1022 * textcursor.h: add <string> and other small fixes to make Lars'
1023 std::string patch compile with STLport.
1025 2003-10-06 Angus Leeming <leeming@lyx.org>
1027 * LColor.h: Add missing #include <string>.
1029 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1031 * All most all file in all subdirs: Make <string> be the prefered
1032 way of getting to std::string, add using declarations.
1034 2003-10-06 André Pönitz <poenitz@gmx.net>
1036 * metricsinfo.C: initialize LyXFont before changing attribute.
1037 (fixes the 'math in \emph is upright' bug)
1039 2003-10-06 André Pönitz <poenitz@gmx.net>
1041 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1043 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1046 * paragraph_pimpl.C: Small fixes to build using STLport
1048 2003-10-02 André Pönitz <poenitz@gmx.net>
1051 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1053 2003-10-01 André Pönitz <poenitz@gmx.net>
1055 * factory.C: assert early
1057 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1059 * lyx_main.C: remove the global debug object
1061 * debug.h: adjust for new debugstream
1063 * debug.C: adjust for new debugstream and keep the global debug
1066 2003-09-22 Angus Leeming <leeming@lyx.org>
1068 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1069 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1070 an incomplete class LyXFont.
1072 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1074 * factory.C: bug fix in branches
1076 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1078 * lyxfunc.C (processKeySym): adjust
1080 (dispatch): change arg name from ev to func, adjust
1081 (sendDispatchMessage): ditto
1083 * lyx_main.C (defaultKeyBindings): adjust keybindings
1084 (deadKeyBindings): ditto
1086 * kbsequence.C (addkey): return a FuncRequest
1088 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1090 * kbmap.C (bind): take a FuncRequest as arg, adjust
1093 (defkey): change to take a FuncRequest as arg, adjust
1094 (findbinding): take a FuncRequest as arg, adjust.
1096 * funcrequest.h (operator=): added
1098 * funcrequest.C (FuncRequest): default kb_action changed from
1099 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1101 * buffer.C (dispatch): simplify
1102 (dispatch): adjust to take a FuncRequest as arg, adjust
1104 * boost.C (assertion_failed): change assertion message slightly
1106 * ToolbarBackend.C (read): simplify
1108 * MenuBackend.C (binding): adjust call to findbinding, add a
1109 message if no binding is found.
1111 (expandToc): correct by adding a empty FuncRequest
1113 * LyXAction.C: include <boost/assert.hpp>
1114 (isPseudoAction): delete function
1115 (LookupFunc): change name to...
1116 (lookupFunc): this. change return type to FuncRequest.
1117 (getActionName): take kb_action as arg, simplify
1118 (funcHasFlag): add an assert, simplify.
1120 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1122 * toc.C (action): return a FuncRequest, simplify
1124 * lyxfunc.C (processKeySym): adjust
1125 (getStatus): delete version that takes an int.
1127 (dispatch): delete version that takes action as int
1129 (sendDispatchMessage): simplify and adjust
1131 * funcrequest.C (getArg): take unsigned int as arg
1133 * ToolbarBackend.C (read): adjust
1134 (add): delete version that takes func as a string.
1135 (getIton): take a FuncRequest as arg
1137 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1140 * MenuBackend.C (MenuItem): add a new construct that only takes a
1141 Kind, simplify the constructor use for submenus.
1143 (expandLastfiles): adjust
1144 (expandDocuments): adjust
1145 (expandFormats): adjust
1146 (expandFloatListInsert): adjust
1147 (expandFloatInsert): adjust
1148 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1150 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1151 Remove class variables lyx_pseudo_map and lyx_arg_map
1153 * LyXAction.C (searchActionArg): delete function
1154 (getPseudoAction): delete function
1155 (retrieveActionArg): delete function
1156 (LookupFunc): make it return kb_action, simplify.
1157 (getActionName): simplify
1159 * factory.C (createInset): fix new bug
1161 2003-09-19 Angus Leeming <leeming@lyx.org>
1163 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1164 masterFilename_ parameter in the include inset.
1166 * factory.C (createInset): changes due to the changes to InsetInclude.
1168 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1170 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1172 2003-09-18 Angus Leeming <leeming@lyx.org>
1175 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1176 Inset::fillWithBibKeys.
1177 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1179 2003-09-18 Angus Leeming <leeming@lyx.org>
1181 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1183 (ctor): pass and store a 'Buffer const &'
1184 (buffer): new member function.
1186 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1187 '*this' to the LaTeXFeatures ctor.
1189 2003-09-18 Angus Leeming <leeming@lyx.org>
1195 * text.C: rename EnumLColor as LColor_color.
1197 2003-09-18 Angus Leeming <leeming@lyx.org>
1199 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1200 remove #include "insets/insetbase.h" from cursor.h.
1202 2003-09-18 Angus Leeming <leeming@lyx.org>
1204 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1205 InsetOld_code to remove #include "inset.h".
1207 * iterators.C: add #include "insets/inset.h"
1209 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1211 * BufferView.C: remove more locking stuff that apparently doesn't
1212 do anything sensible.
1214 2003-09-16 André Pönitz <poenitz@gmx.net>
1217 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1220 2003-09-16 Angus Leeming <leeming@lyx.org>
1222 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1224 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1227 * paragraph.h: remove #include "lyxfont.h". Forward declare
1230 2003-09-16 Angus Leeming <leeming@lyx.org>
1232 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1233 of support/textutils.h.
1234 (isWord): move the contents of support/textutils.h's IsWordChar here.
1240 * text2.C: add #include "paragraph.h".
1243 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1245 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1251 * LaTeX.C: use namespace alias for lyx::support::os
1253 2003-09-16 Angus Leeming <leeming@lyx.org>
1256 * bufferview_funcs.C:
1259 * paragraph_pimpl.C:
1261 * text.C: add #include "LColor.h".
1263 2003-09-16 Angus Leeming <leeming@lyx.org>
1265 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1266 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1268 Store the FontBits::color variable as an int rather than as an
1269 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1272 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1273 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1274 string calls together.
1276 * lyxrc.C: add #include "LColor.h".
1278 2003-09-15 Angus Leeming <leeming@lyx.org>
1280 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1283 2003-09-15 Angus Leeming <leeming@lyx.org>
1285 * LColor.h: add an EnumLColor wrapper for LColor::color.
1287 * lyxfont.[Ch] (color, setColor, realColor):
1288 * lyxtext.h, text.C (backgroundColor):
1289 pass EnumLColor args to/from the functions, rather than LColor::color
1293 * lyxtext.h: forward declare EnumLColor.
1295 * lyx_main.C: add #include "LColor.h".
1297 2003-09-15 Angus Leeming <leeming@lyx.org>
1299 * .cvsignore: add lyx-gtk.
1301 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1306 * ParagraphParameters.C
1310 * bufferview_funcs.C
1320 * vc-backend.C: remove usage of STRCONV
1322 2003-09-15 Angus Leeming <leeming@lyx.org>
1324 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1325 explicitly define the color passed to the painter.
1327 2003-09-15 Angus Leeming <leeming@lyx.org>
1329 * bufferparams.C (BufferParams): reorder member initializers to avoid
1332 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1334 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1335 * text.C (updateRowPositions): remove an unusual nop
1337 2003-09-12 André Pönitz <poenitz@gmx.net>
1339 * BufferView_pimpl.C:
1348 * Counters.[Ch]: finish the 'automatic counters' job
1350 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1352 * aspell.C: include <boost/assert.cpp> (compile fix)
1354 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1356 * boost.C (assertion_failed): use lyx::support::abort instead of
1359 2003-09-10 Angus Leeming <leeming@lyx.org>
1361 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1362 with their _fwd progeny.
1364 2003-09-09 Angus Leeming <leeming@lyx.org>
1366 134 files throughtout the source tree: replace 'using namespace abc;'
1367 directives with the appropriate 'using abc::xyz;' declarations.
1369 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1371 * boost.C (emergencyCleanup): moved here from LAssert.c
1372 (assertion_failed): new function, called by BOOST_ASSERT
1374 * several files: change Assert to BOOST_ASSERT
1376 2003-09-09 Angus Leeming <leeming@lyx.org>
1378 * buffer.[Ch]: Add an Impl class and move Buffer's member
1379 variables into it. As a result move several header files out of
1382 Add header files to lots of .C files all over the tree as a result.
1384 2003-09-09 Angus Leeming <leeming@lyx.org>
1386 * buffer.[Ch]: make Buffer's member variables private. Add
1389 Lots of changes all over the tree as a result.
1391 2003-09-08 Angus Leeming <leeming@lyx.org>
1393 * graph.C: #include <config.h>.
1395 2003-09-08 Angus Leeming <leeming@lyx.org>
1399 * BufferView_pimpl.C:
1428 * toc.C: remove redundant using directives.
1430 2003-09-07 Angus Leeming <leeming@lyx.org>
1432 * LaTeXFeatures.h: remove #include "support/types.h".
1433 * ToolbarBackend.h: remove #include <algorithm>.
1434 * changes.h: remove #include <ctime>.
1435 * debug.h: remove #include <iosfwd>.
1436 * graph.h: remove #include "support/std_string.h".
1437 * lyx_main.h: remove #include <csignal>.
1438 * lyxlex_pimpl.h: remove #include <fstream>.
1439 * sgml.h: remove #include <algorithm>, <utility>.
1440 * toc.h: remove #include "support/std_ostream.h".
1441 Add #include <iosfwd>.
1443 2003-09-07 Angus Leeming <leeming@lyx.org>
1445 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1447 * converter.h: forward declare LatexRunParams.
1448 * encoding.h: remove #include "lyxrc.h".
1449 * lyxtext.h: remove #include "LColor.h".
1450 * lyxtextclass.h: remove #include "support/types.h".
1451 * trans.h: remove #include "tex-accent.h".
1452 * trans_mgr.h: remove #include "tex-accent.h".
1453 * insets/inset.h: remove #include "support/types.h", <vector>.
1454 * insets/insetcollapsable.h: remove #include "LColor.h".
1455 * insets/insetinclude.h: remove #include "dimension.h".
1456 * insets/insetlatexaccent.h: remove #include "dimension.h".
1457 * insets/insetoptarg.h:: remove #include "insettext.h".
1458 * insets/insettext.h: remove #include "dimension.h",
1459 <boost/shared_ptr.hpp>
1461 * insets/renderers.h: add #include "dimension.h".
1462 * insets/updatableinset.h: add #include "support/types.h".
1464 * many .C files: Associated changes.
1466 2003-09-06 Angus Leeming <leeming@lyx.org>
1468 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1469 one, inside testInvariant.
1471 * PrinterParams.C: new file.
1472 * PrinterParams.[Ch]: move the function bodies out of line.
1474 2003-09-06 Angus Leeming <leeming@lyx.org>
1476 * ParagraphParameters.h: forward declare ParameterStruct rather than
1477 including its header file.
1478 (depth): moved out-of-line.
1480 2003-09-06 Angus Leeming <leeming@lyx.org>
1482 * BufferView_pimpl.h:
1485 * lyxfunc.h: forward declare LyXKeySym rather than
1486 #include "frontends/LyXKeySym.h".
1488 * BufferView_pimpl.C:
1491 * lyxfunc.C: associated changes.
1493 2003-09-06 Angus Leeming <leeming@lyx.org>
1495 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1496 As a result, can remove the #include "insets/inset.h" from BufferView.h
1498 2003-09-06 Angus Leeming <leeming@lyx.org>
1500 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1501 As a result, can remove the #include "insets/inset.h" from BufferView.h
1503 2003-09-06 Angus Leeming <leeming@lyx.org>
1509 * bufferview_funcs.C:
1510 * BufferView_pimpl.C:
1515 * ParagraphParameters.C:
1520 * frontends/controllers/ControlDocument.C:
1521 * insets/insetcaption.C: rearrange the #includes into some sort of
1524 * buffer.h: remove #includes ErrorList.h, undo.h
1526 2003-09-06 Angus Leeming <leeming@lyx.org>
1528 * support/types.h: add a 'depth_type' typedef, used to store the
1529 nesting depth of a paragraph.
1532 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1533 defining explicitly.
1536 * paragraph_funcs.h:
1537 * ParagraphParameters.h:
1538 * sgml.h: use lyx::depth_type rather than Paragraph or
1539 ParameterStruct's depth_type.
1542 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1545 * BufferView_pimpl.C:
1547 * ParagraphParameters.C:
1550 * bufferview_funcs.C:
1557 * frontends/LyXView.C:
1558 * frontends/controllers/ControlDocument.C:
1559 * frontends/controllers/ControlErrorList.C:
1560 * insets/insetbibitem.C:
1561 * insets/insetbranch.C:
1562 * insets/insetcaption.C:
1563 * insets/insetcollapsable.C:
1564 * insets/insetenv.C:
1565 * insets/insetert.C:
1566 * insets/insetfloat.C:
1567 * insets/insetfoot.C:
1568 * insets/insetfootlike.C:
1569 * insets/insetnewline.C:
1570 * insets/insetquotes.C:
1571 * insets/insettabular.C:
1572 * insets/insettext.C:
1573 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1575 * frontends/controllers/ControlChanges.C: #include "changes.h".
1577 2003-09-06 Angus Leeming <leeming@lyx.org>
1579 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1580 than #including paragraph.h.
1583 * RowList.h: deleted. Superfluous.
1593 * insets/insettext.h: use ParagraphList_fwd.h rather than
1596 * paragraph.h: don't forward declare ParagraphList.
1599 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1600 rather than ParagraphList.h. paragraph.h is still needed for the
1601 Paragraph::depth_type parameters.
1603 * textcursor.h: enable it to compile stand-alone in light of the
1606 * bufferview_funcs.C:
1618 * frontends/controllers/ControlParagraph.C:
1619 * frontends/controllers/ControlTabular.C:
1620 * insets/insetmarginal.C:
1621 * insets/insetminipage.C:
1622 * insets/insetnote.C:
1623 * insets/insetoptarg.C: add header files needed to compile again.
1625 2003-09-06 Angus Leeming <leeming@lyx.org>
1627 * RowList_fwd.h: new file, forward-declaring Row rather than
1628 #including lyxrow.h.
1633 * insets/insettext.h: use it instead of RowList.h
1635 * bufferview_funcs.C:
1642 * text3.C: #include "RowList.h".
1644 2003-09-05 Angus Leeming <leeming@lyx.org>
1646 * factory.C (createInset):
1647 * vspace.C (c-tor): replace sscanf call with an istringstream.
1648 * ispell.C: re-add missing HP/UX headers.
1649 * lyxserver.C: re-add missing os2 headers.
1651 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1660 * text3.C: re-add missing system headers, needed for 2.95.2.
1662 2003-09-05 Angus Leeming <leeming@lyx.org>
1664 Changes most place everywhere due to the removal of using directives
1665 from support/std_sstream.h.
1667 2003-09-05 Angus Leeming <leeming@lyx.org>
1669 Replace LString.h with support/std_string.h,
1670 Lsstream.h with support/std_sstream.h,
1671 support/LIstream.h with support/std_istream.h,
1672 support/LOstream.h with support/std_ostream.h.
1674 Changes resulting throughout the tree.
1676 2003-09-05 Angus Leeming <leeming@lyx.org>
1678 * sgml.h: ensure that the header file can be compiled stand-alone.
1679 * *.C: strip out redundant #includes. (320 in total.)
1681 2003-09-04 Angus Leeming <leeming@lyx.org>
1683 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1684 here (from getPackages).
1686 * debug.[Ch]: add a new EXTERNAL tag.
1688 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1690 * text2.C (cursorEnd): simplify
1692 (getColumnNearX): adjust
1694 * text.C (computeBidiTables): adjust
1697 * rowpainter.C (paintChars): adjust
1698 (paintSelection): adjust
1699 (paintChangeBar): adjust
1702 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1704 (numberOfSeparators): adjust
1706 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1712 * text3.C: Restricts the mouse click functionality
1713 of insets like bibtex, include, toc and floatlist to the visible
1714 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1715 up the dialogs. Cursor has to be in front of the inset (i.e.
1716 start of row) for this to function.
1718 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1720 * bufferview_funcs.C (currentState): output row information
1722 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1724 * bufferview_funcs.C (currentState): output paragraph position
1726 2003-09-04 Angus Leeming <leeming@lyx.org>
1728 * FloatList.h: move out #include "Floating.h".
1729 * LaTeX.h: move out #include "DepTable.h".
1730 * LyXAction.h: move out #include "funcrequest.h".
1731 * buffer.h: move out #include "author.h", "iterators.h".
1732 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1733 * lyx_main.h: move out #include "errorlist.h".
1734 * lyxfunc.h: move out #include "FuncStatus.h".
1735 * lyxtext: move out #include "lyxcursor.h".
1736 * paragraph_pimpl.h: move out #include "counters.h".
1738 2003-09-03 Angus Leeming <leeming@lyx.org>
1740 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1741 preamble_snippets list, enabling us to add snippets to the preamble
1742 only if the snippet was not there already.
1744 2003-09-04 Angus Leeming <leeming@lyx.org>
1746 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1748 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1750 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1753 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1755 * BranchList.C: point fix, earlier forgotten
1757 2003-09-02 Angus Leeming <leeming@lyx.org>
1759 * box.C (contains): renamed from 'contained' after a fantastic
1762 2003-09-02 John Levon <levon@movementarian.org>
1768 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1770 2003-09-02 John Levon <levon@movementarian.org>
1772 * text2.C: simplification of cursorEnd(), including partial
1775 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1777 * buffer.C (readFile): add a space
1779 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1781 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1783 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1785 * buffer.C (readFile): new function, take a filename and a
1786 ParagraphList::iterator
1788 (readFile): adjust, make it private. don't use setStream, make
1789 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1790 always contain the filename.
1792 * BufferView.C (insertLyXFile): simplify and make it work for
1795 2003-08-30 John Levon <levon@movementarian.org>
1797 * Makefile.am: fix dist (from Kayvan)
1799 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1801 * most files: change to use const Buffer refs
1803 2003-08-27 André Pönitz <poenitz@gmx.net>
1805 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1806 on top of ownerPar().
1808 2003-08-27 John Levon <levon@movementarian.org>
1810 * funcrequest.C: properly initialise POD members
1812 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1814 * lyxtext.h (top_y): move top_y from here
1819 * BufferView_pimpl.[Ch]: to here
1820 * frontends/screen.C:
1821 * insets/insettabular.C:
1822 * insets/insettext.C: adjust
1823 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1825 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1828 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1830 2003-08-26 André Pönitz <poenitz@gmx.net>
1832 * paragraph_func.[Ch] (outerPar): new function
1835 * paragraph_funcs.C:
1836 * paragraph_funcs.h:
1837 * paragraph_pimpl.C:
1838 * text2.C: remove Inset::par_owner
1840 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1845 * text2.C: eliminates the needFullRow/display() stuff
1846 altogether, putting the logic in metrics/draw in the insets.
1848 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1850 * text2.C (redoParagraphInternal, redoParagraphs):
1851 * text.C (redoParagraph): add a call to updateRowPositions at the
1852 end of each 'metrics-like' call. Remove all others.
1853 (getRow): remove the 'y-computing' version.
1854 (getRowNearY): do not compute nor return the real y. Solve the
1855 'y < 0' problem and simplify.
1857 2003-08-22 Angus Leeming <leeming@lyx.org>
1859 * *.[Ch]: clean-up of licence and author blurbs.
1860 Also move config.h out of a few .h files and into a few .C files.
1862 2003-08-22 André Pönitz <poenitz@gmx.net>
1864 * lyxrow.[Ch]: add x_ and *fill_ members
1869 * text2.C: adjust/remove prepareToPrint() calls
1871 2003-08-22 André Pönitz <poenitz@gmx.net>
1873 * lyxrow.[Ch]: add end_ member
1875 * lyxrow_funcs.C: use LyXRow::end_
1877 * lyxtext.h (singleWidth): add LyXFont parameter
1880 * text2.C: adjust LyXText::singleWidth() calls
1882 * text.C (redoParagraph): simplify row breaking logic
1885 2003-08-19 André Pönitz <poenitz@gmx.net>
1887 * funcrequest.C: initialize button_ member
1890 * rowpainter.[Ch]: interface consolidation
1892 2003-08-18 André Pönitz <poenitz@gmx.net>
1895 * BufferView_pimpl.C:
1897 * paragraph_funcs.C:
1899 * text3.C: remove LyXScreen::draw() and fitCursor calls
1901 * BranchList.h: remove spurious semicolons
1903 * MenuBackend.C: fix branchlist related crash
1905 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1913 * bufferparams.[Ch]:
1917 * text3.C: implements the 'branch inset'
1918 idea. This allows the output of various versions of a document
1919 from a single source version, selectively outputing or suppressing
1920 output of parts of the text.
1921 This implementation contains a 'branch list editor' in a separate
1922 tab of the document settings dialog. Branches are user definable
1923 and have a "display colour" to distinguish them on-screen.
1925 ColorHandler was somewhat cleaned up.
1926 (1) make possible a dynamically growing LColor list by allowing
1927 the graphic context cache to grow along (vector);
1928 (2) eliminate an IMHO unnecessary step in colour allocation.
1930 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1932 * BufferView_pimpl.C: compile fix
1934 2003-08-15 André Pönitz <poenitz@gmx.net>
1936 * rowpainter.C: remove extra metrics calls
1938 * lyxtext.h: merge the two constructors into a single one,
1939 pass reference to owner's par list
1941 * BufferView_pimpl.C:
1945 2003-08-15 André Pönitz <poenitz@gmx.net>
1947 * lyxrow_funcs.[Ch]:
1950 * paragraph_funcs.C:
1955 * text_funcs.C: split LyXText::rowlist_ into individual
1956 Paragraph::rows_ chunks
1959 * BufferView_pimpl.[Ch]:
1962 * text3.C: remove toggleSelection()
1964 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1966 * bufferlist.C: beautify two alerts (shorter text of buttons)
1967 * buffer.C: Remove redundant ' ' from message
1969 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1970 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1971 rename VALIGN_CENTER to VALIGN_MIDDLE
1973 2003-08-11 André Pönitz <poenitz@gmx.net>
1975 * lyxtext.h (getPar):
1976 * text.C: new function
1978 2003-08-11 André Pönitz <poenitz@gmx.net>
1981 * tracer.[Ch]: remove unneeded files
1983 * InsetList.[Ch]: remove resizeInsetsLyXText()
1988 * text3.C: merge insertParagraphs() and appendParagraph()
1989 remove breakAgain(), update()
1991 * BufferView_pimpl.[Ch]:
1992 * bufferview_funcs.[Ch]:
1996 * tabular.C: adjust after text & InsetList changes.
1998 2003-08-08 André Pönitz <poenitz@gmx.net>
2000 * text.C (insertChar, backspace): replace rowlist fiddling
2001 with rebreak of full par
2004 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2005 checkParagraph, updateInset): removed
2007 2003-08-07 André Pönitz <poenitz@gmx.net>
2010 * text3.C: merge some LFUN handlers, remove dead code
2012 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2014 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2016 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2018 * text2.C (DEPM): fix part of bug 1255 and 1256
2020 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2022 * BufferView_pimpl.C (workAreaDispatch): change to use
2023 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2024 that are no mouse related.
2026 2003-08-05 André Pönitz <poenitz@gmx.net>
2029 * BufferView_pimpl.[Ch]:
2030 * bufferview_funcs.C:
2032 * text3.C: rip out "deep update"
2034 * textcursor.[Ch] (last_sel_cursor): remove unused member
2036 2003-08-04 André Pönitz <poenitz@gmx.net>
2039 * BufferView_pimpl.[Ch]:
2040 * ParagraphParameters.C:
2041 * bufferview_funcs.C:
2047 * text3.C: replace "complicated" BufferView::update(...) calls with
2050 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2052 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2054 * Makefile.am (lyx_SOURCES): add paper.h
2056 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2058 * Makefile.am: move things around so that both lyx-qt and
2059 lyx-xforms can be built (according to --with-frontend). Then lyx
2060 is a symbolic link to lyx-[firstfrontend]
2062 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2064 * Always use std::endl with lyxerr
2066 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2068 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2070 2003-08-01 André Pönitz <poenitz@gmx.net>
2073 * BufferView_pimpl.[Ch]:
2075 * text3.C: merge BufferView::repaint() and BufferView::update()
2077 2003-08-01 José Matos <jamatos@lyx.org>
2079 * buffer.[Ch]: file_format is no longer a buffer data element.
2081 2003-08-01 André Pönitz <poenitz@gmx.net>
2086 * text2.C: make redoParagraph more independent of current cursor
2088 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2090 * text2.C: remove unneeded members
2092 2003-07-30 André Pönitz <poenitz@gmx.net>
2094 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2096 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2097 create a single function...
2099 * paragraph_funcs.C (moveItem): ... here.
2102 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2104 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2106 * LColor.[Ch]: Add comment and greyedout logical colors.
2108 2003-07-30 André Pönitz <poenitz@gmx.net>
2110 * tabular.C: don't use Assert too heavily. This crashes where it
2113 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2115 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2116 is disabled (bug 1232)
2118 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2120 * factory.C: limited 'arg' scope
2122 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2124 * factory.C: fixed Note submenu issues
2126 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2128 * factory.C: submenu for Note/Comment/Greyedout
2130 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2133 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2135 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2138 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2139 greyedout. Patch provided by Jürgen Spitzmüller.
2141 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2143 * kbmap.C (read): fix error message when reading bind files
2145 2003-07-29 Angus Leeming <leeming@lyx.org>
2147 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2148 certainly does not do what it purports to do. I am doing it, and
2149 us, a favour by killing it.
2151 2003-07-28 José Matos <jamatos@lyx.org>
2153 * buffer.C (readBody, do_writeFile):
2154 * paragraph.C(readParagraph): \end_document replaces \the_end.
2156 2003-07-29 André Pönitz <poenitz@gmx.net>
2159 * BufferView_pimpl.[Ch]:
2163 * textcursor.[Ch]: remove toggleToggle & Co
2165 2003-07-28 José Matos <jamatos@fep.up.pt>
2167 * buffer.C (readParagraph):
2168 * params_func (readParToken, readParagraph):
2169 * paragraph.C (write): \layout -> \begin_layout.
2171 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2173 * lyxlex_pimpl.C (setFile): clean up slightly.
2175 * bufferparams.h: add compressed var
2177 * buffer_funcs.C (readFile): adjust for LyXLex change
2178 (newFile): ditto + simplify
2180 * buffer.C (writeFile): handle writing of compressed files
2182 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2183 Check if the file is compressed and set a bufferparm if so.
2185 * Makefile.am (lyx_LDADD): remove explicit -lz
2187 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2189 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2190 makeDocBookFile): put the real LyX version in the first line of
2194 * version.C.in: remove lyx_docversion
2196 * tabular.C (write_attribute): add a template-based version to
2197 write enums properly
2199 2003-07-28 André Pönitz <poenitz@gmx.net>
2204 * text3.C: use doubles again for x-coordinates. They are needed.
2206 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2208 * messages.C (getLocaleDir): use lyx_localedir()
2210 * lyxlex_pimpl.C (setFile): compress stuff
2212 * buffer.C (writeFile): add some compression stuff
2213 (do_writeFile): new func, dont call expliti close... will this
2216 * Makefile.am (lyx_LDADD): add -lz
2218 2003-07-28 José Matos <jamatos@fep.up.pt>
2220 * buffer.C: increment file format.
2221 * paragraph_funcs (readParagraph, readParToken):
2222 * paragraph.C (readParagraph): add \end_layout.
2224 2003-07-27 Angus Leeming <leeming@lyx.org>
2226 * Makefile.am: remove special casing for configure-time setting of
2227 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2229 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2230 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2232 2003-07-26 André Pönitz <poenitz@gmx.net>
2234 * paragraph_func.[Ch]:
2235 * paragraph.C (realizeFont): inline it whereever it is used
2240 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2243 2003-07-26 André Pönitz <poenitz@gmx.net>
2247 * text2.C: get rid of LyXText::need_break_row
2249 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2251 * toc.[Ch]: put namespace toc inside namespace lyx
2253 * MenuBackend.C (expandToc2): adjust for lyx::toc
2256 * lyxfunc.C (dispatch): adjust for lyx::find
2258 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2259 lyx::find instead. Reorganize a bit.
2260 (LyXReplace): rename to replace
2261 (LyXFind): rename to find
2263 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2266 2003-07-26 André Pönitz <poenitz@gmx.net>
2268 * text.C (setHeightOfRow): restrict scope of temporary variable
2270 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2271 code (never has been used?)
2273 2003-07-27 Asger Alstrup <alstrup@local>
2275 * text.C (fill): Optimise algorithm to exploit that we can reuse
2276 the LyXFont for many characters.
2277 (setHeightOfRow): Same thing.
2278 (rowBreakPoint): Same thing.
2280 2003-07-26 Asger Alstrup <alstrup@local>
2282 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2284 * text.C (singleWidth): Spurious font copying in hot-spot
2285 singleWidth avoided. Reorder tests for arabic for efficiency.
2287 * text.C (fill): handle empty paragraphs better.
2289 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2292 * encoding.h: add includes
2294 * lyxrc.C: remove reading of bind files
2296 * lyx_main.C (init): setup bindings and menus only if we have a
2299 * kbmap.C (read): new method. Do the actual reading of bind
2302 * converter.C (dvipdfm_options):
2305 (output): adapt PAPER_* enums.
2307 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2309 * bufferparams.h: remove paper-related enums from there
2311 * paper.h: New file. A trivial header file to hold paper-related
2312 enums. It should later expand to contain many paper-related
2315 * lyxrc.C: declare extern displayTranslator
2317 2003-07-27 José Matos <jamatos@fep.up.pt>
2319 * tabular.[Ch] (linuxdoc): add support for tables and figures
2322 2003-07-27 José Matos <jamatos@fep.up.pt>
2324 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2325 consistency in both functions.
2326 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2328 2003-07-26 Asger Alstrup <alstrup@local>
2330 * rowpainter.C (paintRows): Change algorithm to work directly on
2331 the insets rather than asking every character in the document
2332 whether its an inset.
2334 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2336 * buffer.C (openFileWrite): factorize some code
2338 2003-07-26 Angus Leeming <leeming@lyx.org>
2341 * lyx_main.[Ch]: replace occurances of system_tempdir with
2344 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2346 * rename Inset to InsetOld
2348 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2350 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2351 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2352 which I think is a bit clearer. EDIT is gone, since it was
2353 premature optimisation, and broken for mathed anyway.
2354 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2355 with cursor positioning in insets as well (math insets still do not
2356 work, but that's a different story anyway.) It mysteriously
2357 crashes sometimes with undo in the first paragraph, but I'm fairly
2358 confident that this is a compiler bug.
2360 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2362 * paragraph.C (Paragraph): adjust for new clone return type
2364 (copyIntoMinibuffer): ditto
2366 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2368 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2369 by not having a special case, and always doing a full rebreak of
2370 the document after undo.
2372 2003-07-23 Angus Leeming <leeming@lyx.org>
2374 * factory.C (createInset): InsetExternal::setParams now takes a
2377 2003-07-23 Angus Leeming <leeming@lyx.org>
2379 * factory.C (createInset): changed interface to the external and
2380 graphics mailers' string2params functions.
2382 2003-07-23 Angus Leeming <leeming@lyx.org>
2384 * factory.C (createInset): pass a
2385 Buffer const * parameter to InsetExternalMailer's string2params.
2387 2003-07-22 John Levon <levon@movementarian.org>
2389 * Thesaurus.h: include the right aiksaurus header
2391 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2393 * MenuBackend.C (expand): check menu shortcuts unconditionally
2395 2003-07-21 Angus Leeming <leeming@lyx.org>
2397 * factory.C (createInset): pass a
2398 buffer_path parameter to InsetGraphicsMailer's string2params.
2400 2003-07-21 Angus Leeming <leeming@lyx.org>
2402 * BufferView_pimpl.C (buffer):
2405 * lyxfunc.C (dispatch):
2406 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2407 rather than the grfx shortcut.
2409 2003-07-21 André Pönitz <poenitz@gmx.net>
2411 * rowpainter.C: remove unused variables
2414 * tabular_funcs.h: move to tabular.C
2415 * Makefile.am: adjust
2417 * tabular.[Ch]: basic optical cleaning
2419 * author.h: pass references, not values
2421 2003-07-18 André Pönitz <poenitz@gmx.net>
2429 * text3.C: two-phase drawing for InsetText and InsetTabular
2430 some float -> int changes.
2432 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2434 * lyx_main.C: fix the fix
2436 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2438 * lyx_main.C: fix a crash in batch mode if no files specified
2441 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2443 * format.[Ch] (papersize): moved to BufferParams
2444 * converter.[Ch] (dvips_options): moved to BufferParams
2445 (dvipdfm_options): moved to anon namespace
2446 * bufferparams.[Ch]: added above functions.
2448 2003-07-17 André Pönitz <poenitz@gmx.net>
2452 * text2.C: don't call inset->update() anymore
2454 * metricsinfo.[Ch]: add convenience constructor
2456 2003-07-16 André Pönitz <poenitz@gmx.net>
2461 * text2.C: replace the LyXCursor::irow_ member with
2462 on-demand computation of the value
2464 2003-07-16 John Levon <levon@movementarian.org>
2466 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2468 2003-07-15 André Pönitz <poenitz@gmx.net>
2471 * text2.C: remove no more needed refresh_row
2473 2003-07-15 André Pönitz <poenitz@gmx.net>
2478 * text3.C: refresh_status tristate -> need_update bool
2480 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2482 * lyxtext.h (init): remove reinit argument (act as if always true)
2483 * text2.C: adjust to that
2485 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2487 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2488 * text3.C: use it to delete selections in some cases
2489 (bugs 441, 673, 702, 954).
2491 2003-07-14 André Pönitz <poenitz@gmx.net>
2493 * rowpainter.[Ch]: reduce interface
2495 2003-07-14 André Pönitz <poenitz@gmx.net>
2497 * BufferView_pimpl.C:
2498 * text2.C: adjust after removing unused BufferView * argument
2500 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2502 * text2.C (init): fix a crash fired on resize
2504 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2506 * buffer.[Ch]: added new closing signal
2507 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2508 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2509 BufferView::Pimpl via the closing the signal
2511 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2513 * buffer.[Ch]: take out all bv-related from buffer
2515 * BufferView_pimpl.[Ch]: connect to new signals
2516 * CutAndPaste.C: removed useless asserts
2517 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2520 * lyxfunc.C: moved view-related funciontality from vc here
2521 * paragraph.C: removed outdated comments
2524 2003-07-10 André Pönitz <poenitz@gmx.net>
2526 * BufferView_pimpl.C:
2530 * text2.C: remove InsetText::InnerCache, clean up consequences
2532 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2534 * ispell.C: fix two typos in error messages
2536 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2538 * Extend Note inset to other forms of annotation like Comment
2539 and Greyedout. Right button click gives dialog.
2541 Files modified or added (+):
2545 * ControlNote.[Ch] +
2547 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2548 frontends/controllers
2552 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2554 * aspell.C: add missing namespace lyx::support
2556 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2558 * BufferView.[Ch] (newFile): Add
2559 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2560 * LaTeX.[Ch] (message): added this signal and use it
2561 * buffer.[Ch] (busy, message): added these signals and use them
2562 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2566 * importer.C: use buffer signals instead of direct bv calling
2567 * lyx_cb.[Ch] (ShowMessage): removed
2570 * paragraph_funcs.C:
2571 * text2.C: use buffer signals
2573 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2575 * introduce namespace lyx::graphics
2577 2003-07-02 André Pönitz <poenitz@gmx.net>
2579 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2581 2003-07-01 André Pönitz <poenitz@gmx.net>
2588 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2589 text*.C to text_func.C
2591 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2593 * introduce namespace lyx::support
2595 2003-06-30 André Pönitz <poenitz@gmx.net>
2600 * text.C: re-enable --with-included-string
2602 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2604 * textcursor.C: add <config.h>
2606 * text.C (getWord): remove const from word_location arg
2608 * lyxvc.C (getLogFile): fix const type order
2610 * lyxtext.h: remove const from word_location arg, add arg name
2612 * lyxlayout.h: currect type on labeltype.
2614 * importer.C: correct \file
2616 * converter.C (intToFormat): use std:: on ret val, ws changes
2618 * bufferlist.h: correct \file
2620 * buffer.C (makeLinuxDocFile): fix const type order
2621 (makeDocBookFile): ditto
2622 (fillWithBibKeys): use std:: on stdlib args.
2624 * CutAndPaste.C: fix authors.
2625 (availableSelections): use std:: on return vector
2627 2003-06-27 André Pönitz <poenitz@gmx.net>
2629 * BufferView_pimpl.C:
2630 * bufferview_funcs.C:
2638 * text3.C: remove LyXCursor::row_ member
2641 * text.C: rename fullRebreak() to partialRebreak() and implement
2642 a fullRebreak() that really bereks fully
2644 * textcursor.h: new struct for cursor-related data
2646 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2648 * lyx_main.C (LyX): get full path of document loaded on the
2651 2003-06-26 André Pönitz <poenitz@gmx.net>
2653 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2654 remove unused/broken operator>,<,>=.
2656 * text.C: remove only use of broken operator<= in an Assert().
2658 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2660 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2661 moved errorlist_.clear to showErrorList
2663 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2665 * converter.C (scanLog, runLaTeX):
2666 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2667 move the bv->showErrorList call to the callers
2668 * lyxfunc.C: i.e. here...
2670 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2671 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2672 namespace, the second to...
2673 * buffer_funcs (BufferFormat, parseErrors): added
2674 * errorlist.C (ErrorList(TeXErrors const &)): removed
2676 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2678 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2680 2003-06-24 "Garst R. Reese" <reese@isn.net>
2684 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2686 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2688 * version.C.in: change docversion to 1.4
2690 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2692 * buffer.C: fix a bug just introduced
2694 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2696 * buffer.[Ch]: added the parseError signal and use it, removed
2698 * BufferView.[Ch] (addError): moved to ...
2699 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2700 to the Buffer::parseError signal to catch (guess what) parse errors
2701 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2703 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2705 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2706 ability to create a buffer and to return an existing one from
2707 the list. Moved these functions to...
2708 * buffer_funcs.[Ch]: added
2709 * BufferView.[Ch] (loadLyXFile): added
2710 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2711 job removed from bufferlist::loadLyXFile.
2712 * buffer.C (setReadOnly): make it work without view
2713 (i.e added an if (users))
2715 2003-06-19 Angus Leeming <leeming@lyx.org>
2718 * LyXAction.C (init):
2719 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2720 with LFUN_DIALOG_SHOW <name> <data>.
2722 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2724 * CutAndPaste.C (availableSelections): small compilation fix for
2725 ancient (gcc 2.9x) compilers
2727 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2729 * text3.C (cursorNext): add tmp var
2731 * text2.C (updateCounters): for function calling out of for clause
2732 (replaceSelectionWithString): ditto
2733 (insertStringAsParagraphs): ditto
2734 (getColumnNearX): add tmp var
2735 (setCursorFromCoordinates): add tmp var
2736 (cursorDownParagraph): add tmp var
2737 (deleteEmptyParagraphMechanism): add tmp var
2739 * text.C (insertChar): add tmp var
2741 * rowpainter.C (paintDepthBar): add tmp var
2743 * CutAndPaste.C (availableSelections): potentially check all
2744 paragraphs in a cut to fill the shown strings.
2746 2003-06-18 André Pönitz <poenitz@gmx.net>
2748 * kbmap.[Ch]: use vector<> instead of list<>
2750 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2752 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2753 pasteSelection with index
2755 * text2.C (pasteSelection): modify, call pasteSelection with index
2757 * paragraph.C (asString): reimplement version with no interval to
2758 call the one with interval.
2760 * lyxtext.h: add index arg to pasteSelection
2762 * MenuBackend.C (MenuItem): handle PasteRecent
2763 (Menu::read::Menutags): add md_pasterecent
2765 (expandPasteRecent): new function
2768 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2770 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2772 (availableSelections): new function
2774 2003-06-17 Angus Leeming <leeming@lyx.org>
2776 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2778 2003-06-17 Angus Leeming <leeming@lyx.org>
2781 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2783 * lyxfunc.C (dispatch): invoke it.
2785 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2787 * iterators.C (operator++, ParPosition): reintroduce some
2788 const_cast for the benefit of older compilers.
2790 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2792 * text3.C (dispatch): do not modify clipboard when doing
2793 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2794 LFUN_DELETE_SKIP on a selection selection
2796 2003-06-16 André Pönitz <poenitz@gmx.net>
2802 * tabular.[Ch]: IU of clone() and getLabelList();
2804 2003-06-13 André Pönitz <poenitz@gmx.net>
2806 * tabular.h: compactification
2808 2003-06-12 André Pönitz <poenitz@gmx.net>
2812 * tabular_funcs.h: some renaming plus whitespace
2814 2003-06-12 André Pönitz <poenitz@gmx.net>
2817 * BufferView_pimpl.C:
2823 * toc.C: Return a Paragraph & for ParIterator::operator*()
2825 2003-06-11 John Levon <levon@movementarian.org>
2829 * ToolbarBackend.C: add "Toolbars" section and
2832 2003-06-10 Angus Leeming <leeming@lyx.org>
2835 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2837 * lyxfunc.C (dispatch): invoke it.
2839 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2841 * main.C: protect <ios> with HAVE_IOS
2842 (main): protect sync_with_stdio with HAVE_IOS
2844 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2846 * text2.C (cutSelection): adjust
2847 (pasteSelection): adjust
2849 * messages.C: handle get of empty string
2851 * main.C (main): use sync_with_stdio(false)
2853 * lyxfunc.C (dispatch): adjust
2855 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2856 (WriteAs): remove unneeded BufferView arg.
2858 * bufferparams.h: use correct types on papersize, papersize2 and
2861 * bufferparams.C (readToken): adjust for type
2862 (writeLaTeX): add missing cases to switch.
2864 * bufferlist.C (quitWriteBuffer): adjust
2867 * buffer.C (asciiParagraph): remove some commented code.
2869 * CutAndPaste.C: remove current_view extern variable.
2870 (cutSelection): add BufferParams arg.
2871 (eraseSelection): add BufferParams arg.
2872 (pasteSelection): add Buffer const & arg
2874 2003-06-07 John Levon <levon@movementarian.org>
2877 * paragraph_funcs.C:
2878 * paragraph_pimpl.C:
2882 * paragraph.C: allow InsetERT to freely space lines,
2883 and some consolidation of code
2885 2003-06-06 José Matos <jamatos@fep.up.pt>
2887 * buffer.C (makeDocBookFile): fix bug #821
2889 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2891 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2893 2003-06-04 Angus Leeming <leeming@lyx.org>
2895 * buffer.C: bump format to 224.
2897 2003-06-05 André Pönitz <poenitz@gmx.net>
2899 * text2.C (redoParagraphs): remove two const_cast<>
2901 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2903 * ParagraphList.h: remove last remnants of NO_STD_LIST
2905 2003-06-03 Angus Leeming <leeming@lyx.org>
2907 * factory.C (createInset): small change to the way InsetExternal's params
2910 2003-06-04 André Pönitz <poenitz@gmx.net>
2912 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2914 * paragraph_pimpl.h:
2915 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2917 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2919 * undo_funcs.C: make some simple cases of undo work again
2921 2003-06-03 John Levon <levon@movementarian.org>
2923 * ispell.C: HPUX doesn't have sys/select.h
2926 2003-06-03 John Levon <levon@movementarian.org>
2928 * CutAndPaste.C: update tabular and include inset
2933 * paragraph.C: remove owningBuffer(), don't pass Buffer
2936 * factory.C: insetGraphicsParams changed
2938 2003-06-02 John Levon <levon@movementarian.org>
2944 * text3.C: remove insetparent
2946 2003-06-02 John Levon <levon@movementarian.org>
2949 * buffer.C: fix inset_iterator.end(), move out of line
2952 2003-06-01 John Levon <levon@movementarian.org>
2954 * text3.C: use a proper cut/paste when doing inset
2955 insert (from Jürgen Spitzmüller)
2957 2003-06-01 John Levon <levon@movementarian.org>
2959 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2961 2003-05-30 André Pönitz <poenitz@gmx.net>
2963 * rowpainter.C: unify second drawing phase
2965 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2967 * trans_mgr.C: remove one case of current_view
2969 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2971 * paragraph_funcs.h: remove paragraph.h include
2973 * paragraph.h: delete NO_STD_LIST stuff
2975 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2977 * buffer.h: remove paragraph.h include
2979 * ParagraphList.C: delete file
2981 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2983 * toc.C (getTocList): adjust
2985 * paragraph_pimpl.C (validate): adjust
2987 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2989 * paragraph.C (Paragraph): adjust
2990 (getPositionOfInset): use const_iterator, adjust
2991 (bibitem): use const_iterator, adjust
2992 (setInsetOwner): adjust
2994 * iterators.C (operator++): adjust
2996 * InsetList.[Ch]: Replace selfmade iterator with standard
2997 vector::iterator also introduce const_iterator. Remove getPos,
2998 getInset and setInset from InsetTable. Adjust accordingly.
3000 * BufferView.C (lockInset): adjust
3001 (ChangeInsets): adjust
3003 * tabular.[Ch]: delete commented same_id functions
3005 2003-05-28 John Levon <levon@movementarian.org>
3007 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3009 2003-05-28 André Pönitz <poenitz@gmx.net>
3011 * metricsinfo.[Ch]: remove 'fullredraw' member
3013 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3015 * lyxtextclass.C (operator): remove caching.
3017 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3021 * text2.C (cursorBottom): adjust
3022 (setCounter): use ParagraphList::find, adjust
3024 * text.C (workWidth): use ParagraphList::find, adjust
3026 * lyxcursor.C (LyXCursor): adjust
3028 * buffer.C (inset_iterator): adjust
3030 * ParagraphList.h: make iterator(value_type) private, make
3031 ParagraphList a friend of iterator.
3033 * ParagraphList.C (find): new function
3035 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3037 2003-05-27 André Pönitz <poenitz@gmx.net>
3039 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3041 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3043 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3045 2003-05-26 John Levon <levon@movementarian.org>
3047 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3049 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3051 * remove same_id from function signatures, adjust.
3053 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3055 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3057 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3059 * paragraph.C (Paragraph): get rid of same_ids parameter
3061 * ParagraphList.C (insert): adjust
3064 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3066 * paragraph_funcs.C (breakParagraph): adjust
3067 (breakParagraphConservative): adjust
3069 * buffer.C (readParagraph): adjust
3071 * ParagraphList.C (insert): take a reference instead of a pointer
3074 * paragraph.[Ch] (id): new function
3076 * bufferlist.C (newFile): adjust
3078 * ParagraphList.C (ParagraphList): adjust
3080 (push_back): take a reference instead of a pointer.
3082 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3084 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3087 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3088 set else use old code.
3090 * ParagraphList.C: remove all NO_NEXT code and only compile this
3091 code of NO_STD_LIST is set.
3093 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3095 * BufferView_pimpl.C:
3105 * graphics/GraphicsConverter.C:
3106 * graphics/PreviewLoader.C: header adjustment
3108 2003-05-23 Angus Leeming <leeming@lyx.org>
3110 * LaTeXFeatures.[Ch] (useBabel): new method.
3111 * bufferparams.C (writeLaTeX): use it.
3113 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3115 * ParagraphList.h (set): remove unused function.
3117 2003-05-23 André Pönitz <poenitz@gmx.net>
3120 * BufferView_pimpl.C:
3124 * undo_funcs.C: setUndo reworked
3126 * iterators.[Ch]: add access to topmost ParagraphList
3128 * lyxtext.[Ch] (workWidth): add a const
3130 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3132 * texrow.[Ch] (increasePos): remove function
3133 * exporter.C (export): removed unused var and outdated comment
3135 2003-05-23 Angus Leeming <leeming@lyx.org>
3137 * latexrunparams.h: rename fragile as moving_arg.
3138 * paragraph.C (simpleTeXOnePar): ditto.
3139 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3141 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3143 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3145 (textUndoOrRedo): comment out a currently unused var.
3147 * paragraph.h (NO_NEXT): enable NO_NEXT
3149 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3151 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3153 * exporter.C (Export): adjust for removeAutoInsets removal.
3155 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3157 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3159 * BufferView.[Ch] (removeAutoInsets): delete function
3161 2003-05-22 Angus Leeming <leeming@lyx.org>
3163 * latexrunparams.h: add a free_spacing variable.
3165 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3166 to pass moving_arg, as the data is stored in runparams.fragile.
3168 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3169 to Inset::latexOptional or to simpleTeXOnePar.
3171 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3172 free_spacing arg to Inset::latexOptional.
3174 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3177 2003-05-22 Angus Leeming <leeming@lyx.org>
3179 * latexrunparams.h: add fragile and use_babel variables.
3181 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3182 * buffer.C (makeLaTeXFile): store this returned value in
3183 runparams.use_babel, thus passing it to the inset::latex methods.
3185 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3186 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3188 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3189 longer has a fragile arg, as it is stored in runparams.fragile.
3191 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3192 moving_arg parameter as the data is stored in runparams.fragile.
3194 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3195 a fragile parameter as the data is stored in runparams.fragile.
3197 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3199 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3201 2003-05-22 Angus Leeming <leeming@lyx.org>
3203 * latexrunparams.h: add a 'bool nice' which defaults to false.
3205 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3206 now encapsulated within runparams.
3208 * bufferlist.C (updateIncludedTeXfiles):
3209 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3211 2003-05-22 Angus Leeming <leeming@lyx.org>
3213 * latexrunparams.h: new file containing struct LatexRunParams.
3214 * Makefile.am: add new file.
3216 * LaTeX.[Ch] (c-tor, run):
3217 * buffer.[Ch] (makeLaTeXFile):
3218 * bufferlist.[Ch] (updateIncludedTeXfiles):
3219 * converter.C (convert, scanLog):
3220 * converter.[Ch] (runLaTeX):
3221 * exporter.C (Export):
3222 * paragraph.[Ch] (simpleTeXOnePar):
3223 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3224 * paragraph_funcs.[Ch] (latexParagraphs):
3225 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3226 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3227 pass around a LatexRunParams parameter.
3229 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3231 * paragraph.[Ch]: remove unused constructor
3233 * ParagraphList.C (erase): new function, taking two iterators
3235 2003-05-22 André Pönitz <poenitz@gmx.net>
3237 * undo_funcs.C: remove duplicated code
3239 * iterator.[Ch]: operator=
3241 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3243 * tabular.C (SetMultiColumn): ws changes
3245 * rowpainter.C (paintFirst): get rid of a ->previous
3247 * lyx_cb.C (getPossibleLabel): parlist simplification
3249 * BufferView.C (ChangeInsets): simplify slightly.
3251 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3253 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3254 * lfuns.h: new LFUN_SPACE
3255 * lyxfunc.C: protected space has a new lfun
3256 * paragraph_funcs.C: read new space insets
3258 * factory.C: handle new space insets
3260 2003-05-22 André Pönitz <poenitz@gmx.net>
3263 * BufferView_pimpl.C:
3266 * undo_funcs.C: return a ParIterator from getParFromID.
3268 * iterators.[Ch]: add two const's
3270 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3272 * toc.C (getTocList): adjust
3274 * iterators.[Ch]: rework for parlist
3276 * buffer.C (par_iterator_begin): adjust
3277 (par_iterator_end): adjust
3279 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3281 * BufferView.C (removeAutoInsets): adjust
3282 (ChangeInsets): adjust
3284 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3286 * text.C (top_y): fix bug 1110
3288 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3290 * errorlist.[Ch]: added
3293 * BufferView_pimpl.C:
3294 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3297 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3299 * Makefile.am: ensure that lyx is relinked upon changes to the
3300 various "convenience" libs.
3302 2003-05-20 Angus Leeming <leeming@lyx.org>
3304 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3305 files are compiled in alphabetical order again.
3307 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3309 2003-05-19 Angus Leeming <leeming@lyx.org>
3311 * gettext.[Ch]: remove "char const * _(char const *)".
3313 2003-05-19 André Pönitz <poenitz@gmx.net>
3315 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3324 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3326 2003-05-19 André Pönitz <poenitz@gmx.net>
3330 * lyxtextclass.[Ch]:
3332 * paragraph_funcs.[Ch]:
3334 * text3.C: more insetenv work
3336 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3338 * ParagraphParameters.C (params2string): small bug fixed
3340 2003-05-16 André Pönitz <poenitz@gmx.net>
3343 * bufferview_funcs.C: patch from Kornel Benko to prevent
3344 crash when _(...) is called twice in a statement
3346 2003-05-16 André Pönitz <poenitz@gmx.net>
3353 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3355 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3357 * lyx_main.C (init): remove spurious static_cast
3359 2003-05-14 André Pönitz <poenitz@gmx.net>
3361 * BufferView.C: fix format string
3363 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3365 * BufferView.[Ch] (insertErrors): removed
3366 * BufferView.[Ch] (showErrorList): added
3367 * buffer.C (runChkTeX):
3368 * converter.C (scanLog): call showErrorList instead of inserterrors
3370 2003-05-13 André Pönitz <poenitz@gmx.net>
3372 * BufferView_pimpl.C:
3374 * bufferview_func.C:
3381 * tabular_funcs.h: tostr() from its own header
3383 * ParagraphParameters.C:
3388 * text3.C: STRCONV()
3390 2003-05-12 André Pönitz <poenitz@gmx.net>
3393 * BufferView_pimpl.C:
3397 * ParagraphParameters.C:
3401 * bufferview_funcs.C:
3414 * paragraph_funcs.C:
3418 * text3.C: boost::format -> bformat all over the place
3421 2003-05-09 André Pönitz <poenitz@gmx.net>
3423 * LColor.[Ch]: Pimpl the #include <map> away
3425 2003-05-09 John Levon <levon@movementarian.org>
3427 * bufferlist.C: never remove emergency saves
3429 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3431 * Makefile.am: better lib building
3433 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3435 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3437 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3438 (simpleTeXSpecialChars): adjust
3439 (simpleTeXSpecialChars): adjust
3440 * paragraph.C (simpleTeXOnePar): adjust
3441 * buffer.C (makeLaTeXFile): adjust
3443 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3445 * text2.C (changeDepth): parlist cleanup
3446 (getColumnNearX): ditto
3448 * rowpainter.C (getLabelFont): parlist cleanup
3450 * bufferlist.C (newFile): parlist cleanup
3452 * CutAndPaste.C (eraseSelection): parlist cleanup
3454 * BufferView_pimpl.C (trackChanges): parlist cleanup
3457 * BufferView.C (lockInset): parlist cleanup.
3458 (ChangeInsets): ditto
3460 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3462 * CutAndPaste.h: Update file header.
3464 * CutAndPaste.C: Update file header.
3465 Store the parts cut out of the Document in a limited_stack.
3466 (copySelection): adjust
3467 (pasteSelection): new function, takes the index in the limited stack.
3468 (nrOfParagraphs): adjust
3469 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3470 simplify error inset insertion.
3471 (checkPastePossible): adjust
3473 2003-05-06 John Levon <levon@movementarian.org>
3475 * text2.C: don't cast wrap inset to float
3477 2003-05-05 André Pönitz <poenitz@gmx.net>
3480 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3482 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3483 few naked Paragraph *.
3485 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3487 * bufferparams.C: Output warning if a document with missing
3488 TeX document class is loaded
3489 * exporter.C: Disable TeX exports if the document class is missing
3492 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3493 isTeXClassAvailable()
3495 2003-05-03 John Levon <levon@movementarian.org>
3498 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3499 explicit cursor show/hide
3501 * BufferView_pimpl.h:
3502 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3503 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3505 * lyxfunc.C: hide cursor before dispatching.
3510 * text3.C: remove explicit cursor hides
3512 2003-05-02 André Pönitz <poenitz@gmx.net>
3514 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3517 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3520 * text2.C: tiny whitespace
3522 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3524 * undo_funcs.C: almost only ws changes.
3526 * ParagraphList.C (splice): just return if pl is empty.
3528 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3530 * ParagraphList.C (splice): new function.
3532 * CutAndPaste.C (pasteSelection): use it
3534 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3536 * CutAndPaste.C (pasteSelection): remove the last next and
3537 previous from this file.
3539 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3541 * CutAndPaste.C (pasteSelection): more clean up, user proper
3542 ParagraphList functions for pasteing.
3544 * ParagraphList.C (insert): new function, three arg insert
3546 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3548 * ParagraphList.C (insert): new function, three arg insert
3550 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3553 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3555 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3557 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3559 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3561 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3563 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3564 (copySelection): clean up a bit.
3565 (pasteSelection): use make_pair
3567 * ParagraphList.C (ParagraphList): implement copy constructor
3568 (operator=): implement, base on copy constructor.
3571 * paragraph.C (erase): return a bool
3573 * paragraph_pimpl.C (erasePos): remove function, move contents...
3574 (erase): ... here. Return a bool.
3575 (erase): call erase instead of erasePos.
3577 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3579 * ParagraphList.h: define PitPosPair
3580 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3581 ParagraphList, fix a bug on pasting multiple pars
3582 * text2.C: change interface to C&P
3584 2003-04-30 André Pönitz <poenitz@gmx.net>
3586 * undo_func.C: revert part of yesterday's patch 2
3588 2003-04-30 John Levon <levon@movementarian.org>
3590 * LColor.C: s/tabular/table/
3592 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3594 * text3.C (dispatch): do not convert iterator -> pointer
3595 * undo_funcs.C (setCursorParUndo): ditto
3596 * text_funcs.C (transposeChars): ditto
3598 * text2.C (setLayout): ws changes only
3600 * text.C (breakParagraph): do not convert iterator -> pointer
3602 (acceptChange): ditto
3603 (rejectChange): ditto
3608 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3611 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3613 * text3.C (gotoInset): YABG (yet another bad getChar)
3615 2003-04-29 André Pönitz <poenitz@gmx.net>
3617 * paragraph.h: make operator= private unimplemented as long as
3620 * ParagraphList.C: whitespace
3623 * paragraph_pimpl.[Ch]:
3624 * paragraph_funcs.C:
3626 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3629 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3631 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3633 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3634 * paragraph.[Ch] (erase):
3635 * paragraph_pimpl.[Ch] (erase): change return type and value
3636 * text2.C (cutSelection): some rework
3638 2003-04-28 John Levon <levon@movementarian.org>
3640 * bufferlist.C: changes for unsaved changes dialog
3642 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3644 * bufferlist.C (newFile): set language (messages_) for new
3647 * buffer.C (readFile): ws changes only.
3649 2003-04-28 André Pönitz <poenitz@gmx.net>
3654 * BufferView_pimpl.C:
3655 * BufferView.C: getParFromID related ParagraphList::iterator changes
3657 2003-04-28 André Pönitz <poenitz@gmx.net>
3659 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3662 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3664 * messages.C: remove one more localedir class variable.
3666 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3668 * messages.C (getLocaleDir): singleton generation function
3670 (Messages): add a default constructor.
3672 * main.C (main): do not setup localedir here, do not call
3675 * gettext.C (_): use it.
3676 (gettext_init): delete funciton
3678 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3680 * gettext.C (getLyXMessages): new singleton generating function.
3682 * buffer.C (updateDocLang): adjust
3684 * Makefile.am (messages.o): add target
3685 (main.o): remove target
3687 2003-04-27 John Levon <levon@movementarian.org>
3692 * lyxvc.C: specify cancel button in Alert::prompt
3694 2003-04-26 John Levon <levon@movementarian.org>
3699 * LyXAction.C: add LFUN_INSET_SETTINGS
3701 * lyxfunc.C: don't enable tabular-feature when there's
3702 just any locking inset
3704 2003-04-26 John Levon <levon@movementarian.org>
3706 * bufferlist.C: re-add Cancel to buffer close question
3708 * lyxfunc.C: fix import UI a bit
3710 2003-04-25 John Levon <levon@movementarian.org>
3712 * gettext.C: remove the broken asserts for now
3714 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3716 * messages.C: make case where setlocale cannot comply work better.
3718 * buffer.C (updateDocLang): new function
3719 (changeLanguage): use it
3722 * text2.C (setCounter): use B_ a bit.
3724 * lyxlayout.C (Read): be sure to trim the label strings.
3726 * messages.C (Messages): fix typo in comment
3728 * buffer.C (readFile): set message_ after file is loaded.
3729 (makeDocBookFile): remove double return
3730 (changeLanguage): reset message_ upon language change.
3731 (B_): new func, use this to get translated buffer strings.
3733 * main.C: add myself and Jean Marc as authors.
3735 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3737 * messages.[hC]: pimplify Messages, and three different pimpls to be
3738 used in different circumstances.
3740 * gettext.[Ch]: change for use with new message code.
3742 2003-04-24 André Pönitz <poenitz@gmx.net>
3744 * factory.C: support for eqref
3746 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3748 * messages.[Ch]: add missing char
3750 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3752 * messages.[Ch]: New files
3754 2003-04-18 John Levon <levon@movementarian.org>
3758 * BufferView_pimpl.C:
3762 * text2.C: remove layout-copy/paste (bug 778)
3764 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3766 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3768 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3770 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3771 if they succeed. Act accordingly.
3773 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3775 * text2.C (setCharFont): adjust
3776 (setCounter): adjust
3777 (insertStringAsLines): adjust
3779 * text.C (leftMargin): adjust
3780 (setHeightOfRow): adjust
3782 * rowpainter.C (paintFirst): adjust
3785 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3787 (isFirstInSequence): ditto
3788 (getEndLabel): ditto
3791 * paragraph.C (getParLanguage): comment out some hard stuff.
3793 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3795 (simpleDocBookOnePar): ditto
3796 (makeDocBookFile): use ParagraphList::iterator
3798 * CutAndPaste.C (pasteSelection): adjust
3800 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3802 * text2.C (getFont): adjust
3803 (getLayoutFont): adjust
3804 (getLabelFont): adjust
3806 * paragraph_funcs.C (TeXOnePar): adjust
3808 * buffer.C (simpleLinuxDocOnePar): adjust
3809 (simpleDocBookOnePar): adjust
3811 * CutAndPaste.C (pasteSelection): adjust
3813 * BufferView.C (getEncoding): adjust
3815 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3817 2003-04-16 John Levon <levon@movementarian.org>
3819 * lyxfind.C: use parlist stuff for search/changes
3821 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3823 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3825 * text2.C (deleteEmptyParagraphMechanism): adjust
3827 * text2.[Ch] (ownerParagraph): delete func (both of them
3829 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3831 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3833 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3835 * ParagraphList.C: prepare for NO_NEXT
3837 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3839 * text2.C (getFont): adjust
3840 (getLayoutFont): adjust
3841 (getLabelFont): adjust
3843 * paragraph.C (getFont): adjust
3844 (getLabelFont): adjust
3845 (getLayoutFont): adjust
3847 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3849 2003-04-15 John Levon <levon@movementarian.org>
3853 * lyx_main.C: handle Include in .ui files
3855 2003-04-15 John Levon <levon@movementarian.org>
3857 * MenuBackend.C: make the doc files length shorter
3860 * ToolbarBackend.C: handle toolbar placement flags,
3863 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3865 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3868 * paragraph_funcs.C (TeXOnePar): adjust
3870 * paragraph.C (getLabelFont): add outerfont arg, adjust
3871 (getLayoutFont): ditto
3872 (simpleTeXOnePar): adjust
3874 * paragraph_pimpl.C (realizeFont): delete func
3876 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3878 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3879 row argument, constify cur argument.
3881 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3883 * text2.C (getFont): adjust
3884 (getLayoutFont): adjust
3885 (getLabelFont): adjust
3887 * paragraph_funcs.C (TeXOnePar): adjust
3888 (outerFont): new func...
3889 (realizeFont): ...moved out from here, changed this to facilitate
3892 * paragraph.C (getFont): take outerfont as arg, adjust
3893 (simpleTeXOnePar): add outerfont arg, adjust
3895 * buffer.C (simpleLinuxDocOnePar): adjust
3896 (simpleDocBookOnePar): adjust
3898 * CutAndPaste.C (pasteSelection): adjust
3900 * BufferView.C (getEncoding): adjust
3902 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3904 * text2.C (setCharFont): adjust
3905 (setCounter): adjust
3907 * text.C (leftMargin): adjust
3908 (setHeightOfRow): adjust
3910 * rowpainter.C (paintFirst): adjust
3913 * paragraph_pimpl.C (realizeFont): adjust
3915 * paragraph.C (isFirstInSequence): move from here...
3916 * paragraph_funcs.C (isFirstInSequence): ...to here
3918 * paragraph.C (outerHook): move from here...
3919 * paragraph_funcs.C (outerHook): ...to here
3921 * paragraph.C (depthHook): move from here...
3922 * paragraph_funcs.C (depthHook): ...to here
3924 * paragraph.C (getEndLabel): move from here...
3925 * paragraph_funcs.C (getEndLabel): ...to here
3927 * text2.C (realizeFont): move from here...
3928 * paragraph_funcs.C (realizeFont): ...to here
3930 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3932 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3934 2003-04-14 Angus Leeming <leeming@lyx.org>
3936 * LColor.[Ch]: scrap LColor mathcursor.
3938 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3940 * lyxlex.[Ch] (text): delete function
3941 * trans.C (Load): adjust
3942 * paragraph_funcs.C (readParToken): adjust
3944 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3946 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3947 vector<char> instead of a char[].
3949 * lyxlex_pimpl.C (getString): adjust
3951 (lex): use getString
3955 * lyxlex.C (text): use pimpl_->getString()
3959 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3961 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3962 (makeFontEntriesLayoutSpecific): temp var for par.size()
3963 (setLayout): temp var for ownerParagraphs().end()
3964 (fullRebreak): temp var for rows().end()
3965 (selectionAsString): temp var for boost::next(startpit), realize
3966 that the while really is a regular for loop.
3967 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3968 setCursor in one place.
3969 (setParagraph): temp vr for ownerParagraphs().end()
3970 (updateCounters): make the while loop a for loop
3971 (cutSelection): temp var for ownerParagraphs().end()
3972 (updateInset): make the do {} while() a regular for loop
3973 (getCursorX): use temp vars
3974 (setCurrentFont): use temp vars
3975 (getColumnNearX): use temp vars
3977 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3979 * text.C (transformChar): use temp var for getChar
3980 (computeBidiTables): use temp var for row->par()
3981 (fill): move temp vars for row->par() and pit->layout() earlier in
3983 (labelFill): use temp var for row->par()
3984 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3985 asc and desc, realize that pit never changes and that firstpit is
3986 just a duplicate and not needed. Exchange rit->par() with pit in a
3988 (breakAgain): use a temp var for boost::next(rit)
3989 (breakAgainOneRow): ditto
3990 (breakParagraph): use a temp var for rows().begin()
3991 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3992 (cursorRightOneWord): use temp var for cursor.par() and
3993 cursor.pos(), remove usage of tmpcursor.
3994 (cursorLeftOneWord): use temp var for cursor.par() and
3995 cursor.pos() only set cur at end of function.
3997 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3999 * text.C, text2.C: exchange all usage of Paragraph::next with
4000 boost::next(ParagraphList::iterator)
4002 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4004 * text2.C (cursorTop): simplify implementation
4005 (cursorBottom): ditto
4006 (setParagraph): use ParagraphList::iterator
4007 (setCurrentFont): adjust
4008 (getColumnNearX): adjust
4009 (cursorRight): adjust
4010 (cursorLeft): remove usage of Paragraph::previous
4011 (cursorUpParagraph): ditto
4012 (deleteEmptyParagraphMechanism): slight cleanup
4014 * text.C (isBoundary): take a Paragraph const & instead of a
4016 (addressBreakPoint): ditto
4017 (leftMargin): remove usage of Paragraph::previous.
4018 (setHeightOfRow): ditto
4019 (cursorLeftOneWord): ditto
4020 (selectNextWordToSpellcheck): ditto
4023 (breakParagraph): remove one usage of Paragraph::next
4024 (redoParagraph): ditto
4025 (acceptChange): ditto
4026 (insertChar): adjust
4027 (rowBreakPoint): adjust
4029 * bufferview_funcs.C (toggleAndShow): adjust
4031 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4033 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4034 methods to access it.
4036 * text.C: Added updateRowPositions to compute all row positions.
4037 Make top_y and getRowNearY() to use the cached y position
4039 2003-04-11 John Levon <levon@movementarian.org>
4041 * text.C (rowBreakPoint): reintroduce the labelEnd
4042 checks, code copied from the row fill stuff. Deep voodoo.
4044 * text.C (fill): add a comment and debugging for the
4047 2003-04-11 John Levon <levon@movementarian.org>
4049 * text.C: make sure fullrow insets get wrapped to the next line,
4050 even when they're in a manual label
4052 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4054 * text2.C (insertParagraph): make it take ParagraphList::iterator
4056 (setLayout): make it return ParagraphList::iterator
4057 (redoParagraphs): ditto
4059 (checkParagraph): ditto
4061 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4063 * text2.C: adjust several funcs.
4064 (realizeFont): take a ParagraphList::iterator as arg.
4065 (getLayoutFont): ditto
4066 (getLabelFont): ditto
4067 (setCharFont): ditto
4069 * text.C: adjust several funcs.
4071 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4073 * text.C (selectNextWordToSpellcheck): don't accidentally
4076 2003-04-10 John Levon <levon@movementarian.org>
4078 * ToolbarBackend.C (getIcon): special handling for
4081 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4083 * text2.C (cursorRight): a getChar assert fixed
4085 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4087 * text2.C (getFont): change to take a ParagraphList::iterator
4088 instead of Paragraph*
4089 Adjust several functions.
4091 * text.C (transformChar): change to take a ParagraphList::iterator
4092 instead of Paragraph*
4093 (singleWidth): ditto
4094 Adjust several functions.
4096 * rowpainter.C: adjust several functions
4097 * rowpainter.h:store a ParagraphList::iterator and not a
4101 2003-04-09 John Levon <levon@movementarian.org>
4106 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4107 and the "help" bits as well
4109 2003-04-09 John Levon <levon@movementarian.org>
4112 * ToolbarBackend.C: allow multiple toolbars
4114 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4116 * undo_funcs.C (setCursorParUndo): adjust
4118 * text_funcs.C (transposeChars): adjust
4120 * text3.C (gotoNextInset): adjust
4123 * text2.C (setLayout): adjust
4124 (changeDepth): adjust
4126 (redoParagraphs): adjust
4127 (selectionAsString): adjust
4128 (setParagraph): adjust
4129 (insertInset): adjust
4130 (cutSelection): adjust
4131 (copySelection): adjust
4132 (pasteSelection): adjust
4133 (insertStringAsLines): adjust
4134 (updateInset): adjust
4135 (setCursor): change to take a ParagraphList::iterator parameter
4136 (setCursorIntern): change to take a ParagraphList::iterator parameter
4137 (setCurrentFont): adjust
4138 (cursorLeft): adjust
4139 (cursorRight): adjust
4140 (deleteEmptyParagraphMechanism): adjust
4142 * text.C (breakParagraph): adjust
4143 (insertChar): adjust
4144 (acceptChange): adjust
4145 (rejectChange): adjust
4146 (selectNextWordToSpellcheck): adjust
4147 (changeCase): adjust
4151 * lyxfind.C (SearchForward): adjust
4152 (SearchBackward): adjust
4153 (nextChange): adjust
4155 * lyxcursor.C (par): adjust
4157 * lyxcursor.h: store a ParagraphList::iterator instead of a
4160 * lyx_cb.C (getPossibleLabel): adjust
4162 * bufferview_funcs.C (toggleAndShow): adjust
4164 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4167 * BufferView.C (removeAutoInsets): adjust
4168 (lockedInsetStoreUndo): adjust
4170 2003-04-09 John Levon <levon@movementarian.org>
4172 * ToolbarBackend.C: try icon without argument
4173 if with argument fails
4175 2003-04-08 John Levon <levon@movementarian.org>
4178 * ToolbarBackend.C: add getIcon(), handle tooltip,
4179 and change from "Icon" to "Item".
4181 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4183 * BufferView.C (lockInset): another bad getchar crunched
4185 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4187 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4190 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4192 * lyxfind.C (searchForward, searchBackwards): bug 782
4194 2003-04-07 John Levon <levon@movementarian.org>
4196 * paragraph.C: remove dead comment
4198 * text.C: remove troublesome depth-fiddling code
4199 in leftMargin() and rightMargin() (bug 1017)
4201 * text.C: fix breaking of rows in nested lists
4204 * text2.C (updateCounters): fix up depth values
4207 2003-04-07 John Levon <levon@movementarian.org>
4209 * BufferView_pimpl.C: clear message when doc finishes resizing,
4210 and after a mouse event
4212 * lyxfunc.C: clear message after exiting inset
4214 2003-04-07 John Levon <levon@movementarian.org>
4216 * bufferview_funcs.C: show math status not outside
4217 status in the statusbar
4219 2003-04-07 John Levon <levon@movementarian.org>
4221 * lyxfunc.C: note status changed after a depth change
4223 2003-04-04 Angus Leeming <leeming@lyx.org>
4225 * LaTeX.h: move AuxInfo operator==, != out of line.
4226 Remove LaTeX virtual destructor; nothing derives from it.
4227 Move operator()() out of public area and rename it startscript().
4228 Change protected for private.
4230 2003-04-04 Angus Leeming <leeming@lyx.org>
4233 * text2.C: remove unneeded #includes.
4235 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4237 * text2.C (dEPM): fix the heigth of the next row
4239 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4241 * text.C: squashed an invalid getChar requester + some ws changes
4243 2003-04-03 John Levon <levon@movementarian.org>
4245 * bufferview_funcs.h:
4246 * bufferview_funcs.C:
4249 * text2.C: make getStatus work for the env depth lfuns
4251 2003-04-03 John Levon <levon@movementarian.org>
4253 * bufferview_funcs.h:
4254 * bufferview_funcs.C:
4257 * text2.C: parlistize decDepth(), by merging it with incDepth()
4259 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4261 * lyxrow.h: store a ParagraphList::iterator instead of a
4262 Paragraph* and adjust other class functions to suit.
4264 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4267 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4269 * text2.C (setCursor): do not anchor to cursor row for the time being
4271 2003-04-02 John Levon <levon@movementarian.org>
4278 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4280 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4282 * paragraph.h: make ParagraphList and ParagraphList::iterator
4283 friends of Paragraph.
4285 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4287 * ParagraphList.C: Use the private next_ and previous_ from
4290 2003-04-01 John Levon <levon@movementarian.org>
4294 * Makefile.am: rename, remove defaults gunk
4297 * MenuBackend.C: remove defaults gunk
4300 * Languages.C: remove defaults gunk
4303 * lyx_main.C: error out if files couldn't be found.
4305 2003-04-02 John Levon <levon@movementarian.org>
4307 * text2.C: make incDepth() use parlist
4309 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4311 * undo_funcs.C (firstUndoParagraph): adjust
4313 * text3.C (gotoInset): adjust
4314 (dispatch): adjust, and rewrite loop.
4316 * text2.C (init): adjust, and rewrite loop.
4317 (redoParagraphs): adjust
4318 (updateInset): adjust, and rewrite loop.
4319 (deleteEmptyParagraphMechanism): adjust
4321 * tabular.C (LyXTabular): adjust
4322 (SetMultiColumn): adjust
4325 * lyxtext.[Ch] (ownerParagraph): delete function
4326 (ownerParagraphs): new function returns a ParagraphList.
4328 * BufferView.C (removeAutoInsets): adjust
4329 (insertErrors): adjust
4330 (setCursorFromRow): adjust
4332 2003-04-01 Angus Leeming <leeming@lyx.org>
4334 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4337 2003-04-02 John Levon <levon@movementarian.org>
4343 * text_funcs.C: make transposeChars a free function
4345 * lyxrow_funcs.C: remove wrong comment
4347 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4350 * rowpainter.C: adjust
4355 * lyxrow_funcs. [Ch]: new files
4357 * lyxrow.[Ch]: remove next and previous pointers
4358 (next,previous): remove accessor functions
4359 (isParEnd): move to lyxrow_funcs
4360 (lastPos): move to lyxrow_funcs
4361 (nextRowIsAllInset): move to lyxrow_funcs
4362 (lastPrintablePos): move to lyxrow_funcs
4363 (numberOfSeparators): move to lyxrow_funcs
4364 (numberOfHfills): move to lyxrow_funcs
4365 (numberOfLabelHfills): move to lyxrow_funcs
4366 (hfillExpansion): move to lyxrow_funcs
4370 * bufferview_funcs.C (toggleAndShow): adjust
4372 * RowList.h: Remove class RowList from file leave just a
4375 * RowList.C: delete file
4377 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4380 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4382 * text3.C (cursorPrevious): adjust
4383 (cursorNext): adjust
4386 * text2.C (redoHeightOfParagraph): adjust
4387 (redoDrawingOfParagraph): adjust
4390 * text.C (breakParagraph): adjust
4391 (insertChar): adjust
4394 * rowpainter.C (RowPainter): adjust
4395 (leftMargin): simplify and adjust
4396 (most rowpainter functions): adjust.
4398 * rowpainter.h: store the row as RowList::iterator not as Row*
4400 * lyxcursor.C (row): taka RowList::iterator as arg
4403 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4406 2003-04-01 Angus Leeming <leeming@lyx.org>
4408 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4409 stuff like bool Bool.
4411 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4413 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4416 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4418 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4421 * lyxtext.h (rows): drop one version and leve a const variant that
4422 returns a RowList::iterator.
4424 2003-03-31 Angus Leeming <leeming@lyx.org>
4426 * text.C (fill): ensure that the signature is the same as that in the
4429 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4431 * text2.C (redoParagraphs): adjust
4432 (updateCounters): adjust
4433 (checkParagraph): adjust
4434 (getColumnNearX): adjust and reformat a bit.
4436 * text.C (top_y): adjust
4438 (leftMargin): adjust
4439 (prepareToPrint): adjust
4441 (getRowNearY): adjust
4443 * lyxtext.h: make rowlist_ mutable.
4445 * RowList.h: add const_iterator
4446 * RowList.C: adjust for RowList::const_iterator.
4448 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4451 2003-03-31 John Levon <levon@movementarian.org>
4454 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4456 * lyx_main.C: set default fonts from using lyx_gui funcs
4458 * exporter.C: pdf_mode moved from lyxrc
4461 * lyxfunc.C: changes from above
4463 2003-03-31 John Levon <levon@movementarian.org>
4465 * lyx_main.C: fix to the last fix
4467 2003-03-31 John Levon <levon@movementarian.org>
4469 * bufferlist.C: "Load original" -> "Load Original"
4475 * format.C: more Alert cleanups
4477 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4479 * text2.C (removeParagraph): make it take a RowList::iterator as
4481 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4482 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4484 * text.C (anchor_row): make it take a RowList::iterator as arg,
4486 (computeBidiTables): make it take a const reference to Row instead
4487 of Row pointer, adjust.
4488 (leftMargin): make it take a RowList::iterator as arg, adjust.
4489 (rowBreakPoint): adjust
4490 (breakAgainOneRow): make it take a RowList::iterator as arg,
4492 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4494 * bufferview_funcs.C (toggleAndShow): adjust
4496 2003-03-30 John Levon <levon@movementarian.org>
4500 * boost-inst.C: moved to support
4502 * several files: changes as a result
4504 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4506 * text2.C (LyXText): adjust.
4508 (removeRow): make it take a RowList::iterator as arg, adjust.
4509 (fullRebreak): adjust
4510 (deleteEmptyParagraphMechanism): adjust
4511 (clearPaint): adjust
4514 * text.C (top_y): adjust
4515 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4516 (breakAgain): make it take a RowList::iterator as arg, adjust.
4517 (breakParagraph): adjust
4518 (insertChar): adjust
4521 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4522 need_break_row, and refresh_row.
4524 * text3.C (dispatch): adjust
4526 * text2.C (checkParagraph): adjust
4528 (setCursorFromCoordinates): adjust
4530 * text.C (top_y): adjust
4532 (getRow): make it return a RowList::iterator, adjust
4533 (getRowNearY): make it return a RowList::iterator, adjust
4535 * text2.C (init): adjust
4536 (insertRow): remove function
4537 (insertParagraph): adjust
4538 (redoParagraphs): adjust
4539 (fullRebreak): adjust
4540 (updateCounters): adjust
4542 * text.C (top_y): rewrite to use RowList iterators.
4544 (setHeightOfRow): rewrite to sue RowList iterators.
4545 (appendParagraph): adjust
4546 (breakAgain): adjust
4547 (breakAgainOneRow): adjust
4548 (breakParagraph): adjust
4550 (getRowNearY): adjust, and remove commented code.
4552 * lyxtext.h (firstRow): delete function
4553 (lastRow): delete function
4554 (rows): new function (const and non-const versions.)
4555 (insertRow): delete function
4557 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4559 2003-03-29 John Levon <levon@movementarian.org>
4561 * BufferView_pimpl.C: always update scrollbar top
4562 because pasting text when we're anchored could mean we
4563 miss an update altogether
4565 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4567 * text2.C (init): use rowlist_.end() and not 0.
4568 (insertRow): change to take a RowList::iterator as arg, adjust
4570 (insertParagraph): change to take a RowList::iterator as arg,
4572 (redoParagraphs): remove some debug msgs.
4574 * text.C (appendParagraph): change to take a RowList::iterator
4575 arg, adjust for this.
4576 (breakAgain): add an assert
4577 (breakAgainOneRow): ditto
4579 2003-03-29 John Levon <levon@movementarian.org>
4581 * text2.C: do not clear selection after inc/decDepth
4584 2003-03-29 John Levon <levon@movementarian.org>
4587 * buffer.C: fix broken strerrors according to Lars
4589 2003-03-29 John Levon <levon@movementarian.org>
4591 * converters.C: more Alert cleanups
4593 2003-03-29 John Levon <levon@movementarian.org>
4595 * bufferview_funcs.C: remove pointless Alert
4597 * buffer.C: fix confusing error message when
4598 a template is chmoded 000
4600 2003-03-29 John Levon <levon@movementarian.org>
4604 * BufferView_pimpl.C: Alert fixes
4608 * tabular-old.C: remove unused table compat reading
4610 2003-03-29 John Levon <levon@movementarian.org>
4615 * lyx_cb.C: more Alert cleanups
4617 * lyxfunc.C: don't allow chktex if not latex document
4619 2003-03-29 John Levon <levon@movementarian.org>
4623 * buffer.C: warnings pushed down from support/,
4626 2003-03-29 John Levon <levon@movementarian.org>
4628 * lyxfunc.C: safety check for C-r (revert)
4630 2003-03-29 John Levon <levon@movementarian.org>
4633 * bufferlist.C: several UI fixes using Alert::prompt.
4634 Fix the pointless looping quit code. Fix stupid revert
4639 * lyx_cb.C: use Alert::prompt
4641 * lyx_main.C: remove a silly question
4643 * lyxfunc.C: remove a couple of silly questions,
4646 2003-03-28 John Levon <levon@movementarian.org>
4648 * text2.C: fix bug 974 (End on empty par)
4650 2003-03-28 John Levon <levon@movementarian.org>
4652 * BufferView_pimpl.C:
4654 * lfuns.h: remove do-nothing math greek lfuns
4656 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4658 * lyxgluelength.h (isValidGlueLength): add default arg on
4659 parameter 2. Remove default arg from friend in class.
4661 * lyxlength.h (isValidLength): add default arg on parameter 2.
4662 Remove default arg from friend in class.
4664 * text2.C (LyXText): adjust, initialize refresh_row.
4668 (insertParagraph): adjst
4669 (redoParagraphs): adjust
4670 (fullRebreak): adjust
4671 (updateCounters): adjust
4672 (deleteEmptyParagraphMechanism): first attempt at fixing a
4675 * text.C (top_y): adjust
4676 (setHeightOfRow): adjust
4678 (getRowNearY): adjust
4680 * lyxtext.h: include RowList.h
4681 (~LyXText): not needed anymore, deleted.
4682 (firstRow): modify for RowList
4683 (lastRow): new function
4684 Delete firstrow and lastrow class variables, add a Rowlist
4685 rowlist_ class variable.
4687 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4690 * RowList.C (insert): fix case where it == begin().
4692 2003-03-26 Angus Leeming <leeming@lyx.org>
4694 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4695 the thesaurus dialog.
4697 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4699 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4701 * RowList.[Ch]: new files
4703 * ParagraphList.C (erase): handle the case where it == begin
4706 2003-03-25 John Levon <levon@movementarian.org>
4710 * aspell.C: add new aspell support
4713 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4716 2003-03-25 Angus Leeming <leeming@lyx.org>
4719 * LyXAction.C (init): new LFUN_INSET_INSERT.
4721 * BufferView_pimpl.C (dispatch): split out part of the
4722 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4724 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4727 2003-03-25 Angus Leeming <leeming@lyx.org>
4729 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4731 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4734 * text3.C: remove useless row->height(0)
4736 2003-03-25 John Levon <levon@movementarian.org>
4740 * text3.C: rename the refreshing stuff to better names
4742 2003-03-24 John Levon <levon@movementarian.org>
4744 * BufferView_pimpl.h:
4745 * BufferView_pimpl.C: update layout choice on a mouse
4748 2003-03-23 John Levon <levon@movementarian.org>
4750 * Makefile.am: fix commandtags.h reference
4752 2003-03-22 John Levon <levon@movementarian.org>
4754 * BufferView_pimpl.C:
4759 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4761 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4764 * text.C: take the rtl methods out of line
4766 2003-03-21 André Pönitz <poenitz@gmx.net>
4768 * metricsinfo.[Ch]: new files containing structures to be passed around
4769 during the two-phase-drawing...
4771 2003-03-21 André Pönitz <poenitz@gmx.net>
4773 * lyxtextclass.C: read 'environment' tag.
4775 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4777 * text2.C (removeRow): fix bug 964
4779 2003-03-20 John Levon <levon@movementarian.org>
4783 * text2.C: paint cleanups. Inset::update() dropped font
4786 2003-03-19 John Levon <levon@movementarian.org>
4788 * lyxfunc.C: only fitcursor/markDirty if available()
4790 2003-03-19 John Levon <levon@movementarian.org>
4792 * commandtags.h: rename to ...
4794 * lfuns.h: ... this, and renumber / cleanup
4796 2003-03-19 John Levon <levon@movementarian.org>
4798 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4799 fit the cursor after an lfun
4803 * BufferView_pimpl.h:
4804 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4806 * LyXAction.C: layout-character should have ReadOnly
4808 * ParagraphParameters.C:
4810 * bufferview_funcs.C:
4817 * undo_funcs.C: changes from above
4819 2003-03-18 John Levon <levon@movementarian.org>
4821 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4822 remove it from update()
4824 * lyxfunc.C: update layout choice after an lfun
4826 * text3.C: remove extra updateLayoutChoice()s
4828 2003-03-18 John Levon <levon@movementarian.org>
4830 * text.C: top_y change means full repaint, fix
4831 a drawing bug with cursor movement
4833 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4837 * text2.C: anchor row on setCursor
4839 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4841 * lyxtext.h: remove almost all mutable keywords
4844 * text3.C: remove const keywords accordingly
4846 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4848 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4850 (TeXEnvironment): ditto
4853 2003-03-17 John Levon <levon@movementarian.org>
4855 * text.C (rowBreakPoint): remove attempt to fix displayed
4856 math insets inside a manual label
4858 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4860 * lyxtext.h: remove BufferView* as first arg from almost all class
4862 * other files: adjust.
4864 2003-03-17 John Levon <levon@movementarian.org>
4868 * text2.C: more paint cleanups
4870 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4873 * rowpainter.C: remove "smart" background painting code
4875 2003-03-16 John Levon <levon@movementarian.org>
4880 * text3.C: add helper functions for setting refresh_row/y
4882 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4884 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4885 newline inset which *can* get inserted in the pass_thru layouts.
4886 This is primarily for literate documents.
4888 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4890 * buffer.C: increment LYX_FORMAT to 223
4892 2003-03-14 André Pönitz <poenitz@gmx.net>
4894 * textclass.h: prepare for environment handling, ws changes
4895 * lyxlayout.C: read latexheader and latexfooter tags
4897 2003-03-14 John Levon <levon@movementarian.org>
4899 * text2.C: rewrite ::status() a bit
4901 2003-03-13 John Levon <levon@movementarian.org>
4903 * lyxtext.h: add some docs
4905 2003-03-13 John Levon <levon@movementarian.org>
4910 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4912 2003-03-13 John Levon <levon@movementarian.org>
4914 * text3.C: fix appendix redrawing
4916 2003-03-13 John Levon <levon@movementarian.org>
4918 * text.C (setHeightOfRow):
4920 * rowpainter.C: make appendix mark have the text
4921 "Appendix" so the user knows what it is
4924 * LColor.C: s/appendixline/appendix/ from above
4926 2003-03-13 John Levon <levon@movementarian.org>
4928 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4930 * text.C: fix a getChar(pos) bug properly
4932 2003-03-13 Angus Leeming <leeming@lyx.org>
4935 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4936 Probably only temporary. Let's see how things pan out.
4938 * BufferView.C (unlockInset):
4939 * BufferView_pimpl.C (fitCursor):
4940 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4942 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4943 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4945 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4946 new functions that convert ParagraphParameters to and from a string.
4948 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4949 BufferView::Pimpl's dispatch.
4950 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4952 2003-03-13 André Pönitz <poenitz@gmx.net>
4956 * factory.C: make it aware of InsetEnv
4958 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4960 * text2.C (setCursor): never ask for one past last
4961 (setCursor): add some debugging messages.
4963 * text.C (singleWidth): never ask for one past last
4964 (singleWidth): ditto
4966 (rightMargin): ditto
4967 (rowBreakPoint): ditto
4968 (setHeightOfRow): ditto
4969 (prepareToPrint): ditto
4971 * rowpainter.C (paintBackground): never ask for one past last
4972 (paintText): never ask for one past last
4974 * paragraph_pimpl.C (getChar): make the assert stricter, never
4975 allow the one past last pos to be taken
4977 * paragraph.C (getChar): ws changes only
4979 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4980 (numberOfSeparators): ditto
4981 (numberOfHfills): ditto
4983 2003-03-12 John Levon <levon@movementarian.org>
4989 * paragraph_funcs.C: fix per-buffer authorlists
4991 2003-03-12 John Levon <levon@movementarian.org>
4993 * text.C: fix newline in right address
4995 2003-03-12 Angus Leeming <leeming@lyx.org>
4997 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4998 duplicate those in LyXFunc::dispatch.
5002 * ToolbarDefaults.C:
5003 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5004 Add LFUN_FONTFREE_UPDATE.
5006 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5007 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5009 * bufferview_func.[Ch]: several new functions to facilliate
5010 transfer of data to and from the character dialog.
5012 2003-03-12 John Levon <levon@movementarian.org>
5017 * paragraph_funcs.C:
5018 * paragraph_pimpl.C:
5022 * text3.C: remove META_NEWLINE in favour of an inset
5025 * rowpainter.C: remove paintNewline (done by inset)
5027 2003-03-12 John Levon <levon@movementarian.org>
5029 * paragraph_pimpl.C: complain about bad getChar()s
5030 for a while at least
5032 2003-03-12 John Levon <levon@movementarian.org>
5035 * buffer.C: move paragraph read into a separate function,
5036 a little renaming to reflect that.
5039 * bufferparams.C: remove the author_ids map, not necessary now
5042 * factory.C: moved Buffer::readInset to here
5044 * paragraph_funcs.h:
5045 * paragraph_funcs.C: readParagraph free function moved from
5048 * tabular.C: name change
5050 2003-03-12 John Levon <levon@movementarian.org>
5053 * ParagraphParameters.C: move par params input to
5056 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5057 behave like a normal read from the stream wrt reading
5058 a line vs. a \\token
5060 2003-03-12 John Levon <levon@movementarian.org>
5063 * ParagraphParameters.h:
5064 * ParagraphParameters.C: move output code to a
5067 2003-03-12 John Levon <levon@movementarian.org>
5069 * BufferView.C (insertLyXFile):
5072 * tabular.C: use a parlist iterator for creating the
5075 2003-03-12 John Levon <levon@movementarian.org>
5077 * buffer.C: make current_change static local not
5080 2003-03-12 John Levon <levon@movementarian.org>
5082 * buffer.C: fix insertStringAsLines for change tracking
5084 2003-03-12 John Levon <levon@movementarian.org>
5091 * bufferparams.C: move author list into params. Rename some
5092 functions. Move the header reading into a separate token
5093 loop. Move the header token reading into BufferParams.
5095 2003-03-12 John Levon <levon@movementarian.org>
5097 * changes.C: put debug inside lyxerr.debugging() checks
5099 2003-03-11 André Pönitz <poenitz@gmx.net>
5101 * factory.C: make it aware of InsetHFill
5103 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5105 * buffer.C (latexParagraphs): move function from here...
5106 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5109 2003-03-10 Angus Leeming <leeming@lyx.org>
5111 * LyXAction.C (init): fix bug in poplating array with multiple entries
5112 with the same LFUN (spotted by JMarc).
5114 2003-03-10 John Levon <levon@movementarian.org>
5117 * text2.C: move getColumnNearX() near its
5120 2003-03-10 John Levon <levon@movementarian.org>
5122 * text.C: fix break before a minipage
5124 2003-03-10 John Levon <levon@movementarian.org>
5126 * text.C: fix the last commit
5128 2003-03-09 John Levon <levon@movementarian.org>
5132 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5133 bug 365 (don't break before insets unless needed). Don't
5134 return a value > last under any circumstances.
5136 2003-03-09 Angus Leeming <leeming@lyx.org>
5138 * BufferView_pimpl.C (trackChanges, dispatch): call
5139 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5141 2003-03-09 Angus Leeming <leeming@lyx.org>
5143 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5144 than Dialogs::showAboutlyx().
5146 2003-03-09 Angus Leeming <leeming@lyx.org>
5148 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5149 than Dialogs::showTabularCreate().
5151 2003-03-09 John Levon <levon@movementarian.org>
5155 * text2.C: 3rd arg to nextBreakPoint was always the same.
5158 2003-03-08 John Levon <levon@movementarian.org>
5165 * text2.C: Remove the "main" bit from the "main body"
5168 2003-03-08 John Levon <levon@movementarian.org>
5170 * text.C (leftMargin): The left margin of an empty
5171 manual label paragraph should not include the label width
5174 * text.C (prepareToPrint): don't attempt to measure hfills
5175 for empty manual label paragraphs - the answer should be 0
5177 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5179 * CutAndPaste.C: remove commented code and reindent.
5181 2003-03-08 John Levon <levon@movementarian.org>
5184 * lyxfunc.C: move reloadBuffer()
5187 * BufferView.C: to here
5189 * lyxvc.C: add comment
5192 * vc-backend.C: call bv->reload() to avoid
5193 getStatus() check on MENURELOAD
5195 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5197 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5198 to an old format .dep file.
5200 2003-03-07 Angus Leeming <leeming@lyx.org>
5202 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5203 when the LFUN_MOUSE_RELEASE should have been handled by
5204 inset->localDispatch.
5206 2003-03-07 Angus Leeming <leeming@lyx.org>
5208 * BufferView_pimpl.C (dispatch):
5209 * LyXAction.C (init):
5210 * ToolbarDefaults.C (init):
5212 * lyxfunc.C (getStatus):
5213 remove LFUN_INSET_GRAPHICS.
5215 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5217 2003-03-07 Angus Leeming <leeming@lyx.org>
5220 * LyXAction.C (init):
5221 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5223 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5226 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5228 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5229 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5231 2003-03-07 Angus Leeming <leeming@lyx.org>
5233 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5236 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5238 * ParagraphList.C (front): new function
5241 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5243 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5244 and top_row_offset_. removed var first_y.
5246 * text2.C (LyXText, removeRow):
5248 * BufferView_pimpl.C:
5249 use these methods instead of using first_y
5251 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5253 * text2.C (pasteSelection): adjust for checkPastePossible
5255 * CutAndPaste.C: remove Paragraph * buf and replace with
5256 ParagraphList paragraphs.
5257 (DeleteBuffer): delete
5258 (cutSelection): change the tc type to textclass_type
5259 (copySelection): change the tc type to textclass_type
5260 (copySelection): adjust for ParagraphList
5261 (pasteSelection): change the tc type to textclass_type
5262 (pasteSelection): adjust for Paragraphlist
5263 (nrOfParagraphs): simplify for ParagraphList
5264 (checkPastePossible): simplify for ParagraphList
5265 (checkPastePossible): remove unused arg
5267 * ParagraphList.C (insert): handle the case where there are no
5270 * CutAndPaste.h: make CutAndPaste a namespace.
5272 * text3.C (dispatch): adjust
5274 * text.C (breakParagraph): add a ParagraphList as arg
5276 * paragraph_funcs.C (breakParagraph): change to take a
5277 BufferParams and a ParagraphList as args.
5278 (breakParagraphConservative): ditto
5279 (mergeParagraph): ditto
5280 (TeXDeeper): add a ParagraphList arg
5281 (TeXEnvironment): ditto
5284 * buffer.C (readLyXformat2): adjust
5285 (insertStringAsLines): adjust
5286 (latexParagraphs): adjust
5288 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5289 (cutSelection): adjust
5290 (pasteSelection): adjust
5292 * BufferView_pimpl.C (insertInset): adjust
5294 2003-03-05 Angus Leeming <leeming@lyx.org>
5297 * LyXAction.C (init):
5298 * BufferView_pimpl.C (dispatch):
5299 * lyxfunc.C (getStatus):
5300 remove LFUN_CHILD_INSERT.
5302 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5304 2003-03-05 Angus Leeming <leeming@lyx.org>
5307 * LyXAction.C (init):
5308 * src/factory.C (createInset):
5309 * lyxfunc.C (getStatus):
5310 * text3.C (dispatch):
5311 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5313 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5315 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5317 * ParagraphList.C (insert): handle insert right before end()
5318 (erase): fix cases where it can be first or last paragraph.
5320 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5322 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5323 Paragraph::next and Paragraph::previous
5326 * text.C (breakParagraph): adjust
5328 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5329 BufferParams& as arg.
5330 (breakParagraph): use ParagraphList::insert
5331 (breakParagraphConservative): take a Buffer* instead of a
5332 BufferParams& as arg.
5333 (breakParagraphConservative): use ParagraphList::insert.
5335 * buffer.C (insertStringAsLines): un-const it
5336 (insertStringAsLines): adjust
5338 * ParagraphList.C (insert): new function
5340 * CutAndPaste.C (pasteSelection): adjust
5342 * text.C (backspace): adjust
5344 * tabular.C (SetMultiColumn): adjust
5346 * CutAndPaste.C (cutSelection): adjust
5347 (pasteSelection): adjust
5349 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5350 Buffer const * as arg
5352 * ParagraphList.C (erase): new function
5353 * paragraph_funcs.C (mergeParagraph): use it
5354 (mergeParagraph): make it take a Buffer* instead of a
5355 BufferParams* as arg
5357 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5359 (breakParagraphConservative): ditto
5361 * paragraph.h: remove the breakParagraph friend
5363 * paragraph.C (eraseIntern): new function
5364 (setChange): new function
5366 * paragraph_funcs.C (mergeParagraph): make it take a
5367 ParagraphList::iterator instead of a Paragraph *, adjust
5370 * paragraph.h: move an #endif so that the change tracking stuff
5371 also works in the NO_NEXT case.
5373 2003-03-04 Angus Leeming <leeming@lyx.org>
5376 * LyXAction.C: new LFUN_INSET_MODIFY.
5378 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5379 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5381 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5383 * several files: ws changes only
5385 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5386 (TeXEnvironment): ditto
5389 * buffer.C (makeLaTeXFile): adjust
5390 (latexParagraphs): make it take ParagraphList::iterator as args
5392 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5394 * buffer.C (latexParagraphs): adjust
5396 * paragraph.C (TeXOnePar): move function...
5397 (optArgInset): move function...
5398 (TeXEnvironment): move function...
5399 * paragraph_pimpl.C (TeXDeeper): move function...
5400 * paragraph_funcs.C: ...here
5402 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5404 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5406 * buffer.C (readInset): remove compability code for old Figure and
5409 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5411 * buffer.C: ws changes
5414 * BufferView_pimpl.C: ditto
5417 * bufferlist.h: ditto
5421 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5423 * converter.[Ch]: split into itself +
5426 * Makefile.am: += graph.[Ch] + format.[Ch]
5433 * lyxrc.C: added #include "format.h"
5435 2003-02-27 Angus Leeming <leeming@lyx.org>
5437 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5440 * factory.C (createInset): add "label" to the factory.
5442 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5443 string and do no more.
5445 2003-02-27 Angus Leeming <leeming@lyx.org>
5448 * LyXAction.C (init):
5449 * factory.C (createInset):
5450 * BufferView_pimpl.C (dispatch):
5451 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5453 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5455 * lyxfunc.C (dispatch):
5456 * text3.C (dispatch): pass name to params2string.
5458 2003-02-26 Angus Leeming <leeming@lyx.org>
5460 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5462 Rearrange the ~includes. Strip out the unnecessary ones.
5464 * factory.C (createInset): reformat.
5465 create new insets for the various LFUN_XYZ_APPLY lfuns.
5467 2003-02-26 John Levon <levon@movementarian.org>
5470 * lyxrow.C: add isParStart,isParEnd helpers
5472 * paragraph.h: make isInserted/DeletedText take refs
5474 * paragraph_funcs.h:
5475 * paragraph_funcs.C: remove #if 0'd code
5480 * text.C: use lyxrow helpers above.
5481 Move draw and paint routines to RowPainter.
5482 Make several methods use refs not pointers.
5483 Make backgroundColor() const.
5484 Add markChangeInDraw(), isInInset().
5485 Merge changeRegionCase into changeCase.
5486 Make workWidth() shouldn't-happen code into an Assert.
5489 * rowpainter.C: new class for painting a row.
5492 * vspace.C: make inPixels take a ref
5494 2003-02-26 Angus Leeming <leeming@lyx.org>
5496 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5499 2003-02-25 John Levon <levon@movementarian.org>
5501 * ispell.C: give the forked command a more accurate name
5503 2003-02-22 John Levon <levon@movementarian.org>
5506 * toc.C: make TocItem store an id not a Paragraph *
5509 2003-02-21 Angus Leeming <leeming@lyx.org>
5511 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5512 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5513 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5514 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5515 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5516 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5518 * BufferView_pimpl.C (dispatch):
5519 * LyXAction.C (init):
5520 * factory.C (createInset):
5521 * lyxfunc.C (getStatus, dispatch):
5522 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5524 2003-02-21 Angus Leeming <leeming@lyx.org>
5526 * BufferView_pimpl.C (MenuInsertLyXFile):
5527 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5528 * lyxfunc.C (menuNew, open, doImport):
5529 no longer pass a LyXView & to fileDlg.
5531 2003-02-21 Angus Leeming <leeming@lyx.org>
5533 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5534 * LyXAction.C: change, BIBKEY to BIBITEM.
5535 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5536 Change InsetBibKey to InsetBibitem.
5537 Change BIBKEY_CODE to BIBITEM_CODE.
5538 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5539 * factory.C: replace insetbib.h with insetbibitem.h.
5540 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5541 * paragraph.C: replace insetbib.h with insetbibitem.h.
5542 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5543 Change bibkey() to bibitem().
5544 * text.C: remove insetbib.h.
5545 * text2.C: replace insetbib.h with insetbibitem.h.
5546 change bibkey() to bibitem().
5547 * text3.C: remove insetbib.h.
5548 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5550 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5552 * lyxrc.C (output): enclose user email in quotes (in case there are
5555 2003-02-18 John Levon <levon@movementarian.org>
5557 * buffer.h: add std::
5559 2003-02-17 John Levon <levon@movementarian.org>
5565 * pspell.C: reworking. Especially in ispell, a large
5566 number of clean ups and bug fixes.
5568 * lyxfunc.C: fix revert to behave sensibly
5570 2003-02-17 André Pönitz <poenitz@gmx.net>
5573 * commandtags.h: new LFUN_INSERT_BIBKEY
5583 * paragraph_func.C: remove special bibkey handling
5585 2003-02-17 John Levon <levon@movementarian.org>
5587 * text.C (Delete): fix case where delete at the end of
5588 the very first paragraph would not merge the pars
5590 2003-02-17 John Levon <levon@movementarian.org>
5592 * lyxrow.C: fix lastPrintablePos()
5594 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5596 * bufferparams.C (writeLaTeX): add a std:here
5598 * buffer.C: and remove a using directive there
5600 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5602 * buffer.C (makeLaTeXFile): move the code that generates the
5605 * bufferparams.C (writeLaTeX): ... in this new method
5607 * LaTeXFeatures.C (getEncodingSet): make const
5608 (getLanguages): make const
5610 * MenuBackend.C (binding): returns the binding associated to this
5612 (add): sets the status of each item by calling getStatus. Adds
5614 (read): add support for OptSubMenu
5615 (expand): remove extra separator at the end of expanded menu
5617 2003-02-15 John Levon <levon@movementarian.org>
5620 * BufferView_pimpl.C:
5622 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5623 inset code that had no actual effect. Remove unneeded status
5626 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5628 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5631 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5633 * text.C (drawLengthMarker): also draw an arrow marker for
5634 symbolic lengths (medskip...)
5636 2003-02-14 John Levon <levon@movementarian.org>
5639 * tabular.C: better method names
5641 2003-02-14 John Levon <levon@movementarian.org>
5643 * BufferView_pimpl.C:
5648 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5649 it's a more accurate name. Remove some pointless uses.
5651 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5653 * text2.C (LyXText): change order of initilizers to shut off
5656 2003-02-14 John Levon <levon@movementarian.org>
5658 * buffer.C: use ParIterator for getParFromID()
5662 * paragraph_pimpl.h:
5663 * paragraph_pimpl.C: remove unused getParFromID()
5665 2003-02-14 John Levon <levon@movementarian.org>
5667 * buffer.C: remove some very old #if 0'd parse code
5669 2003-02-13 John Levon <levon@movementarian.org>
5673 * text2.C: move hfillExpansion(), numberOfSeparators(),
5674 rowLast(), rowLastPrintable(), numberofHfills(),
5675 numberOfLabelHfills() ...
5678 * lyxrow.C: ... to member functions here.
5683 * text.C: remove LyXText::beginningOfMainBody(), and call
5684 p->beginningOfMainBody() directly. Move the check for
5685 LABEL_MANUAL into the latter.
5692 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5698 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5699 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5701 2003-02-13 John Levon <levon@movementarian.org>
5703 * CutAndPaste.C: remove debug
5705 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5707 * paragraph.C (asString): remove two unused variables
5709 * lyxtextclass.C (readTitleType):
5711 (LyXTextClass): handle new members titletype_ and titlename_
5713 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5715 2003-02-09 John Levon <levon@movementarian.org>
5718 * buffer.C: replace hand-coded list with a map for the dep clean
5720 2003-02-08 John Levon <levon@movementarian.org>
5722 * LaTeX.C: consolidate code into showRunMessage() helper
5724 2003-02-08 John Levon <levon@movementarian.org>
5729 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5730 and pass the size in explicitly
5732 * BufferView_pimpl.h:
5733 * BufferView_pimpl.C:
5735 * BufferView.C: add getCurrentChange()
5737 * BufferView_pimpl.h:
5738 * BufferView_pimpl.C: handle change lfuns
5740 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5741 for changes. Mark pasted paragraphs as new.
5743 * support/lyxtime.h:
5744 * support/lyxtime.C:
5745 * DepTable.C: abstract time_t as lyx::time_type
5748 * LColor.C: add colours for new text, deleted text, changebars
5750 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5751 package use "usenames" option.
5755 * LyXAction.C: add change lfuns
5759 * author.C: author handling
5762 * buffer.C: add a per-buffer author list, with first entry as
5763 current author. Handle new .lyx tokens for change tracking. Output
5764 author list to .lyx file. Output dvipost stuff to .tex preamble.
5765 Bump lyx format to 222.
5768 * bufferlist.C: add setCurrentAuthor() to reset current author details
5772 * bufferparams.C: add param for tracking
5774 * bufferview_funcs.C: output change info in minibuffer
5778 * changes.C: add change-tracking structure
5781 * debug.C: add CHANGES debug flag
5784 * lyxfind.C: add code for finding the next change piece
5787 * lyxrc.C: add user_name and user_email
5790 * lyxrow.C: add a metric for the top of the text line
5793 * text.C: implement accept/rejectChange()
5796 * text.C: paint changebars. Paint new/deleted text in the chosen
5797 colours. Strike through deleted text.
5801 * paragraph_pimpl.h:
5802 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5803 in the current change to the insert functions. Rework erase to
5804 mark text as deleted, adding an eraseIntern() and a range-based
5805 erase(). Implement per-paragraph change lookup and
5808 * paragraph_funcs.C: Fixup paste for change tracking.
5810 * tabular.C: mark added row/columns as new.
5812 * text.C: fix rowLast() to never return -1. Don't allow
5813 spellchecking of deleted text. Track transpose changes. Don't
5814 allow paragraph break or merge where appropriate.
5816 * text2.C: leave cursor at end of selection after a cut.
5818 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5820 * text.C (getLengthMarkerHeight):
5821 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5822 visible on screen too.
5824 2003-02-07 John Levon <levon@movementarian.org>
5826 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5828 2003-02-05 Angus Leeming <leeming@lyx.org>
5830 * lyxserver.C (read_ready): revert my patch of 11 September last year
5831 as it sends PC cpu through the roof. Presumably this means that
5832 the lyxserver will no longer run on an Alpha...
5834 2003-01-30 Angus Leeming <leeming@lyx.org>
5836 * factory.C (createInset): create an InsetCommandParam of type "index"
5837 and use it to 'do the right thing'.
5839 * text2.C (getStringToIndex): ensure that cursor position is always
5840 reset to the reset_cursor position.
5842 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5844 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5847 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5851 * lyxfunc.C: Output messages with identical spelling, punctuation,
5854 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5856 * MenuBackend.C (expandFormats): List only viewable export formats
5859 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5862 * lyxfunc.C (getStatus): Make sure that formats other than
5863 "fax" can also be disabled
5865 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5867 * text3.C (dispatch): put the lfuns that insert insets in 3
5868 groups, and call doInsertInset with appropriate arguments.
5869 (doInsertInset): new function, that creates an inset and inserts
5870 it according to some boolean parameters.
5872 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5874 * buffer.C (readFile): remember to pass on 'par' when calling
5875 readFile recursively.
5877 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5879 * MenuBackend.C (expandFormats): add "..." to import formats.
5881 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5883 * paragraph.C (asString): Remove XForms RTL hacks.
5885 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5886 * buffer.C: fix typo
5888 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5890 * Makefile.am (LIBS): delete var
5891 (lyx_LDADD): add @LIBS@ here instead.
5893 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5895 * Clarify the meaning of "wheel mouse jump"
5897 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5899 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5902 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5904 * importer.C (Loaders): do not preallocate 3 elements in the
5905 vector, since one ends up with 6 elements otherwise
5907 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5909 * DepTable.C (write): write the file name as last element of the
5910 .dep file (because it may contain spaces)
5911 (read): read info in the right order
5913 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5915 * paragraph_pimpl.C (simpleTeXBlanks):
5916 (simpleTeXSpecialChars):
5917 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5919 * tabular.C (latex): add some missing case statements. Reindent.
5921 * MenuBackend.C (expandToc): remove unused variable.
5923 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5932 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5935 2003-01-05 John Levon <levon@movementarian.org>
5938 * BufferView.C: add getEncoding()
5941 * kbsequence.C: do not store last keypress
5944 * lyxfunc.C: store last keypress here instead. Pass encoding
5947 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5949 * lyx_main.C (init): remove annoying error message when following
5950 symbolic links (bug #780)
5952 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5954 * text.C (insertChar):
5955 * lyxrc.C (getDescription): remove extra spaces
5957 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5959 * lyxrc.C (getDescription): remove extra spaces
5961 2002-12-20 John Levon <levon@movementarian.org>
5963 * text3.C: hack fix for page up/down across tall rows
5965 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5967 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5970 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5972 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5973 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5974 thesaurus is not compiled in
5976 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5978 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5980 2002-12-16 Angus Leeming <leeming@lyx.org>
5983 * lyx_main.C (init): remove override_x_deadkeys stuff.
5985 2002-12-12 John Levon <levon@movementarian.org>
5987 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5988 insert. Only remove shift modifier under strict
5991 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5993 * MenuBackend.C (expandToc): fix crash.
5995 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5997 * MenuBackend.C (expandToc): gettext on float names.
5999 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6001 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6002 implement bool empty() [bug 490]
6004 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6006 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6008 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6010 * several files: ws changes
6012 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6014 * text2.C (setCounter): clean up a bit, use boost.format.
6015 (updateCounters): initialize par upon declaration.
6017 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6018 if the layout exists. We do not just store the layout any more.
6019 (SwitchLayoutsBetweenClasses): use boost.format
6021 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6023 * converter.C (convert): if from and to files are the same, use a
6024 temporary files as intermediary
6026 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6029 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6031 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6033 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6035 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6037 * tabular.C (asciiPrintCell): use string(size, char) instead of
6040 * sgml.C (openTag): fix order of arguments to string constructor
6043 * lyxfunc.C (dispatch): use boost.format
6045 * lots of files: change "c" -> 'c'
6047 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6049 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6051 2002-11-25 Angus Leeming <leeming@lyx.org>
6053 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6055 * lyx_main.C (init): compile fix.
6057 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6059 * lyx_cb.C (start): boost.formatify
6060 do not include <iostream>
6062 * lengthcommon.C: ws only
6064 * boost-inst.C,BoostFormat.h: add more explict instantations
6066 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6068 * lots of files: handle USE_BOOST_FORMAT
6070 2002-11-21 John Levon <levon@movementarian.org>
6072 * pspell.C: fix compile
6074 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6076 * lyxfunc.C (dispatch): use boost::format
6080 * lyxfont.C (stateText): use boost::format
6082 * lyx_main.C (LyX): use boost::format
6084 (queryUserLyXDir): ditto
6087 (typedef boost::function): use the recommened syntax.
6089 * importer.C (Import): use boost::format
6091 * debug.C (showLevel): use boost::format
6093 * converter.C (view): use boost::format
6098 * bufferview_funcs.C (currentState): use boost::format
6100 * bufferlist.C (emergencyWrite): use boost::format
6102 * buffer.C (readLyXformat2): use boost::format
6103 (parseSingleLyXformat2Token): ditto
6105 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6107 * LaTeX.C (run): use boost::format
6109 * Chktex.C (scanLogFile): use boost::format
6111 * BufferView_pimpl.C (savePosition): use boost::format
6112 (restorePosition): ditto
6113 (MenuInsertLyXFile): ditto
6115 * BoostFormat.h: help file for explicit instation.
6117 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6119 * tabular.C (latex): Support for block alignment in fixed width
6122 2002-11-17 John Levon <levon@movementarian.org>
6124 * BufferView_pimpl.C:
6126 * lyxfunc.C: split filedialog into open/save
6128 2002-11-08 Juergen Vigna <jug@sad.it>
6130 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6131 by my last patch (hopefully).
6133 2002-11-08 John Levon <levon@movementarian.org>
6142 * toc.C: ParConstIterator, and use it (from Lars)
6144 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6146 * lyxtextclass.[Ch]: revise and add doxygen comments
6148 2002-11-07 John Levon <levon@movementarian.org>
6150 * text.C: fix progress value for spellchecker
6152 * toc.C: fix navigate menu for insetwrap inside minipage
6154 * paragraph_funcs.C: added FIXME for suspect code
6156 2002-11-07 John Levon <levon@movementarian.org>
6158 * BufferView_pimpl.C: fix redrawing of insets
6161 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6163 * text2.C (updateCounters): fix bug 668
6165 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6167 * text3.C (dispatch): Do not make the buffer dirty when moving the
6170 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6172 * vc-backend.C: STRCONV
6175 * text2.C (setCounter): STRCONV
6177 * paragraph.C (asString): STRCONV
6179 * lyxlength.C (asString): STRCONV
6180 (asLatexString): ditto
6182 * lyxgluelength.C (asString): STRCONV
6183 (asLatexString): ditto
6185 * lyxfunc.C (dispatch): STRCONV
6188 * lyxfont.C (stateText): STRCONV
6190 * importer.C (Import): STRCONV
6192 * counters.C (labelItem): STRCONV
6193 (numberLabel): ditto
6194 (numberLabel): remove unused ostringstream o
6199 * bufferview_funcs.C (currentState): STRCONV
6201 * buffer.C (readFile): STRCONV
6202 (asciiParagraph): ditto
6203 (makeLaTeXFile): ditto
6205 * Spacing.C (writeEnvirBegin): STRCONV
6207 * LaTeXFeatures.C (getLanguages): STRCONV
6208 (getPackages): ditto
6210 (getBabelOptions): ditto
6211 (getTClassPreamble): ditto
6212 (getLyXSGMLEntities): ditto
6213 (getIncludedFiles): ditto
6217 (scanAuxFile): ditto
6220 * LString.h: add the STRCONV macros
6222 * BufferView_pimpl.C (savePosition): STRCONV
6223 (restorePosition): ditto
6224 (MenuInsertLyXFile): ditto
6226 * vc-backend.C (scanMaster): change from submatch[...] to
6229 * funcrequest.C: include config.h
6231 * factory.C: include config.h
6233 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6235 * box.C: include config.h
6237 * LaTeX.C (scanAuxFile): change from submatch[...] to
6241 2002-10-25 Angus Leeming <leeming@lyx.org>
6243 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6245 * ispell.[Ch] (setError): new method.
6246 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6247 Use setError() insetead of goto END.
6249 * lyx_cb.C (AutoSave): move out child process into new class
6252 2002-10-30 John Levon <levon@movementarian.org>
6254 * text3.C: make start appendix undoable
6256 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6258 * lyxlength.C (inPixels): Fix returned value.
6260 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6263 2002-10-24 Angus Leeming <leeming@lyx.org>
6265 * lyxgluelength.h: no need to forward declare BufferParams
6266 or BufferView, so don't.
6268 2002-10-21 John Levon <levon@movementarian.org>
6270 * BufferView.C: menuUndo ->undo, redo
6272 * BufferView.h: document, remove dead, make some methods private
6274 * paragraph_funcs.h:
6275 * paragraph_funcs.C:
6276 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6281 * sgml.C: move sgml open/close tag into sgml.C
6283 * bufferview_funcs.h: unused prototype
6286 * lyxfunc.C: remove unused
6289 * text.C: remove unused
6291 2002-10-21 John Levon <levon@movementarian.org>
6295 * BufferView_pimpl.h:
6296 * BufferView_pimpl.C: fix mouse wheel handling based on
6297 patch from Darren Freeman
6299 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6301 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6303 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6305 * lyxlength.C (inPixels): Fix hanfling of negative length.
6306 Fix LyXLength::MU case.
6308 2002-10-16 John Levon <levon@movementarian.org>
6310 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6312 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6314 * converter.C (view): add support for $$i (file name) and $$p
6315 (file path) for the viewer command. If $$i is not specified, then
6316 it is appended to the command (for compatibility with old syntax)
6318 2002-10-14 Juergen Vigna <jug@sad.it>
6320 * undo_funcs.C (textHandleUndo): alter the order in which the
6321 new undopar is added to the LyXText, as we have to set first
6322 the right prev/next and then add it as otherwise the rebuild of
6323 LyXText is not correct. Also reset the cursor to the right paragraph,
6324 with this IMO we could remove the hack in "redoParagraphs()".
6326 2002-10-09 Angus Leeming <leeming@lyx.org>
6328 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6329 to turn off an optimisation if a new inset is to be inserted.
6331 2002-10-11 André Pönitz <poenitz@gmx.net>
6333 * lyxtext.h: make some functions public to allow access
6334 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6336 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6338 * text3.C (dispatch): when changing layout, avoid an infinite loop
6341 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6343 * lyxrc.C (read): treat a viewer or converter command of "none" as
6346 * MenuBackend.C (expandFormats): for an update, also allow the
6347 formats that are not viewable
6349 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6350 script if it is newer than the lyxrc.defaults in user directory
6352 2002-10-07 André Pönitz <poenitz@gmx.net>
6354 * text.C: Vitaly Lipatov's small i18n fix
6356 2002-09-25 Angus Leeming <leeming@lyx.org>
6358 * ispell.h: doxygen fix.
6360 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6362 * buffer.h (readFile): Add a new argument to the method, to allow
6363 reading of old-format templates.
6365 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6367 * toc.C (getTocList): Get TOC from InsetWrap.
6369 2002-09-16 John Levon <levon@movementarian.org>
6371 * lyxfunc.C: check tabular for cut/copy too
6373 2002-09-12 John Levon <levon@movementarian.org>
6378 * factory.C: add header
6380 * paragraph_funcs.h:
6381 * paragraph_funcs.C: cleanup
6383 2002-09-11 John Levon <levon@movementarian.org>
6385 * PrinterParams.h: odd/even default to true
6387 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6389 * PrinterParams.h: update printer parameters for new xforms dialog
6391 2002-09-11 Angus Leeming <leeming@lyx.org>
6393 * lyxserver.C (read_ready): re-write to make it more transparent
6394 and to make it work in coherent fashion under Tru64 Unix.
6396 2002-09-11 André Pönitz <poenitz@gmx.net>
6400 * text3.C: implement LFUN_WORDSEL
6402 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6404 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6405 make floatlist_ a boost::shared_ptr<FloatList>
6407 * lyxtextclass.C: include FloatList.h
6408 (LyXTextClass): initialize floatlist_
6409 (TextClassTags): add TC_NOFLOAT
6410 (Read): match "nofloat" to TC_NOFLOAT and use it.
6411 (readFloat): modify call to floatlist_
6415 * FloatList.[Ch] (FloatList): remove commented out float
6417 (erase): new function
6419 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6421 * MenuBackend.C (expandToc): fix crash when there is no document
6424 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6426 * many files: Add insetwrap.
6428 2002-09-09 John Levon <levon@movementarian.org>
6430 * text2.C: remove confusing and awkward depth wraparound
6432 2002-09-09 John Levon <levon@movementarian.org>
6434 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6437 * buffer.C: remove getIncludeonlyList()
6440 * lyxfunc.C: remove headers
6442 2002-09-09 Juergen Vigna <jug@sad.it>
6444 * text.C (getColumnNearX): fix form Michael this is most
6445 probably a cut&paste bug.
6447 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6449 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6451 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6452 references, ws changes.
6454 * text2.C (init): update counters after init
6455 (insertParagraph): no need to set counter on idividual paragraphs.
6456 (setCounter): access the counters object in the textclass object
6457 on in the buffer object.
6458 (updateCounters): ditto
6460 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6461 shared_ptr<Counters> to avoid loading counters.h in all
6463 (LyXTextClass): initialize ctrs_
6464 (TextClassTags): add TC_COUNTER, and ...
6465 (Read): use it here.
6466 (CounterTags): new tags
6467 (readCounter): new function
6468 (counters): new funtion
6469 (defaultLayoutName): return a const reference
6471 * counters.C (Counters): remove contructor
6472 (newCounter): remove a couple of unneeded statements.
6473 (newCounter): simplify a bit.
6474 (numberLabel): some small formatting changes.
6476 * buffer.[Ch]: remove all traces of counters, move the Counters
6477 object to the LyXTextClass.
6479 2002-09-06 Alain Castera <castera@in2p3.fr>
6481 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6482 package to set the horizontal alignment on fixed width columns.
6485 * lyx_sty.h: added tabularnewline macro def.
6487 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6489 2002-09-06 John Levon <levon@movementarian.org>
6491 * LyXAction.C: tooltips for sub/superscript
6493 * MenuBackend.C: a bit more verbose
6495 * lyxfunc.C: tiny clean
6497 * undo_funcs.C: document undo_frozen
6499 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6501 * counters.C (Counters): add missing algorithm counter.
6503 * text2.C (setCounter): lookup the counter with layouts latexname
6504 instead of by section number.
6505 (setCounter): use a hackish way to lookup the correct enum
6507 a float name->type change
6508 reset enum couners with counter name directly instead of depth value.
6510 * counters.C (Counters): remove the push_backs, change to use the
6511 float type not the float name.
6512 (labelItem): remove unused string, float name->type change
6514 * counters.h: don't include vector, loose the enums and sects vectors
6516 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6518 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6519 (Read): add float->TC_FLOAT to textclassTags
6520 (Read): and handle it in the switch
6521 (readFloat): new function
6523 * FloatList.C (FloatList): comment out the hardcoded float
6526 * lyxlayout.h: ws change.
6528 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6530 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6532 2002-09-03 Angus Leeming <leeming@lyx.org>
6534 * BufferView_pimpl.h: qualified name is not allowed in member
6535 declaration: WorkArea & Pimpl::workarea() const;
6537 * factory.C: added using std::endl directive.
6539 * text3.C: added using std::find and std::vector directives.
6541 2002-08-29 André Pönitz <poenitz@gmx.net>
6544 * text2.C: remove unused member number_of_rows
6547 * BufferView2.C: remove file, move contents to...
6548 * BufferView.C: ... here
6550 * BufferView_pimpl.C:
6551 * factory.C: move more inset creation to factory
6553 * vspace.C: avoid direct usage of LyXText, ws changes
6556 don't provide direct access to WorkArea, use two simple
6557 acessors haveSelction() and workHeight() instead
6560 2002-08-29 John Levon <levon@movementarian.org>
6562 * BufferView_pimpl.C (dispatch): do not continue when
6565 2002-08-28 André Pönitz <poenitz@gmx.net>
6567 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6570 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6572 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6574 * buffer.C: increment LYX_FORMAT to 221
6576 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6577 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6579 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6581 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6583 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6585 * factory.C (createInset): use LyXTextClass::floats
6587 * MenuBackend.C (expandFloatListInsert):
6588 (expandFloatInsert):
6591 * text2.C (setCounter):
6593 * LaTeXFeatures.C (useFloat):
6594 (getFloatDefinitions):
6596 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6598 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6599 floatlist_, with accessor floats().
6601 * FloatList.h: remove global FloatList
6603 2002-08-26 André Pönitz <poenitz@gmx.net>
6605 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6609 * BufferView_pimpl.C:
6610 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6612 2002-08-25 John Levon <levon@movementarian.org>
6614 * LyXAction.C: fix margin note description
6616 2002-08-24 John Levon <levon@movementarian.org>
6620 * bufferview_funcs.C:
6622 * undo_funcs.C: cleanups
6624 * lyxfunc.C: disable CUT/COPY when no selection
6626 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6628 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6629 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6631 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6632 Add backward compatibility to "mono", "gray" and "no".
6634 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6636 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6637 (and file_format >= 200).
6639 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6641 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6643 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6645 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6647 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6649 * BufferView_pimpl.C:
6656 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6657 inset and code to make it work with the paragraph code. The inset
6658 can be anywhere in the paragraph, but will only do the expected
6659 thing in LaTeX if the layout file contains the parameter line
6661 (or more generally, a nonzero value) for that layout.
6663 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6665 * paragraph.h: remove the declaration of undefined counters class
6668 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6670 * text2.C (setCounter): fixed enumeration mis-count as reported by
6671 Dr. Richard Hawkins.
6673 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6675 * paragraph_funcs.h: remove some unneeded includes
6677 * text.C (backspace): pasteParagraph now in global scipe
6679 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6680 (pasteSelection): ditto
6682 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6683 * paragraph_funcs.C (pasteParagraph): ... here
6685 2002-08-20 André Pönitz <poenitz@gmx.net>
6687 * commandtags.h: new LFUNs for swapping/copying table row/colums
6690 * lyxfunc.C: support for new lfuns
6692 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6695 * buffer.[Ch]: remove NO_COMPABILITY stuff
6697 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6699 * boost.C (throw_exception): new file, with helper function for
6700 boost compiled without exceptions.
6705 * ParameterStruct.h:
6706 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6708 * bufferlist.C (emergencyWriteAll): use boost bind
6710 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6712 * text.C: include paragraph_funcs.h
6713 (breakParagraph): breakParagraph is now in global scope
6715 * paragraph_funcs.[Ch]: new files
6717 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6720 * buffer.C: include paragraph_funcs.h
6721 (insertStringAsLines): breakParagraph is now in global scope
6723 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6726 * CutAndPaste.C: include paragraph_funcs.h
6727 (cutSelection): breakParagraphConservative is now in global scope
6728 (pasteSelection): ditto
6730 * buffer.h: declare oprator== and operator!= for
6731 Buffer::inset_iterator
6733 * bufferlist.C (emergencyWrite): don't use fmt(...)
6735 * text3.C: add using std::endl
6737 * BufferView.C (moveCursorUpdate): remove default arg
6739 2002-08-20 André Pönitz <poenitz@gmx.net>
6741 * buffer.[Ch]: move inline functions to .C
6744 * BufferView_pimpl.C:
6746 * buffer.[Ch]: use improved inset_iterator
6749 * paragraph.[Ch]: write one paragraph at a time
6751 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6753 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6754 style if style is not specified.
6756 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6758 * text2.C (setCounter): when searching for right label for a
6759 caption, make sure to recurse to parent insets (so that a caption
6760 in a minipage in a figure float works) (bug #568)
6762 2002-08-20 André Pönitz <poenitz@gmx.net>
6764 * text3.C: new file for LyXText::dispatch() and helpers
6766 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6768 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6770 2002-08-19 André Pönitz <poenitz@gmx.net>
6773 * text.C: new LyXText::dispatch()
6775 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6777 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6779 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6781 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6784 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6786 * Makefile.am: use $(variables) instead of @substitutions@
6788 2002-08-15 André Pönitz <poenitz@gmx.net>
6791 * BufferView_pimpl.C: streamlining mathed <-> outer world
6795 * LyXAction.C: remove unused LFUN_MATH
6797 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6799 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6801 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6803 * paragraph.C (Paragraph): reformat a bit
6804 (cutIntoMinibuffer): use builtin InsetList function instad of
6808 * buffer.C: include boost/bind.hpp, add using std::for_each
6809 (writeFileAscii): use ParagraphList iterators
6810 (validate): use for_each for validate traversal of paragraphs
6811 (getBibkeyList): use ParagraphList iterators
6812 (resizeInsets): use for_each to resizeInsetsLyXText for all
6814 (getParFromID): use ParagraphList iterators
6816 * BufferView2.C (lockInset): use paragraph list and iterators
6818 2002-08-14 John Levon <levon@movementarian.org>
6820 * lyxserver.C: remove spurious xforms include
6822 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6824 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6826 2002-08-13 André Pönitz <poenitz@gmx.net>
6829 * lyxfunc.C: further cleaning
6831 2002-08-13 André Pönitz <poenitz@gmx.net>
6833 * funcrequest.h: new constructor
6835 * funcrequest.C: move stuff here from .h
6838 * BufferView_pimpl.C:
6841 * lyxfunc.C: subsequent changes
6843 * lyxfunc.h: new view() member function
6845 * lyxfunc.C: subsequent changes
6847 2002-08-13 Angus Leeming <leeming@lyx.org>
6850 * BufferView_pimpl.C:
6858 changes due to the changed LyXView interface that now returns references
6859 to member variables not pointers.
6861 2002-08-13 Angus Leeming <leeming@lyx.org>
6863 * WordLangTuple (word, lang_code): return references to strings,
6868 * lyxtext.h: forward-declare WordLangTuple.
6873 * text.C: #include "WordLangTuple.h".
6876 * text.C: (selectNextWordToSpellcheck): constify return type.
6878 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6884 * paragraph_pimpl.h:
6887 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6889 Made updateCounter always count from start of buffer, and removed
6890 second argument (par).
6891 Reverted floats number display to '#'. Perhaps I'll try again when the
6892 code base is sanitized a bit.
6894 2002-08-12 Angus Leeming <leeming@lyx.org>
6896 * buffer.[Ch] (getLabelList): constify.
6898 2002-08-07 André Pönitz <poenitz@gmx.net>
6900 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6902 * funcrequest.h: extension to keep mouse (x,y) position
6904 2002-08-12 Juergen Vigna <jug@sad.it>
6906 * BufferView2.C (insertErrors): forbid undo when inserting error
6909 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6911 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6913 * ParagraphList.[Ch]: new files
6915 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6917 * BufferView2.C (lockInset): ParagraphList changes
6920 * bufferlist.C: ditto
6924 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6926 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6927 unused class variable counter_,
6929 * paragraph.[Ch] (getFirstCounter): delete unused function
6931 * counters.C: include LAssert.h
6932 (reset): add a new function with no arg, change other version to
6933 not have def. arg and to not allow empty arg.
6935 * text2.C (setCounter): remove empty arg from call to Counters::reset
6937 2002-08-11 John Levon <levon@movementarian.org>
6939 * Makefile.am: add WordLangTuple.h
6941 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6943 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6944 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6946 * insets/insettext.C: InsetList changes
6948 * graphics/GraphicsSupport.C (operator()): InsetList changes
6950 * toc.C (getTocList): InsetList changes
6952 * paragraph_pimpl.[Ch]: InsetList changes
6954 * paragraph.[Ch]: InsetList changes
6956 * buffer.C (inset_iterator): InsetList changes
6957 (setParagraph): ditto
6958 * buffer.h (inset_iterator): ditto
6959 * iterators.C (operator++): ditto
6960 * iterators.h: ditto
6962 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6964 * InsetList.[Ch]: new files, most InsetList handling moved out of
6967 * BufferView2.C (removeAutoInsets): InsetList changes
6969 (ChangeInsets): ditto
6971 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6973 * paragraph_pimpl.h (empty): new function
6975 * paragraph.[Ch] (empty): new function
6977 * other files: use the new Paragraph::empty function
6979 2002-08-09 John Levon <levon@movementarian.org>
6981 * lyxtext.h: remove unused refresh_height
6983 2002-08-09 John Levon <levon@movementarian.org>
6990 * paragraph.C: move sgml char escaping out of paragraph
6993 * paragraph.C: remove id setter
6997 * paragraph_pimpl.C: remove dead tex_code_break_column
6999 * bufferview_funcs.C: small cleanup
7001 * lyxfunc.C: remove dead proto
7003 * lyxtext.h: make some stuff private. Remove some dead stuff.
7005 * lyxgluelength.C: make as[LyX]String() readable
7007 2002-08-08 John Levon <levon@movementarian.org>
7012 * ToolbarDefaults.C:
7015 * toc.C: lyxaction cleanup
7017 2002-08-08 John Levon <levon@movementarian.org>
7019 * BufferView2.C: small cleanup
7022 * lyxfind.C: move unnecessary header into the .C
7024 2002-08-08 John Levon <levon@movementarian.org>
7026 * funcrequest.h: just tedious nonsense
7029 * lyx_main.C: cleanups
7032 * vspace.C: remove dead header lyx_main.h
7034 2002-08-07 Angus Leeming <leeming@lyx.org>
7037 * paragraph_pimpl.h:
7038 Forward declare class Counters in paragraph.h by moving the ctrs member
7039 variable into Paragraph::Pimpl.
7040 (counters): new method, returning a reference to pimpl_->ctrs.
7042 * text2.C: ensuing changes.
7044 2002-08-07 John Levon <levon@movementarian.org>
7046 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7048 * BufferView_pimpl.C: announce X selection on double/triple
7051 * lyx_main.C: use correct bool in batch dispatch
7053 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7055 2002-08-07 André Pönitz <poenitz@gmx.net>
7057 * funcrequest.h: new class to wrap a kb_action and its argument
7060 * BufferView_pimpl[Ch]:
7064 * lyxrc.C: subsequent changes
7067 2002-08-07 John Levon <levon@movementarian.org>
7069 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7070 document options change.
7072 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7077 * makefile.am: move counters functionality over from
7078 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7080 2002-08-06 John Levon <levon@movementarian.org>
7082 * WordLangTuple.h: new file for word + language code tuple
7093 * BufferView2.C: use WordLangTuple
7096 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7098 2002-08-06 John Levon <levon@movementarian.org>
7100 * lyx_main.C: fix cmdline batch handling
7102 2002-08-06 André Pönitz <poenitz@gmx.net>
7104 * lyxrc.C: set default for show_banner to true
7106 2002-08-06 John Levon <levon@movementarian.org>
7108 * pspell.C: fix a crash, and allow new aspell to work
7110 2002-08-06 John Levon <levon@movementarian.org>
7113 * kbmap.C: small cleanup
7116 * vspace.C: add const
7118 2002-08-05 John Levon <levon@movementarian.org>
7120 * LyXAction.C: back to tabular-insert
7122 2002-08-04 John Levon <levon@movementarian.org>
7125 * BufferView.C: cosmetic change
7127 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7137 * BufferView2.C: purge all "Lyx" not "LyX" strings
7140 * lyxcursor.C: attempt to add some documentation
7145 * ToolbarDefaults.C:
7146 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7147 merge with LFUN_TABULAR_INSERT
7154 * pspell.C: split up i/pspell implementations into separate
7155 files, many cleanups
7157 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7159 * text2.C: some cleanup
7161 * lyxfunc.C: don't check for isp_command == "none" any more, it
7162 didn't make any sense
7164 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7169 * makefile.am: move counters functionality over
7170 from text2.C/paragraph.[Ch] to counters.[Ch], and
7172 2002-08-02 John Levon <levon@movementarian.org>
7174 * buffer.C: s/lyxconvert/lyx2lyx/
7176 2002-08-02 Angus Leeming <leeming@lyx.org>
7178 * lyxlex.C: revert John's change as it breaks reading of the user
7181 2002-08-02 Angus Leeming <leeming@lyx.org>
7183 * importer.C (Import):
7184 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7185 changes due to LyXView::view() now returning a boost::shared_ptr.
7187 2002-08-02 John Levon <levon@movementarian.org>
7189 * lyxlex.C: small cleanup
7191 2002-08-02 John Levon <levon@movementarian.org>
7193 * text2.C (status): small cleanup, no logic change
7195 2002-08-01 John Levon <levon@movementarian.org>
7198 * buffer.C (writeFile): don't output alerts, caller
7202 * lyx_cb.C: from above
7204 * lyxfunc.C: allow to open non-existent files
7206 2002-07-31 John Levon <levon@movementarian.org>
7208 * lyxserver.C: don't let incidental errors get
7211 2002-07-30 John Levon <levon@movementarian.org>
7213 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7215 2002-07-30 John Levon <levon@movementarian.org>
7218 * lyxserver.C: remove I/O callback too
7220 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7222 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7225 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7227 * many files: strip,frontStrip -> trim,ltrim,rtrim
7229 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7231 * PrinterParams.h: remove extern containsOnly, and include
7232 support/lstrings.h instead.
7234 * LaTeX.C (scanAuxFile): modify because of strip changes
7236 * buffer.C (makeLaTeXFile): ditto
7237 * bufferparams.C (writeFile): ditt
7238 * lyxfont.C (stateText): ditto
7239 * lyxserver.C (read_ready): ditto
7240 * vc-backend.C (scanMaster): ditto
7242 * BufferView_pimpl.h: ws changes
7244 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7246 2002-07-26 André Pönitz <poenitz@gmx.net>
7248 * kb_sequence.C: remove unnedred usings
7250 2002-07-26 Juergen Vigna <jug@sad.it>
7252 * lyxfind.C (LyXReplace): we have to check better if the returned
7253 text is not of theLockingInset()->getLockingInset().
7255 2002-07-25 Juergen Vigna <jug@sad.it>
7257 * lyxfind.C (LyXReplace): don't replace if we don't get the
7260 * undo_funcs.C (createUndo): remove debugging code.
7262 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7264 * buffer.C (parseSingleLyXformat2Token): Use default placement
7265 when reading old floats.
7267 * FloatList.C (FloatList): Change the default placement of figure
7268 and tables to "tbp".
7270 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7272 * MenuBackend.C: using std::max
7274 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7276 * MenuBackend.C (expandToc):
7277 (expandToc2): code moved from xforms menu frontend. It is now
7278 generic and TOCs are transparent to menu frontends.
7280 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7282 * toc.C (getTocList): protect against buf=0
7284 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7285 Menu as first parameter. Now, this calls itself recursively to
7286 expand a whole tree (this will be useful for TOC handling)
7287 (expandFloatInsert): remove 'wide' version of floats
7289 * MenuBackend.h (submenuname): returns the name of the submenu.
7290 (submenu): returns the submenu itself, provided it has been
7291 created by MenuBackend::expand
7293 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7295 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7296 insets which have noFontChange == true. (bug #172)
7298 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7300 * BufferView_pimpl.C: add connection objects and use them...
7303 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7305 * MenuBackend.C (expandLastfiles):
7308 (expandFloatListInsert):
7309 (expandFloatInsert):
7310 (expand): split expand in parts
7312 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7314 * lyx_gui.C: use lyx_gui::exit()
7316 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7318 * LyXAction.C: show the failing pseudo action
7320 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7322 * buffer.C (readFile): Run the lyxconvert script in order to read
7325 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7329 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7331 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7335 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7337 2002-07-22 Herbert Voss <voss@lyx.org>
7340 * lyxlength.[Ch]: add support for the vertical lengths
7342 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7344 * toc.[Ch]: std:: fixes
7346 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7348 * lyxrc.C: do not include lyx_main.h
7350 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7356 * BufferView2.C: include "lyxlex.h"
7359 * bufferparams.h: do not #include "lyxlex.h"
7361 * lyxtextclasslist.C (Add): remove method
7362 (classlist): renamed to classlist_
7364 * paragraph_pimpl.C:
7368 * bufferview_funcs.C:
7373 * toc.C (getTocList): use BufferParams::getLyXTextClass
7375 * toc.C (getTocList): use InsetFloat::addToToc
7377 * toc.[Ch]: new files, containing helper functions to handle table
7380 * lyxfunc.C (dispatch): no need to remove spaces around command
7382 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7383 first command of the sequence; it is not very clever, but I do not
7384 have a better idea, actually
7386 * LyXAction.C (LookupFunc): make sure to remove space at the
7387 beginning and end of the command
7389 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7391 * MenuBackend.C (getMenubar): new method: return the menubar of
7393 (read): treat differently reading of menu and menubar (in
7394 particular, the menubar has no name now)
7395 (Menu::menubar): remove
7397 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7400 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7402 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7403 a bibitem inset in a RTL paragraph.
7405 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7407 * paragraph_pimpl.C: constify
7409 * BufferView_pimpl.C:
7411 * lyxfunc.C: fix dispatch in a nicer way
7413 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7415 * lyxfunc.C (dispatch):
7416 * BufferView_pimpl.C:
7417 * BufferView_pimpl.h:
7419 * BufferView.h: rename Dispatch() to dispatch()
7421 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7423 * lyxlayout.C (Read): honor DependsOn tag
7425 * lyxlayout.[Ch] (depends_on): new method
7427 * version.C.in: update lyx_docversion
7429 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7431 * paragraph.C (validate): remove from here...
7432 * paragraph_pimpl.C (validate): ... and move here
7433 (isTextAt): make it const
7435 * buffer.C (getLists): ws cleanup
7437 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7439 * language.C (read): Use iso8859-1 encoding in latex_lang
7440 (this prevents LyX from crashing when using iso10646-1 encoding).
7442 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7444 * text2.C (toggleInset): if cursor is inside an inset, close the
7445 inset and leave cursor _after_ it
7447 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7449 * lyxfunc.C: move minibuffer completion handling out of here
7451 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7453 * BufferView_pimpl.C:
7454 * LaTeX.C: fix dispatch calls
7456 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7458 * text.C (drawChars): Fix Arabic text rendering.
7460 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7464 * lyxfunc.C: remove message-push/pop
7468 * lyxfunc.C: rationalise some code by removing verboseDispatch
7469 in favour of a bool argument to dispatch()
7471 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7473 * lyx_main.C (init): make sure to read symlinks as absolute paths
7475 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7478 * lyxfunc.C: no need for commandshortcut to be a member
7480 2002-07-15 André Pönitz <poenitz@gmx.net>
7482 * converter.C: add support for $$s (scripts from lib/scripts dir)
7483 * lyx_main.C: white space
7485 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7489 * lyxrc.C: remove second exit confirmation
7491 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7496 * BufferView_pimpl.h:
7497 * BufferView_pimpl.C:
7498 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7500 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7502 * MenuBackend.C (expand): add numeric shortcuts to document menu
7504 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7506 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7508 * lyxfont.C (setLyXFamily):
7515 * buffer.C (asciiParagraph): use ascii_lowercase
7517 2002-07-15 Mike Fabian <mfabian@suse.de>
7519 * lyxlex_pimpl.C (search_kw):
7520 * lyxlex.C (getLongString):
7521 * converter.h (operator<):
7522 * converter.C (operator<):
7523 * buffer.C (parseSingleLyXformat2Token):
7525 * ToolbarDefaults.C (read):
7526 * MenuBackend.C (checkShortcuts):
7528 * LColor.C (getFromGUIName):
7529 (getFromLyXName): use the compare_ascii_no_case instead of
7530 compare_no_case, because in turkish, 'i' is not the lowercase
7531 version of 'I', and thus turkish locale breaks parsing of tags.
7533 2002-07-16 Angus Leeming <leeming@lyx.org>
7535 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7536 now takes a Buffer const & argument.
7538 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7540 * BufferView.C (resize): check there's a buffer to resize
7542 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7544 * lyxfunc.C: remove dead code
7547 * lyxserver.C: use lyx_guii::set_read_callback
7549 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7551 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7552 an inset in a RTL paragraph.
7554 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7556 * lyxfunc.C: repaint after a font size update
7558 2002-07-15 André Pönitz <poenitz@gmx.net>
7560 * lyxlength.C: inBP should be able to return negative values
7562 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7564 * lyxfunc.C: use lyx_gui::update_fonts()
7566 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7568 * lyxfunc.C: use lyx_gui::update_color()
7570 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7576 * lyxrc.C: remove file->new asks for name option, and let
7577 buffer-new take an argument
7579 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7581 * BufferView_pimpl.C: remove unneeded extra repaint()
7583 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7585 * LyXAction.C: allow command-sequence with NoBuffer
7587 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7589 2002-07-10 Angus Leeming <leeming@lyx.org>
7591 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7593 2002-07-09 Angus Leeming <leeming@lyx.org>
7595 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7597 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7599 * lengthcommon.h: whitespace
7601 * lyxfunc.C: update scrollbar after goto paragraph
7603 * lyxtext.h: factor out page break drawing, and fix it so
7604 page break/added space paints as selected nicely
7606 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7608 * BufferView_pimpl.C: add FIXMEs, clean up a little
7610 2002-07-09 André Pönitz <poenitz@gmx.net>
7612 * lyxfont.[Ch]: support for wasy symbols
7614 2002-07-08 André Pönitz <poenitz@gmx.net>
7616 * BufferView_pimpl.C: apply John's patch for #93.
7618 2002-07-05 Angus Leeming <leeming@lyx.org>
7620 * BufferView_pimpl.C (buffer): generate previews if desired.
7622 * LColor.h: add "preview" to the color enum.
7624 * LColor.C (LColor): add a corresponding entry to the items array.
7626 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7629 2002-07-05 Angus Leeming <leeming@lyx.org>
7631 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7632 The body of the code is now in the method that is passed an ostream &
7633 rather than a file name.
7634 Pass an additional only_preamble parameter, useful for the forthcoming
7637 2002-07-03 André Pönitz <poenitz@gmx.net>
7639 * lyxfunc.C: simplify getStatus() a bit for math stuff
7641 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7643 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7645 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7647 * text.C (changeRegionCase): do not change case of all the
7648 document when region ends at paragraph end (bug #461)
7650 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7652 * paragraph.C (startTeXParParams):
7653 (endTeXParParams): add \protect when necessary
7655 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7657 * BufferView_pimpl.C (workAreaExpose): remove warning
7659 2002-06-27 Angus Leeming <leeming@lyx.org>
7661 * Makefile.am: add lyxlayout_ptr_fwd.h.
7663 2002-06-26 André Pönitz <poenitz@gmx.net>
7665 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7667 2002-06-25 Angus Leeming <leeming@lyx.org>
7669 * lyxfunc.C (dispatch): Comment out the call to
7670 grfx::GCache::changeDisplay. The method no longer exists now that the
7671 pixmap generation part of the graphics loader has been moved into
7674 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7676 * text2.C: layout as layout
7678 * text.C: layout as layout
7680 * tabular.C (OldFormatRead): layout as layout
7682 * paragraph_pimpl.C (TeXDeeper): layout as layout
7683 (realizeFont): layout as layout
7685 * paragraph.C (writeFile): layout as layout
7686 (validate): layout as layout
7687 (getFont): layout as layout
7688 (getLabelFont): layout as layout
7689 (getLayoutFont): layout as layout
7690 (breakParagraph): layout as layout
7691 (stripLeadingSpaces): layout as layout
7692 (getEndLabel): layout as layout
7693 (getMaxDepthAfter): layout as layout
7694 (applyLayout): layout as layout
7695 (TeXOnePar): layout as layout
7696 (simpleTeXOnePar): layout as layout
7697 (TeXEnvironment): layout as layout
7698 (layout): layout as layout
7699 (layout): layout as layout
7701 * lyxtextclass.C (compare_name): new functor to work with
7702 shared_ptr, layout as layout
7703 (Read): layout as layout
7704 (hasLayout): layout as layout
7705 (operator): layout as layout
7706 (delete_layout): layout as layout
7707 (defaultLayout): layout as layout
7709 * lyxlayout_ptr_fwd.h: new file
7711 * lyxlayout.C (Read): layout as layout
7713 * lyx_cb.C (MenuInsertLabel): layout as layout
7715 * bufferlist.C (newFile): layout as layout
7717 * buffer.C (readLyXformat2): layout as layout
7718 (parseSingleLyXformat2Token): layout as layout
7719 (insertStringAsLines): layout as layout
7720 (asciiParagraph): layout as layout
7721 (latexParagraphs): layout as layout
7722 (makeLinuxDocFile): layout as layout
7723 (simpleLinuxDocOnePar): layout as layout
7724 (makeDocBookFile): layout as layout
7725 (simpleDocBookOnePar): layout as layout
7726 (getLists): layout as layout
7728 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7730 * CutAndPaste.C (cutSelection): layout as layout
7731 (pasteSelection): layout as layout
7732 (SwitchLayoutsBetweenClasses): layout as layout
7734 * BufferView_pimpl.C (Dispatch): layout as layout
7735 (smartQuote): layout as layout
7737 * BufferView2.C (unlockInset): layout as layout
7739 2002-06-24 André Pönitz <poenitz@gmx.net>
7741 * lyxfunc.C: fix #487
7743 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7747 * lyxfunc.C: remove display_shortcuts, show_banner
7749 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7751 * Buffer_pimpl.C: oops, update on resize
7753 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7760 * BufferView.C: use repaint()
7762 * BufferView_pimpl.h:
7763 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7764 as it's a clearer description. Remove superfluous
7767 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7769 * text.C: fix bug 488. Not ideal, but getting
7770 getWord() to work properly for the insets that
7771 matter is more difficult ...
7773 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7775 * BufferView_pimpl.C:
7778 * lyxfunc.C: remove the six million index lyxfuncs to just
7779 one, and DTRT (bug 458)
7781 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7785 * BufferView_pimpl.h:
7786 * BufferView_pimpl.C: clean up resize() stuff,
7787 and unnecessary updateScreen()s
7789 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7793 * BufferView_pimpl.h:
7794 * BufferView_pimpl.C:
7797 * minibuffer.C: remove focus management of workarea,
7798 not needed. Use screen's greyOut()
7800 2002-06-17 Herbert Voss <voss@lyx.org>
7802 * converter.C: (convert) do not post a message, when converting
7803 fails, let the calling function decide what to do in this case
7805 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7807 * lyxfunc.C: tidy up a little
7809 2002-06-16 <alstrup@diku.dk>
7811 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7812 Got rid of FORMS_H_LOCATION include. Now we are
7815 2002-06-15 LyX Development team <lyx@rilke>
7817 * buffer.[Ch] (sgmlOpenTag):
7818 (sgmlCloseTag): Added support for avoiding pernicious mixed
7819 content. Return number of lines written.
7822 (makeDocBookFile): Fixed calls to sgml*Tag.
7823 Simple white space clean.
7825 (simpleDocBookOnePar): Simple white space clean.
7827 * tabular.[Ch] (docBook): Renamed to docbook and got another
7828 argument to related with the pernicious mixed content.
7830 (docbookRow): Fixed calls for docbook inset method.
7832 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7834 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7835 so it's X11 independent.
7839 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7841 2002-06-15 Lyx Development team <lyx@electronia>
7843 * intl.h: Renamed getTrans to getTransManager.
7845 2002-06-14 Angus Leeming <leeming@lyx.org>
7847 * Makefile.am: nuke forgotten stl_string_fwd.h.
7849 2002-06-12 Angus Leeming <leeming@lyx.org>
7851 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7853 2002-06-13 Angus Leeming <leeming@lyx.org>
7856 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7858 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7860 * kbmap.C (getiso): add support for cyrillic and greek
7862 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7866 * BufferView_pimpl.h:
7867 * BufferView_pimpl.C: move bogus scrolling logic
7870 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7873 * BufferView_pimpl.C: view->resize() change
7875 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7877 * BufferView_pimpl.C: topCursorVisible
7880 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7884 * lyx_gui.C: move to frontends/
7888 * lyx_main.C: changes from above
7890 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7897 * lyx_main.C: minor tidy
7899 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7901 * BufferView_pimpl.h:
7902 * BufferView_pimpl.C:
7904 * BufferView.C: make painter() const,
7907 * BufferView2.C: use screen() accessor
7910 * lyx_main.C: some minor cleanup
7912 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7914 * BufferView_pimpl.h:
7915 * BufferView_pimpl.C: remove enter/leaveView,
7918 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7923 * BufferView_pimpl.h:
7924 * BufferView_pimpl.C: only construct screen once,
7927 * lyxrc.C: remove pointless comment
7929 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7932 * BufferView.C: remove active() and belowMouse()
7934 * BufferView_pimpl.h:
7935 * BufferView_pimpl.C: use workarea() not workarea_,
7936 and make it use a scoped_ptr instead
7938 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7940 * lyx_gui.C: add debug message on BadWindow
7942 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7944 * sp_spell.C: fdopen is not part of the C++ standard.
7946 * paragraph.C (InsetIterator): use >= instead of ==
7948 2002-06-07 Angus Leeming <leeming@lyx.org>
7950 Fixes needed to compile with Compaq cxx 6.5.
7951 * BufferView_pimpl.C:
7958 * lyxtextclasslist.C:
7963 all c-library variables have been moved into namespace std. Wrap
7964 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7969 Add a using std::abs declaration.
7971 * kbmap.h (modifier_pair):
7972 * paragraph.h (InsetTable, InsetList):
7973 * lyxfont.h (FontBits):
7974 type definition made public.
7976 * bufferlist.C (emergencyWriteAll): the compiler complains that
7977 there is more than one possible lyx::class_fun template to choose from.
7978 I re-named the void specialisation as lyx::void_class_fun.
7980 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7982 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7983 the compiler is is unable to find tostr in write_attribute.
7985 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7987 * buffer.C (sgmlError): hide #warning
7989 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7991 * xtl/*: get rid of xtl, which is not in use anyway
7993 * LyXAction.C (init):
7994 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7995 were unimplemented xtl experimentation
7997 2002-06-04 André Pönitz <poenitz@gmx.net>
7999 * lyxfunc.C: disable array operation on simple formulae
8001 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8003 * converter.C: constify a bit
8005 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8007 * lyx_gui.C: check xforms version correctly
8009 2002-04-30 Herbert Voss <voss@lyx.org>
8011 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8014 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8016 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8017 attempt to register it with a VCS)
8019 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8021 * lyx_main.C (init): honor variables LYX_DIR_13x and
8024 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8028 * lyx_main.C: fix a crash on bad command line,
8029 and give a useful exit status on error
8031 * lyxfunc.C (doImport): allow -i lyx to work
8033 2002-03-30 André Pönitz <poenitz@gmx.net>
8035 * lyxfunc.C: mathed font changes
8037 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8052 * trans_mgr.h: srcdocs, and some minor cleanups
8054 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8056 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8057 call getFont all the time)
8059 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8061 * switch from SigC signals to boost::signals
8063 2002-05-29 André Pönitz <poenitz@gmx.net>
8065 * paragraph_pimpl.C (getChar): don't call size() too often...
8067 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8069 * paragraph_pimpl.C (insertChar): do not try to update tables when
8070 appending (pos == size())
8072 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8073 in order to reduce drastically the number of comparisons needed to
8074 parse a large document
8076 2002-05-29 André Pönitz <poenitz@gmx.net>
8082 * textclasslist.[Ch]:
8083 * sp_ispell.h: whitespace change
8085 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8087 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8088 lyxaction directly now.
8090 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8094 * lyxvc.C: remove unused headers
8096 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8103 * undo_funcs.C: some cleanups. Use shared_ptr
8104 and a template for the undo stacks.
8106 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8108 * BufferView_pimpl.h:
8109 * BufferView_pimpl.C:
8116 * text2.C: use key_state/mouse_state
8118 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8120 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8123 * chset.C: change include order
8124 (loadFile): use boost regex and get rid of LRegex and LSubstring
8126 * Makefile.am (BOOST_LIBS): new variable
8129 * LaTeX.C: change include order.
8130 (scanAuxFile): use boost regex and get rid of LRegex and
8134 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8139 * FontInfo.C: moved to frontends/xforms/
8142 * FontLoader.C: moved into frontends for GUIIzation
8147 * lyxfunc.C: changes from above
8149 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8151 * LColor.C: remove spurious X include
8153 * BufferView_pimpl.C:
8158 * text2.C: move font metrics to frontends/
8160 2002-05-24 Juergen Vigna <jug@sad.it>
8162 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8163 setting the undo_cursor.
8165 * ParagraphParameters.h: include local includes first.
8167 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8169 * BufferView_pimpl.C:
8170 * BufferView_pimpl.h:
8174 * screen.C: move WorkArea into frontends/
8180 * BufferView2.C: move LyXScreen into frontends/
8184 * lyx_gui.C: move lyxlookup into frontends/xforms/
8186 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8189 * BufferView_pimpl.C:
8199 * bufferview_funcs.C:
8212 * vc-backend.C: move LyX/XFormsView into frontends/
8214 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8226 * text2.C: move Painter to frontends/
8228 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8230 * buffer.C: comment out some some code that depend upon lyx_format
8233 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8234 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8236 * buffer.h (NO_COMPABILITY): turn off compability
8238 * ColorHandler.C: include scoped_array.hpp
8240 * font.C: Use more specific smart_ptr header.
8243 * ShareContainer.h: ditto
8247 * BufferView_pimpl.h: ditto
8248 * ColorHandler.h: ditto
8250 * kbmap.C (defkey): change call to shared_ptr::reset
8252 2002-05-21 Juergen Vigna <jug@sad.it>
8254 * buffer.C (insertErtContents): fix to insert ert asis if it is
8255 non empty. Skip it completely if it contains only whitespaces.
8257 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8259 * BufferView_pimpl.C:
8260 * BufferView2.C: clear selection on paste (bug 393)
8262 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8264 * DepTable.C: include ctime
8266 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8268 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8270 2002-05-14 Juergen Vigna <jug@sad.it>
8272 * text.C (breakParagraph): fixed function to honor the keepempty
8273 layout in the right maner and also to permit the right breaking
8274 algorithm on empty or non empyt keepempty paragraphs.
8276 * paragraph.C (breakParagraph): we have to check also if the par
8277 is really empty (!size()) for isempty otherwise we do the wrong
8280 2002-05-10 Juergen Vigna <jug@sad.it>
8282 * buffer.[Ch] : The following are only changes to the ert
8283 compatibility read reading old LaTeX layout and font stuff and
8284 convert it to ERTInsets.
8286 * buffer.h: added isErtInset().
8288 * buffer.C (struct ErtComp): add a fromlayout bool to check
8289 if we're inside a LaTeX layout.
8290 (isErtInset): new helper function.
8291 (insertErtContents): look for other ert insets before this one
8292 and insert the contents there, so that we don't have subsequent
8293 ERT insets with nothing between them. This way we create only one
8294 inset with multiple paragraphs. Also check if we don't insert only
8295 spaces ' ' as they are ignored anyway afterwards in the .tex file
8296 so if we have only spaces we will ignore this latex part in the
8298 (parseSingleLyXformat2Token \\layout): better compatibility when
8299 reading layout-latex stuff.
8300 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8302 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8303 stuff after reading the inset only get the information back from
8306 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8308 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8310 * LaTeXFeatures.C (getBabelOptions): New method.
8312 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8314 * BufferView_pimpl.C (Dispatch): work around missing argument for
8317 2002-05-08 Juergen Vigna <jug@sad.it>
8319 * text.C (leftMargin): handle paragraph leftindent.
8321 * paragraph.C (writeFile): write the new \\leftindent tag.
8322 (validate): handle leftindent code.
8323 (TeXEnvironment): handle paragraphleftindent code again.
8325 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8327 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8328 for paragrap_extra indent code and new token \\leftindent.
8329 (latexParagraphs): handle the leftindent as environment.
8331 * ParameterStruct.h: added leftindent support.
8333 * ParagraphParameters.C (leftIndent): added support functions for
8334 the paragraph left indent.
8336 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8339 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8341 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8344 * text.C (computeBidiTables): No bidi in insetERT.
8346 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8349 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8351 * version.C.in: pre 5
8353 2002-05-02 José Matos <jamatos@fep.up.pt>
8354 * buffer.C (makeDocBookFile): white space changes, add newline to
8356 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8358 * tabular.C (docBook): fix typo.
8360 2002-05-03 Juergen Vigna <jug@sad.it>
8362 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8363 change in LyXText as we can not be sure it was not freed.
8364 (drawOneRow): remove unused code.
8366 * text.C (drawInset): redo the calculation of the need_break_row as
8367 it could have a row which was already freed.
8368 (draw): look at the return value of drawInset and return false if
8369 it also returned false.
8370 (paintRowText): look at the return value of draw and return false if
8371 it also returned false.
8373 * lyxtext.h: added bool return type to drawInset() and draw() so that
8374 if we have a change in the row so that the rowbreak has to be redone
8375 we abort drawing as it will be called again.
8377 2002-05-02 Juergen Vigna <jug@sad.it>
8379 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8380 a change in the maintext also if we're inside an inset.
8381 (Dispatch): set the cursor again after a break line and after the
8382 screen has been updated as it could be we're in a different row.
8384 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8385 to set the cursor behind the pargraph with > size().
8386 (setCursor): check also for the same paragraph when checking where
8387 to put the cursor if we have a NFR inset.
8389 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8390 parts of layout read further up as it still was in the wrong
8393 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8395 * screen.C (drawFromTo): change sine fullRebreak always return
8398 * buffer.C (parseSingleLyXformat2Token): reindent some
8400 * BufferView_pimpl.C (update): change since fullRebreak always
8402 (Dispatch): git rid of the last hardcoded "Standard"s.
8404 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8406 * text2.[Ch] (fullRebreak): make it return void now that we always
8409 2002-04-30 Juergen Vigna <jug@sad.it>
8411 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8412 ert compatibility check for "latex" layout.
8414 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8416 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8417 minipages: use col% instead of p%, and also use the current font.
8418 (makeLaTeXFile): Fix use babel condition.
8419 (parseSingleLyXformat2Token): Correct font when reading old floats.
8421 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8423 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8424 inserting list of floats.
8426 2002-04-25 Herbert Voss <voss@lyx.org>
8428 * MenuBackend.C (expand): don't add the graphics extensions to the
8431 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8433 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8434 non-existing layout, do not complain if it was the default layout
8435 of the original class (bug #342)
8437 2002-04-24 Juergen Vigna <jug@sad.it>
8439 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8440 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8442 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8444 * buffer.C (getBibkeyList): If using \bibliography, return the
8445 option field with the reference itself. Enables us to provide natbib
8446 support when using \bibliography.
8448 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8450 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8452 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8453 natbib is provided by the LaTeX class.
8455 2002-04-23 Juergen Vigna <jug@sad.it>
8457 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8460 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8462 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8464 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8466 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8467 ensuremath around textordmasculine, textordfeminine and
8470 2002-04-19 Juergen Vigna <jug@sad.it>
8472 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8473 reinitializing the buffer otherwise row-dimensions may be wrong.
8474 (update): reset also the selection cursors if they do exits otherwise
8475 their x/y positions may be wrong.
8477 * text2.C (cursorDown): don't enter the inset if we came from a row
8478 above and are one row over the inset.
8480 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8481 really leaving an inset.
8483 2002-04-18 Juergen Vigna <jug@sad.it>
8485 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8486 of the selected paragraph does not have the selected layout also if
8489 * text2.C (setLayout): fixed bug which did not change last selected
8492 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8493 changed the read and substituted \\end_float with \\end_inset!
8495 * BufferView_pimpl.C (cursorPrevious):
8496 (cursorNext): fixed to make it work with rows heigher than the work
8497 area without moving the cursor only the draw of the row.
8498 (workAreaMotionNotify): fix jumping over high rows.
8500 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8502 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8505 2002-04-16 Juergen Vigna <jug@sad.it>
8507 * text2.C (setCursor): set also the irow().
8508 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8510 (cursorDown): support for locking an inset if the x_fix value goes
8511 inside it. That way I can transverse insets too with cursor up/down.
8513 * lyxrow.h: added irow helper function same as other (i) functions.
8515 * BufferView_pimpl.C (cursorPrevious):
8516 (cursorNext): fixed for insets!
8518 2002-04-15 Juergen Vigna <jug@sad.it>
8520 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8521 position otherwise it is wrong in some cases.
8523 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8524 inside the inset before the call.
8526 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8528 * buffer.[Ch] (getBibkeyList): make it const.
8530 2002-04-12 Juergen Vigna <jug@sad.it>
8532 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8534 * text2.C (getCursorX): new helper function
8535 (setCursor): compute also ix_
8536 (setCursorFromCoordinates): set also ix.
8538 * lyxcursor.h: added ix_ and helper functions.
8540 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8542 * buffer.C (insertStringAsLines): dont break paragraph if the this
8543 paragraph is inside an inset which does not permit it!
8545 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8546 also with no chars on this paragraph.
8547 (paintRowText): only paint stuff if it's inside the workarea!
8549 * paragraph.C (breakParagraph): honor keepempty flag and break the
8550 paragraph always below not above.
8552 * BufferView2.C (unlockInset): update the paragraph layout on inset
8553 unlock as we changed paragraph in such a case.
8555 * lyxfind.C (LyXFind): clear the former selection if not found!
8557 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8558 again called in insertChar().
8560 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8561 an inset which uses the whole row!
8562 (rightMargin): ditto.
8563 (insertChar): force a rebreak if we inserted an inset!
8565 2002-03-28 Herbert Voss <voss@lyx.org>
8567 * lyxlength.[Ch]: add inBP() to get the right PS-point
8568 units (BigPoint). With inPixels we have rounding errors
8570 2002-04-11 Juergen Vigna <jug@sad.it>
8572 * text2.C (setCursorFromCoordinates): set iy to the right value.
8573 (setCursor): add check if row->previous exists!
8575 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8576 an old float_type as this was the case in the old code!
8578 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8580 * BufferView2.C (showLockedInsetCursor): use iy
8581 (fitLockedInsetCursor): ditto
8583 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8584 locked insets as there we have the right value now.
8586 * lyxcursor.C: added iy_ variable and iy functions to set to the
8587 baseline of cursor-y of the locked inset.
8589 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8590 (setCursor): fixed for insets which need a full row.
8592 * text.C (rowLastPrintable): don't ignore the last space when before
8593 an inset which needs a full row.
8594 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8595 as last character of a row when before a inset which needs a full row.
8597 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8599 * version.C.in: update date
8601 * text2.C (fullRebreak): try to always return true and see what
8604 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8606 * MenuBackend.C (expand): use Floating::listName
8608 * FloatList.C (FloatList): add listName argument to the built-in
8611 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8612 text associated with the float.
8614 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8616 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8618 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8620 * ShareContainer.h: add a couple of missing typenames.
8622 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8624 * lyxrc.C (getDescription): use _() correctly rather than N_().
8626 2002-03-28 Herbert Voss <voss@lyx.org>
8628 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8629 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8631 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8633 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8634 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8636 2002-03-29 Juergen Vigna <jug@sad.it>
8638 * lyxfunc.C (dispatch): add a missing fitCursor call.
8640 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8641 it was scrolled by a cursor move, so return the bool status.
8643 * BufferView.C (fitCursor): return the bool flag also to the outside
8644 world as this is needed.
8646 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8648 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8649 call the edit() as it is not needed (and wrong) IMO.
8650 (workAreaButtonPress): set the screen_first variable before evt.
8651 unlock the inset as this may change screen_first and then we have
8652 a wrong y position for the click!
8654 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8656 * MenuBackend.C (expand): another translation that I missed
8658 2002-03-28 Juergen Vigna <jug@sad.it>
8660 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8662 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8664 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8666 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8668 * MenuBackend.C (expand): fix export/view/update when there is no
8671 2002-03-27 Herbert Voss <voss@lyx.org>
8673 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8676 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8678 * bufferview_funcs.C (currentState): only show paragraph number
8679 for is DEVEL_VERSION is set.
8681 * lyxfunc.C (dispatch): put warning in INFO channel
8683 * MenuBackend.C (expand): translate the name of floats
8685 * FloatList.C (FloatList): mark the float names for translation
8687 * converter.C (convert): use LibScriptSearch
8689 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8691 * MenuBackend.C (defaults): fix default menu (we might as well get
8694 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8696 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8699 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8701 * lyxvc.C: reorder includes.
8703 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8705 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8708 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8710 * CutAndPaste.C: change layouts earlier on paste
8711 to avoid crashing when calling getFont()
8713 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8715 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8718 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8720 * WorkArea.C: remove 'Pending' debug message.
8722 * most files: ws cleanup
8724 * buffer.[Ch]: ws changes
8726 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8728 2002-03-21 Juergen Vigna <jug@sad.it>
8730 * tabular.C (SetMultiColumn): collapse also the contents of the
8731 cells and set the last border right. Added a Buffer const * param.
8733 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8735 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8738 2002-03-19 Juergen Vigna <jug@sad.it>
8740 * text2.C (clearSelection): reset also xsel_cache.
8742 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8743 where it needs to be called (John tells us to do so too :)
8744 (selectionLost): reset sel_cache.
8746 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8748 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8750 * text2.C (setCursorIntern): put debuging code in INSETS channel
8752 2002-03-19 André Pönitz <poenitz@gmx.net>
8754 * lyxfunc.C: tiny whitespace change
8756 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8758 * ToolbarDefaults.C (init):
8759 * LyXAction.C (init):
8761 * BufferView_pimpl.C (Dispatch):
8762 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8764 2002-03-19 Allan Rae <rae@lyx.org>
8766 * exporter.C (Export): removeAutoInsets before doing anything else.
8767 While I've just introduced a dependency on BufferView this really is
8768 the best place to clean the buffer otherwise you need to cleanup in
8769 a dozen places before calling export or cleanup in a dozen functions
8772 * converter.C (runLaTeX):
8773 (scanLog): Better handling of removeAutoInsets and screen updates.
8775 * lyxfunc.C (dispatch): small whitespace changes
8777 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8779 * WorkArea.C (C_WorkAreaEvent): return a value.
8780 (event_cb): return 1 if we handled the event, 0 otherwise.
8782 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8784 2002-03-18 Juergen Vigna <jug@sad.it>
8786 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8787 (GetAdditionalWidth): ditto.
8791 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8792 inset if we're there actually (probably not used right now but this
8793 is the direction to go for unifying code).
8794 (paste): disable code to clear the selection.
8796 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8797 inside an InsetText and move the check further up as it is in the
8800 * text2.C (pasteSelection): set a selection over the pasted text.
8802 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8804 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8805 and libgraphics to build on Cygwin.
8807 2002-03-15 Juergen Vigna <jug@sad.it>
8809 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8810 inserting an Inset into the paragraph. I know this is not the best
8811 fix but we already use current_view in CutAndPaste so we will remove
8812 all of it's using at the same time.
8814 * buffer.C (sgmlError): deactivated function till it is rewritten in
8815 the right mode, now it can create problems.
8817 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8818 before accessing it.
8820 2002-03-14 Juergen Vigna <jug@sad.it>
8822 * undo_funcs.C (textHandleUndo): do the right thing when updating
8823 the inset after the undo/redo.
8825 * text2.C (setCursor): just some testcode for #44 not ready yet.
8827 * undo_funcs.C (textHandleUndo): set the next() and previous()
8828 pointers of the paragraph to 0 before deleting otherwise we have
8829 problems with the Paragraph::[destructor].
8831 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8832 on a paragraph insertion.
8834 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8836 * buffer.C (asciiParagraph): use += operator for char append to
8839 * paragraph.C (getFontSettings): compare >= not just >
8840 (highestFontInRange): ditto
8843 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8845 * paragraph.C: change several algorithm to be more appripriate for
8846 the problem domain. This is lookip in FontList and in the InsetList.
8848 2002-03-13 André Pönitz <poenitz@gmx.net>
8851 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8853 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8858 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8860 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8862 * Painter.C (display): anon helper function, adjust code for this
8864 (pixmap): remove function.
8866 * Painter.h: remove private display variable.
8868 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8870 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8872 * WorkArea.[Ch]: remove figinset_canvas cruft.
8874 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8876 * lyxtextclass.C (operator): add one item cache optimization.
8878 * bufferlist.h: doxy changes
8880 * bufferlist.C: ws changes
8882 * DepTable.[Ch] (ext_exist): place const in the right spot.
8884 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8886 (workAreaExpose): call resizeInsets when the with BufferView changes.
8887 (Dispatch): adjust for protectedBlank removal
8888 (specialChar): call updateInset if the insert went ok.
8890 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8891 specialChar instead.
8893 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8895 * BufferView.h: doxy change
8897 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8899 * lyxtextclass.C (operator[]): remove non-const version
8900 (defaultLayout): remove non-const version
8902 2002-03-12 Juergen Vigna <jug@sad.it>
8904 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8905 did resize the LyXText too.
8907 * buffer.C (readLyXformat2): set layout information on newly allocated
8910 * tabular.C (OldFormatRead): set layout information on the paragraph.
8912 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8914 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8916 2002-03-11 Juergen Vigna <jug@sad.it>
8918 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8920 (resizeCurrentBuffer): force also the insets to resize themselfes.
8921 (moveCursorUpdate): fixed up for InsetText.
8923 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8926 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8927 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8928 value of Dialogs::tooltipsEnabled().
8929 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8931 2002-03-08 Juergen Vigna <jug@sad.it>
8933 * BufferView_pimpl.C (updateInset): update inset inside inset also
8934 if it isn't inside theLockingInset().
8936 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8938 * buffer.C (asciiParagraph): redo some of the word and line length
8940 (getLists): look for Caption instead of caption.
8942 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8944 * buffer.C (Buffer): initialize niceFile to true
8947 (makeDocBookFile): make sure niceFile is true on exit
8949 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8951 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8953 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8955 * LyXSendto.C: remove.
8956 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8957 * lyx_gui.C: remove now-redundant comment.
8958 * ColorHandler.h: remove forward declaration of class WorkArea.
8959 * lyxfunc.C: remove #include "WorkArea.h".
8961 2002-03-07 Juergen Vigna <jug@sad.it>
8963 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8964 got moved away with the DEPM and also set the inset_owner always
8965 right which before could have been omitted.
8967 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8969 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8970 wanted layout is not found.
8972 2002-03-07 Juergen Vigna <jug@sad.it>
8974 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8976 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8978 * paragraph.C (breakParagraph): use default layout not layout of
8980 (Paragraph): clear ParagraphParameters.
8982 2002-03-06 Juergen Vigna <jug@sad.it>
8984 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8985 otherwise it would not be a valid lenght. Fixed a special case in
8986 the minipage compatibility read where we end the document with a
8989 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8990 was set as it could be 0 for InsetTexts first entry.
8992 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8994 * paragraph.C (writeFile): if layout is empty write out
8995 defaultLayoutName().
8997 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8998 file without named layout we set layout to defaultLayoutName().
9000 2002-03-06 Juergen Vigna <jug@sad.it>
9002 * CutAndPaste.C (copySelection): set layout for new paragraph.
9004 * text.C (prepareToPrint): leave ERT inset left aligned
9005 (leftMargin): don't indent paragraphs inside ERT insets
9007 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9009 * paragraph.C (breakParagraph): dont call clear do the work manually
9011 * paragraph.[Ch] (clear): remove function
9013 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9015 * paragraph.C (Paragraph): dont call clear, the work has already
9018 * lyxtextclass.C (operator): assert if n is empty
9020 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9021 work manually instead.
9023 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9025 * BufferView_pimpl.C: protect selectionLost against text == 0
9027 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9029 * text.C (breakParagraph): fix a setting layout to '0' problem.
9031 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9033 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9034 final location of file, for the included files, and graphics.
9036 2002-03-05 Juergen Vigna <jug@sad.it>
9038 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9040 2002-03-04 Juergen Vigna <jug@sad.it>
9042 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9044 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9045 last column of multicolumn cells.
9046 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9048 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9050 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9051 file if it doesn't go to a temporary file.
9053 * buffer.C (sgmlOpenTag):
9054 (sgmlCloseTag): remove extra newline insertion.
9056 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9058 * text.C (getRowNearY): comment out debug msg
9060 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9062 * text2.C: first -> first_y
9064 * text.C (getRowNearY): add some attemts at a possible
9065 optimization, not working.
9067 * tabular.[Ch]: add BufferParams to several function so that newly
9068 created paragraph can be initialized to he default layotu for the
9071 * tabular-old.C (ReadOld): add buf->params to call of Init
9073 * screen.C: rename text->first to text->first_y
9075 * paragraph.C (breakParagraph): always set layout in the broken
9078 * lyxtextclass.C (Read): remove lowercase
9081 (delete_layout): ditto
9083 * lyxtext.h: rename first -> first_y
9085 * lyxlayout.C (Read): remove lowercase
9088 (obsoleted_by): ditto
9090 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9092 * buffer.C (insertErtContents): add params are to InsetERT
9093 (parseSingleLyXformat2Token): add code to check if a paragraphs
9094 layout really exist.
9095 (parseSingleLyXformat2Token): add params to several inset
9097 (asciiParagraph): remove lowercase, do the layout comparisons with
9100 * BufferView_pimpl.C (cursorNext): first -> first_y
9101 (resizeCurrentBuffer): first -> first_y
9102 (updateScrollbar): first -> first_y
9103 (scrollCB): first -> first_y
9104 (workAreaMotionNotify): first -> first_y
9105 (workAreaButtonPress): first -> first_y
9106 (checkInsetHit): first -> first_y
9107 (cursorPrevious): first -> first_y
9108 (cursorNext): first -> first_y
9109 (Dispatch): add buffer_->params to severl inset contructors
9111 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9113 * lyxlayout.C (Read): remove some debug info that I forgot.
9115 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9116 clean up the code slightly.
9117 (makeLinuxDocFile): ditto
9118 (makeDocBookFile): ditto
9120 * text2.C: layout as string
9122 * text.C: layout as string
9124 * paragraph_pimpl.C: layout as string
9126 * paragraph.[Ch]: layout as string
9128 * lyxtextclasslist.[Ch]: layout as string
9130 * lyxtextclass.[Ch]: layout as string
9132 * lyxtext.h: layout as string
9134 * lyxlayout.[Ch]: layout as string
9136 * lyx_cb.C: layout as string
9138 * bufferview_funcs.C: layout as string
9140 * bufferparams.C: layout as string
9142 * buffer.C: layout as string
9144 * LyXView.[Ch]: layout as string
9146 * LaTeXFeatures.[Ch]: layout as string
9148 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9150 * BufferView_pimpl.C: change current_layout to string, remove
9155 (workAreaButtonRelease): layout as string
9157 * BufferView2.C (unlockInset): adjust
9159 * vspace.C (asLatexCommand): use an explict temp variable.
9161 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9163 * Makefile.am: use FRONTEND_*
9165 2002-03-01 Juergen Vigna <jug@sad.it>
9167 * tabular.C (SetWidthOfMulticolCell): changed to something better
9168 I hope but still work in progress.
9169 (recalculateMulticolumnsOfColumn): renamed function from
9170 recalculateMulticolCells as it is more appropriate now.
9171 (SetWidthOfCell): calculate multicols better.
9173 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9175 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9177 * lyxfunc.C (processKeySym): print sequence also if it is
9178 `deleted' (complete)
9180 * kbsequence.C (print): print sequence even if it is deleted
9181 (complete would be a better word, actually).
9183 * lyxfunc.C (dispatch): print complete options after a prefix key
9185 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9187 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9189 * text2.C (setCharFont): eliminate setCharFont code duplication.
9191 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9193 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9194 LFUN_TABULAR_FEATURE (bug #177)
9196 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9198 * Makefile.am: remove figure.h
9200 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9202 * Bufferview_pimpl.C:
9214 * text2.C: remove #include "lyx_gui_misc.h".
9216 * LaTeX.C: added #include <cstdio>
9218 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9220 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9221 that the paragraph following this one can have.
9223 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9225 * vspace.C (asLatexCommand): fix bogus gcc warning
9227 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9229 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9231 * text2.C (setLayout): get rid of redundant code
9233 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9235 * text2.C (incDepth): make sure depth cannot be increased beyond
9238 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9240 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9241 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9243 * PainterBase.h (image):
9244 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9247 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9251 * BufferView_pimpl.C:
9252 * BufferView_pimpl.h:
9272 * sp_spell.C: remove fig inset, and the crap house of
9273 cards that follows it
9275 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9281 * nt_defines.h: move .h into support/
9283 * vms_defines.h: remove
9285 * WorkArea.C: add space in debug output
9289 * buffer.C: add WITH_WARNINGS
9293 * bufferlist.C: s/retrive/retrieve/, add docs
9304 * lyxgui.C: add ID to X error handler
9306 * lyxtestclass.c: fix typo
9308 2002-02-26 Juergen Vigna <jug@sad.it>
9310 * tabular_funcs.C (write_attribute): changed so that some default
9311 attributes are not written at all.
9312 (getTokenValue): set default values before trying to read the
9313 value so we have the return value always set as default if we don't
9314 find the token we search for.
9316 * tabular.C (Write): write bools as bools not as strings!
9318 2002-02-22 Juergen Vigna <jug@sad.it>
9320 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9321 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9323 * text.C (leftMargin): don't add an indent for paragraphs inside
9324 tabular cells (fix #208).
9326 2002-02-21 José Matos <jamatos@fep.up.pt>
9328 * tabular.C (docBook): fixed support for long tables.
9330 2002-02-20 Juergen Vigna <jug@sad.it>
9332 * text2.C (getFont): get the drawing font of the Inset if this
9333 paragraph is inside an inset (only important for InsetERT for now).
9335 * buffer.C (insertErtContents): use new lanugage params in ERT
9338 * CutAndPaste.C: commenting out seemingly uneeded code.
9340 2002-02-19 Allan Rae <rae@lyx.org>
9342 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9343 Iterators might be simple to use but they also get invalidated.
9344 (removeAutoInsets): renamed saved cursor tracking variables and added
9345 some comments to clarify what everything does.
9347 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9354 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9355 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9358 * vc-backend.h: remove #include "support/syscall.h"
9362 * converter.C: rearrange #includes in Lars' approved fashion.
9364 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9365 forward declare class Timeout in the header file.
9367 * XFormsView.C: changes due to the above.
9369 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9372 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9373 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9375 2002-02-18 José Matos <jamatos@fep.up.pt>
9377 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9380 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9382 * a lot of small ws changes
9383 * add a lot of using std::XXX
9384 * use std construcs some places where approp.
9385 * use some exisint stuff from lyxfunctional where approp.
9386 * Make file changes to use partial linking (lets test this now...)
9388 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9392 remove #include "support/syscontr.h" as it's redundant. Always has been.
9400 change Systemcalls::System to Systemcalls::Wait and
9401 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9402 No change of functionality, just reflects the stripped down Systemcalls
9405 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9407 * debug.[Ch]: add a GRAPHICS type to the enum.
9409 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9411 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9413 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9416 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9418 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9419 match the changes below.
9421 * text2.C (toggleInset): if there is not editable inset at cursor
9422 position, try to see if cursor is _inside_ a collapsable inset
9425 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9427 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9428 document menu has a nice checkbox
9430 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9432 * lyxlength.C (asLatexString): change PW to output as percent of
9435 * lengthcommon.C: change '%' to 't%'
9437 * lyxfunc.C (dispatch): a few comments from Martin
9439 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9443 * BufferView_pimpl.h:
9444 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9447 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9449 * vspace.C (inPixels): fix compiler warning
9451 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9453 * lyxfunc.C (getStatus): fix status message for disabled commands.
9455 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9457 * BufferView_pimpl.C: fix crash on close buffer
9458 during selection (#227)
9460 2002-01-27 Herbert Voss <voss@lyx.org>
9462 * buffer.C: link old Figure to new graphic inset
9464 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9466 * FontLoader.C (getFontinfo): Change the latex font names in order
9467 to match the names of type1inst.
9469 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9471 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9473 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9476 (remove_files_with_extension): ditto
9477 (remove_file): ditto
9480 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9481 document is smaller than the work area height. Do not initialize
9482 static variables to 0.
9484 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9486 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9488 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9489 LFUN_LAYOUT_PARAGRAPHS.
9491 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9492 tabular. It is possible to provide a possible cell, which will
9493 typically be the actcell from the corresponding insettabular
9495 * lyxfunc.C (getStatus): small cleanup; disable
9496 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9499 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9501 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9503 * paragraph.C (startTeXParParams):
9504 (endTeXParParams): new methods. The LaTeX code to
9505 start/end paragraph formatting
9506 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9507 empty (fixes bug #200)
9509 * vspace.C (inPixels): adapt to the change below
9510 (inPixels): [later] more cleanups (remove unused variables)
9512 * lyxlength.C (inPixels): change to use a width and a height as
9515 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9517 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9518 Replaced with \paperwidth
9520 * DepTable.C (insert): add std:: qualifier
9522 2002-01-18 Allan Rae <rae@lyx.org>
9524 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9527 * text.C (drawInset): Turned out I didn't know enough about how
9528 rebreaking worked. This fixes most of the redraw problems. I see
9529 an occasional cursor trail when a line is broken now and the cursor
9530 placement can seem out by a few pixels also after a rebreak.
9532 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9534 * buffer.C (parseSingleLyXformat2Token): update because minipage
9535 width is now a LyXLength
9537 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9539 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9542 2002-01-17 Juergen Vigna <jug@sad.it>
9544 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9546 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9547 is set correctly and the inset is updated correctly.
9549 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9551 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9552 the beginning of the loop.
9554 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9556 * lyxrc.C: improve help for use_scalable_fonts
9558 2002-01-17 Allan Rae <rae@lyx.org>
9560 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9562 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9564 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9565 make sure to set their inset_owner to the right value (bug #171)
9567 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9570 * DepTable.C: Implement mtime checking to reduce time spent doing
9573 2002-01-16 Juergen Vigna <jug@sad.it>
9575 * tabular.C (GetAdditionalHeight): one of error fixed.
9577 * lyxrc.C (output): small fix in writing use_pspell.
9579 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9581 * sp_base.h: #include LString.h
9583 2002-01-16 Allan Rae <rae@lyx.org>
9585 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9586 Can someone check this please?
9588 * text.C (drawInset): It was possible that p.row would be removed by
9589 breakAgainOneRow upsetting a few other settings. There may be another
9590 small tweak possible by setting need_break_row = 0 when p.row has been
9591 removed but I don't know enough about the logic here.
9593 2002-01-15 Allan Rae <rae@lyx.org>
9595 * text.C (insertChar): removed conditional truism.
9597 * BufferView2.C (removeAutoInsets): More tweaks.
9598 cur_par_prev could be a stray pointer. Check for trailing empty line
9599 in case last line was cur_par and only had an error inset on it.
9601 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9603 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9606 * vc-backend.C (most methods):
9607 * exporter.C (Export):
9608 * converter.C (convert):
9610 * LyXSendto.C (SendtoApplyCB):
9611 * lyxfunc.C (dispatch):
9615 * lyx_cb.C (AutoSave):
9617 * BufferView_pimpl.C (MenuInsertLyXFile):
9618 * buffer.C (runChktex): use Buffer::filePath().
9620 * buffer.h: rename filename to filename_; rename filepath to
9621 filepath_ and make it private
9622 (filePath): new method
9624 * buffer.C (writeFile): use fileName()
9627 * lyx_main.C (init): fix starting of LyX when the binary is a
9628 link from so,ewhere else.
9630 * minibuffer.C: include <cctype> for isprint
9632 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9634 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9635 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9636 name clash with InsetCollapsable's width function.
9638 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9640 * lastfiles.C: include <iterator>
9642 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9644 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9647 * buffer.C (makeLaTeXFile): ditto.
9648 Also make loop operation more transparent.
9650 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9652 * ToolbarDefaults.C: remove trailing comma closing namespace.
9654 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9656 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9659 * trans.C (Load): comment out unused variable, allowed.
9661 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9663 * minibuffer.[Ch] (append_char): new method to recieve input from the
9664 drop-down completion browser. If a key was pressed, then recieve this
9665 char and append it to the existing string.
9666 (peek_event): modify the positioning data passed to the completion
9667 browser so that it can be placed above the minibuffer rather than below.
9668 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9670 * LyXAction.C (init): alloe error-next for readonly documents.
9672 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9675 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9677 * bufferlist.C (readFile): create the buffer _after_ checking that
9680 * lyxfunc.C (verboseDispatch): fix handling of arguments
9682 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9684 * lyxrc.C: use string::erase() instead of initializing to "".
9687 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9689 * BufferView_pimpl.h:
9690 * BufferView_pimpl.C:
9693 * text2.C: tell X when we have made a selection for copying
9695 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9697 * BufferView_pimpl.C (MenuInsertLyXFile):
9698 * lyxfunc.C (menuNew):
9700 (doImport): add shortcuts to directory buttons
9702 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9705 * lyxfunc.C (setStatusMessage):
9706 (getStatusMessage): new methods
9707 (getStatus):use setStatusMessage instead of setErrorMessage
9708 (dispatch): when function is disabled, set error message here
9709 [instead of in getStatus previously]
9711 * BufferView_pimpl.C (workAreaButtonRelease): update
9712 toolbar/menubar here too.
9714 2002-01-13 Allan Rae <rae@lyx.org>
9716 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9717 Now seems indestructible. Remaining task is to audit all other
9718 code affected by deleteEmptyParagraphMechanism. One small quirk
9719 left is that an empty document with an error in the preamble can
9720 be made to report an error but no error box appears. I don't know
9722 (removeAutoInsets): Improved comments.
9724 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9727 * Thesaurus.C: update for Aiksaurus 0.14
9729 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9731 * text2.C (firstParagraph): removed member function, all uses
9732 replaces with ownerParagraph
9733 (redoParagraphs): here
9735 (toggleAppendix): here
9736 * BufferView2.C (insertErrors): here
9737 (setCursorFromRow): here
9739 2002-01-13 Allan Rae <rae@lyx.org>
9741 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9742 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9743 There is still a way to segfault this although you may have to do this
9744 multiple times: Have an InsetERT with an unknown command in it.
9745 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9746 <down-arrow>, <Enter> again, View->DVI, BANG!
9748 * text2.C (setCursor):
9749 (deleteEmptyParagraphMechanism):
9750 * lyxtext.h (setCursor):
9751 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9752 Making use of the return value may help fix other bugs.
9754 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9756 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9758 * LyXView.C (updateMenubar): call MenuBar::update here
9759 (updateToolbar): but not here
9760 (showState): do not update toolbar/menubar
9762 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9763 should need to care about that.
9765 * lyxfunc.C (verboseDispatch): simplify a bit
9766 (getStatus): have a version which takes a pseudoaction, and
9767 another which requires a (kb_action,string).
9769 * LyXAction.C (retrieveActionArg): make it work also when action
9770 is not a pseudo-action.
9771 (getActionName): simplify a bit
9774 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9776 * lyxfunc.C (verboseDispatch): new families of methods with
9777 several ways to specify a command and a bool to indicate whether
9778 the command name and shortcut should be displayed in minibuffer
9779 (eventually, we could extend that to a finer bitmask like
9780 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9781 (dispatch): the pristine dispatch command which just, well,
9782 dispatchs! Note it still sets its result to minibuffer; I'm not
9785 * lyxfunc.h: remove setHintMessage
9787 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9789 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9791 * BufferView_pimpl.C (specialChar): delete new inset if we have
9792 not been able to insert it.
9794 * kbmap.C: revert to using int instead of kb_action, since all we
9795 are dealing with is pseudo-actions.
9797 * LyXAction.C (searchActionArg): change to return int instead of
9798 kb_action, since the result is a pseudoaction.
9800 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9802 * buffer.C (insertErtContents): Fix (partially) the font bug.
9804 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9806 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9807 as the other one is broken on my machine!
9809 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9812 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9814 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9816 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9817 reflect their actual use. Provide compatibility code for older lyxrc
9820 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9822 change names of popup font variables in line with the changes to lyxrc.C
9824 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9826 * buffer.C (asciiParagraph): avoid outputing a word twice after
9829 * lyxrc.C (getDescription): document that document_path and
9830 template_path can be empty.
9832 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9834 * LaTeXFeatures.C (getMacros):
9835 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9837 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9839 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9841 (getPackages): rename feature "floats" to "float". Use an array to
9842 iterate over 'simple' features (i.e. just a \usepackage). Add
9843 handling of "amsmath" (renamed from "amsstyle").
9845 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9847 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9850 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9852 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9853 FuncStaus::FuncStatus & FuncStaus::some_method().
9855 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9857 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9858 of the func_satus stuff. Edited and massaged in various ways by
9861 * lyxfunc.C (getStatus): use FuncStatus
9863 2002-01-08 Juergen Vigna <jug@sad.it>
9865 * text.C (nextBreakPoint): use function Inset::isChar().
9867 * paragraph.C (TeXOnePar): use function
9868 Inset::forceDefaultParagraphs.
9870 * buffer.C (latexParagraphs): use function
9871 Inset::forceDefaultParagraphs.
9873 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9875 * lyx_gui.C (init): set the style of the menu popups to
9876 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9878 2002-01-07 Juergen Vigna <jug@sad.it>
9880 * text.C (setHeightOfRow): small fix
9881 (prepareToPrint): don't look at alignment if we don't have the place
9884 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9886 * box.C: New file. Move the Box methods and functions out of box.h,
9887 following Lars' suggestion.
9889 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9891 * box.h: #include "support/LOstream.h", needed for inlined function.
9894 * lyxtextclasslist.C: added some using std declarations.
9896 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9898 * box.h: make signed dimensions to allow insets wider than
9899 the screen (bug #162)
9901 * BufferView_pimpl.C: add some insetHit debug
9903 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9905 * vc-backend.C: add FIXME
9907 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9909 * lyxfunc.C (getStatus): enable code for showing math font status
9912 2002-01-07 Juergen Vigna <jug@sad.it>
9914 * text.C (nextBreakPoint): removed debug output not needed anymore.
9916 2002-01-06 Juergen Vigna <jug@sad.it>
9918 * text.C (nextBreakPoint): fixed up this function we had this bug
9919 since ever but now hopefully we break row better.
9920 (insertChar): we have to check if an inset is the next char as it
9921 could now happen that a large inset is causing a break.
9923 2002-01-05 Juergen Vigna <jug@sad.it>
9925 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9926 if it doesn't like to be drawed.
9928 2002-01-04 Juergen Vigna <jug@sad.it>
9930 * BufferView2.C (lockInset): forgot to set a cursor.
9932 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9934 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9939 * form_maths_panel.C:
9940 * form_maths_panel.h:
9941 * form_maths_panel.fd: implemented sub- and super- buttons in math
9944 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9945 (or ^ space) to be used as in TeX (req'd by André).
9947 * lyxfunc.C: Allow ^ and _ again to be used both as
9948 super/subscript (mathed) and as themselves (in text).
9950 2002-01-03 Allan Rae <rae@lyx.org>
9952 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9953 "LyX" or the filename of the current buffer if it has one. This is a
9954 modified form of John Levon's patch.
9956 * XFormsView.C (setWindowTitle): also set icon title.
9958 * LyXView.h (setWindowTitle): signature changed.
9959 * XFormsView.h (setWindowTitle): ditto.
9961 2002-01-02 Juergen Vigna <jug@sad.it>
9963 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9965 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9967 * screen.C (topCursorVisible): introduce a temp var for
9968 text->cursor.row(), handle the case where this row is null. (kindo
9971 * text2.C (setCursor): add a couple of asserts.
9973 * paragraph.h (inset_iterator): add -> operator
9975 * paragraph.[Ch] (autoDeleteInsets): remove member function
9977 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9978 cursor pos correctly and handle inset deletion by itself.
9979 (insertErrors): move iterator declaration out of for expression
9981 * lyxtextclass.C: add <algorithm>
9983 * Makefile.am: added the new files to sources, removed layout.C
9985 * layout.C: removed file
9987 * layout.h: remove LYX_DUMMY_LAYOUT
9989 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9993 * lyxtextclass.[Ch]:
9994 * lyxtextclasslist.[Ch]: new files
9996 * include order changes to a lot of files, also changes because of
9999 2001-12-27 Juergen Vigna <jug@sad.it>
10001 * buffer.C (asciiParagraph): more fixes.
10003 * tabular.C (ascii): make ascii export support export of only the
10004 data separated by a column-delimiter.
10005 (ascii): better support for ascii export.
10007 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10009 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10011 * tabular_funcs.C: use a "using std::getline" instead of the
10012 previous fix from Angus (necessary for cxx + lyxstring)
10014 2001-12-24 Juergen Vigna <jug@sad.it>
10016 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10018 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10019 problems. First check a minipage also if we have some ert-contents
10020 (not only on par->size(), second set the right depth of the paragraph
10021 on the relink to the root-paragraph-list!
10023 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10024 which then did not anymore update the main paragraphs on undo/redo!
10026 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10028 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10029 code. Support all font-changing funcs (even those which are not in
10030 menu currently). Support for reporting font settings in
10031 mathed (disabled until Andre provides a function on mathed's side).
10033 * func_status.h (toggle): small helper function to set toggle
10036 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10038 * tabular_funcs.C: getline -> std::getline
10040 2001-12-21 Juergen Vigna <jug@sad.it>
10042 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10043 accessed and could be 0 (I couldn't generate this but it seems
10046 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10048 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10049 * tabular_funcs.h: here and include iosfwd
10051 2001-12-20 Juergen Vigna <jug@sad.it>
10053 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10054 inside inset but undo_par was.
10056 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10058 * Thesaurus.C: always include <config.h> in sources.
10062 * box.h: do not include <config.h> in header files
10064 * text.C (paintLastRow): remove unused variable
10066 * text.C (transformChar):
10068 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10070 * Painter.C (text):
10071 * font.C (width): rewrite to use uppercase() instead of
10074 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10076 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10078 * lyxfind.C: clean up of find failure position change
10080 2001-12-20 Juergen Vigna <jug@sad.it>
10082 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10084 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10085 (TeXRow): added to LaTeX a single tabular row.
10086 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10087 (Latex): simplified and finally good LT-h/f support.
10088 (various_functions): just small adaptions for LT-h/f support.
10090 * tabular_funcs.[hC]: added and moved here all not classfunctions
10093 2001-12-19 Juergen Vigna <jug@sad.it>
10095 * tabular.[Ch]: better support for longtabular options (not finished
10098 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10100 * text.C (paintLastRow): use the label font instead of the font of
10101 the last character to compute the size of *_BOX. This makes more
10102 sense and avoids a crash with empty paragraphs.
10103 Use Painter::rectangle to draw EMPTY_BOX.
10105 2001-12-19 Juergen Vigna <jug@sad.it>
10107 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10108 the paragraphs if the replaced paragraph is not the first one!
10109 Tried to delete not used paragraphs but does not work yet so for
10110 now it's inside #ifdef's and by default off!
10112 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10114 * MenuBackend.C: include "lyx_main.h" instead of declaring
10115 lastfiles (actually was declared as LastFiles* instead of a
10118 2001-12-17 Juergen Vigna <jug@sad.it>
10120 * tabular.C (AppendColumn): applied John's fix
10122 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10126 * BufferView_pimpl.h:
10127 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10130 * box.h: new start of class for above
10132 * lyxfunc.C: ignore space-only minibuffer dispatches.
10133 Show the command name when it doesn't exist
10135 * minibuffer.C: don't add empty lines to the history
10137 * minibuffer.C: add a space on dropdown completion
10139 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10141 * text.C: fix line above/below drawing in insets
10143 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10145 * lyxlength.C (LyXLength): Initialize private variables.
10147 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10149 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10150 when inserting error insets.
10152 2001-12-13 Juergen Vigna <jug@sad.it>
10154 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10155 actually sometimes the before-paragraph.
10156 (setUndo): don't clear the redostack if we're not actually undoing!
10158 2001-12-06 Juergen Vigna <jug@sad.it>
10160 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10161 and fixed redoing of main paragraph, so we can use it now ;)
10163 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10165 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10167 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10170 2001-12-13 André Pönitz <poenitz@gmx.net>
10173 * undo_func.C: minor cleanup
10175 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10177 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10178 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10179 font in urw-fonts package which is marked as -urw-fontspecific and
10180 does not work (incidentally, changing the encoding in the
10181 fonts.dir of this package to -adobe-fontspecific fixes the
10184 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10185 is a crash when undoing first paragraph (Juergen, please take a
10186 look). THis does not mean the undo fix is wrong, just that it
10189 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10190 the (Paragraph*) version when needed instead of duplicating the
10193 * text.C (workWidth): use Inset::parOwner to find out where the
10194 inset has been inserted. This is a huge performance gain for large
10195 documents with lots of insets. If Inset::parOwner is not set, fall
10196 back on the brute force method
10198 * paragraph_pimpl.C (insertInset):
10199 * paragraph.C (Paragraph):
10200 (cutIntoMinibuffer): set parOwner of insets when
10201 inserting/removing them
10203 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10205 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10211 * mathed/formulabase.C:
10212 * mathed/math_cursor.[Ch]:
10213 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10216 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10218 * lyxlength.[Ch] (operator!=): new function
10220 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10222 * text.C (workWidth): use Inset::parOwner to find out where the
10223 inset has been inserted. This is a huge performance gain for large
10224 documents with lots of insets. If Inset::parOwner is not set, fall
10225 back on the brute force method
10227 * paragraph_pimpl.C (insertInset):
10228 * paragraph.C (Paragraph):
10229 (cutIntoMinibuffer): set parOwner of insets when
10230 inserting/removing them
10232 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10234 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10236 * tabular-old.C (getTokenValue):
10237 * tabular.C (getTokenValue):
10238 (write_attribute): new versions for LyXLength
10239 (everywhere): adjust the use of widths
10241 * tabular.h: change the type of widths from string to LyXLength
10243 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10245 * paragraph.C: fixed missing line number count when exporting
10246 Environments to LaTeX file
10248 * buffer.C: added informational message for checking line numbers.
10250 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10252 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10253 paragraph, do the 'double space' part, but not the 'empty
10256 * text.C (workWidth): small optimization
10257 (getLengthMarkerHeight): use minimal size for negative lengths.
10259 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10261 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10263 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10265 2001-12-11 André Pönitz <poenitz@gmx.net>
10268 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10270 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10272 * text2.C: keep selection on a setFont()
10274 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10276 * lyx_cb.C: another bv->text misuse, from insert label
10278 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10281 * kbsequence.C: re-instate nmodifier mask
10283 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10285 * lyx_main.h: make lyxGUI private.
10287 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10289 * lyxfind.C: place the cursor correctly on failed search
10291 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10293 * text.C (getLengthMarkerHeight): for small heights, the arrows
10294 are not always on top/bottom of the text
10295 (drawLengthMarker): smaller arrows; take the left margin in
10296 account; draw also vfills.
10298 (paintLastRow): remove special code for vfill and standard spaces,
10299 since everything is handled in drawLengthMarker now.
10301 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10303 * buffer.C (insertErtContents): try to handle font and language
10304 interaction a bit better.g
10306 * ColorHandler.C (updateColor): change the hash to cover the whole
10307 LColor enum, ws cleanup
10308 (getGCLinepars): ditto
10309 (getGCLinepars): only lookup in the linecache once.
10311 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10313 * iterators.C (operator++): Make the iterator more robust
10315 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10317 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10319 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10322 * text.C: better added space drawing
10324 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10327 * BufferView2.C: fix layout combo update on inset unlock
10329 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10331 * Makefile.am: don't compile unused files
10333 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10337 * LyXAction.C: remove old LFUN_LAYOUTNO
10339 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10341 * paragraph_pimpl.h:
10342 * paragraph_pimpl.C: isTextAt() doesn't need font param
10344 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10347 * lyxlex.C: little cleanup
10349 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10351 * BufferView_pimpl.C: fix insertAscii for insets
10353 2001-12-05 Juergen Vigna <jug@sad.it>
10355 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10356 set the right font on the "multi" paragraph paste!
10358 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10364 * lyxlength.C: remove out-commented code.
10366 * BufferView_pimpl:
10380 * vc-backend.C: change "while(" to "while ("
10382 * lyxlength.[Ch]: add zero function to check if length is zero or
10384 * lyxgluelength.C: use it
10386 2001-12-05 Allan Rae <rae@lyx.org>
10388 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10389 Works for 2.95.3, from what I understand of Garst's reports this should
10390 work for other g++ versions. We're screwed if the abs(int) definition
10391 changed between bugfix releases of gcc.
10393 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10395 * text.C: fix chapter label offset !
10397 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10400 * text.C: fix hfill at end of line, clean up
10402 2001-12-04 Juergen Vigna <jug@sad.it>
10404 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10405 that we force an update of the inset and it's owners if neccessary.
10407 2001-12-03 Juergen Vigna <jug@sad.it>
10409 * text.C (rowLast): simplified code
10411 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10413 * lyxfunc.C: fix show options on timeout
10415 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10417 * screen.C (topCursorVisible): scroll half a page when the cursor
10418 reached top of bottom of screen
10420 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10422 * minibuffer.C: deactivate on loss of focus
10424 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10426 * vspace.[Ch] (operator!=): add operator.
10428 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10430 * BufferView_pimpl.C: refuse to open an inset when
10431 there's a selection.
10433 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10435 * BufferView_pimpl.C: allow to click on RHS of full row insets
10437 2001-11-30 Juergen Vigna <jug@sad.it>
10439 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10440 insets for undo reasons.
10442 2001-11-28 André Pönitz <poenitz@gmx.net>
10444 * vspace.[Ch]: cosmetical changes
10446 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10456 * kbsequence.C: part re-write of old kb code
10459 * WorkArea.C: remove Lgb_bug_find_hack
10461 2001-11-30 José Matos <jamatos@fep.up.pt>
10463 * buffer.C (makeDocBookFile): add a comment to point a hack.
10464 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10465 Fixed a double write of labels.
10467 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10470 * LaTeX.h Fixed bug in LaTeX class where it would not
10471 re-run latex if no depfiles were changed, but the .dvi was removed.
10473 2001-11-28 André Pönitz <poenitz@gmx.net>
10475 * all the files from the change on 2001/11/26:
10476 use lyx::layout_type instead of LyXTextClass::size_type
10477 use lyx::textclass_type instead of LyXTextClassList::size_type
10479 2001-11-29 Juergen Vigna <jug@sad.it>
10481 * text.C: added support for paragraph::isFreeSpacing()
10483 * buffer.C: same as above
10485 * paragraph.h: inserted isFreeSpacing() function to enable
10486 FreeSpacing inside InsetERT.
10488 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10489 of the paragraph's in the cut/copy buffer to 0!
10491 * text2.C (removeRow): remove the assert as it can!
10493 * lyxtext.h: added helper function firstRow returning firstrow and
10494 made firstrow private again.
10496 * BufferView2.C (lockInset): don't relock if we're already locked!
10498 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10499 the only paragraph.
10500 (removeRow): added Assert::(firstrow)
10502 * debug.C: forgot to add INSETTEXT here.
10504 2001-11-28 Juergen Vigna <jug@sad.it>
10506 * sp_spell.C (initialize): changed error text to more general
10507 spellchecker command use (not only ispell!)
10509 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10511 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10513 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10515 * vspace.C: initialise lyxgluelength on failure
10517 2001-11-28 Allan Rae <rae@lyx.org>
10519 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10520 declaration & definition that looks like a function declaration.
10522 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10524 * BufferView2.C (copy):
10525 (copyEnvironment): do not clear the selection when doing a copy.
10527 * text.C (paintFirstRow): compilation fix
10529 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10531 * tabular.C (Latex): correct line count when writing latex.
10533 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10535 * paragraph_pimpl.h:
10536 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10539 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10543 * LColor.C: change vfillline->added_space
10545 * text.C: add markers and text for added space
10547 * vspace.C: fix comment
10549 2001-11-28 André Pönitz <poenitz@gmx.net>
10551 * paragraph.C: whitespace changes
10552 * all the other files from the change on 2001/11/26:
10553 change *::pos_type into lyx::pos_type
10555 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10557 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10558 language of the document when inserting error insets.
10560 2001-11-26 André Pönitz <poenitz@gmx.net>
10562 * BufferView_pimpl.[Ch]:
10570 * paragraph_pimpl.[Ch]:
10573 * text2.C: reduce header dependencies, introduce type for positions
10575 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10577 * <various>: change to use Alert.h
10579 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10581 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10582 when encountering an unknown token.
10583 (readLyXformat2): Show an error message if there were unknown tokens.
10585 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10588 * BufferView_pimpl.C:
10592 * text2.C: use par->isInset()
10594 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10596 * paragraph_pimpl.h:
10597 * paragraph_pimpl.C: cleanup
10599 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10601 * text2.C (removeRow):
10602 * text.C (setHeightOfRow): remove useless (and costly) call to
10605 2001-11-20 Allan Rae <rae@lyx.org>
10607 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10608 Now need Inset*::checkInsertChar() to return true for appropriate
10609 cases so that the characters in the minibuffer will actually be
10612 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10614 * text.C: change the order of the includes.
10615 (workWidth): initialize it at once.
10616 (workWidth): make maxw unsigned
10617 (setHeightOfRow): remove unused variable (inset)
10618 (selectSelectedWord): remove unused variable (inset)
10619 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10621 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10623 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10624 server is not running.
10626 (closeConnection): add debug info when server is disabled.
10628 * ColorHandler.C (getGCForeground): send debug message to GUI
10631 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10633 * kbmap.C (bind): modify because return conventions of
10634 kb_sequence::parse have changed.
10636 * kbsequence.C (parse): only ignore spaces and not any stupid
10637 control character. This avoids tests like s[i] <= ' ', which are
10638 guaranteed to fail with 8bit characters and signed chars.
10639 Change return code to string::npos when there have been no error
10640 (0 was a bad idea when error is at first character)
10642 2001-11-14 José Matos <jamatos@fep.up.pt>
10645 * buffer.C (simpleDocBookOnePar): removed unused argument.
10647 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10649 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10650 insets which are part of a word. Paragraph::isLetter takes care of
10651 that now. Use Paragraph::isInset to identify insets.
10652 (selectSelectedWord): do not test for hyphenation break.
10654 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10655 that protected spaces are considered as spaces.
10657 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10660 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10663 * lyxserver.C: fix it. and small cleanup.
10665 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10667 * BufferView_pimpl.C: use inline helpers
10670 * LaTeXFeatures.C: fix typos
10673 * Spacing.C: move spacing_string into class
10675 * ToolbarDefaults.C: move stuff into namespace anon
10677 * layout.h: update enum
10679 * lyxfunc.C: use better debug
10681 * minibuffer.h: fix typo
10685 * WorkArea.C: add and use Debug::WORKAREA
10689 * text2.C: code re-organisation, inline helpers
10691 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10693 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10694 std::vector.empty().
10696 2001-11-09 Allan Rae <rae@lyx.org>
10698 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10699 '\n's after tables. Tabular and ERT inset work now makes this no
10702 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10705 * minibuffer.C: fix crash, improve drop-down completion
10707 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10710 * lyxserver.C: invalidate fd's when doing endPipe()
10712 2001-11-08 José Matos <jamatos@fep.up.pt>
10714 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10715 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10718 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10720 2001-11-07 José Matos <jamatos@fep.up.pt>
10723 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10726 * buffer.C (sgmlOpenTag):
10727 * buffer.C (sgmlCloseTag): removed debug info.
10729 * buffer.h (sgmlOpenTag):
10730 * buffer.h (sgmlCloseTag): made public.
10732 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10734 * buffer.C (saveParamsAsDefaults):
10735 * lyx_cb.C (MenuLayoutSave): remove
10737 * LyXAction.C (init):
10739 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10741 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10743 * buffer.C (setPaperStuff): removed from here...
10745 * bufferparams.C (setPaperStuff): ... and moved there.
10747 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10751 * XFormsView.C: add support for drop-down completion
10753 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10755 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10758 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10760 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10763 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10765 * lyx_main.C: change ref to known bugs
10767 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10769 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10770 to work around older babel problems.
10772 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10774 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10776 2001-10-24 Juergen Vigna <jug@sad.it>
10778 * tabular-old.C (ReadOld): below variable changes reflected.
10780 * tabular.[Ch]: added ltType struct for longtable header/footer
10781 defines and changed all instances where they are used. Added
10782 future support for double top/bottom rows.
10784 2001-10-24 José Matos <jamatos@fep.up.pt>
10786 * buffer.h (docbookHandleCaption):
10787 * buffer.C (docbookHandleCaption): removed unused function.
10788 (makeDocBookFile): moved docbook supported version to v4.1.
10790 2001-10-24 José Matos <jamatos@fep.up.pt>
10793 * tabular.C (docbookRow): new function to export docbook code of a row.
10794 (DocBook): now honors the longtable flags.
10796 2001-10-23 José Matos <jamatos@fep.up.pt>
10799 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10800 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10802 * buffer.C (makeLinuxDocFile):
10803 (makeDocBookFile): reworked the preamble, more clean, and with
10804 support for lyx defined entities. Changed the document declaration
10805 to be more XML friendly.
10807 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10808 if we need to output XML that should be done with a filter.
10810 2001-10-22 Juergen Vigna <jug@sad.it>
10812 * sp_pspell.h (class PSpell): add alive function needed in the
10813 controller to see if the spellchecker could be started.
10815 2001-10-22 Juergen Vigna <jug@sad.it>
10817 * buffer.C (insertStringAsLines): modify the font for inserting
10818 chars in certain conditions by calling checkInsertChar(font).
10820 2001-10-19 Juergen Vigna <jug@sad.it>
10822 * text.C (workWidth): use getRow instead of wrong algorithm.
10823 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10825 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10830 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10832 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10834 * text.C (workWidth): do not search for the exact row when
10835 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10836 optimization for big documents.
10838 2001-10-18 Juergen Vigna <jug@sad.it>
10840 * text.C (workWidth): new function with added Inset * parameter.
10842 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10844 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10846 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10847 change return type of getColumnNearX.
10850 * text.C (changeRegionCase): use uppercase/lowercase instead of
10853 (rightMargin): simplify code by factoring out the uses of
10858 (appendParagraph): use Paragraph::size_type
10860 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10862 * vspace.C (asLatexString): add a missing break
10864 2001-10-15 Herbert Voss <voss@perce.de>
10866 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10868 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10870 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10873 2001-10-10 André Pönitz <poenitz@gmx.net>
10875 * lyxfunc.C: removed greek_kb_flag.
10877 2001-10-10 Herbert Voss <voss@perce.de>
10879 * lyx_main.C: delete global string help_lyxdir.
10881 2001-10-09 Herbert Voss <voss@perce.de>
10883 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10885 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10887 * lyx_main.C: added global string help_lyxdir.
10889 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10891 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10893 * lyxrc.C (set_font_norm_type): support iso8859-4
10895 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10897 * LaTeX.C (deplog): add another regex for MikTeX
10899 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10901 * lyxrc.C (set_font_norm_type): support iso8859-3
10903 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10905 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10907 * LaTeXFeatures.C: remove special case of french and index
10909 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10910 before \begin{document}). This solves several incompatibilities.
10912 2001-10-03 Garst Reese <reese@isn.net>
10914 * lyx_cb.C: change CheckTex error msg.
10916 2001-10-03 José Matos <jamatos@fep.up.pt>
10918 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10920 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10922 * .cvsignore: update
10924 * lyx_main.C (commandLineVersionInfo): use new style version info.
10926 * buffer.C (writeFile):
10928 (makeLinuxDocFile):
10929 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10931 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10933 * version.h: update to use stuff in version.C
10935 * version.C.in: new file. Contains version information determined
10936 at compile time. This is a merging of version.h and
10939 2001-10-03 Juergen Vigna <jug@sad.it>
10941 * BufferView_pimpl.C (update): don't change "dirty" status in
10944 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10946 * WorkArea.C (c-tor): re-position version string slightly.
10948 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10950 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10951 revert to previous code.
10953 WorkArea.[Ch]: (show, destroySplash): methods removed.
10955 WorkArea.C: rework code so that it's an amalgam of the codes before and
10956 after the splash screen was moved to WorkArea.
10958 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10961 * vspace.C (inPixels):
10964 * buffer.C (insertStringAsLines):
10965 (asciiParagraph): fix types to be large enough
10967 * lyxlex_pimpl.h: change member status from short to int
10969 * layout.h: fix type of endlabeltype
10972 * kbsequence.C (parse): change return type to string::size_type
10974 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10977 * Bullet.C (bulletSize):
10978 (bulletEntry): do not use short ints as parameters
10980 * BufferView2.C (insertLyXFile): change a char to an int.
10982 * WorkArea.C (WorkArea): remove unneeded floats in computation
10984 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10986 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10988 * paragraph.C (asString): Do not ignore newline/hfill chars when
10989 copying to the clipboard.
10991 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10993 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10994 after a multi-line inset.
10996 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10998 * paragraph.C (validate): Set NeedLyXFootnoteCode
11000 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11002 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11003 and decrease-error to decrease.
11005 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11007 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11008 it more readable (should be equivalent)
11010 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11012 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11014 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11016 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11017 of a cursor (row, etc.) after a character has been deleted
11018 (deleteEmptyParagraphMechanism): call the method above on _all_
11019 cursors held by the LyXText when a double space has been
11022 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11024 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11026 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11028 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11029 background. Use greyOut() and the new show() methods to toggle between
11030 the foreground and background. Add code to remove the splash after
11031 its initial showing.
11033 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11034 (create_forms): no longer call Dialogs::showSplash.
11036 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11038 * .cvsignore: add version_info.h
11040 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11042 * version_info.h.in: new file
11044 * Makefile.am: add version_info.h.in
11046 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11047 version_info.h instead of VERSION_INFO
11049 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11051 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11052 The ERT inset now returns string().
11054 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11056 * lyxtext.h, text.C (selectNextWord): renamed as
11057 selectNextWordToSpellcheck.
11059 * text.C (selectNextWordToSpellcheck): Modified to not select
11060 words inside an ERT inset.
11062 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11064 * lyx_cb.C (MenuLayoutSave): change a bit the question
11066 * sp_base.h: include <sys/types.h>
11068 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11070 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11072 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11074 * several files: fix typos in user-visible strings
11076 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11078 * text2.C (pasteSelection): do not set the selection, since it
11079 will be cleared later. Actually, the intent was to fix the way the
11080 selection was set, but I figured rmoving the code was just as good.
11082 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11084 * FontLoader.C (available): Check if font is available without
11087 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11089 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11091 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11093 * lyxrc.[Ch]: added display_graphics variable and associated code.
11095 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11097 * bufferparams.C (hasClassDefaults): new method. Returns true if
11098 the buffer parameters correspond to known class defaults
11100 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11102 * XFormsView.C (show): set minimum size to the main window.
11104 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11106 * text2.C (copySelection):
11108 * lyxfind.C (LyXReplace):
11109 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11110 LyXText::selectionAsString.
11112 * paragraph.C (asString): add "label" argument to the second form
11114 * text2.C (selectionAsString): add "label" argument and pass it to
11115 Paragraph::asString.
11117 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11119 * lyx_main.C (commandLineHelp): remove version information
11121 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11123 * lyx_main.C: add -version commandline option
11125 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11127 * paragraph.h: make the optional constructor arg required instead.
11128 some modifications to other files because of this.
11130 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11132 * lyxserver.C (C_LyXComm_callback): make it static
11134 * lyx_main.C (error_handler): make it static
11136 * lyx_gui.C (LyX_XErrHandler): make it static
11138 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11140 * WorkArea.C: make the extern "C" methods static.
11142 * Makefile.am (lyx_LDADD): simplify
11144 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11146 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11147 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11149 * LyXAction.C (init):
11150 * lyxfunc.C (dispatch): associated code removal.
11152 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11154 * lyxfont.h (isSymbolFont): shut off warning
11156 * text.C (setHeightOfRow):
11157 (getVisibleRow): fix crash with empty paragraphs which have a
11160 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11162 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11165 2001-09-04 José Matos <jamatos@fep.up.pt>
11168 * tabular.C (docbook): rename docBook method to docbook.
11170 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11172 * Makefile.am: add dependencies to main.o.
11174 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11176 * FontLoader.C (available): Return false if !lyxrc.use_gui
11178 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11180 * FontInfo.C (query):
11181 * converter.C (view):
11182 * importer.C (Import):
11183 * exporter.C (Export): Can not -> cannot.
11185 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11187 * BufferView_pimpl.C: allow to create index inset even if
11190 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11192 * buffer.C (getLists): replace boost::tie code with an explicit pair
11193 as boost::tie can break some compilers.
11195 * iterators.h: Added a std:: declaration to the return type of
11198 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11200 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11203 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11205 * iterators.[Ch]: New files. Provide paragraph iterators.
11207 * buffer.C (changeLanguage): Use paragraph iterators.
11208 (isMultiLingual): ditto
11210 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11212 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11214 * FontLoader.C: Support for cmr font.
11216 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11218 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11219 (available): New method.
11221 * FontInfo.C (getFontname): Use scalable fonts even when
11222 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11225 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11227 * converter.C (Formats::view): reverted! Incorrect fix.
11229 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11231 * converter.C (Formats::view): only output the -paper option
11232 if the dvi viewer is xdvi, thereby fixing bug #233429.
11234 2001-08-23 Herbert Voss <voss@perce>
11236 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11238 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11240 * Spacing.h (Spacing): Set space to Default on in the default
11243 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11245 * vc-backend.h (RCS::versionString): add RCS to version
11246 (CVS::versionString): add CVS to version
11248 * vc-backend.C (scanMaster): do not add CVS to version.
11249 (scanMaster): do not add RCS to version
11251 * lyxvc.C (versionString): new method
11253 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11255 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11257 * Spacing.C (set): initialize fval
11259 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11261 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11264 2001-08-16 Juergen Vigna <jug@sad.it>
11266 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11268 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11270 * BufferView_pimpl.C:
11273 * text2.C: setParagraph takes linespacing now
11275 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11277 * LyxAction.C: add internal LFUN_CITATION_INSERT
11279 * LyXView.C: actually apply fix
11281 * bufferlist.C: fix open non-existent file
11283 * lyxfind.C: fix indentation
11285 * lyxfunc.C: remove unneeded assert, fix typo
11287 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11289 * MenuBackend.C: use "Floatname List"
11291 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11293 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11294 when converting LaTeX layout to insetERT.
11295 Generate a non-collapsed float when reading old float
11297 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11299 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11302 2001-08-13 Juergen Vigna <jug@sad.it>
11304 * text.C (fill): return 0 instead of 20 as this seems to be the more
11307 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11309 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11312 2001-08-13 Juergen Vigna <jug@sad.it>
11314 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11316 (SearchBackward): comment out the unlocking of the inset_owner this
11317 should not be needed!
11319 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11321 * Many files: Remove inherit_language, and add latex_language
11323 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11324 collapsible insets.
11326 2001-08-10 Juergen Vigna <jug@sad.it>
11328 * text.C (prepareToPrint): fixed hfill-width in draw!
11330 * BufferView2.C (selectLastWord): save the selection cursor as this
11331 now is cleared in the function LyXText::clearSelection!
11333 2001-08-08 Juergen Vigna <jug@sad.it>
11335 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11336 BACKSPACE type functions.
11338 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11339 is only cutted from the document but not put in the cut-buffer, where
11340 still the old stuff should be.
11342 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11344 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11346 * tabular.C (SetWidthOfCell): fixed special case where the width
11348 (LeftLine): handle '|' in align_special.
11350 (LeftAlreadyDrawed): ditto
11351 (SetWidthOfCell): ditto
11353 2001-08-07 Juergen Vigna <jug@sad.it>
11355 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11357 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11359 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11360 * lyxlex.[hC]: ditto
11362 2001-08-06 Juergen Vigna <jug@sad.it>
11364 * text.C (getVisibleRow): fix up row clearing a bit.
11366 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11368 * minibuffer.C: make sure the X server sees the changes in the input.
11370 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11372 * paragraph.C (getFont): split into...
11373 (getLabelFont): this
11374 (getLayoutFont): and this
11375 * paragraph_pimpl.C (realizeFont): calling this
11377 * text2.C (getFont): split into...
11378 (getLayoutFont): this
11379 (getLabelFont): and this
11380 (realizeFont): all three calling this
11382 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11385 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11387 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11389 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11391 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11392 layouts from the Quote inset insertion.
11394 2001-08-03 Juergen Vigna <jug@sad.it>
11396 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11398 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11399 only if status not is already CHANGED_IN_DRAW (second level).
11401 * text.C (draw): don't set the need_break_row when inside an
11404 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11406 * buffer.C (parseSingleLyXformat2Token): handle more latex
11409 * bufferview_funcs.[hC]: change function names to
11410 begin with small char, adjust other files.
11412 2001-08-02 André Pönitz <poenitz@gmx.net>
11415 BufferView_pimpl.C: remove broken special code for math-greek
11417 2001-08-02 Juergen Vigna <jug@sad.it>
11419 * BufferView_pimpl.C (update): redone this function so that we
11420 update the text again if there was a CHANGE_IN_DRAW.
11422 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11423 (drawFromTo): added a new internal bool which is used by draw() and
11425 (general): some cursor drawing problems fixed.
11427 2001-08-01 Juergen Vigna <jug@sad.it>
11429 * lyxfind.C (LyXFind): fixed
11430 (SearchForward): ditto
11431 (SearchBackward): ditto
11433 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11434 spurius drawing of the cursor in the main area.
11436 * text2.C (status): small fix which could lead to a segfault!
11437 (clearSelection): remove unneeded BufferView param.
11439 2001-08-01 André Pönitz <poenitz@gmx.net>
11441 * lyxfunc.C: small change due to changed mathed interface
11443 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11445 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11447 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11449 * lyxfunc.c: fail gracefully if file doesn't exist
11454 * BufferView_pimpl.C: IsDirWriteable() proto changed
11456 * LyXView.C: fix updateWindowTitle() to store the last title
11458 2001-07-31 Juergen Vigna <jug@sad.it>
11460 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11461 the font (wrong since using of Paragraph::highestFontInRange).
11463 * paragraph.C (highestFontInRange): added a default_size parameter.
11465 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11466 (setHeightOfRow): reformat
11468 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11470 * converter.[hC] + affected files: move to (inital-char)lowercase
11473 * ParagraphParameters.C (ParagraphParameters): remove commented code
11475 * PainterBase.[Ch]: remove commented code
11477 * LaTeXFeatures.h: add "bool floats" for float.sty
11479 * LaTeXFeatures.C (LaTeXFeatures): init floats
11480 (require): handle float
11481 (getPackages): do it with floats
11483 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11485 * BufferView_pimpl.C (Dispatch): improve handling of
11486 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11488 * commandtags.h: #include lyxfont.h here temporarily to avoid
11491 * bufferlist.h: include LString.h here.
11493 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11495 * text2.C (getStringToIndex): new method.
11497 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11499 * *: Reduced header file dependencies all over.
11501 2001-07-30 Baruch Even <baruch@lyx.org>
11503 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11505 2001-07-29 Baruch Even <baruch@lyx.org>
11507 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11509 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11511 * ParameterStruct.h (endif): add a default constructor to make
11512 sure that all variables is initialized.
11514 * ParagraphParameters.C (ParagraphParameters): adjust
11516 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11518 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11519 index; also, check that there is something to index, and that it
11520 does not span over several paragraphs.
11521 (doubleClick): use WHOLE_WORD_STRICT for double click.
11523 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11525 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11528 2001-07-26 Baruch Even <baruch@lyx.org>
11530 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11531 an InsetFig figure, backwards compatible reading of old figure code.
11533 2001-07-27 Juergen Vigna <jug@sad.it>
11535 * text2.C: font.realize function adaption.
11537 * text.C (draw): add a warnings lyxerr text if needed.
11539 * layout.C: font.realize function adaption.
11541 * language.C: add inherit_language and implement it's handlings
11543 * bufferview_funcs.C (StyleReset): remove language parameter from
11544 font creation (should be language_inherit now).
11546 * bufferparams.C (writeFile): handle ignore_language.
11548 * paragraph.C (getFontSettings): the language has to be resolved
11549 otherwise we have problems in LyXFont!
11551 * lyxfont.C (lyxWriteChanges): added document_language parameter
11552 (update): removed unneeded language parameter
11554 * paragraph.C (validate): fixed wrong output of color-package when
11555 using interface colors for certain fonts in certain environments,
11556 which should not seen as that on the final output.
11558 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11560 * BufferView_pimpl.C:
11565 * LyXAction.C: add thesaurus support
11568 * lyxfind.C: add "once" parameter, for thesaurus, to not
11569 move to the next match
11571 2001-07-26 Juergen Vigna <jug@sad.it>
11573 * lyxfont.C (realize): honor ignore_language too!
11576 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11578 * text.C (draw): one place more for ignore_language to not draw
11581 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11583 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11585 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11587 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11588 the minipage conversion problem.
11590 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11592 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11595 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11597 * BufferView.h: don't forward declare WorkArea
11599 * BufferView.C: don't include WorkArea.h
11601 2001-07-25 André Pönitz <poenitz@gmx.net>
11605 * lyxfunc.C: new LFUN 'math-space'
11607 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11609 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11611 * text2.C (toggleInset): call open/close
11613 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11615 * lyxfunc.C (dispatch): add debug for the disabled case
11617 * font.C (buttonText): make similar to rectText
11619 * buffer.C (readInset): comment out parsing of insetlist and
11622 * PainterBase.C (rectText): small correction
11624 * BufferView_pimpl.C: comment out insettheorem and insetlist
11625 * LyXAction.C: ditto
11626 * commandtags.h: ditto
11628 2001-07-24 Juergen Vigna <jug@sad.it>
11630 * text.C (draw): honor the ignore_language.
11632 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11634 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11636 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11639 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11641 * lyxtext.h: remove unused (and unimplemented) methods
11643 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11645 * text.C (getVisibleRow): honor background color
11648 * Painter.h: remove default color argument for fillRectangle
11650 * text.C (backgroundColor): new method
11652 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11654 * text.C (getVisibleRow): adjust
11656 * font.[Ch] (rectText): new method, metrics
11657 (buttonText): new method, metrics
11659 * PainterBase.[hC]: make rectText and buttonText always draw and take
11662 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11664 * ToolbarDefaults.C (read):
11665 * MenuBackend.C (read): allow escaping in all strings
11667 * BufferView_pimpl.C (insertAndEditInset): new method.
11668 (Dispatch): use insertAndEditInset whenever appropriate.
11670 * BufferView_pimpl.C (insertNote): removed
11672 * BufferView_pimpl.C (smartQuote): new method, moved from
11673 BufferView; if an insetquote cannot be inserted, insert a '"'
11676 * BufferView2.C: remove insertCorrectQuote();
11678 * lyxfunc.C (getStatus): Add support for all remaingin
11679 inset-insert lfuns.
11681 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11683 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11684 command (necessary to pass " as parameter of self-insert.
11686 * text.C (selectWordWhenUnderCursor):
11687 (selectWord): add word_location parameter
11688 (selectWordWhenUnderCursor): same + remove special code for word
11690 (selectNextWord): use kind() to guess type of insetspecialchar,
11693 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11694 (insertErtContents): create ert insets as collapsed.
11695 (readInset): better compatibility code for Info inset.
11697 2001-07-20 Juergen Vigna <jug@sad.it>
11699 * lyxfunc.C (dispatch): use always LyXFind now!
11701 * text2.C (init): add a reinit flag so that the LyXText can be
11702 reinited instead of deleted and reallocated (used in InsetText).
11704 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11710 2001-07-18 Juergen Vigna <jug@sad.it>
11712 * text.C (selectNextWord): handle insets inside inset by calling
11713 always the bv->text functions so that we can go up the_locking_inset!
11715 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11716 in strange locations when inside an inset!
11718 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11719 handling to include insets.
11721 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11723 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11725 * LyXAction.C (init):
11727 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11728 LIGATURE_BREAK, since the name is so stupid.
11730 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11732 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11735 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11737 * sp_form.[Ch]: remove.
11739 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11741 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11744 * src/buffer.C (readInset): ditto.
11746 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11748 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11749 menuSeparator(), endOfSentenceDot(), ldots() and
11750 hyphenationPoint(), which are therefore removed.
11751 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11753 * LyXAction.C (init):
11754 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11756 * paragraph.C (getWord): removed.
11758 * BufferView_pimpl.C (Dispatch): use last word or selection for
11759 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11761 * lyx_main.C (queryUserLyXDir): do not ask before creating
11762 user_dir, except if it has been named explicitely.
11764 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11766 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11767 a document of zero size.
11769 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11771 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11772 approriately in the c-tor and in require().
11773 (getPackages): output the appropriate LaTeX for natbib support.
11775 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11776 variables "use_natbib" and "use_numerical_citations" when reading the
11778 (readInset): read the various natbib cite commands.
11779 (validate): white-space change.
11781 * bufferparams.[Ch]: new variables "bool use_natbib" and
11782 "bool use_numerical_citations".
11783 (writeFile): output them in the LyX file.
11785 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11787 * lyxfunc.C (getStatus): add support for all the inset insertion
11790 * text2.C (insertInset):
11791 * paragraph.C (insetAllowed):
11792 * BufferView_pimpl.C (insertInset): update to take in account the
11793 renaming of insertInsetAllowed
11795 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11797 * text2.C (getInset): new method. returns inset at cursor position.
11799 * BufferView_pimpl.C (Dispatch): changes because of this.
11801 * LyXAction.C (init): rename open-stuff to inset-toggle.
11803 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11805 * text2.C (toggleInset): renamed from openStuff; use
11808 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11810 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11812 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11814 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11816 * buffer.C (readLyXformat2): Add filename to the error dialog
11818 2001-07-18 Juergen Vigna <jug@sad.it>
11820 * tabular.C (GetCellNumber): put an assert here instead of the check!
11822 2001-07-17 Juergen Vigna <jug@sad.it>
11824 * BufferView_pimpl.C (toggleSelection): adapted too.
11826 * text.C (selectNextWord): adapted for use with insets.
11827 (selectSelectedWord): ditto
11829 2001-07-17 Juergen Vigna <jug@sad.it>
11831 * sp_spell.C (PSpell): fix initialitation order.
11833 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11835 * paragraph.C: spacing
11837 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11839 * sp_spell.C: repair language selection for pspell
11841 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11843 * lyxfunc.h: change more methods to begin with lower char.
11845 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11847 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11848 for unknown layouts.
11850 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11852 * buffer.C (readLyXformat2): Generate an error dialog if there are
11855 2001-07-16 Juergen Vigna <jug@sad.it>
11857 * sp_spell.C: always compile ISpell part.
11859 * lyxrc.C: added use_pspell entry and it's handling.
11861 2001-07-13 Juergen Vigna <jug@sad.it>
11863 * sp_spell.C: removed double includes.
11865 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11867 Consistent use of Lsstream.h:
11868 * Lsstream.h: added using std::stringstream for consistencies sake.
11870 * buffer.C: removed using std::stringstream
11872 * lyxfont.C (stateText):
11873 * paragraph.C (asString):
11874 * text.C (selectNextWord, selectSelectedWord):
11875 * text2.C (setCounter):
11876 * vspace.C (asString, asLatexString):
11877 std::ostringstream -> ostringstream.
11879 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11881 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11882 * commandtags.h: add LFUN_HELP_ABOUTLYX
11883 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11885 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11887 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11889 * lyx_gui_misc.C: remove spellchecker
11890 * lyxfunc.C: showSpellchecker
11892 * sp_ispell.h: added
11893 * sp_pspell.h: added
11894 * sp_spell.C: added
11895 * sp_form.[Ch]: removed
11896 * spellchecker.[Ch]: removed
11898 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11900 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11902 (simpleTeXSpecialChars): Simply print the input character without
11903 any special translation if pass_thru is set.
11905 * layout.h: Added bool pass_thru to layout class for being able to
11906 implement pass through of a paragraph for Literate Programming.
11908 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11909 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11910 * layout.C (Read): add "passthru" to list of layout tags and add
11911 code to set the pass_thru boolean when it is read.
11913 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11915 * trans_decl.h: remove allowed from KmodInfo
11917 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11918 remove allowed code
11921 * paragraph_pimpl.C (erase): use boost::prior
11923 * Painter.C (text): use data() instead of c_str() when length is
11925 * WorkArea.C (putClipboard): ditto
11926 * font.h (width): ditto
11928 * BufferView2.C: use it-> instead of (*it). for iterators
11930 * paragraph_pimpl.C: ditto
11931 * paragraph.C: ditto
11932 * minibuffer.C: ditto
11933 * language.C: ditto
11935 * encoding.C: ditto
11936 * counters.C: ditto
11937 * converter.C: ditto
11939 * Variables.C: ditto
11940 * TextCache.C: ditto
11941 * MenuBackend.C: ditto
11942 * LyXAction.C: ditto
11944 * FloatList.C: ditto
11945 * DepTable.C: ditto
11946 * ColorHandler.C (LyXColorHandler): ditto
11948 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11950 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11952 * text2.C (openStuff): reintroduce this method (which had been
11953 nuked in NEW_INSETS frenzy).
11955 * lyxfunc.C (Dispatch): when an action has not been handled, use
11956 its name in the error message, not its number.
11958 * paragraph.C (inInset): change method name to begin with lowercase.
11961 * text2.C: updates because of this.
11963 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11965 * ToolbarDefaults.C (add): add spaces in error message
11967 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11969 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11970 (readLyXformat2): rename return_par to first_par, use lyxlex's
11971 pushToken and remove the manual push handling.
11972 (parseSingleLyXformat2Token): add another ert comp. variable:
11973 in_tabular, rename return_par to first_par. handle newlines better
11975 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11977 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11979 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11981 * text2.C (getParFromID): removed
11983 * buffer.C (getParFromID): new method moved form lyxtext.
11984 * BufferView2.C (insertErrors): adjust
11985 (setCursorFromRow): adjust
11986 * BufferView_pimpl.C (restorePosition): adjust
11987 * lyxfunc.C (Dispatch): adjust
11988 * undo_funcs.C (textUndo): adjust
11990 (textHandleUndo): adjust
11991 (textHandleUndo): adjust
11993 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11995 * buffer.C: up' the LYX_FORMAT
11997 * lyxfont.h: turn NO_LATEX on as default
11999 * buffer.C (insertErtContents): new methods of tex style compability.
12000 (parseSingleLyXformat2Token): use it several places.
12001 * tabular.C (OldFormatRead): and here
12003 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12005 * text2.C: remove some commented code.
12008 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12009 * trans.C: changes because of the above.
12011 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12013 * text2.C (setCounter): Fix counters bug with bibliography layout.
12015 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12017 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12018 own member functions
12019 (simpleTeXSpecialChars): ditto
12021 2001-07-06 Juergen Vigna <jug@sad.it>
12023 * a lot of files: changed the access to LyXText::status and the
12024 call of undo-functions.
12026 * undo.[Ch]: added a inset_id to the undo informations.
12028 * undo_funcs.[Ch]: added and moved here all undo functions.
12030 * lyxtext.h: give the status enum a weight, made status_ a private
12031 variable and made accessor functions for it, removed the whole bunch
12032 of undo-functions as they are now in their own file, make some
12033 functions publically available. Added function ownerParagraph with
12036 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12037 made InInset() a const function, added getParFromID() function.
12039 * buffer.[Ch]: added const version for inset_iterator functions,
12040 added getInsetFromID() function.
12042 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12043 changed undo functions for new version.
12045 2001-07-05 Juergen Vigna <jug@sad.it>
12047 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12048 unknow mechanism does not call the proper constructor but only this
12049 one also if I request the other!?
12051 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12053 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12055 * text2.C (LyXText): use initialization lists.
12057 * lyxtext.h (Selection): initialize set_ and mark_
12058 (init): remove method
12060 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12062 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12064 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12066 * screen.[Ch]: change method names to begin with lowercase
12068 * BufferView_pimpl.C (updateScrollbar): simplify further and
12069 hopefully make it a bit faster.
12071 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12073 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12074 calling directly xforms functions.
12076 * Painter.C (Painter):
12077 * lyx_cb.C (MenuWrite):
12078 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12081 * lyx_gui.C: remove bogus guiruntime extern declaration.
12083 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12085 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12087 (redoDrawingOfParagraph): ditto
12088 (redoParagraphs): ditto
12089 (cutSelection): don't create a object for CutAndPaste use the
12090 static method directly
12091 (pasteSelection): ditto
12093 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12096 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12098 * modifications to some other files because of this.
12100 * Makefile.am (lyx_SOURCES): add XFormsView
12102 * XFormsView.[Ch]: new files
12104 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12105 the main window. Move the gui dependent stuff to XFormsView
12107 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12109 * tabular.C (GetCellInset): update cur_cell also in the row/col
12110 version of this function.
12112 * lyxfunc.C: no need to include figure_form.h here.
12118 * lyxvc.C: no need to include forms.h here.
12120 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12122 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12124 * lyxfunc.C (Dispatch):
12126 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12127 constructor argument.
12129 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12131 * paragraph.C (Paragraph): dont't clear, and just set layout.
12132 (makeSameLayout): use params's copy contructor.
12134 * ParagraphParameters.[Ch] (makeSame): delete method
12136 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12138 * Variables.[Ch]: fix indentation, rename set to isSet
12140 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12142 * lyxfunc.C (Dispatch): fix typo
12144 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12146 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12149 * bufferlist.C: include assert.h for emergencyWrite().
12151 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12153 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12154 give up at last (bug #425202) !
12156 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12162 * spellchecker.C: strip spellchecker options and bring up
12163 preferences tab instead
12165 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12167 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12168 the istringstream constructor
12170 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12172 * paragraph.C (getLayout): fix return value
12174 * paragraph.h: do not declare getLayout as inline.
12176 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12178 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12180 * lyxcursor.h (operator<): new func
12181 (operator>): new func
12182 (operator>=): new func
12183 (operator<=): new func
12185 * text.C (changeCase): use selection.start and selection.end
12186 (changeRegionCase): require from to be <= to. Require par to be a
12189 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12191 2001-06-27 Juergen Vigna <jug@sad.it>
12193 * text.C (cursorLeftOneWord): changed to return the cursor and added
12194 overlay with BufferView * parameter which calls this one.
12196 (selectWord): use new getWord function.
12197 (changeCase): renamed from changeWordCase as and extended to work
12198 also on selections.
12200 * lyxtext.h: added enum word_location
12202 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12203 changeCase as this operates now also on selections.
12205 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12207 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12209 * many files: send debug output to Debug::INFO instead of
12212 * converter.C (View):
12214 (Move): send debug output to Debug::FILES instead of console.
12216 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12218 * lyxfunc.C (getStatus): use func_status
12220 * func_status.h: new header, describing the results of
12221 LyXFunc::getStatus;
12223 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12226 2001-06-25 The LyX Project <jug@sad.it>
12228 * buffer.C (sgmlOpenTag):
12230 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12232 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12234 * text2.C: remove some dead code
12236 * tabular.C (GetCellInset): store the last cell checked (gotten)
12238 * tabular.h: add the helper for the speedup
12240 * lyxtext.h: remove some dead code
12242 2001-06-26 The LyX Project <Asger>
12244 * paragraph.C: Change export to LaTeX of alignment to
12245 \begin{center} and family for better roundtrip work with reLyX.
12247 * Tune the math drawing a bit.
12249 2001-06-25 The LyX Project <Asger>
12251 * LColor.C (LColor): New color for math background. New color
12254 2001-06-25 The LyX Project <jug@sad.it>
12256 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12258 * lyxfunc.C (Open):
12259 * bufferlist.C (newFile): do not restrict to files ending with
12262 * BufferView_pimpl.C (MenuInsertLyXFile):
12264 2001-06-24 The LyX Project <jug@sad.it>
12266 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12269 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12271 * lyxtext.h: rename most methods to begin with a small char.
12272 Lots of changes because of this.
12274 * paragraph.C (Paragraph): do not call fitToSize
12275 (erase): call Pimpl::erase
12276 (insertChar): call Pimpl::insertChar
12277 (insertInset): call Pipl::insertInset
12278 (breakParagraph): do not call fitToSize
12279 (breakParagraphConservative): do not call fitToSize
12280 (fitToSize): remove method
12282 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12284 2001-06-24 The LyX Project <Asger>
12286 * Fix Qt compilation^2
12288 2001-06-24 The LyX Project <jug@sad.it>
12290 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12291 depthHook(getDepth()-1).
12294 * ParagraphParameters.h:
12295 * ParameterStruct.h: change type of depth to unsigned int ==
12296 depth_type. Many adaptations to other files before of that.
12298 2001-06-24 The LyX Project <Asger>
12300 * Fix Qt compilation.
12302 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12304 * paragraph.h: renamed several methods to begin with small letter.
12305 several changes to many parts of the code because of this.
12307 2001-06-23 The LyX Project <jug@sad.it>
12309 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12310 rewritten to discard all double spaces when KeepEmpty is off
12311 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12312 to only handle newlines but not fiddle with spaces and friends.
12314 * lyxfunc.C (MenuNew): when doing 'new from template', use
12315 template_path as default directory
12317 2001-06-23 The LyX Project <Asger>
12319 * Clean-up of header file includes all over
12320 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12322 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12324 * paragraph.h: renamed from lyxparagraph.h
12326 2001-06-23 Asger <lyx@violet.home.sad.it>
12328 * Buffer.h: Removed Buffer::resize
12329 * BufferList.h: Removed BufferList::resize
12330 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12331 the document lazily when we change the width, or the font settings.
12333 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12335 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12337 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12339 * buffer.h: remove out of date comment
12341 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12344 * screen.C: fix "theoretical" GC leak
12346 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12348 * LaTeX.C (scanAuxFile):
12349 (deplog): remove trailing \r when reading stream (useful under
12352 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12354 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12355 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12356 and BufferView::theLockingInset(Inset*), so should use them and not
12357 access bv_->text->the_locking_inset directly.
12359 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12361 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12364 * tex-defs.h: remove old unused file
12366 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12368 * BufferView_pimpl.C: fix typo, remove minibuffer message
12369 when buffer has loaded
12371 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12373 * lyxfunc.C (Dispatch): use stringstream
12374 (MenuNew): use stringstream
12375 (Open): use stringstream
12377 * importer.C (Import): use stringstream
12379 * bufferview_funcs.C (CurrentState): use stringstream
12381 * LaTeX.C (run): use stringstream
12383 * BufferView_pimpl.C (savePosition): use stringstream
12384 (restorePosition): use stringstream
12385 (MenuInsertLyXFile): use stringstream
12387 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12400 * vspace.C: removed // -*- C++ -*- as first line.
12403 * version.h: added // -*- C++ -*- as first line.
12405 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12407 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12409 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12412 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12414 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12417 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12419 * gettext.C: include LString.h even when --disable-nls is on.
12421 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12423 * converter.h (Get): changed argument type from int to
12424 FormatList::size_type to avoid unnecessary conversion.
12426 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12429 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12431 * gettext.h: include LString.h even when --disable-nls is on.
12433 2001-06-07 Juergen Vigna <jug@sad.it>
12435 * text.C (BreakAgain): subst spaces with tabs.
12437 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12438 (resizeInsetsLyXText): set force on resizeLyXText.
12440 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12442 * gettext.h (gettext_init):
12443 (locale_init): use a real definition instead of a macro
12445 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12447 * Bufferview_pimpl.C:
12449 * LColor.C: further lcolor tidies
12451 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12453 * BufferView_pimpl.C (updateScrollbar): simplify.
12455 * BufferView2.C: don't include insets/insetinfo.h, change
12456 prototype for insertInset and call the Pimpl version. let
12457 updateInset call Pimpl version.
12459 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12460 gotoInset to BufferView::Pimpl
12462 2001-06-01 Juergen Vigna <jug@sad.it>
12464 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12465 inside a LockingInset (is the update needed at all?).
12467 2001-05-31 Juergen Vigna <jug@sad.it>
12469 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12470 here not the old one otherwise how should we compare it afterwards
12473 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12478 * FontInfo.C: bring C functions into global namespace when
12481 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12483 * LString.h: make sure config.h has been loaded before LString.h.
12485 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12486 (one for each char read by EatLine!).
12488 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12491 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12493 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12494 to the same as the par we break from
12496 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12498 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12500 * MenuBackend.C (expand): also create menu entries for wide
12501 versions of the floats.
12503 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12505 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12507 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12508 frontends/Makefile.am
12514 * tabular.C (getTokenValue): add std::
12516 * tabular-old.C (getTokenValue): add std::
12517 (getTokenValue): ditto
12518 (getTokenValue): ditto
12520 * screen.C (ToggleSelection): adjust
12522 * lyxtext.h: put selection cursors inside a Selection struct.
12524 * lyxfunc.C (moveCursorUpdate): adjust
12526 * lyxfont.C (latexWriteStartChanges): add std::
12528 * lyxfind.C: adjust
12530 * font.h: delete with(char const *, LyXFont const &)
12532 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12534 * FontInfo.C (getFontname): add std::
12536 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12537 (workAreaButtonPress): adjust
12538 (tripleClick): adjust
12540 (moveCursorUpdate): adjust
12543 * BufferView2.C (gotoInset): adjust
12545 2001-05-30 Juergen Vigna <jug@sad.it>
12547 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12548 to check pspell I add this as default as I now have new pspell
12549 libraries and they seem to use this.
12551 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12553 * text2.C (CutSelection): make the cursor valid before the call to
12556 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12558 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12559 relied on 0 terminated strings and other horrors. Bug found due to
12560 the new assert in lyxstring!
12562 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12565 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12567 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12570 * lyxfunc.C (processKeySym): change method of getting to the
12573 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12574 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12575 * BufferView_pimpl.[Ch]: here as private methods.
12577 2001-05-28 Juergen Vigna <jug@sad.it>
12579 * text.C (SetHeightOfRow): added the update() call again as it is
12580 needed to initialize inset dimensions!
12582 2001-05-16 Juergen Vigna <jug@sad.it>
12584 * text2.C (SetCharFont): Add new function with BufferView * and
12585 bool toggleall parameters for setting insets internal fonts.
12586 (SetFont): Freeze the undo as we may change fonts in Insets and
12587 all this change should be inside only one Undo!
12589 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12590 setting font's in insets as for them we have the SetFont function!
12592 2001-05-15 Juergen Vigna <jug@sad.it>
12594 * text2.C (ClearSelection): to be sure we REALLY don't have any
12597 * tabular.C (TeXCellPreamble): fixed the left border problem for
12600 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12602 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12605 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12607 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12608 LFUN_BREAKPARAGRAPH.
12610 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12611 help test to "internal only", similar for LFUN_INSERT_URL
12613 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12614 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12615 auto_region_delete and deadkeys.
12617 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12620 * LColor.C: remove some dead entries, tidy a little
12622 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12624 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12626 (Dispatch): implement LFUN_ESCAPE
12628 * commandtags.h: add LFUN_ESCAPE
12630 * LyXAction.C (init): add entry for LFUN_ESCAPE
12632 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12633 Remove commented code.
12634 (insertNote): moved here
12635 (open_new_inset): moved here
12637 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12640 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12642 * kbmap.C (findbinding): clean it up and make it work correctly.
12644 * lyx_main.C (init): do not pass argc and argv as parameters
12646 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12648 * buffer.C: fix path for OS/2 & Win32
12652 * lyx_main.C: Added os:: class.
12654 * os2_defines.h: update
12656 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12658 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12659 better by trying again with reduced state.
12661 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12663 * lyxrc.C (read): print error about invalid key sequence only when
12664 debugging (because not all latinX keysyms are known to some X
12667 * kbsequence.C (getiso): add a few std:: qualifiers
12668 (getiso): comment out extra return statement.
12670 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12672 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12674 (Dispatch): enhance the accent inset a bit. (not perfect)
12676 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12678 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12680 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12682 * bufferlist.C (emergencyWrite): fix assert() call
12684 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12686 * text.C (InsertChar): Added trivial patch to only send the "you
12687 can not do multiple spaces this way" message once during a
12690 2001-05-08 Baruch Even <baruch@lyx.org>
12692 * Makefile.am: Changed order of libraries to get LyX to link properly
12693 with the gnome frontend.
12695 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12697 * LaTeXFeatures.h: add a std:: qualifier
12699 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12701 * paragraph.C (String): use stringstream
12703 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12705 * paragraph.C (writeFile): remove footflag arg
12707 * buffer.C (makeLaTeXFile): use stringstream
12708 (latexParagraphs): remove footnot gurba
12710 * LaTeXFeatures.C (getPackages): use stringstream
12711 (getMacros): likewise
12712 (getTClassPreamble): likewise
12713 (getFloatDefinitions): new method
12715 * paragraph.C (writeFile): reindent
12718 * WorkArea.h: revert the xpos + etc changes.
12720 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12722 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12724 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12725 (pasteSelection): likewise
12726 * text2.C (CreateUndo): likewise
12728 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12730 * minibuffer.C (peek_event): temporarily reduce the functionality
12731 of the minibuffer (to allow args on lfuns)
12733 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12734 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12736 * buffer.C (readInset): add compability reading of old float
12737 lists, add reading of new style float list.
12738 (readInset): avoid reevaluation of inscmd.getCmdName()
12739 (getLists): reindent
12741 * MenuBackend.C (MenuItem): implement parsing of
12742 md_floatlistinsert and md_floatinsert.
12743 (expand::LastFiles): move initalizaton of iterators out of loop,
12744 avoid reevaluation.
12745 (expand::Documents): introduce typdedef vector<string> Strings,
12747 (expand::ExportFormats): introduce typedef vector<Format const *>
12748 Formats, and use it.
12749 (expand): implement FloatListInsert and FloatInsert.
12751 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12752 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12753 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12755 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12757 (Dispatch::LFUN_FLOAT_LIST): implement
12759 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12761 * LaTeX.C (run): Fix problem with --export code.
12763 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12765 * BufferView.[Ch] (workarea): removed.
12766 (getClipboard) new method; wrapper for workarea()->getClipboard()
12768 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12771 * WorkArea.h (width, height, xpos, ypos): These methods all
12772 returned the dimensions of the work_area sub-area of WorkArea,
12773 resulting in a position error if the WorkArea were resized. Now
12774 return the dimensions of the entire WorkArea.
12776 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12778 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12780 * LaTeX.C (deplog): correct the syntax of regex reg1
12782 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12784 * undo.C: remove !NEW_INSETS cruft
12786 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12788 * text2.C: remove !NEW_INSETS cruft
12790 * text.C: remove !NEW_INSETS cruft
12792 * tabular.C: remove !NEW_INSETS cruft
12794 * spellchecker.C: remove !NEW_INSETS cruft
12796 * lyxtext.h: remove !NEW_INSETS cruft
12798 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12800 * lyxfunc.C: remove !NEW_INSETS cruft
12802 * lyxfind.C: remove !NEW_INSETS cruft
12804 * lyx_cb.C: remove !NEW_INSETS cruft
12806 * figureForm.C: remove !NEW_INSETS cruft
12808 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12810 * buffer.[Ch]: remove !NEW_INSETS cruft
12812 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12814 * CutAndPaste.C: remove !NEW_INSETS cruft
12816 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12818 * BufferView2.C: remove !NEW_INSETS cruft
12820 * BufferView.h: remove !NEW_INSETS cruft
12822 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12824 * Lsstream.h: include LString.h before the sstream headers to
12825 fix problem with gcc 2.95.3 and lyxstring
12827 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12829 * lyx_main.C: add using directives when needed for C functions
12830 declared in std:: namespace.
12832 2001-04-27 Juergen Vigna <jug@sad.it>
12834 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12835 (SetHeightOfRow): comment out the update call should not be needed!
12837 2001-04-13 Juergen Vigna <jug@sad.it>
12839 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12840 (LyXTabular): tried to minimize operator= operations (and realized
12841 hopfully Lars wish).
12843 2001-04-27 Juergen Vigna <jug@sad.it>
12845 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12847 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12849 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12851 * buffer.C (readInset): hack to make listof algorithm work
12853 * BufferView_pimpl.C: hack to make listof algorithm work
12855 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12857 * LyXAction.C: removed all !NEW_INSETS cruft
12858 (init): moved lfun_item in method
12860 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12862 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12864 * BufferView2.C (theLockingInset): white space.
12866 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12868 * minibuffer.C: include <iostream>
12870 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12872 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12874 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12876 * text.[Ch] (TransposeChars): new method
12878 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12880 * call message directly through LyXView instead of through LyXFunc
12881 * BufferView2.C: adjust
12882 * BufferView_pimpl.C: adjust
12883 * FontLoader.C: adjust
12885 * bufferview_funcs.C: adjust
12886 * converter.C: adjust
12887 * figureForm.C: adjust
12888 * importer.C: adjust
12890 * lyx_gui_misc.C: adjust
12891 * lyxfunc.C: adjust
12894 + more files in subdirs
12896 * lyxparagraph.h (size): move up int file
12899 * adjust all uses of Assert to lyx::Assert.
12901 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12902 lyxfunctional in namespace lyx
12903 * layout.C (hasLayout): ditto
12906 (delete_layout): ditto
12907 (NumberOfClass): ditto
12908 * converter.C (GetFormat): ditto
12913 * bufferlist.C (getFileNames): ditto
12914 (emergencyWriteAll): ditto
12917 * MenuBackend.C (hasSubmenu): ditto
12920 * BufferView_pimpl.C (getInsetByCode): ditto
12922 2001-04-18 Juergen Vigna <jug@sad.it>
12924 * vspace.C (asLatexString): fixed the 100% problem.
12926 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12928 * lyxfunc.C (Dispatch):
12930 * minibuffer.h: add a few std:: qualifiers
12932 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12934 * minibuffer.[Ch]: reimplement so that commands is initiated and
12935 run from lyxfunc, simplified som handling, and made the completion
12936 and history code for complete. wip.
12938 * lyxfunc.C (processKeySym): call message
12939 (miniDispatch): new temporary method
12940 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12941 (LFUN_MESSAGE): implement
12942 (LFUN_MESSAGE_PUSH): implement
12943 (LFUN_MESSAGE_POP): implement
12944 (initMiniBuffer): the initial/defualt minibuffer message.
12946 * lyxfont.[Ch]: inline some more getters
12948 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12950 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12952 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12953 (AutoSave): use LFUN_MESSAGE
12954 (Reconfigure): ditto
12956 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12958 * figureForm.C: use LFUN_MESSAGE
12960 * converter.C (runLaTeX): use LFUN_MESSAGE
12962 * bufferview_funcs.C: use LFUN_MESSAGE
12964 (changeDepth): ditto
12966 * bufferparams.h: use boost::
12968 * bufferlist.h: inherit privately from noncopyable
12970 * bufferlist.C (loadLyXFile): remove some commented code.
12972 * buffer.C (runChktex): use LFUN_MESSAGE
12974 * ShareContainer.h: inherit privately from noncopyable
12976 * ParagraphParameters.[hC] (depth): inline it.
12978 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12980 (message): new method
12981 (messagePush): ditto
12982 (messagePop): ditto
12983 (show): init minibuffer
12984 (showState): direct call
12986 * LaTeX.[Ch]: inherit privately from noncopyable
12987 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12988 instead of WriteStatus.
12990 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12992 * BufferView_pimpl.C (buffer): don't init minibuffer
12993 (workAreaButtonPress): use LFUN_MESSAGE
12994 (workAreaButtonRelease): ditto
12995 (savePosition): ditto
12996 (restorePosition): ditto
12997 (MenuInsertLyXFile): ditto
12998 (workAreaExpose): don't init minibuffer
12999 (update): remove commented code, simplify
13001 * BufferView2.C (openStuff): use LFUN_MESSAGE
13002 (toggleFloat): ditto
13005 (copyEnvironment): ditto
13006 (pasteEnvironment): ditto
13011 (updateInset): remove some commented code
13013 * lastfiles.h: inherit privately from noncopyable
13016 * lyx_main.h: ditto
13018 * lyxlex_pimpl.h: ditto
13020 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13021 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13022 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13024 * LyXAction.h: inherit privately from noncopyable, add methods
13025 func_begin, func_end, returning iterators to the func map.
13027 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13028 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13029 (func_begin): new method
13030 (func_end): new method
13032 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13034 (copySelection): ditto
13035 (pasteSelection): ditto
13037 * BufferView.C: whitespace change
13038 * BufferView.h: inherit privately from noncopyable
13040 2001-04-16 Allan Rae <rae@lyx.org>
13042 * tabular-old.C (l_getline):
13043 * spellchecker.C (sc_check_word):
13044 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13045 an unrecognised preprocessor directive. So ensure they're wrapped.
13047 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13049 * src/exporter.C (Export): Give an error message when path to file
13052 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13054 * LaTeX.C (deplog): Always check that foundfile exists.
13056 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13059 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13061 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13063 * tabular.[Ch] (getLabelList): implement new method
13065 * minibuffer.h: comment ouf setTiimer
13067 * minibuffer.C (ExecutingCB): constify res
13068 (peek_event): constify s
13069 (Set): constify ntext
13070 (Init): constify nicename
13072 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13074 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13075 (savePosition): use two params to Minibuffer::Set
13076 (restorePosition): ditto
13078 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13080 * lyx_main.C: include language.h
13082 * Makefile.am (lyx_main.o): add language.h
13084 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13090 * CutAndPaste.C: include gettext.h
13092 * lyxfont.h: remove old hack with ON and OFF.
13095 * lyxfont.h: do not include language.h...
13100 * bufferview_funcs.C:
13106 * paragraph.C: ... but do it here instead
13108 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13110 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13112 * tabular.C: small reformat
13114 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13117 (BreakParagraph): ditto
13118 (SetOnlyLayout): ditto
13121 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13124 * lastfiles.C: removed most using decl, add std:: where needed
13126 * buffer.C: ws changes
13128 * MenuBackend.C (class compare_format): put into anon namespace
13129 (expand): constify label, names, action, action2
13132 * text.C (SingleWidth): constify font
13133 (IsBoundary): constify rtl2
13134 (GetVisibleRow): constify ww
13136 * LaTeX.C (deplog): constify logfile
13138 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13140 (workAreaExpose): constify widthChange, heightChange
13142 * lyxrow.C (par): moved
13145 * lyxrow.h: as inlines here
13147 * lyxfont.h (shape): moved from lyxfont.C
13148 (emph): moved from lyxfont.C
13150 * lyxfont.C (LyXFont): use initialization list for all
13152 (shape): move to lyxfont.h as inline
13153 (emph): move to lyxfont.h as inline
13156 2001-04-04 Juergen Vigna <jug@sad.it>
13158 * vspace.C: had to include stdio.h for use of sscanf
13160 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13163 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13164 independent of xforms.
13166 2001-04-02 Juergen Vigna <jug@sad.it>
13168 * spellchecker.C: fixed namespace placing!
13170 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13172 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13173 the LyXParagraph * is 0.
13175 2001-03-29 Juergen Vigna <jug@sad.it>
13177 * vspace.C: added support for %, c%, p%, l%.
13178 (stringFromUnit): added helper function.
13179 (asLatexString): changed to give right results for the %-values.
13181 * buffer.C: convert the widthp in a width%.
13183 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13185 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13188 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13189 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13191 * lyx_cb.[Ch]: see above.
13193 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13197 * lyx.[Ch]: replaced by figure_form.[Ch].
13201 * lyxfunc.C: changed headers associated with above changes.
13203 2001-03-27 Juergen Vigna <jug@sad.it>
13205 * BufferView_pimpl.C: set the temporary cursor right!
13207 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13209 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13211 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13213 * LString.h: removed "using std::getline"!
13215 * BufferView_pimpl.C (Dispatch): changes due to changes in
13216 InsetInclude::Params.
13218 * buffer.C (tag_name): removed redundant break statements as they were
13219 producing lots of warnings with my compiler.
13221 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13223 * LString.h: add "using std::getline" when using the real <string>.
13225 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13227 * buffer.C: removed bitset usage.
13228 PAR_TAG moved to an anonymous name space.
13229 (tag_name): new funtion, also in the anonymous namespace.
13230 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13231 (makeDocBookFile): clean code. Completed transition from string arrays
13233 (SimpleDocBookOnePar): code clean.
13235 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13237 * tabular.C: add some comments.
13239 2001-03-22 Juergen Vigna <jug@sad.it>
13241 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13242 compatibility read a bit and fixed bug with minipage in different
13245 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13247 * buffer.C (pop_tag): removed.
13248 (push_tag): removed.
13249 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13250 array replaced with vector. Added support for CDATA sections.
13251 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13253 (makeDocBookFile): XML conformant declaration of CDATA section,
13254 fixed bug related to <emphasis> in the first paragraph char.
13255 (sgmlOpenTag): exclude empty tags.
13256 (sgmlCloseTag): ditto.
13258 * buffer.h (pop_tag): removed.
13259 (push_tag): removed.
13261 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13263 * language.h (Languages): added size_type and size().
13265 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13267 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13268 response on compability reading of minipages. One probliem is that
13269 the old usage of minipages was «flertydig»
13271 * several files here and in subdirs: don't use static at file
13272 scope use anon namespaces instead.
13274 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13276 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13277 LaTeX output. This is necessary for Literate document
13280 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13282 * buffer.C: insert hfill when needed.
13284 * tabular.C (l_getline): use string::erase, small whitespace change.
13286 * BufferView_pimpl.C: try the anon namespace.
13287 * WorkArea.C: ditto
13289 2001-03-16 Juergen Vigna <jug@sad.it>
13291 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13292 otherwise it won't open options-dialogs.
13294 * buffer.C: honor pextraWidth(p) on converting minipages.
13296 * tabular.C (l_getline): changed the functions to strip trailing \r.
13298 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13300 * BufferView_pimpl.C:
13301 * minibuffer..C: added "using SigC::slot" declaration.
13303 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13305 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13311 * paragraph.C: ditto
13313 * lyxtext.h: NO_PEXTRA
13315 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13317 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13318 * ParameterStruct.h: ditto
13319 * ParagraphParameters.h: ditto
13320 * lyxparagraph.h: ditto
13322 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13324 * buffer.C: add compability for minipage alignment.
13325 (latexParagraphs): remove unwanted pextra check.
13327 * several files: remove CXX_WORKING_NAMESPACES
13329 * buffer.C (pop_tag): tie is in namespace boost
13331 * BufferView.h: noncopyable is in namespace boost
13333 * lyx_main.h: ditto
13336 * lastfiles.h: ditto
13337 * bufferlist.h: ditto
13338 * ShareContainer.h: ditto
13340 * LyXAction.h: ditto
13343 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13345 * Merging changes from BRANCH_MVC back into HEAD.
13347 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13349 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13351 * BufferView_pimpl.C: change from intl.C
13355 * Makefile.am: move combox.*
13361 * intl.C: remove dialog (covered by prefs)
13363 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13365 * lyxfunc.C (Dispatch): removed redundant break statement.
13367 2001-03-14 Juergen Vigna <jug@sad.it>
13369 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13371 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13373 * buffer.C: add hack to fix compability reading of minipages.
13375 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13377 * buffer.C (getLists): Cleanup.
13379 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13381 * lyxfont.C (update): don't honor toggleall on font size.
13383 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13387 * Makefile.am: moved to frontends/xforms/
13391 * BufferView_pimpl.C: changes for moved mathpanel
13393 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13395 * gettext.h: fix gettext_init() in --disable-nls
13397 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13399 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13401 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13404 * lyx.h: strip external form
13406 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13408 * BufferView_pimpl.C: add comment, destroySplash()
13410 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13412 * BufferView_pimpl.C:
13416 * lyxfunc.C: use re-worked insetinclude
13418 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13420 * buffer.C: add using std::stringstream.
13422 * lyx_cb.C: readd using std::ios.
13424 * buffer.C: add using std::map.
13426 * BufferView_pimpl.C: add using std::vector.
13428 * ShareContainer.h: add std:: to swap.
13430 * buffer.h: add some typedefs
13431 * buffer.C (getLists): use them
13432 (getLists): renamed from getTocList.
13433 add a counter for the different float types and use it in the
13435 (getLists): use the same counter for the NEW_INSETS and the "non"
13438 * lyx_cb.h: remove unused items, includes, using etc.
13440 * ShareContainer.h: remove some commented code, add more comments
13441 and "documentation".
13443 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13445 * buffer.C (getTocList): make the list also when NEW_INSETS is
13448 * buffer.h: remove TocType
13450 * buffer.C (getTocList): change to return a map<string,
13451 vector<TocItem> >, implement for dynamic number of list.
13453 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13454 * text2.C (PasteSelection): adjust
13455 * CutAndPaste.C (pasteSelection): adjust
13457 * FloatList.C (FloatList): update from the new_insets branch.
13458 * Floating.[Ch]: ditto
13459 * LaTeXFeatures.C: ditto
13461 * lyxlex_pimpl.C: ditto
13463 * paragraph.C (Last): remove when NEW_INSETS is defined.
13465 * other file: changes because of the above.
13467 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13469 * lyxparagraph.h: rename next to next_, previous to previous_,
13470 make them private for NEW_INSETS. Rename Next() to next(),
13471 Previous() to previous().
13473 * other files: changes because of the above.
13475 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13478 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13481 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13483 * main.C (main): pass lyx_localedir to gettext_init().
13485 * gettext.h: remove locale_init and gettext_init macros
13487 * gettext.C (locale_init): new function
13488 (gettext_init): new function
13490 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13493 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13495 * Moved credits to frontends:
13496 * credits.[Ch]: removed
13497 * credits_form.[Ch]: removed
13498 * lyx_gui_misc.C: remove credits stuff
13501 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13503 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13505 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13506 unneeded destructor.
13508 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13509 a standalone pointer again.
13511 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13513 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13519 * ToolbarDefaults.C:
13528 * BufferView_pimpl.C: use new file dialog in GUII
13531 * lyx_cb.C: remove LayoutsCB to Toolbar
13533 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13535 * ShareContainer.h (get): add std:: qualifier
13537 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13539 * ShareContainer.h: define a proper ShareContainer::value_type
13540 type (and use typename to please compaq cxx)
13542 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13544 * lyxparagraph.h: move serveral local vars to
13545 ParameterStruct/ParagraphParameters., use ShareContainer in
13546 FontTable., make vars in FontTable private and add getter and
13549 * paragraph.C: changes because of the above.
13551 * lyxfont.h: remove copy constructor and copy assignment. (the
13552 default ones is ok), move number inside FontBits. move inlines to
13555 * lyxfont.C: add number to initializaton of statics, move several
13556 inlines here. constify several local vars. some whitespace
13557 cleanup. Dont hide outerscope variables.
13559 * Spacing.h: add two new constructors to match the set methods.
13561 * ShareContainer.h: new file, will perhaps be moved to support
13563 * ParameterStruct.h: new file
13565 * ParagraphParameters.h: new file
13567 * ParagraphParameters.C: new file
13569 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13570 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13572 * BufferView_pimpl.C: ParagraphParameter changes.
13573 * buffer.C: Likewise.
13574 * bufferview_funcs.C: Likewise.
13575 * text.C: Likewise.
13576 * text2.C: Likewise.
13578 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13580 * lyxfind.C (LyXReplace): do not redefine default argument in
13582 (IsStringInText): ditto
13583 (SearchForward): ditto
13584 (SearchBackward): ditto
13586 2001-03-06 Juergen Vigna <jug@sad.it>
13588 * lyxfind.C (IsStringInText): put parentes around expressions.
13590 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13592 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13594 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13596 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13598 * stl_string_fwd.h: add comment
13600 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13603 * tabular.C: remove unused DocBook methods
13609 killed DO_USE_DEFAULT_LANGUAGE
13611 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13613 * lyx_gui.C: do not include language.h.
13615 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13616 arguments in function implementation.
13618 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13620 * BufferView_pimpl.C: add <ctime>
13622 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13624 * BufferView_pimpl.C: add using std::find_if
13626 2001-02-27 José Matos <jamatos@fep.up.pt>
13628 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13631 2001-02-11 José Matos <jamatos@fep.up.pt>
13633 * buffer.C (makeDocBookFile): command styles now have a parameter as
13634 "title" by default.
13636 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13638 * layout_forms.[Ch]: removed
13639 * lyx_cb.[Ch]: out character
13640 * lyx_gui.C: out character
13641 * lyx_gui_misc.C: out character
13642 * bufferview_funcs.C: : out character,
13643 added toggleall as parameter in ToggleAndShow
13645 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13647 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13649 * text2.C (SetCurrentFont): Disable number property at boundary.
13651 2001-02-26 Juergen Vigna <jug@sad.it>
13653 * lyxfunc.C (getStatus): added a string argument override function so
13654 that this is correctly called from LyXFunc::Dispatch if it contains a
13655 do_not_use_argument which is used!
13656 (Dispatch): added check for "custom" export and call appropriate func.
13658 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13660 * lyxrc.C: Add language_command_local, language_use_babel and
13661 language_global_options.
13663 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13665 * buffer.C (makeLaTeXFile): Use language_use_babel and
13666 language_global_options.
13668 2001-02-23 Juergen Vigna <jug@sad.it>
13670 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13671 which works with LyXText and putted it inside BufferView. Here now we
13672 only call for that part the BufferView::Dispatch() function.
13674 * BufferView.C (Dispatch): added.
13676 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13677 functions which needs to use a LyXText over from LyXFunc.
13678 (MenuInsertLyXFile): added
13679 (getInsetByCode): added
13680 (moveCursorUpdate): added
13681 (static TEXT): added
13683 2001-02-22 Juergen Vigna <jug@sad.it>
13685 * BufferView_pimpl.C (update): call a status update to see if LyXText
13688 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13690 * vc-backend.C (revert): implement for CVS
13691 (getLog): implement for CVS
13693 2001-02-20 Juergen Vigna <jug@sad.it>
13695 * text2.C (ClearSelection): added BufferView param for inset_owner call
13697 * lyxfunc.C (TEXT): added this function and use it instead of
13698 directly owner->view()-text of getLyXText().
13700 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13702 * src/layout_forms.C: out preamble
13703 * src/layout_forms.h: out preamble
13704 * src/lyx_cb.C: out preamble
13705 * src/lyx_cb.h: out preamble
13706 * src/lyx_gui.C: out preamble
13707 * src/lyx_gui_misc.C: out preamble
13708 * src/lyxfunc.C: connect with guii preamble
13710 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13712 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13714 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13716 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13717 whether to run bibtex.
13719 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13721 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13723 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13725 * Makefile.am (lyx_SOURCES): removed bibforms.h
13727 * vspace.h: doxygen
13729 * text.C (GetVisibleRow): make several local vars const
13731 * tabular.C: small cleanup.
13733 * lyxserver.C (callback): use compare instead of strncmp
13735 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13736 inlines to after class or to paragraph.C
13738 * lyxfont.h: remove friend operator!=
13740 * converter.h: move friend bool operator< to non friend and after
13743 * combox.h: small cleanup
13745 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13746 to inlines after class def.
13748 * buffer.C (pop_tag): use string operations instead of strcmp
13750 * bmtable.c: doxygen, small cleanup
13752 * LaTeX.h: remove friend operator==
13754 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13766 * BufferView_pimpl.C:
13767 * BufferView.[Ch]: remove cruft
13769 2001-02-14 Juergen Vigna <jug@sad.it>
13771 * lyxfunc.C: removed #if 0 unused code
13773 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13775 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13777 * text2.C (SetSelection): added a BufferView * parameter
13779 2001-02-13 Juergen Vigna <jug@sad.it>
13781 * lyxfunc.C (Dispatch): fixed protected blank problem.
13782 * BufferView2.C (protectedBlank): added LyxText * parameter.
13784 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13785 (AppendColumn): same as above for column_info.
13787 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13788 (moveCursorUpdate): use a LyXText param for support of InsetText.
13790 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13791 (tripleClick): ditto
13793 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13795 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13797 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13799 * text2.C (SetSelection): set correct update status if inset_owner
13800 (ToggleFree): ditto
13802 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13804 * tabular.C: remove some commented code.
13806 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13808 * BufferView_pimpl.C: call hideSplash()
13810 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13813 * bibforms.h: remove
13816 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13817 add LFUN_CHILD_CREATE
13819 * counters.h: fix tiny typo
13824 * lyx.C: move splash to frontends/xforms/
13826 * lyx_gui_misc.C: move Include and Bibform to frontends
13828 * lyxvc.h: clarify comment
13830 * vspace.C: tiny housekeeping
13832 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13834 * text.C (PrepareToPrint): RTL Fix.
13836 * paragraph.C (GetUChar): New method.
13837 (String): Use GetUChar.
13839 * buffer.C (asciiParagraph): Use GetUChar.
13841 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13843 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13845 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13848 * buffer.C: rename to getLogName(), handle
13849 build log / latex log nicely
13851 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13854 * MenuBackend.h: remove support for reference menuitem type.
13856 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13858 * BufferView_pimpl.C: housekeeping
13859 * BufferView_pimpl.h:
13864 * minibuffer.h: move Timeout GUI-I
13866 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13868 * lyxrc.C (read): Update converters data-structures.
13870 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13872 * LaTeX.h (operator!=): add operator != for Aux_Info
13874 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13876 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13878 * LaTeXLog.C: deleted, useful code moved to Buffer
13881 * buffer.C: new function getLatexLogName()
13887 * lyxfunc.C: use frontends for LaTeX and VC logs
13889 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13891 * LaTeX.h: yet another std:: that Allan forgot.
13893 * Variables.C (set): renamed from isset(), because this clashes
13894 with some HP-UX macros (grr).
13896 2001-02-06 Allan Rae <rae@lyx.org>
13898 * LaTeX.h: Another bug fix. Missing std:: this time.
13900 2001-02-04 Allan Rae <rae@lyx.org>
13902 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13903 floats problem. I've left it commented out because it's not quite
13904 correct. It should also test that the current object is a table or
13905 figure inset. But I haven't gotten around to figuring out how to do
13906 that. I *think* it'll be something like: "table" == inset.type()
13908 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13911 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13913 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13914 all the citation/databases/styles in the auxilary file.
13915 (run): Rerun latex if there was a babel language error.
13917 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13919 * text.C (Backspace): Preserve the font when changing newline char
13921 (BreakParagraph): If the cursor is before a space, delete the space.
13923 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13925 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13927 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13928 new argument (code).
13929 (ChangeCitationsIfUnique): New method.
13931 * paragraph.C (GetPositionOfInset): Handle bibkey.
13933 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13935 * BufferView_pimpl.h: change type of Position::par_pos to
13936 LyXParagraph::size_type.
13938 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13940 * BufferView_pimpl.C (savePosition, restorePosition): Write
13941 messages to minibuffer.
13943 2001-01-28 José Matos <jamatos@fep.up.pt>
13945 * buffer.C (makeDocBookFile): adds support for document language.
13946 A silly restriction on the name of LatexCommand types where removed.
13947 Added support for CDATA sections, allows to chars unescaped, used
13948 among others in code, to avoid escape < and >.
13950 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13952 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13953 saved positions instrad of a stack. Furthermore, a position is
13954 stored using paragraph id/paragraph position.
13956 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13957 Remove LFUN_REF_BACK.
13959 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13961 * converter.C (dvipdfm_options): New method.
13963 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13965 * vspace.C (isValidLength): Fix for empty input string.
13967 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13969 * LyXAction.C (init): change description of LFUN_FIGURE to
13972 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13974 * LaTeX.C: add using directive
13976 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13978 * MenuBackend.C (expand): Fix the sorting of the formats.
13980 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13982 * lyx_main.C: tiny error message fix
13984 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13986 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13987 calling fl_initialize(). This fixes the problem with ',' as
13988 decimal separator in text files.
13990 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13992 * trans.C (process): Fix the keymap bug.
13994 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13996 * LaTeX.C (scanAuxFiles): New method. Provides support for
13997 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13998 (scanLogFile) Scan for "run BibTeX" messages.
14000 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14001 OT1 font encoding. Also, load the aecompl package if the ae
14004 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14006 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14008 * texrow.C (increasePos): turn two error messages into debug
14011 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14013 * LaTeX.C (scanAux): Handle the \@input macro.
14014 (runBibTeX): Use scanAux().
14016 * language.C (latex_options_): New field.
14018 * LaTeXFeatures.C (getMacros): Add language macros.
14020 * buffer.C (makeLaTeXFile): Small fix.
14022 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14024 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14026 * text2.C: add a using directive.
14028 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14033 * lyxfunc.C: kill LyXBell.
14035 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14037 * text.C (IsBoundary): Remove the error message
14039 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14041 * lyxrc.C (setDefaults): Correct initialization value for
14044 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14046 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14049 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14050 and GotoNextNote().
14052 * src/LyXAction.C: Added reference-next.
14054 * text.C (InsertChar): Use contains instead of strchr.
14056 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14058 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14060 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14061 alignment commands (when needed).
14063 * text.C (InsertChar): Add ':' to number separator chars.