2 2003-11-25 André Pönitz <poenitz@gmx.net>
4 * InsetList.[Ch] (begein, end): inline as suggested by profiler
6 * lyxtext.h (leftMargin/rightMargin): simplify interface
13 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
15 * lyxfunc.C (dispatch): propogate the bibtex databases from the
16 master file to any child files. Fixes bug 546.
18 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
20 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
22 2003-11-24 André Pönitz <poenitz@gmx.net>
24 * rowpainter.C: simplification
26 * text2.C (updateCounters): remove call to redoParagraph on
27 changed labels as this is far too expensive.
29 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
31 * converter.C (convert): fix a crash: this function gets
32 called with buffer == 0 from importer code.
34 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
36 * text3.C (cursorPrevious): make sure that we do not compare
37 iterators form different containers.
40 * rowpainter.C (paintSelection): make sure that we do not compare
41 iterators from different containers.
43 * text3.C (dispatch): [PRIOR] make sure that we do not compare
44 iterators from different ParagraphList containers.
47 * text2.C (LyXText): change order of initialization slightly
48 (operator=): new function. copy all variables except cache_par_
49 (moveUp): make sure that we do not compare iterators from
50 different ParagraphList constainers.
53 * text.C (firstPar): new function
54 (lastPar): new function
55 (endPar): new function
57 * lyxtext.h: move things around and group public functions, public
58 variables, private functions, private variables
60 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
62 * factory.C: change call to InsetERT constructor to avoid
63 additional invocation of method status
64 * text2.C (toggleInset): remove redundant update() call
65 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
66 instead of a Bufferview pointer
68 2003-11-21 André Pönitz <poenitz@gmx.net>
70 * rowpainter.C: simplification
72 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
74 * text3.C (dispatch): make possible to extend a word/row selection
77 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
79 * lyxtext.h: x0_,y0_ -> xo_,yo_
80 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
81 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
82 * rowpainter.C (paintRows): paint full paragraphs
84 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
86 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
89 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
91 * lyxtext.h: add x0_, y0_
92 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
93 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
95 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
97 * text2.C (setCursorIntern): move the x_target update here *
98 * text3.C: change some bv() to true/false in calls to
99 cursorUp/Down/Right/Left
100 * cursor.C: use helper function.
102 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
104 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
105 * paragraph_funcs.[Ch]: correct comment
106 * rowpainter.C: do not paint selections away from bv->cursor()
107 Fix a long standing selection painting bug.
108 * text3.C: generalize mouse-selection code to LyXTexts other that
110 * textcursor.C: do not use y coords if we can use par offsets
112 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
114 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
115 cursor position after e.g. inset insert)
117 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
119 * lyxfind.C (replace): adjust to locking removal + some
122 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
124 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
127 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
130 * output_docbook.C: XML sanitation: new layout
131 parameters InnerTag and CommandDepth
133 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
135 * BufferView_pimpl.C:
137 * text3.C: Fix the insertion and modification of button-style
140 2003-11-13 André Pönitz <poenitz@gmx.net>
142 * InsetList.[Ch]: remove deleteLyXText
144 * paragraph.[Ch]: cache beginOfBody position
149 * text3.C: remove superfluous update() calls
153 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
155 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
156 * BufferView.C (fitLockedInsetCursor): remove
157 * cursor.[Ch] (getDim): add
158 * text.C (getRowNearY): add faster version
159 * text3.C: remove some update calls
161 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
173 * text3.C: The Character Style /XML short element patch.
175 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
178 * factory.C: Small step to solving 'unable to insert some insets'
181 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
183 * cursor.[Ch] (updatePos): new function for updating the y
184 position of the tip inset
185 * bufferview_funcs.C (put_selection_at):
186 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
188 2003-11-11 André Pönitz <poenitz@gmx.net>
190 * text.C: remove big comment on invalid Paragraph pointers as it is
193 2003-11-11 André Pönitz <poenitz@gmx.net>
195 * text_funcs.[Ch]: merge with ...
203 * Makefile.am: remove text_funcs.[Ch]
205 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
207 * cursor.C (getPos): return absolute cached y coord
209 * BufferView_pimpl.C (fitCursor): new simplistic code
210 (workAreaDispatch): add a fitCursor call
212 2003-11-10 André Pönitz <poenitz@gmx.net>
215 * BufferView_pimpl.[Ch]: merge update() and updateInset()
217 2003-11-10 André Pönitz <poenitz@gmx.net>
219 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
220 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
221 indicate that the cursor needs to leave an inset
223 * lyxtext.h: remove inset locking
225 * cursor.[Ch]: re-implement functionality provided by inset locking
228 * BufferView_pimpl.[Ch]:
230 * bufferview_funcs.[Ch]:
242 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
244 * PosIterator.[Ch]: replace the stack with a vector, add inset
246 * iterators.[C]: adjust
248 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
250 * lyxfind.C (replaceAll): mark the buffer dirty if something was
252 * paragraph_funcs.C (readParToken): put the correct id in the
253 error item, not the id of the top paragraph
255 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
257 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
258 * bufferview_funcs.C (put_selection_at): use the above
260 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
262 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
264 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
267 * output_plaintext.h:
269 * output_docbook.h: add #include statements
271 2003-11-05 José Matos <jamatos@lyx.org>
273 * output_docbook.[Ch]:
275 * output_linuxdoc.[Ch]:
276 * output_plaintext.[Ch]: New files for output formats.
277 * output.[Ch]: New file for helper functions.
280 * paragraph_funcs.[Ch]: output functions moved to new files.
282 * outputparams.h: rename of latexrunparams.h
290 * paragraph_funcs.[Ch]:
291 * paragraph_pimpl.[Ch]:
292 * tabular.[Ch]: rename ascii to plaintext
293 and LatexRunParams to OutputParams.
295 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
297 * iterators.[Ch] (text): require bv argument
298 * undo.C (recordUndo):
299 * lyxfunc.C (dispatch):
300 * bufferview_funcs.C (put_selection_at): adjust
302 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
304 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
306 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
308 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
311 2003-11-04 André Pönitz <poenitz@gmx.net>
313 * cursor.[Ch]: restructure
316 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
318 * iterators.[Ch] (asCursor): remove
320 * lfuns.h: remove LFUN_INSET_EDIT
326 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
328 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
330 * lyxfind.[Ch]: complete overhaul
331 * BufferView_pimpl.C:
333 * paragraph.[Ch] (insert): add
335 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
339 * text.C: remove dead spellcheck code
341 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
343 * dispatchresult.h: add a val setter
345 * cursor.C (dispatch): use a tempvar for data_[i]
347 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
349 * PosIterator.[Ch]: compile fix
351 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
353 * text.C (cursorPar): deactivate the cursor cache
355 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
357 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
359 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
361 * text3.C (dispatch): adjust for new DisptchResult semantics.
363 * lyxfunc.C (dispatch): handle update when return from
364 Cursor::dispatch, adjust for new DispatchResult semantics.
366 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
367 DispatchResult(true) mean to not update. Add class functions for
368 setting dispatched and update, as well as reading.
370 * cursor.C (dispatch): don't handle update here
372 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
374 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
375 * trans_mgr.C: adjust
377 * paragraph_funcs.C (readParToken): exception safety
379 * lyxvc.h: store the vcs pointer in a scoped_ptr
382 * lyxsocket.C (serverCallback): exception safety
384 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
386 * ispell.C (clone): make it return a auto_ptr
388 * factory.C (createInset): exception safety
389 (readInset): exception safety
391 * bufferlist.C (newBuffer): exception safety
393 * Thesaurus.C (Thesaurus): use initialization for aik_
395 * MenuBackend.C (expandToc): exception safety.
397 2003-11-03 André Pönitz <poenitz@gmx.net>
401 * bufferview_funcs.C: remove getInsetFromId()
404 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
410 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
412 * PosIterator.C (distance, advance): new
413 * bufferview_funcs.[Ch] (put_selection_at): new
414 * iterators.[Ch] (lockPath): new
416 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
418 * iterators.[Ch] (asPosIterator): added
419 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
420 * PosIterator.[Ch]: added
422 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
426 * cursor.C (dispatch):
427 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
429 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
430 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
431 contructor, add a class function dispatched. Remove operator>=
433 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
435 * debug.C: only use the default constructor for debugstream
438 * main.C (main): include debug.h and setup the lyxerr streambuf
441 2003-10-31 José Matos <jamatos@lyx.org>
443 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
445 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
446 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
447 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
448 * paragraph_pimpl.C (simpleTeXSpecialC):
449 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
450 add LatexRunParams argument.
452 * exporter.C (Export): change call accordingly.
454 * latexrunparams.h: add new member to take care of the other backends.
455 2003-10-30 José Matos <jamatos@lyx.org>
457 * buffer.C (makeLinuxDocFile, makeDocBookFile):
458 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
459 factorise code for paragraph output.
461 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
464 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
466 * text3.C (dispatch):
467 * lyxfunc.C (dispatch):
468 * cursor.C (dispatch):
469 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
471 * dispatchresult.h: make the dispatch_result_t ctor explicit
473 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
476 * buffer.C: small refactoring of docbook stuff
478 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
480 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
483 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
485 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
486 operator dispatch_result_t, and operators for == != and >=
488 * cursor.C (dispatch): adjust for operator dispatch_result_t
489 removal. comment out call to update
491 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
493 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
501 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
504 * dispatchresult.h: new file, DispatchResult broken out of
507 * Makefile.am (lyx_SOURCES): add dispatchresult.h
509 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
511 * text.C (rowBreakPoint): put a hack inside #if 0
513 2003-10-28 André Pönitz <poenitz@gmx.net>
520 * text2.C: general cleanup (lots of small stuff)
522 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
524 * text2.C (cursorEnd): simple fix to the "end key goes to one
525 before the end on last row" bug
527 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
529 * text.C (backspace): fix the "zombie characters"
531 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
533 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
535 2003-10-27 André Pönitz <poenitz@gmx.net>
537 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
539 * factory.C: handle new InsetPagebreak, InsetLine
541 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
542 and move handling into new InsetPagebreak, InsetLine
544 * BufferView_pimpl.C:
546 * ParagraphParameters.C:
559 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
568 * text3.C: remove lastPos uses in favour of Row::endpos
570 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
572 * undo.C (performUndoOrRedo): fix two crashes by setting a
573 cursor by hand and reordering some calls. Use bv->lockInset instead
574 of inset->edit because the latter loses cursor information
576 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
578 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
580 (rowBreakPoint): fix width. change point to point + 1.
583 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
586 * lyxfunc.C: fix (at least partly) the problems
587 with the Nav menu and headers inside branch insets
590 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
592 * paragraph.C (getChar): add strong asserts
594 * lyxrow_funcs.C (lastPos): remove hideous hack
596 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
597 (fill): adjust to that (avoid an infinite loop)
599 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
601 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
603 2003-10-23 André Pönitz <poenitz@gmx.net>
605 * RowList_fwd.h: change list<> to vector<> to gain speed
606 after suggestion from Alfredo
608 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
610 * lyxtext.h: move the bidi stuff from here...
613 * Bidi.[Ch]: ... to here
615 2003-10-23 André Pönitz <poenitz@gmx.net>
618 * text.C (isLastRow, isFirstRow): new functions
620 * paragraph.h: new width cache member
622 * rowpainter.C: replace RowList::iterator with Row & where possible
624 * lyxfunc.C: replace several view()->text with a single call
626 * toc.C: fix 'unused' warning
628 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
630 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
631 when woring with stream::pos_type
632 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
634 2003-10-22 André Pönitz <poenitz@gmx.net>
637 * text.C: use Row & instead of RowList::iterator
639 * lyxrow.h: rename end() to endpos()
645 2003-10-22 Angus Leeming <leeming@lyx.org>
647 * buffer.[Ch] (fully_loaded): new member function, returning true
648 only when the file has been loaded fully.
649 Used to prevent the premature generation of previews and by the
650 citation inset to prevent computation of the natbib-style label.
652 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
653 templates are all set up.
655 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
657 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
659 * text.C: fixed an "oops" in the "is a bit silly"
662 2003-10-21 André Pönitz <poenitz@gmx.net>
664 * FuncStatus.[Ch]: small stuff, whitespace
666 * lyxfont.[Ch]: operator<<() for debug reasons
670 * lyxtext.h: whitespace, spelling
672 * paragraph.C: naming of variables
675 * text2.C: small stuff
678 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
680 * text.C: (1) finish off the inset display() work;
681 (2) fix the "is a bit silly" bug (accessing char
684 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
686 * text.C: re-introduce display() for insets, fixing the
687 various bugs (stretch of line above, math inset
690 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
692 * text.C (rightMargin): remove spurious semicolon
694 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
697 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
699 * text3.C: fix one crash due to wrong cursor def
701 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
703 * vc-backend.C (scanMaster): make the regex static
705 * LaTeX.C (scanAuxFile): make the regexs static
707 * text3.C (doInsertInset, dispatch, dispatch):
708 * text2.C (cursorUp, cursorDown):
709 * text.C (selectNextWordToSpellcheck):
710 * BufferView_pimpl.C (dispatch):
711 * lyxfunc.C (dispatch): localDispatch -> dispatch
713 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
715 * lyxsocket.C: include <cerrno>
717 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
719 * lyxfunc.C (dispatch): remove textcache stuff
721 * bufferlist.C (release): remove textcache stuff
724 * TextCache.C: delete file
725 * TextCache.h: delete file
727 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
729 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
730 delete of the bv_->text.
731 (resizeCurrentBuffer): remove texcache stuff
732 (workAreaResize): ditto
734 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
736 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
739 2003-10-16 André Pönitz <poenitz@gmx.net>
746 * text3.C: speed up by storing y positions per paragraph plus per-row
747 offset instead of having a 'full' y position in the row.
749 2003-10-15 André Pönitz <poenitz@gmx.net>
753 * undo.[Ch]: make undo aware of inner insets
755 2003-10-14 Angus Leeming <leeming@lyx.org>
757 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
758 static member functions LyX::ref() and LyX::cref.
759 (lastfiles): new accessor functions for the new lastfiles_ member var.
760 (addLyXView, views_): add a new LyXView to the list of views_.
761 (updateInset): loop over all LyXViews to call their own updateInset
762 member function, returning a pointer to the Buffer owning the inset.
764 * BufferView_pimpl.C (loadLyXFile):
765 * MenuBackend.C (expandLastfiles):
766 * bufferlist.C (MenuWrite, QuitLyX):
767 lastfiles is no longer a global variable.
768 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
770 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
771 static function. Access through LyX::cref().emergencyCleanup().
773 2003-10-14 André Pönitz <poenitz@gmx.net>
775 * iterators.[Ch]: new direct access to innermost LyXText and Inset
777 * undo.[Ch]: restoring part of 'undo in insets'
780 * undo_funcs.[Ch]: merge with undo.[Ch]
782 * tabular.C: small cleansing stuff
784 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
786 * paragraph_funcs.C (readParToken): report unknown insets as error
787 boxes. Use the outer paragraph as location (also for unknown
790 * factory.C (readInset): do not abort on reading an unknown inset.
793 2003-10-13 Angus Leeming <leeming@lyx.org>
795 * lyx_main.C (LyX): remove call to setDisplayTranslator().
797 * lyxrc.C: displayTranslator is now a function,
798 declared in GraphicsTypes.h.
800 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
802 * format.C: new placeholder $$a to pass the socket address.
804 * bufferlist.[Ch]: new function getBufferFromTmp.
806 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
807 files in the temporary dir.
809 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
811 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
813 * Makefile.am: add lyxsocket.[Ch].
815 * lyx_main.C (error_handler): handle SIGPIPE.
817 2003-10-13 André Pönitz <poenitz@gmx.net>
819 * BufferView_pimpl.C:
824 * undo_funcs.[Ch]: use paroffset_type instead of
825 ParagraphList::iterators to prevent multiple conversion
826 (and get a more robust interface)
828 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
830 * lyxfunc.C (dispatch): RESULT -> dispatch_result
832 * text3.C (dispatch): ditto
834 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
836 * LaTeX.C (handleFoundFile): move the static to smaller scope,
837 move the onlyfile, use onlyfile instead of foundfile in a couple
840 * DepTable.C (update): flush the error stream a bit more
842 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
844 * lyxserver.C (callback): adjust
846 * lyxfunc.C (getStatus): add a missing brace in commented code
847 (ensureBufferClean): reindent
848 (dispatch): delete version taking a string
850 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
852 * LaTeX.C (deplog): move found file handlig from here...
853 (handleFoundFile): .. to new function here.
854 (deplog): make sure to discover several files mentioned on the
857 2003-10-10 André Pönitz <poenitz@gmx.net>
864 * text3.C: fix some of the tabular crashes
866 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
868 * MenuBackend.C (binding): put debug message into Debug::KBMAP
870 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
872 2003-10-09 André Pönitz <poenitz@gmx.net>
874 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
877 * BufferView_pimpl.C:
878 * bufferview_funcs.C:
889 * undo_funcs.C: adjust
891 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
893 * text2.C (incrementItemDepth): new function, use a backtracking
894 algorithm to discover the correct item depth.
895 (resetEnumCounterIfNeeded): new function, use a backtracking
896 algorithm to discover if counter reset is needed.
897 (setCounter): use them. Simplify a bit. Add different labels for
898 different item depths for itemize.
900 * paragraph.C (Paragraph): remove initialization of enumdepth
903 * paragraph.h: get rid of enumdepth, and use itemdepth both for
904 enumerate and itemize. Change the type of itemdepth to signed char.
906 2003-10-08 André Pönitz <poenitz@gmx.net>
908 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
913 * tabular.[Ch]: fix crash after 'row-insert'
915 2003-10-08 Angus Leeming <leeming@lyx.org>
917 Fix doxygen warnings.
919 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
920 Remove CutAndPaste:: prefix from header file declaration.
922 * LColor.h (fill): remove LColor:: prefix from declaration.
924 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
925 use lyx::depth_type rather than Paragraph::depth_type so that
926 header file and .C file match.
928 * converter.h (intToFormat): remove Converters:: prefix from declaration.
930 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
931 * aspell.C: \file aspell_local.C -> \file aspell.C
932 * gettext.C: \file gettext.C -> \file src/gettext.C
933 * gettext.h: \file gettext.h -> \file src/gettext.h
934 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
935 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
936 * text.C: \file text.C -> \file src/text.C
938 * toc.C: move comment so that doxygen is not confused.
940 2003-10-07 Angus Leeming <leeming@lyx.org>
942 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
944 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
947 * aspell_local.h: add forgotten std::string's.
949 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
956 * text3.C: The Box patch. Fancybox support, minipage, parbox
958 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
964 * ParagraphParameters.h:
974 * lyxtextclasslist.h:
978 * textcursor.h: add <string> and other small fixes to make Lars'
979 std::string patch compile with STLport.
981 2003-10-06 Angus Leeming <leeming@lyx.org>
983 * LColor.h: Add missing #include <string>.
985 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
987 * All most all file in all subdirs: Make <string> be the prefered
988 way of getting to std::string, add using declarations.
990 2003-10-06 André Pönitz <poenitz@gmx.net>
992 * metricsinfo.C: initialize LyXFont before changing attribute.
993 (fixes the 'math in \emph is upright' bug)
995 2003-10-06 André Pönitz <poenitz@gmx.net>
997 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
999 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1002 * paragraph_pimpl.C: Small fixes to build using STLport
1004 2003-10-02 André Pönitz <poenitz@gmx.net>
1007 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1009 2003-10-01 André Pönitz <poenitz@gmx.net>
1011 * factory.C: assert early
1013 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1015 * lyx_main.C: remove the global debug object
1017 * debug.h: adjust for new debugstream
1019 * debug.C: adjust for new debugstream and keep the global debug
1022 2003-09-22 Angus Leeming <leeming@lyx.org>
1024 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1025 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1026 an incomplete class LyXFont.
1028 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1030 * factory.C: bug fix in branches
1032 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1034 * lyxfunc.C (processKeySym): adjust
1036 (dispatch): change arg name from ev to func, adjust
1037 (sendDispatchMessage): ditto
1039 * lyx_main.C (defaultKeyBindings): adjust keybindings
1040 (deadKeyBindings): ditto
1042 * kbsequence.C (addkey): return a FuncRequest
1044 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1046 * kbmap.C (bind): take a FuncRequest as arg, adjust
1049 (defkey): change to take a FuncRequest as arg, adjust
1050 (findbinding): take a FuncRequest as arg, adjust.
1052 * funcrequest.h (operator=): added
1054 * funcrequest.C (FuncRequest): default kb_action changed from
1055 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1057 * buffer.C (dispatch): simplify
1058 (dispatch): adjust to take a FuncRequest as arg, adjust
1060 * boost.C (assertion_failed): change assertion message slightly
1062 * ToolbarBackend.C (read): simplify
1064 * MenuBackend.C (binding): adjust call to findbinding, add a
1065 message if no binding is found.
1067 (expandToc): correct by adding a empty FuncRequest
1069 * LyXAction.C: include <boost/assert.hpp>
1070 (isPseudoAction): delete function
1071 (LookupFunc): change name to...
1072 (lookupFunc): this. change return type to FuncRequest.
1073 (getActionName): take kb_action as arg, simplify
1074 (funcHasFlag): add an assert, simplify.
1076 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1078 * toc.C (action): return a FuncRequest, simplify
1080 * lyxfunc.C (processKeySym): adjust
1081 (getStatus): delete version that takes an int.
1083 (dispatch): delete version that takes action as int
1085 (sendDispatchMessage): simplify and adjust
1087 * funcrequest.C (getArg): take unsigned int as arg
1089 * ToolbarBackend.C (read): adjust
1090 (add): delete version that takes func as a string.
1091 (getIton): take a FuncRequest as arg
1093 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1096 * MenuBackend.C (MenuItem): add a new construct that only takes a
1097 Kind, simplify the constructor use for submenus.
1099 (expandLastfiles): adjust
1100 (expandDocuments): adjust
1101 (expandFormats): adjust
1102 (expandFloatListInsert): adjust
1103 (expandFloatInsert): adjust
1104 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1106 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1107 Remove class variables lyx_pseudo_map and lyx_arg_map
1109 * LyXAction.C (searchActionArg): delete function
1110 (getPseudoAction): delete function
1111 (retrieveActionArg): delete function
1112 (LookupFunc): make it return kb_action, simplify.
1113 (getActionName): simplify
1115 * factory.C (createInset): fix new bug
1117 2003-09-19 Angus Leeming <leeming@lyx.org>
1119 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1120 masterFilename_ parameter in the include inset.
1122 * factory.C (createInset): changes due to the changes to InsetInclude.
1124 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1126 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1128 2003-09-18 Angus Leeming <leeming@lyx.org>
1131 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1132 Inset::fillWithBibKeys.
1133 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1135 2003-09-18 Angus Leeming <leeming@lyx.org>
1137 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1139 (ctor): pass and store a 'Buffer const &'
1140 (buffer): new member function.
1142 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1143 '*this' to the LaTeXFeatures ctor.
1145 2003-09-18 Angus Leeming <leeming@lyx.org>
1151 * text.C: rename EnumLColor as LColor_color.
1153 2003-09-18 Angus Leeming <leeming@lyx.org>
1155 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1156 remove #include "insets/insetbase.h" from cursor.h.
1158 2003-09-18 Angus Leeming <leeming@lyx.org>
1160 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1161 InsetOld_code to remove #include "inset.h".
1163 * iterators.C: add #include "insets/inset.h"
1165 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1167 * BufferView.C: remove more locking stuff that apparently doesn't
1168 do anything sensible.
1170 2003-09-16 André Pönitz <poenitz@gmx.net>
1173 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1176 2003-09-16 Angus Leeming <leeming@lyx.org>
1178 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1180 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1183 * paragraph.h: remove #include "lyxfont.h". Forward declare
1186 2003-09-16 Angus Leeming <leeming@lyx.org>
1188 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1189 of support/textutils.h.
1190 (isWord): move the contents of support/textutils.h's IsWordChar here.
1196 * text2.C: add #include "paragraph.h".
1199 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1201 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1207 * LaTeX.C: use namespace alias for lyx::support::os
1209 2003-09-16 Angus Leeming <leeming@lyx.org>
1212 * bufferview_funcs.C:
1215 * paragraph_pimpl.C:
1217 * text.C: add #include "LColor.h".
1219 2003-09-16 Angus Leeming <leeming@lyx.org>
1221 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1222 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1224 Store the FontBits::color variable as an int rather than as an
1225 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1228 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1229 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1230 string calls together.
1232 * lyxrc.C: add #include "LColor.h".
1234 2003-09-15 Angus Leeming <leeming@lyx.org>
1236 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1239 2003-09-15 Angus Leeming <leeming@lyx.org>
1241 * LColor.h: add an EnumLColor wrapper for LColor::color.
1243 * lyxfont.[Ch] (color, setColor, realColor):
1244 * lyxtext.h, text.C (backgroundColor):
1245 pass EnumLColor args to/from the functions, rather than LColor::color
1249 * lyxtext.h: forward declare EnumLColor.
1251 * lyx_main.C: add #include "LColor.h".
1253 2003-09-15 Angus Leeming <leeming@lyx.org>
1255 * .cvsignore: add lyx-gtk.
1257 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1262 * ParagraphParameters.C
1266 * bufferview_funcs.C
1276 * vc-backend.C: remove usage of STRCONV
1278 2003-09-15 Angus Leeming <leeming@lyx.org>
1280 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1281 explicitly define the color passed to the painter.
1283 2003-09-15 Angus Leeming <leeming@lyx.org>
1285 * bufferparams.C (BufferParams): reorder member initializers to avoid
1288 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1290 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1291 * text.C (updateRowPositions): remove an unusual nop
1293 2003-09-12 André Pönitz <poenitz@gmx.net>
1295 * BufferView_pimpl.C:
1304 * Counters.[Ch]: finish the 'automatic counters' job
1306 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1308 * aspell.C: include <boost/assert.cpp> (compile fix)
1310 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1312 * boost.C (assertion_failed): use lyx::support::abort instead of
1315 2003-09-10 Angus Leeming <leeming@lyx.org>
1317 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1318 with their _fwd progeny.
1320 2003-09-09 Angus Leeming <leeming@lyx.org>
1322 134 files throughtout the source tree: replace 'using namespace abc;'
1323 directives with the appropriate 'using abc::xyz;' declarations.
1325 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1327 * boost.C (emergencyCleanup): moved here from LAssert.c
1328 (assertion_failed): new function, called by BOOST_ASSERT
1330 * several files: change Assert to BOOST_ASSERT
1332 2003-09-09 Angus Leeming <leeming@lyx.org>
1334 * buffer.[Ch]: Add an Impl class and move Buffer's member
1335 variables into it. As a result move several header files out of
1338 Add header files to lots of .C files all over the tree as a result.
1340 2003-09-09 Angus Leeming <leeming@lyx.org>
1342 * buffer.[Ch]: make Buffer's member variables private. Add
1345 Lots of changes all over the tree as a result.
1347 2003-09-08 Angus Leeming <leeming@lyx.org>
1349 * graph.C: #include <config.h>.
1351 2003-09-08 Angus Leeming <leeming@lyx.org>
1355 * BufferView_pimpl.C:
1384 * toc.C: remove redundant using directives.
1386 2003-09-07 Angus Leeming <leeming@lyx.org>
1388 * LaTeXFeatures.h: remove #include "support/types.h".
1389 * ToolbarBackend.h: remove #include <algorithm>.
1390 * changes.h: remove #include <ctime>.
1391 * debug.h: remove #include <iosfwd>.
1392 * graph.h: remove #include "support/std_string.h".
1393 * lyx_main.h: remove #include <csignal>.
1394 * lyxlex_pimpl.h: remove #include <fstream>.
1395 * sgml.h: remove #include <algorithm>, <utility>.
1396 * toc.h: remove #include "support/std_ostream.h".
1397 Add #include <iosfwd>.
1399 2003-09-07 Angus Leeming <leeming@lyx.org>
1401 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1403 * converter.h: forward declare LatexRunParams.
1404 * encoding.h: remove #include "lyxrc.h".
1405 * lyxtext.h: remove #include "LColor.h".
1406 * lyxtextclass.h: remove #include "support/types.h".
1407 * trans.h: remove #include "tex-accent.h".
1408 * trans_mgr.h: remove #include "tex-accent.h".
1409 * insets/inset.h: remove #include "support/types.h", <vector>.
1410 * insets/insetcollapsable.h: remove #include "LColor.h".
1411 * insets/insetinclude.h: remove #include "dimension.h".
1412 * insets/insetlatexaccent.h: remove #include "dimension.h".
1413 * insets/insetoptarg.h:: remove #include "insettext.h".
1414 * insets/insettext.h: remove #include "dimension.h",
1415 <boost/shared_ptr.hpp>
1417 * insets/renderers.h: add #include "dimension.h".
1418 * insets/updatableinset.h: add #include "support/types.h".
1420 * many .C files: Associated changes.
1422 2003-09-06 Angus Leeming <leeming@lyx.org>
1424 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1425 one, inside testInvariant.
1427 * PrinterParams.C: new file.
1428 * PrinterParams.[Ch]: move the function bodies out of line.
1430 2003-09-06 Angus Leeming <leeming@lyx.org>
1432 * ParagraphParameters.h: forward declare ParameterStruct rather than
1433 including its header file.
1434 (depth): moved out-of-line.
1436 2003-09-06 Angus Leeming <leeming@lyx.org>
1438 * BufferView_pimpl.h:
1441 * lyxfunc.h: forward declare LyXKeySym rather than
1442 #include "frontends/LyXKeySym.h".
1444 * BufferView_pimpl.C:
1447 * lyxfunc.C: associated changes.
1449 2003-09-06 Angus Leeming <leeming@lyx.org>
1451 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1452 As a result, can remove the #include "insets/inset.h" from BufferView.h
1454 2003-09-06 Angus Leeming <leeming@lyx.org>
1456 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1457 As a result, can remove the #include "insets/inset.h" from BufferView.h
1459 2003-09-06 Angus Leeming <leeming@lyx.org>
1465 * bufferview_funcs.C:
1466 * BufferView_pimpl.C:
1471 * ParagraphParameters.C:
1476 * frontends/controllers/ControlDocument.C:
1477 * insets/insetcaption.C: rearrange the #includes into some sort of
1480 * buffer.h: remove #includes ErrorList.h, undo.h
1482 2003-09-06 Angus Leeming <leeming@lyx.org>
1484 * support/types.h: add a 'depth_type' typedef, used to store the
1485 nesting depth of a paragraph.
1488 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1489 defining explicitly.
1492 * paragraph_funcs.h:
1493 * ParagraphParameters.h:
1494 * sgml.h: use lyx::depth_type rather than Paragraph or
1495 ParameterStruct's depth_type.
1498 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1501 * BufferView_pimpl.C:
1503 * ParagraphParameters.C:
1506 * bufferview_funcs.C:
1513 * frontends/LyXView.C:
1514 * frontends/controllers/ControlDocument.C:
1515 * frontends/controllers/ControlErrorList.C:
1516 * insets/insetbibitem.C:
1517 * insets/insetbranch.C:
1518 * insets/insetcaption.C:
1519 * insets/insetcollapsable.C:
1520 * insets/insetenv.C:
1521 * insets/insetert.C:
1522 * insets/insetfloat.C:
1523 * insets/insetfoot.C:
1524 * insets/insetfootlike.C:
1525 * insets/insetnewline.C:
1526 * insets/insetquotes.C:
1527 * insets/insettabular.C:
1528 * insets/insettext.C:
1529 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1531 * frontends/controllers/ControlChanges.C: #include "changes.h".
1533 2003-09-06 Angus Leeming <leeming@lyx.org>
1535 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1536 than #including paragraph.h.
1539 * RowList.h: deleted. Superfluous.
1549 * insets/insettext.h: use ParagraphList_fwd.h rather than
1552 * paragraph.h: don't forward declare ParagraphList.
1555 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1556 rather than ParagraphList.h. paragraph.h is still needed for the
1557 Paragraph::depth_type parameters.
1559 * textcursor.h: enable it to compile stand-alone in light of the
1562 * bufferview_funcs.C:
1574 * frontends/controllers/ControlParagraph.C:
1575 * frontends/controllers/ControlTabular.C:
1576 * insets/insetmarginal.C:
1577 * insets/insetminipage.C:
1578 * insets/insetnote.C:
1579 * insets/insetoptarg.C: add header files needed to compile again.
1581 2003-09-06 Angus Leeming <leeming@lyx.org>
1583 * RowList_fwd.h: new file, forward-declaring Row rather than
1584 #including lyxrow.h.
1589 * insets/insettext.h: use it instead of RowList.h
1591 * bufferview_funcs.C:
1598 * text3.C: #include "RowList.h".
1600 2003-09-05 Angus Leeming <leeming@lyx.org>
1602 * factory.C (createInset):
1603 * vspace.C (c-tor): replace sscanf call with an istringstream.
1604 * ispell.C: re-add missing HP/UX headers.
1605 * lyxserver.C: re-add missing os2 headers.
1607 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1616 * text3.C: re-add missing system headers, needed for 2.95.2.
1618 2003-09-05 Angus Leeming <leeming@lyx.org>
1620 Changes most place everywhere due to the removal of using directives
1621 from support/std_sstream.h.
1623 2003-09-05 Angus Leeming <leeming@lyx.org>
1625 Replace LString.h with support/std_string.h,
1626 Lsstream.h with support/std_sstream.h,
1627 support/LIstream.h with support/std_istream.h,
1628 support/LOstream.h with support/std_ostream.h.
1630 Changes resulting throughout the tree.
1632 2003-09-05 Angus Leeming <leeming@lyx.org>
1634 * sgml.h: ensure that the header file can be compiled stand-alone.
1635 * *.C: strip out redundant #includes. (320 in total.)
1637 2003-09-04 Angus Leeming <leeming@lyx.org>
1639 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1640 here (from getPackages).
1642 * debug.[Ch]: add a new EXTERNAL tag.
1644 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1646 * text2.C (cursorEnd): simplify
1648 (getColumnNearX): adjust
1650 * text.C (computeBidiTables): adjust
1653 * rowpainter.C (paintChars): adjust
1654 (paintSelection): adjust
1655 (paintChangeBar): adjust
1658 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1660 (numberOfSeparators): adjust
1662 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1668 * text3.C: Restricts the mouse click functionality
1669 of insets like bibtex, include, toc and floatlist to the visible
1670 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1671 up the dialogs. Cursor has to be in front of the inset (i.e.
1672 start of row) for this to function.
1674 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1676 * bufferview_funcs.C (currentState): output row information
1678 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1680 * bufferview_funcs.C (currentState): output paragraph position
1682 2003-09-04 Angus Leeming <leeming@lyx.org>
1684 * FloatList.h: move out #include "Floating.h".
1685 * LaTeX.h: move out #include "DepTable.h".
1686 * LyXAction.h: move out #include "funcrequest.h".
1687 * buffer.h: move out #include "author.h", "iterators.h".
1688 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1689 * lyx_main.h: move out #include "errorlist.h".
1690 * lyxfunc.h: move out #include "FuncStatus.h".
1691 * lyxtext: move out #include "lyxcursor.h".
1692 * paragraph_pimpl.h: move out #include "counters.h".
1694 2003-09-03 Angus Leeming <leeming@lyx.org>
1696 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1697 preamble_snippets list, enabling us to add snippets to the preamble
1698 only if the snippet was not there already.
1700 2003-09-04 Angus Leeming <leeming@lyx.org>
1702 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1704 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1706 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1709 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1711 * BranchList.C: point fix, earlier forgotten
1713 2003-09-02 Angus Leeming <leeming@lyx.org>
1715 * box.C (contains): renamed from 'contained' after a fantastic
1718 2003-09-02 John Levon <levon@movementarian.org>
1724 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1726 2003-09-02 John Levon <levon@movementarian.org>
1728 * text2.C: simplification of cursorEnd(), including partial
1731 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1733 * buffer.C (readFile): add a space
1735 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1737 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1739 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1741 * buffer.C (readFile): new function, take a filename and a
1742 ParagraphList::iterator
1744 (readFile): adjust, make it private. don't use setStream, make
1745 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1746 always contain the filename.
1748 * BufferView.C (insertLyXFile): simplify and make it work for
1751 2003-08-30 John Levon <levon@movementarian.org>
1753 * Makefile.am: fix dist (from Kayvan)
1755 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1757 * most files: change to use const Buffer refs
1759 2003-08-27 André Pönitz <poenitz@gmx.net>
1761 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1762 on top of ownerPar().
1764 2003-08-27 John Levon <levon@movementarian.org>
1766 * funcrequest.C: properly initialise POD members
1768 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1770 * lyxtext.h (top_y): move top_y from here
1775 * BufferView_pimpl.[Ch]: to here
1776 * frontends/screen.C:
1777 * insets/insettabular.C:
1778 * insets/insettext.C: adjust
1779 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1781 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1784 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1786 2003-08-26 André Pönitz <poenitz@gmx.net>
1788 * paragraph_func.[Ch] (outerPar): new function
1791 * paragraph_funcs.C:
1792 * paragraph_funcs.h:
1793 * paragraph_pimpl.C:
1794 * text2.C: remove Inset::par_owner
1796 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1801 * text2.C: eliminates the needFullRow/display() stuff
1802 altogether, putting the logic in metrics/draw in the insets.
1804 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1806 * text2.C (redoParagraphInternal, redoParagraphs):
1807 * text.C (redoParagraph): add a call to updateRowPositions at the
1808 end of each 'metrics-like' call. Remove all others.
1809 (getRow): remove the 'y-computing' version.
1810 (getRowNearY): do not compute nor return the real y. Solve the
1811 'y < 0' problem and simplify.
1813 2003-08-22 Angus Leeming <leeming@lyx.org>
1815 * *.[Ch]: clean-up of licence and author blurbs.
1816 Also move config.h out of a few .h files and into a few .C files.
1818 2003-08-22 André Pönitz <poenitz@gmx.net>
1820 * lyxrow.[Ch]: add x_ and *fill_ members
1825 * text2.C: adjust/remove prepareToPrint() calls
1827 2003-08-22 André Pönitz <poenitz@gmx.net>
1829 * lyxrow.[Ch]: add end_ member
1831 * lyxrow_funcs.C: use LyXRow::end_
1833 * lyxtext.h (singleWidth): add LyXFont parameter
1836 * text2.C: adjust LyXText::singleWidth() calls
1838 * text.C (redoParagraph): simplify row breaking logic
1841 2003-08-19 André Pönitz <poenitz@gmx.net>
1843 * funcrequest.C: initialize button_ member
1846 * rowpainter.[Ch]: interface consolidation
1848 2003-08-18 André Pönitz <poenitz@gmx.net>
1851 * BufferView_pimpl.C:
1853 * paragraph_funcs.C:
1855 * text3.C: remove LyXScreen::draw() and fitCursor calls
1857 * BranchList.h: remove spurious semicolons
1859 * MenuBackend.C: fix branchlist related crash
1861 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1869 * bufferparams.[Ch]:
1873 * text3.C: implements the 'branch inset'
1874 idea. This allows the output of various versions of a document
1875 from a single source version, selectively outputing or suppressing
1876 output of parts of the text.
1877 This implementation contains a 'branch list editor' in a separate
1878 tab of the document settings dialog. Branches are user definable
1879 and have a "display colour" to distinguish them on-screen.
1881 ColorHandler was somewhat cleaned up.
1882 (1) make possible a dynamically growing LColor list by allowing
1883 the graphic context cache to grow along (vector);
1884 (2) eliminate an IMHO unnecessary step in colour allocation.
1886 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1888 * BufferView_pimpl.C: compile fix
1890 2003-08-15 André Pönitz <poenitz@gmx.net>
1892 * rowpainter.C: remove extra metrics calls
1894 * lyxtext.h: merge the two constructors into a single one,
1895 pass reference to owner's par list
1897 * BufferView_pimpl.C:
1901 2003-08-15 André Pönitz <poenitz@gmx.net>
1903 * lyxrow_funcs.[Ch]:
1906 * paragraph_funcs.C:
1911 * text_funcs.C: split LyXText::rowlist_ into individual
1912 Paragraph::rows_ chunks
1915 * BufferView_pimpl.[Ch]:
1918 * text3.C: remove toggleSelection()
1920 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1922 * bufferlist.C: beautify two alerts (shorter text of buttons)
1923 * buffer.C: Remove redundant ' ' from message
1925 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1926 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1927 rename VALIGN_CENTER to VALIGN_MIDDLE
1929 2003-08-11 André Pönitz <poenitz@gmx.net>
1931 * lyxtext.h (getPar):
1932 * text.C: new function
1934 2003-08-11 André Pönitz <poenitz@gmx.net>
1937 * tracer.[Ch]: remove unneeded files
1939 * InsetList.[Ch]: remove resizeInsetsLyXText()
1944 * text3.C: merge insertParagraphs() and appendParagraph()
1945 remove breakAgain(), update()
1947 * BufferView_pimpl.[Ch]:
1948 * bufferview_funcs.[Ch]:
1952 * tabular.C: adjust after text & InsetList changes.
1954 2003-08-08 André Pönitz <poenitz@gmx.net>
1956 * text.C (insertChar, backspace): replace rowlist fiddling
1957 with rebreak of full par
1960 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1961 checkParagraph, updateInset): removed
1963 2003-08-07 André Pönitz <poenitz@gmx.net>
1966 * text3.C: merge some LFUN handlers, remove dead code
1968 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1970 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1972 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1974 * text2.C (DEPM): fix part of bug 1255 and 1256
1976 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1978 * BufferView_pimpl.C (workAreaDispatch): change to use
1979 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1980 that are no mouse related.
1982 2003-08-05 André Pönitz <poenitz@gmx.net>
1985 * BufferView_pimpl.[Ch]:
1986 * bufferview_funcs.C:
1988 * text3.C: rip out "deep update"
1990 * textcursor.[Ch] (last_sel_cursor): remove unused member
1992 2003-08-04 André Pönitz <poenitz@gmx.net>
1995 * BufferView_pimpl.[Ch]:
1996 * ParagraphParameters.C:
1997 * bufferview_funcs.C:
2003 * text3.C: replace "complicated" BufferView::update(...) calls with
2006 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2008 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2010 * Makefile.am (lyx_SOURCES): add paper.h
2012 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2014 * Makefile.am: move things around so that both lyx-qt and
2015 lyx-xforms can be built (according to --with-frontend). Then lyx
2016 is a symbolic link to lyx-[firstfrontend]
2018 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2020 * Always use std::endl with lyxerr
2022 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2024 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2026 2003-08-01 André Pönitz <poenitz@gmx.net>
2029 * BufferView_pimpl.[Ch]:
2031 * text3.C: merge BufferView::repaint() and BufferView::update()
2033 2003-08-01 José Matos <jamatos@lyx.org>
2035 * buffer.[Ch]: file_format is no longer a buffer data element.
2037 2003-08-01 André Pönitz <poenitz@gmx.net>
2042 * text2.C: make redoParagraph more independent of current cursor
2044 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2046 * text2.C: remove unneeded members
2048 2003-07-30 André Pönitz <poenitz@gmx.net>
2050 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2052 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2053 create a single function...
2055 * paragraph_funcs.C (moveItem): ... here.
2058 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2060 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2062 * LColor.[Ch]: Add comment and greyedout logical colors.
2064 2003-07-30 André Pönitz <poenitz@gmx.net>
2066 * tabular.C: don't use Assert too heavily. This crashes where it
2069 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2071 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2072 is disabled (bug 1232)
2074 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2076 * factory.C: limited 'arg' scope
2078 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2080 * factory.C: fixed Note submenu issues
2082 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2084 * factory.C: submenu for Note/Comment/Greyedout
2086 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2089 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2091 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2094 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2095 greyedout. Patch provided by Jürgen Spitzmüller.
2097 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2099 * kbmap.C (read): fix error message when reading bind files
2101 2003-07-29 Angus Leeming <leeming@lyx.org>
2103 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2104 certainly does not do what it purports to do. I am doing it, and
2105 us, a favour by killing it.
2107 2003-07-28 José Matos <jamatos@lyx.org>
2109 * buffer.C (readBody, do_writeFile):
2110 * paragraph.C(readParagraph): \end_document replaces \the_end.
2112 2003-07-29 André Pönitz <poenitz@gmx.net>
2115 * BufferView_pimpl.[Ch]:
2119 * textcursor.[Ch]: remove toggleToggle & Co
2121 2003-07-28 José Matos <jamatos@fep.up.pt>
2123 * buffer.C (readParagraph):
2124 * params_func (readParToken, readParagraph):
2125 * paragraph.C (write): \layout -> \begin_layout.
2127 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2129 * lyxlex_pimpl.C (setFile): clean up slightly.
2131 * bufferparams.h: add compressed var
2133 * buffer_funcs.C (readFile): adjust for LyXLex change
2134 (newFile): ditto + simplify
2136 * buffer.C (writeFile): handle writing of compressed files
2138 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2139 Check if the file is compressed and set a bufferparm if so.
2141 * Makefile.am (lyx_LDADD): remove explicit -lz
2143 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2145 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2146 makeDocBookFile): put the real LyX version in the first line of
2150 * version.C.in: remove lyx_docversion
2152 * tabular.C (write_attribute): add a template-based version to
2153 write enums properly
2155 2003-07-28 André Pönitz <poenitz@gmx.net>
2160 * text3.C: use doubles again for x-coordinates. They are needed.
2162 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2164 * messages.C (getLocaleDir): use lyx_localedir()
2166 * lyxlex_pimpl.C (setFile): compress stuff
2168 * buffer.C (writeFile): add some compression stuff
2169 (do_writeFile): new func, dont call expliti close... will this
2172 * Makefile.am (lyx_LDADD): add -lz
2174 2003-07-28 José Matos <jamatos@fep.up.pt>
2176 * buffer.C: increment file format.
2177 * paragraph_funcs (readParagraph, readParToken):
2178 * paragraph.C (readParagraph): add \end_layout.
2180 2003-07-27 Angus Leeming <leeming@lyx.org>
2182 * Makefile.am: remove special casing for configure-time setting of
2183 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2185 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2186 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2188 2003-07-26 André Pönitz <poenitz@gmx.net>
2190 * paragraph_func.[Ch]:
2191 * paragraph.C (realizeFont): inline it whereever it is used
2196 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2199 2003-07-26 André Pönitz <poenitz@gmx.net>
2203 * text2.C: get rid of LyXText::need_break_row
2205 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2207 * toc.[Ch]: put namespace toc inside namespace lyx
2209 * MenuBackend.C (expandToc2): adjust for lyx::toc
2212 * lyxfunc.C (dispatch): adjust for lyx::find
2214 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2215 lyx::find instead. Reorganize a bit.
2216 (LyXReplace): rename to replace
2217 (LyXFind): rename to find
2219 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2222 2003-07-26 André Pönitz <poenitz@gmx.net>
2224 * text.C (setHeightOfRow): restrict scope of temporary variable
2226 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2227 code (never has been used?)
2229 2003-07-27 Asger Alstrup <alstrup@local>
2231 * text.C (fill): Optimise algorithm to exploit that we can reuse
2232 the LyXFont for many characters.
2233 (setHeightOfRow): Same thing.
2234 (rowBreakPoint): Same thing.
2236 2003-07-26 Asger Alstrup <alstrup@local>
2238 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2240 * text.C (singleWidth): Spurious font copying in hot-spot
2241 singleWidth avoided. Reorder tests for arabic for efficiency.
2243 * text.C (fill): handle empty paragraphs better.
2245 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2248 * encoding.h: add includes
2250 * lyxrc.C: remove reading of bind files
2252 * lyx_main.C (init): setup bindings and menus only if we have a
2255 * kbmap.C (read): new method. Do the actual reading of bind
2258 * converter.C (dvipdfm_options):
2261 (output): adapt PAPER_* enums.
2263 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2265 * bufferparams.h: remove paper-related enums from there
2267 * paper.h: New file. A trivial header file to hold paper-related
2268 enums. It should later expand to contain many paper-related
2271 * lyxrc.C: declare extern displayTranslator
2273 2003-07-27 José Matos <jamatos@fep.up.pt>
2275 * tabular.[Ch] (linuxdoc): add support for tables and figures
2278 2003-07-27 José Matos <jamatos@fep.up.pt>
2280 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2281 consistency in both functions.
2282 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2284 2003-07-26 Asger Alstrup <alstrup@local>
2286 * rowpainter.C (paintRows): Change algorithm to work directly on
2287 the insets rather than asking every character in the document
2288 whether its an inset.
2290 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2292 * buffer.C (openFileWrite): factorize some code
2294 2003-07-26 Angus Leeming <leeming@lyx.org>
2297 * lyx_main.[Ch]: replace occurances of system_tempdir with
2300 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2302 * rename Inset to InsetOld
2304 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2306 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2307 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2308 which I think is a bit clearer. EDIT is gone, since it was
2309 premature optimisation, and broken for mathed anyway.
2310 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2311 with cursor positioning in insets as well (math insets still do not
2312 work, but that's a different story anyway.) It mysteriously
2313 crashes sometimes with undo in the first paragraph, but I'm fairly
2314 confident that this is a compiler bug.
2316 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2318 * paragraph.C (Paragraph): adjust for new clone return type
2320 (copyIntoMinibuffer): ditto
2322 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2324 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2325 by not having a special case, and always doing a full rebreak of
2326 the document after undo.
2328 2003-07-23 Angus Leeming <leeming@lyx.org>
2330 * factory.C (createInset): InsetExternal::setParams now takes a
2333 2003-07-23 Angus Leeming <leeming@lyx.org>
2335 * factory.C (createInset): changed interface to the external and
2336 graphics mailers' string2params functions.
2338 2003-07-23 Angus Leeming <leeming@lyx.org>
2340 * factory.C (createInset): pass a
2341 Buffer const * parameter to InsetExternalMailer's string2params.
2343 2003-07-22 John Levon <levon@movementarian.org>
2345 * Thesaurus.h: include the right aiksaurus header
2347 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2349 * MenuBackend.C (expand): check menu shortcuts unconditionally
2351 2003-07-21 Angus Leeming <leeming@lyx.org>
2353 * factory.C (createInset): pass a
2354 buffer_path parameter to InsetGraphicsMailer's string2params.
2356 2003-07-21 Angus Leeming <leeming@lyx.org>
2358 * BufferView_pimpl.C (buffer):
2361 * lyxfunc.C (dispatch):
2362 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2363 rather than the grfx shortcut.
2365 2003-07-21 André Pönitz <poenitz@gmx.net>
2367 * rowpainter.C: remove unused variables
2370 * tabular_funcs.h: move to tabular.C
2371 * Makefile.am: adjust
2373 * tabular.[Ch]: basic optical cleaning
2375 * author.h: pass references, not values
2377 2003-07-18 André Pönitz <poenitz@gmx.net>
2385 * text3.C: two-phase drawing for InsetText and InsetTabular
2386 some float -> int changes.
2388 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2390 * lyx_main.C: fix the fix
2392 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2394 * lyx_main.C: fix a crash in batch mode if no files specified
2397 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2399 * format.[Ch] (papersize): moved to BufferParams
2400 * converter.[Ch] (dvips_options): moved to BufferParams
2401 (dvipdfm_options): moved to anon namespace
2402 * bufferparams.[Ch]: added above functions.
2404 2003-07-17 André Pönitz <poenitz@gmx.net>
2408 * text2.C: don't call inset->update() anymore
2410 * metricsinfo.[Ch]: add convenience constructor
2412 2003-07-16 André Pönitz <poenitz@gmx.net>
2417 * text2.C: replace the LyXCursor::irow_ member with
2418 on-demand computation of the value
2420 2003-07-16 John Levon <levon@movementarian.org>
2422 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2424 2003-07-15 André Pönitz <poenitz@gmx.net>
2427 * text2.C: remove no more needed refresh_row
2429 2003-07-15 André Pönitz <poenitz@gmx.net>
2434 * text3.C: refresh_status tristate -> need_update bool
2436 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2438 * lyxtext.h (init): remove reinit argument (act as if always true)
2439 * text2.C: adjust to that
2441 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2443 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2444 * text3.C: use it to delete selections in some cases
2445 (bugs 441, 673, 702, 954).
2447 2003-07-14 André Pönitz <poenitz@gmx.net>
2449 * rowpainter.[Ch]: reduce interface
2451 2003-07-14 André Pönitz <poenitz@gmx.net>
2453 * BufferView_pimpl.C:
2454 * text2.C: adjust after removing unused BufferView * argument
2456 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2458 * text2.C (init): fix a crash fired on resize
2460 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2462 * buffer.[Ch]: added new closing signal
2463 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2464 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2465 BufferView::Pimpl via the closing the signal
2467 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2469 * buffer.[Ch]: take out all bv-related from buffer
2471 * BufferView_pimpl.[Ch]: connect to new signals
2472 * CutAndPaste.C: removed useless asserts
2473 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2476 * lyxfunc.C: moved view-related funciontality from vc here
2477 * paragraph.C: removed outdated comments
2480 2003-07-10 André Pönitz <poenitz@gmx.net>
2482 * BufferView_pimpl.C:
2486 * text2.C: remove InsetText::InnerCache, clean up consequences
2488 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2490 * ispell.C: fix two typos in error messages
2492 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2494 * Extend Note inset to other forms of annotation like Comment
2495 and Greyedout. Right button click gives dialog.
2497 Files modified or added (+):
2501 * ControlNote.[Ch] +
2503 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2504 frontends/controllers
2508 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2510 * aspell.C: add missing namespace lyx::support
2512 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2514 * BufferView.[Ch] (newFile): Add
2515 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2516 * LaTeX.[Ch] (message): added this signal and use it
2517 * buffer.[Ch] (busy, message): added these signals and use them
2518 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2522 * importer.C: use buffer signals instead of direct bv calling
2523 * lyx_cb.[Ch] (ShowMessage): removed
2526 * paragraph_funcs.C:
2527 * text2.C: use buffer signals
2529 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2531 * introduce namespace lyx::graphics
2533 2003-07-02 André Pönitz <poenitz@gmx.net>
2535 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2537 2003-07-01 André Pönitz <poenitz@gmx.net>
2544 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2545 text*.C to text_func.C
2547 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2549 * introduce namespace lyx::support
2551 2003-06-30 André Pönitz <poenitz@gmx.net>
2556 * text.C: re-enable --with-included-string
2558 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2560 * textcursor.C: add <config.h>
2562 * text.C (getWord): remove const from word_location arg
2564 * lyxvc.C (getLogFile): fix const type order
2566 * lyxtext.h: remove const from word_location arg, add arg name
2568 * lyxlayout.h: currect type on labeltype.
2570 * importer.C: correct \file
2572 * converter.C (intToFormat): use std:: on ret val, ws changes
2574 * bufferlist.h: correct \file
2576 * buffer.C (makeLinuxDocFile): fix const type order
2577 (makeDocBookFile): ditto
2578 (fillWithBibKeys): use std:: on stdlib args.
2580 * CutAndPaste.C: fix authors.
2581 (availableSelections): use std:: on return vector
2583 2003-06-27 André Pönitz <poenitz@gmx.net>
2585 * BufferView_pimpl.C:
2586 * bufferview_funcs.C:
2594 * text3.C: remove LyXCursor::row_ member
2597 * text.C: rename fullRebreak() to partialRebreak() and implement
2598 a fullRebreak() that really bereks fully
2600 * textcursor.h: new struct for cursor-related data
2602 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2604 * lyx_main.C (LyX): get full path of document loaded on the
2607 2003-06-26 André Pönitz <poenitz@gmx.net>
2609 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2610 remove unused/broken operator>,<,>=.
2612 * text.C: remove only use of broken operator<= in an Assert().
2614 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2616 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2617 moved errorlist_.clear to showErrorList
2619 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2621 * converter.C (scanLog, runLaTeX):
2622 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2623 move the bv->showErrorList call to the callers
2624 * lyxfunc.C: i.e. here...
2626 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2627 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2628 namespace, the second to...
2629 * buffer_funcs (BufferFormat, parseErrors): added
2630 * errorlist.C (ErrorList(TeXErrors const &)): removed
2632 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2634 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2636 2003-06-24 "Garst R. Reese" <reese@isn.net>
2640 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2642 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2644 * version.C.in: change docversion to 1.4
2646 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2648 * buffer.C: fix a bug just introduced
2650 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2652 * buffer.[Ch]: added the parseError signal and use it, removed
2654 * BufferView.[Ch] (addError): moved to ...
2655 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2656 to the Buffer::parseError signal to catch (guess what) parse errors
2657 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2659 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2661 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2662 ability to create a buffer and to return an existing one from
2663 the list. Moved these functions to...
2664 * buffer_funcs.[Ch]: added
2665 * BufferView.[Ch] (loadLyXFile): added
2666 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2667 job removed from bufferlist::loadLyXFile.
2668 * buffer.C (setReadOnly): make it work without view
2669 (i.e added an if (users))
2671 2003-06-19 Angus Leeming <leeming@lyx.org>
2674 * LyXAction.C (init):
2675 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2676 with LFUN_DIALOG_SHOW <name> <data>.
2678 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2680 * CutAndPaste.C (availableSelections): small compilation fix for
2681 ancient (gcc 2.9x) compilers
2683 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2685 * text3.C (cursorNext): add tmp var
2687 * text2.C (updateCounters): for function calling out of for clause
2688 (replaceSelectionWithString): ditto
2689 (insertStringAsParagraphs): ditto
2690 (getColumnNearX): add tmp var
2691 (setCursorFromCoordinates): add tmp var
2692 (cursorDownParagraph): add tmp var
2693 (deleteEmptyParagraphMechanism): add tmp var
2695 * text.C (insertChar): add tmp var
2697 * rowpainter.C (paintDepthBar): add tmp var
2699 * CutAndPaste.C (availableSelections): potentially check all
2700 paragraphs in a cut to fill the shown strings.
2702 2003-06-18 André Pönitz <poenitz@gmx.net>
2704 * kbmap.[Ch]: use vector<> instead of list<>
2706 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2708 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2709 pasteSelection with index
2711 * text2.C (pasteSelection): modify, call pasteSelection with index
2713 * paragraph.C (asString): reimplement version with no interval to
2714 call the one with interval.
2716 * lyxtext.h: add index arg to pasteSelection
2718 * MenuBackend.C (MenuItem): handle PasteRecent
2719 (Menu::read::Menutags): add md_pasterecent
2721 (expandPasteRecent): new function
2724 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2726 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2728 (availableSelections): new function
2730 2003-06-17 Angus Leeming <leeming@lyx.org>
2732 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2734 2003-06-17 Angus Leeming <leeming@lyx.org>
2737 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2739 * lyxfunc.C (dispatch): invoke it.
2741 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2743 * iterators.C (operator++, ParPosition): reintroduce some
2744 const_cast for the benefit of older compilers.
2746 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2748 * text3.C (dispatch): do not modify clipboard when doing
2749 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2750 LFUN_DELETE_SKIP on a selection selection
2752 2003-06-16 André Pönitz <poenitz@gmx.net>
2758 * tabular.[Ch]: IU of clone() and getLabelList();
2760 2003-06-13 André Pönitz <poenitz@gmx.net>
2762 * tabular.h: compactification
2764 2003-06-12 André Pönitz <poenitz@gmx.net>
2768 * tabular_funcs.h: some renaming plus whitespace
2770 2003-06-12 André Pönitz <poenitz@gmx.net>
2773 * BufferView_pimpl.C:
2779 * toc.C: Return a Paragraph & for ParIterator::operator*()
2781 2003-06-11 John Levon <levon@movementarian.org>
2785 * ToolbarBackend.C: add "Toolbars" section and
2788 2003-06-10 Angus Leeming <leeming@lyx.org>
2791 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2793 * lyxfunc.C (dispatch): invoke it.
2795 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2797 * main.C: protect <ios> with HAVE_IOS
2798 (main): protect sync_with_stdio with HAVE_IOS
2800 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2802 * text2.C (cutSelection): adjust
2803 (pasteSelection): adjust
2805 * messages.C: handle get of empty string
2807 * main.C (main): use sync_with_stdio(false)
2809 * lyxfunc.C (dispatch): adjust
2811 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2812 (WriteAs): remove unneeded BufferView arg.
2814 * bufferparams.h: use correct types on papersize, papersize2 and
2817 * bufferparams.C (readToken): adjust for type
2818 (writeLaTeX): add missing cases to switch.
2820 * bufferlist.C (quitWriteBuffer): adjust
2823 * buffer.C (asciiParagraph): remove some commented code.
2825 * CutAndPaste.C: remove current_view extern variable.
2826 (cutSelection): add BufferParams arg.
2827 (eraseSelection): add BufferParams arg.
2828 (pasteSelection): add Buffer const & arg
2830 2003-06-07 John Levon <levon@movementarian.org>
2833 * paragraph_funcs.C:
2834 * paragraph_pimpl.C:
2838 * paragraph.C: allow InsetERT to freely space lines,
2839 and some consolidation of code
2841 2003-06-06 José Matos <jamatos@fep.up.pt>
2843 * buffer.C (makeDocBookFile): fix bug #821
2845 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2847 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2849 2003-06-04 Angus Leeming <leeming@lyx.org>
2851 * buffer.C: bump format to 224.
2853 2003-06-05 André Pönitz <poenitz@gmx.net>
2855 * text2.C (redoParagraphs): remove two const_cast<>
2857 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2859 * ParagraphList.h: remove last remnants of NO_STD_LIST
2861 2003-06-03 Angus Leeming <leeming@lyx.org>
2863 * factory.C (createInset): small change to the way InsetExternal's params
2866 2003-06-04 André Pönitz <poenitz@gmx.net>
2868 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2870 * paragraph_pimpl.h:
2871 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2873 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2875 * undo_funcs.C: make some simple cases of undo work again
2877 2003-06-03 John Levon <levon@movementarian.org>
2879 * ispell.C: HPUX doesn't have sys/select.h
2882 2003-06-03 John Levon <levon@movementarian.org>
2884 * CutAndPaste.C: update tabular and include inset
2889 * paragraph.C: remove owningBuffer(), don't pass Buffer
2892 * factory.C: insetGraphicsParams changed
2894 2003-06-02 John Levon <levon@movementarian.org>
2900 * text3.C: remove insetparent
2902 2003-06-02 John Levon <levon@movementarian.org>
2905 * buffer.C: fix inset_iterator.end(), move out of line
2908 2003-06-01 John Levon <levon@movementarian.org>
2910 * text3.C: use a proper cut/paste when doing inset
2911 insert (from Jürgen Spitzmüller)
2913 2003-06-01 John Levon <levon@movementarian.org>
2915 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2917 2003-05-30 André Pönitz <poenitz@gmx.net>
2919 * rowpainter.C: unify second drawing phase
2921 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2923 * trans_mgr.C: remove one case of current_view
2925 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2927 * paragraph_funcs.h: remove paragraph.h include
2929 * paragraph.h: delete NO_STD_LIST stuff
2931 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2933 * buffer.h: remove paragraph.h include
2935 * ParagraphList.C: delete file
2937 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2939 * toc.C (getTocList): adjust
2941 * paragraph_pimpl.C (validate): adjust
2943 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2945 * paragraph.C (Paragraph): adjust
2946 (getPositionOfInset): use const_iterator, adjust
2947 (bibitem): use const_iterator, adjust
2948 (setInsetOwner): adjust
2950 * iterators.C (operator++): adjust
2952 * InsetList.[Ch]: Replace selfmade iterator with standard
2953 vector::iterator also introduce const_iterator. Remove getPos,
2954 getInset and setInset from InsetTable. Adjust accordingly.
2956 * BufferView.C (lockInset): adjust
2957 (ChangeInsets): adjust
2959 * tabular.[Ch]: delete commented same_id functions
2961 2003-05-28 John Levon <levon@movementarian.org>
2963 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2965 2003-05-28 André Pönitz <poenitz@gmx.net>
2967 * metricsinfo.[Ch]: remove 'fullredraw' member
2969 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2971 * lyxtextclass.C (operator): remove caching.
2973 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2977 * text2.C (cursorBottom): adjust
2978 (setCounter): use ParagraphList::find, adjust
2980 * text.C (workWidth): use ParagraphList::find, adjust
2982 * lyxcursor.C (LyXCursor): adjust
2984 * buffer.C (inset_iterator): adjust
2986 * ParagraphList.h: make iterator(value_type) private, make
2987 ParagraphList a friend of iterator.
2989 * ParagraphList.C (find): new function
2991 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2993 2003-05-27 André Pönitz <poenitz@gmx.net>
2995 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2997 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2999 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3001 2003-05-26 John Levon <levon@movementarian.org>
3003 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3005 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3007 * remove same_id from function signatures, adjust.
3009 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3011 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3013 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3015 * paragraph.C (Paragraph): get rid of same_ids parameter
3017 * ParagraphList.C (insert): adjust
3020 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3022 * paragraph_funcs.C (breakParagraph): adjust
3023 (breakParagraphConservative): adjust
3025 * buffer.C (readParagraph): adjust
3027 * ParagraphList.C (insert): take a reference instead of a pointer
3030 * paragraph.[Ch] (id): new function
3032 * bufferlist.C (newFile): adjust
3034 * ParagraphList.C (ParagraphList): adjust
3036 (push_back): take a reference instead of a pointer.
3038 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3040 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3043 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3044 set else use old code.
3046 * ParagraphList.C: remove all NO_NEXT code and only compile this
3047 code of NO_STD_LIST is set.
3049 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3051 * BufferView_pimpl.C:
3061 * graphics/GraphicsConverter.C:
3062 * graphics/PreviewLoader.C: header adjustment
3064 2003-05-23 Angus Leeming <leeming@lyx.org>
3066 * LaTeXFeatures.[Ch] (useBabel): new method.
3067 * bufferparams.C (writeLaTeX): use it.
3069 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3071 * ParagraphList.h (set): remove unused function.
3073 2003-05-23 André Pönitz <poenitz@gmx.net>
3076 * BufferView_pimpl.C:
3080 * undo_funcs.C: setUndo reworked
3082 * iterators.[Ch]: add access to topmost ParagraphList
3084 * lyxtext.[Ch] (workWidth): add a const
3086 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3088 * texrow.[Ch] (increasePos): remove function
3089 * exporter.C (export): removed unused var and outdated comment
3091 2003-05-23 Angus Leeming <leeming@lyx.org>
3093 * latexrunparams.h: rename fragile as moving_arg.
3094 * paragraph.C (simpleTeXOnePar): ditto.
3095 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3097 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3099 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3101 (textUndoOrRedo): comment out a currently unused var.
3103 * paragraph.h (NO_NEXT): enable NO_NEXT
3105 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3107 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3109 * exporter.C (Export): adjust for removeAutoInsets removal.
3111 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3113 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3115 * BufferView.[Ch] (removeAutoInsets): delete function
3117 2003-05-22 Angus Leeming <leeming@lyx.org>
3119 * latexrunparams.h: add a free_spacing variable.
3121 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3122 to pass moving_arg, as the data is stored in runparams.fragile.
3124 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3125 to Inset::latexOptional or to simpleTeXOnePar.
3127 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3128 free_spacing arg to Inset::latexOptional.
3130 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3133 2003-05-22 Angus Leeming <leeming@lyx.org>
3135 * latexrunparams.h: add fragile and use_babel variables.
3137 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3138 * buffer.C (makeLaTeXFile): store this returned value in
3139 runparams.use_babel, thus passing it to the inset::latex methods.
3141 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3142 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3144 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3145 longer has a fragile arg, as it is stored in runparams.fragile.
3147 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3148 moving_arg parameter as the data is stored in runparams.fragile.
3150 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3151 a fragile parameter as the data is stored in runparams.fragile.
3153 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3155 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3157 2003-05-22 Angus Leeming <leeming@lyx.org>
3159 * latexrunparams.h: add a 'bool nice' which defaults to false.
3161 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3162 now encapsulated within runparams.
3164 * bufferlist.C (updateIncludedTeXfiles):
3165 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3167 2003-05-22 Angus Leeming <leeming@lyx.org>
3169 * latexrunparams.h: new file containing struct LatexRunParams.
3170 * Makefile.am: add new file.
3172 * LaTeX.[Ch] (c-tor, run):
3173 * buffer.[Ch] (makeLaTeXFile):
3174 * bufferlist.[Ch] (updateIncludedTeXfiles):
3175 * converter.C (convert, scanLog):
3176 * converter.[Ch] (runLaTeX):
3177 * exporter.C (Export):
3178 * paragraph.[Ch] (simpleTeXOnePar):
3179 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3180 * paragraph_funcs.[Ch] (latexParagraphs):
3181 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3182 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3183 pass around a LatexRunParams parameter.
3185 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3187 * paragraph.[Ch]: remove unused constructor
3189 * ParagraphList.C (erase): new function, taking two iterators
3191 2003-05-22 André Pönitz <poenitz@gmx.net>
3193 * undo_funcs.C: remove duplicated code
3195 * iterator.[Ch]: operator=
3197 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3199 * tabular.C (SetMultiColumn): ws changes
3201 * rowpainter.C (paintFirst): get rid of a ->previous
3203 * lyx_cb.C (getPossibleLabel): parlist simplification
3205 * BufferView.C (ChangeInsets): simplify slightly.
3207 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3209 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3210 * lfuns.h: new LFUN_SPACE
3211 * lyxfunc.C: protected space has a new lfun
3212 * paragraph_funcs.C: read new space insets
3214 * factory.C: handle new space insets
3216 2003-05-22 André Pönitz <poenitz@gmx.net>
3219 * BufferView_pimpl.C:
3222 * undo_funcs.C: return a ParIterator from getParFromID.
3224 * iterators.[Ch]: add two const's
3226 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3228 * toc.C (getTocList): adjust
3230 * iterators.[Ch]: rework for parlist
3232 * buffer.C (par_iterator_begin): adjust
3233 (par_iterator_end): adjust
3235 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3237 * BufferView.C (removeAutoInsets): adjust
3238 (ChangeInsets): adjust
3240 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3242 * text.C (top_y): fix bug 1110
3244 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3246 * errorlist.[Ch]: added
3249 * BufferView_pimpl.C:
3250 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3253 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3255 * Makefile.am: ensure that lyx is relinked upon changes to the
3256 various "convenience" libs.
3258 2003-05-20 Angus Leeming <leeming@lyx.org>
3260 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3261 files are compiled in alphabetical order again.
3263 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3265 2003-05-19 Angus Leeming <leeming@lyx.org>
3267 * gettext.[Ch]: remove "char const * _(char const *)".
3269 2003-05-19 André Pönitz <poenitz@gmx.net>
3271 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3280 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3282 2003-05-19 André Pönitz <poenitz@gmx.net>
3286 * lyxtextclass.[Ch]:
3288 * paragraph_funcs.[Ch]:
3290 * text3.C: more insetenv work
3292 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3294 * ParagraphParameters.C (params2string): small bug fixed
3296 2003-05-16 André Pönitz <poenitz@gmx.net>
3299 * bufferview_funcs.C: patch from Kornel Benko to prevent
3300 crash when _(...) is called twice in a statement
3302 2003-05-16 André Pönitz <poenitz@gmx.net>
3309 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3311 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3313 * lyx_main.C (init): remove spurious static_cast
3315 2003-05-14 André Pönitz <poenitz@gmx.net>
3317 * BufferView.C: fix format string
3319 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3321 * BufferView.[Ch] (insertErrors): removed
3322 * BufferView.[Ch] (showErrorList): added
3323 * buffer.C (runChkTeX):
3324 * converter.C (scanLog): call showErrorList instead of inserterrors
3326 2003-05-13 André Pönitz <poenitz@gmx.net>
3328 * BufferView_pimpl.C:
3330 * bufferview_func.C:
3337 * tabular_funcs.h: tostr() from its own header
3339 * ParagraphParameters.C:
3344 * text3.C: STRCONV()
3346 2003-05-12 André Pönitz <poenitz@gmx.net>
3349 * BufferView_pimpl.C:
3353 * ParagraphParameters.C:
3357 * bufferview_funcs.C:
3370 * paragraph_funcs.C:
3374 * text3.C: boost::format -> bformat all over the place
3377 2003-05-09 André Pönitz <poenitz@gmx.net>
3379 * LColor.[Ch]: Pimpl the #include <map> away
3381 2003-05-09 John Levon <levon@movementarian.org>
3383 * bufferlist.C: never remove emergency saves
3385 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3387 * Makefile.am: better lib building
3389 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3391 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3393 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3394 (simpleTeXSpecialChars): adjust
3395 (simpleTeXSpecialChars): adjust
3396 * paragraph.C (simpleTeXOnePar): adjust
3397 * buffer.C (makeLaTeXFile): adjust
3399 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3401 * text2.C (changeDepth): parlist cleanup
3402 (getColumnNearX): ditto
3404 * rowpainter.C (getLabelFont): parlist cleanup
3406 * bufferlist.C (newFile): parlist cleanup
3408 * CutAndPaste.C (eraseSelection): parlist cleanup
3410 * BufferView_pimpl.C (trackChanges): parlist cleanup
3413 * BufferView.C (lockInset): parlist cleanup.
3414 (ChangeInsets): ditto
3416 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3418 * CutAndPaste.h: Update file header.
3420 * CutAndPaste.C: Update file header.
3421 Store the parts cut out of the Document in a limited_stack.
3422 (copySelection): adjust
3423 (pasteSelection): new function, takes the index in the limited stack.
3424 (nrOfParagraphs): adjust
3425 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3426 simplify error inset insertion.
3427 (checkPastePossible): adjust
3429 2003-05-06 John Levon <levon@movementarian.org>
3431 * text2.C: don't cast wrap inset to float
3433 2003-05-05 André Pönitz <poenitz@gmx.net>
3436 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3438 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3439 few naked Paragraph *.
3441 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3443 * bufferparams.C: Output warning if a document with missing
3444 TeX document class is loaded
3445 * exporter.C: Disable TeX exports if the document class is missing
3448 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3449 isTeXClassAvailable()
3451 2003-05-03 John Levon <levon@movementarian.org>
3454 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3455 explicit cursor show/hide
3457 * BufferView_pimpl.h:
3458 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3459 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3461 * lyxfunc.C: hide cursor before dispatching.
3466 * text3.C: remove explicit cursor hides
3468 2003-05-02 André Pönitz <poenitz@gmx.net>
3470 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3473 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3476 * text2.C: tiny whitespace
3478 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3480 * undo_funcs.C: almost only ws changes.
3482 * ParagraphList.C (splice): just return if pl is empty.
3484 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3486 * ParagraphList.C (splice): new function.
3488 * CutAndPaste.C (pasteSelection): use it
3490 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3492 * CutAndPaste.C (pasteSelection): remove the last next and
3493 previous from this file.
3495 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3497 * CutAndPaste.C (pasteSelection): more clean up, user proper
3498 ParagraphList functions for pasteing.
3500 * ParagraphList.C (insert): new function, three arg insert
3502 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3504 * ParagraphList.C (insert): new function, three arg insert
3506 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3509 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3511 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3513 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3515 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3517 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3519 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3520 (copySelection): clean up a bit.
3521 (pasteSelection): use make_pair
3523 * ParagraphList.C (ParagraphList): implement copy constructor
3524 (operator=): implement, base on copy constructor.
3527 * paragraph.C (erase): return a bool
3529 * paragraph_pimpl.C (erasePos): remove function, move contents...
3530 (erase): ... here. Return a bool.
3531 (erase): call erase instead of erasePos.
3533 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3535 * ParagraphList.h: define PitPosPair
3536 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3537 ParagraphList, fix a bug on pasting multiple pars
3538 * text2.C: change interface to C&P
3540 2003-04-30 André Pönitz <poenitz@gmx.net>
3542 * undo_func.C: revert part of yesterday's patch 2
3544 2003-04-30 John Levon <levon@movementarian.org>
3546 * LColor.C: s/tabular/table/
3548 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3550 * text3.C (dispatch): do not convert iterator -> pointer
3551 * undo_funcs.C (setCursorParUndo): ditto
3552 * text_funcs.C (transposeChars): ditto
3554 * text2.C (setLayout): ws changes only
3556 * text.C (breakParagraph): do not convert iterator -> pointer
3558 (acceptChange): ditto
3559 (rejectChange): ditto
3564 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3567 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3569 * text3.C (gotoInset): YABG (yet another bad getChar)
3571 2003-04-29 André Pönitz <poenitz@gmx.net>
3573 * paragraph.h: make operator= private unimplemented as long as
3576 * ParagraphList.C: whitespace
3579 * paragraph_pimpl.[Ch]:
3580 * paragraph_funcs.C:
3582 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3585 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3587 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3589 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3590 * paragraph.[Ch] (erase):
3591 * paragraph_pimpl.[Ch] (erase): change return type and value
3592 * text2.C (cutSelection): some rework
3594 2003-04-28 John Levon <levon@movementarian.org>
3596 * bufferlist.C: changes for unsaved changes dialog
3598 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3600 * bufferlist.C (newFile): set language (messages_) for new
3603 * buffer.C (readFile): ws changes only.
3605 2003-04-28 André Pönitz <poenitz@gmx.net>
3610 * BufferView_pimpl.C:
3611 * BufferView.C: getParFromID related ParagraphList::iterator changes
3613 2003-04-28 André Pönitz <poenitz@gmx.net>
3615 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3618 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3620 * messages.C: remove one more localedir class variable.
3622 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3624 * messages.C (getLocaleDir): singleton generation function
3626 (Messages): add a default constructor.
3628 * main.C (main): do not setup localedir here, do not call
3631 * gettext.C (_): use it.
3632 (gettext_init): delete funciton
3634 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3636 * gettext.C (getLyXMessages): new singleton generating function.
3638 * buffer.C (updateDocLang): adjust
3640 * Makefile.am (messages.o): add target
3641 (main.o): remove target
3643 2003-04-27 John Levon <levon@movementarian.org>
3648 * lyxvc.C: specify cancel button in Alert::prompt
3650 2003-04-26 John Levon <levon@movementarian.org>
3655 * LyXAction.C: add LFUN_INSET_SETTINGS
3657 * lyxfunc.C: don't enable tabular-feature when there's
3658 just any locking inset
3660 2003-04-26 John Levon <levon@movementarian.org>
3662 * bufferlist.C: re-add Cancel to buffer close question
3664 * lyxfunc.C: fix import UI a bit
3666 2003-04-25 John Levon <levon@movementarian.org>
3668 * gettext.C: remove the broken asserts for now
3670 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3672 * messages.C: make case where setlocale cannot comply work better.
3674 * buffer.C (updateDocLang): new function
3675 (changeLanguage): use it
3678 * text2.C (setCounter): use B_ a bit.
3680 * lyxlayout.C (Read): be sure to trim the label strings.
3682 * messages.C (Messages): fix typo in comment
3684 * buffer.C (readFile): set message_ after file is loaded.
3685 (makeDocBookFile): remove double return
3686 (changeLanguage): reset message_ upon language change.
3687 (B_): new func, use this to get translated buffer strings.
3689 * main.C: add myself and Jean Marc as authors.
3691 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3693 * messages.[hC]: pimplify Messages, and three different pimpls to be
3694 used in different circumstances.
3696 * gettext.[Ch]: change for use with new message code.
3698 2003-04-24 André Pönitz <poenitz@gmx.net>
3700 * factory.C: support for eqref
3702 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3704 * messages.[Ch]: add missing char
3706 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3708 * messages.[Ch]: New files
3710 2003-04-18 John Levon <levon@movementarian.org>
3714 * BufferView_pimpl.C:
3718 * text2.C: remove layout-copy/paste (bug 778)
3720 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3722 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3724 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3726 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3727 if they succeed. Act accordingly.
3729 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3731 * text2.C (setCharFont): adjust
3732 (setCounter): adjust
3733 (insertStringAsLines): adjust
3735 * text.C (leftMargin): adjust
3736 (setHeightOfRow): adjust
3738 * rowpainter.C (paintFirst): adjust
3741 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3743 (isFirstInSequence): ditto
3744 (getEndLabel): ditto
3747 * paragraph.C (getParLanguage): comment out some hard stuff.
3749 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3751 (simpleDocBookOnePar): ditto
3752 (makeDocBookFile): use ParagraphList::iterator
3754 * CutAndPaste.C (pasteSelection): adjust
3756 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3758 * text2.C (getFont): adjust
3759 (getLayoutFont): adjust
3760 (getLabelFont): adjust
3762 * paragraph_funcs.C (TeXOnePar): adjust
3764 * buffer.C (simpleLinuxDocOnePar): adjust
3765 (simpleDocBookOnePar): adjust
3767 * CutAndPaste.C (pasteSelection): adjust
3769 * BufferView.C (getEncoding): adjust
3771 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3773 2003-04-16 John Levon <levon@movementarian.org>
3775 * lyxfind.C: use parlist stuff for search/changes
3777 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3779 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3781 * text2.C (deleteEmptyParagraphMechanism): adjust
3783 * text2.[Ch] (ownerParagraph): delete func (both of them
3785 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3787 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3789 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3791 * ParagraphList.C: prepare for NO_NEXT
3793 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3795 * text2.C (getFont): adjust
3796 (getLayoutFont): adjust
3797 (getLabelFont): adjust
3799 * paragraph.C (getFont): adjust
3800 (getLabelFont): adjust
3801 (getLayoutFont): adjust
3803 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3805 2003-04-15 John Levon <levon@movementarian.org>
3809 * lyx_main.C: handle Include in .ui files
3811 2003-04-15 John Levon <levon@movementarian.org>
3813 * MenuBackend.C: make the doc files length shorter
3816 * ToolbarBackend.C: handle toolbar placement flags,
3819 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3821 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3824 * paragraph_funcs.C (TeXOnePar): adjust
3826 * paragraph.C (getLabelFont): add outerfont arg, adjust
3827 (getLayoutFont): ditto
3828 (simpleTeXOnePar): adjust
3830 * paragraph_pimpl.C (realizeFont): delete func
3832 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3834 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3835 row argument, constify cur argument.
3837 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3839 * text2.C (getFont): adjust
3840 (getLayoutFont): adjust
3841 (getLabelFont): adjust
3843 * paragraph_funcs.C (TeXOnePar): adjust
3844 (outerFont): new func...
3845 (realizeFont): ...moved out from here, changed this to facilitate
3848 * paragraph.C (getFont): take outerfont as arg, adjust
3849 (simpleTeXOnePar): add outerfont arg, adjust
3851 * buffer.C (simpleLinuxDocOnePar): adjust
3852 (simpleDocBookOnePar): adjust
3854 * CutAndPaste.C (pasteSelection): adjust
3856 * BufferView.C (getEncoding): adjust
3858 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3860 * text2.C (setCharFont): adjust
3861 (setCounter): adjust
3863 * text.C (leftMargin): adjust
3864 (setHeightOfRow): adjust
3866 * rowpainter.C (paintFirst): adjust
3869 * paragraph_pimpl.C (realizeFont): adjust
3871 * paragraph.C (isFirstInSequence): move from here...
3872 * paragraph_funcs.C (isFirstInSequence): ...to here
3874 * paragraph.C (outerHook): move from here...
3875 * paragraph_funcs.C (outerHook): ...to here
3877 * paragraph.C (depthHook): move from here...
3878 * paragraph_funcs.C (depthHook): ...to here
3880 * paragraph.C (getEndLabel): move from here...
3881 * paragraph_funcs.C (getEndLabel): ...to here
3883 * text2.C (realizeFont): move from here...
3884 * paragraph_funcs.C (realizeFont): ...to here
3886 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3888 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3890 2003-04-14 Angus Leeming <leeming@lyx.org>
3892 * LColor.[Ch]: scrap LColor mathcursor.
3894 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3896 * lyxlex.[Ch] (text): delete function
3897 * trans.C (Load): adjust
3898 * paragraph_funcs.C (readParToken): adjust
3900 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3902 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3903 vector<char> instead of a char[].
3905 * lyxlex_pimpl.C (getString): adjust
3907 (lex): use getString
3911 * lyxlex.C (text): use pimpl_->getString()
3915 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3917 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3918 (makeFontEntriesLayoutSpecific): temp var for par.size()
3919 (setLayout): temp var for ownerParagraphs().end()
3920 (fullRebreak): temp var for rows().end()
3921 (selectionAsString): temp var for boost::next(startpit), realize
3922 that the while really is a regular for loop.
3923 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3924 setCursor in one place.
3925 (setParagraph): temp vr for ownerParagraphs().end()
3926 (updateCounters): make the while loop a for loop
3927 (cutSelection): temp var for ownerParagraphs().end()
3928 (updateInset): make the do {} while() a regular for loop
3929 (getCursorX): use temp vars
3930 (setCurrentFont): use temp vars
3931 (getColumnNearX): use temp vars
3933 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3935 * text.C (transformChar): use temp var for getChar
3936 (computeBidiTables): use temp var for row->par()
3937 (fill): move temp vars for row->par() and pit->layout() earlier in
3939 (labelFill): use temp var for row->par()
3940 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3941 asc and desc, realize that pit never changes and that firstpit is
3942 just a duplicate and not needed. Exchange rit->par() with pit in a
3944 (breakAgain): use a temp var for boost::next(rit)
3945 (breakAgainOneRow): ditto
3946 (breakParagraph): use a temp var for rows().begin()
3947 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3948 (cursorRightOneWord): use temp var for cursor.par() and
3949 cursor.pos(), remove usage of tmpcursor.
3950 (cursorLeftOneWord): use temp var for cursor.par() and
3951 cursor.pos() only set cur at end of function.
3953 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3955 * text.C, text2.C: exchange all usage of Paragraph::next with
3956 boost::next(ParagraphList::iterator)
3958 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3960 * text2.C (cursorTop): simplify implementation
3961 (cursorBottom): ditto
3962 (setParagraph): use ParagraphList::iterator
3963 (setCurrentFont): adjust
3964 (getColumnNearX): adjust
3965 (cursorRight): adjust
3966 (cursorLeft): remove usage of Paragraph::previous
3967 (cursorUpParagraph): ditto
3968 (deleteEmptyParagraphMechanism): slight cleanup
3970 * text.C (isBoundary): take a Paragraph const & instead of a
3972 (addressBreakPoint): ditto
3973 (leftMargin): remove usage of Paragraph::previous.
3974 (setHeightOfRow): ditto
3975 (cursorLeftOneWord): ditto
3976 (selectNextWordToSpellcheck): ditto
3979 (breakParagraph): remove one usage of Paragraph::next
3980 (redoParagraph): ditto
3981 (acceptChange): ditto
3982 (insertChar): adjust
3983 (rowBreakPoint): adjust
3985 * bufferview_funcs.C (toggleAndShow): adjust
3987 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3989 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3990 methods to access it.
3992 * text.C: Added updateRowPositions to compute all row positions.
3993 Make top_y and getRowNearY() to use the cached y position
3995 2003-04-11 John Levon <levon@movementarian.org>
3997 * text.C (rowBreakPoint): reintroduce the labelEnd
3998 checks, code copied from the row fill stuff. Deep voodoo.
4000 * text.C (fill): add a comment and debugging for the
4003 2003-04-11 John Levon <levon@movementarian.org>
4005 * text.C: make sure fullrow insets get wrapped to the next line,
4006 even when they're in a manual label
4008 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4010 * text2.C (insertParagraph): make it take ParagraphList::iterator
4012 (setLayout): make it return ParagraphList::iterator
4013 (redoParagraphs): ditto
4015 (checkParagraph): ditto
4017 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4019 * text2.C: adjust several funcs.
4020 (realizeFont): take a ParagraphList::iterator as arg.
4021 (getLayoutFont): ditto
4022 (getLabelFont): ditto
4023 (setCharFont): ditto
4025 * text.C: adjust several funcs.
4027 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4029 * text.C (selectNextWordToSpellcheck): don't accidentally
4032 2003-04-10 John Levon <levon@movementarian.org>
4034 * ToolbarBackend.C (getIcon): special handling for
4037 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4039 * text2.C (cursorRight): a getChar assert fixed
4041 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4043 * text2.C (getFont): change to take a ParagraphList::iterator
4044 instead of Paragraph*
4045 Adjust several functions.
4047 * text.C (transformChar): change to take a ParagraphList::iterator
4048 instead of Paragraph*
4049 (singleWidth): ditto
4050 Adjust several functions.
4052 * rowpainter.C: adjust several functions
4053 * rowpainter.h:store a ParagraphList::iterator and not a
4057 2003-04-09 John Levon <levon@movementarian.org>
4062 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4063 and the "help" bits as well
4065 2003-04-09 John Levon <levon@movementarian.org>
4068 * ToolbarBackend.C: allow multiple toolbars
4070 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4072 * undo_funcs.C (setCursorParUndo): adjust
4074 * text_funcs.C (transposeChars): adjust
4076 * text3.C (gotoNextInset): adjust
4079 * text2.C (setLayout): adjust
4080 (changeDepth): adjust
4082 (redoParagraphs): adjust
4083 (selectionAsString): adjust
4084 (setParagraph): adjust
4085 (insertInset): adjust
4086 (cutSelection): adjust
4087 (copySelection): adjust
4088 (pasteSelection): adjust
4089 (insertStringAsLines): adjust
4090 (updateInset): adjust
4091 (setCursor): change to take a ParagraphList::iterator parameter
4092 (setCursorIntern): change to take a ParagraphList::iterator parameter
4093 (setCurrentFont): adjust
4094 (cursorLeft): adjust
4095 (cursorRight): adjust
4096 (deleteEmptyParagraphMechanism): adjust
4098 * text.C (breakParagraph): adjust
4099 (insertChar): adjust
4100 (acceptChange): adjust
4101 (rejectChange): adjust
4102 (selectNextWordToSpellcheck): adjust
4103 (changeCase): adjust
4107 * lyxfind.C (SearchForward): adjust
4108 (SearchBackward): adjust
4109 (nextChange): adjust
4111 * lyxcursor.C (par): adjust
4113 * lyxcursor.h: store a ParagraphList::iterator instead of a
4116 * lyx_cb.C (getPossibleLabel): adjust
4118 * bufferview_funcs.C (toggleAndShow): adjust
4120 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4123 * BufferView.C (removeAutoInsets): adjust
4124 (lockedInsetStoreUndo): adjust
4126 2003-04-09 John Levon <levon@movementarian.org>
4128 * ToolbarBackend.C: try icon without argument
4129 if with argument fails
4131 2003-04-08 John Levon <levon@movementarian.org>
4134 * ToolbarBackend.C: add getIcon(), handle tooltip,
4135 and change from "Icon" to "Item".
4137 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4139 * BufferView.C (lockInset): another bad getchar crunched
4141 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4143 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4146 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4148 * lyxfind.C (searchForward, searchBackwards): bug 782
4150 2003-04-07 John Levon <levon@movementarian.org>
4152 * paragraph.C: remove dead comment
4154 * text.C: remove troublesome depth-fiddling code
4155 in leftMargin() and rightMargin() (bug 1017)
4157 * text.C: fix breaking of rows in nested lists
4160 * text2.C (updateCounters): fix up depth values
4163 2003-04-07 John Levon <levon@movementarian.org>
4165 * BufferView_pimpl.C: clear message when doc finishes resizing,
4166 and after a mouse event
4168 * lyxfunc.C: clear message after exiting inset
4170 2003-04-07 John Levon <levon@movementarian.org>
4172 * bufferview_funcs.C: show math status not outside
4173 status in the statusbar
4175 2003-04-07 John Levon <levon@movementarian.org>
4177 * lyxfunc.C: note status changed after a depth change
4179 2003-04-04 Angus Leeming <leeming@lyx.org>
4181 * LaTeX.h: move AuxInfo operator==, != out of line.
4182 Remove LaTeX virtual destructor; nothing derives from it.
4183 Move operator()() out of public area and rename it startscript().
4184 Change protected for private.
4186 2003-04-04 Angus Leeming <leeming@lyx.org>
4189 * text2.C: remove unneeded #includes.
4191 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4193 * text2.C (dEPM): fix the heigth of the next row
4195 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4197 * text.C: squashed an invalid getChar requester + some ws changes
4199 2003-04-03 John Levon <levon@movementarian.org>
4201 * bufferview_funcs.h:
4202 * bufferview_funcs.C:
4205 * text2.C: make getStatus work for the env depth lfuns
4207 2003-04-03 John Levon <levon@movementarian.org>
4209 * bufferview_funcs.h:
4210 * bufferview_funcs.C:
4213 * text2.C: parlistize decDepth(), by merging it with incDepth()
4215 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4217 * lyxrow.h: store a ParagraphList::iterator instead of a
4218 Paragraph* and adjust other class functions to suit.
4220 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4223 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4225 * text2.C (setCursor): do not anchor to cursor row for the time being
4227 2003-04-02 John Levon <levon@movementarian.org>
4234 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4236 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4238 * paragraph.h: make ParagraphList and ParagraphList::iterator
4239 friends of Paragraph.
4241 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4243 * ParagraphList.C: Use the private next_ and previous_ from
4246 2003-04-01 John Levon <levon@movementarian.org>
4250 * Makefile.am: rename, remove defaults gunk
4253 * MenuBackend.C: remove defaults gunk
4256 * Languages.C: remove defaults gunk
4259 * lyx_main.C: error out if files couldn't be found.
4261 2003-04-02 John Levon <levon@movementarian.org>
4263 * text2.C: make incDepth() use parlist
4265 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4267 * undo_funcs.C (firstUndoParagraph): adjust
4269 * text3.C (gotoInset): adjust
4270 (dispatch): adjust, and rewrite loop.
4272 * text2.C (init): adjust, and rewrite loop.
4273 (redoParagraphs): adjust
4274 (updateInset): adjust, and rewrite loop.
4275 (deleteEmptyParagraphMechanism): adjust
4277 * tabular.C (LyXTabular): adjust
4278 (SetMultiColumn): adjust
4281 * lyxtext.[Ch] (ownerParagraph): delete function
4282 (ownerParagraphs): new function returns a ParagraphList.
4284 * BufferView.C (removeAutoInsets): adjust
4285 (insertErrors): adjust
4286 (setCursorFromRow): adjust
4288 2003-04-01 Angus Leeming <leeming@lyx.org>
4290 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4293 2003-04-02 John Levon <levon@movementarian.org>
4299 * text_funcs.C: make transposeChars a free function
4301 * lyxrow_funcs.C: remove wrong comment
4303 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4306 * rowpainter.C: adjust
4311 * lyxrow_funcs. [Ch]: new files
4313 * lyxrow.[Ch]: remove next and previous pointers
4314 (next,previous): remove accessor functions
4315 (isParEnd): move to lyxrow_funcs
4316 (lastPos): move to lyxrow_funcs
4317 (nextRowIsAllInset): move to lyxrow_funcs
4318 (lastPrintablePos): move to lyxrow_funcs
4319 (numberOfSeparators): move to lyxrow_funcs
4320 (numberOfHfills): move to lyxrow_funcs
4321 (numberOfLabelHfills): move to lyxrow_funcs
4322 (hfillExpansion): move to lyxrow_funcs
4326 * bufferview_funcs.C (toggleAndShow): adjust
4328 * RowList.h: Remove class RowList from file leave just a
4331 * RowList.C: delete file
4333 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4336 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4338 * text3.C (cursorPrevious): adjust
4339 (cursorNext): adjust
4342 * text2.C (redoHeightOfParagraph): adjust
4343 (redoDrawingOfParagraph): adjust
4346 * text.C (breakParagraph): adjust
4347 (insertChar): adjust
4350 * rowpainter.C (RowPainter): adjust
4351 (leftMargin): simplify and adjust
4352 (most rowpainter functions): adjust.
4354 * rowpainter.h: store the row as RowList::iterator not as Row*
4356 * lyxcursor.C (row): taka RowList::iterator as arg
4359 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4362 2003-04-01 Angus Leeming <leeming@lyx.org>
4364 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4365 stuff like bool Bool.
4367 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4369 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4372 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4374 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4377 * lyxtext.h (rows): drop one version and leve a const variant that
4378 returns a RowList::iterator.
4380 2003-03-31 Angus Leeming <leeming@lyx.org>
4382 * text.C (fill): ensure that the signature is the same as that in the
4385 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4387 * text2.C (redoParagraphs): adjust
4388 (updateCounters): adjust
4389 (checkParagraph): adjust
4390 (getColumnNearX): adjust and reformat a bit.
4392 * text.C (top_y): adjust
4394 (leftMargin): adjust
4395 (prepareToPrint): adjust
4397 (getRowNearY): adjust
4399 * lyxtext.h: make rowlist_ mutable.
4401 * RowList.h: add const_iterator
4402 * RowList.C: adjust for RowList::const_iterator.
4404 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4407 2003-03-31 John Levon <levon@movementarian.org>
4410 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4412 * lyx_main.C: set default fonts from using lyx_gui funcs
4414 * exporter.C: pdf_mode moved from lyxrc
4417 * lyxfunc.C: changes from above
4419 2003-03-31 John Levon <levon@movementarian.org>
4421 * lyx_main.C: fix to the last fix
4423 2003-03-31 John Levon <levon@movementarian.org>
4425 * bufferlist.C: "Load original" -> "Load Original"
4431 * format.C: more Alert cleanups
4433 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4435 * text2.C (removeParagraph): make it take a RowList::iterator as
4437 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4438 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4440 * text.C (anchor_row): make it take a RowList::iterator as arg,
4442 (computeBidiTables): make it take a const reference to Row instead
4443 of Row pointer, adjust.
4444 (leftMargin): make it take a RowList::iterator as arg, adjust.
4445 (rowBreakPoint): adjust
4446 (breakAgainOneRow): make it take a RowList::iterator as arg,
4448 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4450 * bufferview_funcs.C (toggleAndShow): adjust
4452 2003-03-30 John Levon <levon@movementarian.org>
4456 * boost-inst.C: moved to support
4458 * several files: changes as a result
4460 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4462 * text2.C (LyXText): adjust.
4464 (removeRow): make it take a RowList::iterator as arg, adjust.
4465 (fullRebreak): adjust
4466 (deleteEmptyParagraphMechanism): adjust
4467 (clearPaint): adjust
4470 * text.C (top_y): adjust
4471 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4472 (breakAgain): make it take a RowList::iterator as arg, adjust.
4473 (breakParagraph): adjust
4474 (insertChar): adjust
4477 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4478 need_break_row, and refresh_row.
4480 * text3.C (dispatch): adjust
4482 * text2.C (checkParagraph): adjust
4484 (setCursorFromCoordinates): adjust
4486 * text.C (top_y): adjust
4488 (getRow): make it return a RowList::iterator, adjust
4489 (getRowNearY): make it return a RowList::iterator, adjust
4491 * text2.C (init): adjust
4492 (insertRow): remove function
4493 (insertParagraph): adjust
4494 (redoParagraphs): adjust
4495 (fullRebreak): adjust
4496 (updateCounters): adjust
4498 * text.C (top_y): rewrite to use RowList iterators.
4500 (setHeightOfRow): rewrite to sue RowList iterators.
4501 (appendParagraph): adjust
4502 (breakAgain): adjust
4503 (breakAgainOneRow): adjust
4504 (breakParagraph): adjust
4506 (getRowNearY): adjust, and remove commented code.
4508 * lyxtext.h (firstRow): delete function
4509 (lastRow): delete function
4510 (rows): new function (const and non-const versions.)
4511 (insertRow): delete function
4513 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4515 2003-03-29 John Levon <levon@movementarian.org>
4517 * BufferView_pimpl.C: always update scrollbar top
4518 because pasting text when we're anchored could mean we
4519 miss an update altogether
4521 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4523 * text2.C (init): use rowlist_.end() and not 0.
4524 (insertRow): change to take a RowList::iterator as arg, adjust
4526 (insertParagraph): change to take a RowList::iterator as arg,
4528 (redoParagraphs): remove some debug msgs.
4530 * text.C (appendParagraph): change to take a RowList::iterator
4531 arg, adjust for this.
4532 (breakAgain): add an assert
4533 (breakAgainOneRow): ditto
4535 2003-03-29 John Levon <levon@movementarian.org>
4537 * text2.C: do not clear selection after inc/decDepth
4540 2003-03-29 John Levon <levon@movementarian.org>
4543 * buffer.C: fix broken strerrors according to Lars
4545 2003-03-29 John Levon <levon@movementarian.org>
4547 * converters.C: more Alert cleanups
4549 2003-03-29 John Levon <levon@movementarian.org>
4551 * bufferview_funcs.C: remove pointless Alert
4553 * buffer.C: fix confusing error message when
4554 a template is chmoded 000
4556 2003-03-29 John Levon <levon@movementarian.org>
4560 * BufferView_pimpl.C: Alert fixes
4564 * tabular-old.C: remove unused table compat reading
4566 2003-03-29 John Levon <levon@movementarian.org>
4571 * lyx_cb.C: more Alert cleanups
4573 * lyxfunc.C: don't allow chktex if not latex document
4575 2003-03-29 John Levon <levon@movementarian.org>
4579 * buffer.C: warnings pushed down from support/,
4582 2003-03-29 John Levon <levon@movementarian.org>
4584 * lyxfunc.C: safety check for C-r (revert)
4586 2003-03-29 John Levon <levon@movementarian.org>
4589 * bufferlist.C: several UI fixes using Alert::prompt.
4590 Fix the pointless looping quit code. Fix stupid revert
4595 * lyx_cb.C: use Alert::prompt
4597 * lyx_main.C: remove a silly question
4599 * lyxfunc.C: remove a couple of silly questions,
4602 2003-03-28 John Levon <levon@movementarian.org>
4604 * text2.C: fix bug 974 (End on empty par)
4606 2003-03-28 John Levon <levon@movementarian.org>
4608 * BufferView_pimpl.C:
4610 * lfuns.h: remove do-nothing math greek lfuns
4612 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4614 * lyxgluelength.h (isValidGlueLength): add default arg on
4615 parameter 2. Remove default arg from friend in class.
4617 * lyxlength.h (isValidLength): add default arg on parameter 2.
4618 Remove default arg from friend in class.
4620 * text2.C (LyXText): adjust, initialize refresh_row.
4624 (insertParagraph): adjst
4625 (redoParagraphs): adjust
4626 (fullRebreak): adjust
4627 (updateCounters): adjust
4628 (deleteEmptyParagraphMechanism): first attempt at fixing a
4631 * text.C (top_y): adjust
4632 (setHeightOfRow): adjust
4634 (getRowNearY): adjust
4636 * lyxtext.h: include RowList.h
4637 (~LyXText): not needed anymore, deleted.
4638 (firstRow): modify for RowList
4639 (lastRow): new function
4640 Delete firstrow and lastrow class variables, add a Rowlist
4641 rowlist_ class variable.
4643 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4646 * RowList.C (insert): fix case where it == begin().
4648 2003-03-26 Angus Leeming <leeming@lyx.org>
4650 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4651 the thesaurus dialog.
4653 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4655 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4657 * RowList.[Ch]: new files
4659 * ParagraphList.C (erase): handle the case where it == begin
4662 2003-03-25 John Levon <levon@movementarian.org>
4666 * aspell.C: add new aspell support
4669 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4672 2003-03-25 Angus Leeming <leeming@lyx.org>
4675 * LyXAction.C (init): new LFUN_INSET_INSERT.
4677 * BufferView_pimpl.C (dispatch): split out part of the
4678 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4680 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4683 2003-03-25 Angus Leeming <leeming@lyx.org>
4685 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4687 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4690 * text3.C: remove useless row->height(0)
4692 2003-03-25 John Levon <levon@movementarian.org>
4696 * text3.C: rename the refreshing stuff to better names
4698 2003-03-24 John Levon <levon@movementarian.org>
4700 * BufferView_pimpl.h:
4701 * BufferView_pimpl.C: update layout choice on a mouse
4704 2003-03-23 John Levon <levon@movementarian.org>
4706 * Makefile.am: fix commandtags.h reference
4708 2003-03-22 John Levon <levon@movementarian.org>
4710 * BufferView_pimpl.C:
4715 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4717 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4720 * text.C: take the rtl methods out of line
4722 2003-03-21 André Pönitz <poenitz@gmx.net>
4724 * metricsinfo.[Ch]: new files containing structures to be passed around
4725 during the two-phase-drawing...
4727 2003-03-21 André Pönitz <poenitz@gmx.net>
4729 * lyxtextclass.C: read 'environment' tag.
4731 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4733 * text2.C (removeRow): fix bug 964
4735 2003-03-20 John Levon <levon@movementarian.org>
4739 * text2.C: paint cleanups. Inset::update() dropped font
4742 2003-03-19 John Levon <levon@movementarian.org>
4744 * lyxfunc.C: only fitcursor/markDirty if available()
4746 2003-03-19 John Levon <levon@movementarian.org>
4748 * commandtags.h: rename to ...
4750 * lfuns.h: ... this, and renumber / cleanup
4752 2003-03-19 John Levon <levon@movementarian.org>
4754 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4755 fit the cursor after an lfun
4759 * BufferView_pimpl.h:
4760 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4762 * LyXAction.C: layout-character should have ReadOnly
4764 * ParagraphParameters.C:
4766 * bufferview_funcs.C:
4773 * undo_funcs.C: changes from above
4775 2003-03-18 John Levon <levon@movementarian.org>
4777 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4778 remove it from update()
4780 * lyxfunc.C: update layout choice after an lfun
4782 * text3.C: remove extra updateLayoutChoice()s
4784 2003-03-18 John Levon <levon@movementarian.org>
4786 * text.C: top_y change means full repaint, fix
4787 a drawing bug with cursor movement
4789 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4793 * text2.C: anchor row on setCursor
4795 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4797 * lyxtext.h: remove almost all mutable keywords
4800 * text3.C: remove const keywords accordingly
4802 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4804 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4806 (TeXEnvironment): ditto
4809 2003-03-17 John Levon <levon@movementarian.org>
4811 * text.C (rowBreakPoint): remove attempt to fix displayed
4812 math insets inside a manual label
4814 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4816 * lyxtext.h: remove BufferView* as first arg from almost all class
4818 * other files: adjust.
4820 2003-03-17 John Levon <levon@movementarian.org>
4824 * text2.C: more paint cleanups
4826 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4829 * rowpainter.C: remove "smart" background painting code
4831 2003-03-16 John Levon <levon@movementarian.org>
4836 * text3.C: add helper functions for setting refresh_row/y
4838 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4840 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4841 newline inset which *can* get inserted in the pass_thru layouts.
4842 This is primarily for literate documents.
4844 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4846 * buffer.C: increment LYX_FORMAT to 223
4848 2003-03-14 André Pönitz <poenitz@gmx.net>
4850 * textclass.h: prepare for environment handling, ws changes
4851 * lyxlayout.C: read latexheader and latexfooter tags
4853 2003-03-14 John Levon <levon@movementarian.org>
4855 * text2.C: rewrite ::status() a bit
4857 2003-03-13 John Levon <levon@movementarian.org>
4859 * lyxtext.h: add some docs
4861 2003-03-13 John Levon <levon@movementarian.org>
4866 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4868 2003-03-13 John Levon <levon@movementarian.org>
4870 * text3.C: fix appendix redrawing
4872 2003-03-13 John Levon <levon@movementarian.org>
4874 * text.C (setHeightOfRow):
4876 * rowpainter.C: make appendix mark have the text
4877 "Appendix" so the user knows what it is
4880 * LColor.C: s/appendixline/appendix/ from above
4882 2003-03-13 John Levon <levon@movementarian.org>
4884 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4886 * text.C: fix a getChar(pos) bug properly
4888 2003-03-13 Angus Leeming <leeming@lyx.org>
4891 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4892 Probably only temporary. Let's see how things pan out.
4894 * BufferView.C (unlockInset):
4895 * BufferView_pimpl.C (fitCursor):
4896 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4898 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4899 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4901 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4902 new functions that convert ParagraphParameters to and from a string.
4904 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4905 BufferView::Pimpl's dispatch.
4906 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4908 2003-03-13 André Pönitz <poenitz@gmx.net>
4912 * factory.C: make it aware of InsetEnv
4914 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4916 * text2.C (setCursor): never ask for one past last
4917 (setCursor): add some debugging messages.
4919 * text.C (singleWidth): never ask for one past last
4920 (singleWidth): ditto
4922 (rightMargin): ditto
4923 (rowBreakPoint): ditto
4924 (setHeightOfRow): ditto
4925 (prepareToPrint): ditto
4927 * rowpainter.C (paintBackground): never ask for one past last
4928 (paintText): never ask for one past last
4930 * paragraph_pimpl.C (getChar): make the assert stricter, never
4931 allow the one past last pos to be taken
4933 * paragraph.C (getChar): ws changes only
4935 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4936 (numberOfSeparators): ditto
4937 (numberOfHfills): ditto
4939 2003-03-12 John Levon <levon@movementarian.org>
4945 * paragraph_funcs.C: fix per-buffer authorlists
4947 2003-03-12 John Levon <levon@movementarian.org>
4949 * text.C: fix newline in right address
4951 2003-03-12 Angus Leeming <leeming@lyx.org>
4953 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4954 duplicate those in LyXFunc::dispatch.
4958 * ToolbarDefaults.C:
4959 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4960 Add LFUN_FONTFREE_UPDATE.
4962 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4963 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4965 * bufferview_func.[Ch]: several new functions to facilliate
4966 transfer of data to and from the character dialog.
4968 2003-03-12 John Levon <levon@movementarian.org>
4973 * paragraph_funcs.C:
4974 * paragraph_pimpl.C:
4978 * text3.C: remove META_NEWLINE in favour of an inset
4981 * rowpainter.C: remove paintNewline (done by inset)
4983 2003-03-12 John Levon <levon@movementarian.org>
4985 * paragraph_pimpl.C: complain about bad getChar()s
4986 for a while at least
4988 2003-03-12 John Levon <levon@movementarian.org>
4991 * buffer.C: move paragraph read into a separate function,
4992 a little renaming to reflect that.
4995 * bufferparams.C: remove the author_ids map, not necessary now
4998 * factory.C: moved Buffer::readInset to here
5000 * paragraph_funcs.h:
5001 * paragraph_funcs.C: readParagraph free function moved from
5004 * tabular.C: name change
5006 2003-03-12 John Levon <levon@movementarian.org>
5009 * ParagraphParameters.C: move par params input to
5012 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5013 behave like a normal read from the stream wrt reading
5014 a line vs. a \\token
5016 2003-03-12 John Levon <levon@movementarian.org>
5019 * ParagraphParameters.h:
5020 * ParagraphParameters.C: move output code to a
5023 2003-03-12 John Levon <levon@movementarian.org>
5025 * BufferView.C (insertLyXFile):
5028 * tabular.C: use a parlist iterator for creating the
5031 2003-03-12 John Levon <levon@movementarian.org>
5033 * buffer.C: make current_change static local not
5036 2003-03-12 John Levon <levon@movementarian.org>
5038 * buffer.C: fix insertStringAsLines for change tracking
5040 2003-03-12 John Levon <levon@movementarian.org>
5047 * bufferparams.C: move author list into params. Rename some
5048 functions. Move the header reading into a separate token
5049 loop. Move the header token reading into BufferParams.
5051 2003-03-12 John Levon <levon@movementarian.org>
5053 * changes.C: put debug inside lyxerr.debugging() checks
5055 2003-03-11 André Pönitz <poenitz@gmx.net>
5057 * factory.C: make it aware of InsetHFill
5059 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5061 * buffer.C (latexParagraphs): move function from here...
5062 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5065 2003-03-10 Angus Leeming <leeming@lyx.org>
5067 * LyXAction.C (init): fix bug in poplating array with multiple entries
5068 with the same LFUN (spotted by JMarc).
5070 2003-03-10 John Levon <levon@movementarian.org>
5073 * text2.C: move getColumnNearX() near its
5076 2003-03-10 John Levon <levon@movementarian.org>
5078 * text.C: fix break before a minipage
5080 2003-03-10 John Levon <levon@movementarian.org>
5082 * text.C: fix the last commit
5084 2003-03-09 John Levon <levon@movementarian.org>
5088 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5089 bug 365 (don't break before insets unless needed). Don't
5090 return a value > last under any circumstances.
5092 2003-03-09 Angus Leeming <leeming@lyx.org>
5094 * BufferView_pimpl.C (trackChanges, dispatch): call
5095 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5097 2003-03-09 Angus Leeming <leeming@lyx.org>
5099 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5100 than Dialogs::showAboutlyx().
5102 2003-03-09 Angus Leeming <leeming@lyx.org>
5104 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5105 than Dialogs::showTabularCreate().
5107 2003-03-09 John Levon <levon@movementarian.org>
5111 * text2.C: 3rd arg to nextBreakPoint was always the same.
5114 2003-03-08 John Levon <levon@movementarian.org>
5121 * text2.C: Remove the "main" bit from the "main body"
5124 2003-03-08 John Levon <levon@movementarian.org>
5126 * text.C (leftMargin): The left margin of an empty
5127 manual label paragraph should not include the label width
5130 * text.C (prepareToPrint): don't attempt to measure hfills
5131 for empty manual label paragraphs - the answer should be 0
5133 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5135 * CutAndPaste.C: remove commented code and reindent.
5137 2003-03-08 John Levon <levon@movementarian.org>
5140 * lyxfunc.C: move reloadBuffer()
5143 * BufferView.C: to here
5145 * lyxvc.C: add comment
5148 * vc-backend.C: call bv->reload() to avoid
5149 getStatus() check on MENURELOAD
5151 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5153 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5154 to an old format .dep file.
5156 2003-03-07 Angus Leeming <leeming@lyx.org>
5158 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5159 when the LFUN_MOUSE_RELEASE should have been handled by
5160 inset->localDispatch.
5162 2003-03-07 Angus Leeming <leeming@lyx.org>
5164 * BufferView_pimpl.C (dispatch):
5165 * LyXAction.C (init):
5166 * ToolbarDefaults.C (init):
5168 * lyxfunc.C (getStatus):
5169 remove LFUN_INSET_GRAPHICS.
5171 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5173 2003-03-07 Angus Leeming <leeming@lyx.org>
5176 * LyXAction.C (init):
5177 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5179 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5182 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5184 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5185 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5187 2003-03-07 Angus Leeming <leeming@lyx.org>
5189 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5192 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5194 * ParagraphList.C (front): new function
5197 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5199 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5200 and top_row_offset_. removed var first_y.
5202 * text2.C (LyXText, removeRow):
5204 * BufferView_pimpl.C:
5205 use these methods instead of using first_y
5207 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5209 * text2.C (pasteSelection): adjust for checkPastePossible
5211 * CutAndPaste.C: remove Paragraph * buf and replace with
5212 ParagraphList paragraphs.
5213 (DeleteBuffer): delete
5214 (cutSelection): change the tc type to textclass_type
5215 (copySelection): change the tc type to textclass_type
5216 (copySelection): adjust for ParagraphList
5217 (pasteSelection): change the tc type to textclass_type
5218 (pasteSelection): adjust for Paragraphlist
5219 (nrOfParagraphs): simplify for ParagraphList
5220 (checkPastePossible): simplify for ParagraphList
5221 (checkPastePossible): remove unused arg
5223 * ParagraphList.C (insert): handle the case where there are no
5226 * CutAndPaste.h: make CutAndPaste a namespace.
5228 * text3.C (dispatch): adjust
5230 * text.C (breakParagraph): add a ParagraphList as arg
5232 * paragraph_funcs.C (breakParagraph): change to take a
5233 BufferParams and a ParagraphList as args.
5234 (breakParagraphConservative): ditto
5235 (mergeParagraph): ditto
5236 (TeXDeeper): add a ParagraphList arg
5237 (TeXEnvironment): ditto
5240 * buffer.C (readLyXformat2): adjust
5241 (insertStringAsLines): adjust
5242 (latexParagraphs): adjust
5244 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5245 (cutSelection): adjust
5246 (pasteSelection): adjust
5248 * BufferView_pimpl.C (insertInset): adjust
5250 2003-03-05 Angus Leeming <leeming@lyx.org>
5253 * LyXAction.C (init):
5254 * BufferView_pimpl.C (dispatch):
5255 * lyxfunc.C (getStatus):
5256 remove LFUN_CHILD_INSERT.
5258 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5260 2003-03-05 Angus Leeming <leeming@lyx.org>
5263 * LyXAction.C (init):
5264 * src/factory.C (createInset):
5265 * lyxfunc.C (getStatus):
5266 * text3.C (dispatch):
5267 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5269 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5271 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5273 * ParagraphList.C (insert): handle insert right before end()
5274 (erase): fix cases where it can be first or last paragraph.
5276 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5278 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5279 Paragraph::next and Paragraph::previous
5282 * text.C (breakParagraph): adjust
5284 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5285 BufferParams& as arg.
5286 (breakParagraph): use ParagraphList::insert
5287 (breakParagraphConservative): take a Buffer* instead of a
5288 BufferParams& as arg.
5289 (breakParagraphConservative): use ParagraphList::insert.
5291 * buffer.C (insertStringAsLines): un-const it
5292 (insertStringAsLines): adjust
5294 * ParagraphList.C (insert): new function
5296 * CutAndPaste.C (pasteSelection): adjust
5298 * text.C (backspace): adjust
5300 * tabular.C (SetMultiColumn): adjust
5302 * CutAndPaste.C (cutSelection): adjust
5303 (pasteSelection): adjust
5305 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5306 Buffer const * as arg
5308 * ParagraphList.C (erase): new function
5309 * paragraph_funcs.C (mergeParagraph): use it
5310 (mergeParagraph): make it take a Buffer* instead of a
5311 BufferParams* as arg
5313 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5315 (breakParagraphConservative): ditto
5317 * paragraph.h: remove the breakParagraph friend
5319 * paragraph.C (eraseIntern): new function
5320 (setChange): new function
5322 * paragraph_funcs.C (mergeParagraph): make it take a
5323 ParagraphList::iterator instead of a Paragraph *, adjust
5326 * paragraph.h: move an #endif so that the change tracking stuff
5327 also works in the NO_NEXT case.
5329 2003-03-04 Angus Leeming <leeming@lyx.org>
5332 * LyXAction.C: new LFUN_INSET_MODIFY.
5334 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5335 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5337 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5339 * several files: ws changes only
5341 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5342 (TeXEnvironment): ditto
5345 * buffer.C (makeLaTeXFile): adjust
5346 (latexParagraphs): make it take ParagraphList::iterator as args
5348 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5350 * buffer.C (latexParagraphs): adjust
5352 * paragraph.C (TeXOnePar): move function...
5353 (optArgInset): move function...
5354 (TeXEnvironment): move function...
5355 * paragraph_pimpl.C (TeXDeeper): move function...
5356 * paragraph_funcs.C: ...here
5358 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5360 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5362 * buffer.C (readInset): remove compability code for old Figure and
5365 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5367 * buffer.C: ws changes
5370 * BufferView_pimpl.C: ditto
5373 * bufferlist.h: ditto
5377 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5379 * converter.[Ch]: split into itself +
5382 * Makefile.am: += graph.[Ch] + format.[Ch]
5389 * lyxrc.C: added #include "format.h"
5391 2003-02-27 Angus Leeming <leeming@lyx.org>
5393 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5396 * factory.C (createInset): add "label" to the factory.
5398 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5399 string and do no more.
5401 2003-02-27 Angus Leeming <leeming@lyx.org>
5404 * LyXAction.C (init):
5405 * factory.C (createInset):
5406 * BufferView_pimpl.C (dispatch):
5407 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5409 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5411 * lyxfunc.C (dispatch):
5412 * text3.C (dispatch): pass name to params2string.
5414 2003-02-26 Angus Leeming <leeming@lyx.org>
5416 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5418 Rearrange the ~includes. Strip out the unnecessary ones.
5420 * factory.C (createInset): reformat.
5421 create new insets for the various LFUN_XYZ_APPLY lfuns.
5423 2003-02-26 John Levon <levon@movementarian.org>
5426 * lyxrow.C: add isParStart,isParEnd helpers
5428 * paragraph.h: make isInserted/DeletedText take refs
5430 * paragraph_funcs.h:
5431 * paragraph_funcs.C: remove #if 0'd code
5436 * text.C: use lyxrow helpers above.
5437 Move draw and paint routines to RowPainter.
5438 Make several methods use refs not pointers.
5439 Make backgroundColor() const.
5440 Add markChangeInDraw(), isInInset().
5441 Merge changeRegionCase into changeCase.
5442 Make workWidth() shouldn't-happen code into an Assert.
5445 * rowpainter.C: new class for painting a row.
5448 * vspace.C: make inPixels take a ref
5450 2003-02-26 Angus Leeming <leeming@lyx.org>
5452 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5455 2003-02-25 John Levon <levon@movementarian.org>
5457 * ispell.C: give the forked command a more accurate name
5459 2003-02-22 John Levon <levon@movementarian.org>
5462 * toc.C: make TocItem store an id not a Paragraph *
5465 2003-02-21 Angus Leeming <leeming@lyx.org>
5467 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5468 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5469 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5470 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5471 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5472 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5474 * BufferView_pimpl.C (dispatch):
5475 * LyXAction.C (init):
5476 * factory.C (createInset):
5477 * lyxfunc.C (getStatus, dispatch):
5478 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5480 2003-02-21 Angus Leeming <leeming@lyx.org>
5482 * BufferView_pimpl.C (MenuInsertLyXFile):
5483 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5484 * lyxfunc.C (menuNew, open, doImport):
5485 no longer pass a LyXView & to fileDlg.
5487 2003-02-21 Angus Leeming <leeming@lyx.org>
5489 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5490 * LyXAction.C: change, BIBKEY to BIBITEM.
5491 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5492 Change InsetBibKey to InsetBibitem.
5493 Change BIBKEY_CODE to BIBITEM_CODE.
5494 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5495 * factory.C: replace insetbib.h with insetbibitem.h.
5496 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5497 * paragraph.C: replace insetbib.h with insetbibitem.h.
5498 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5499 Change bibkey() to bibitem().
5500 * text.C: remove insetbib.h.
5501 * text2.C: replace insetbib.h with insetbibitem.h.
5502 change bibkey() to bibitem().
5503 * text3.C: remove insetbib.h.
5504 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5506 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5508 * lyxrc.C (output): enclose user email in quotes (in case there are
5511 2003-02-18 John Levon <levon@movementarian.org>
5513 * buffer.h: add std::
5515 2003-02-17 John Levon <levon@movementarian.org>
5521 * pspell.C: reworking. Especially in ispell, a large
5522 number of clean ups and bug fixes.
5524 * lyxfunc.C: fix revert to behave sensibly
5526 2003-02-17 André Pönitz <poenitz@gmx.net>
5529 * commandtags.h: new LFUN_INSERT_BIBKEY
5539 * paragraph_func.C: remove special bibkey handling
5541 2003-02-17 John Levon <levon@movementarian.org>
5543 * text.C (Delete): fix case where delete at the end of
5544 the very first paragraph would not merge the pars
5546 2003-02-17 John Levon <levon@movementarian.org>
5548 * lyxrow.C: fix lastPrintablePos()
5550 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5552 * bufferparams.C (writeLaTeX): add a std:here
5554 * buffer.C: and remove a using directive there
5556 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5558 * buffer.C (makeLaTeXFile): move the code that generates the
5561 * bufferparams.C (writeLaTeX): ... in this new method
5563 * LaTeXFeatures.C (getEncodingSet): make const
5564 (getLanguages): make const
5566 * MenuBackend.C (binding): returns the binding associated to this
5568 (add): sets the status of each item by calling getStatus. Adds
5570 (read): add support for OptSubMenu
5571 (expand): remove extra separator at the end of expanded menu
5573 2003-02-15 John Levon <levon@movementarian.org>
5576 * BufferView_pimpl.C:
5578 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5579 inset code that had no actual effect. Remove unneeded status
5582 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5584 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5587 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5589 * text.C (drawLengthMarker): also draw an arrow marker for
5590 symbolic lengths (medskip...)
5592 2003-02-14 John Levon <levon@movementarian.org>
5595 * tabular.C: better method names
5597 2003-02-14 John Levon <levon@movementarian.org>
5599 * BufferView_pimpl.C:
5604 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5605 it's a more accurate name. Remove some pointless uses.
5607 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5609 * text2.C (LyXText): change order of initilizers to shut off
5612 2003-02-14 John Levon <levon@movementarian.org>
5614 * buffer.C: use ParIterator for getParFromID()
5618 * paragraph_pimpl.h:
5619 * paragraph_pimpl.C: remove unused getParFromID()
5621 2003-02-14 John Levon <levon@movementarian.org>
5623 * buffer.C: remove some very old #if 0'd parse code
5625 2003-02-13 John Levon <levon@movementarian.org>
5629 * text2.C: move hfillExpansion(), numberOfSeparators(),
5630 rowLast(), rowLastPrintable(), numberofHfills(),
5631 numberOfLabelHfills() ...
5634 * lyxrow.C: ... to member functions here.
5639 * text.C: remove LyXText::beginningOfMainBody(), and call
5640 p->beginningOfMainBody() directly. Move the check for
5641 LABEL_MANUAL into the latter.
5648 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5654 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5655 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5657 2003-02-13 John Levon <levon@movementarian.org>
5659 * CutAndPaste.C: remove debug
5661 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5663 * paragraph.C (asString): remove two unused variables
5665 * lyxtextclass.C (readTitleType):
5667 (LyXTextClass): handle new members titletype_ and titlename_
5669 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5671 2003-02-09 John Levon <levon@movementarian.org>
5674 * buffer.C: replace hand-coded list with a map for the dep clean
5676 2003-02-08 John Levon <levon@movementarian.org>
5678 * LaTeX.C: consolidate code into showRunMessage() helper
5680 2003-02-08 John Levon <levon@movementarian.org>
5685 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5686 and pass the size in explicitly
5688 * BufferView_pimpl.h:
5689 * BufferView_pimpl.C:
5691 * BufferView.C: add getCurrentChange()
5693 * BufferView_pimpl.h:
5694 * BufferView_pimpl.C: handle change lfuns
5696 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5697 for changes. Mark pasted paragraphs as new.
5699 * support/lyxtime.h:
5700 * support/lyxtime.C:
5701 * DepTable.C: abstract time_t as lyx::time_type
5704 * LColor.C: add colours for new text, deleted text, changebars
5706 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5707 package use "usenames" option.
5711 * LyXAction.C: add change lfuns
5715 * author.C: author handling
5718 * buffer.C: add a per-buffer author list, with first entry as
5719 current author. Handle new .lyx tokens for change tracking. Output
5720 author list to .lyx file. Output dvipost stuff to .tex preamble.
5721 Bump lyx format to 222.
5724 * bufferlist.C: add setCurrentAuthor() to reset current author details
5728 * bufferparams.C: add param for tracking
5730 * bufferview_funcs.C: output change info in minibuffer
5734 * changes.C: add change-tracking structure
5737 * debug.C: add CHANGES debug flag
5740 * lyxfind.C: add code for finding the next change piece
5743 * lyxrc.C: add user_name and user_email
5746 * lyxrow.C: add a metric for the top of the text line
5749 * text.C: implement accept/rejectChange()
5752 * text.C: paint changebars. Paint new/deleted text in the chosen
5753 colours. Strike through deleted text.
5757 * paragraph_pimpl.h:
5758 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5759 in the current change to the insert functions. Rework erase to
5760 mark text as deleted, adding an eraseIntern() and a range-based
5761 erase(). Implement per-paragraph change lookup and
5764 * paragraph_funcs.C: Fixup paste for change tracking.
5766 * tabular.C: mark added row/columns as new.
5768 * text.C: fix rowLast() to never return -1. Don't allow
5769 spellchecking of deleted text. Track transpose changes. Don't
5770 allow paragraph break or merge where appropriate.
5772 * text2.C: leave cursor at end of selection after a cut.
5774 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5776 * text.C (getLengthMarkerHeight):
5777 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5778 visible on screen too.
5780 2003-02-07 John Levon <levon@movementarian.org>
5782 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5784 2003-02-05 Angus Leeming <leeming@lyx.org>
5786 * lyxserver.C (read_ready): revert my patch of 11 September last year
5787 as it sends PC cpu through the roof. Presumably this means that
5788 the lyxserver will no longer run on an Alpha...
5790 2003-01-30 Angus Leeming <leeming@lyx.org>
5792 * factory.C (createInset): create an InsetCommandParam of type "index"
5793 and use it to 'do the right thing'.
5795 * text2.C (getStringToIndex): ensure that cursor position is always
5796 reset to the reset_cursor position.
5798 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5800 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5803 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5807 * lyxfunc.C: Output messages with identical spelling, punctuation,
5810 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5812 * MenuBackend.C (expandFormats): List only viewable export formats
5815 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5818 * lyxfunc.C (getStatus): Make sure that formats other than
5819 "fax" can also be disabled
5821 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5823 * text3.C (dispatch): put the lfuns that insert insets in 3
5824 groups, and call doInsertInset with appropriate arguments.
5825 (doInsertInset): new function, that creates an inset and inserts
5826 it according to some boolean parameters.
5828 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5830 * buffer.C (readFile): remember to pass on 'par' when calling
5831 readFile recursively.
5833 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5835 * MenuBackend.C (expandFormats): add "..." to import formats.
5837 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5839 * paragraph.C (asString): Remove XForms RTL hacks.
5841 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5842 * buffer.C: fix typo
5844 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5846 * Makefile.am (LIBS): delete var
5847 (lyx_LDADD): add @LIBS@ here instead.
5849 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5851 * Clarify the meaning of "wheel mouse jump"
5853 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5855 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5858 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5860 * importer.C (Loaders): do not preallocate 3 elements in the
5861 vector, since one ends up with 6 elements otherwise
5863 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5865 * DepTable.C (write): write the file name as last element of the
5866 .dep file (because it may contain spaces)
5867 (read): read info in the right order
5869 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5871 * paragraph_pimpl.C (simpleTeXBlanks):
5872 (simpleTeXSpecialChars):
5873 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5875 * tabular.C (latex): add some missing case statements. Reindent.
5877 * MenuBackend.C (expandToc): remove unused variable.
5879 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5888 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5891 2003-01-05 John Levon <levon@movementarian.org>
5894 * BufferView.C: add getEncoding()
5897 * kbsequence.C: do not store last keypress
5900 * lyxfunc.C: store last keypress here instead. Pass encoding
5903 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5905 * lyx_main.C (init): remove annoying error message when following
5906 symbolic links (bug #780)
5908 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5910 * text.C (insertChar):
5911 * lyxrc.C (getDescription): remove extra spaces
5913 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5915 * lyxrc.C (getDescription): remove extra spaces
5917 2002-12-20 John Levon <levon@movementarian.org>
5919 * text3.C: hack fix for page up/down across tall rows
5921 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5923 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5926 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5928 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5929 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5930 thesaurus is not compiled in
5932 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5934 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5936 2002-12-16 Angus Leeming <leeming@lyx.org>
5939 * lyx_main.C (init): remove override_x_deadkeys stuff.
5941 2002-12-12 John Levon <levon@movementarian.org>
5943 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5944 insert. Only remove shift modifier under strict
5947 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5949 * MenuBackend.C (expandToc): fix crash.
5951 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5953 * MenuBackend.C (expandToc): gettext on float names.
5955 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5957 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5958 implement bool empty() [bug 490]
5960 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5962 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5964 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5966 * several files: ws changes
5968 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5970 * text2.C (setCounter): clean up a bit, use boost.format.
5971 (updateCounters): initialize par upon declaration.
5973 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5974 if the layout exists. We do not just store the layout any more.
5975 (SwitchLayoutsBetweenClasses): use boost.format
5977 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5979 * converter.C (convert): if from and to files are the same, use a
5980 temporary files as intermediary
5982 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5985 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5987 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5989 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5991 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5993 * tabular.C (asciiPrintCell): use string(size, char) instead of
5996 * sgml.C (openTag): fix order of arguments to string constructor
5999 * lyxfunc.C (dispatch): use boost.format
6001 * lots of files: change "c" -> 'c'
6003 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6005 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6007 2002-11-25 Angus Leeming <leeming@lyx.org>
6009 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6011 * lyx_main.C (init): compile fix.
6013 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6015 * lyx_cb.C (start): boost.formatify
6016 do not include <iostream>
6018 * lengthcommon.C: ws only
6020 * boost-inst.C,BoostFormat.h: add more explict instantations
6022 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6024 * lots of files: handle USE_BOOST_FORMAT
6026 2002-11-21 John Levon <levon@movementarian.org>
6028 * pspell.C: fix compile
6030 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6032 * lyxfunc.C (dispatch): use boost::format
6036 * lyxfont.C (stateText): use boost::format
6038 * lyx_main.C (LyX): use boost::format
6040 (queryUserLyXDir): ditto
6043 (typedef boost::function): use the recommened syntax.
6045 * importer.C (Import): use boost::format
6047 * debug.C (showLevel): use boost::format
6049 * converter.C (view): use boost::format
6054 * bufferview_funcs.C (currentState): use boost::format
6056 * bufferlist.C (emergencyWrite): use boost::format
6058 * buffer.C (readLyXformat2): use boost::format
6059 (parseSingleLyXformat2Token): ditto
6061 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6063 * LaTeX.C (run): use boost::format
6065 * Chktex.C (scanLogFile): use boost::format
6067 * BufferView_pimpl.C (savePosition): use boost::format
6068 (restorePosition): ditto
6069 (MenuInsertLyXFile): ditto
6071 * BoostFormat.h: help file for explicit instation.
6073 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6075 * tabular.C (latex): Support for block alignment in fixed width
6078 2002-11-17 John Levon <levon@movementarian.org>
6080 * BufferView_pimpl.C:
6082 * lyxfunc.C: split filedialog into open/save
6084 2002-11-08 Juergen Vigna <jug@sad.it>
6086 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6087 by my last patch (hopefully).
6089 2002-11-08 John Levon <levon@movementarian.org>
6098 * toc.C: ParConstIterator, and use it (from Lars)
6100 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6102 * lyxtextclass.[Ch]: revise and add doxygen comments
6104 2002-11-07 John Levon <levon@movementarian.org>
6106 * text.C: fix progress value for spellchecker
6108 * toc.C: fix navigate menu for insetwrap inside minipage
6110 * paragraph_funcs.C: added FIXME for suspect code
6112 2002-11-07 John Levon <levon@movementarian.org>
6114 * BufferView_pimpl.C: fix redrawing of insets
6117 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6119 * text2.C (updateCounters): fix bug 668
6121 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6123 * text3.C (dispatch): Do not make the buffer dirty when moving the
6126 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6128 * vc-backend.C: STRCONV
6131 * text2.C (setCounter): STRCONV
6133 * paragraph.C (asString): STRCONV
6135 * lyxlength.C (asString): STRCONV
6136 (asLatexString): ditto
6138 * lyxgluelength.C (asString): STRCONV
6139 (asLatexString): ditto
6141 * lyxfunc.C (dispatch): STRCONV
6144 * lyxfont.C (stateText): STRCONV
6146 * importer.C (Import): STRCONV
6148 * counters.C (labelItem): STRCONV
6149 (numberLabel): ditto
6150 (numberLabel): remove unused ostringstream o
6155 * bufferview_funcs.C (currentState): STRCONV
6157 * buffer.C (readFile): STRCONV
6158 (asciiParagraph): ditto
6159 (makeLaTeXFile): ditto
6161 * Spacing.C (writeEnvirBegin): STRCONV
6163 * LaTeXFeatures.C (getLanguages): STRCONV
6164 (getPackages): ditto
6166 (getBabelOptions): ditto
6167 (getTClassPreamble): ditto
6168 (getLyXSGMLEntities): ditto
6169 (getIncludedFiles): ditto
6173 (scanAuxFile): ditto
6176 * LString.h: add the STRCONV macros
6178 * BufferView_pimpl.C (savePosition): STRCONV
6179 (restorePosition): ditto
6180 (MenuInsertLyXFile): ditto
6182 * vc-backend.C (scanMaster): change from submatch[...] to
6185 * funcrequest.C: include config.h
6187 * factory.C: include config.h
6189 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6191 * box.C: include config.h
6193 * LaTeX.C (scanAuxFile): change from submatch[...] to
6197 2002-10-25 Angus Leeming <leeming@lyx.org>
6199 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6201 * ispell.[Ch] (setError): new method.
6202 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6203 Use setError() insetead of goto END.
6205 * lyx_cb.C (AutoSave): move out child process into new class
6208 2002-10-30 John Levon <levon@movementarian.org>
6210 * text3.C: make start appendix undoable
6212 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6214 * lyxlength.C (inPixels): Fix returned value.
6216 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6219 2002-10-24 Angus Leeming <leeming@lyx.org>
6221 * lyxgluelength.h: no need to forward declare BufferParams
6222 or BufferView, so don't.
6224 2002-10-21 John Levon <levon@movementarian.org>
6226 * BufferView.C: menuUndo ->undo, redo
6228 * BufferView.h: document, remove dead, make some methods private
6230 * paragraph_funcs.h:
6231 * paragraph_funcs.C:
6232 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6237 * sgml.C: move sgml open/close tag into sgml.C
6239 * bufferview_funcs.h: unused prototype
6242 * lyxfunc.C: remove unused
6245 * text.C: remove unused
6247 2002-10-21 John Levon <levon@movementarian.org>
6251 * BufferView_pimpl.h:
6252 * BufferView_pimpl.C: fix mouse wheel handling based on
6253 patch from Darren Freeman
6255 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6257 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6259 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6261 * lyxlength.C (inPixels): Fix hanfling of negative length.
6262 Fix LyXLength::MU case.
6264 2002-10-16 John Levon <levon@movementarian.org>
6266 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6268 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6270 * converter.C (view): add support for $$i (file name) and $$p
6271 (file path) for the viewer command. If $$i is not specified, then
6272 it is appended to the command (for compatibility with old syntax)
6274 2002-10-14 Juergen Vigna <jug@sad.it>
6276 * undo_funcs.C (textHandleUndo): alter the order in which the
6277 new undopar is added to the LyXText, as we have to set first
6278 the right prev/next and then add it as otherwise the rebuild of
6279 LyXText is not correct. Also reset the cursor to the right paragraph,
6280 with this IMO we could remove the hack in "redoParagraphs()".
6282 2002-10-09 Angus Leeming <leeming@lyx.org>
6284 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6285 to turn off an optimisation if a new inset is to be inserted.
6287 2002-10-11 André Pönitz <poenitz@gmx.net>
6289 * lyxtext.h: make some functions public to allow access
6290 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6292 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6294 * text3.C (dispatch): when changing layout, avoid an infinite loop
6297 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6299 * lyxrc.C (read): treat a viewer or converter command of "none" as
6302 * MenuBackend.C (expandFormats): for an update, also allow the
6303 formats that are not viewable
6305 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6306 script if it is newer than the lyxrc.defaults in user directory
6308 2002-10-07 André Pönitz <poenitz@gmx.net>
6310 * text.C: Vitaly Lipatov's small i18n fix
6312 2002-09-25 Angus Leeming <leeming@lyx.org>
6314 * ispell.h: doxygen fix.
6316 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6318 * buffer.h (readFile): Add a new argument to the method, to allow
6319 reading of old-format templates.
6321 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6323 * toc.C (getTocList): Get TOC from InsetWrap.
6325 2002-09-16 John Levon <levon@movementarian.org>
6327 * lyxfunc.C: check tabular for cut/copy too
6329 2002-09-12 John Levon <levon@movementarian.org>
6334 * factory.C: add header
6336 * paragraph_funcs.h:
6337 * paragraph_funcs.C: cleanup
6339 2002-09-11 John Levon <levon@movementarian.org>
6341 * PrinterParams.h: odd/even default to true
6343 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6345 * PrinterParams.h: update printer parameters for new xforms dialog
6347 2002-09-11 Angus Leeming <leeming@lyx.org>
6349 * lyxserver.C (read_ready): re-write to make it more transparent
6350 and to make it work in coherent fashion under Tru64 Unix.
6352 2002-09-11 André Pönitz <poenitz@gmx.net>
6356 * text3.C: implement LFUN_WORDSEL
6358 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6360 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6361 make floatlist_ a boost::shared_ptr<FloatList>
6363 * lyxtextclass.C: include FloatList.h
6364 (LyXTextClass): initialize floatlist_
6365 (TextClassTags): add TC_NOFLOAT
6366 (Read): match "nofloat" to TC_NOFLOAT and use it.
6367 (readFloat): modify call to floatlist_
6371 * FloatList.[Ch] (FloatList): remove commented out float
6373 (erase): new function
6375 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6377 * MenuBackend.C (expandToc): fix crash when there is no document
6380 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6382 * many files: Add insetwrap.
6384 2002-09-09 John Levon <levon@movementarian.org>
6386 * text2.C: remove confusing and awkward depth wraparound
6388 2002-09-09 John Levon <levon@movementarian.org>
6390 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6393 * buffer.C: remove getIncludeonlyList()
6396 * lyxfunc.C: remove headers
6398 2002-09-09 Juergen Vigna <jug@sad.it>
6400 * text.C (getColumnNearX): fix form Michael this is most
6401 probably a cut&paste bug.
6403 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6405 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6407 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6408 references, ws changes.
6410 * text2.C (init): update counters after init
6411 (insertParagraph): no need to set counter on idividual paragraphs.
6412 (setCounter): access the counters object in the textclass object
6413 on in the buffer object.
6414 (updateCounters): ditto
6416 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6417 shared_ptr<Counters> to avoid loading counters.h in all
6419 (LyXTextClass): initialize ctrs_
6420 (TextClassTags): add TC_COUNTER, and ...
6421 (Read): use it here.
6422 (CounterTags): new tags
6423 (readCounter): new function
6424 (counters): new funtion
6425 (defaultLayoutName): return a const reference
6427 * counters.C (Counters): remove contructor
6428 (newCounter): remove a couple of unneeded statements.
6429 (newCounter): simplify a bit.
6430 (numberLabel): some small formatting changes.
6432 * buffer.[Ch]: remove all traces of counters, move the Counters
6433 object to the LyXTextClass.
6435 2002-09-06 Alain Castera <castera@in2p3.fr>
6437 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6438 package to set the horizontal alignment on fixed width columns.
6441 * lyx_sty.h: added tabularnewline macro def.
6443 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6445 2002-09-06 John Levon <levon@movementarian.org>
6447 * LyXAction.C: tooltips for sub/superscript
6449 * MenuBackend.C: a bit more verbose
6451 * lyxfunc.C: tiny clean
6453 * undo_funcs.C: document undo_frozen
6455 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6457 * counters.C (Counters): add missing algorithm counter.
6459 * text2.C (setCounter): lookup the counter with layouts latexname
6460 instead of by section number.
6461 (setCounter): use a hackish way to lookup the correct enum
6463 a float name->type change
6464 reset enum couners with counter name directly instead of depth value.
6466 * counters.C (Counters): remove the push_backs, change to use the
6467 float type not the float name.
6468 (labelItem): remove unused string, float name->type change
6470 * counters.h: don't include vector, loose the enums and sects vectors
6472 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6474 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6475 (Read): add float->TC_FLOAT to textclassTags
6476 (Read): and handle it in the switch
6477 (readFloat): new function
6479 * FloatList.C (FloatList): comment out the hardcoded float
6482 * lyxlayout.h: ws change.
6484 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6486 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6488 2002-09-03 Angus Leeming <leeming@lyx.org>
6490 * BufferView_pimpl.h: qualified name is not allowed in member
6491 declaration: WorkArea & Pimpl::workarea() const;
6493 * factory.C: added using std::endl directive.
6495 * text3.C: added using std::find and std::vector directives.
6497 2002-08-29 André Pönitz <poenitz@gmx.net>
6500 * text2.C: remove unused member number_of_rows
6503 * BufferView2.C: remove file, move contents to...
6504 * BufferView.C: ... here
6506 * BufferView_pimpl.C:
6507 * factory.C: move more inset creation to factory
6509 * vspace.C: avoid direct usage of LyXText, ws changes
6512 don't provide direct access to WorkArea, use two simple
6513 acessors haveSelction() and workHeight() instead
6516 2002-08-29 John Levon <levon@movementarian.org>
6518 * BufferView_pimpl.C (dispatch): do not continue when
6521 2002-08-28 André Pönitz <poenitz@gmx.net>
6523 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6526 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6528 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6530 * buffer.C: increment LYX_FORMAT to 221
6532 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6533 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6535 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6537 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6539 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6541 * factory.C (createInset): use LyXTextClass::floats
6543 * MenuBackend.C (expandFloatListInsert):
6544 (expandFloatInsert):
6547 * text2.C (setCounter):
6549 * LaTeXFeatures.C (useFloat):
6550 (getFloatDefinitions):
6552 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6554 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6555 floatlist_, with accessor floats().
6557 * FloatList.h: remove global FloatList
6559 2002-08-26 André Pönitz <poenitz@gmx.net>
6561 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6565 * BufferView_pimpl.C:
6566 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6568 2002-08-25 John Levon <levon@movementarian.org>
6570 * LyXAction.C: fix margin note description
6572 2002-08-24 John Levon <levon@movementarian.org>
6576 * bufferview_funcs.C:
6578 * undo_funcs.C: cleanups
6580 * lyxfunc.C: disable CUT/COPY when no selection
6582 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6584 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6585 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6587 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6588 Add backward compatibility to "mono", "gray" and "no".
6590 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6592 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6593 (and file_format >= 200).
6595 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6597 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6599 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6601 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6603 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6605 * BufferView_pimpl.C:
6612 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6613 inset and code to make it work with the paragraph code. The inset
6614 can be anywhere in the paragraph, but will only do the expected
6615 thing in LaTeX if the layout file contains the parameter line
6617 (or more generally, a nonzero value) for that layout.
6619 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6621 * paragraph.h: remove the declaration of undefined counters class
6624 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6626 * text2.C (setCounter): fixed enumeration mis-count as reported by
6627 Dr. Richard Hawkins.
6629 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6631 * paragraph_funcs.h: remove some unneeded includes
6633 * text.C (backspace): pasteParagraph now in global scipe
6635 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6636 (pasteSelection): ditto
6638 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6639 * paragraph_funcs.C (pasteParagraph): ... here
6641 2002-08-20 André Pönitz <poenitz@gmx.net>
6643 * commandtags.h: new LFUNs for swapping/copying table row/colums
6646 * lyxfunc.C: support for new lfuns
6648 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6651 * buffer.[Ch]: remove NO_COMPABILITY stuff
6653 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6655 * boost.C (throw_exception): new file, with helper function for
6656 boost compiled without exceptions.
6661 * ParameterStruct.h:
6662 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6664 * bufferlist.C (emergencyWriteAll): use boost bind
6666 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6668 * text.C: include paragraph_funcs.h
6669 (breakParagraph): breakParagraph is now in global scope
6671 * paragraph_funcs.[Ch]: new files
6673 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6676 * buffer.C: include paragraph_funcs.h
6677 (insertStringAsLines): breakParagraph is now in global scope
6679 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6682 * CutAndPaste.C: include paragraph_funcs.h
6683 (cutSelection): breakParagraphConservative is now in global scope
6684 (pasteSelection): ditto
6686 * buffer.h: declare oprator== and operator!= for
6687 Buffer::inset_iterator
6689 * bufferlist.C (emergencyWrite): don't use fmt(...)
6691 * text3.C: add using std::endl
6693 * BufferView.C (moveCursorUpdate): remove default arg
6695 2002-08-20 André Pönitz <poenitz@gmx.net>
6697 * buffer.[Ch]: move inline functions to .C
6700 * BufferView_pimpl.C:
6702 * buffer.[Ch]: use improved inset_iterator
6705 * paragraph.[Ch]: write one paragraph at a time
6707 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6709 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6710 style if style is not specified.
6712 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6714 * text2.C (setCounter): when searching for right label for a
6715 caption, make sure to recurse to parent insets (so that a caption
6716 in a minipage in a figure float works) (bug #568)
6718 2002-08-20 André Pönitz <poenitz@gmx.net>
6720 * text3.C: new file for LyXText::dispatch() and helpers
6722 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6724 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6726 2002-08-19 André Pönitz <poenitz@gmx.net>
6729 * text.C: new LyXText::dispatch()
6731 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6733 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6735 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6737 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6740 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6742 * Makefile.am: use $(variables) instead of @substitutions@
6744 2002-08-15 André Pönitz <poenitz@gmx.net>
6747 * BufferView_pimpl.C: streamlining mathed <-> outer world
6751 * LyXAction.C: remove unused LFUN_MATH
6753 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6755 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6757 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6759 * paragraph.C (Paragraph): reformat a bit
6760 (cutIntoMinibuffer): use builtin InsetList function instad of
6764 * buffer.C: include boost/bind.hpp, add using std::for_each
6765 (writeFileAscii): use ParagraphList iterators
6766 (validate): use for_each for validate traversal of paragraphs
6767 (getBibkeyList): use ParagraphList iterators
6768 (resizeInsets): use for_each to resizeInsetsLyXText for all
6770 (getParFromID): use ParagraphList iterators
6772 * BufferView2.C (lockInset): use paragraph list and iterators
6774 2002-08-14 John Levon <levon@movementarian.org>
6776 * lyxserver.C: remove spurious xforms include
6778 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6780 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6782 2002-08-13 André Pönitz <poenitz@gmx.net>
6785 * lyxfunc.C: further cleaning
6787 2002-08-13 André Pönitz <poenitz@gmx.net>
6789 * funcrequest.h: new constructor
6791 * funcrequest.C: move stuff here from .h
6794 * BufferView_pimpl.C:
6797 * lyxfunc.C: subsequent changes
6799 * lyxfunc.h: new view() member function
6801 * lyxfunc.C: subsequent changes
6803 2002-08-13 Angus Leeming <leeming@lyx.org>
6806 * BufferView_pimpl.C:
6814 changes due to the changed LyXView interface that now returns references
6815 to member variables not pointers.
6817 2002-08-13 Angus Leeming <leeming@lyx.org>
6819 * WordLangTuple (word, lang_code): return references to strings,
6824 * lyxtext.h: forward-declare WordLangTuple.
6829 * text.C: #include "WordLangTuple.h".
6832 * text.C: (selectNextWordToSpellcheck): constify return type.
6834 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6840 * paragraph_pimpl.h:
6843 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6845 Made updateCounter always count from start of buffer, and removed
6846 second argument (par).
6847 Reverted floats number display to '#'. Perhaps I'll try again when the
6848 code base is sanitized a bit.
6850 2002-08-12 Angus Leeming <leeming@lyx.org>
6852 * buffer.[Ch] (getLabelList): constify.
6854 2002-08-07 André Pönitz <poenitz@gmx.net>
6856 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6858 * funcrequest.h: extension to keep mouse (x,y) position
6860 2002-08-12 Juergen Vigna <jug@sad.it>
6862 * BufferView2.C (insertErrors): forbid undo when inserting error
6865 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6867 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6869 * ParagraphList.[Ch]: new files
6871 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6873 * BufferView2.C (lockInset): ParagraphList changes
6876 * bufferlist.C: ditto
6880 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6882 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6883 unused class variable counter_,
6885 * paragraph.[Ch] (getFirstCounter): delete unused function
6887 * counters.C: include LAssert.h
6888 (reset): add a new function with no arg, change other version to
6889 not have def. arg and to not allow empty arg.
6891 * text2.C (setCounter): remove empty arg from call to Counters::reset
6893 2002-08-11 John Levon <levon@movementarian.org>
6895 * Makefile.am: add WordLangTuple.h
6897 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6899 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6900 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6902 * insets/insettext.C: InsetList changes
6904 * graphics/GraphicsSupport.C (operator()): InsetList changes
6906 * toc.C (getTocList): InsetList changes
6908 * paragraph_pimpl.[Ch]: InsetList changes
6910 * paragraph.[Ch]: InsetList changes
6912 * buffer.C (inset_iterator): InsetList changes
6913 (setParagraph): ditto
6914 * buffer.h (inset_iterator): ditto
6915 * iterators.C (operator++): ditto
6916 * iterators.h: ditto
6918 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6920 * InsetList.[Ch]: new files, most InsetList handling moved out of
6923 * BufferView2.C (removeAutoInsets): InsetList changes
6925 (ChangeInsets): ditto
6927 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6929 * paragraph_pimpl.h (empty): new function
6931 * paragraph.[Ch] (empty): new function
6933 * other files: use the new Paragraph::empty function
6935 2002-08-09 John Levon <levon@movementarian.org>
6937 * lyxtext.h: remove unused refresh_height
6939 2002-08-09 John Levon <levon@movementarian.org>
6946 * paragraph.C: move sgml char escaping out of paragraph
6949 * paragraph.C: remove id setter
6953 * paragraph_pimpl.C: remove dead tex_code_break_column
6955 * bufferview_funcs.C: small cleanup
6957 * lyxfunc.C: remove dead proto
6959 * lyxtext.h: make some stuff private. Remove some dead stuff.
6961 * lyxgluelength.C: make as[LyX]String() readable
6963 2002-08-08 John Levon <levon@movementarian.org>
6968 * ToolbarDefaults.C:
6971 * toc.C: lyxaction cleanup
6973 2002-08-08 John Levon <levon@movementarian.org>
6975 * BufferView2.C: small cleanup
6978 * lyxfind.C: move unnecessary header into the .C
6980 2002-08-08 John Levon <levon@movementarian.org>
6982 * funcrequest.h: just tedious nonsense
6985 * lyx_main.C: cleanups
6988 * vspace.C: remove dead header lyx_main.h
6990 2002-08-07 Angus Leeming <leeming@lyx.org>
6993 * paragraph_pimpl.h:
6994 Forward declare class Counters in paragraph.h by moving the ctrs member
6995 variable into Paragraph::Pimpl.
6996 (counters): new method, returning a reference to pimpl_->ctrs.
6998 * text2.C: ensuing changes.
7000 2002-08-07 John Levon <levon@movementarian.org>
7002 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7004 * BufferView_pimpl.C: announce X selection on double/triple
7007 * lyx_main.C: use correct bool in batch dispatch
7009 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7011 2002-08-07 André Pönitz <poenitz@gmx.net>
7013 * funcrequest.h: new class to wrap a kb_action and its argument
7016 * BufferView_pimpl[Ch]:
7020 * lyxrc.C: subsequent changes
7023 2002-08-07 John Levon <levon@movementarian.org>
7025 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7026 document options change.
7028 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7033 * makefile.am: move counters functionality over from
7034 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7036 2002-08-06 John Levon <levon@movementarian.org>
7038 * WordLangTuple.h: new file for word + language code tuple
7049 * BufferView2.C: use WordLangTuple
7052 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7054 2002-08-06 John Levon <levon@movementarian.org>
7056 * lyx_main.C: fix cmdline batch handling
7058 2002-08-06 André Pönitz <poenitz@gmx.net>
7060 * lyxrc.C: set default for show_banner to true
7062 2002-08-06 John Levon <levon@movementarian.org>
7064 * pspell.C: fix a crash, and allow new aspell to work
7066 2002-08-06 John Levon <levon@movementarian.org>
7069 * kbmap.C: small cleanup
7072 * vspace.C: add const
7074 2002-08-05 John Levon <levon@movementarian.org>
7076 * LyXAction.C: back to tabular-insert
7078 2002-08-04 John Levon <levon@movementarian.org>
7081 * BufferView.C: cosmetic change
7083 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7093 * BufferView2.C: purge all "Lyx" not "LyX" strings
7096 * lyxcursor.C: attempt to add some documentation
7101 * ToolbarDefaults.C:
7102 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7103 merge with LFUN_TABULAR_INSERT
7110 * pspell.C: split up i/pspell implementations into separate
7111 files, many cleanups
7113 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7115 * text2.C: some cleanup
7117 * lyxfunc.C: don't check for isp_command == "none" any more, it
7118 didn't make any sense
7120 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7125 * makefile.am: move counters functionality over
7126 from text2.C/paragraph.[Ch] to counters.[Ch], and
7128 2002-08-02 John Levon <levon@movementarian.org>
7130 * buffer.C: s/lyxconvert/lyx2lyx/
7132 2002-08-02 Angus Leeming <leeming@lyx.org>
7134 * lyxlex.C: revert John's change as it breaks reading of the user
7137 2002-08-02 Angus Leeming <leeming@lyx.org>
7139 * importer.C (Import):
7140 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7141 changes due to LyXView::view() now returning a boost::shared_ptr.
7143 2002-08-02 John Levon <levon@movementarian.org>
7145 * lyxlex.C: small cleanup
7147 2002-08-02 John Levon <levon@movementarian.org>
7149 * text2.C (status): small cleanup, no logic change
7151 2002-08-01 John Levon <levon@movementarian.org>
7154 * buffer.C (writeFile): don't output alerts, caller
7158 * lyx_cb.C: from above
7160 * lyxfunc.C: allow to open non-existent files
7162 2002-07-31 John Levon <levon@movementarian.org>
7164 * lyxserver.C: don't let incidental errors get
7167 2002-07-30 John Levon <levon@movementarian.org>
7169 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7171 2002-07-30 John Levon <levon@movementarian.org>
7174 * lyxserver.C: remove I/O callback too
7176 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7178 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7181 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7183 * many files: strip,frontStrip -> trim,ltrim,rtrim
7185 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7187 * PrinterParams.h: remove extern containsOnly, and include
7188 support/lstrings.h instead.
7190 * LaTeX.C (scanAuxFile): modify because of strip changes
7192 * buffer.C (makeLaTeXFile): ditto
7193 * bufferparams.C (writeFile): ditt
7194 * lyxfont.C (stateText): ditto
7195 * lyxserver.C (read_ready): ditto
7196 * vc-backend.C (scanMaster): ditto
7198 * BufferView_pimpl.h: ws changes
7200 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7202 2002-07-26 André Pönitz <poenitz@gmx.net>
7204 * kb_sequence.C: remove unnedred usings
7206 2002-07-26 Juergen Vigna <jug@sad.it>
7208 * lyxfind.C (LyXReplace): we have to check better if the returned
7209 text is not of theLockingInset()->getLockingInset().
7211 2002-07-25 Juergen Vigna <jug@sad.it>
7213 * lyxfind.C (LyXReplace): don't replace if we don't get the
7216 * undo_funcs.C (createUndo): remove debugging code.
7218 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7220 * buffer.C (parseSingleLyXformat2Token): Use default placement
7221 when reading old floats.
7223 * FloatList.C (FloatList): Change the default placement of figure
7224 and tables to "tbp".
7226 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7228 * MenuBackend.C: using std::max
7230 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7232 * MenuBackend.C (expandToc):
7233 (expandToc2): code moved from xforms menu frontend. It is now
7234 generic and TOCs are transparent to menu frontends.
7236 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7238 * toc.C (getTocList): protect against buf=0
7240 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7241 Menu as first parameter. Now, this calls itself recursively to
7242 expand a whole tree (this will be useful for TOC handling)
7243 (expandFloatInsert): remove 'wide' version of floats
7245 * MenuBackend.h (submenuname): returns the name of the submenu.
7246 (submenu): returns the submenu itself, provided it has been
7247 created by MenuBackend::expand
7249 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7251 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7252 insets which have noFontChange == true. (bug #172)
7254 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7256 * BufferView_pimpl.C: add connection objects and use them...
7259 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7261 * MenuBackend.C (expandLastfiles):
7264 (expandFloatListInsert):
7265 (expandFloatInsert):
7266 (expand): split expand in parts
7268 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7270 * lyx_gui.C: use lyx_gui::exit()
7272 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7274 * LyXAction.C: show the failing pseudo action
7276 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7278 * buffer.C (readFile): Run the lyxconvert script in order to read
7281 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7285 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7287 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7291 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7293 2002-07-22 Herbert Voss <voss@lyx.org>
7296 * lyxlength.[Ch]: add support for the vertical lengths
7298 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7300 * toc.[Ch]: std:: fixes
7302 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7304 * lyxrc.C: do not include lyx_main.h
7306 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7312 * BufferView2.C: include "lyxlex.h"
7315 * bufferparams.h: do not #include "lyxlex.h"
7317 * lyxtextclasslist.C (Add): remove method
7318 (classlist): renamed to classlist_
7320 * paragraph_pimpl.C:
7324 * bufferview_funcs.C:
7329 * toc.C (getTocList): use BufferParams::getLyXTextClass
7331 * toc.C (getTocList): use InsetFloat::addToToc
7333 * toc.[Ch]: new files, containing helper functions to handle table
7336 * lyxfunc.C (dispatch): no need to remove spaces around command
7338 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7339 first command of the sequence; it is not very clever, but I do not
7340 have a better idea, actually
7342 * LyXAction.C (LookupFunc): make sure to remove space at the
7343 beginning and end of the command
7345 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7347 * MenuBackend.C (getMenubar): new method: return the menubar of
7349 (read): treat differently reading of menu and menubar (in
7350 particular, the menubar has no name now)
7351 (Menu::menubar): remove
7353 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7356 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7358 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7359 a bibitem inset in a RTL paragraph.
7361 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7363 * paragraph_pimpl.C: constify
7365 * BufferView_pimpl.C:
7367 * lyxfunc.C: fix dispatch in a nicer way
7369 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7371 * lyxfunc.C (dispatch):
7372 * BufferView_pimpl.C:
7373 * BufferView_pimpl.h:
7375 * BufferView.h: rename Dispatch() to dispatch()
7377 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7379 * lyxlayout.C (Read): honor DependsOn tag
7381 * lyxlayout.[Ch] (depends_on): new method
7383 * version.C.in: update lyx_docversion
7385 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7387 * paragraph.C (validate): remove from here...
7388 * paragraph_pimpl.C (validate): ... and move here
7389 (isTextAt): make it const
7391 * buffer.C (getLists): ws cleanup
7393 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7395 * language.C (read): Use iso8859-1 encoding in latex_lang
7396 (this prevents LyX from crashing when using iso10646-1 encoding).
7398 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7400 * text2.C (toggleInset): if cursor is inside an inset, close the
7401 inset and leave cursor _after_ it
7403 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7405 * lyxfunc.C: move minibuffer completion handling out of here
7407 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7409 * BufferView_pimpl.C:
7410 * LaTeX.C: fix dispatch calls
7412 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7414 * text.C (drawChars): Fix Arabic text rendering.
7416 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7420 * lyxfunc.C: remove message-push/pop
7424 * lyxfunc.C: rationalise some code by removing verboseDispatch
7425 in favour of a bool argument to dispatch()
7427 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7429 * lyx_main.C (init): make sure to read symlinks as absolute paths
7431 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7434 * lyxfunc.C: no need for commandshortcut to be a member
7436 2002-07-15 André Pönitz <poenitz@gmx.net>
7438 * converter.C: add support for $$s (scripts from lib/scripts dir)
7439 * lyx_main.C: white space
7441 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7445 * lyxrc.C: remove second exit confirmation
7447 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7452 * BufferView_pimpl.h:
7453 * BufferView_pimpl.C:
7454 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7456 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7458 * MenuBackend.C (expand): add numeric shortcuts to document menu
7460 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7462 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7464 * lyxfont.C (setLyXFamily):
7471 * buffer.C (asciiParagraph): use ascii_lowercase
7473 2002-07-15 Mike Fabian <mfabian@suse.de>
7475 * lyxlex_pimpl.C (search_kw):
7476 * lyxlex.C (getLongString):
7477 * converter.h (operator<):
7478 * converter.C (operator<):
7479 * buffer.C (parseSingleLyXformat2Token):
7481 * ToolbarDefaults.C (read):
7482 * MenuBackend.C (checkShortcuts):
7484 * LColor.C (getFromGUIName):
7485 (getFromLyXName): use the compare_ascii_no_case instead of
7486 compare_no_case, because in turkish, 'i' is not the lowercase
7487 version of 'I', and thus turkish locale breaks parsing of tags.
7489 2002-07-16 Angus Leeming <leeming@lyx.org>
7491 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7492 now takes a Buffer const & argument.
7494 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7496 * BufferView.C (resize): check there's a buffer to resize
7498 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7500 * lyxfunc.C: remove dead code
7503 * lyxserver.C: use lyx_guii::set_read_callback
7505 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7507 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7508 an inset in a RTL paragraph.
7510 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7512 * lyxfunc.C: repaint after a font size update
7514 2002-07-15 André Pönitz <poenitz@gmx.net>
7516 * lyxlength.C: inBP should be able to return negative values
7518 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7520 * lyxfunc.C: use lyx_gui::update_fonts()
7522 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7524 * lyxfunc.C: use lyx_gui::update_color()
7526 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7532 * lyxrc.C: remove file->new asks for name option, and let
7533 buffer-new take an argument
7535 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7537 * BufferView_pimpl.C: remove unneeded extra repaint()
7539 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7541 * LyXAction.C: allow command-sequence with NoBuffer
7543 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7545 2002-07-10 Angus Leeming <leeming@lyx.org>
7547 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7549 2002-07-09 Angus Leeming <leeming@lyx.org>
7551 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7553 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7555 * lengthcommon.h: whitespace
7557 * lyxfunc.C: update scrollbar after goto paragraph
7559 * lyxtext.h: factor out page break drawing, and fix it so
7560 page break/added space paints as selected nicely
7562 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7564 * BufferView_pimpl.C: add FIXMEs, clean up a little
7566 2002-07-09 André Pönitz <poenitz@gmx.net>
7568 * lyxfont.[Ch]: support for wasy symbols
7570 2002-07-08 André Pönitz <poenitz@gmx.net>
7572 * BufferView_pimpl.C: apply John's patch for #93.
7574 2002-07-05 Angus Leeming <leeming@lyx.org>
7576 * BufferView_pimpl.C (buffer): generate previews if desired.
7578 * LColor.h: add "preview" to the color enum.
7580 * LColor.C (LColor): add a corresponding entry to the items array.
7582 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7585 2002-07-05 Angus Leeming <leeming@lyx.org>
7587 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7588 The body of the code is now in the method that is passed an ostream &
7589 rather than a file name.
7590 Pass an additional only_preamble parameter, useful for the forthcoming
7593 2002-07-03 André Pönitz <poenitz@gmx.net>
7595 * lyxfunc.C: simplify getStatus() a bit for math stuff
7597 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7599 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7601 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7603 * text.C (changeRegionCase): do not change case of all the
7604 document when region ends at paragraph end (bug #461)
7606 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7608 * paragraph.C (startTeXParParams):
7609 (endTeXParParams): add \protect when necessary
7611 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7613 * BufferView_pimpl.C (workAreaExpose): remove warning
7615 2002-06-27 Angus Leeming <leeming@lyx.org>
7617 * Makefile.am: add lyxlayout_ptr_fwd.h.
7619 2002-06-26 André Pönitz <poenitz@gmx.net>
7621 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7623 2002-06-25 Angus Leeming <leeming@lyx.org>
7625 * lyxfunc.C (dispatch): Comment out the call to
7626 grfx::GCache::changeDisplay. The method no longer exists now that the
7627 pixmap generation part of the graphics loader has been moved into
7630 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7632 * text2.C: layout as layout
7634 * text.C: layout as layout
7636 * tabular.C (OldFormatRead): layout as layout
7638 * paragraph_pimpl.C (TeXDeeper): layout as layout
7639 (realizeFont): layout as layout
7641 * paragraph.C (writeFile): layout as layout
7642 (validate): layout as layout
7643 (getFont): layout as layout
7644 (getLabelFont): layout as layout
7645 (getLayoutFont): layout as layout
7646 (breakParagraph): layout as layout
7647 (stripLeadingSpaces): layout as layout
7648 (getEndLabel): layout as layout
7649 (getMaxDepthAfter): layout as layout
7650 (applyLayout): layout as layout
7651 (TeXOnePar): layout as layout
7652 (simpleTeXOnePar): layout as layout
7653 (TeXEnvironment): layout as layout
7654 (layout): layout as layout
7655 (layout): layout as layout
7657 * lyxtextclass.C (compare_name): new functor to work with
7658 shared_ptr, layout as layout
7659 (Read): layout as layout
7660 (hasLayout): layout as layout
7661 (operator): layout as layout
7662 (delete_layout): layout as layout
7663 (defaultLayout): layout as layout
7665 * lyxlayout_ptr_fwd.h: new file
7667 * lyxlayout.C (Read): layout as layout
7669 * lyx_cb.C (MenuInsertLabel): layout as layout
7671 * bufferlist.C (newFile): layout as layout
7673 * buffer.C (readLyXformat2): layout as layout
7674 (parseSingleLyXformat2Token): layout as layout
7675 (insertStringAsLines): layout as layout
7676 (asciiParagraph): layout as layout
7677 (latexParagraphs): layout as layout
7678 (makeLinuxDocFile): layout as layout
7679 (simpleLinuxDocOnePar): layout as layout
7680 (makeDocBookFile): layout as layout
7681 (simpleDocBookOnePar): layout as layout
7682 (getLists): layout as layout
7684 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7686 * CutAndPaste.C (cutSelection): layout as layout
7687 (pasteSelection): layout as layout
7688 (SwitchLayoutsBetweenClasses): layout as layout
7690 * BufferView_pimpl.C (Dispatch): layout as layout
7691 (smartQuote): layout as layout
7693 * BufferView2.C (unlockInset): layout as layout
7695 2002-06-24 André Pönitz <poenitz@gmx.net>
7697 * lyxfunc.C: fix #487
7699 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7703 * lyxfunc.C: remove display_shortcuts, show_banner
7705 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7707 * Buffer_pimpl.C: oops, update on resize
7709 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7716 * BufferView.C: use repaint()
7718 * BufferView_pimpl.h:
7719 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7720 as it's a clearer description. Remove superfluous
7723 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7725 * text.C: fix bug 488. Not ideal, but getting
7726 getWord() to work properly for the insets that
7727 matter is more difficult ...
7729 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7731 * BufferView_pimpl.C:
7734 * lyxfunc.C: remove the six million index lyxfuncs to just
7735 one, and DTRT (bug 458)
7737 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7741 * BufferView_pimpl.h:
7742 * BufferView_pimpl.C: clean up resize() stuff,
7743 and unnecessary updateScreen()s
7745 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7749 * BufferView_pimpl.h:
7750 * BufferView_pimpl.C:
7753 * minibuffer.C: remove focus management of workarea,
7754 not needed. Use screen's greyOut()
7756 2002-06-17 Herbert Voss <voss@lyx.org>
7758 * converter.C: (convert) do not post a message, when converting
7759 fails, let the calling function decide what to do in this case
7761 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7763 * lyxfunc.C: tidy up a little
7765 2002-06-16 <alstrup@diku.dk>
7767 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7768 Got rid of FORMS_H_LOCATION include. Now we are
7771 2002-06-15 LyX Development team <lyx@rilke>
7773 * buffer.[Ch] (sgmlOpenTag):
7774 (sgmlCloseTag): Added support for avoiding pernicious mixed
7775 content. Return number of lines written.
7778 (makeDocBookFile): Fixed calls to sgml*Tag.
7779 Simple white space clean.
7781 (simpleDocBookOnePar): Simple white space clean.
7783 * tabular.[Ch] (docBook): Renamed to docbook and got another
7784 argument to related with the pernicious mixed content.
7786 (docbookRow): Fixed calls for docbook inset method.
7788 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7790 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7791 so it's X11 independent.
7795 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7797 2002-06-15 Lyx Development team <lyx@electronia>
7799 * intl.h: Renamed getTrans to getTransManager.
7801 2002-06-14 Angus Leeming <leeming@lyx.org>
7803 * Makefile.am: nuke forgotten stl_string_fwd.h.
7805 2002-06-12 Angus Leeming <leeming@lyx.org>
7807 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7809 2002-06-13 Angus Leeming <leeming@lyx.org>
7812 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7814 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7816 * kbmap.C (getiso): add support for cyrillic and greek
7818 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7822 * BufferView_pimpl.h:
7823 * BufferView_pimpl.C: move bogus scrolling logic
7826 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7829 * BufferView_pimpl.C: view->resize() change
7831 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7833 * BufferView_pimpl.C: topCursorVisible
7836 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7840 * lyx_gui.C: move to frontends/
7844 * lyx_main.C: changes from above
7846 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7853 * lyx_main.C: minor tidy
7855 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7857 * BufferView_pimpl.h:
7858 * BufferView_pimpl.C:
7860 * BufferView.C: make painter() const,
7863 * BufferView2.C: use screen() accessor
7866 * lyx_main.C: some minor cleanup
7868 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7870 * BufferView_pimpl.h:
7871 * BufferView_pimpl.C: remove enter/leaveView,
7874 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7879 * BufferView_pimpl.h:
7880 * BufferView_pimpl.C: only construct screen once,
7883 * lyxrc.C: remove pointless comment
7885 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7888 * BufferView.C: remove active() and belowMouse()
7890 * BufferView_pimpl.h:
7891 * BufferView_pimpl.C: use workarea() not workarea_,
7892 and make it use a scoped_ptr instead
7894 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7896 * lyx_gui.C: add debug message on BadWindow
7898 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7900 * sp_spell.C: fdopen is not part of the C++ standard.
7902 * paragraph.C (InsetIterator): use >= instead of ==
7904 2002-06-07 Angus Leeming <leeming@lyx.org>
7906 Fixes needed to compile with Compaq cxx 6.5.
7907 * BufferView_pimpl.C:
7914 * lyxtextclasslist.C:
7919 all c-library variables have been moved into namespace std. Wrap
7920 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7925 Add a using std::abs declaration.
7927 * kbmap.h (modifier_pair):
7928 * paragraph.h (InsetTable, InsetList):
7929 * lyxfont.h (FontBits):
7930 type definition made public.
7932 * bufferlist.C (emergencyWriteAll): the compiler complains that
7933 there is more than one possible lyx::class_fun template to choose from.
7934 I re-named the void specialisation as lyx::void_class_fun.
7936 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7938 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7939 the compiler is is unable to find tostr in write_attribute.
7941 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7943 * buffer.C (sgmlError): hide #warning
7945 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7947 * xtl/*: get rid of xtl, which is not in use anyway
7949 * LyXAction.C (init):
7950 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7951 were unimplemented xtl experimentation
7953 2002-06-04 André Pönitz <poenitz@gmx.net>
7955 * lyxfunc.C: disable array operation on simple formulae
7957 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7959 * converter.C: constify a bit
7961 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7963 * lyx_gui.C: check xforms version correctly
7965 2002-04-30 Herbert Voss <voss@lyx.org>
7967 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7970 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7972 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7973 attempt to register it with a VCS)
7975 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7977 * lyx_main.C (init): honor variables LYX_DIR_13x and
7980 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7984 * lyx_main.C: fix a crash on bad command line,
7985 and give a useful exit status on error
7987 * lyxfunc.C (doImport): allow -i lyx to work
7989 2002-03-30 André Pönitz <poenitz@gmx.net>
7991 * lyxfunc.C: mathed font changes
7993 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8008 * trans_mgr.h: srcdocs, and some minor cleanups
8010 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8012 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8013 call getFont all the time)
8015 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8017 * switch from SigC signals to boost::signals
8019 2002-05-29 André Pönitz <poenitz@gmx.net>
8021 * paragraph_pimpl.C (getChar): don't call size() too often...
8023 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8025 * paragraph_pimpl.C (insertChar): do not try to update tables when
8026 appending (pos == size())
8028 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8029 in order to reduce drastically the number of comparisons needed to
8030 parse a large document
8032 2002-05-29 André Pönitz <poenitz@gmx.net>
8038 * textclasslist.[Ch]:
8039 * sp_ispell.h: whitespace change
8041 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8043 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8044 lyxaction directly now.
8046 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8050 * lyxvc.C: remove unused headers
8052 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8059 * undo_funcs.C: some cleanups. Use shared_ptr
8060 and a template for the undo stacks.
8062 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8064 * BufferView_pimpl.h:
8065 * BufferView_pimpl.C:
8072 * text2.C: use key_state/mouse_state
8074 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8076 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8079 * chset.C: change include order
8080 (loadFile): use boost regex and get rid of LRegex and LSubstring
8082 * Makefile.am (BOOST_LIBS): new variable
8085 * LaTeX.C: change include order.
8086 (scanAuxFile): use boost regex and get rid of LRegex and
8090 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8095 * FontInfo.C: moved to frontends/xforms/
8098 * FontLoader.C: moved into frontends for GUIIzation
8103 * lyxfunc.C: changes from above
8105 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8107 * LColor.C: remove spurious X include
8109 * BufferView_pimpl.C:
8114 * text2.C: move font metrics to frontends/
8116 2002-05-24 Juergen Vigna <jug@sad.it>
8118 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8119 setting the undo_cursor.
8121 * ParagraphParameters.h: include local includes first.
8123 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8125 * BufferView_pimpl.C:
8126 * BufferView_pimpl.h:
8130 * screen.C: move WorkArea into frontends/
8136 * BufferView2.C: move LyXScreen into frontends/
8140 * lyx_gui.C: move lyxlookup into frontends/xforms/
8142 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8145 * BufferView_pimpl.C:
8155 * bufferview_funcs.C:
8168 * vc-backend.C: move LyX/XFormsView into frontends/
8170 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8182 * text2.C: move Painter to frontends/
8184 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8186 * buffer.C: comment out some some code that depend upon lyx_format
8189 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8190 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8192 * buffer.h (NO_COMPABILITY): turn off compability
8194 * ColorHandler.C: include scoped_array.hpp
8196 * font.C: Use more specific smart_ptr header.
8199 * ShareContainer.h: ditto
8203 * BufferView_pimpl.h: ditto
8204 * ColorHandler.h: ditto
8206 * kbmap.C (defkey): change call to shared_ptr::reset
8208 2002-05-21 Juergen Vigna <jug@sad.it>
8210 * buffer.C (insertErtContents): fix to insert ert asis if it is
8211 non empty. Skip it completely if it contains only whitespaces.
8213 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8215 * BufferView_pimpl.C:
8216 * BufferView2.C: clear selection on paste (bug 393)
8218 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8220 * DepTable.C: include ctime
8222 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8224 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8226 2002-05-14 Juergen Vigna <jug@sad.it>
8228 * text.C (breakParagraph): fixed function to honor the keepempty
8229 layout in the right maner and also to permit the right breaking
8230 algorithm on empty or non empyt keepempty paragraphs.
8232 * paragraph.C (breakParagraph): we have to check also if the par
8233 is really empty (!size()) for isempty otherwise we do the wrong
8236 2002-05-10 Juergen Vigna <jug@sad.it>
8238 * buffer.[Ch] : The following are only changes to the ert
8239 compatibility read reading old LaTeX layout and font stuff and
8240 convert it to ERTInsets.
8242 * buffer.h: added isErtInset().
8244 * buffer.C (struct ErtComp): add a fromlayout bool to check
8245 if we're inside a LaTeX layout.
8246 (isErtInset): new helper function.
8247 (insertErtContents): look for other ert insets before this one
8248 and insert the contents there, so that we don't have subsequent
8249 ERT insets with nothing between them. This way we create only one
8250 inset with multiple paragraphs. Also check if we don't insert only
8251 spaces ' ' as they are ignored anyway afterwards in the .tex file
8252 so if we have only spaces we will ignore this latex part in the
8254 (parseSingleLyXformat2Token \\layout): better compatibility when
8255 reading layout-latex stuff.
8256 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8258 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8259 stuff after reading the inset only get the information back from
8262 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8264 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8266 * LaTeXFeatures.C (getBabelOptions): New method.
8268 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8270 * BufferView_pimpl.C (Dispatch): work around missing argument for
8273 2002-05-08 Juergen Vigna <jug@sad.it>
8275 * text.C (leftMargin): handle paragraph leftindent.
8277 * paragraph.C (writeFile): write the new \\leftindent tag.
8278 (validate): handle leftindent code.
8279 (TeXEnvironment): handle paragraphleftindent code again.
8281 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8283 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8284 for paragrap_extra indent code and new token \\leftindent.
8285 (latexParagraphs): handle the leftindent as environment.
8287 * ParameterStruct.h: added leftindent support.
8289 * ParagraphParameters.C (leftIndent): added support functions for
8290 the paragraph left indent.
8292 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8295 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8297 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8300 * text.C (computeBidiTables): No bidi in insetERT.
8302 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8305 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8307 * version.C.in: pre 5
8309 2002-05-02 José Matos <jamatos@fep.up.pt>
8310 * buffer.C (makeDocBookFile): white space changes, add newline to
8312 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8314 * tabular.C (docBook): fix typo.
8316 2002-05-03 Juergen Vigna <jug@sad.it>
8318 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8319 change in LyXText as we can not be sure it was not freed.
8320 (drawOneRow): remove unused code.
8322 * text.C (drawInset): redo the calculation of the need_break_row as
8323 it could have a row which was already freed.
8324 (draw): look at the return value of drawInset and return false if
8325 it also returned false.
8326 (paintRowText): look at the return value of draw and return false if
8327 it also returned false.
8329 * lyxtext.h: added bool return type to drawInset() and draw() so that
8330 if we have a change in the row so that the rowbreak has to be redone
8331 we abort drawing as it will be called again.
8333 2002-05-02 Juergen Vigna <jug@sad.it>
8335 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8336 a change in the maintext also if we're inside an inset.
8337 (Dispatch): set the cursor again after a break line and after the
8338 screen has been updated as it could be we're in a different row.
8340 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8341 to set the cursor behind the pargraph with > size().
8342 (setCursor): check also for the same paragraph when checking where
8343 to put the cursor if we have a NFR inset.
8345 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8346 parts of layout read further up as it still was in the wrong
8349 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8351 * screen.C (drawFromTo): change sine fullRebreak always return
8354 * buffer.C (parseSingleLyXformat2Token): reindent some
8356 * BufferView_pimpl.C (update): change since fullRebreak always
8358 (Dispatch): git rid of the last hardcoded "Standard"s.
8360 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8362 * text2.[Ch] (fullRebreak): make it return void now that we always
8365 2002-04-30 Juergen Vigna <jug@sad.it>
8367 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8368 ert compatibility check for "latex" layout.
8370 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8372 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8373 minipages: use col% instead of p%, and also use the current font.
8374 (makeLaTeXFile): Fix use babel condition.
8375 (parseSingleLyXformat2Token): Correct font when reading old floats.
8377 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8379 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8380 inserting list of floats.
8382 2002-04-25 Herbert Voss <voss@lyx.org>
8384 * MenuBackend.C (expand): don't add the graphics extensions to the
8387 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8389 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8390 non-existing layout, do not complain if it was the default layout
8391 of the original class (bug #342)
8393 2002-04-24 Juergen Vigna <jug@sad.it>
8395 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8396 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8398 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8400 * buffer.C (getBibkeyList): If using \bibliography, return the
8401 option field with the reference itself. Enables us to provide natbib
8402 support when using \bibliography.
8404 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8406 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8408 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8409 natbib is provided by the LaTeX class.
8411 2002-04-23 Juergen Vigna <jug@sad.it>
8413 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8416 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8418 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8420 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8422 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8423 ensuremath around textordmasculine, textordfeminine and
8426 2002-04-19 Juergen Vigna <jug@sad.it>
8428 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8429 reinitializing the buffer otherwise row-dimensions may be wrong.
8430 (update): reset also the selection cursors if they do exits otherwise
8431 their x/y positions may be wrong.
8433 * text2.C (cursorDown): don't enter the inset if we came from a row
8434 above and are one row over the inset.
8436 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8437 really leaving an inset.
8439 2002-04-18 Juergen Vigna <jug@sad.it>
8441 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8442 of the selected paragraph does not have the selected layout also if
8445 * text2.C (setLayout): fixed bug which did not change last selected
8448 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8449 changed the read and substituted \\end_float with \\end_inset!
8451 * BufferView_pimpl.C (cursorPrevious):
8452 (cursorNext): fixed to make it work with rows heigher than the work
8453 area without moving the cursor only the draw of the row.
8454 (workAreaMotionNotify): fix jumping over high rows.
8456 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8458 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8461 2002-04-16 Juergen Vigna <jug@sad.it>
8463 * text2.C (setCursor): set also the irow().
8464 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8466 (cursorDown): support for locking an inset if the x_fix value goes
8467 inside it. That way I can transverse insets too with cursor up/down.
8469 * lyxrow.h: added irow helper function same as other (i) functions.
8471 * BufferView_pimpl.C (cursorPrevious):
8472 (cursorNext): fixed for insets!
8474 2002-04-15 Juergen Vigna <jug@sad.it>
8476 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8477 position otherwise it is wrong in some cases.
8479 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8480 inside the inset before the call.
8482 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8484 * buffer.[Ch] (getBibkeyList): make it const.
8486 2002-04-12 Juergen Vigna <jug@sad.it>
8488 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8490 * text2.C (getCursorX): new helper function
8491 (setCursor): compute also ix_
8492 (setCursorFromCoordinates): set also ix.
8494 * lyxcursor.h: added ix_ and helper functions.
8496 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8498 * buffer.C (insertStringAsLines): dont break paragraph if the this
8499 paragraph is inside an inset which does not permit it!
8501 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8502 also with no chars on this paragraph.
8503 (paintRowText): only paint stuff if it's inside the workarea!
8505 * paragraph.C (breakParagraph): honor keepempty flag and break the
8506 paragraph always below not above.
8508 * BufferView2.C (unlockInset): update the paragraph layout on inset
8509 unlock as we changed paragraph in such a case.
8511 * lyxfind.C (LyXFind): clear the former selection if not found!
8513 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8514 again called in insertChar().
8516 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8517 an inset which uses the whole row!
8518 (rightMargin): ditto.
8519 (insertChar): force a rebreak if we inserted an inset!
8521 2002-03-28 Herbert Voss <voss@lyx.org>
8523 * lyxlength.[Ch]: add inBP() to get the right PS-point
8524 units (BigPoint). With inPixels we have rounding errors
8526 2002-04-11 Juergen Vigna <jug@sad.it>
8528 * text2.C (setCursorFromCoordinates): set iy to the right value.
8529 (setCursor): add check if row->previous exists!
8531 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8532 an old float_type as this was the case in the old code!
8534 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8536 * BufferView2.C (showLockedInsetCursor): use iy
8537 (fitLockedInsetCursor): ditto
8539 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8540 locked insets as there we have the right value now.
8542 * lyxcursor.C: added iy_ variable and iy functions to set to the
8543 baseline of cursor-y of the locked inset.
8545 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8546 (setCursor): fixed for insets which need a full row.
8548 * text.C (rowLastPrintable): don't ignore the last space when before
8549 an inset which needs a full row.
8550 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8551 as last character of a row when before a inset which needs a full row.
8553 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8555 * version.C.in: update date
8557 * text2.C (fullRebreak): try to always return true and see what
8560 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8562 * MenuBackend.C (expand): use Floating::listName
8564 * FloatList.C (FloatList): add listName argument to the built-in
8567 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8568 text associated with the float.
8570 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8572 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8574 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8576 * ShareContainer.h: add a couple of missing typenames.
8578 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8580 * lyxrc.C (getDescription): use _() correctly rather than N_().
8582 2002-03-28 Herbert Voss <voss@lyx.org>
8584 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8585 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8587 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8589 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8590 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8592 2002-03-29 Juergen Vigna <jug@sad.it>
8594 * lyxfunc.C (dispatch): add a missing fitCursor call.
8596 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8597 it was scrolled by a cursor move, so return the bool status.
8599 * BufferView.C (fitCursor): return the bool flag also to the outside
8600 world as this is needed.
8602 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8604 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8605 call the edit() as it is not needed (and wrong) IMO.
8606 (workAreaButtonPress): set the screen_first variable before evt.
8607 unlock the inset as this may change screen_first and then we have
8608 a wrong y position for the click!
8610 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8612 * MenuBackend.C (expand): another translation that I missed
8614 2002-03-28 Juergen Vigna <jug@sad.it>
8616 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8618 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8620 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8622 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8624 * MenuBackend.C (expand): fix export/view/update when there is no
8627 2002-03-27 Herbert Voss <voss@lyx.org>
8629 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8632 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8634 * bufferview_funcs.C (currentState): only show paragraph number
8635 for is DEVEL_VERSION is set.
8637 * lyxfunc.C (dispatch): put warning in INFO channel
8639 * MenuBackend.C (expand): translate the name of floats
8641 * FloatList.C (FloatList): mark the float names for translation
8643 * converter.C (convert): use LibScriptSearch
8645 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8647 * MenuBackend.C (defaults): fix default menu (we might as well get
8650 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8652 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8655 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8657 * lyxvc.C: reorder includes.
8659 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8661 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8664 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8666 * CutAndPaste.C: change layouts earlier on paste
8667 to avoid crashing when calling getFont()
8669 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8671 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8674 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8676 * WorkArea.C: remove 'Pending' debug message.
8678 * most files: ws cleanup
8680 * buffer.[Ch]: ws changes
8682 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8684 2002-03-21 Juergen Vigna <jug@sad.it>
8686 * tabular.C (SetMultiColumn): collapse also the contents of the
8687 cells and set the last border right. Added a Buffer const * param.
8689 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8691 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8694 2002-03-19 Juergen Vigna <jug@sad.it>
8696 * text2.C (clearSelection): reset also xsel_cache.
8698 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8699 where it needs to be called (John tells us to do so too :)
8700 (selectionLost): reset sel_cache.
8702 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8704 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8706 * text2.C (setCursorIntern): put debuging code in INSETS channel
8708 2002-03-19 André Pönitz <poenitz@gmx.net>
8710 * lyxfunc.C: tiny whitespace change
8712 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8714 * ToolbarDefaults.C (init):
8715 * LyXAction.C (init):
8717 * BufferView_pimpl.C (Dispatch):
8718 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8720 2002-03-19 Allan Rae <rae@lyx.org>
8722 * exporter.C (Export): removeAutoInsets before doing anything else.
8723 While I've just introduced a dependency on BufferView this really is
8724 the best place to clean the buffer otherwise you need to cleanup in
8725 a dozen places before calling export or cleanup in a dozen functions
8728 * converter.C (runLaTeX):
8729 (scanLog): Better handling of removeAutoInsets and screen updates.
8731 * lyxfunc.C (dispatch): small whitespace changes
8733 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8735 * WorkArea.C (C_WorkAreaEvent): return a value.
8736 (event_cb): return 1 if we handled the event, 0 otherwise.
8738 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8740 2002-03-18 Juergen Vigna <jug@sad.it>
8742 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8743 (GetAdditionalWidth): ditto.
8747 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8748 inset if we're there actually (probably not used right now but this
8749 is the direction to go for unifying code).
8750 (paste): disable code to clear the selection.
8752 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8753 inside an InsetText and move the check further up as it is in the
8756 * text2.C (pasteSelection): set a selection over the pasted text.
8758 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8760 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8761 and libgraphics to build on Cygwin.
8763 2002-03-15 Juergen Vigna <jug@sad.it>
8765 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8766 inserting an Inset into the paragraph. I know this is not the best
8767 fix but we already use current_view in CutAndPaste so we will remove
8768 all of it's using at the same time.
8770 * buffer.C (sgmlError): deactivated function till it is rewritten in
8771 the right mode, now it can create problems.
8773 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8774 before accessing it.
8776 2002-03-14 Juergen Vigna <jug@sad.it>
8778 * undo_funcs.C (textHandleUndo): do the right thing when updating
8779 the inset after the undo/redo.
8781 * text2.C (setCursor): just some testcode for #44 not ready yet.
8783 * undo_funcs.C (textHandleUndo): set the next() and previous()
8784 pointers of the paragraph to 0 before deleting otherwise we have
8785 problems with the Paragraph::[destructor].
8787 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8788 on a paragraph insertion.
8790 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8792 * buffer.C (asciiParagraph): use += operator for char append to
8795 * paragraph.C (getFontSettings): compare >= not just >
8796 (highestFontInRange): ditto
8799 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8801 * paragraph.C: change several algorithm to be more appripriate for
8802 the problem domain. This is lookip in FontList and in the InsetList.
8804 2002-03-13 André Pönitz <poenitz@gmx.net>
8807 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8809 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8814 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8816 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8818 * Painter.C (display): anon helper function, adjust code for this
8820 (pixmap): remove function.
8822 * Painter.h: remove private display variable.
8824 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8826 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8828 * WorkArea.[Ch]: remove figinset_canvas cruft.
8830 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8832 * lyxtextclass.C (operator): add one item cache optimization.
8834 * bufferlist.h: doxy changes
8836 * bufferlist.C: ws changes
8838 * DepTable.[Ch] (ext_exist): place const in the right spot.
8840 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8842 (workAreaExpose): call resizeInsets when the with BufferView changes.
8843 (Dispatch): adjust for protectedBlank removal
8844 (specialChar): call updateInset if the insert went ok.
8846 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8847 specialChar instead.
8849 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8851 * BufferView.h: doxy change
8853 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8855 * lyxtextclass.C (operator[]): remove non-const version
8856 (defaultLayout): remove non-const version
8858 2002-03-12 Juergen Vigna <jug@sad.it>
8860 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8861 did resize the LyXText too.
8863 * buffer.C (readLyXformat2): set layout information on newly allocated
8866 * tabular.C (OldFormatRead): set layout information on the paragraph.
8868 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8870 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8872 2002-03-11 Juergen Vigna <jug@sad.it>
8874 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8876 (resizeCurrentBuffer): force also the insets to resize themselfes.
8877 (moveCursorUpdate): fixed up for InsetText.
8879 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8882 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8883 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8884 value of Dialogs::tooltipsEnabled().
8885 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8887 2002-03-08 Juergen Vigna <jug@sad.it>
8889 * BufferView_pimpl.C (updateInset): update inset inside inset also
8890 if it isn't inside theLockingInset().
8892 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8894 * buffer.C (asciiParagraph): redo some of the word and line length
8896 (getLists): look for Caption instead of caption.
8898 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8900 * buffer.C (Buffer): initialize niceFile to true
8903 (makeDocBookFile): make sure niceFile is true on exit
8905 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8907 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8909 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8911 * LyXSendto.C: remove.
8912 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8913 * lyx_gui.C: remove now-redundant comment.
8914 * ColorHandler.h: remove forward declaration of class WorkArea.
8915 * lyxfunc.C: remove #include "WorkArea.h".
8917 2002-03-07 Juergen Vigna <jug@sad.it>
8919 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8920 got moved away with the DEPM and also set the inset_owner always
8921 right which before could have been omitted.
8923 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8925 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8926 wanted layout is not found.
8928 2002-03-07 Juergen Vigna <jug@sad.it>
8930 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8932 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8934 * paragraph.C (breakParagraph): use default layout not layout of
8936 (Paragraph): clear ParagraphParameters.
8938 2002-03-06 Juergen Vigna <jug@sad.it>
8940 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8941 otherwise it would not be a valid lenght. Fixed a special case in
8942 the minipage compatibility read where we end the document with a
8945 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8946 was set as it could be 0 for InsetTexts first entry.
8948 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8950 * paragraph.C (writeFile): if layout is empty write out
8951 defaultLayoutName().
8953 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8954 file without named layout we set layout to defaultLayoutName().
8956 2002-03-06 Juergen Vigna <jug@sad.it>
8958 * CutAndPaste.C (copySelection): set layout for new paragraph.
8960 * text.C (prepareToPrint): leave ERT inset left aligned
8961 (leftMargin): don't indent paragraphs inside ERT insets
8963 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8965 * paragraph.C (breakParagraph): dont call clear do the work manually
8967 * paragraph.[Ch] (clear): remove function
8969 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8971 * paragraph.C (Paragraph): dont call clear, the work has already
8974 * lyxtextclass.C (operator): assert if n is empty
8976 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8977 work manually instead.
8979 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8981 * BufferView_pimpl.C: protect selectionLost against text == 0
8983 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8985 * text.C (breakParagraph): fix a setting layout to '0' problem.
8987 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8989 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8990 final location of file, for the included files, and graphics.
8992 2002-03-05 Juergen Vigna <jug@sad.it>
8994 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8996 2002-03-04 Juergen Vigna <jug@sad.it>
8998 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9000 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9001 last column of multicolumn cells.
9002 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9004 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9006 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9007 file if it doesn't go to a temporary file.
9009 * buffer.C (sgmlOpenTag):
9010 (sgmlCloseTag): remove extra newline insertion.
9012 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9014 * text.C (getRowNearY): comment out debug msg
9016 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9018 * text2.C: first -> first_y
9020 * text.C (getRowNearY): add some attemts at a possible
9021 optimization, not working.
9023 * tabular.[Ch]: add BufferParams to several function so that newly
9024 created paragraph can be initialized to he default layotu for the
9027 * tabular-old.C (ReadOld): add buf->params to call of Init
9029 * screen.C: rename text->first to text->first_y
9031 * paragraph.C (breakParagraph): always set layout in the broken
9034 * lyxtextclass.C (Read): remove lowercase
9037 (delete_layout): ditto
9039 * lyxtext.h: rename first -> first_y
9041 * lyxlayout.C (Read): remove lowercase
9044 (obsoleted_by): ditto
9046 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9048 * buffer.C (insertErtContents): add params are to InsetERT
9049 (parseSingleLyXformat2Token): add code to check if a paragraphs
9050 layout really exist.
9051 (parseSingleLyXformat2Token): add params to several inset
9053 (asciiParagraph): remove lowercase, do the layout comparisons with
9056 * BufferView_pimpl.C (cursorNext): first -> first_y
9057 (resizeCurrentBuffer): first -> first_y
9058 (updateScrollbar): first -> first_y
9059 (scrollCB): first -> first_y
9060 (workAreaMotionNotify): first -> first_y
9061 (workAreaButtonPress): first -> first_y
9062 (checkInsetHit): first -> first_y
9063 (cursorPrevious): first -> first_y
9064 (cursorNext): first -> first_y
9065 (Dispatch): add buffer_->params to severl inset contructors
9067 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9069 * lyxlayout.C (Read): remove some debug info that I forgot.
9071 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9072 clean up the code slightly.
9073 (makeLinuxDocFile): ditto
9074 (makeDocBookFile): ditto
9076 * text2.C: layout as string
9078 * text.C: layout as string
9080 * paragraph_pimpl.C: layout as string
9082 * paragraph.[Ch]: layout as string
9084 * lyxtextclasslist.[Ch]: layout as string
9086 * lyxtextclass.[Ch]: layout as string
9088 * lyxtext.h: layout as string
9090 * lyxlayout.[Ch]: layout as string
9092 * lyx_cb.C: layout as string
9094 * bufferview_funcs.C: layout as string
9096 * bufferparams.C: layout as string
9098 * buffer.C: layout as string
9100 * LyXView.[Ch]: layout as string
9102 * LaTeXFeatures.[Ch]: layout as string
9104 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9106 * BufferView_pimpl.C: change current_layout to string, remove
9111 (workAreaButtonRelease): layout as string
9113 * BufferView2.C (unlockInset): adjust
9115 * vspace.C (asLatexCommand): use an explict temp variable.
9117 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9119 * Makefile.am: use FRONTEND_*
9121 2002-03-01 Juergen Vigna <jug@sad.it>
9123 * tabular.C (SetWidthOfMulticolCell): changed to something better
9124 I hope but still work in progress.
9125 (recalculateMulticolumnsOfColumn): renamed function from
9126 recalculateMulticolCells as it is more appropriate now.
9127 (SetWidthOfCell): calculate multicols better.
9129 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9131 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9133 * lyxfunc.C (processKeySym): print sequence also if it is
9134 `deleted' (complete)
9136 * kbsequence.C (print): print sequence even if it is deleted
9137 (complete would be a better word, actually).
9139 * lyxfunc.C (dispatch): print complete options after a prefix key
9141 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9143 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9145 * text2.C (setCharFont): eliminate setCharFont code duplication.
9147 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9149 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9150 LFUN_TABULAR_FEATURE (bug #177)
9152 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9154 * Makefile.am: remove figure.h
9156 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9158 * Bufferview_pimpl.C:
9170 * text2.C: remove #include "lyx_gui_misc.h".
9172 * LaTeX.C: added #include <cstdio>
9174 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9176 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9177 that the paragraph following this one can have.
9179 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9181 * vspace.C (asLatexCommand): fix bogus gcc warning
9183 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9185 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9187 * text2.C (setLayout): get rid of redundant code
9189 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9191 * text2.C (incDepth): make sure depth cannot be increased beyond
9194 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9196 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9197 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9199 * PainterBase.h (image):
9200 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9203 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9207 * BufferView_pimpl.C:
9208 * BufferView_pimpl.h:
9228 * sp_spell.C: remove fig inset, and the crap house of
9229 cards that follows it
9231 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9237 * nt_defines.h: move .h into support/
9239 * vms_defines.h: remove
9241 * WorkArea.C: add space in debug output
9245 * buffer.C: add WITH_WARNINGS
9249 * bufferlist.C: s/retrive/retrieve/, add docs
9260 * lyxgui.C: add ID to X error handler
9262 * lyxtestclass.c: fix typo
9264 2002-02-26 Juergen Vigna <jug@sad.it>
9266 * tabular_funcs.C (write_attribute): changed so that some default
9267 attributes are not written at all.
9268 (getTokenValue): set default values before trying to read the
9269 value so we have the return value always set as default if we don't
9270 find the token we search for.
9272 * tabular.C (Write): write bools as bools not as strings!
9274 2002-02-22 Juergen Vigna <jug@sad.it>
9276 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9277 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9279 * text.C (leftMargin): don't add an indent for paragraphs inside
9280 tabular cells (fix #208).
9282 2002-02-21 José Matos <jamatos@fep.up.pt>
9284 * tabular.C (docBook): fixed support for long tables.
9286 2002-02-20 Juergen Vigna <jug@sad.it>
9288 * text2.C (getFont): get the drawing font of the Inset if this
9289 paragraph is inside an inset (only important for InsetERT for now).
9291 * buffer.C (insertErtContents): use new lanugage params in ERT
9294 * CutAndPaste.C: commenting out seemingly uneeded code.
9296 2002-02-19 Allan Rae <rae@lyx.org>
9298 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9299 Iterators might be simple to use but they also get invalidated.
9300 (removeAutoInsets): renamed saved cursor tracking variables and added
9301 some comments to clarify what everything does.
9303 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9310 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9311 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9314 * vc-backend.h: remove #include "support/syscall.h"
9318 * converter.C: rearrange #includes in Lars' approved fashion.
9320 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9321 forward declare class Timeout in the header file.
9323 * XFormsView.C: changes due to the above.
9325 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9328 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9329 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9331 2002-02-18 José Matos <jamatos@fep.up.pt>
9333 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9336 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9338 * a lot of small ws changes
9339 * add a lot of using std::XXX
9340 * use std construcs some places where approp.
9341 * use some exisint stuff from lyxfunctional where approp.
9342 * Make file changes to use partial linking (lets test this now...)
9344 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9348 remove #include "support/syscontr.h" as it's redundant. Always has been.
9356 change Systemcalls::System to Systemcalls::Wait and
9357 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9358 No change of functionality, just reflects the stripped down Systemcalls
9361 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9363 * debug.[Ch]: add a GRAPHICS type to the enum.
9365 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9367 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9369 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9372 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9374 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9375 match the changes below.
9377 * text2.C (toggleInset): if there is not editable inset at cursor
9378 position, try to see if cursor is _inside_ a collapsable inset
9381 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9383 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9384 document menu has a nice checkbox
9386 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9388 * lyxlength.C (asLatexString): change PW to output as percent of
9391 * lengthcommon.C: change '%' to 't%'
9393 * lyxfunc.C (dispatch): a few comments from Martin
9395 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9399 * BufferView_pimpl.h:
9400 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9403 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9405 * vspace.C (inPixels): fix compiler warning
9407 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9409 * lyxfunc.C (getStatus): fix status message for disabled commands.
9411 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9413 * BufferView_pimpl.C: fix crash on close buffer
9414 during selection (#227)
9416 2002-01-27 Herbert Voss <voss@lyx.org>
9418 * buffer.C: link old Figure to new graphic inset
9420 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9422 * FontLoader.C (getFontinfo): Change the latex font names in order
9423 to match the names of type1inst.
9425 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9427 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9429 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9432 (remove_files_with_extension): ditto
9433 (remove_file): ditto
9436 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9437 document is smaller than the work area height. Do not initialize
9438 static variables to 0.
9440 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9442 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9444 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9445 LFUN_LAYOUT_PARAGRAPHS.
9447 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9448 tabular. It is possible to provide a possible cell, which will
9449 typically be the actcell from the corresponding insettabular
9451 * lyxfunc.C (getStatus): small cleanup; disable
9452 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9455 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9457 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9459 * paragraph.C (startTeXParParams):
9460 (endTeXParParams): new methods. The LaTeX code to
9461 start/end paragraph formatting
9462 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9463 empty (fixes bug #200)
9465 * vspace.C (inPixels): adapt to the change below
9466 (inPixels): [later] more cleanups (remove unused variables)
9468 * lyxlength.C (inPixels): change to use a width and a height as
9471 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9473 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9474 Replaced with \paperwidth
9476 * DepTable.C (insert): add std:: qualifier
9478 2002-01-18 Allan Rae <rae@lyx.org>
9480 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9483 * text.C (drawInset): Turned out I didn't know enough about how
9484 rebreaking worked. This fixes most of the redraw problems. I see
9485 an occasional cursor trail when a line is broken now and the cursor
9486 placement can seem out by a few pixels also after a rebreak.
9488 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9490 * buffer.C (parseSingleLyXformat2Token): update because minipage
9491 width is now a LyXLength
9493 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9495 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9498 2002-01-17 Juergen Vigna <jug@sad.it>
9500 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9502 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9503 is set correctly and the inset is updated correctly.
9505 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9507 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9508 the beginning of the loop.
9510 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9512 * lyxrc.C: improve help for use_scalable_fonts
9514 2002-01-17 Allan Rae <rae@lyx.org>
9516 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9518 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9520 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9521 make sure to set their inset_owner to the right value (bug #171)
9523 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9526 * DepTable.C: Implement mtime checking to reduce time spent doing
9529 2002-01-16 Juergen Vigna <jug@sad.it>
9531 * tabular.C (GetAdditionalHeight): one of error fixed.
9533 * lyxrc.C (output): small fix in writing use_pspell.
9535 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9537 * sp_base.h: #include LString.h
9539 2002-01-16 Allan Rae <rae@lyx.org>
9541 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9542 Can someone check this please?
9544 * text.C (drawInset): It was possible that p.row would be removed by
9545 breakAgainOneRow upsetting a few other settings. There may be another
9546 small tweak possible by setting need_break_row = 0 when p.row has been
9547 removed but I don't know enough about the logic here.
9549 2002-01-15 Allan Rae <rae@lyx.org>
9551 * text.C (insertChar): removed conditional truism.
9553 * BufferView2.C (removeAutoInsets): More tweaks.
9554 cur_par_prev could be a stray pointer. Check for trailing empty line
9555 in case last line was cur_par and only had an error inset on it.
9557 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9559 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9562 * vc-backend.C (most methods):
9563 * exporter.C (Export):
9564 * converter.C (convert):
9566 * LyXSendto.C (SendtoApplyCB):
9567 * lyxfunc.C (dispatch):
9571 * lyx_cb.C (AutoSave):
9573 * BufferView_pimpl.C (MenuInsertLyXFile):
9574 * buffer.C (runChktex): use Buffer::filePath().
9576 * buffer.h: rename filename to filename_; rename filepath to
9577 filepath_ and make it private
9578 (filePath): new method
9580 * buffer.C (writeFile): use fileName()
9583 * lyx_main.C (init): fix starting of LyX when the binary is a
9584 link from so,ewhere else.
9586 * minibuffer.C: include <cctype> for isprint
9588 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9590 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9591 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9592 name clash with InsetCollapsable's width function.
9594 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9596 * lastfiles.C: include <iterator>
9598 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9600 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9603 * buffer.C (makeLaTeXFile): ditto.
9604 Also make loop operation more transparent.
9606 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9608 * ToolbarDefaults.C: remove trailing comma closing namespace.
9610 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9612 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9615 * trans.C (Load): comment out unused variable, allowed.
9617 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9619 * minibuffer.[Ch] (append_char): new method to recieve input from the
9620 drop-down completion browser. If a key was pressed, then recieve this
9621 char and append it to the existing string.
9622 (peek_event): modify the positioning data passed to the completion
9623 browser so that it can be placed above the minibuffer rather than below.
9624 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9626 * LyXAction.C (init): alloe error-next for readonly documents.
9628 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9631 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9633 * bufferlist.C (readFile): create the buffer _after_ checking that
9636 * lyxfunc.C (verboseDispatch): fix handling of arguments
9638 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9640 * lyxrc.C: use string::erase() instead of initializing to "".
9643 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9645 * BufferView_pimpl.h:
9646 * BufferView_pimpl.C:
9649 * text2.C: tell X when we have made a selection for copying
9651 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9653 * BufferView_pimpl.C (MenuInsertLyXFile):
9654 * lyxfunc.C (menuNew):
9656 (doImport): add shortcuts to directory buttons
9658 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9661 * lyxfunc.C (setStatusMessage):
9662 (getStatusMessage): new methods
9663 (getStatus):use setStatusMessage instead of setErrorMessage
9664 (dispatch): when function is disabled, set error message here
9665 [instead of in getStatus previously]
9667 * BufferView_pimpl.C (workAreaButtonRelease): update
9668 toolbar/menubar here too.
9670 2002-01-13 Allan Rae <rae@lyx.org>
9672 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9673 Now seems indestructible. Remaining task is to audit all other
9674 code affected by deleteEmptyParagraphMechanism. One small quirk
9675 left is that an empty document with an error in the preamble can
9676 be made to report an error but no error box appears. I don't know
9678 (removeAutoInsets): Improved comments.
9680 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9683 * Thesaurus.C: update for Aiksaurus 0.14
9685 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9687 * text2.C (firstParagraph): removed member function, all uses
9688 replaces with ownerParagraph
9689 (redoParagraphs): here
9691 (toggleAppendix): here
9692 * BufferView2.C (insertErrors): here
9693 (setCursorFromRow): here
9695 2002-01-13 Allan Rae <rae@lyx.org>
9697 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9698 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9699 There is still a way to segfault this although you may have to do this
9700 multiple times: Have an InsetERT with an unknown command in it.
9701 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9702 <down-arrow>, <Enter> again, View->DVI, BANG!
9704 * text2.C (setCursor):
9705 (deleteEmptyParagraphMechanism):
9706 * lyxtext.h (setCursor):
9707 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9708 Making use of the return value may help fix other bugs.
9710 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9712 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9714 * LyXView.C (updateMenubar): call MenuBar::update here
9715 (updateToolbar): but not here
9716 (showState): do not update toolbar/menubar
9718 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9719 should need to care about that.
9721 * lyxfunc.C (verboseDispatch): simplify a bit
9722 (getStatus): have a version which takes a pseudoaction, and
9723 another which requires a (kb_action,string).
9725 * LyXAction.C (retrieveActionArg): make it work also when action
9726 is not a pseudo-action.
9727 (getActionName): simplify a bit
9730 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9732 * lyxfunc.C (verboseDispatch): new families of methods with
9733 several ways to specify a command and a bool to indicate whether
9734 the command name and shortcut should be displayed in minibuffer
9735 (eventually, we could extend that to a finer bitmask like
9736 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9737 (dispatch): the pristine dispatch command which just, well,
9738 dispatchs! Note it still sets its result to minibuffer; I'm not
9741 * lyxfunc.h: remove setHintMessage
9743 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9745 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9747 * BufferView_pimpl.C (specialChar): delete new inset if we have
9748 not been able to insert it.
9750 * kbmap.C: revert to using int instead of kb_action, since all we
9751 are dealing with is pseudo-actions.
9753 * LyXAction.C (searchActionArg): change to return int instead of
9754 kb_action, since the result is a pseudoaction.
9756 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9758 * buffer.C (insertErtContents): Fix (partially) the font bug.
9760 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9762 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9763 as the other one is broken on my machine!
9765 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9768 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9770 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9772 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9773 reflect their actual use. Provide compatibility code for older lyxrc
9776 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9778 change names of popup font variables in line with the changes to lyxrc.C
9780 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9782 * buffer.C (asciiParagraph): avoid outputing a word twice after
9785 * lyxrc.C (getDescription): document that document_path and
9786 template_path can be empty.
9788 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9790 * LaTeXFeatures.C (getMacros):
9791 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9793 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9795 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9797 (getPackages): rename feature "floats" to "float". Use an array to
9798 iterate over 'simple' features (i.e. just a \usepackage). Add
9799 handling of "amsmath" (renamed from "amsstyle").
9801 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9803 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9806 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9808 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9809 FuncStaus::FuncStatus & FuncStaus::some_method().
9811 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9813 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9814 of the func_satus stuff. Edited and massaged in various ways by
9817 * lyxfunc.C (getStatus): use FuncStatus
9819 2002-01-08 Juergen Vigna <jug@sad.it>
9821 * text.C (nextBreakPoint): use function Inset::isChar().
9823 * paragraph.C (TeXOnePar): use function
9824 Inset::forceDefaultParagraphs.
9826 * buffer.C (latexParagraphs): use function
9827 Inset::forceDefaultParagraphs.
9829 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9831 * lyx_gui.C (init): set the style of the menu popups to
9832 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9834 2002-01-07 Juergen Vigna <jug@sad.it>
9836 * text.C (setHeightOfRow): small fix
9837 (prepareToPrint): don't look at alignment if we don't have the place
9840 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9842 * box.C: New file. Move the Box methods and functions out of box.h,
9843 following Lars' suggestion.
9845 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9847 * box.h: #include "support/LOstream.h", needed for inlined function.
9850 * lyxtextclasslist.C: added some using std declarations.
9852 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9854 * box.h: make signed dimensions to allow insets wider than
9855 the screen (bug #162)
9857 * BufferView_pimpl.C: add some insetHit debug
9859 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9861 * vc-backend.C: add FIXME
9863 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9865 * lyxfunc.C (getStatus): enable code for showing math font status
9868 2002-01-07 Juergen Vigna <jug@sad.it>
9870 * text.C (nextBreakPoint): removed debug output not needed anymore.
9872 2002-01-06 Juergen Vigna <jug@sad.it>
9874 * text.C (nextBreakPoint): fixed up this function we had this bug
9875 since ever but now hopefully we break row better.
9876 (insertChar): we have to check if an inset is the next char as it
9877 could now happen that a large inset is causing a break.
9879 2002-01-05 Juergen Vigna <jug@sad.it>
9881 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9882 if it doesn't like to be drawed.
9884 2002-01-04 Juergen Vigna <jug@sad.it>
9886 * BufferView2.C (lockInset): forgot to set a cursor.
9888 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9890 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9895 * form_maths_panel.C:
9896 * form_maths_panel.h:
9897 * form_maths_panel.fd: implemented sub- and super- buttons in math
9900 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9901 (or ^ space) to be used as in TeX (req'd by André).
9903 * lyxfunc.C: Allow ^ and _ again to be used both as
9904 super/subscript (mathed) and as themselves (in text).
9906 2002-01-03 Allan Rae <rae@lyx.org>
9908 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9909 "LyX" or the filename of the current buffer if it has one. This is a
9910 modified form of John Levon's patch.
9912 * XFormsView.C (setWindowTitle): also set icon title.
9914 * LyXView.h (setWindowTitle): signature changed.
9915 * XFormsView.h (setWindowTitle): ditto.
9917 2002-01-02 Juergen Vigna <jug@sad.it>
9919 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9921 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9923 * screen.C (topCursorVisible): introduce a temp var for
9924 text->cursor.row(), handle the case where this row is null. (kindo
9927 * text2.C (setCursor): add a couple of asserts.
9929 * paragraph.h (inset_iterator): add -> operator
9931 * paragraph.[Ch] (autoDeleteInsets): remove member function
9933 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9934 cursor pos correctly and handle inset deletion by itself.
9935 (insertErrors): move iterator declaration out of for expression
9937 * lyxtextclass.C: add <algorithm>
9939 * Makefile.am: added the new files to sources, removed layout.C
9941 * layout.C: removed file
9943 * layout.h: remove LYX_DUMMY_LAYOUT
9945 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9949 * lyxtextclass.[Ch]:
9950 * lyxtextclasslist.[Ch]: new files
9952 * include order changes to a lot of files, also changes because of
9955 2001-12-27 Juergen Vigna <jug@sad.it>
9957 * buffer.C (asciiParagraph): more fixes.
9959 * tabular.C (ascii): make ascii export support export of only the
9960 data separated by a column-delimiter.
9961 (ascii): better support for ascii export.
9963 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9965 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9967 * tabular_funcs.C: use a "using std::getline" instead of the
9968 previous fix from Angus (necessary for cxx + lyxstring)
9970 2001-12-24 Juergen Vigna <jug@sad.it>
9972 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9974 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9975 problems. First check a minipage also if we have some ert-contents
9976 (not only on par->size(), second set the right depth of the paragraph
9977 on the relink to the root-paragraph-list!
9979 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9980 which then did not anymore update the main paragraphs on undo/redo!
9982 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9984 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9985 code. Support all font-changing funcs (even those which are not in
9986 menu currently). Support for reporting font settings in
9987 mathed (disabled until Andre provides a function on mathed's side).
9989 * func_status.h (toggle): small helper function to set toggle
9992 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9994 * tabular_funcs.C: getline -> std::getline
9996 2001-12-21 Juergen Vigna <jug@sad.it>
9998 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9999 accessed and could be 0 (I couldn't generate this but it seems
10002 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10004 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10005 * tabular_funcs.h: here and include iosfwd
10007 2001-12-20 Juergen Vigna <jug@sad.it>
10009 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10010 inside inset but undo_par was.
10012 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10014 * Thesaurus.C: always include <config.h> in sources.
10018 * box.h: do not include <config.h> in header files
10020 * text.C (paintLastRow): remove unused variable
10022 * text.C (transformChar):
10024 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10026 * Painter.C (text):
10027 * font.C (width): rewrite to use uppercase() instead of
10030 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10032 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10034 * lyxfind.C: clean up of find failure position change
10036 2001-12-20 Juergen Vigna <jug@sad.it>
10038 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10040 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10041 (TeXRow): added to LaTeX a single tabular row.
10042 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10043 (Latex): simplified and finally good LT-h/f support.
10044 (various_functions): just small adaptions for LT-h/f support.
10046 * tabular_funcs.[hC]: added and moved here all not classfunctions
10049 2001-12-19 Juergen Vigna <jug@sad.it>
10051 * tabular.[Ch]: better support for longtabular options (not finished
10054 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10056 * text.C (paintLastRow): use the label font instead of the font of
10057 the last character to compute the size of *_BOX. This makes more
10058 sense and avoids a crash with empty paragraphs.
10059 Use Painter::rectangle to draw EMPTY_BOX.
10061 2001-12-19 Juergen Vigna <jug@sad.it>
10063 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10064 the paragraphs if the replaced paragraph is not the first one!
10065 Tried to delete not used paragraphs but does not work yet so for
10066 now it's inside #ifdef's and by default off!
10068 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10070 * MenuBackend.C: include "lyx_main.h" instead of declaring
10071 lastfiles (actually was declared as LastFiles* instead of a
10074 2001-12-17 Juergen Vigna <jug@sad.it>
10076 * tabular.C (AppendColumn): applied John's fix
10078 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10082 * BufferView_pimpl.h:
10083 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10086 * box.h: new start of class for above
10088 * lyxfunc.C: ignore space-only minibuffer dispatches.
10089 Show the command name when it doesn't exist
10091 * minibuffer.C: don't add empty lines to the history
10093 * minibuffer.C: add a space on dropdown completion
10095 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10097 * text.C: fix line above/below drawing in insets
10099 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10101 * lyxlength.C (LyXLength): Initialize private variables.
10103 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10105 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10106 when inserting error insets.
10108 2001-12-13 Juergen Vigna <jug@sad.it>
10110 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10111 actually sometimes the before-paragraph.
10112 (setUndo): don't clear the redostack if we're not actually undoing!
10114 2001-12-06 Juergen Vigna <jug@sad.it>
10116 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10117 and fixed redoing of main paragraph, so we can use it now ;)
10119 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10121 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10123 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10126 2001-12-13 André Pönitz <poenitz@gmx.net>
10129 * undo_func.C: minor cleanup
10131 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10133 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10134 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10135 font in urw-fonts package which is marked as -urw-fontspecific and
10136 does not work (incidentally, changing the encoding in the
10137 fonts.dir of this package to -adobe-fontspecific fixes the
10140 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10141 is a crash when undoing first paragraph (Juergen, please take a
10142 look). THis does not mean the undo fix is wrong, just that it
10145 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10146 the (Paragraph*) version when needed instead of duplicating the
10149 * text.C (workWidth): use Inset::parOwner to find out where the
10150 inset has been inserted. This is a huge performance gain for large
10151 documents with lots of insets. If Inset::parOwner is not set, fall
10152 back on the brute force method
10154 * paragraph_pimpl.C (insertInset):
10155 * paragraph.C (Paragraph):
10156 (cutIntoMinibuffer): set parOwner of insets when
10157 inserting/removing them
10159 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10161 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10167 * mathed/formulabase.C:
10168 * mathed/math_cursor.[Ch]:
10169 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10172 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10174 * lyxlength.[Ch] (operator!=): new function
10176 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10178 * text.C (workWidth): use Inset::parOwner to find out where the
10179 inset has been inserted. This is a huge performance gain for large
10180 documents with lots of insets. If Inset::parOwner is not set, fall
10181 back on the brute force method
10183 * paragraph_pimpl.C (insertInset):
10184 * paragraph.C (Paragraph):
10185 (cutIntoMinibuffer): set parOwner of insets when
10186 inserting/removing them
10188 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10190 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10192 * tabular-old.C (getTokenValue):
10193 * tabular.C (getTokenValue):
10194 (write_attribute): new versions for LyXLength
10195 (everywhere): adjust the use of widths
10197 * tabular.h: change the type of widths from string to LyXLength
10199 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10201 * paragraph.C: fixed missing line number count when exporting
10202 Environments to LaTeX file
10204 * buffer.C: added informational message for checking line numbers.
10206 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10208 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10209 paragraph, do the 'double space' part, but not the 'empty
10212 * text.C (workWidth): small optimization
10213 (getLengthMarkerHeight): use minimal size for negative lengths.
10215 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10217 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10219 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10221 2001-12-11 André Pönitz <poenitz@gmx.net>
10224 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10226 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10228 * text2.C: keep selection on a setFont()
10230 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10232 * lyx_cb.C: another bv->text misuse, from insert label
10234 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10237 * kbsequence.C: re-instate nmodifier mask
10239 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10241 * lyx_main.h: make lyxGUI private.
10243 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10245 * lyxfind.C: place the cursor correctly on failed search
10247 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10249 * text.C (getLengthMarkerHeight): for small heights, the arrows
10250 are not always on top/bottom of the text
10251 (drawLengthMarker): smaller arrows; take the left margin in
10252 account; draw also vfills.
10254 (paintLastRow): remove special code for vfill and standard spaces,
10255 since everything is handled in drawLengthMarker now.
10257 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10259 * buffer.C (insertErtContents): try to handle font and language
10260 interaction a bit better.g
10262 * ColorHandler.C (updateColor): change the hash to cover the whole
10263 LColor enum, ws cleanup
10264 (getGCLinepars): ditto
10265 (getGCLinepars): only lookup in the linecache once.
10267 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10269 * iterators.C (operator++): Make the iterator more robust
10271 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10273 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10275 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10278 * text.C: better added space drawing
10280 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10283 * BufferView2.C: fix layout combo update on inset unlock
10285 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10287 * Makefile.am: don't compile unused files
10289 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10293 * LyXAction.C: remove old LFUN_LAYOUTNO
10295 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10297 * paragraph_pimpl.h:
10298 * paragraph_pimpl.C: isTextAt() doesn't need font param
10300 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10303 * lyxlex.C: little cleanup
10305 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10307 * BufferView_pimpl.C: fix insertAscii for insets
10309 2001-12-05 Juergen Vigna <jug@sad.it>
10311 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10312 set the right font on the "multi" paragraph paste!
10314 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10320 * lyxlength.C: remove out-commented code.
10322 * BufferView_pimpl:
10336 * vc-backend.C: change "while(" to "while ("
10338 * lyxlength.[Ch]: add zero function to check if length is zero or
10340 * lyxgluelength.C: use it
10342 2001-12-05 Allan Rae <rae@lyx.org>
10344 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10345 Works for 2.95.3, from what I understand of Garst's reports this should
10346 work for other g++ versions. We're screwed if the abs(int) definition
10347 changed between bugfix releases of gcc.
10349 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10351 * text.C: fix chapter label offset !
10353 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10356 * text.C: fix hfill at end of line, clean up
10358 2001-12-04 Juergen Vigna <jug@sad.it>
10360 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10361 that we force an update of the inset and it's owners if neccessary.
10363 2001-12-03 Juergen Vigna <jug@sad.it>
10365 * text.C (rowLast): simplified code
10367 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10369 * lyxfunc.C: fix show options on timeout
10371 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10373 * screen.C (topCursorVisible): scroll half a page when the cursor
10374 reached top of bottom of screen
10376 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10378 * minibuffer.C: deactivate on loss of focus
10380 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10382 * vspace.[Ch] (operator!=): add operator.
10384 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10386 * BufferView_pimpl.C: refuse to open an inset when
10387 there's a selection.
10389 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10391 * BufferView_pimpl.C: allow to click on RHS of full row insets
10393 2001-11-30 Juergen Vigna <jug@sad.it>
10395 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10396 insets for undo reasons.
10398 2001-11-28 André Pönitz <poenitz@gmx.net>
10400 * vspace.[Ch]: cosmetical changes
10402 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10412 * kbsequence.C: part re-write of old kb code
10415 * WorkArea.C: remove Lgb_bug_find_hack
10417 2001-11-30 José Matos <jamatos@fep.up.pt>
10419 * buffer.C (makeDocBookFile): add a comment to point a hack.
10420 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10421 Fixed a double write of labels.
10423 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10426 * LaTeX.h Fixed bug in LaTeX class where it would not
10427 re-run latex if no depfiles were changed, but the .dvi was removed.
10429 2001-11-28 André Pönitz <poenitz@gmx.net>
10431 * all the files from the change on 2001/11/26:
10432 use lyx::layout_type instead of LyXTextClass::size_type
10433 use lyx::textclass_type instead of LyXTextClassList::size_type
10435 2001-11-29 Juergen Vigna <jug@sad.it>
10437 * text.C: added support for paragraph::isFreeSpacing()
10439 * buffer.C: same as above
10441 * paragraph.h: inserted isFreeSpacing() function to enable
10442 FreeSpacing inside InsetERT.
10444 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10445 of the paragraph's in the cut/copy buffer to 0!
10447 * text2.C (removeRow): remove the assert as it can!
10449 * lyxtext.h: added helper function firstRow returning firstrow and
10450 made firstrow private again.
10452 * BufferView2.C (lockInset): don't relock if we're already locked!
10454 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10455 the only paragraph.
10456 (removeRow): added Assert::(firstrow)
10458 * debug.C: forgot to add INSETTEXT here.
10460 2001-11-28 Juergen Vigna <jug@sad.it>
10462 * sp_spell.C (initialize): changed error text to more general
10463 spellchecker command use (not only ispell!)
10465 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10467 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10469 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10471 * vspace.C: initialise lyxgluelength on failure
10473 2001-11-28 Allan Rae <rae@lyx.org>
10475 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10476 declaration & definition that looks like a function declaration.
10478 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10480 * BufferView2.C (copy):
10481 (copyEnvironment): do not clear the selection when doing a copy.
10483 * text.C (paintFirstRow): compilation fix
10485 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10487 * tabular.C (Latex): correct line count when writing latex.
10489 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10491 * paragraph_pimpl.h:
10492 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10495 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10499 * LColor.C: change vfillline->added_space
10501 * text.C: add markers and text for added space
10503 * vspace.C: fix comment
10505 2001-11-28 André Pönitz <poenitz@gmx.net>
10507 * paragraph.C: whitespace changes
10508 * all the other files from the change on 2001/11/26:
10509 change *::pos_type into lyx::pos_type
10511 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10513 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10514 language of the document when inserting error insets.
10516 2001-11-26 André Pönitz <poenitz@gmx.net>
10518 * BufferView_pimpl.[Ch]:
10526 * paragraph_pimpl.[Ch]:
10529 * text2.C: reduce header dependencies, introduce type for positions
10531 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10533 * <various>: change to use Alert.h
10535 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10537 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10538 when encountering an unknown token.
10539 (readLyXformat2): Show an error message if there were unknown tokens.
10541 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10544 * BufferView_pimpl.C:
10548 * text2.C: use par->isInset()
10550 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10552 * paragraph_pimpl.h:
10553 * paragraph_pimpl.C: cleanup
10555 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10557 * text2.C (removeRow):
10558 * text.C (setHeightOfRow): remove useless (and costly) call to
10561 2001-11-20 Allan Rae <rae@lyx.org>
10563 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10564 Now need Inset*::checkInsertChar() to return true for appropriate
10565 cases so that the characters in the minibuffer will actually be
10568 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10570 * text.C: change the order of the includes.
10571 (workWidth): initialize it at once.
10572 (workWidth): make maxw unsigned
10573 (setHeightOfRow): remove unused variable (inset)
10574 (selectSelectedWord): remove unused variable (inset)
10575 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10577 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10579 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10580 server is not running.
10582 (closeConnection): add debug info when server is disabled.
10584 * ColorHandler.C (getGCForeground): send debug message to GUI
10587 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10589 * kbmap.C (bind): modify because return conventions of
10590 kb_sequence::parse have changed.
10592 * kbsequence.C (parse): only ignore spaces and not any stupid
10593 control character. This avoids tests like s[i] <= ' ', which are
10594 guaranteed to fail with 8bit characters and signed chars.
10595 Change return code to string::npos when there have been no error
10596 (0 was a bad idea when error is at first character)
10598 2001-11-14 José Matos <jamatos@fep.up.pt>
10601 * buffer.C (simpleDocBookOnePar): removed unused argument.
10603 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10605 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10606 insets which are part of a word. Paragraph::isLetter takes care of
10607 that now. Use Paragraph::isInset to identify insets.
10608 (selectSelectedWord): do not test for hyphenation break.
10610 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10611 that protected spaces are considered as spaces.
10613 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10616 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10619 * lyxserver.C: fix it. and small cleanup.
10621 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10623 * BufferView_pimpl.C: use inline helpers
10626 * LaTeXFeatures.C: fix typos
10629 * Spacing.C: move spacing_string into class
10631 * ToolbarDefaults.C: move stuff into namespace anon
10633 * layout.h: update enum
10635 * lyxfunc.C: use better debug
10637 * minibuffer.h: fix typo
10641 * WorkArea.C: add and use Debug::WORKAREA
10645 * text2.C: code re-organisation, inline helpers
10647 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10649 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10650 std::vector.empty().
10652 2001-11-09 Allan Rae <rae@lyx.org>
10654 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10655 '\n's after tables. Tabular and ERT inset work now makes this no
10658 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10661 * minibuffer.C: fix crash, improve drop-down completion
10663 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10666 * lyxserver.C: invalidate fd's when doing endPipe()
10668 2001-11-08 José Matos <jamatos@fep.up.pt>
10670 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10671 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10674 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10676 2001-11-07 José Matos <jamatos@fep.up.pt>
10679 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10682 * buffer.C (sgmlOpenTag):
10683 * buffer.C (sgmlCloseTag): removed debug info.
10685 * buffer.h (sgmlOpenTag):
10686 * buffer.h (sgmlCloseTag): made public.
10688 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10690 * buffer.C (saveParamsAsDefaults):
10691 * lyx_cb.C (MenuLayoutSave): remove
10693 * LyXAction.C (init):
10695 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10697 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10699 * buffer.C (setPaperStuff): removed from here...
10701 * bufferparams.C (setPaperStuff): ... and moved there.
10703 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10707 * XFormsView.C: add support for drop-down completion
10709 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10711 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10714 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10716 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10719 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10721 * lyx_main.C: change ref to known bugs
10723 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10725 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10726 to work around older babel problems.
10728 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10730 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10732 2001-10-24 Juergen Vigna <jug@sad.it>
10734 * tabular-old.C (ReadOld): below variable changes reflected.
10736 * tabular.[Ch]: added ltType struct for longtable header/footer
10737 defines and changed all instances where they are used. Added
10738 future support for double top/bottom rows.
10740 2001-10-24 José Matos <jamatos@fep.up.pt>
10742 * buffer.h (docbookHandleCaption):
10743 * buffer.C (docbookHandleCaption): removed unused function.
10744 (makeDocBookFile): moved docbook supported version to v4.1.
10746 2001-10-24 José Matos <jamatos@fep.up.pt>
10749 * tabular.C (docbookRow): new function to export docbook code of a row.
10750 (DocBook): now honors the longtable flags.
10752 2001-10-23 José Matos <jamatos@fep.up.pt>
10755 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10756 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10758 * buffer.C (makeLinuxDocFile):
10759 (makeDocBookFile): reworked the preamble, more clean, and with
10760 support for lyx defined entities. Changed the document declaration
10761 to be more XML friendly.
10763 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10764 if we need to output XML that should be done with a filter.
10766 2001-10-22 Juergen Vigna <jug@sad.it>
10768 * sp_pspell.h (class PSpell): add alive function needed in the
10769 controller to see if the spellchecker could be started.
10771 2001-10-22 Juergen Vigna <jug@sad.it>
10773 * buffer.C (insertStringAsLines): modify the font for inserting
10774 chars in certain conditions by calling checkInsertChar(font).
10776 2001-10-19 Juergen Vigna <jug@sad.it>
10778 * text.C (workWidth): use getRow instead of wrong algorithm.
10779 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10781 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10786 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10788 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10790 * text.C (workWidth): do not search for the exact row when
10791 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10792 optimization for big documents.
10794 2001-10-18 Juergen Vigna <jug@sad.it>
10796 * text.C (workWidth): new function with added Inset * parameter.
10798 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10800 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10802 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10803 change return type of getColumnNearX.
10806 * text.C (changeRegionCase): use uppercase/lowercase instead of
10809 (rightMargin): simplify code by factoring out the uses of
10814 (appendParagraph): use Paragraph::size_type
10816 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10818 * vspace.C (asLatexString): add a missing break
10820 2001-10-15 Herbert Voss <voss@perce.de>
10822 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10824 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10826 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10829 2001-10-10 André Pönitz <poenitz@gmx.net>
10831 * lyxfunc.C: removed greek_kb_flag.
10833 2001-10-10 Herbert Voss <voss@perce.de>
10835 * lyx_main.C: delete global string help_lyxdir.
10837 2001-10-09 Herbert Voss <voss@perce.de>
10839 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10841 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10843 * lyx_main.C: added global string help_lyxdir.
10845 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10847 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10849 * lyxrc.C (set_font_norm_type): support iso8859-4
10851 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10853 * LaTeX.C (deplog): add another regex for MikTeX
10855 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10857 * lyxrc.C (set_font_norm_type): support iso8859-3
10859 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10861 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10863 * LaTeXFeatures.C: remove special case of french and index
10865 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10866 before \begin{document}). This solves several incompatibilities.
10868 2001-10-03 Garst Reese <reese@isn.net>
10870 * lyx_cb.C: change CheckTex error msg.
10872 2001-10-03 José Matos <jamatos@fep.up.pt>
10874 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10876 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10878 * .cvsignore: update
10880 * lyx_main.C (commandLineVersionInfo): use new style version info.
10882 * buffer.C (writeFile):
10884 (makeLinuxDocFile):
10885 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10887 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10889 * version.h: update to use stuff in version.C
10891 * version.C.in: new file. Contains version information determined
10892 at compile time. This is a merging of version.h and
10895 2001-10-03 Juergen Vigna <jug@sad.it>
10897 * BufferView_pimpl.C (update): don't change "dirty" status in
10900 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10902 * WorkArea.C (c-tor): re-position version string slightly.
10904 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10906 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10907 revert to previous code.
10909 WorkArea.[Ch]: (show, destroySplash): methods removed.
10911 WorkArea.C: rework code so that it's an amalgam of the codes before and
10912 after the splash screen was moved to WorkArea.
10914 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10917 * vspace.C (inPixels):
10920 * buffer.C (insertStringAsLines):
10921 (asciiParagraph): fix types to be large enough
10923 * lyxlex_pimpl.h: change member status from short to int
10925 * layout.h: fix type of endlabeltype
10928 * kbsequence.C (parse): change return type to string::size_type
10930 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10933 * Bullet.C (bulletSize):
10934 (bulletEntry): do not use short ints as parameters
10936 * BufferView2.C (insertLyXFile): change a char to an int.
10938 * WorkArea.C (WorkArea): remove unneeded floats in computation
10940 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10942 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10944 * paragraph.C (asString): Do not ignore newline/hfill chars when
10945 copying to the clipboard.
10947 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10949 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10950 after a multi-line inset.
10952 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10954 * paragraph.C (validate): Set NeedLyXFootnoteCode
10956 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10958 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10959 and decrease-error to decrease.
10961 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10963 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10964 it more readable (should be equivalent)
10966 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10968 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10970 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10972 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10973 of a cursor (row, etc.) after a character has been deleted
10974 (deleteEmptyParagraphMechanism): call the method above on _all_
10975 cursors held by the LyXText when a double space has been
10978 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10980 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10982 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10984 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10985 background. Use greyOut() and the new show() methods to toggle between
10986 the foreground and background. Add code to remove the splash after
10987 its initial showing.
10989 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10990 (create_forms): no longer call Dialogs::showSplash.
10992 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10994 * .cvsignore: add version_info.h
10996 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10998 * version_info.h.in: new file
11000 * Makefile.am: add version_info.h.in
11002 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11003 version_info.h instead of VERSION_INFO
11005 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11007 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11008 The ERT inset now returns string().
11010 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11012 * lyxtext.h, text.C (selectNextWord): renamed as
11013 selectNextWordToSpellcheck.
11015 * text.C (selectNextWordToSpellcheck): Modified to not select
11016 words inside an ERT inset.
11018 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11020 * lyx_cb.C (MenuLayoutSave): change a bit the question
11022 * sp_base.h: include <sys/types.h>
11024 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11026 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11028 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11030 * several files: fix typos in user-visible strings
11032 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11034 * text2.C (pasteSelection): do not set the selection, since it
11035 will be cleared later. Actually, the intent was to fix the way the
11036 selection was set, but I figured rmoving the code was just as good.
11038 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11040 * FontLoader.C (available): Check if font is available without
11043 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11045 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11047 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11049 * lyxrc.[Ch]: added display_graphics variable and associated code.
11051 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11053 * bufferparams.C (hasClassDefaults): new method. Returns true if
11054 the buffer parameters correspond to known class defaults
11056 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11058 * XFormsView.C (show): set minimum size to the main window.
11060 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11062 * text2.C (copySelection):
11064 * lyxfind.C (LyXReplace):
11065 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11066 LyXText::selectionAsString.
11068 * paragraph.C (asString): add "label" argument to the second form
11070 * text2.C (selectionAsString): add "label" argument and pass it to
11071 Paragraph::asString.
11073 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11075 * lyx_main.C (commandLineHelp): remove version information
11077 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11079 * lyx_main.C: add -version commandline option
11081 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11083 * paragraph.h: make the optional constructor arg required instead.
11084 some modifications to other files because of this.
11086 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11088 * lyxserver.C (C_LyXComm_callback): make it static
11090 * lyx_main.C (error_handler): make it static
11092 * lyx_gui.C (LyX_XErrHandler): make it static
11094 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11096 * WorkArea.C: make the extern "C" methods static.
11098 * Makefile.am (lyx_LDADD): simplify
11100 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11102 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11103 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11105 * LyXAction.C (init):
11106 * lyxfunc.C (dispatch): associated code removal.
11108 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11110 * lyxfont.h (isSymbolFont): shut off warning
11112 * text.C (setHeightOfRow):
11113 (getVisibleRow): fix crash with empty paragraphs which have a
11116 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11118 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11121 2001-09-04 José Matos <jamatos@fep.up.pt>
11124 * tabular.C (docbook): rename docBook method to docbook.
11126 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11128 * Makefile.am: add dependencies to main.o.
11130 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11132 * FontLoader.C (available): Return false if !lyxrc.use_gui
11134 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11136 * FontInfo.C (query):
11137 * converter.C (view):
11138 * importer.C (Import):
11139 * exporter.C (Export): Can not -> cannot.
11141 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11143 * BufferView_pimpl.C: allow to create index inset even if
11146 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11148 * buffer.C (getLists): replace boost::tie code with an explicit pair
11149 as boost::tie can break some compilers.
11151 * iterators.h: Added a std:: declaration to the return type of
11154 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11156 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11159 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11161 * iterators.[Ch]: New files. Provide paragraph iterators.
11163 * buffer.C (changeLanguage): Use paragraph iterators.
11164 (isMultiLingual): ditto
11166 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11168 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11170 * FontLoader.C: Support for cmr font.
11172 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11174 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11175 (available): New method.
11177 * FontInfo.C (getFontname): Use scalable fonts even when
11178 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11181 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11183 * converter.C (Formats::view): reverted! Incorrect fix.
11185 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11187 * converter.C (Formats::view): only output the -paper option
11188 if the dvi viewer is xdvi, thereby fixing bug #233429.
11190 2001-08-23 Herbert Voss <voss@perce>
11192 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11194 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11196 * Spacing.h (Spacing): Set space to Default on in the default
11199 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11201 * vc-backend.h (RCS::versionString): add RCS to version
11202 (CVS::versionString): add CVS to version
11204 * vc-backend.C (scanMaster): do not add CVS to version.
11205 (scanMaster): do not add RCS to version
11207 * lyxvc.C (versionString): new method
11209 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11211 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11213 * Spacing.C (set): initialize fval
11215 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11217 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11220 2001-08-16 Juergen Vigna <jug@sad.it>
11222 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11224 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11226 * BufferView_pimpl.C:
11229 * text2.C: setParagraph takes linespacing now
11231 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11233 * LyxAction.C: add internal LFUN_CITATION_INSERT
11235 * LyXView.C: actually apply fix
11237 * bufferlist.C: fix open non-existent file
11239 * lyxfind.C: fix indentation
11241 * lyxfunc.C: remove unneeded assert, fix typo
11243 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11245 * MenuBackend.C: use "Floatname List"
11247 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11249 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11250 when converting LaTeX layout to insetERT.
11251 Generate a non-collapsed float when reading old float
11253 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11255 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11258 2001-08-13 Juergen Vigna <jug@sad.it>
11260 * text.C (fill): return 0 instead of 20 as this seems to be the more
11263 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11265 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11268 2001-08-13 Juergen Vigna <jug@sad.it>
11270 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11272 (SearchBackward): comment out the unlocking of the inset_owner this
11273 should not be needed!
11275 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11277 * Many files: Remove inherit_language, and add latex_language
11279 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11280 collapsible insets.
11282 2001-08-10 Juergen Vigna <jug@sad.it>
11284 * text.C (prepareToPrint): fixed hfill-width in draw!
11286 * BufferView2.C (selectLastWord): save the selection cursor as this
11287 now is cleared in the function LyXText::clearSelection!
11289 2001-08-08 Juergen Vigna <jug@sad.it>
11291 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11292 BACKSPACE type functions.
11294 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11295 is only cutted from the document but not put in the cut-buffer, where
11296 still the old stuff should be.
11298 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11300 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11302 * tabular.C (SetWidthOfCell): fixed special case where the width
11304 (LeftLine): handle '|' in align_special.
11306 (LeftAlreadyDrawed): ditto
11307 (SetWidthOfCell): ditto
11309 2001-08-07 Juergen Vigna <jug@sad.it>
11311 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11313 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11315 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11316 * lyxlex.[hC]: ditto
11318 2001-08-06 Juergen Vigna <jug@sad.it>
11320 * text.C (getVisibleRow): fix up row clearing a bit.
11322 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11324 * minibuffer.C: make sure the X server sees the changes in the input.
11326 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11328 * paragraph.C (getFont): split into...
11329 (getLabelFont): this
11330 (getLayoutFont): and this
11331 * paragraph_pimpl.C (realizeFont): calling this
11333 * text2.C (getFont): split into...
11334 (getLayoutFont): this
11335 (getLabelFont): and this
11336 (realizeFont): all three calling this
11338 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11341 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11343 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11345 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11347 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11348 layouts from the Quote inset insertion.
11350 2001-08-03 Juergen Vigna <jug@sad.it>
11352 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11354 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11355 only if status not is already CHANGED_IN_DRAW (second level).
11357 * text.C (draw): don't set the need_break_row when inside an
11360 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11362 * buffer.C (parseSingleLyXformat2Token): handle more latex
11365 * bufferview_funcs.[hC]: change function names to
11366 begin with small char, adjust other files.
11368 2001-08-02 André Pönitz <poenitz@gmx.net>
11371 BufferView_pimpl.C: remove broken special code for math-greek
11373 2001-08-02 Juergen Vigna <jug@sad.it>
11375 * BufferView_pimpl.C (update): redone this function so that we
11376 update the text again if there was a CHANGE_IN_DRAW.
11378 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11379 (drawFromTo): added a new internal bool which is used by draw() and
11381 (general): some cursor drawing problems fixed.
11383 2001-08-01 Juergen Vigna <jug@sad.it>
11385 * lyxfind.C (LyXFind): fixed
11386 (SearchForward): ditto
11387 (SearchBackward): ditto
11389 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11390 spurius drawing of the cursor in the main area.
11392 * text2.C (status): small fix which could lead to a segfault!
11393 (clearSelection): remove unneeded BufferView param.
11395 2001-08-01 André Pönitz <poenitz@gmx.net>
11397 * lyxfunc.C: small change due to changed mathed interface
11399 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11401 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11403 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11405 * lyxfunc.c: fail gracefully if file doesn't exist
11410 * BufferView_pimpl.C: IsDirWriteable() proto changed
11412 * LyXView.C: fix updateWindowTitle() to store the last title
11414 2001-07-31 Juergen Vigna <jug@sad.it>
11416 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11417 the font (wrong since using of Paragraph::highestFontInRange).
11419 * paragraph.C (highestFontInRange): added a default_size parameter.
11421 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11422 (setHeightOfRow): reformat
11424 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11426 * converter.[hC] + affected files: move to (inital-char)lowercase
11429 * ParagraphParameters.C (ParagraphParameters): remove commented code
11431 * PainterBase.[Ch]: remove commented code
11433 * LaTeXFeatures.h: add "bool floats" for float.sty
11435 * LaTeXFeatures.C (LaTeXFeatures): init floats
11436 (require): handle float
11437 (getPackages): do it with floats
11439 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11441 * BufferView_pimpl.C (Dispatch): improve handling of
11442 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11444 * commandtags.h: #include lyxfont.h here temporarily to avoid
11447 * bufferlist.h: include LString.h here.
11449 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11451 * text2.C (getStringToIndex): new method.
11453 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11455 * *: Reduced header file dependencies all over.
11457 2001-07-30 Baruch Even <baruch@lyx.org>
11459 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11461 2001-07-29 Baruch Even <baruch@lyx.org>
11463 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11465 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11467 * ParameterStruct.h (endif): add a default constructor to make
11468 sure that all variables is initialized.
11470 * ParagraphParameters.C (ParagraphParameters): adjust
11472 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11474 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11475 index; also, check that there is something to index, and that it
11476 does not span over several paragraphs.
11477 (doubleClick): use WHOLE_WORD_STRICT for double click.
11479 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11481 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11484 2001-07-26 Baruch Even <baruch@lyx.org>
11486 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11487 an InsetFig figure, backwards compatible reading of old figure code.
11489 2001-07-27 Juergen Vigna <jug@sad.it>
11491 * text2.C: font.realize function adaption.
11493 * text.C (draw): add a warnings lyxerr text if needed.
11495 * layout.C: font.realize function adaption.
11497 * language.C: add inherit_language and implement it's handlings
11499 * bufferview_funcs.C (StyleReset): remove language parameter from
11500 font creation (should be language_inherit now).
11502 * bufferparams.C (writeFile): handle ignore_language.
11504 * paragraph.C (getFontSettings): the language has to be resolved
11505 otherwise we have problems in LyXFont!
11507 * lyxfont.C (lyxWriteChanges): added document_language parameter
11508 (update): removed unneeded language parameter
11510 * paragraph.C (validate): fixed wrong output of color-package when
11511 using interface colors for certain fonts in certain environments,
11512 which should not seen as that on the final output.
11514 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11516 * BufferView_pimpl.C:
11521 * LyXAction.C: add thesaurus support
11524 * lyxfind.C: add "once" parameter, for thesaurus, to not
11525 move to the next match
11527 2001-07-26 Juergen Vigna <jug@sad.it>
11529 * lyxfont.C (realize): honor ignore_language too!
11532 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11534 * text.C (draw): one place more for ignore_language to not draw
11537 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11539 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11541 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11543 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11544 the minipage conversion problem.
11546 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11548 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11551 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11553 * BufferView.h: don't forward declare WorkArea
11555 * BufferView.C: don't include WorkArea.h
11557 2001-07-25 André Pönitz <poenitz@gmx.net>
11561 * lyxfunc.C: new LFUN 'math-space'
11563 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11565 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11567 * text2.C (toggleInset): call open/close
11569 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11571 * lyxfunc.C (dispatch): add debug for the disabled case
11573 * font.C (buttonText): make similar to rectText
11575 * buffer.C (readInset): comment out parsing of insetlist and
11578 * PainterBase.C (rectText): small correction
11580 * BufferView_pimpl.C: comment out insettheorem and insetlist
11581 * LyXAction.C: ditto
11582 * commandtags.h: ditto
11584 2001-07-24 Juergen Vigna <jug@sad.it>
11586 * text.C (draw): honor the ignore_language.
11588 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11590 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11592 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11595 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11597 * lyxtext.h: remove unused (and unimplemented) methods
11599 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11601 * text.C (getVisibleRow): honor background color
11604 * Painter.h: remove default color argument for fillRectangle
11606 * text.C (backgroundColor): new method
11608 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11610 * text.C (getVisibleRow): adjust
11612 * font.[Ch] (rectText): new method, metrics
11613 (buttonText): new method, metrics
11615 * PainterBase.[hC]: make rectText and buttonText always draw and take
11618 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11620 * ToolbarDefaults.C (read):
11621 * MenuBackend.C (read): allow escaping in all strings
11623 * BufferView_pimpl.C (insertAndEditInset): new method.
11624 (Dispatch): use insertAndEditInset whenever appropriate.
11626 * BufferView_pimpl.C (insertNote): removed
11628 * BufferView_pimpl.C (smartQuote): new method, moved from
11629 BufferView; if an insetquote cannot be inserted, insert a '"'
11632 * BufferView2.C: remove insertCorrectQuote();
11634 * lyxfunc.C (getStatus): Add support for all remaingin
11635 inset-insert lfuns.
11637 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11639 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11640 command (necessary to pass " as parameter of self-insert.
11642 * text.C (selectWordWhenUnderCursor):
11643 (selectWord): add word_location parameter
11644 (selectWordWhenUnderCursor): same + remove special code for word
11646 (selectNextWord): use kind() to guess type of insetspecialchar,
11649 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11650 (insertErtContents): create ert insets as collapsed.
11651 (readInset): better compatibility code for Info inset.
11653 2001-07-20 Juergen Vigna <jug@sad.it>
11655 * lyxfunc.C (dispatch): use always LyXFind now!
11657 * text2.C (init): add a reinit flag so that the LyXText can be
11658 reinited instead of deleted and reallocated (used in InsetText).
11660 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11666 2001-07-18 Juergen Vigna <jug@sad.it>
11668 * text.C (selectNextWord): handle insets inside inset by calling
11669 always the bv->text functions so that we can go up the_locking_inset!
11671 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11672 in strange locations when inside an inset!
11674 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11675 handling to include insets.
11677 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11679 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11681 * LyXAction.C (init):
11683 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11684 LIGATURE_BREAK, since the name is so stupid.
11686 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11688 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11691 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11693 * sp_form.[Ch]: remove.
11695 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11697 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11700 * src/buffer.C (readInset): ditto.
11702 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11704 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11705 menuSeparator(), endOfSentenceDot(), ldots() and
11706 hyphenationPoint(), which are therefore removed.
11707 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11709 * LyXAction.C (init):
11710 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11712 * paragraph.C (getWord): removed.
11714 * BufferView_pimpl.C (Dispatch): use last word or selection for
11715 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11717 * lyx_main.C (queryUserLyXDir): do not ask before creating
11718 user_dir, except if it has been named explicitely.
11720 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11722 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11723 a document of zero size.
11725 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11727 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11728 approriately in the c-tor and in require().
11729 (getPackages): output the appropriate LaTeX for natbib support.
11731 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11732 variables "use_natbib" and "use_numerical_citations" when reading the
11734 (readInset): read the various natbib cite commands.
11735 (validate): white-space change.
11737 * bufferparams.[Ch]: new variables "bool use_natbib" and
11738 "bool use_numerical_citations".
11739 (writeFile): output them in the LyX file.
11741 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11743 * lyxfunc.C (getStatus): add support for all the inset insertion
11746 * text2.C (insertInset):
11747 * paragraph.C (insetAllowed):
11748 * BufferView_pimpl.C (insertInset): update to take in account the
11749 renaming of insertInsetAllowed
11751 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11753 * text2.C (getInset): new method. returns inset at cursor position.
11755 * BufferView_pimpl.C (Dispatch): changes because of this.
11757 * LyXAction.C (init): rename open-stuff to inset-toggle.
11759 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11761 * text2.C (toggleInset): renamed from openStuff; use
11764 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11766 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11768 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11770 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11772 * buffer.C (readLyXformat2): Add filename to the error dialog
11774 2001-07-18 Juergen Vigna <jug@sad.it>
11776 * tabular.C (GetCellNumber): put an assert here instead of the check!
11778 2001-07-17 Juergen Vigna <jug@sad.it>
11780 * BufferView_pimpl.C (toggleSelection): adapted too.
11782 * text.C (selectNextWord): adapted for use with insets.
11783 (selectSelectedWord): ditto
11785 2001-07-17 Juergen Vigna <jug@sad.it>
11787 * sp_spell.C (PSpell): fix initialitation order.
11789 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11791 * paragraph.C: spacing
11793 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11795 * sp_spell.C: repair language selection for pspell
11797 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11799 * lyxfunc.h: change more methods to begin with lower char.
11801 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11803 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11804 for unknown layouts.
11806 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11808 * buffer.C (readLyXformat2): Generate an error dialog if there are
11811 2001-07-16 Juergen Vigna <jug@sad.it>
11813 * sp_spell.C: always compile ISpell part.
11815 * lyxrc.C: added use_pspell entry and it's handling.
11817 2001-07-13 Juergen Vigna <jug@sad.it>
11819 * sp_spell.C: removed double includes.
11821 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11823 Consistent use of Lsstream.h:
11824 * Lsstream.h: added using std::stringstream for consistencies sake.
11826 * buffer.C: removed using std::stringstream
11828 * lyxfont.C (stateText):
11829 * paragraph.C (asString):
11830 * text.C (selectNextWord, selectSelectedWord):
11831 * text2.C (setCounter):
11832 * vspace.C (asString, asLatexString):
11833 std::ostringstream -> ostringstream.
11835 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11837 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11838 * commandtags.h: add LFUN_HELP_ABOUTLYX
11839 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11841 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11843 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11845 * lyx_gui_misc.C: remove spellchecker
11846 * lyxfunc.C: showSpellchecker
11848 * sp_ispell.h: added
11849 * sp_pspell.h: added
11850 * sp_spell.C: added
11851 * sp_form.[Ch]: removed
11852 * spellchecker.[Ch]: removed
11854 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11856 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11858 (simpleTeXSpecialChars): Simply print the input character without
11859 any special translation if pass_thru is set.
11861 * layout.h: Added bool pass_thru to layout class for being able to
11862 implement pass through of a paragraph for Literate Programming.
11864 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11865 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11866 * layout.C (Read): add "passthru" to list of layout tags and add
11867 code to set the pass_thru boolean when it is read.
11869 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11871 * trans_decl.h: remove allowed from KmodInfo
11873 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11874 remove allowed code
11877 * paragraph_pimpl.C (erase): use boost::prior
11879 * Painter.C (text): use data() instead of c_str() when length is
11881 * WorkArea.C (putClipboard): ditto
11882 * font.h (width): ditto
11884 * BufferView2.C: use it-> instead of (*it). for iterators
11886 * paragraph_pimpl.C: ditto
11887 * paragraph.C: ditto
11888 * minibuffer.C: ditto
11889 * language.C: ditto
11891 * encoding.C: ditto
11892 * counters.C: ditto
11893 * converter.C: ditto
11895 * Variables.C: ditto
11896 * TextCache.C: ditto
11897 * MenuBackend.C: ditto
11898 * LyXAction.C: ditto
11900 * FloatList.C: ditto
11901 * DepTable.C: ditto
11902 * ColorHandler.C (LyXColorHandler): ditto
11904 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11906 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11908 * text2.C (openStuff): reintroduce this method (which had been
11909 nuked in NEW_INSETS frenzy).
11911 * lyxfunc.C (Dispatch): when an action has not been handled, use
11912 its name in the error message, not its number.
11914 * paragraph.C (inInset): change method name to begin with lowercase.
11917 * text2.C: updates because of this.
11919 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11921 * ToolbarDefaults.C (add): add spaces in error message
11923 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11925 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11926 (readLyXformat2): rename return_par to first_par, use lyxlex's
11927 pushToken and remove the manual push handling.
11928 (parseSingleLyXformat2Token): add another ert comp. variable:
11929 in_tabular, rename return_par to first_par. handle newlines better
11931 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11933 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11935 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11937 * text2.C (getParFromID): removed
11939 * buffer.C (getParFromID): new method moved form lyxtext.
11940 * BufferView2.C (insertErrors): adjust
11941 (setCursorFromRow): adjust
11942 * BufferView_pimpl.C (restorePosition): adjust
11943 * lyxfunc.C (Dispatch): adjust
11944 * undo_funcs.C (textUndo): adjust
11946 (textHandleUndo): adjust
11947 (textHandleUndo): adjust
11949 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11951 * buffer.C: up' the LYX_FORMAT
11953 * lyxfont.h: turn NO_LATEX on as default
11955 * buffer.C (insertErtContents): new methods of tex style compability.
11956 (parseSingleLyXformat2Token): use it several places.
11957 * tabular.C (OldFormatRead): and here
11959 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11961 * text2.C: remove some commented code.
11964 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11965 * trans.C: changes because of the above.
11967 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11969 * text2.C (setCounter): Fix counters bug with bibliography layout.
11971 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11973 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11974 own member functions
11975 (simpleTeXSpecialChars): ditto
11977 2001-07-06 Juergen Vigna <jug@sad.it>
11979 * a lot of files: changed the access to LyXText::status and the
11980 call of undo-functions.
11982 * undo.[Ch]: added a inset_id to the undo informations.
11984 * undo_funcs.[Ch]: added and moved here all undo functions.
11986 * lyxtext.h: give the status enum a weight, made status_ a private
11987 variable and made accessor functions for it, removed the whole bunch
11988 of undo-functions as they are now in their own file, make some
11989 functions publically available. Added function ownerParagraph with
11992 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11993 made InInset() a const function, added getParFromID() function.
11995 * buffer.[Ch]: added const version for inset_iterator functions,
11996 added getInsetFromID() function.
11998 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11999 changed undo functions for new version.
12001 2001-07-05 Juergen Vigna <jug@sad.it>
12003 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12004 unknow mechanism does not call the proper constructor but only this
12005 one also if I request the other!?
12007 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12009 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12011 * text2.C (LyXText): use initialization lists.
12013 * lyxtext.h (Selection): initialize set_ and mark_
12014 (init): remove method
12016 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12018 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12020 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12022 * screen.[Ch]: change method names to begin with lowercase
12024 * BufferView_pimpl.C (updateScrollbar): simplify further and
12025 hopefully make it a bit faster.
12027 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12029 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12030 calling directly xforms functions.
12032 * Painter.C (Painter):
12033 * lyx_cb.C (MenuWrite):
12034 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12037 * lyx_gui.C: remove bogus guiruntime extern declaration.
12039 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12041 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12043 (redoDrawingOfParagraph): ditto
12044 (redoParagraphs): ditto
12045 (cutSelection): don't create a object for CutAndPaste use the
12046 static method directly
12047 (pasteSelection): ditto
12049 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12052 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12054 * modifications to some other files because of this.
12056 * Makefile.am (lyx_SOURCES): add XFormsView
12058 * XFormsView.[Ch]: new files
12060 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12061 the main window. Move the gui dependent stuff to XFormsView
12063 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12065 * tabular.C (GetCellInset): update cur_cell also in the row/col
12066 version of this function.
12068 * lyxfunc.C: no need to include figure_form.h here.
12074 * lyxvc.C: no need to include forms.h here.
12076 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12078 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12080 * lyxfunc.C (Dispatch):
12082 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12083 constructor argument.
12085 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12087 * paragraph.C (Paragraph): dont't clear, and just set layout.
12088 (makeSameLayout): use params's copy contructor.
12090 * ParagraphParameters.[Ch] (makeSame): delete method
12092 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12094 * Variables.[Ch]: fix indentation, rename set to isSet
12096 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12098 * lyxfunc.C (Dispatch): fix typo
12100 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12102 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12105 * bufferlist.C: include assert.h for emergencyWrite().
12107 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12109 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12110 give up at last (bug #425202) !
12112 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12118 * spellchecker.C: strip spellchecker options and bring up
12119 preferences tab instead
12121 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12123 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12124 the istringstream constructor
12126 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12128 * paragraph.C (getLayout): fix return value
12130 * paragraph.h: do not declare getLayout as inline.
12132 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12134 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12136 * lyxcursor.h (operator<): new func
12137 (operator>): new func
12138 (operator>=): new func
12139 (operator<=): new func
12141 * text.C (changeCase): use selection.start and selection.end
12142 (changeRegionCase): require from to be <= to. Require par to be a
12145 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12147 2001-06-27 Juergen Vigna <jug@sad.it>
12149 * text.C (cursorLeftOneWord): changed to return the cursor and added
12150 overlay with BufferView * parameter which calls this one.
12152 (selectWord): use new getWord function.
12153 (changeCase): renamed from changeWordCase as and extended to work
12154 also on selections.
12156 * lyxtext.h: added enum word_location
12158 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12159 changeCase as this operates now also on selections.
12161 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12163 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12165 * many files: send debug output to Debug::INFO instead of
12168 * converter.C (View):
12170 (Move): send debug output to Debug::FILES instead of console.
12172 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12174 * lyxfunc.C (getStatus): use func_status
12176 * func_status.h: new header, describing the results of
12177 LyXFunc::getStatus;
12179 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12182 2001-06-25 The LyX Project <jug@sad.it>
12184 * buffer.C (sgmlOpenTag):
12186 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12188 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12190 * text2.C: remove some dead code
12192 * tabular.C (GetCellInset): store the last cell checked (gotten)
12194 * tabular.h: add the helper for the speedup
12196 * lyxtext.h: remove some dead code
12198 2001-06-26 The LyX Project <Asger>
12200 * paragraph.C: Change export to LaTeX of alignment to
12201 \begin{center} and family for better roundtrip work with reLyX.
12203 * Tune the math drawing a bit.
12205 2001-06-25 The LyX Project <Asger>
12207 * LColor.C (LColor): New color for math background. New color
12210 2001-06-25 The LyX Project <jug@sad.it>
12212 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12214 * lyxfunc.C (Open):
12215 * bufferlist.C (newFile): do not restrict to files ending with
12218 * BufferView_pimpl.C (MenuInsertLyXFile):
12220 2001-06-24 The LyX Project <jug@sad.it>
12222 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12225 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12227 * lyxtext.h: rename most methods to begin with a small char.
12228 Lots of changes because of this.
12230 * paragraph.C (Paragraph): do not call fitToSize
12231 (erase): call Pimpl::erase
12232 (insertChar): call Pimpl::insertChar
12233 (insertInset): call Pipl::insertInset
12234 (breakParagraph): do not call fitToSize
12235 (breakParagraphConservative): do not call fitToSize
12236 (fitToSize): remove method
12238 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12240 2001-06-24 The LyX Project <Asger>
12242 * Fix Qt compilation^2
12244 2001-06-24 The LyX Project <jug@sad.it>
12246 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12247 depthHook(getDepth()-1).
12250 * ParagraphParameters.h:
12251 * ParameterStruct.h: change type of depth to unsigned int ==
12252 depth_type. Many adaptations to other files before of that.
12254 2001-06-24 The LyX Project <Asger>
12256 * Fix Qt compilation.
12258 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12260 * paragraph.h: renamed several methods to begin with small letter.
12261 several changes to many parts of the code because of this.
12263 2001-06-23 The LyX Project <jug@sad.it>
12265 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12266 rewritten to discard all double spaces when KeepEmpty is off
12267 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12268 to only handle newlines but not fiddle with spaces and friends.
12270 * lyxfunc.C (MenuNew): when doing 'new from template', use
12271 template_path as default directory
12273 2001-06-23 The LyX Project <Asger>
12275 * Clean-up of header file includes all over
12276 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12278 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12280 * paragraph.h: renamed from lyxparagraph.h
12282 2001-06-23 Asger <lyx@violet.home.sad.it>
12284 * Buffer.h: Removed Buffer::resize
12285 * BufferList.h: Removed BufferList::resize
12286 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12287 the document lazily when we change the width, or the font settings.
12289 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12291 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12293 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12295 * buffer.h: remove out of date comment
12297 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12300 * screen.C: fix "theoretical" GC leak
12302 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12304 * LaTeX.C (scanAuxFile):
12305 (deplog): remove trailing \r when reading stream (useful under
12308 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12310 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12311 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12312 and BufferView::theLockingInset(Inset*), so should use them and not
12313 access bv_->text->the_locking_inset directly.
12315 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12317 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12320 * tex-defs.h: remove old unused file
12322 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12324 * BufferView_pimpl.C: fix typo, remove minibuffer message
12325 when buffer has loaded
12327 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12329 * lyxfunc.C (Dispatch): use stringstream
12330 (MenuNew): use stringstream
12331 (Open): use stringstream
12333 * importer.C (Import): use stringstream
12335 * bufferview_funcs.C (CurrentState): use stringstream
12337 * LaTeX.C (run): use stringstream
12339 * BufferView_pimpl.C (savePosition): use stringstream
12340 (restorePosition): use stringstream
12341 (MenuInsertLyXFile): use stringstream
12343 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12356 * vspace.C: removed // -*- C++ -*- as first line.
12359 * version.h: added // -*- C++ -*- as first line.
12361 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12363 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12365 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12368 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12370 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12373 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12375 * gettext.C: include LString.h even when --disable-nls is on.
12377 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12379 * converter.h (Get): changed argument type from int to
12380 FormatList::size_type to avoid unnecessary conversion.
12382 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12385 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12387 * gettext.h: include LString.h even when --disable-nls is on.
12389 2001-06-07 Juergen Vigna <jug@sad.it>
12391 * text.C (BreakAgain): subst spaces with tabs.
12393 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12394 (resizeInsetsLyXText): set force on resizeLyXText.
12396 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12398 * gettext.h (gettext_init):
12399 (locale_init): use a real definition instead of a macro
12401 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12403 * Bufferview_pimpl.C:
12405 * LColor.C: further lcolor tidies
12407 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12409 * BufferView_pimpl.C (updateScrollbar): simplify.
12411 * BufferView2.C: don't include insets/insetinfo.h, change
12412 prototype for insertInset and call the Pimpl version. let
12413 updateInset call Pimpl version.
12415 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12416 gotoInset to BufferView::Pimpl
12418 2001-06-01 Juergen Vigna <jug@sad.it>
12420 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12421 inside a LockingInset (is the update needed at all?).
12423 2001-05-31 Juergen Vigna <jug@sad.it>
12425 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12426 here not the old one otherwise how should we compare it afterwards
12429 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12434 * FontInfo.C: bring C functions into global namespace when
12437 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12439 * LString.h: make sure config.h has been loaded before LString.h.
12441 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12442 (one for each char read by EatLine!).
12444 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12447 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12449 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12450 to the same as the par we break from
12452 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12454 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12456 * MenuBackend.C (expand): also create menu entries for wide
12457 versions of the floats.
12459 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12461 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12463 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12464 frontends/Makefile.am
12470 * tabular.C (getTokenValue): add std::
12472 * tabular-old.C (getTokenValue): add std::
12473 (getTokenValue): ditto
12474 (getTokenValue): ditto
12476 * screen.C (ToggleSelection): adjust
12478 * lyxtext.h: put selection cursors inside a Selection struct.
12480 * lyxfunc.C (moveCursorUpdate): adjust
12482 * lyxfont.C (latexWriteStartChanges): add std::
12484 * lyxfind.C: adjust
12486 * font.h: delete with(char const *, LyXFont const &)
12488 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12490 * FontInfo.C (getFontname): add std::
12492 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12493 (workAreaButtonPress): adjust
12494 (tripleClick): adjust
12496 (moveCursorUpdate): adjust
12499 * BufferView2.C (gotoInset): adjust
12501 2001-05-30 Juergen Vigna <jug@sad.it>
12503 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12504 to check pspell I add this as default as I now have new pspell
12505 libraries and they seem to use this.
12507 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12509 * text2.C (CutSelection): make the cursor valid before the call to
12512 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12514 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12515 relied on 0 terminated strings and other horrors. Bug found due to
12516 the new assert in lyxstring!
12518 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12521 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12523 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12526 * lyxfunc.C (processKeySym): change method of getting to the
12529 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12530 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12531 * BufferView_pimpl.[Ch]: here as private methods.
12533 2001-05-28 Juergen Vigna <jug@sad.it>
12535 * text.C (SetHeightOfRow): added the update() call again as it is
12536 needed to initialize inset dimensions!
12538 2001-05-16 Juergen Vigna <jug@sad.it>
12540 * text2.C (SetCharFont): Add new function with BufferView * and
12541 bool toggleall parameters for setting insets internal fonts.
12542 (SetFont): Freeze the undo as we may change fonts in Insets and
12543 all this change should be inside only one Undo!
12545 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12546 setting font's in insets as for them we have the SetFont function!
12548 2001-05-15 Juergen Vigna <jug@sad.it>
12550 * text2.C (ClearSelection): to be sure we REALLY don't have any
12553 * tabular.C (TeXCellPreamble): fixed the left border problem for
12556 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12558 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12561 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12563 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12564 LFUN_BREAKPARAGRAPH.
12566 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12567 help test to "internal only", similar for LFUN_INSERT_URL
12569 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12570 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12571 auto_region_delete and deadkeys.
12573 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12576 * LColor.C: remove some dead entries, tidy a little
12578 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12580 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12582 (Dispatch): implement LFUN_ESCAPE
12584 * commandtags.h: add LFUN_ESCAPE
12586 * LyXAction.C (init): add entry for LFUN_ESCAPE
12588 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12589 Remove commented code.
12590 (insertNote): moved here
12591 (open_new_inset): moved here
12593 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12596 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12598 * kbmap.C (findbinding): clean it up and make it work correctly.
12600 * lyx_main.C (init): do not pass argc and argv as parameters
12602 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12604 * buffer.C: fix path for OS/2 & Win32
12608 * lyx_main.C: Added os:: class.
12610 * os2_defines.h: update
12612 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12614 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12615 better by trying again with reduced state.
12617 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12619 * lyxrc.C (read): print error about invalid key sequence only when
12620 debugging (because not all latinX keysyms are known to some X
12623 * kbsequence.C (getiso): add a few std:: qualifiers
12624 (getiso): comment out extra return statement.
12626 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12628 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12630 (Dispatch): enhance the accent inset a bit. (not perfect)
12632 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12634 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12636 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12638 * bufferlist.C (emergencyWrite): fix assert() call
12640 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12642 * text.C (InsertChar): Added trivial patch to only send the "you
12643 can not do multiple spaces this way" message once during a
12646 2001-05-08 Baruch Even <baruch@lyx.org>
12648 * Makefile.am: Changed order of libraries to get LyX to link properly
12649 with the gnome frontend.
12651 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12653 * LaTeXFeatures.h: add a std:: qualifier
12655 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12657 * paragraph.C (String): use stringstream
12659 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12661 * paragraph.C (writeFile): remove footflag arg
12663 * buffer.C (makeLaTeXFile): use stringstream
12664 (latexParagraphs): remove footnot gurba
12666 * LaTeXFeatures.C (getPackages): use stringstream
12667 (getMacros): likewise
12668 (getTClassPreamble): likewise
12669 (getFloatDefinitions): new method
12671 * paragraph.C (writeFile): reindent
12674 * WorkArea.h: revert the xpos + etc changes.
12676 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12678 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12680 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12681 (pasteSelection): likewise
12682 * text2.C (CreateUndo): likewise
12684 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12686 * minibuffer.C (peek_event): temporarily reduce the functionality
12687 of the minibuffer (to allow args on lfuns)
12689 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12690 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12692 * buffer.C (readInset): add compability reading of old float
12693 lists, add reading of new style float list.
12694 (readInset): avoid reevaluation of inscmd.getCmdName()
12695 (getLists): reindent
12697 * MenuBackend.C (MenuItem): implement parsing of
12698 md_floatlistinsert and md_floatinsert.
12699 (expand::LastFiles): move initalizaton of iterators out of loop,
12700 avoid reevaluation.
12701 (expand::Documents): introduce typdedef vector<string> Strings,
12703 (expand::ExportFormats): introduce typedef vector<Format const *>
12704 Formats, and use it.
12705 (expand): implement FloatListInsert and FloatInsert.
12707 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12708 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12709 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12711 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12713 (Dispatch::LFUN_FLOAT_LIST): implement
12715 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12717 * LaTeX.C (run): Fix problem with --export code.
12719 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12721 * BufferView.[Ch] (workarea): removed.
12722 (getClipboard) new method; wrapper for workarea()->getClipboard()
12724 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12727 * WorkArea.h (width, height, xpos, ypos): These methods all
12728 returned the dimensions of the work_area sub-area of WorkArea,
12729 resulting in a position error if the WorkArea were resized. Now
12730 return the dimensions of the entire WorkArea.
12732 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12734 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12736 * LaTeX.C (deplog): correct the syntax of regex reg1
12738 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12740 * undo.C: remove !NEW_INSETS cruft
12742 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12744 * text2.C: remove !NEW_INSETS cruft
12746 * text.C: remove !NEW_INSETS cruft
12748 * tabular.C: remove !NEW_INSETS cruft
12750 * spellchecker.C: remove !NEW_INSETS cruft
12752 * lyxtext.h: remove !NEW_INSETS cruft
12754 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12756 * lyxfunc.C: remove !NEW_INSETS cruft
12758 * lyxfind.C: remove !NEW_INSETS cruft
12760 * lyx_cb.C: remove !NEW_INSETS cruft
12762 * figureForm.C: remove !NEW_INSETS cruft
12764 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12766 * buffer.[Ch]: remove !NEW_INSETS cruft
12768 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12770 * CutAndPaste.C: remove !NEW_INSETS cruft
12772 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12774 * BufferView2.C: remove !NEW_INSETS cruft
12776 * BufferView.h: remove !NEW_INSETS cruft
12778 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12780 * Lsstream.h: include LString.h before the sstream headers to
12781 fix problem with gcc 2.95.3 and lyxstring
12783 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12785 * lyx_main.C: add using directives when needed for C functions
12786 declared in std:: namespace.
12788 2001-04-27 Juergen Vigna <jug@sad.it>
12790 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12791 (SetHeightOfRow): comment out the update call should not be needed!
12793 2001-04-13 Juergen Vigna <jug@sad.it>
12795 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12796 (LyXTabular): tried to minimize operator= operations (and realized
12797 hopfully Lars wish).
12799 2001-04-27 Juergen Vigna <jug@sad.it>
12801 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12803 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12805 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12807 * buffer.C (readInset): hack to make listof algorithm work
12809 * BufferView_pimpl.C: hack to make listof algorithm work
12811 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12813 * LyXAction.C: removed all !NEW_INSETS cruft
12814 (init): moved lfun_item in method
12816 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12818 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12820 * BufferView2.C (theLockingInset): white space.
12822 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12824 * minibuffer.C: include <iostream>
12826 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12828 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12830 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12832 * text.[Ch] (TransposeChars): new method
12834 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12836 * call message directly through LyXView instead of through LyXFunc
12837 * BufferView2.C: adjust
12838 * BufferView_pimpl.C: adjust
12839 * FontLoader.C: adjust
12841 * bufferview_funcs.C: adjust
12842 * converter.C: adjust
12843 * figureForm.C: adjust
12844 * importer.C: adjust
12846 * lyx_gui_misc.C: adjust
12847 * lyxfunc.C: adjust
12850 + more files in subdirs
12852 * lyxparagraph.h (size): move up int file
12855 * adjust all uses of Assert to lyx::Assert.
12857 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12858 lyxfunctional in namespace lyx
12859 * layout.C (hasLayout): ditto
12862 (delete_layout): ditto
12863 (NumberOfClass): ditto
12864 * converter.C (GetFormat): ditto
12869 * bufferlist.C (getFileNames): ditto
12870 (emergencyWriteAll): ditto
12873 * MenuBackend.C (hasSubmenu): ditto
12876 * BufferView_pimpl.C (getInsetByCode): ditto
12878 2001-04-18 Juergen Vigna <jug@sad.it>
12880 * vspace.C (asLatexString): fixed the 100% problem.
12882 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12884 * lyxfunc.C (Dispatch):
12886 * minibuffer.h: add a few std:: qualifiers
12888 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12890 * minibuffer.[Ch]: reimplement so that commands is initiated and
12891 run from lyxfunc, simplified som handling, and made the completion
12892 and history code for complete. wip.
12894 * lyxfunc.C (processKeySym): call message
12895 (miniDispatch): new temporary method
12896 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12897 (LFUN_MESSAGE): implement
12898 (LFUN_MESSAGE_PUSH): implement
12899 (LFUN_MESSAGE_POP): implement
12900 (initMiniBuffer): the initial/defualt minibuffer message.
12902 * lyxfont.[Ch]: inline some more getters
12904 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12906 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12908 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12909 (AutoSave): use LFUN_MESSAGE
12910 (Reconfigure): ditto
12912 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12914 * figureForm.C: use LFUN_MESSAGE
12916 * converter.C (runLaTeX): use LFUN_MESSAGE
12918 * bufferview_funcs.C: use LFUN_MESSAGE
12920 (changeDepth): ditto
12922 * bufferparams.h: use boost::
12924 * bufferlist.h: inherit privately from noncopyable
12926 * bufferlist.C (loadLyXFile): remove some commented code.
12928 * buffer.C (runChktex): use LFUN_MESSAGE
12930 * ShareContainer.h: inherit privately from noncopyable
12932 * ParagraphParameters.[hC] (depth): inline it.
12934 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12936 (message): new method
12937 (messagePush): ditto
12938 (messagePop): ditto
12939 (show): init minibuffer
12940 (showState): direct call
12942 * LaTeX.[Ch]: inherit privately from noncopyable
12943 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12944 instead of WriteStatus.
12946 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12948 * BufferView_pimpl.C (buffer): don't init minibuffer
12949 (workAreaButtonPress): use LFUN_MESSAGE
12950 (workAreaButtonRelease): ditto
12951 (savePosition): ditto
12952 (restorePosition): ditto
12953 (MenuInsertLyXFile): ditto
12954 (workAreaExpose): don't init minibuffer
12955 (update): remove commented code, simplify
12957 * BufferView2.C (openStuff): use LFUN_MESSAGE
12958 (toggleFloat): ditto
12961 (copyEnvironment): ditto
12962 (pasteEnvironment): ditto
12967 (updateInset): remove some commented code
12969 * lastfiles.h: inherit privately from noncopyable
12972 * lyx_main.h: ditto
12974 * lyxlex_pimpl.h: ditto
12976 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12977 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12978 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12980 * LyXAction.h: inherit privately from noncopyable, add methods
12981 func_begin, func_end, returning iterators to the func map.
12983 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12984 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12985 (func_begin): new method
12986 (func_end): new method
12988 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12990 (copySelection): ditto
12991 (pasteSelection): ditto
12993 * BufferView.C: whitespace change
12994 * BufferView.h: inherit privately from noncopyable
12996 2001-04-16 Allan Rae <rae@lyx.org>
12998 * tabular-old.C (l_getline):
12999 * spellchecker.C (sc_check_word):
13000 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13001 an unrecognised preprocessor directive. So ensure they're wrapped.
13003 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13005 * src/exporter.C (Export): Give an error message when path to file
13008 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13010 * LaTeX.C (deplog): Always check that foundfile exists.
13012 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13015 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13017 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13019 * tabular.[Ch] (getLabelList): implement new method
13021 * minibuffer.h: comment ouf setTiimer
13023 * minibuffer.C (ExecutingCB): constify res
13024 (peek_event): constify s
13025 (Set): constify ntext
13026 (Init): constify nicename
13028 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13030 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13031 (savePosition): use two params to Minibuffer::Set
13032 (restorePosition): ditto
13034 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13036 * lyx_main.C: include language.h
13038 * Makefile.am (lyx_main.o): add language.h
13040 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13046 * CutAndPaste.C: include gettext.h
13048 * lyxfont.h: remove old hack with ON and OFF.
13051 * lyxfont.h: do not include language.h...
13056 * bufferview_funcs.C:
13062 * paragraph.C: ... but do it here instead
13064 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13066 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13068 * tabular.C: small reformat
13070 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13073 (BreakParagraph): ditto
13074 (SetOnlyLayout): ditto
13077 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13080 * lastfiles.C: removed most using decl, add std:: where needed
13082 * buffer.C: ws changes
13084 * MenuBackend.C (class compare_format): put into anon namespace
13085 (expand): constify label, names, action, action2
13088 * text.C (SingleWidth): constify font
13089 (IsBoundary): constify rtl2
13090 (GetVisibleRow): constify ww
13092 * LaTeX.C (deplog): constify logfile
13094 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13096 (workAreaExpose): constify widthChange, heightChange
13098 * lyxrow.C (par): moved
13101 * lyxrow.h: as inlines here
13103 * lyxfont.h (shape): moved from lyxfont.C
13104 (emph): moved from lyxfont.C
13106 * lyxfont.C (LyXFont): use initialization list for all
13108 (shape): move to lyxfont.h as inline
13109 (emph): move to lyxfont.h as inline
13112 2001-04-04 Juergen Vigna <jug@sad.it>
13114 * vspace.C: had to include stdio.h for use of sscanf
13116 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13119 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13120 independent of xforms.
13122 2001-04-02 Juergen Vigna <jug@sad.it>
13124 * spellchecker.C: fixed namespace placing!
13126 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13128 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13129 the LyXParagraph * is 0.
13131 2001-03-29 Juergen Vigna <jug@sad.it>
13133 * vspace.C: added support for %, c%, p%, l%.
13134 (stringFromUnit): added helper function.
13135 (asLatexString): changed to give right results for the %-values.
13137 * buffer.C: convert the widthp in a width%.
13139 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13141 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13144 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13145 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13147 * lyx_cb.[Ch]: see above.
13149 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13153 * lyx.[Ch]: replaced by figure_form.[Ch].
13157 * lyxfunc.C: changed headers associated with above changes.
13159 2001-03-27 Juergen Vigna <jug@sad.it>
13161 * BufferView_pimpl.C: set the temporary cursor right!
13163 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13165 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13167 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13169 * LString.h: removed "using std::getline"!
13171 * BufferView_pimpl.C (Dispatch): changes due to changes in
13172 InsetInclude::Params.
13174 * buffer.C (tag_name): removed redundant break statements as they were
13175 producing lots of warnings with my compiler.
13177 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13179 * LString.h: add "using std::getline" when using the real <string>.
13181 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13183 * buffer.C: removed bitset usage.
13184 PAR_TAG moved to an anonymous name space.
13185 (tag_name): new funtion, also in the anonymous namespace.
13186 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13187 (makeDocBookFile): clean code. Completed transition from string arrays
13189 (SimpleDocBookOnePar): code clean.
13191 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13193 * tabular.C: add some comments.
13195 2001-03-22 Juergen Vigna <jug@sad.it>
13197 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13198 compatibility read a bit and fixed bug with minipage in different
13201 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13203 * buffer.C (pop_tag): removed.
13204 (push_tag): removed.
13205 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13206 array replaced with vector. Added support for CDATA sections.
13207 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13209 (makeDocBookFile): XML conformant declaration of CDATA section,
13210 fixed bug related to <emphasis> in the first paragraph char.
13211 (sgmlOpenTag): exclude empty tags.
13212 (sgmlCloseTag): ditto.
13214 * buffer.h (pop_tag): removed.
13215 (push_tag): removed.
13217 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13219 * language.h (Languages): added size_type and size().
13221 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13223 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13224 response on compability reading of minipages. One probliem is that
13225 the old usage of minipages was «flertydig»
13227 * several files here and in subdirs: don't use static at file
13228 scope use anon namespaces instead.
13230 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13232 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13233 LaTeX output. This is necessary for Literate document
13236 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13238 * buffer.C: insert hfill when needed.
13240 * tabular.C (l_getline): use string::erase, small whitespace change.
13242 * BufferView_pimpl.C: try the anon namespace.
13243 * WorkArea.C: ditto
13245 2001-03-16 Juergen Vigna <jug@sad.it>
13247 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13248 otherwise it won't open options-dialogs.
13250 * buffer.C: honor pextraWidth(p) on converting minipages.
13252 * tabular.C (l_getline): changed the functions to strip trailing \r.
13254 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13256 * BufferView_pimpl.C:
13257 * minibuffer..C: added "using SigC::slot" declaration.
13259 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13261 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13267 * paragraph.C: ditto
13269 * lyxtext.h: NO_PEXTRA
13271 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13273 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13274 * ParameterStruct.h: ditto
13275 * ParagraphParameters.h: ditto
13276 * lyxparagraph.h: ditto
13278 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13280 * buffer.C: add compability for minipage alignment.
13281 (latexParagraphs): remove unwanted pextra check.
13283 * several files: remove CXX_WORKING_NAMESPACES
13285 * buffer.C (pop_tag): tie is in namespace boost
13287 * BufferView.h: noncopyable is in namespace boost
13289 * lyx_main.h: ditto
13292 * lastfiles.h: ditto
13293 * bufferlist.h: ditto
13294 * ShareContainer.h: ditto
13296 * LyXAction.h: ditto
13299 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13301 * Merging changes from BRANCH_MVC back into HEAD.
13303 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13305 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13307 * BufferView_pimpl.C: change from intl.C
13311 * Makefile.am: move combox.*
13317 * intl.C: remove dialog (covered by prefs)
13319 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13321 * lyxfunc.C (Dispatch): removed redundant break statement.
13323 2001-03-14 Juergen Vigna <jug@sad.it>
13325 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13327 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13329 * buffer.C: add hack to fix compability reading of minipages.
13331 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13333 * buffer.C (getLists): Cleanup.
13335 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13337 * lyxfont.C (update): don't honor toggleall on font size.
13339 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13343 * Makefile.am: moved to frontends/xforms/
13347 * BufferView_pimpl.C: changes for moved mathpanel
13349 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13351 * gettext.h: fix gettext_init() in --disable-nls
13353 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13355 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13357 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13360 * lyx.h: strip external form
13362 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13364 * BufferView_pimpl.C: add comment, destroySplash()
13366 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13368 * BufferView_pimpl.C:
13372 * lyxfunc.C: use re-worked insetinclude
13374 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13376 * buffer.C: add using std::stringstream.
13378 * lyx_cb.C: readd using std::ios.
13380 * buffer.C: add using std::map.
13382 * BufferView_pimpl.C: add using std::vector.
13384 * ShareContainer.h: add std:: to swap.
13386 * buffer.h: add some typedefs
13387 * buffer.C (getLists): use them
13388 (getLists): renamed from getTocList.
13389 add a counter for the different float types and use it in the
13391 (getLists): use the same counter for the NEW_INSETS and the "non"
13394 * lyx_cb.h: remove unused items, includes, using etc.
13396 * ShareContainer.h: remove some commented code, add more comments
13397 and "documentation".
13399 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13401 * buffer.C (getTocList): make the list also when NEW_INSETS is
13404 * buffer.h: remove TocType
13406 * buffer.C (getTocList): change to return a map<string,
13407 vector<TocItem> >, implement for dynamic number of list.
13409 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13410 * text2.C (PasteSelection): adjust
13411 * CutAndPaste.C (pasteSelection): adjust
13413 * FloatList.C (FloatList): update from the new_insets branch.
13414 * Floating.[Ch]: ditto
13415 * LaTeXFeatures.C: ditto
13417 * lyxlex_pimpl.C: ditto
13419 * paragraph.C (Last): remove when NEW_INSETS is defined.
13421 * other file: changes because of the above.
13423 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13425 * lyxparagraph.h: rename next to next_, previous to previous_,
13426 make them private for NEW_INSETS. Rename Next() to next(),
13427 Previous() to previous().
13429 * other files: changes because of the above.
13431 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13434 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13437 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13439 * main.C (main): pass lyx_localedir to gettext_init().
13441 * gettext.h: remove locale_init and gettext_init macros
13443 * gettext.C (locale_init): new function
13444 (gettext_init): new function
13446 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13449 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13451 * Moved credits to frontends:
13452 * credits.[Ch]: removed
13453 * credits_form.[Ch]: removed
13454 * lyx_gui_misc.C: remove credits stuff
13457 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13459 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13461 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13462 unneeded destructor.
13464 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13465 a standalone pointer again.
13467 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13469 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13475 * ToolbarDefaults.C:
13484 * BufferView_pimpl.C: use new file dialog in GUII
13487 * lyx_cb.C: remove LayoutsCB to Toolbar
13489 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13491 * ShareContainer.h (get): add std:: qualifier
13493 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13495 * ShareContainer.h: define a proper ShareContainer::value_type
13496 type (and use typename to please compaq cxx)
13498 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13500 * lyxparagraph.h: move serveral local vars to
13501 ParameterStruct/ParagraphParameters., use ShareContainer in
13502 FontTable., make vars in FontTable private and add getter and
13505 * paragraph.C: changes because of the above.
13507 * lyxfont.h: remove copy constructor and copy assignment. (the
13508 default ones is ok), move number inside FontBits. move inlines to
13511 * lyxfont.C: add number to initializaton of statics, move several
13512 inlines here. constify several local vars. some whitespace
13513 cleanup. Dont hide outerscope variables.
13515 * Spacing.h: add two new constructors to match the set methods.
13517 * ShareContainer.h: new file, will perhaps be moved to support
13519 * ParameterStruct.h: new file
13521 * ParagraphParameters.h: new file
13523 * ParagraphParameters.C: new file
13525 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13526 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13528 * BufferView_pimpl.C: ParagraphParameter changes.
13529 * buffer.C: Likewise.
13530 * bufferview_funcs.C: Likewise.
13531 * text.C: Likewise.
13532 * text2.C: Likewise.
13534 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13536 * lyxfind.C (LyXReplace): do not redefine default argument in
13538 (IsStringInText): ditto
13539 (SearchForward): ditto
13540 (SearchBackward): ditto
13542 2001-03-06 Juergen Vigna <jug@sad.it>
13544 * lyxfind.C (IsStringInText): put parentes around expressions.
13546 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13548 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13550 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13552 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13554 * stl_string_fwd.h: add comment
13556 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13559 * tabular.C: remove unused DocBook methods
13565 killed DO_USE_DEFAULT_LANGUAGE
13567 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13569 * lyx_gui.C: do not include language.h.
13571 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13572 arguments in function implementation.
13574 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13576 * BufferView_pimpl.C: add <ctime>
13578 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13580 * BufferView_pimpl.C: add using std::find_if
13582 2001-02-27 José Matos <jamatos@fep.up.pt>
13584 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13587 2001-02-11 José Matos <jamatos@fep.up.pt>
13589 * buffer.C (makeDocBookFile): command styles now have a parameter as
13590 "title" by default.
13592 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13594 * layout_forms.[Ch]: removed
13595 * lyx_cb.[Ch]: out character
13596 * lyx_gui.C: out character
13597 * lyx_gui_misc.C: out character
13598 * bufferview_funcs.C: : out character,
13599 added toggleall as parameter in ToggleAndShow
13601 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13603 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13605 * text2.C (SetCurrentFont): Disable number property at boundary.
13607 2001-02-26 Juergen Vigna <jug@sad.it>
13609 * lyxfunc.C (getStatus): added a string argument override function so
13610 that this is correctly called from LyXFunc::Dispatch if it contains a
13611 do_not_use_argument which is used!
13612 (Dispatch): added check for "custom" export and call appropriate func.
13614 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13616 * lyxrc.C: Add language_command_local, language_use_babel and
13617 language_global_options.
13619 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13621 * buffer.C (makeLaTeXFile): Use language_use_babel and
13622 language_global_options.
13624 2001-02-23 Juergen Vigna <jug@sad.it>
13626 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13627 which works with LyXText and putted it inside BufferView. Here now we
13628 only call for that part the BufferView::Dispatch() function.
13630 * BufferView.C (Dispatch): added.
13632 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13633 functions which needs to use a LyXText over from LyXFunc.
13634 (MenuInsertLyXFile): added
13635 (getInsetByCode): added
13636 (moveCursorUpdate): added
13637 (static TEXT): added
13639 2001-02-22 Juergen Vigna <jug@sad.it>
13641 * BufferView_pimpl.C (update): call a status update to see if LyXText
13644 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13646 * vc-backend.C (revert): implement for CVS
13647 (getLog): implement for CVS
13649 2001-02-20 Juergen Vigna <jug@sad.it>
13651 * text2.C (ClearSelection): added BufferView param for inset_owner call
13653 * lyxfunc.C (TEXT): added this function and use it instead of
13654 directly owner->view()-text of getLyXText().
13656 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13658 * src/layout_forms.C: out preamble
13659 * src/layout_forms.h: out preamble
13660 * src/lyx_cb.C: out preamble
13661 * src/lyx_cb.h: out preamble
13662 * src/lyx_gui.C: out preamble
13663 * src/lyx_gui_misc.C: out preamble
13664 * src/lyxfunc.C: connect with guii preamble
13666 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13668 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13670 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13672 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13673 whether to run bibtex.
13675 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13677 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13679 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13681 * Makefile.am (lyx_SOURCES): removed bibforms.h
13683 * vspace.h: doxygen
13685 * text.C (GetVisibleRow): make several local vars const
13687 * tabular.C: small cleanup.
13689 * lyxserver.C (callback): use compare instead of strncmp
13691 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13692 inlines to after class or to paragraph.C
13694 * lyxfont.h: remove friend operator!=
13696 * converter.h: move friend bool operator< to non friend and after
13699 * combox.h: small cleanup
13701 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13702 to inlines after class def.
13704 * buffer.C (pop_tag): use string operations instead of strcmp
13706 * bmtable.c: doxygen, small cleanup
13708 * LaTeX.h: remove friend operator==
13710 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13722 * BufferView_pimpl.C:
13723 * BufferView.[Ch]: remove cruft
13725 2001-02-14 Juergen Vigna <jug@sad.it>
13727 * lyxfunc.C: removed #if 0 unused code
13729 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13731 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13733 * text2.C (SetSelection): added a BufferView * parameter
13735 2001-02-13 Juergen Vigna <jug@sad.it>
13737 * lyxfunc.C (Dispatch): fixed protected blank problem.
13738 * BufferView2.C (protectedBlank): added LyxText * parameter.
13740 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13741 (AppendColumn): same as above for column_info.
13743 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13744 (moveCursorUpdate): use a LyXText param for support of InsetText.
13746 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13747 (tripleClick): ditto
13749 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13751 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13753 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13755 * text2.C (SetSelection): set correct update status if inset_owner
13756 (ToggleFree): ditto
13758 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13760 * tabular.C: remove some commented code.
13762 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13764 * BufferView_pimpl.C: call hideSplash()
13766 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13769 * bibforms.h: remove
13772 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13773 add LFUN_CHILD_CREATE
13775 * counters.h: fix tiny typo
13780 * lyx.C: move splash to frontends/xforms/
13782 * lyx_gui_misc.C: move Include and Bibform to frontends
13784 * lyxvc.h: clarify comment
13786 * vspace.C: tiny housekeeping
13788 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13790 * text.C (PrepareToPrint): RTL Fix.
13792 * paragraph.C (GetUChar): New method.
13793 (String): Use GetUChar.
13795 * buffer.C (asciiParagraph): Use GetUChar.
13797 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13799 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13801 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13804 * buffer.C: rename to getLogName(), handle
13805 build log / latex log nicely
13807 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13810 * MenuBackend.h: remove support for reference menuitem type.
13812 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13814 * BufferView_pimpl.C: housekeeping
13815 * BufferView_pimpl.h:
13820 * minibuffer.h: move Timeout GUI-I
13822 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13824 * lyxrc.C (read): Update converters data-structures.
13826 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13828 * LaTeX.h (operator!=): add operator != for Aux_Info
13830 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13832 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13834 * LaTeXLog.C: deleted, useful code moved to Buffer
13837 * buffer.C: new function getLatexLogName()
13843 * lyxfunc.C: use frontends for LaTeX and VC logs
13845 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13847 * LaTeX.h: yet another std:: that Allan forgot.
13849 * Variables.C (set): renamed from isset(), because this clashes
13850 with some HP-UX macros (grr).
13852 2001-02-06 Allan Rae <rae@lyx.org>
13854 * LaTeX.h: Another bug fix. Missing std:: this time.
13856 2001-02-04 Allan Rae <rae@lyx.org>
13858 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13859 floats problem. I've left it commented out because it's not quite
13860 correct. It should also test that the current object is a table or
13861 figure inset. But I haven't gotten around to figuring out how to do
13862 that. I *think* it'll be something like: "table" == inset.type()
13864 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13867 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13869 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13870 all the citation/databases/styles in the auxilary file.
13871 (run): Rerun latex if there was a babel language error.
13873 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13875 * text.C (Backspace): Preserve the font when changing newline char
13877 (BreakParagraph): If the cursor is before a space, delete the space.
13879 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13881 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13883 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13884 new argument (code).
13885 (ChangeCitationsIfUnique): New method.
13887 * paragraph.C (GetPositionOfInset): Handle bibkey.
13889 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13891 * BufferView_pimpl.h: change type of Position::par_pos to
13892 LyXParagraph::size_type.
13894 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13896 * BufferView_pimpl.C (savePosition, restorePosition): Write
13897 messages to minibuffer.
13899 2001-01-28 José Matos <jamatos@fep.up.pt>
13901 * buffer.C (makeDocBookFile): adds support for document language.
13902 A silly restriction on the name of LatexCommand types where removed.
13903 Added support for CDATA sections, allows to chars unescaped, used
13904 among others in code, to avoid escape < and >.
13906 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13908 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13909 saved positions instrad of a stack. Furthermore, a position is
13910 stored using paragraph id/paragraph position.
13912 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13913 Remove LFUN_REF_BACK.
13915 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13917 * converter.C (dvipdfm_options): New method.
13919 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13921 * vspace.C (isValidLength): Fix for empty input string.
13923 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13925 * LyXAction.C (init): change description of LFUN_FIGURE to
13928 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13930 * LaTeX.C: add using directive
13932 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13934 * MenuBackend.C (expand): Fix the sorting of the formats.
13936 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13938 * lyx_main.C: tiny error message fix
13940 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13942 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13943 calling fl_initialize(). This fixes the problem with ',' as
13944 decimal separator in text files.
13946 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13948 * trans.C (process): Fix the keymap bug.
13950 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13952 * LaTeX.C (scanAuxFiles): New method. Provides support for
13953 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13954 (scanLogFile) Scan for "run BibTeX" messages.
13956 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13957 OT1 font encoding. Also, load the aecompl package if the ae
13960 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13962 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13964 * texrow.C (increasePos): turn two error messages into debug
13967 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13969 * LaTeX.C (scanAux): Handle the \@input macro.
13970 (runBibTeX): Use scanAux().
13972 * language.C (latex_options_): New field.
13974 * LaTeXFeatures.C (getMacros): Add language macros.
13976 * buffer.C (makeLaTeXFile): Small fix.
13978 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13980 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13982 * text2.C: add a using directive.
13984 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13989 * lyxfunc.C: kill LyXBell.
13991 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13993 * text.C (IsBoundary): Remove the error message
13995 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13997 * lyxrc.C (setDefaults): Correct initialization value for
14000 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14002 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14005 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14006 and GotoNextNote().
14008 * src/LyXAction.C: Added reference-next.
14010 * text.C (InsertChar): Use contains instead of strchr.
14012 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14014 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14016 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14017 alignment commands (when needed).
14019 * text.C (InsertChar): Add ':' to number separator chars.