2 2003-11-13 André Pönitz <poenitz@gmx.net>
4 * InsetList.[Ch]: remove deleteLyXText
6 * paragraph.[Ch]: cache beginOfBody position
11 * text3.C: remove superfluous update() calls
15 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
17 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
18 * BufferView.C (fitLockedInsetCursor): remove
19 * cursor.[Ch] (getDim): add
20 * text.C (getRowNearY): add faster version
21 * text3.C: remove some update calls
23 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
35 * text3.C: The Character Style /XML short element patch.
37 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
40 * factory.C: Small step to solving 'unable to insert some insets'
43 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
45 * cursor.[Ch] (updatePos): new function for updating the y
46 position of the tip inset
47 * bufferview_funcs.C (put_selection_at):
48 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
50 2003-11-11 André Pönitz <poenitz@gmx.net>
52 * text.C: remove big comment on invalid Paragraph pointers as it is
55 2003-11-11 André Pönitz <poenitz@gmx.net>
57 * text_funcs.[Ch]: merge with ...
65 * Makefile.am: remove text_funcs.[Ch]
67 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
69 * cursor.C (getPos): return absolute cached y coord
71 * BufferView_pimpl.C (fitCursor): new simplistic code
72 (workAreaDispatch): add a fitCursor call
74 2003-11-10 André Pönitz <poenitz@gmx.net>
77 * BufferView_pimpl.[Ch]: merge update() and updateInset()
79 2003-11-10 André Pönitz <poenitz@gmx.net>
81 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
82 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
83 indicate that the cursor needs to leave an inset
85 * lyxtext.h: remove inset locking
87 * cursor.[Ch]: re-implement functionality provided by inset locking
90 * BufferView_pimpl.[Ch]:
92 * bufferview_funcs.[Ch]:
104 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
106 * PosIterator.[Ch]: replace the stack with a vector, add inset
108 * iterators.[C]: adjust
110 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
112 * lyxfind.C (replaceAll): mark the buffer dirty if something was
114 * paragraph_funcs.C (readParToken): put the correct id in the
115 error item, not the id of the top paragraph
117 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
119 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
120 * bufferview_funcs.C (put_selection_at): use the above
122 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
124 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
126 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
129 * output_plaintext.h:
131 * output_docbook.h: add #include statements
133 2003-11-05 José Matos <jamatos@lyx.org>
135 * output_docbook.[Ch]:
137 * output_linuxdoc.[Ch]:
138 * output_plaintext.[Ch]: New files for output formats.
139 * output.[Ch]: New file for helper functions.
142 * paragraph_funcs.[Ch]: output functions moved to new files.
144 * outputparams.h: rename of latexrunparams.h
152 * paragraph_funcs.[Ch]:
153 * paragraph_pimpl.[Ch]:
154 * tabular.[Ch]: rename ascii to plaintext
155 and LatexRunParams to OutputParams.
157 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
159 * iterators.[Ch] (text): require bv argument
160 * undo.C (recordUndo):
161 * lyxfunc.C (dispatch):
162 * bufferview_funcs.C (put_selection_at): adjust
164 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
166 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
168 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
170 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
173 2003-11-04 André Pönitz <poenitz@gmx.net>
175 * cursor.[Ch]: restructure
178 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
180 * iterators.[Ch] (asCursor): remove
182 * lfuns.h: remove LFUN_INSET_EDIT
188 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
190 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
192 * lyxfind.[Ch]: complete overhaul
193 * BufferView_pimpl.C:
195 * paragraph.[Ch] (insert): add
197 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
201 * text.C: remove dead spellcheck code
203 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
205 * dispatchresult.h: add a val setter
207 * cursor.C (dispatch): use a tempvar for data_[i]
209 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
211 * PosIterator.[Ch]: compile fix
213 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
215 * text.C (cursorPar): deactivate the cursor cache
217 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
219 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
221 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
223 * text3.C (dispatch): adjust for new DisptchResult semantics.
225 * lyxfunc.C (dispatch): handle update when return from
226 Cursor::dispatch, adjust for new DispatchResult semantics.
228 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
229 DispatchResult(true) mean to not update. Add class functions for
230 setting dispatched and update, as well as reading.
232 * cursor.C (dispatch): don't handle update here
234 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
236 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
237 * trans_mgr.C: adjust
239 * paragraph_funcs.C (readParToken): exception safety
241 * lyxvc.h: store the vcs pointer in a scoped_ptr
244 * lyxsocket.C (serverCallback): exception safety
246 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
248 * ispell.C (clone): make it return a auto_ptr
250 * factory.C (createInset): exception safety
251 (readInset): exception safety
253 * bufferlist.C (newBuffer): exception safety
255 * Thesaurus.C (Thesaurus): use initialization for aik_
257 * MenuBackend.C (expandToc): exception safety.
259 2003-11-03 André Pönitz <poenitz@gmx.net>
263 * bufferview_funcs.C: remove getInsetFromId()
266 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
272 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
274 * PosIterator.C (distance, advance): new
275 * bufferview_funcs.[Ch] (put_selection_at): new
276 * iterators.[Ch] (lockPath): new
278 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
280 * iterators.[Ch] (asPosIterator): added
281 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
282 * PosIterator.[Ch]: added
284 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
288 * cursor.C (dispatch):
289 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
291 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
292 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
293 contructor, add a class function dispatched. Remove operator>=
295 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
297 * debug.C: only use the default constructor for debugstream
300 * main.C (main): include debug.h and setup the lyxerr streambuf
303 2003-10-31 José Matos <jamatos@lyx.org>
305 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
307 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
308 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
309 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
310 * paragraph_pimpl.C (simpleTeXSpecialC):
311 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
312 add LatexRunParams argument.
314 * exporter.C (Export): change call accordingly.
316 * latexrunparams.h: add new member to take care of the other backends.
317 2003-10-30 José Matos <jamatos@lyx.org>
319 * buffer.C (makeLinuxDocFile, makeDocBookFile):
320 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
321 factorise code for paragraph output.
323 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
326 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
328 * text3.C (dispatch):
329 * lyxfunc.C (dispatch):
330 * cursor.C (dispatch):
331 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
333 * dispatchresult.h: make the dispatch_result_t ctor explicit
335 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
338 * buffer.C: small refactoring of docbook stuff
340 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
342 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
345 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
347 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
348 operator dispatch_result_t, and operators for == != and >=
350 * cursor.C (dispatch): adjust for operator dispatch_result_t
351 removal. comment out call to update
353 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
355 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
363 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
366 * dispatchresult.h: new file, DispatchResult broken out of
369 * Makefile.am (lyx_SOURCES): add dispatchresult.h
371 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
373 * text.C (rowBreakPoint): put a hack inside #if 0
375 2003-10-28 André Pönitz <poenitz@gmx.net>
382 * text2.C: general cleanup (lots of small stuff)
384 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
386 * text2.C (cursorEnd): simple fix to the "end key goes to one
387 before the end on last row" bug
389 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
391 * text.C (backspace): fix the "zombie characters"
393 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
395 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
397 2003-10-27 André Pönitz <poenitz@gmx.net>
399 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
401 * factory.C: handle new InsetPagebreak, InsetLine
403 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
404 and move handling into new InsetPagebreak, InsetLine
406 * BufferView_pimpl.C:
408 * ParagraphParameters.C:
421 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
430 * text3.C: remove lastPos uses in favour of Row::endpos
432 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
434 * undo.C (performUndoOrRedo): fix two crashes by setting a
435 cursor by hand and reordering some calls. Use bv->lockInset instead
436 of inset->edit because the latter loses cursor information
438 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
440 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
442 (rowBreakPoint): fix width. change point to point + 1.
445 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
448 * lyxfunc.C: fix (at least partly) the problems
449 with the Nav menu and headers inside branch insets
452 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
454 * paragraph.C (getChar): add strong asserts
456 * lyxrow_funcs.C (lastPos): remove hideous hack
458 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
459 (fill): adjust to that (avoid an infinite loop)
461 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
463 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
465 2003-10-23 André Pönitz <poenitz@gmx.net>
467 * RowList_fwd.h: change list<> to vector<> to gain speed
468 after suggestion from Alfredo
470 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
472 * lyxtext.h: move the bidi stuff from here...
475 * Bidi.[Ch]: ... to here
477 2003-10-23 André Pönitz <poenitz@gmx.net>
480 * text.C (isLastRow, isFirstRow): new functions
482 * paragraph.h: new width cache member
484 * rowpainter.C: replace RowList::iterator with Row & where possible
486 * lyxfunc.C: replace several view()->text with a single call
488 * toc.C: fix 'unused' warning
490 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
492 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
493 when woring with stream::pos_type
494 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
496 2003-10-22 André Pönitz <poenitz@gmx.net>
499 * text.C: use Row & instead of RowList::iterator
501 * lyxrow.h: rename end() to endpos()
507 2003-10-22 Angus Leeming <leeming@lyx.org>
509 * buffer.[Ch] (fully_loaded): new member function, returning true
510 only when the file has been loaded fully.
511 Used to prevent the premature generation of previews and by the
512 citation inset to prevent computation of the natbib-style label.
514 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
515 templates are all set up.
517 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
519 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
521 * text.C: fixed an "oops" in the "is a bit silly"
524 2003-10-21 André Pönitz <poenitz@gmx.net>
526 * FuncStatus.[Ch]: small stuff, whitespace
528 * lyxfont.[Ch]: operator<<() for debug reasons
532 * lyxtext.h: whitespace, spelling
534 * paragraph.C: naming of variables
537 * text2.C: small stuff
540 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
542 * text.C: (1) finish off the inset display() work;
543 (2) fix the "is a bit silly" bug (accessing char
546 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
548 * text.C: re-introduce display() for insets, fixing the
549 various bugs (stretch of line above, math inset
552 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
554 * text.C (rightMargin): remove spurious semicolon
556 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
559 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
561 * text3.C: fix one crash due to wrong cursor def
563 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
565 * vc-backend.C (scanMaster): make the regex static
567 * LaTeX.C (scanAuxFile): make the regexs static
569 * text3.C (doInsertInset, dispatch, dispatch):
570 * text2.C (cursorUp, cursorDown):
571 * text.C (selectNextWordToSpellcheck):
572 * BufferView_pimpl.C (dispatch):
573 * lyxfunc.C (dispatch): localDispatch -> dispatch
575 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
577 * lyxsocket.C: include <cerrno>
579 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
581 * lyxfunc.C (dispatch): remove textcache stuff
583 * bufferlist.C (release): remove textcache stuff
586 * TextCache.C: delete file
587 * TextCache.h: delete file
589 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
591 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
592 delete of the bv_->text.
593 (resizeCurrentBuffer): remove texcache stuff
594 (workAreaResize): ditto
596 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
598 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
601 2003-10-16 André Pönitz <poenitz@gmx.net>
608 * text3.C: speed up by storing y positions per paragraph plus per-row
609 offset instead of having a 'full' y position in the row.
611 2003-10-15 André Pönitz <poenitz@gmx.net>
615 * undo.[Ch]: make undo aware of inner insets
617 2003-10-14 Angus Leeming <leeming@lyx.org>
619 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
620 static member functions LyX::ref() and LyX::cref.
621 (lastfiles): new accessor functions for the new lastfiles_ member var.
622 (addLyXView, views_): add a new LyXView to the list of views_.
623 (updateInset): loop over all LyXViews to call their own updateInset
624 member function, returning a pointer to the Buffer owning the inset.
626 * BufferView_pimpl.C (loadLyXFile):
627 * MenuBackend.C (expandLastfiles):
628 * bufferlist.C (MenuWrite, QuitLyX):
629 lastfiles is no longer a global variable.
630 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
632 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
633 static function. Access through LyX::cref().emergencyCleanup().
635 2003-10-14 André Pönitz <poenitz@gmx.net>
637 * iterators.[Ch]: new direct access to innermost LyXText and Inset
639 * undo.[Ch]: restoring part of 'undo in insets'
642 * undo_funcs.[Ch]: merge with undo.[Ch]
644 * tabular.C: small cleansing stuff
646 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
648 * paragraph_funcs.C (readParToken): report unknown insets as error
649 boxes. Use the outer paragraph as location (also for unknown
652 * factory.C (readInset): do not abort on reading an unknown inset.
655 2003-10-13 Angus Leeming <leeming@lyx.org>
657 * lyx_main.C (LyX): remove call to setDisplayTranslator().
659 * lyxrc.C: displayTranslator is now a function,
660 declared in GraphicsTypes.h.
662 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
664 * format.C: new placeholder $$a to pass the socket address.
666 * bufferlist.[Ch]: new function getBufferFromTmp.
668 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
669 files in the temporary dir.
671 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
673 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
675 * Makefile.am: add lyxsocket.[Ch].
677 * lyx_main.C (error_handler): handle SIGPIPE.
679 2003-10-13 André Pönitz <poenitz@gmx.net>
681 * BufferView_pimpl.C:
686 * undo_funcs.[Ch]: use paroffset_type instead of
687 ParagraphList::iterators to prevent multiple conversion
688 (and get a more robust interface)
690 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
692 * lyxfunc.C (dispatch): RESULT -> dispatch_result
694 * text3.C (dispatch): ditto
696 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
698 * LaTeX.C (handleFoundFile): move the static to smaller scope,
699 move the onlyfile, use onlyfile instead of foundfile in a couple
702 * DepTable.C (update): flush the error stream a bit more
704 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
706 * lyxserver.C (callback): adjust
708 * lyxfunc.C (getStatus): add a missing brace in commented code
709 (ensureBufferClean): reindent
710 (dispatch): delete version taking a string
712 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
714 * LaTeX.C (deplog): move found file handlig from here...
715 (handleFoundFile): .. to new function here.
716 (deplog): make sure to discover several files mentioned on the
719 2003-10-10 André Pönitz <poenitz@gmx.net>
726 * text3.C: fix some of the tabular crashes
728 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
730 * MenuBackend.C (binding): put debug message into Debug::KBMAP
732 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
734 2003-10-09 André Pönitz <poenitz@gmx.net>
736 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
739 * BufferView_pimpl.C:
740 * bufferview_funcs.C:
751 * undo_funcs.C: adjust
753 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
755 * text2.C (incrementItemDepth): new function, use a backtracking
756 algorithm to discover the correct item depth.
757 (resetEnumCounterIfNeeded): new function, use a backtracking
758 algorithm to discover if counter reset is needed.
759 (setCounter): use them. Simplify a bit. Add different labels for
760 different item depths for itemize.
762 * paragraph.C (Paragraph): remove initialization of enumdepth
765 * paragraph.h: get rid of enumdepth, and use itemdepth both for
766 enumerate and itemize. Change the type of itemdepth to signed char.
768 2003-10-08 André Pönitz <poenitz@gmx.net>
770 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
775 * tabular.[Ch]: fix crash after 'row-insert'
777 2003-10-08 Angus Leeming <leeming@lyx.org>
779 Fix doxygen warnings.
781 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
782 Remove CutAndPaste:: prefix from header file declaration.
784 * LColor.h (fill): remove LColor:: prefix from declaration.
786 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
787 use lyx::depth_type rather than Paragraph::depth_type so that
788 header file and .C file match.
790 * converter.h (intToFormat): remove Converters:: prefix from declaration.
792 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
793 * aspell.C: \file aspell_local.C -> \file aspell.C
794 * gettext.C: \file gettext.C -> \file src/gettext.C
795 * gettext.h: \file gettext.h -> \file src/gettext.h
796 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
797 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
798 * text.C: \file text.C -> \file src/text.C
800 * toc.C: move comment so that doxygen is not confused.
802 2003-10-07 Angus Leeming <leeming@lyx.org>
804 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
806 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
809 * aspell_local.h: add forgotten std::string's.
811 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
818 * text3.C: The Box patch. Fancybox support, minipage, parbox
820 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
826 * ParagraphParameters.h:
836 * lyxtextclasslist.h:
840 * textcursor.h: add <string> and other small fixes to make Lars'
841 std::string patch compile with STLport.
843 2003-10-06 Angus Leeming <leeming@lyx.org>
845 * LColor.h: Add missing #include <string>.
847 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
849 * All most all file in all subdirs: Make <string> be the prefered
850 way of getting to std::string, add using declarations.
852 2003-10-06 André Pönitz <poenitz@gmx.net>
854 * metricsinfo.C: initialize LyXFont before changing attribute.
855 (fixes the 'math in \emph is upright' bug)
857 2003-10-06 André Pönitz <poenitz@gmx.net>
859 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
861 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
864 * paragraph_pimpl.C: Small fixes to build using STLport
866 2003-10-02 André Pönitz <poenitz@gmx.net>
869 * text3.C: move handling of LFUN_DEPTH *; fix #1360
871 2003-10-01 André Pönitz <poenitz@gmx.net>
873 * factory.C: assert early
875 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
877 * lyx_main.C: remove the global debug object
879 * debug.h: adjust for new debugstream
881 * debug.C: adjust for new debugstream and keep the global debug
884 2003-09-22 Angus Leeming <leeming@lyx.org>
886 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
887 of g++ which otherwise complain that the scoped_ptr destructor can't delete
888 an incomplete class LyXFont.
890 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
892 * factory.C: bug fix in branches
894 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
896 * lyxfunc.C (processKeySym): adjust
898 (dispatch): change arg name from ev to func, adjust
899 (sendDispatchMessage): ditto
901 * lyx_main.C (defaultKeyBindings): adjust keybindings
902 (deadKeyBindings): ditto
904 * kbsequence.C (addkey): return a FuncRequest
906 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
908 * kbmap.C (bind): take a FuncRequest as arg, adjust
911 (defkey): change to take a FuncRequest as arg, adjust
912 (findbinding): take a FuncRequest as arg, adjust.
914 * funcrequest.h (operator=): added
916 * funcrequest.C (FuncRequest): default kb_action changed from
917 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
919 * buffer.C (dispatch): simplify
920 (dispatch): adjust to take a FuncRequest as arg, adjust
922 * boost.C (assertion_failed): change assertion message slightly
924 * ToolbarBackend.C (read): simplify
926 * MenuBackend.C (binding): adjust call to findbinding, add a
927 message if no binding is found.
929 (expandToc): correct by adding a empty FuncRequest
931 * LyXAction.C: include <boost/assert.hpp>
932 (isPseudoAction): delete function
933 (LookupFunc): change name to...
934 (lookupFunc): this. change return type to FuncRequest.
935 (getActionName): take kb_action as arg, simplify
936 (funcHasFlag): add an assert, simplify.
938 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
940 * toc.C (action): return a FuncRequest, simplify
942 * lyxfunc.C (processKeySym): adjust
943 (getStatus): delete version that takes an int.
945 (dispatch): delete version that takes action as int
947 (sendDispatchMessage): simplify and adjust
949 * funcrequest.C (getArg): take unsigned int as arg
951 * ToolbarBackend.C (read): adjust
952 (add): delete version that takes func as a string.
953 (getIton): take a FuncRequest as arg
955 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
958 * MenuBackend.C (MenuItem): add a new construct that only takes a
959 Kind, simplify the constructor use for submenus.
961 (expandLastfiles): adjust
962 (expandDocuments): adjust
963 (expandFormats): adjust
964 (expandFloatListInsert): adjust
965 (expandFloatInsert): adjust
966 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
968 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
969 Remove class variables lyx_pseudo_map and lyx_arg_map
971 * LyXAction.C (searchActionArg): delete function
972 (getPseudoAction): delete function
973 (retrieveActionArg): delete function
974 (LookupFunc): make it return kb_action, simplify.
975 (getActionName): simplify
977 * factory.C (createInset): fix new bug
979 2003-09-19 Angus Leeming <leeming@lyx.org>
981 * CutAndPaste.C (pasteSelection): remove fudge used to set the
982 masterFilename_ parameter in the include inset.
984 * factory.C (createInset): changes due to the changes to InsetInclude.
986 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
988 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
990 2003-09-18 Angus Leeming <leeming@lyx.org>
993 * BufferView.C: pass the buffer when calling Inset::getLabelList,
994 Inset::fillWithBibKeys.
995 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
997 2003-09-18 Angus Leeming <leeming@lyx.org>
999 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1001 (ctor): pass and store a 'Buffer const &'
1002 (buffer): new member function.
1004 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1005 '*this' to the LaTeXFeatures ctor.
1007 2003-09-18 Angus Leeming <leeming@lyx.org>
1013 * text.C: rename EnumLColor as LColor_color.
1015 2003-09-18 Angus Leeming <leeming@lyx.org>
1017 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1018 remove #include "insets/insetbase.h" from cursor.h.
1020 2003-09-18 Angus Leeming <leeming@lyx.org>
1022 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1023 InsetOld_code to remove #include "inset.h".
1025 * iterators.C: add #include "insets/inset.h"
1027 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1029 * BufferView.C: remove more locking stuff that apparently doesn't
1030 do anything sensible.
1032 2003-09-16 André Pönitz <poenitz@gmx.net>
1035 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1038 2003-09-16 Angus Leeming <leeming@lyx.org>
1040 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1042 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1045 * paragraph.h: remove #include "lyxfont.h". Forward declare
1048 2003-09-16 Angus Leeming <leeming@lyx.org>
1050 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1051 of support/textutils.h.
1052 (isWord): move the contents of support/textutils.h's IsWordChar here.
1058 * text2.C: add #include "paragraph.h".
1061 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1063 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1069 * LaTeX.C: use namespace alias for lyx::support::os
1071 2003-09-16 Angus Leeming <leeming@lyx.org>
1074 * bufferview_funcs.C:
1077 * paragraph_pimpl.C:
1079 * text.C: add #include "LColor.h".
1081 2003-09-16 Angus Leeming <leeming@lyx.org>
1083 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1084 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1086 Store the FontBits::color variable as an int rather than as an
1087 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1090 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1091 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1092 string calls together.
1094 * lyxrc.C: add #include "LColor.h".
1096 2003-09-15 Angus Leeming <leeming@lyx.org>
1098 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1101 2003-09-15 Angus Leeming <leeming@lyx.org>
1103 * LColor.h: add an EnumLColor wrapper for LColor::color.
1105 * lyxfont.[Ch] (color, setColor, realColor):
1106 * lyxtext.h, text.C (backgroundColor):
1107 pass EnumLColor args to/from the functions, rather than LColor::color
1111 * lyxtext.h: forward declare EnumLColor.
1113 * lyx_main.C: add #include "LColor.h".
1115 2003-09-15 Angus Leeming <leeming@lyx.org>
1117 * .cvsignore: add lyx-gtk.
1119 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1124 * ParagraphParameters.C
1128 * bufferview_funcs.C
1138 * vc-backend.C: remove usage of STRCONV
1140 2003-09-15 Angus Leeming <leeming@lyx.org>
1142 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1143 explicitly define the color passed to the painter.
1145 2003-09-15 Angus Leeming <leeming@lyx.org>
1147 * bufferparams.C (BufferParams): reorder member initializers to avoid
1150 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1152 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1153 * text.C (updateRowPositions): remove an unusual nop
1155 2003-09-12 André Pönitz <poenitz@gmx.net>
1157 * BufferView_pimpl.C:
1166 * Counters.[Ch]: finish the 'automatic counters' job
1168 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1170 * aspell.C: include <boost/assert.cpp> (compile fix)
1172 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1174 * boost.C (assertion_failed): use lyx::support::abort instead of
1177 2003-09-10 Angus Leeming <leeming@lyx.org>
1179 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1180 with their _fwd progeny.
1182 2003-09-09 Angus Leeming <leeming@lyx.org>
1184 134 files throughtout the source tree: replace 'using namespace abc;'
1185 directives with the appropriate 'using abc::xyz;' declarations.
1187 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1189 * boost.C (emergencyCleanup): moved here from LAssert.c
1190 (assertion_failed): new function, called by BOOST_ASSERT
1192 * several files: change Assert to BOOST_ASSERT
1194 2003-09-09 Angus Leeming <leeming@lyx.org>
1196 * buffer.[Ch]: Add an Impl class and move Buffer's member
1197 variables into it. As a result move several header files out of
1200 Add header files to lots of .C files all over the tree as a result.
1202 2003-09-09 Angus Leeming <leeming@lyx.org>
1204 * buffer.[Ch]: make Buffer's member variables private. Add
1207 Lots of changes all over the tree as a result.
1209 2003-09-08 Angus Leeming <leeming@lyx.org>
1211 * graph.C: #include <config.h>.
1213 2003-09-08 Angus Leeming <leeming@lyx.org>
1217 * BufferView_pimpl.C:
1246 * toc.C: remove redundant using directives.
1248 2003-09-07 Angus Leeming <leeming@lyx.org>
1250 * LaTeXFeatures.h: remove #include "support/types.h".
1251 * ToolbarBackend.h: remove #include <algorithm>.
1252 * changes.h: remove #include <ctime>.
1253 * debug.h: remove #include <iosfwd>.
1254 * graph.h: remove #include "support/std_string.h".
1255 * lyx_main.h: remove #include <csignal>.
1256 * lyxlex_pimpl.h: remove #include <fstream>.
1257 * sgml.h: remove #include <algorithm>, <utility>.
1258 * toc.h: remove #include "support/std_ostream.h".
1259 Add #include <iosfwd>.
1261 2003-09-07 Angus Leeming <leeming@lyx.org>
1263 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1265 * converter.h: forward declare LatexRunParams.
1266 * encoding.h: remove #include "lyxrc.h".
1267 * lyxtext.h: remove #include "LColor.h".
1268 * lyxtextclass.h: remove #include "support/types.h".
1269 * trans.h: remove #include "tex-accent.h".
1270 * trans_mgr.h: remove #include "tex-accent.h".
1271 * insets/inset.h: remove #include "support/types.h", <vector>.
1272 * insets/insetcollapsable.h: remove #include "LColor.h".
1273 * insets/insetinclude.h: remove #include "dimension.h".
1274 * insets/insetlatexaccent.h: remove #include "dimension.h".
1275 * insets/insetoptarg.h:: remove #include "insettext.h".
1276 * insets/insettext.h: remove #include "dimension.h",
1277 <boost/shared_ptr.hpp>
1279 * insets/renderers.h: add #include "dimension.h".
1280 * insets/updatableinset.h: add #include "support/types.h".
1282 * many .C files: Associated changes.
1284 2003-09-06 Angus Leeming <leeming@lyx.org>
1286 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1287 one, inside testInvariant.
1289 * PrinterParams.C: new file.
1290 * PrinterParams.[Ch]: move the function bodies out of line.
1292 2003-09-06 Angus Leeming <leeming@lyx.org>
1294 * ParagraphParameters.h: forward declare ParameterStruct rather than
1295 including its header file.
1296 (depth): moved out-of-line.
1298 2003-09-06 Angus Leeming <leeming@lyx.org>
1300 * BufferView_pimpl.h:
1303 * lyxfunc.h: forward declare LyXKeySym rather than
1304 #include "frontends/LyXKeySym.h".
1306 * BufferView_pimpl.C:
1309 * lyxfunc.C: associated changes.
1311 2003-09-06 Angus Leeming <leeming@lyx.org>
1313 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1314 As a result, can remove the #include "insets/inset.h" from BufferView.h
1316 2003-09-06 Angus Leeming <leeming@lyx.org>
1318 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1319 As a result, can remove the #include "insets/inset.h" from BufferView.h
1321 2003-09-06 Angus Leeming <leeming@lyx.org>
1327 * bufferview_funcs.C:
1328 * BufferView_pimpl.C:
1333 * ParagraphParameters.C:
1338 * frontends/controllers/ControlDocument.C:
1339 * insets/insetcaption.C: rearrange the #includes into some sort of
1342 * buffer.h: remove #includes ErrorList.h, undo.h
1344 2003-09-06 Angus Leeming <leeming@lyx.org>
1346 * support/types.h: add a 'depth_type' typedef, used to store the
1347 nesting depth of a paragraph.
1350 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1351 defining explicitly.
1354 * paragraph_funcs.h:
1355 * ParagraphParameters.h:
1356 * sgml.h: use lyx::depth_type rather than Paragraph or
1357 ParameterStruct's depth_type.
1360 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1363 * BufferView_pimpl.C:
1365 * ParagraphParameters.C:
1368 * bufferview_funcs.C:
1375 * frontends/LyXView.C:
1376 * frontends/controllers/ControlDocument.C:
1377 * frontends/controllers/ControlErrorList.C:
1378 * insets/insetbibitem.C:
1379 * insets/insetbranch.C:
1380 * insets/insetcaption.C:
1381 * insets/insetcollapsable.C:
1382 * insets/insetenv.C:
1383 * insets/insetert.C:
1384 * insets/insetfloat.C:
1385 * insets/insetfoot.C:
1386 * insets/insetfootlike.C:
1387 * insets/insetnewline.C:
1388 * insets/insetquotes.C:
1389 * insets/insettabular.C:
1390 * insets/insettext.C:
1391 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1393 * frontends/controllers/ControlChanges.C: #include "changes.h".
1395 2003-09-06 Angus Leeming <leeming@lyx.org>
1397 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1398 than #including paragraph.h.
1401 * RowList.h: deleted. Superfluous.
1411 * insets/insettext.h: use ParagraphList_fwd.h rather than
1414 * paragraph.h: don't forward declare ParagraphList.
1417 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1418 rather than ParagraphList.h. paragraph.h is still needed for the
1419 Paragraph::depth_type parameters.
1421 * textcursor.h: enable it to compile stand-alone in light of the
1424 * bufferview_funcs.C:
1436 * frontends/controllers/ControlParagraph.C:
1437 * frontends/controllers/ControlTabular.C:
1438 * insets/insetmarginal.C:
1439 * insets/insetminipage.C:
1440 * insets/insetnote.C:
1441 * insets/insetoptarg.C: add header files needed to compile again.
1443 2003-09-06 Angus Leeming <leeming@lyx.org>
1445 * RowList_fwd.h: new file, forward-declaring Row rather than
1446 #including lyxrow.h.
1451 * insets/insettext.h: use it instead of RowList.h
1453 * bufferview_funcs.C:
1460 * text3.C: #include "RowList.h".
1462 2003-09-05 Angus Leeming <leeming@lyx.org>
1464 * factory.C (createInset):
1465 * vspace.C (c-tor): replace sscanf call with an istringstream.
1466 * ispell.C: re-add missing HP/UX headers.
1467 * lyxserver.C: re-add missing os2 headers.
1469 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1478 * text3.C: re-add missing system headers, needed for 2.95.2.
1480 2003-09-05 Angus Leeming <leeming@lyx.org>
1482 Changes most place everywhere due to the removal of using directives
1483 from support/std_sstream.h.
1485 2003-09-05 Angus Leeming <leeming@lyx.org>
1487 Replace LString.h with support/std_string.h,
1488 Lsstream.h with support/std_sstream.h,
1489 support/LIstream.h with support/std_istream.h,
1490 support/LOstream.h with support/std_ostream.h.
1492 Changes resulting throughout the tree.
1494 2003-09-05 Angus Leeming <leeming@lyx.org>
1496 * sgml.h: ensure that the header file can be compiled stand-alone.
1497 * *.C: strip out redundant #includes. (320 in total.)
1499 2003-09-04 Angus Leeming <leeming@lyx.org>
1501 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1502 here (from getPackages).
1504 * debug.[Ch]: add a new EXTERNAL tag.
1506 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1508 * text2.C (cursorEnd): simplify
1510 (getColumnNearX): adjust
1512 * text.C (computeBidiTables): adjust
1515 * rowpainter.C (paintChars): adjust
1516 (paintSelection): adjust
1517 (paintChangeBar): adjust
1520 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1522 (numberOfSeparators): adjust
1524 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1530 * text3.C: Restricts the mouse click functionality
1531 of insets like bibtex, include, toc and floatlist to the visible
1532 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1533 up the dialogs. Cursor has to be in front of the inset (i.e.
1534 start of row) for this to function.
1536 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1538 * bufferview_funcs.C (currentState): output row information
1540 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1542 * bufferview_funcs.C (currentState): output paragraph position
1544 2003-09-04 Angus Leeming <leeming@lyx.org>
1546 * FloatList.h: move out #include "Floating.h".
1547 * LaTeX.h: move out #include "DepTable.h".
1548 * LyXAction.h: move out #include "funcrequest.h".
1549 * buffer.h: move out #include "author.h", "iterators.h".
1550 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1551 * lyx_main.h: move out #include "errorlist.h".
1552 * lyxfunc.h: move out #include "FuncStatus.h".
1553 * lyxtext: move out #include "lyxcursor.h".
1554 * paragraph_pimpl.h: move out #include "counters.h".
1556 2003-09-03 Angus Leeming <leeming@lyx.org>
1558 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1559 preamble_snippets list, enabling us to add snippets to the preamble
1560 only if the snippet was not there already.
1562 2003-09-04 Angus Leeming <leeming@lyx.org>
1564 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1566 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1568 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1571 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1573 * BranchList.C: point fix, earlier forgotten
1575 2003-09-02 Angus Leeming <leeming@lyx.org>
1577 * box.C (contains): renamed from 'contained' after a fantastic
1580 2003-09-02 John Levon <levon@movementarian.org>
1586 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1588 2003-09-02 John Levon <levon@movementarian.org>
1590 * text2.C: simplification of cursorEnd(), including partial
1593 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1595 * buffer.C (readFile): add a space
1597 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1599 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1601 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1603 * buffer.C (readFile): new function, take a filename and a
1604 ParagraphList::iterator
1606 (readFile): adjust, make it private. don't use setStream, make
1607 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1608 always contain the filename.
1610 * BufferView.C (insertLyXFile): simplify and make it work for
1613 2003-08-30 John Levon <levon@movementarian.org>
1615 * Makefile.am: fix dist (from Kayvan)
1617 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1619 * most files: change to use const Buffer refs
1621 2003-08-27 André Pönitz <poenitz@gmx.net>
1623 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1624 on top of ownerPar().
1626 2003-08-27 John Levon <levon@movementarian.org>
1628 * funcrequest.C: properly initialise POD members
1630 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1632 * lyxtext.h (top_y): move top_y from here
1637 * BufferView_pimpl.[Ch]: to here
1638 * frontends/screen.C:
1639 * insets/insettabular.C:
1640 * insets/insettext.C: adjust
1641 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1643 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1646 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1648 2003-08-26 André Pönitz <poenitz@gmx.net>
1650 * paragraph_func.[Ch] (outerPar): new function
1653 * paragraph_funcs.C:
1654 * paragraph_funcs.h:
1655 * paragraph_pimpl.C:
1656 * text2.C: remove Inset::par_owner
1658 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1663 * text2.C: eliminates the needFullRow/display() stuff
1664 altogether, putting the logic in metrics/draw in the insets.
1666 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1668 * text2.C (redoParagraphInternal, redoParagraphs):
1669 * text.C (redoParagraph): add a call to updateRowPositions at the
1670 end of each 'metrics-like' call. Remove all others.
1671 (getRow): remove the 'y-computing' version.
1672 (getRowNearY): do not compute nor return the real y. Solve the
1673 'y < 0' problem and simplify.
1675 2003-08-22 Angus Leeming <leeming@lyx.org>
1677 * *.[Ch]: clean-up of licence and author blurbs.
1678 Also move config.h out of a few .h files and into a few .C files.
1680 2003-08-22 André Pönitz <poenitz@gmx.net>
1682 * lyxrow.[Ch]: add x_ and *fill_ members
1687 * text2.C: adjust/remove prepareToPrint() calls
1689 2003-08-22 André Pönitz <poenitz@gmx.net>
1691 * lyxrow.[Ch]: add end_ member
1693 * lyxrow_funcs.C: use LyXRow::end_
1695 * lyxtext.h (singleWidth): add LyXFont parameter
1698 * text2.C: adjust LyXText::singleWidth() calls
1700 * text.C (redoParagraph): simplify row breaking logic
1703 2003-08-19 André Pönitz <poenitz@gmx.net>
1705 * funcrequest.C: initialize button_ member
1708 * rowpainter.[Ch]: interface consolidation
1710 2003-08-18 André Pönitz <poenitz@gmx.net>
1713 * BufferView_pimpl.C:
1715 * paragraph_funcs.C:
1717 * text3.C: remove LyXScreen::draw() and fitCursor calls
1719 * BranchList.h: remove spurious semicolons
1721 * MenuBackend.C: fix branchlist related crash
1723 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1731 * bufferparams.[Ch]:
1735 * text3.C: implements the 'branch inset'
1736 idea. This allows the output of various versions of a document
1737 from a single source version, selectively outputing or suppressing
1738 output of parts of the text.
1739 This implementation contains a 'branch list editor' in a separate
1740 tab of the document settings dialog. Branches are user definable
1741 and have a "display colour" to distinguish them on-screen.
1743 ColorHandler was somewhat cleaned up.
1744 (1) make possible a dynamically growing LColor list by allowing
1745 the graphic context cache to grow along (vector);
1746 (2) eliminate an IMHO unnecessary step in colour allocation.
1748 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1750 * BufferView_pimpl.C: compile fix
1752 2003-08-15 André Pönitz <poenitz@gmx.net>
1754 * rowpainter.C: remove extra metrics calls
1756 * lyxtext.h: merge the two constructors into a single one,
1757 pass reference to owner's par list
1759 * BufferView_pimpl.C:
1763 2003-08-15 André Pönitz <poenitz@gmx.net>
1765 * lyxrow_funcs.[Ch]:
1768 * paragraph_funcs.C:
1773 * text_funcs.C: split LyXText::rowlist_ into individual
1774 Paragraph::rows_ chunks
1777 * BufferView_pimpl.[Ch]:
1780 * text3.C: remove toggleSelection()
1782 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1784 * bufferlist.C: beautify two alerts (shorter text of buttons)
1785 * buffer.C: Remove redundant ' ' from message
1787 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1788 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1789 rename VALIGN_CENTER to VALIGN_MIDDLE
1791 2003-08-11 André Pönitz <poenitz@gmx.net>
1793 * lyxtext.h (getPar):
1794 * text.C: new function
1796 2003-08-11 André Pönitz <poenitz@gmx.net>
1799 * tracer.[Ch]: remove unneeded files
1801 * InsetList.[Ch]: remove resizeInsetsLyXText()
1806 * text3.C: merge insertParagraphs() and appendParagraph()
1807 remove breakAgain(), update()
1809 * BufferView_pimpl.[Ch]:
1810 * bufferview_funcs.[Ch]:
1814 * tabular.C: adjust after text & InsetList changes.
1816 2003-08-08 André Pönitz <poenitz@gmx.net>
1818 * text.C (insertChar, backspace): replace rowlist fiddling
1819 with rebreak of full par
1822 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1823 checkParagraph, updateInset): removed
1825 2003-08-07 André Pönitz <poenitz@gmx.net>
1828 * text3.C: merge some LFUN handlers, remove dead code
1830 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1832 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1834 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1836 * text2.C (DEPM): fix part of bug 1255 and 1256
1838 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1840 * BufferView_pimpl.C (workAreaDispatch): change to use
1841 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1842 that are no mouse related.
1844 2003-08-05 André Pönitz <poenitz@gmx.net>
1847 * BufferView_pimpl.[Ch]:
1848 * bufferview_funcs.C:
1850 * text3.C: rip out "deep update"
1852 * textcursor.[Ch] (last_sel_cursor): remove unused member
1854 2003-08-04 André Pönitz <poenitz@gmx.net>
1857 * BufferView_pimpl.[Ch]:
1858 * ParagraphParameters.C:
1859 * bufferview_funcs.C:
1865 * text3.C: replace "complicated" BufferView::update(...) calls with
1868 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1870 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1872 * Makefile.am (lyx_SOURCES): add paper.h
1874 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1876 * Makefile.am: move things around so that both lyx-qt and
1877 lyx-xforms can be built (according to --with-frontend). Then lyx
1878 is a symbolic link to lyx-[firstfrontend]
1880 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1882 * Always use std::endl with lyxerr
1884 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1886 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1888 2003-08-01 André Pönitz <poenitz@gmx.net>
1891 * BufferView_pimpl.[Ch]:
1893 * text3.C: merge BufferView::repaint() and BufferView::update()
1895 2003-08-01 José Matos <jamatos@lyx.org>
1897 * buffer.[Ch]: file_format is no longer a buffer data element.
1899 2003-08-01 André Pönitz <poenitz@gmx.net>
1904 * text2.C: make redoParagraph more independent of current cursor
1906 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1908 * text2.C: remove unneeded members
1910 2003-07-30 André Pönitz <poenitz@gmx.net>
1912 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1914 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1915 create a single function...
1917 * paragraph_funcs.C (moveItem): ... here.
1920 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1922 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1924 * LColor.[Ch]: Add comment and greyedout logical colors.
1926 2003-07-30 André Pönitz <poenitz@gmx.net>
1928 * tabular.C: don't use Assert too heavily. This crashes where it
1931 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1933 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1934 is disabled (bug 1232)
1936 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1938 * factory.C: limited 'arg' scope
1940 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1942 * factory.C: fixed Note submenu issues
1944 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1946 * factory.C: submenu for Note/Comment/Greyedout
1948 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1951 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1953 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1956 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1957 greyedout. Patch provided by Jürgen Spitzmüller.
1959 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1961 * kbmap.C (read): fix error message when reading bind files
1963 2003-07-29 Angus Leeming <leeming@lyx.org>
1965 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1966 certainly does not do what it purports to do. I am doing it, and
1967 us, a favour by killing it.
1969 2003-07-28 José Matos <jamatos@lyx.org>
1971 * buffer.C (readBody, do_writeFile):
1972 * paragraph.C(readParagraph): \end_document replaces \the_end.
1974 2003-07-29 André Pönitz <poenitz@gmx.net>
1977 * BufferView_pimpl.[Ch]:
1981 * textcursor.[Ch]: remove toggleToggle & Co
1983 2003-07-28 José Matos <jamatos@fep.up.pt>
1985 * buffer.C (readParagraph):
1986 * params_func (readParToken, readParagraph):
1987 * paragraph.C (write): \layout -> \begin_layout.
1989 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1991 * lyxlex_pimpl.C (setFile): clean up slightly.
1993 * bufferparams.h: add compressed var
1995 * buffer_funcs.C (readFile): adjust for LyXLex change
1996 (newFile): ditto + simplify
1998 * buffer.C (writeFile): handle writing of compressed files
2000 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2001 Check if the file is compressed and set a bufferparm if so.
2003 * Makefile.am (lyx_LDADD): remove explicit -lz
2005 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2007 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2008 makeDocBookFile): put the real LyX version in the first line of
2012 * version.C.in: remove lyx_docversion
2014 * tabular.C (write_attribute): add a template-based version to
2015 write enums properly
2017 2003-07-28 André Pönitz <poenitz@gmx.net>
2022 * text3.C: use doubles again for x-coordinates. They are needed.
2024 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2026 * messages.C (getLocaleDir): use lyx_localedir()
2028 * lyxlex_pimpl.C (setFile): compress stuff
2030 * buffer.C (writeFile): add some compression stuff
2031 (do_writeFile): new func, dont call expliti close... will this
2034 * Makefile.am (lyx_LDADD): add -lz
2036 2003-07-28 José Matos <jamatos@fep.up.pt>
2038 * buffer.C: increment file format.
2039 * paragraph_funcs (readParagraph, readParToken):
2040 * paragraph.C (readParagraph): add \end_layout.
2042 2003-07-27 Angus Leeming <leeming@lyx.org>
2044 * Makefile.am: remove special casing for configure-time setting of
2045 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2047 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2048 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2050 2003-07-26 André Pönitz <poenitz@gmx.net>
2052 * paragraph_func.[Ch]:
2053 * paragraph.C (realizeFont): inline it whereever it is used
2058 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2061 2003-07-26 André Pönitz <poenitz@gmx.net>
2065 * text2.C: get rid of LyXText::need_break_row
2067 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2069 * toc.[Ch]: put namespace toc inside namespace lyx
2071 * MenuBackend.C (expandToc2): adjust for lyx::toc
2074 * lyxfunc.C (dispatch): adjust for lyx::find
2076 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2077 lyx::find instead. Reorganize a bit.
2078 (LyXReplace): rename to replace
2079 (LyXFind): rename to find
2081 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2084 2003-07-26 André Pönitz <poenitz@gmx.net>
2086 * text.C (setHeightOfRow): restrict scope of temporary variable
2088 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2089 code (never has been used?)
2091 2003-07-27 Asger Alstrup <alstrup@local>
2093 * text.C (fill): Optimise algorithm to exploit that we can reuse
2094 the LyXFont for many characters.
2095 (setHeightOfRow): Same thing.
2096 (rowBreakPoint): Same thing.
2098 2003-07-26 Asger Alstrup <alstrup@local>
2100 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2102 * text.C (singleWidth): Spurious font copying in hot-spot
2103 singleWidth avoided. Reorder tests for arabic for efficiency.
2105 * text.C (fill): handle empty paragraphs better.
2107 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2110 * encoding.h: add includes
2112 * lyxrc.C: remove reading of bind files
2114 * lyx_main.C (init): setup bindings and menus only if we have a
2117 * kbmap.C (read): new method. Do the actual reading of bind
2120 * converter.C (dvipdfm_options):
2123 (output): adapt PAPER_* enums.
2125 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2127 * bufferparams.h: remove paper-related enums from there
2129 * paper.h: New file. A trivial header file to hold paper-related
2130 enums. It should later expand to contain many paper-related
2133 * lyxrc.C: declare extern displayTranslator
2135 2003-07-27 José Matos <jamatos@fep.up.pt>
2137 * tabular.[Ch] (linuxdoc): add support for tables and figures
2140 2003-07-27 José Matos <jamatos@fep.up.pt>
2142 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2143 consistency in both functions.
2144 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2146 2003-07-26 Asger Alstrup <alstrup@local>
2148 * rowpainter.C (paintRows): Change algorithm to work directly on
2149 the insets rather than asking every character in the document
2150 whether its an inset.
2152 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2154 * buffer.C (openFileWrite): factorize some code
2156 2003-07-26 Angus Leeming <leeming@lyx.org>
2159 * lyx_main.[Ch]: replace occurances of system_tempdir with
2162 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2164 * rename Inset to InsetOld
2166 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2168 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2169 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2170 which I think is a bit clearer. EDIT is gone, since it was
2171 premature optimisation, and broken for mathed anyway.
2172 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2173 with cursor positioning in insets as well (math insets still do not
2174 work, but that's a different story anyway.) It mysteriously
2175 crashes sometimes with undo in the first paragraph, but I'm fairly
2176 confident that this is a compiler bug.
2178 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2180 * paragraph.C (Paragraph): adjust for new clone return type
2182 (copyIntoMinibuffer): ditto
2184 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2186 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2187 by not having a special case, and always doing a full rebreak of
2188 the document after undo.
2190 2003-07-23 Angus Leeming <leeming@lyx.org>
2192 * factory.C (createInset): InsetExternal::setParams now takes a
2195 2003-07-23 Angus Leeming <leeming@lyx.org>
2197 * factory.C (createInset): changed interface to the external and
2198 graphics mailers' string2params functions.
2200 2003-07-23 Angus Leeming <leeming@lyx.org>
2202 * factory.C (createInset): pass a
2203 Buffer const * parameter to InsetExternalMailer's string2params.
2205 2003-07-22 John Levon <levon@movementarian.org>
2207 * Thesaurus.h: include the right aiksaurus header
2209 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2211 * MenuBackend.C (expand): check menu shortcuts unconditionally
2213 2003-07-21 Angus Leeming <leeming@lyx.org>
2215 * factory.C (createInset): pass a
2216 buffer_path parameter to InsetGraphicsMailer's string2params.
2218 2003-07-21 Angus Leeming <leeming@lyx.org>
2220 * BufferView_pimpl.C (buffer):
2223 * lyxfunc.C (dispatch):
2224 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2225 rather than the grfx shortcut.
2227 2003-07-21 André Pönitz <poenitz@gmx.net>
2229 * rowpainter.C: remove unused variables
2232 * tabular_funcs.h: move to tabular.C
2233 * Makefile.am: adjust
2235 * tabular.[Ch]: basic optical cleaning
2237 * author.h: pass references, not values
2239 2003-07-18 André Pönitz <poenitz@gmx.net>
2247 * text3.C: two-phase drawing for InsetText and InsetTabular
2248 some float -> int changes.
2250 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2252 * lyx_main.C: fix the fix
2254 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2256 * lyx_main.C: fix a crash in batch mode if no files specified
2259 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2261 * format.[Ch] (papersize): moved to BufferParams
2262 * converter.[Ch] (dvips_options): moved to BufferParams
2263 (dvipdfm_options): moved to anon namespace
2264 * bufferparams.[Ch]: added above functions.
2266 2003-07-17 André Pönitz <poenitz@gmx.net>
2270 * text2.C: don't call inset->update() anymore
2272 * metricsinfo.[Ch]: add convenience constructor
2274 2003-07-16 André Pönitz <poenitz@gmx.net>
2279 * text2.C: replace the LyXCursor::irow_ member with
2280 on-demand computation of the value
2282 2003-07-16 John Levon <levon@movementarian.org>
2284 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2286 2003-07-15 André Pönitz <poenitz@gmx.net>
2289 * text2.C: remove no more needed refresh_row
2291 2003-07-15 André Pönitz <poenitz@gmx.net>
2296 * text3.C: refresh_status tristate -> need_update bool
2298 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2300 * lyxtext.h (init): remove reinit argument (act as if always true)
2301 * text2.C: adjust to that
2303 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2305 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2306 * text3.C: use it to delete selections in some cases
2307 (bugs 441, 673, 702, 954).
2309 2003-07-14 André Pönitz <poenitz@gmx.net>
2311 * rowpainter.[Ch]: reduce interface
2313 2003-07-14 André Pönitz <poenitz@gmx.net>
2315 * BufferView_pimpl.C:
2316 * text2.C: adjust after removing unused BufferView * argument
2318 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2320 * text2.C (init): fix a crash fired on resize
2322 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2324 * buffer.[Ch]: added new closing signal
2325 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2326 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2327 BufferView::Pimpl via the closing the signal
2329 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2331 * buffer.[Ch]: take out all bv-related from buffer
2333 * BufferView_pimpl.[Ch]: connect to new signals
2334 * CutAndPaste.C: removed useless asserts
2335 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2338 * lyxfunc.C: moved view-related funciontality from vc here
2339 * paragraph.C: removed outdated comments
2342 2003-07-10 André Pönitz <poenitz@gmx.net>
2344 * BufferView_pimpl.C:
2348 * text2.C: remove InsetText::InnerCache, clean up consequences
2350 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2352 * ispell.C: fix two typos in error messages
2354 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2356 * Extend Note inset to other forms of annotation like Comment
2357 and Greyedout. Right button click gives dialog.
2359 Files modified or added (+):
2363 * ControlNote.[Ch] +
2365 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2366 frontends/controllers
2370 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2372 * aspell.C: add missing namespace lyx::support
2374 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2376 * BufferView.[Ch] (newFile): Add
2377 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2378 * LaTeX.[Ch] (message): added this signal and use it
2379 * buffer.[Ch] (busy, message): added these signals and use them
2380 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2384 * importer.C: use buffer signals instead of direct bv calling
2385 * lyx_cb.[Ch] (ShowMessage): removed
2388 * paragraph_funcs.C:
2389 * text2.C: use buffer signals
2391 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2393 * introduce namespace lyx::graphics
2395 2003-07-02 André Pönitz <poenitz@gmx.net>
2397 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2399 2003-07-01 André Pönitz <poenitz@gmx.net>
2406 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2407 text*.C to text_func.C
2409 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2411 * introduce namespace lyx::support
2413 2003-06-30 André Pönitz <poenitz@gmx.net>
2418 * text.C: re-enable --with-included-string
2420 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2422 * textcursor.C: add <config.h>
2424 * text.C (getWord): remove const from word_location arg
2426 * lyxvc.C (getLogFile): fix const type order
2428 * lyxtext.h: remove const from word_location arg, add arg name
2430 * lyxlayout.h: currect type on labeltype.
2432 * importer.C: correct \file
2434 * converter.C (intToFormat): use std:: on ret val, ws changes
2436 * bufferlist.h: correct \file
2438 * buffer.C (makeLinuxDocFile): fix const type order
2439 (makeDocBookFile): ditto
2440 (fillWithBibKeys): use std:: on stdlib args.
2442 * CutAndPaste.C: fix authors.
2443 (availableSelections): use std:: on return vector
2445 2003-06-27 André Pönitz <poenitz@gmx.net>
2447 * BufferView_pimpl.C:
2448 * bufferview_funcs.C:
2456 * text3.C: remove LyXCursor::row_ member
2459 * text.C: rename fullRebreak() to partialRebreak() and implement
2460 a fullRebreak() that really bereks fully
2462 * textcursor.h: new struct for cursor-related data
2464 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2466 * lyx_main.C (LyX): get full path of document loaded on the
2469 2003-06-26 André Pönitz <poenitz@gmx.net>
2471 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2472 remove unused/broken operator>,<,>=.
2474 * text.C: remove only use of broken operator<= in an Assert().
2476 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2478 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2479 moved errorlist_.clear to showErrorList
2481 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2483 * converter.C (scanLog, runLaTeX):
2484 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2485 move the bv->showErrorList call to the callers
2486 * lyxfunc.C: i.e. here...
2488 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2489 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2490 namespace, the second to...
2491 * buffer_funcs (BufferFormat, parseErrors): added
2492 * errorlist.C (ErrorList(TeXErrors const &)): removed
2494 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2496 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2498 2003-06-24 "Garst R. Reese" <reese@isn.net>
2502 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2504 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2506 * version.C.in: change docversion to 1.4
2508 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2510 * buffer.C: fix a bug just introduced
2512 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2514 * buffer.[Ch]: added the parseError signal and use it, removed
2516 * BufferView.[Ch] (addError): moved to ...
2517 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2518 to the Buffer::parseError signal to catch (guess what) parse errors
2519 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2521 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2523 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2524 ability to create a buffer and to return an existing one from
2525 the list. Moved these functions to...
2526 * buffer_funcs.[Ch]: added
2527 * BufferView.[Ch] (loadLyXFile): added
2528 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2529 job removed from bufferlist::loadLyXFile.
2530 * buffer.C (setReadOnly): make it work without view
2531 (i.e added an if (users))
2533 2003-06-19 Angus Leeming <leeming@lyx.org>
2536 * LyXAction.C (init):
2537 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2538 with LFUN_DIALOG_SHOW <name> <data>.
2540 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2542 * CutAndPaste.C (availableSelections): small compilation fix for
2543 ancient (gcc 2.9x) compilers
2545 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2547 * text3.C (cursorNext): add tmp var
2549 * text2.C (updateCounters): for function calling out of for clause
2550 (replaceSelectionWithString): ditto
2551 (insertStringAsParagraphs): ditto
2552 (getColumnNearX): add tmp var
2553 (setCursorFromCoordinates): add tmp var
2554 (cursorDownParagraph): add tmp var
2555 (deleteEmptyParagraphMechanism): add tmp var
2557 * text.C (insertChar): add tmp var
2559 * rowpainter.C (paintDepthBar): add tmp var
2561 * CutAndPaste.C (availableSelections): potentially check all
2562 paragraphs in a cut to fill the shown strings.
2564 2003-06-18 André Pönitz <poenitz@gmx.net>
2566 * kbmap.[Ch]: use vector<> instead of list<>
2568 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2570 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2571 pasteSelection with index
2573 * text2.C (pasteSelection): modify, call pasteSelection with index
2575 * paragraph.C (asString): reimplement version with no interval to
2576 call the one with interval.
2578 * lyxtext.h: add index arg to pasteSelection
2580 * MenuBackend.C (MenuItem): handle PasteRecent
2581 (Menu::read::Menutags): add md_pasterecent
2583 (expandPasteRecent): new function
2586 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2588 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2590 (availableSelections): new function
2592 2003-06-17 Angus Leeming <leeming@lyx.org>
2594 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2596 2003-06-17 Angus Leeming <leeming@lyx.org>
2599 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2601 * lyxfunc.C (dispatch): invoke it.
2603 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2605 * iterators.C (operator++, ParPosition): reintroduce some
2606 const_cast for the benefit of older compilers.
2608 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2610 * text3.C (dispatch): do not modify clipboard when doing
2611 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2612 LFUN_DELETE_SKIP on a selection selection
2614 2003-06-16 André Pönitz <poenitz@gmx.net>
2620 * tabular.[Ch]: IU of clone() and getLabelList();
2622 2003-06-13 André Pönitz <poenitz@gmx.net>
2624 * tabular.h: compactification
2626 2003-06-12 André Pönitz <poenitz@gmx.net>
2630 * tabular_funcs.h: some renaming plus whitespace
2632 2003-06-12 André Pönitz <poenitz@gmx.net>
2635 * BufferView_pimpl.C:
2641 * toc.C: Return a Paragraph & for ParIterator::operator*()
2643 2003-06-11 John Levon <levon@movementarian.org>
2647 * ToolbarBackend.C: add "Toolbars" section and
2650 2003-06-10 Angus Leeming <leeming@lyx.org>
2653 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2655 * lyxfunc.C (dispatch): invoke it.
2657 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2659 * main.C: protect <ios> with HAVE_IOS
2660 (main): protect sync_with_stdio with HAVE_IOS
2662 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2664 * text2.C (cutSelection): adjust
2665 (pasteSelection): adjust
2667 * messages.C: handle get of empty string
2669 * main.C (main): use sync_with_stdio(false)
2671 * lyxfunc.C (dispatch): adjust
2673 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2674 (WriteAs): remove unneeded BufferView arg.
2676 * bufferparams.h: use correct types on papersize, papersize2 and
2679 * bufferparams.C (readToken): adjust for type
2680 (writeLaTeX): add missing cases to switch.
2682 * bufferlist.C (quitWriteBuffer): adjust
2685 * buffer.C (asciiParagraph): remove some commented code.
2687 * CutAndPaste.C: remove current_view extern variable.
2688 (cutSelection): add BufferParams arg.
2689 (eraseSelection): add BufferParams arg.
2690 (pasteSelection): add Buffer const & arg
2692 2003-06-07 John Levon <levon@movementarian.org>
2695 * paragraph_funcs.C:
2696 * paragraph_pimpl.C:
2700 * paragraph.C: allow InsetERT to freely space lines,
2701 and some consolidation of code
2703 2003-06-06 José Matos <jamatos@fep.up.pt>
2705 * buffer.C (makeDocBookFile): fix bug #821
2707 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2709 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2711 2003-06-04 Angus Leeming <leeming@lyx.org>
2713 * buffer.C: bump format to 224.
2715 2003-06-05 André Pönitz <poenitz@gmx.net>
2717 * text2.C (redoParagraphs): remove two const_cast<>
2719 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2721 * ParagraphList.h: remove last remnants of NO_STD_LIST
2723 2003-06-03 Angus Leeming <leeming@lyx.org>
2725 * factory.C (createInset): small change to the way InsetExternal's params
2728 2003-06-04 André Pönitz <poenitz@gmx.net>
2730 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2732 * paragraph_pimpl.h:
2733 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2735 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2737 * undo_funcs.C: make some simple cases of undo work again
2739 2003-06-03 John Levon <levon@movementarian.org>
2741 * ispell.C: HPUX doesn't have sys/select.h
2744 2003-06-03 John Levon <levon@movementarian.org>
2746 * CutAndPaste.C: update tabular and include inset
2751 * paragraph.C: remove owningBuffer(), don't pass Buffer
2754 * factory.C: insetGraphicsParams changed
2756 2003-06-02 John Levon <levon@movementarian.org>
2762 * text3.C: remove insetparent
2764 2003-06-02 John Levon <levon@movementarian.org>
2767 * buffer.C: fix inset_iterator.end(), move out of line
2770 2003-06-01 John Levon <levon@movementarian.org>
2772 * text3.C: use a proper cut/paste when doing inset
2773 insert (from Jürgen Spitzmüller)
2775 2003-06-01 John Levon <levon@movementarian.org>
2777 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2779 2003-05-30 André Pönitz <poenitz@gmx.net>
2781 * rowpainter.C: unify second drawing phase
2783 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2785 * trans_mgr.C: remove one case of current_view
2787 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2789 * paragraph_funcs.h: remove paragraph.h include
2791 * paragraph.h: delete NO_STD_LIST stuff
2793 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2795 * buffer.h: remove paragraph.h include
2797 * ParagraphList.C: delete file
2799 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2801 * toc.C (getTocList): adjust
2803 * paragraph_pimpl.C (validate): adjust
2805 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2807 * paragraph.C (Paragraph): adjust
2808 (getPositionOfInset): use const_iterator, adjust
2809 (bibitem): use const_iterator, adjust
2810 (setInsetOwner): adjust
2812 * iterators.C (operator++): adjust
2814 * InsetList.[Ch]: Replace selfmade iterator with standard
2815 vector::iterator also introduce const_iterator. Remove getPos,
2816 getInset and setInset from InsetTable. Adjust accordingly.
2818 * BufferView.C (lockInset): adjust
2819 (ChangeInsets): adjust
2821 * tabular.[Ch]: delete commented same_id functions
2823 2003-05-28 John Levon <levon@movementarian.org>
2825 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2827 2003-05-28 André Pönitz <poenitz@gmx.net>
2829 * metricsinfo.[Ch]: remove 'fullredraw' member
2831 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2833 * lyxtextclass.C (operator): remove caching.
2835 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2839 * text2.C (cursorBottom): adjust
2840 (setCounter): use ParagraphList::find, adjust
2842 * text.C (workWidth): use ParagraphList::find, adjust
2844 * lyxcursor.C (LyXCursor): adjust
2846 * buffer.C (inset_iterator): adjust
2848 * ParagraphList.h: make iterator(value_type) private, make
2849 ParagraphList a friend of iterator.
2851 * ParagraphList.C (find): new function
2853 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2855 2003-05-27 André Pönitz <poenitz@gmx.net>
2857 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2859 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2861 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2863 2003-05-26 John Levon <levon@movementarian.org>
2865 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2867 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2869 * remove same_id from function signatures, adjust.
2871 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2873 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2875 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2877 * paragraph.C (Paragraph): get rid of same_ids parameter
2879 * ParagraphList.C (insert): adjust
2882 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2884 * paragraph_funcs.C (breakParagraph): adjust
2885 (breakParagraphConservative): adjust
2887 * buffer.C (readParagraph): adjust
2889 * ParagraphList.C (insert): take a reference instead of a pointer
2892 * paragraph.[Ch] (id): new function
2894 * bufferlist.C (newFile): adjust
2896 * ParagraphList.C (ParagraphList): adjust
2898 (push_back): take a reference instead of a pointer.
2900 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2902 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2905 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2906 set else use old code.
2908 * ParagraphList.C: remove all NO_NEXT code and only compile this
2909 code of NO_STD_LIST is set.
2911 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2913 * BufferView_pimpl.C:
2923 * graphics/GraphicsConverter.C:
2924 * graphics/PreviewLoader.C: header adjustment
2926 2003-05-23 Angus Leeming <leeming@lyx.org>
2928 * LaTeXFeatures.[Ch] (useBabel): new method.
2929 * bufferparams.C (writeLaTeX): use it.
2931 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2933 * ParagraphList.h (set): remove unused function.
2935 2003-05-23 André Pönitz <poenitz@gmx.net>
2938 * BufferView_pimpl.C:
2942 * undo_funcs.C: setUndo reworked
2944 * iterators.[Ch]: add access to topmost ParagraphList
2946 * lyxtext.[Ch] (workWidth): add a const
2948 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2950 * texrow.[Ch] (increasePos): remove function
2951 * exporter.C (export): removed unused var and outdated comment
2953 2003-05-23 Angus Leeming <leeming@lyx.org>
2955 * latexrunparams.h: rename fragile as moving_arg.
2956 * paragraph.C (simpleTeXOnePar): ditto.
2957 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2959 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2961 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2963 (textUndoOrRedo): comment out a currently unused var.
2965 * paragraph.h (NO_NEXT): enable NO_NEXT
2967 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2969 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2971 * exporter.C (Export): adjust for removeAutoInsets removal.
2973 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2975 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2977 * BufferView.[Ch] (removeAutoInsets): delete function
2979 2003-05-22 Angus Leeming <leeming@lyx.org>
2981 * latexrunparams.h: add a free_spacing variable.
2983 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2984 to pass moving_arg, as the data is stored in runparams.fragile.
2986 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2987 to Inset::latexOptional or to simpleTeXOnePar.
2989 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2990 free_spacing arg to Inset::latexOptional.
2992 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2995 2003-05-22 Angus Leeming <leeming@lyx.org>
2997 * latexrunparams.h: add fragile and use_babel variables.
2999 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3000 * buffer.C (makeLaTeXFile): store this returned value in
3001 runparams.use_babel, thus passing it to the inset::latex methods.
3003 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3004 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3006 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3007 longer has a fragile arg, as it is stored in runparams.fragile.
3009 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3010 moving_arg parameter as the data is stored in runparams.fragile.
3012 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3013 a fragile parameter as the data is stored in runparams.fragile.
3015 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3017 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3019 2003-05-22 Angus Leeming <leeming@lyx.org>
3021 * latexrunparams.h: add a 'bool nice' which defaults to false.
3023 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3024 now encapsulated within runparams.
3026 * bufferlist.C (updateIncludedTeXfiles):
3027 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3029 2003-05-22 Angus Leeming <leeming@lyx.org>
3031 * latexrunparams.h: new file containing struct LatexRunParams.
3032 * Makefile.am: add new file.
3034 * LaTeX.[Ch] (c-tor, run):
3035 * buffer.[Ch] (makeLaTeXFile):
3036 * bufferlist.[Ch] (updateIncludedTeXfiles):
3037 * converter.C (convert, scanLog):
3038 * converter.[Ch] (runLaTeX):
3039 * exporter.C (Export):
3040 * paragraph.[Ch] (simpleTeXOnePar):
3041 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3042 * paragraph_funcs.[Ch] (latexParagraphs):
3043 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3044 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3045 pass around a LatexRunParams parameter.
3047 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3049 * paragraph.[Ch]: remove unused constructor
3051 * ParagraphList.C (erase): new function, taking two iterators
3053 2003-05-22 André Pönitz <poenitz@gmx.net>
3055 * undo_funcs.C: remove duplicated code
3057 * iterator.[Ch]: operator=
3059 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3061 * tabular.C (SetMultiColumn): ws changes
3063 * rowpainter.C (paintFirst): get rid of a ->previous
3065 * lyx_cb.C (getPossibleLabel): parlist simplification
3067 * BufferView.C (ChangeInsets): simplify slightly.
3069 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3071 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3072 * lfuns.h: new LFUN_SPACE
3073 * lyxfunc.C: protected space has a new lfun
3074 * paragraph_funcs.C: read new space insets
3076 * factory.C: handle new space insets
3078 2003-05-22 André Pönitz <poenitz@gmx.net>
3081 * BufferView_pimpl.C:
3084 * undo_funcs.C: return a ParIterator from getParFromID.
3086 * iterators.[Ch]: add two const's
3088 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3090 * toc.C (getTocList): adjust
3092 * iterators.[Ch]: rework for parlist
3094 * buffer.C (par_iterator_begin): adjust
3095 (par_iterator_end): adjust
3097 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3099 * BufferView.C (removeAutoInsets): adjust
3100 (ChangeInsets): adjust
3102 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3104 * text.C (top_y): fix bug 1110
3106 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3108 * errorlist.[Ch]: added
3111 * BufferView_pimpl.C:
3112 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3115 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3117 * Makefile.am: ensure that lyx is relinked upon changes to the
3118 various "convenience" libs.
3120 2003-05-20 Angus Leeming <leeming@lyx.org>
3122 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3123 files are compiled in alphabetical order again.
3125 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3127 2003-05-19 Angus Leeming <leeming@lyx.org>
3129 * gettext.[Ch]: remove "char const * _(char const *)".
3131 2003-05-19 André Pönitz <poenitz@gmx.net>
3133 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3142 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3144 2003-05-19 André Pönitz <poenitz@gmx.net>
3148 * lyxtextclass.[Ch]:
3150 * paragraph_funcs.[Ch]:
3152 * text3.C: more insetenv work
3154 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3156 * ParagraphParameters.C (params2string): small bug fixed
3158 2003-05-16 André Pönitz <poenitz@gmx.net>
3161 * bufferview_funcs.C: patch from Kornel Benko to prevent
3162 crash when _(...) is called twice in a statement
3164 2003-05-16 André Pönitz <poenitz@gmx.net>
3171 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3173 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3175 * lyx_main.C (init): remove spurious static_cast
3177 2003-05-14 André Pönitz <poenitz@gmx.net>
3179 * BufferView.C: fix format string
3181 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3183 * BufferView.[Ch] (insertErrors): removed
3184 * BufferView.[Ch] (showErrorList): added
3185 * buffer.C (runChkTeX):
3186 * converter.C (scanLog): call showErrorList instead of inserterrors
3188 2003-05-13 André Pönitz <poenitz@gmx.net>
3190 * BufferView_pimpl.C:
3192 * bufferview_func.C:
3199 * tabular_funcs.h: tostr() from its own header
3201 * ParagraphParameters.C:
3206 * text3.C: STRCONV()
3208 2003-05-12 André Pönitz <poenitz@gmx.net>
3211 * BufferView_pimpl.C:
3215 * ParagraphParameters.C:
3219 * bufferview_funcs.C:
3232 * paragraph_funcs.C:
3236 * text3.C: boost::format -> bformat all over the place
3239 2003-05-09 André Pönitz <poenitz@gmx.net>
3241 * LColor.[Ch]: Pimpl the #include <map> away
3243 2003-05-09 John Levon <levon@movementarian.org>
3245 * bufferlist.C: never remove emergency saves
3247 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3249 * Makefile.am: better lib building
3251 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3253 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3255 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3256 (simpleTeXSpecialChars): adjust
3257 (simpleTeXSpecialChars): adjust
3258 * paragraph.C (simpleTeXOnePar): adjust
3259 * buffer.C (makeLaTeXFile): adjust
3261 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3263 * text2.C (changeDepth): parlist cleanup
3264 (getColumnNearX): ditto
3266 * rowpainter.C (getLabelFont): parlist cleanup
3268 * bufferlist.C (newFile): parlist cleanup
3270 * CutAndPaste.C (eraseSelection): parlist cleanup
3272 * BufferView_pimpl.C (trackChanges): parlist cleanup
3275 * BufferView.C (lockInset): parlist cleanup.
3276 (ChangeInsets): ditto
3278 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3280 * CutAndPaste.h: Update file header.
3282 * CutAndPaste.C: Update file header.
3283 Store the parts cut out of the Document in a limited_stack.
3284 (copySelection): adjust
3285 (pasteSelection): new function, takes the index in the limited stack.
3286 (nrOfParagraphs): adjust
3287 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3288 simplify error inset insertion.
3289 (checkPastePossible): adjust
3291 2003-05-06 John Levon <levon@movementarian.org>
3293 * text2.C: don't cast wrap inset to float
3295 2003-05-05 André Pönitz <poenitz@gmx.net>
3298 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3300 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3301 few naked Paragraph *.
3303 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3305 * bufferparams.C: Output warning if a document with missing
3306 TeX document class is loaded
3307 * exporter.C: Disable TeX exports if the document class is missing
3310 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3311 isTeXClassAvailable()
3313 2003-05-03 John Levon <levon@movementarian.org>
3316 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3317 explicit cursor show/hide
3319 * BufferView_pimpl.h:
3320 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3321 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3323 * lyxfunc.C: hide cursor before dispatching.
3328 * text3.C: remove explicit cursor hides
3330 2003-05-02 André Pönitz <poenitz@gmx.net>
3332 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3335 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3338 * text2.C: tiny whitespace
3340 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3342 * undo_funcs.C: almost only ws changes.
3344 * ParagraphList.C (splice): just return if pl is empty.
3346 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3348 * ParagraphList.C (splice): new function.
3350 * CutAndPaste.C (pasteSelection): use it
3352 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3354 * CutAndPaste.C (pasteSelection): remove the last next and
3355 previous from this file.
3357 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3359 * CutAndPaste.C (pasteSelection): more clean up, user proper
3360 ParagraphList functions for pasteing.
3362 * ParagraphList.C (insert): new function, three arg insert
3364 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3366 * ParagraphList.C (insert): new function, three arg insert
3368 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3371 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3373 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3375 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3377 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3379 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3381 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3382 (copySelection): clean up a bit.
3383 (pasteSelection): use make_pair
3385 * ParagraphList.C (ParagraphList): implement copy constructor
3386 (operator=): implement, base on copy constructor.
3389 * paragraph.C (erase): return a bool
3391 * paragraph_pimpl.C (erasePos): remove function, move contents...
3392 (erase): ... here. Return a bool.
3393 (erase): call erase instead of erasePos.
3395 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3397 * ParagraphList.h: define PitPosPair
3398 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3399 ParagraphList, fix a bug on pasting multiple pars
3400 * text2.C: change interface to C&P
3402 2003-04-30 André Pönitz <poenitz@gmx.net>
3404 * undo_func.C: revert part of yesterday's patch 2
3406 2003-04-30 John Levon <levon@movementarian.org>
3408 * LColor.C: s/tabular/table/
3410 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3412 * text3.C (dispatch): do not convert iterator -> pointer
3413 * undo_funcs.C (setCursorParUndo): ditto
3414 * text_funcs.C (transposeChars): ditto
3416 * text2.C (setLayout): ws changes only
3418 * text.C (breakParagraph): do not convert iterator -> pointer
3420 (acceptChange): ditto
3421 (rejectChange): ditto
3426 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3429 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3431 * text3.C (gotoInset): YABG (yet another bad getChar)
3433 2003-04-29 André Pönitz <poenitz@gmx.net>
3435 * paragraph.h: make operator= private unimplemented as long as
3438 * ParagraphList.C: whitespace
3441 * paragraph_pimpl.[Ch]:
3442 * paragraph_funcs.C:
3444 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3447 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3449 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3451 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3452 * paragraph.[Ch] (erase):
3453 * paragraph_pimpl.[Ch] (erase): change return type and value
3454 * text2.C (cutSelection): some rework
3456 2003-04-28 John Levon <levon@movementarian.org>
3458 * bufferlist.C: changes for unsaved changes dialog
3460 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3462 * bufferlist.C (newFile): set language (messages_) for new
3465 * buffer.C (readFile): ws changes only.
3467 2003-04-28 André Pönitz <poenitz@gmx.net>
3472 * BufferView_pimpl.C:
3473 * BufferView.C: getParFromID related ParagraphList::iterator changes
3475 2003-04-28 André Pönitz <poenitz@gmx.net>
3477 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3480 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3482 * messages.C: remove one more localedir class variable.
3484 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3486 * messages.C (getLocaleDir): singleton generation function
3488 (Messages): add a default constructor.
3490 * main.C (main): do not setup localedir here, do not call
3493 * gettext.C (_): use it.
3494 (gettext_init): delete funciton
3496 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3498 * gettext.C (getLyXMessages): new singleton generating function.
3500 * buffer.C (updateDocLang): adjust
3502 * Makefile.am (messages.o): add target
3503 (main.o): remove target
3505 2003-04-27 John Levon <levon@movementarian.org>
3510 * lyxvc.C: specify cancel button in Alert::prompt
3512 2003-04-26 John Levon <levon@movementarian.org>
3517 * LyXAction.C: add LFUN_INSET_SETTINGS
3519 * lyxfunc.C: don't enable tabular-feature when there's
3520 just any locking inset
3522 2003-04-26 John Levon <levon@movementarian.org>
3524 * bufferlist.C: re-add Cancel to buffer close question
3526 * lyxfunc.C: fix import UI a bit
3528 2003-04-25 John Levon <levon@movementarian.org>
3530 * gettext.C: remove the broken asserts for now
3532 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3534 * messages.C: make case where setlocale cannot comply work better.
3536 * buffer.C (updateDocLang): new function
3537 (changeLanguage): use it
3540 * text2.C (setCounter): use B_ a bit.
3542 * lyxlayout.C (Read): be sure to trim the label strings.
3544 * messages.C (Messages): fix typo in comment
3546 * buffer.C (readFile): set message_ after file is loaded.
3547 (makeDocBookFile): remove double return
3548 (changeLanguage): reset message_ upon language change.
3549 (B_): new func, use this to get translated buffer strings.
3551 * main.C: add myself and Jean Marc as authors.
3553 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3555 * messages.[hC]: pimplify Messages, and three different pimpls to be
3556 used in different circumstances.
3558 * gettext.[Ch]: change for use with new message code.
3560 2003-04-24 André Pönitz <poenitz@gmx.net>
3562 * factory.C: support for eqref
3564 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3566 * messages.[Ch]: add missing char
3568 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3570 * messages.[Ch]: New files
3572 2003-04-18 John Levon <levon@movementarian.org>
3576 * BufferView_pimpl.C:
3580 * text2.C: remove layout-copy/paste (bug 778)
3582 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3584 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3586 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3588 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3589 if they succeed. Act accordingly.
3591 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3593 * text2.C (setCharFont): adjust
3594 (setCounter): adjust
3595 (insertStringAsLines): adjust
3597 * text.C (leftMargin): adjust
3598 (setHeightOfRow): adjust
3600 * rowpainter.C (paintFirst): adjust
3603 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3605 (isFirstInSequence): ditto
3606 (getEndLabel): ditto
3609 * paragraph.C (getParLanguage): comment out some hard stuff.
3611 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3613 (simpleDocBookOnePar): ditto
3614 (makeDocBookFile): use ParagraphList::iterator
3616 * CutAndPaste.C (pasteSelection): adjust
3618 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3620 * text2.C (getFont): adjust
3621 (getLayoutFont): adjust
3622 (getLabelFont): adjust
3624 * paragraph_funcs.C (TeXOnePar): adjust
3626 * buffer.C (simpleLinuxDocOnePar): adjust
3627 (simpleDocBookOnePar): adjust
3629 * CutAndPaste.C (pasteSelection): adjust
3631 * BufferView.C (getEncoding): adjust
3633 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3635 2003-04-16 John Levon <levon@movementarian.org>
3637 * lyxfind.C: use parlist stuff for search/changes
3639 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3641 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3643 * text2.C (deleteEmptyParagraphMechanism): adjust
3645 * text2.[Ch] (ownerParagraph): delete func (both of them
3647 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3649 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3651 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3653 * ParagraphList.C: prepare for NO_NEXT
3655 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3657 * text2.C (getFont): adjust
3658 (getLayoutFont): adjust
3659 (getLabelFont): adjust
3661 * paragraph.C (getFont): adjust
3662 (getLabelFont): adjust
3663 (getLayoutFont): adjust
3665 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3667 2003-04-15 John Levon <levon@movementarian.org>
3671 * lyx_main.C: handle Include in .ui files
3673 2003-04-15 John Levon <levon@movementarian.org>
3675 * MenuBackend.C: make the doc files length shorter
3678 * ToolbarBackend.C: handle toolbar placement flags,
3681 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3683 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3686 * paragraph_funcs.C (TeXOnePar): adjust
3688 * paragraph.C (getLabelFont): add outerfont arg, adjust
3689 (getLayoutFont): ditto
3690 (simpleTeXOnePar): adjust
3692 * paragraph_pimpl.C (realizeFont): delete func
3694 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3696 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3697 row argument, constify cur argument.
3699 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3701 * text2.C (getFont): adjust
3702 (getLayoutFont): adjust
3703 (getLabelFont): adjust
3705 * paragraph_funcs.C (TeXOnePar): adjust
3706 (outerFont): new func...
3707 (realizeFont): ...moved out from here, changed this to facilitate
3710 * paragraph.C (getFont): take outerfont as arg, adjust
3711 (simpleTeXOnePar): add outerfont arg, adjust
3713 * buffer.C (simpleLinuxDocOnePar): adjust
3714 (simpleDocBookOnePar): adjust
3716 * CutAndPaste.C (pasteSelection): adjust
3718 * BufferView.C (getEncoding): adjust
3720 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3722 * text2.C (setCharFont): adjust
3723 (setCounter): adjust
3725 * text.C (leftMargin): adjust
3726 (setHeightOfRow): adjust
3728 * rowpainter.C (paintFirst): adjust
3731 * paragraph_pimpl.C (realizeFont): adjust
3733 * paragraph.C (isFirstInSequence): move from here...
3734 * paragraph_funcs.C (isFirstInSequence): ...to here
3736 * paragraph.C (outerHook): move from here...
3737 * paragraph_funcs.C (outerHook): ...to here
3739 * paragraph.C (depthHook): move from here...
3740 * paragraph_funcs.C (depthHook): ...to here
3742 * paragraph.C (getEndLabel): move from here...
3743 * paragraph_funcs.C (getEndLabel): ...to here
3745 * text2.C (realizeFont): move from here...
3746 * paragraph_funcs.C (realizeFont): ...to here
3748 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3750 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3752 2003-04-14 Angus Leeming <leeming@lyx.org>
3754 * LColor.[Ch]: scrap LColor mathcursor.
3756 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3758 * lyxlex.[Ch] (text): delete function
3759 * trans.C (Load): adjust
3760 * paragraph_funcs.C (readParToken): adjust
3762 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3764 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3765 vector<char> instead of a char[].
3767 * lyxlex_pimpl.C (getString): adjust
3769 (lex): use getString
3773 * lyxlex.C (text): use pimpl_->getString()
3777 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3779 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3780 (makeFontEntriesLayoutSpecific): temp var for par.size()
3781 (setLayout): temp var for ownerParagraphs().end()
3782 (fullRebreak): temp var for rows().end()
3783 (selectionAsString): temp var for boost::next(startpit), realize
3784 that the while really is a regular for loop.
3785 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3786 setCursor in one place.
3787 (setParagraph): temp vr for ownerParagraphs().end()
3788 (updateCounters): make the while loop a for loop
3789 (cutSelection): temp var for ownerParagraphs().end()
3790 (updateInset): make the do {} while() a regular for loop
3791 (getCursorX): use temp vars
3792 (setCurrentFont): use temp vars
3793 (getColumnNearX): use temp vars
3795 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3797 * text.C (transformChar): use temp var for getChar
3798 (computeBidiTables): use temp var for row->par()
3799 (fill): move temp vars for row->par() and pit->layout() earlier in
3801 (labelFill): use temp var for row->par()
3802 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3803 asc and desc, realize that pit never changes and that firstpit is
3804 just a duplicate and not needed. Exchange rit->par() with pit in a
3806 (breakAgain): use a temp var for boost::next(rit)
3807 (breakAgainOneRow): ditto
3808 (breakParagraph): use a temp var for rows().begin()
3809 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3810 (cursorRightOneWord): use temp var for cursor.par() and
3811 cursor.pos(), remove usage of tmpcursor.
3812 (cursorLeftOneWord): use temp var for cursor.par() and
3813 cursor.pos() only set cur at end of function.
3815 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3817 * text.C, text2.C: exchange all usage of Paragraph::next with
3818 boost::next(ParagraphList::iterator)
3820 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3822 * text2.C (cursorTop): simplify implementation
3823 (cursorBottom): ditto
3824 (setParagraph): use ParagraphList::iterator
3825 (setCurrentFont): adjust
3826 (getColumnNearX): adjust
3827 (cursorRight): adjust
3828 (cursorLeft): remove usage of Paragraph::previous
3829 (cursorUpParagraph): ditto
3830 (deleteEmptyParagraphMechanism): slight cleanup
3832 * text.C (isBoundary): take a Paragraph const & instead of a
3834 (addressBreakPoint): ditto
3835 (leftMargin): remove usage of Paragraph::previous.
3836 (setHeightOfRow): ditto
3837 (cursorLeftOneWord): ditto
3838 (selectNextWordToSpellcheck): ditto
3841 (breakParagraph): remove one usage of Paragraph::next
3842 (redoParagraph): ditto
3843 (acceptChange): ditto
3844 (insertChar): adjust
3845 (rowBreakPoint): adjust
3847 * bufferview_funcs.C (toggleAndShow): adjust
3849 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3851 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3852 methods to access it.
3854 * text.C: Added updateRowPositions to compute all row positions.
3855 Make top_y and getRowNearY() to use the cached y position
3857 2003-04-11 John Levon <levon@movementarian.org>
3859 * text.C (rowBreakPoint): reintroduce the labelEnd
3860 checks, code copied from the row fill stuff. Deep voodoo.
3862 * text.C (fill): add a comment and debugging for the
3865 2003-04-11 John Levon <levon@movementarian.org>
3867 * text.C: make sure fullrow insets get wrapped to the next line,
3868 even when they're in a manual label
3870 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3872 * text2.C (insertParagraph): make it take ParagraphList::iterator
3874 (setLayout): make it return ParagraphList::iterator
3875 (redoParagraphs): ditto
3877 (checkParagraph): ditto
3879 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3881 * text2.C: adjust several funcs.
3882 (realizeFont): take a ParagraphList::iterator as arg.
3883 (getLayoutFont): ditto
3884 (getLabelFont): ditto
3885 (setCharFont): ditto
3887 * text.C: adjust several funcs.
3889 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3891 * text.C (selectNextWordToSpellcheck): don't accidentally
3894 2003-04-10 John Levon <levon@movementarian.org>
3896 * ToolbarBackend.C (getIcon): special handling for
3899 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3901 * text2.C (cursorRight): a getChar assert fixed
3903 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3905 * text2.C (getFont): change to take a ParagraphList::iterator
3906 instead of Paragraph*
3907 Adjust several functions.
3909 * text.C (transformChar): change to take a ParagraphList::iterator
3910 instead of Paragraph*
3911 (singleWidth): ditto
3912 Adjust several functions.
3914 * rowpainter.C: adjust several functions
3915 * rowpainter.h:store a ParagraphList::iterator and not a
3919 2003-04-09 John Levon <levon@movementarian.org>
3924 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3925 and the "help" bits as well
3927 2003-04-09 John Levon <levon@movementarian.org>
3930 * ToolbarBackend.C: allow multiple toolbars
3932 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3934 * undo_funcs.C (setCursorParUndo): adjust
3936 * text_funcs.C (transposeChars): adjust
3938 * text3.C (gotoNextInset): adjust
3941 * text2.C (setLayout): adjust
3942 (changeDepth): adjust
3944 (redoParagraphs): adjust
3945 (selectionAsString): adjust
3946 (setParagraph): adjust
3947 (insertInset): adjust
3948 (cutSelection): adjust
3949 (copySelection): adjust
3950 (pasteSelection): adjust
3951 (insertStringAsLines): adjust
3952 (updateInset): adjust
3953 (setCursor): change to take a ParagraphList::iterator parameter
3954 (setCursorIntern): change to take a ParagraphList::iterator parameter
3955 (setCurrentFont): adjust
3956 (cursorLeft): adjust
3957 (cursorRight): adjust
3958 (deleteEmptyParagraphMechanism): adjust
3960 * text.C (breakParagraph): adjust
3961 (insertChar): adjust
3962 (acceptChange): adjust
3963 (rejectChange): adjust
3964 (selectNextWordToSpellcheck): adjust
3965 (changeCase): adjust
3969 * lyxfind.C (SearchForward): adjust
3970 (SearchBackward): adjust
3971 (nextChange): adjust
3973 * lyxcursor.C (par): adjust
3975 * lyxcursor.h: store a ParagraphList::iterator instead of a
3978 * lyx_cb.C (getPossibleLabel): adjust
3980 * bufferview_funcs.C (toggleAndShow): adjust
3982 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3985 * BufferView.C (removeAutoInsets): adjust
3986 (lockedInsetStoreUndo): adjust
3988 2003-04-09 John Levon <levon@movementarian.org>
3990 * ToolbarBackend.C: try icon without argument
3991 if with argument fails
3993 2003-04-08 John Levon <levon@movementarian.org>
3996 * ToolbarBackend.C: add getIcon(), handle tooltip,
3997 and change from "Icon" to "Item".
3999 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4001 * BufferView.C (lockInset): another bad getchar crunched
4003 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4005 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4008 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4010 * lyxfind.C (searchForward, searchBackwards): bug 782
4012 2003-04-07 John Levon <levon@movementarian.org>
4014 * paragraph.C: remove dead comment
4016 * text.C: remove troublesome depth-fiddling code
4017 in leftMargin() and rightMargin() (bug 1017)
4019 * text.C: fix breaking of rows in nested lists
4022 * text2.C (updateCounters): fix up depth values
4025 2003-04-07 John Levon <levon@movementarian.org>
4027 * BufferView_pimpl.C: clear message when doc finishes resizing,
4028 and after a mouse event
4030 * lyxfunc.C: clear message after exiting inset
4032 2003-04-07 John Levon <levon@movementarian.org>
4034 * bufferview_funcs.C: show math status not outside
4035 status in the statusbar
4037 2003-04-07 John Levon <levon@movementarian.org>
4039 * lyxfunc.C: note status changed after a depth change
4041 2003-04-04 Angus Leeming <leeming@lyx.org>
4043 * LaTeX.h: move AuxInfo operator==, != out of line.
4044 Remove LaTeX virtual destructor; nothing derives from it.
4045 Move operator()() out of public area and rename it startscript().
4046 Change protected for private.
4048 2003-04-04 Angus Leeming <leeming@lyx.org>
4051 * text2.C: remove unneeded #includes.
4053 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4055 * text2.C (dEPM): fix the heigth of the next row
4057 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4059 * text.C: squashed an invalid getChar requester + some ws changes
4061 2003-04-03 John Levon <levon@movementarian.org>
4063 * bufferview_funcs.h:
4064 * bufferview_funcs.C:
4067 * text2.C: make getStatus work for the env depth lfuns
4069 2003-04-03 John Levon <levon@movementarian.org>
4071 * bufferview_funcs.h:
4072 * bufferview_funcs.C:
4075 * text2.C: parlistize decDepth(), by merging it with incDepth()
4077 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4079 * lyxrow.h: store a ParagraphList::iterator instead of a
4080 Paragraph* and adjust other class functions to suit.
4082 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4085 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4087 * text2.C (setCursor): do not anchor to cursor row for the time being
4089 2003-04-02 John Levon <levon@movementarian.org>
4096 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4098 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4100 * paragraph.h: make ParagraphList and ParagraphList::iterator
4101 friends of Paragraph.
4103 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4105 * ParagraphList.C: Use the private next_ and previous_ from
4108 2003-04-01 John Levon <levon@movementarian.org>
4112 * Makefile.am: rename, remove defaults gunk
4115 * MenuBackend.C: remove defaults gunk
4118 * Languages.C: remove defaults gunk
4121 * lyx_main.C: error out if files couldn't be found.
4123 2003-04-02 John Levon <levon@movementarian.org>
4125 * text2.C: make incDepth() use parlist
4127 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4129 * undo_funcs.C (firstUndoParagraph): adjust
4131 * text3.C (gotoInset): adjust
4132 (dispatch): adjust, and rewrite loop.
4134 * text2.C (init): adjust, and rewrite loop.
4135 (redoParagraphs): adjust
4136 (updateInset): adjust, and rewrite loop.
4137 (deleteEmptyParagraphMechanism): adjust
4139 * tabular.C (LyXTabular): adjust
4140 (SetMultiColumn): adjust
4143 * lyxtext.[Ch] (ownerParagraph): delete function
4144 (ownerParagraphs): new function returns a ParagraphList.
4146 * BufferView.C (removeAutoInsets): adjust
4147 (insertErrors): adjust
4148 (setCursorFromRow): adjust
4150 2003-04-01 Angus Leeming <leeming@lyx.org>
4152 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4155 2003-04-02 John Levon <levon@movementarian.org>
4161 * text_funcs.C: make transposeChars a free function
4163 * lyxrow_funcs.C: remove wrong comment
4165 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4168 * rowpainter.C: adjust
4173 * lyxrow_funcs. [Ch]: new files
4175 * lyxrow.[Ch]: remove next and previous pointers
4176 (next,previous): remove accessor functions
4177 (isParEnd): move to lyxrow_funcs
4178 (lastPos): move to lyxrow_funcs
4179 (nextRowIsAllInset): move to lyxrow_funcs
4180 (lastPrintablePos): move to lyxrow_funcs
4181 (numberOfSeparators): move to lyxrow_funcs
4182 (numberOfHfills): move to lyxrow_funcs
4183 (numberOfLabelHfills): move to lyxrow_funcs
4184 (hfillExpansion): move to lyxrow_funcs
4188 * bufferview_funcs.C (toggleAndShow): adjust
4190 * RowList.h: Remove class RowList from file leave just a
4193 * RowList.C: delete file
4195 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4198 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4200 * text3.C (cursorPrevious): adjust
4201 (cursorNext): adjust
4204 * text2.C (redoHeightOfParagraph): adjust
4205 (redoDrawingOfParagraph): adjust
4208 * text.C (breakParagraph): adjust
4209 (insertChar): adjust
4212 * rowpainter.C (RowPainter): adjust
4213 (leftMargin): simplify and adjust
4214 (most rowpainter functions): adjust.
4216 * rowpainter.h: store the row as RowList::iterator not as Row*
4218 * lyxcursor.C (row): taka RowList::iterator as arg
4221 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4224 2003-04-01 Angus Leeming <leeming@lyx.org>
4226 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4227 stuff like bool Bool.
4229 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4231 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4234 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4236 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4239 * lyxtext.h (rows): drop one version and leve a const variant that
4240 returns a RowList::iterator.
4242 2003-03-31 Angus Leeming <leeming@lyx.org>
4244 * text.C (fill): ensure that the signature is the same as that in the
4247 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4249 * text2.C (redoParagraphs): adjust
4250 (updateCounters): adjust
4251 (checkParagraph): adjust
4252 (getColumnNearX): adjust and reformat a bit.
4254 * text.C (top_y): adjust
4256 (leftMargin): adjust
4257 (prepareToPrint): adjust
4259 (getRowNearY): adjust
4261 * lyxtext.h: make rowlist_ mutable.
4263 * RowList.h: add const_iterator
4264 * RowList.C: adjust for RowList::const_iterator.
4266 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4269 2003-03-31 John Levon <levon@movementarian.org>
4272 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4274 * lyx_main.C: set default fonts from using lyx_gui funcs
4276 * exporter.C: pdf_mode moved from lyxrc
4279 * lyxfunc.C: changes from above
4281 2003-03-31 John Levon <levon@movementarian.org>
4283 * lyx_main.C: fix to the last fix
4285 2003-03-31 John Levon <levon@movementarian.org>
4287 * bufferlist.C: "Load original" -> "Load Original"
4293 * format.C: more Alert cleanups
4295 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4297 * text2.C (removeParagraph): make it take a RowList::iterator as
4299 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4300 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4302 * text.C (anchor_row): make it take a RowList::iterator as arg,
4304 (computeBidiTables): make it take a const reference to Row instead
4305 of Row pointer, adjust.
4306 (leftMargin): make it take a RowList::iterator as arg, adjust.
4307 (rowBreakPoint): adjust
4308 (breakAgainOneRow): make it take a RowList::iterator as arg,
4310 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4312 * bufferview_funcs.C (toggleAndShow): adjust
4314 2003-03-30 John Levon <levon@movementarian.org>
4318 * boost-inst.C: moved to support
4320 * several files: changes as a result
4322 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4324 * text2.C (LyXText): adjust.
4326 (removeRow): make it take a RowList::iterator as arg, adjust.
4327 (fullRebreak): adjust
4328 (deleteEmptyParagraphMechanism): adjust
4329 (clearPaint): adjust
4332 * text.C (top_y): adjust
4333 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4334 (breakAgain): make it take a RowList::iterator as arg, adjust.
4335 (breakParagraph): adjust
4336 (insertChar): adjust
4339 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4340 need_break_row, and refresh_row.
4342 * text3.C (dispatch): adjust
4344 * text2.C (checkParagraph): adjust
4346 (setCursorFromCoordinates): adjust
4348 * text.C (top_y): adjust
4350 (getRow): make it return a RowList::iterator, adjust
4351 (getRowNearY): make it return a RowList::iterator, adjust
4353 * text2.C (init): adjust
4354 (insertRow): remove function
4355 (insertParagraph): adjust
4356 (redoParagraphs): adjust
4357 (fullRebreak): adjust
4358 (updateCounters): adjust
4360 * text.C (top_y): rewrite to use RowList iterators.
4362 (setHeightOfRow): rewrite to sue RowList iterators.
4363 (appendParagraph): adjust
4364 (breakAgain): adjust
4365 (breakAgainOneRow): adjust
4366 (breakParagraph): adjust
4368 (getRowNearY): adjust, and remove commented code.
4370 * lyxtext.h (firstRow): delete function
4371 (lastRow): delete function
4372 (rows): new function (const and non-const versions.)
4373 (insertRow): delete function
4375 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4377 2003-03-29 John Levon <levon@movementarian.org>
4379 * BufferView_pimpl.C: always update scrollbar top
4380 because pasting text when we're anchored could mean we
4381 miss an update altogether
4383 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4385 * text2.C (init): use rowlist_.end() and not 0.
4386 (insertRow): change to take a RowList::iterator as arg, adjust
4388 (insertParagraph): change to take a RowList::iterator as arg,
4390 (redoParagraphs): remove some debug msgs.
4392 * text.C (appendParagraph): change to take a RowList::iterator
4393 arg, adjust for this.
4394 (breakAgain): add an assert
4395 (breakAgainOneRow): ditto
4397 2003-03-29 John Levon <levon@movementarian.org>
4399 * text2.C: do not clear selection after inc/decDepth
4402 2003-03-29 John Levon <levon@movementarian.org>
4405 * buffer.C: fix broken strerrors according to Lars
4407 2003-03-29 John Levon <levon@movementarian.org>
4409 * converters.C: more Alert cleanups
4411 2003-03-29 John Levon <levon@movementarian.org>
4413 * bufferview_funcs.C: remove pointless Alert
4415 * buffer.C: fix confusing error message when
4416 a template is chmoded 000
4418 2003-03-29 John Levon <levon@movementarian.org>
4422 * BufferView_pimpl.C: Alert fixes
4426 * tabular-old.C: remove unused table compat reading
4428 2003-03-29 John Levon <levon@movementarian.org>
4433 * lyx_cb.C: more Alert cleanups
4435 * lyxfunc.C: don't allow chktex if not latex document
4437 2003-03-29 John Levon <levon@movementarian.org>
4441 * buffer.C: warnings pushed down from support/,
4444 2003-03-29 John Levon <levon@movementarian.org>
4446 * lyxfunc.C: safety check for C-r (revert)
4448 2003-03-29 John Levon <levon@movementarian.org>
4451 * bufferlist.C: several UI fixes using Alert::prompt.
4452 Fix the pointless looping quit code. Fix stupid revert
4457 * lyx_cb.C: use Alert::prompt
4459 * lyx_main.C: remove a silly question
4461 * lyxfunc.C: remove a couple of silly questions,
4464 2003-03-28 John Levon <levon@movementarian.org>
4466 * text2.C: fix bug 974 (End on empty par)
4468 2003-03-28 John Levon <levon@movementarian.org>
4470 * BufferView_pimpl.C:
4472 * lfuns.h: remove do-nothing math greek lfuns
4474 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4476 * lyxgluelength.h (isValidGlueLength): add default arg on
4477 parameter 2. Remove default arg from friend in class.
4479 * lyxlength.h (isValidLength): add default arg on parameter 2.
4480 Remove default arg from friend in class.
4482 * text2.C (LyXText): adjust, initialize refresh_row.
4486 (insertParagraph): adjst
4487 (redoParagraphs): adjust
4488 (fullRebreak): adjust
4489 (updateCounters): adjust
4490 (deleteEmptyParagraphMechanism): first attempt at fixing a
4493 * text.C (top_y): adjust
4494 (setHeightOfRow): adjust
4496 (getRowNearY): adjust
4498 * lyxtext.h: include RowList.h
4499 (~LyXText): not needed anymore, deleted.
4500 (firstRow): modify for RowList
4501 (lastRow): new function
4502 Delete firstrow and lastrow class variables, add a Rowlist
4503 rowlist_ class variable.
4505 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4508 * RowList.C (insert): fix case where it == begin().
4510 2003-03-26 Angus Leeming <leeming@lyx.org>
4512 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4513 the thesaurus dialog.
4515 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4517 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4519 * RowList.[Ch]: new files
4521 * ParagraphList.C (erase): handle the case where it == begin
4524 2003-03-25 John Levon <levon@movementarian.org>
4528 * aspell.C: add new aspell support
4531 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4534 2003-03-25 Angus Leeming <leeming@lyx.org>
4537 * LyXAction.C (init): new LFUN_INSET_INSERT.
4539 * BufferView_pimpl.C (dispatch): split out part of the
4540 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4542 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4545 2003-03-25 Angus Leeming <leeming@lyx.org>
4547 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4549 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4552 * text3.C: remove useless row->height(0)
4554 2003-03-25 John Levon <levon@movementarian.org>
4558 * text3.C: rename the refreshing stuff to better names
4560 2003-03-24 John Levon <levon@movementarian.org>
4562 * BufferView_pimpl.h:
4563 * BufferView_pimpl.C: update layout choice on a mouse
4566 2003-03-23 John Levon <levon@movementarian.org>
4568 * Makefile.am: fix commandtags.h reference
4570 2003-03-22 John Levon <levon@movementarian.org>
4572 * BufferView_pimpl.C:
4577 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4579 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4582 * text.C: take the rtl methods out of line
4584 2003-03-21 André Pönitz <poenitz@gmx.net>
4586 * metricsinfo.[Ch]: new files containing structures to be passed around
4587 during the two-phase-drawing...
4589 2003-03-21 André Pönitz <poenitz@gmx.net>
4591 * lyxtextclass.C: read 'environment' tag.
4593 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4595 * text2.C (removeRow): fix bug 964
4597 2003-03-20 John Levon <levon@movementarian.org>
4601 * text2.C: paint cleanups. Inset::update() dropped font
4604 2003-03-19 John Levon <levon@movementarian.org>
4606 * lyxfunc.C: only fitcursor/markDirty if available()
4608 2003-03-19 John Levon <levon@movementarian.org>
4610 * commandtags.h: rename to ...
4612 * lfuns.h: ... this, and renumber / cleanup
4614 2003-03-19 John Levon <levon@movementarian.org>
4616 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4617 fit the cursor after an lfun
4621 * BufferView_pimpl.h:
4622 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4624 * LyXAction.C: layout-character should have ReadOnly
4626 * ParagraphParameters.C:
4628 * bufferview_funcs.C:
4635 * undo_funcs.C: changes from above
4637 2003-03-18 John Levon <levon@movementarian.org>
4639 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4640 remove it from update()
4642 * lyxfunc.C: update layout choice after an lfun
4644 * text3.C: remove extra updateLayoutChoice()s
4646 2003-03-18 John Levon <levon@movementarian.org>
4648 * text.C: top_y change means full repaint, fix
4649 a drawing bug with cursor movement
4651 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4655 * text2.C: anchor row on setCursor
4657 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4659 * lyxtext.h: remove almost all mutable keywords
4662 * text3.C: remove const keywords accordingly
4664 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4666 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4668 (TeXEnvironment): ditto
4671 2003-03-17 John Levon <levon@movementarian.org>
4673 * text.C (rowBreakPoint): remove attempt to fix displayed
4674 math insets inside a manual label
4676 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4678 * lyxtext.h: remove BufferView* as first arg from almost all class
4680 * other files: adjust.
4682 2003-03-17 John Levon <levon@movementarian.org>
4686 * text2.C: more paint cleanups
4688 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4691 * rowpainter.C: remove "smart" background painting code
4693 2003-03-16 John Levon <levon@movementarian.org>
4698 * text3.C: add helper functions for setting refresh_row/y
4700 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4702 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4703 newline inset which *can* get inserted in the pass_thru layouts.
4704 This is primarily for literate documents.
4706 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4708 * buffer.C: increment LYX_FORMAT to 223
4710 2003-03-14 André Pönitz <poenitz@gmx.net>
4712 * textclass.h: prepare for environment handling, ws changes
4713 * lyxlayout.C: read latexheader and latexfooter tags
4715 2003-03-14 John Levon <levon@movementarian.org>
4717 * text2.C: rewrite ::status() a bit
4719 2003-03-13 John Levon <levon@movementarian.org>
4721 * lyxtext.h: add some docs
4723 2003-03-13 John Levon <levon@movementarian.org>
4728 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4730 2003-03-13 John Levon <levon@movementarian.org>
4732 * text3.C: fix appendix redrawing
4734 2003-03-13 John Levon <levon@movementarian.org>
4736 * text.C (setHeightOfRow):
4738 * rowpainter.C: make appendix mark have the text
4739 "Appendix" so the user knows what it is
4742 * LColor.C: s/appendixline/appendix/ from above
4744 2003-03-13 John Levon <levon@movementarian.org>
4746 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4748 * text.C: fix a getChar(pos) bug properly
4750 2003-03-13 Angus Leeming <leeming@lyx.org>
4753 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4754 Probably only temporary. Let's see how things pan out.
4756 * BufferView.C (unlockInset):
4757 * BufferView_pimpl.C (fitCursor):
4758 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4760 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4761 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4763 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4764 new functions that convert ParagraphParameters to and from a string.
4766 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4767 BufferView::Pimpl's dispatch.
4768 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4770 2003-03-13 André Pönitz <poenitz@gmx.net>
4774 * factory.C: make it aware of InsetEnv
4776 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4778 * text2.C (setCursor): never ask for one past last
4779 (setCursor): add some debugging messages.
4781 * text.C (singleWidth): never ask for one past last
4782 (singleWidth): ditto
4784 (rightMargin): ditto
4785 (rowBreakPoint): ditto
4786 (setHeightOfRow): ditto
4787 (prepareToPrint): ditto
4789 * rowpainter.C (paintBackground): never ask for one past last
4790 (paintText): never ask for one past last
4792 * paragraph_pimpl.C (getChar): make the assert stricter, never
4793 allow the one past last pos to be taken
4795 * paragraph.C (getChar): ws changes only
4797 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4798 (numberOfSeparators): ditto
4799 (numberOfHfills): ditto
4801 2003-03-12 John Levon <levon@movementarian.org>
4807 * paragraph_funcs.C: fix per-buffer authorlists
4809 2003-03-12 John Levon <levon@movementarian.org>
4811 * text.C: fix newline in right address
4813 2003-03-12 Angus Leeming <leeming@lyx.org>
4815 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4816 duplicate those in LyXFunc::dispatch.
4820 * ToolbarDefaults.C:
4821 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4822 Add LFUN_FONTFREE_UPDATE.
4824 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4825 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4827 * bufferview_func.[Ch]: several new functions to facilliate
4828 transfer of data to and from the character dialog.
4830 2003-03-12 John Levon <levon@movementarian.org>
4835 * paragraph_funcs.C:
4836 * paragraph_pimpl.C:
4840 * text3.C: remove META_NEWLINE in favour of an inset
4843 * rowpainter.C: remove paintNewline (done by inset)
4845 2003-03-12 John Levon <levon@movementarian.org>
4847 * paragraph_pimpl.C: complain about bad getChar()s
4848 for a while at least
4850 2003-03-12 John Levon <levon@movementarian.org>
4853 * buffer.C: move paragraph read into a separate function,
4854 a little renaming to reflect that.
4857 * bufferparams.C: remove the author_ids map, not necessary now
4860 * factory.C: moved Buffer::readInset to here
4862 * paragraph_funcs.h:
4863 * paragraph_funcs.C: readParagraph free function moved from
4866 * tabular.C: name change
4868 2003-03-12 John Levon <levon@movementarian.org>
4871 * ParagraphParameters.C: move par params input to
4874 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4875 behave like a normal read from the stream wrt reading
4876 a line vs. a \\token
4878 2003-03-12 John Levon <levon@movementarian.org>
4881 * ParagraphParameters.h:
4882 * ParagraphParameters.C: move output code to a
4885 2003-03-12 John Levon <levon@movementarian.org>
4887 * BufferView.C (insertLyXFile):
4890 * tabular.C: use a parlist iterator for creating the
4893 2003-03-12 John Levon <levon@movementarian.org>
4895 * buffer.C: make current_change static local not
4898 2003-03-12 John Levon <levon@movementarian.org>
4900 * buffer.C: fix insertStringAsLines for change tracking
4902 2003-03-12 John Levon <levon@movementarian.org>
4909 * bufferparams.C: move author list into params. Rename some
4910 functions. Move the header reading into a separate token
4911 loop. Move the header token reading into BufferParams.
4913 2003-03-12 John Levon <levon@movementarian.org>
4915 * changes.C: put debug inside lyxerr.debugging() checks
4917 2003-03-11 André Pönitz <poenitz@gmx.net>
4919 * factory.C: make it aware of InsetHFill
4921 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4923 * buffer.C (latexParagraphs): move function from here...
4924 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4927 2003-03-10 Angus Leeming <leeming@lyx.org>
4929 * LyXAction.C (init): fix bug in poplating array with multiple entries
4930 with the same LFUN (spotted by JMarc).
4932 2003-03-10 John Levon <levon@movementarian.org>
4935 * text2.C: move getColumnNearX() near its
4938 2003-03-10 John Levon <levon@movementarian.org>
4940 * text.C: fix break before a minipage
4942 2003-03-10 John Levon <levon@movementarian.org>
4944 * text.C: fix the last commit
4946 2003-03-09 John Levon <levon@movementarian.org>
4950 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4951 bug 365 (don't break before insets unless needed). Don't
4952 return a value > last under any circumstances.
4954 2003-03-09 Angus Leeming <leeming@lyx.org>
4956 * BufferView_pimpl.C (trackChanges, dispatch): call
4957 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4959 2003-03-09 Angus Leeming <leeming@lyx.org>
4961 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4962 than Dialogs::showAboutlyx().
4964 2003-03-09 Angus Leeming <leeming@lyx.org>
4966 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4967 than Dialogs::showTabularCreate().
4969 2003-03-09 John Levon <levon@movementarian.org>
4973 * text2.C: 3rd arg to nextBreakPoint was always the same.
4976 2003-03-08 John Levon <levon@movementarian.org>
4983 * text2.C: Remove the "main" bit from the "main body"
4986 2003-03-08 John Levon <levon@movementarian.org>
4988 * text.C (leftMargin): The left margin of an empty
4989 manual label paragraph should not include the label width
4992 * text.C (prepareToPrint): don't attempt to measure hfills
4993 for empty manual label paragraphs - the answer should be 0
4995 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4997 * CutAndPaste.C: remove commented code and reindent.
4999 2003-03-08 John Levon <levon@movementarian.org>
5002 * lyxfunc.C: move reloadBuffer()
5005 * BufferView.C: to here
5007 * lyxvc.C: add comment
5010 * vc-backend.C: call bv->reload() to avoid
5011 getStatus() check on MENURELOAD
5013 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5015 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5016 to an old format .dep file.
5018 2003-03-07 Angus Leeming <leeming@lyx.org>
5020 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5021 when the LFUN_MOUSE_RELEASE should have been handled by
5022 inset->localDispatch.
5024 2003-03-07 Angus Leeming <leeming@lyx.org>
5026 * BufferView_pimpl.C (dispatch):
5027 * LyXAction.C (init):
5028 * ToolbarDefaults.C (init):
5030 * lyxfunc.C (getStatus):
5031 remove LFUN_INSET_GRAPHICS.
5033 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5035 2003-03-07 Angus Leeming <leeming@lyx.org>
5038 * LyXAction.C (init):
5039 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5041 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5044 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5046 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5047 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5049 2003-03-07 Angus Leeming <leeming@lyx.org>
5051 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5054 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5056 * ParagraphList.C (front): new function
5059 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5061 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5062 and top_row_offset_. removed var first_y.
5064 * text2.C (LyXText, removeRow):
5066 * BufferView_pimpl.C:
5067 use these methods instead of using first_y
5069 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5071 * text2.C (pasteSelection): adjust for checkPastePossible
5073 * CutAndPaste.C: remove Paragraph * buf and replace with
5074 ParagraphList paragraphs.
5075 (DeleteBuffer): delete
5076 (cutSelection): change the tc type to textclass_type
5077 (copySelection): change the tc type to textclass_type
5078 (copySelection): adjust for ParagraphList
5079 (pasteSelection): change the tc type to textclass_type
5080 (pasteSelection): adjust for Paragraphlist
5081 (nrOfParagraphs): simplify for ParagraphList
5082 (checkPastePossible): simplify for ParagraphList
5083 (checkPastePossible): remove unused arg
5085 * ParagraphList.C (insert): handle the case where there are no
5088 * CutAndPaste.h: make CutAndPaste a namespace.
5090 * text3.C (dispatch): adjust
5092 * text.C (breakParagraph): add a ParagraphList as arg
5094 * paragraph_funcs.C (breakParagraph): change to take a
5095 BufferParams and a ParagraphList as args.
5096 (breakParagraphConservative): ditto
5097 (mergeParagraph): ditto
5098 (TeXDeeper): add a ParagraphList arg
5099 (TeXEnvironment): ditto
5102 * buffer.C (readLyXformat2): adjust
5103 (insertStringAsLines): adjust
5104 (latexParagraphs): adjust
5106 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5107 (cutSelection): adjust
5108 (pasteSelection): adjust
5110 * BufferView_pimpl.C (insertInset): adjust
5112 2003-03-05 Angus Leeming <leeming@lyx.org>
5115 * LyXAction.C (init):
5116 * BufferView_pimpl.C (dispatch):
5117 * lyxfunc.C (getStatus):
5118 remove LFUN_CHILD_INSERT.
5120 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5122 2003-03-05 Angus Leeming <leeming@lyx.org>
5125 * LyXAction.C (init):
5126 * src/factory.C (createInset):
5127 * lyxfunc.C (getStatus):
5128 * text3.C (dispatch):
5129 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5131 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5133 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5135 * ParagraphList.C (insert): handle insert right before end()
5136 (erase): fix cases where it can be first or last paragraph.
5138 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5140 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5141 Paragraph::next and Paragraph::previous
5144 * text.C (breakParagraph): adjust
5146 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5147 BufferParams& as arg.
5148 (breakParagraph): use ParagraphList::insert
5149 (breakParagraphConservative): take a Buffer* instead of a
5150 BufferParams& as arg.
5151 (breakParagraphConservative): use ParagraphList::insert.
5153 * buffer.C (insertStringAsLines): un-const it
5154 (insertStringAsLines): adjust
5156 * ParagraphList.C (insert): new function
5158 * CutAndPaste.C (pasteSelection): adjust
5160 * text.C (backspace): adjust
5162 * tabular.C (SetMultiColumn): adjust
5164 * CutAndPaste.C (cutSelection): adjust
5165 (pasteSelection): adjust
5167 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5168 Buffer const * as arg
5170 * ParagraphList.C (erase): new function
5171 * paragraph_funcs.C (mergeParagraph): use it
5172 (mergeParagraph): make it take a Buffer* instead of a
5173 BufferParams* as arg
5175 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5177 (breakParagraphConservative): ditto
5179 * paragraph.h: remove the breakParagraph friend
5181 * paragraph.C (eraseIntern): new function
5182 (setChange): new function
5184 * paragraph_funcs.C (mergeParagraph): make it take a
5185 ParagraphList::iterator instead of a Paragraph *, adjust
5188 * paragraph.h: move an #endif so that the change tracking stuff
5189 also works in the NO_NEXT case.
5191 2003-03-04 Angus Leeming <leeming@lyx.org>
5194 * LyXAction.C: new LFUN_INSET_MODIFY.
5196 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5197 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5199 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5201 * several files: ws changes only
5203 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5204 (TeXEnvironment): ditto
5207 * buffer.C (makeLaTeXFile): adjust
5208 (latexParagraphs): make it take ParagraphList::iterator as args
5210 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5212 * buffer.C (latexParagraphs): adjust
5214 * paragraph.C (TeXOnePar): move function...
5215 (optArgInset): move function...
5216 (TeXEnvironment): move function...
5217 * paragraph_pimpl.C (TeXDeeper): move function...
5218 * paragraph_funcs.C: ...here
5220 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5222 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5224 * buffer.C (readInset): remove compability code for old Figure and
5227 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5229 * buffer.C: ws changes
5232 * BufferView_pimpl.C: ditto
5235 * bufferlist.h: ditto
5239 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5241 * converter.[Ch]: split into itself +
5244 * Makefile.am: += graph.[Ch] + format.[Ch]
5251 * lyxrc.C: added #include "format.h"
5253 2003-02-27 Angus Leeming <leeming@lyx.org>
5255 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5258 * factory.C (createInset): add "label" to the factory.
5260 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5261 string and do no more.
5263 2003-02-27 Angus Leeming <leeming@lyx.org>
5266 * LyXAction.C (init):
5267 * factory.C (createInset):
5268 * BufferView_pimpl.C (dispatch):
5269 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5271 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5273 * lyxfunc.C (dispatch):
5274 * text3.C (dispatch): pass name to params2string.
5276 2003-02-26 Angus Leeming <leeming@lyx.org>
5278 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5280 Rearrange the ~includes. Strip out the unnecessary ones.
5282 * factory.C (createInset): reformat.
5283 create new insets for the various LFUN_XYZ_APPLY lfuns.
5285 2003-02-26 John Levon <levon@movementarian.org>
5288 * lyxrow.C: add isParStart,isParEnd helpers
5290 * paragraph.h: make isInserted/DeletedText take refs
5292 * paragraph_funcs.h:
5293 * paragraph_funcs.C: remove #if 0'd code
5298 * text.C: use lyxrow helpers above.
5299 Move draw and paint routines to RowPainter.
5300 Make several methods use refs not pointers.
5301 Make backgroundColor() const.
5302 Add markChangeInDraw(), isInInset().
5303 Merge changeRegionCase into changeCase.
5304 Make workWidth() shouldn't-happen code into an Assert.
5307 * rowpainter.C: new class for painting a row.
5310 * vspace.C: make inPixels take a ref
5312 2003-02-26 Angus Leeming <leeming@lyx.org>
5314 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5317 2003-02-25 John Levon <levon@movementarian.org>
5319 * ispell.C: give the forked command a more accurate name
5321 2003-02-22 John Levon <levon@movementarian.org>
5324 * toc.C: make TocItem store an id not a Paragraph *
5327 2003-02-21 Angus Leeming <leeming@lyx.org>
5329 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5330 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5331 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5332 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5333 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5334 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5336 * BufferView_pimpl.C (dispatch):
5337 * LyXAction.C (init):
5338 * factory.C (createInset):
5339 * lyxfunc.C (getStatus, dispatch):
5340 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5342 2003-02-21 Angus Leeming <leeming@lyx.org>
5344 * BufferView_pimpl.C (MenuInsertLyXFile):
5345 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5346 * lyxfunc.C (menuNew, open, doImport):
5347 no longer pass a LyXView & to fileDlg.
5349 2003-02-21 Angus Leeming <leeming@lyx.org>
5351 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5352 * LyXAction.C: change, BIBKEY to BIBITEM.
5353 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5354 Change InsetBibKey to InsetBibitem.
5355 Change BIBKEY_CODE to BIBITEM_CODE.
5356 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5357 * factory.C: replace insetbib.h with insetbibitem.h.
5358 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5359 * paragraph.C: replace insetbib.h with insetbibitem.h.
5360 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5361 Change bibkey() to bibitem().
5362 * text.C: remove insetbib.h.
5363 * text2.C: replace insetbib.h with insetbibitem.h.
5364 change bibkey() to bibitem().
5365 * text3.C: remove insetbib.h.
5366 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5368 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5370 * lyxrc.C (output): enclose user email in quotes (in case there are
5373 2003-02-18 John Levon <levon@movementarian.org>
5375 * buffer.h: add std::
5377 2003-02-17 John Levon <levon@movementarian.org>
5383 * pspell.C: reworking. Especially in ispell, a large
5384 number of clean ups and bug fixes.
5386 * lyxfunc.C: fix revert to behave sensibly
5388 2003-02-17 André Pönitz <poenitz@gmx.net>
5391 * commandtags.h: new LFUN_INSERT_BIBKEY
5401 * paragraph_func.C: remove special bibkey handling
5403 2003-02-17 John Levon <levon@movementarian.org>
5405 * text.C (Delete): fix case where delete at the end of
5406 the very first paragraph would not merge the pars
5408 2003-02-17 John Levon <levon@movementarian.org>
5410 * lyxrow.C: fix lastPrintablePos()
5412 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5414 * bufferparams.C (writeLaTeX): add a std:here
5416 * buffer.C: and remove a using directive there
5418 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5420 * buffer.C (makeLaTeXFile): move the code that generates the
5423 * bufferparams.C (writeLaTeX): ... in this new method
5425 * LaTeXFeatures.C (getEncodingSet): make const
5426 (getLanguages): make const
5428 * MenuBackend.C (binding): returns the binding associated to this
5430 (add): sets the status of each item by calling getStatus. Adds
5432 (read): add support for OptSubMenu
5433 (expand): remove extra separator at the end of expanded menu
5435 2003-02-15 John Levon <levon@movementarian.org>
5438 * BufferView_pimpl.C:
5440 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5441 inset code that had no actual effect. Remove unneeded status
5444 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5446 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5449 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5451 * text.C (drawLengthMarker): also draw an arrow marker for
5452 symbolic lengths (medskip...)
5454 2003-02-14 John Levon <levon@movementarian.org>
5457 * tabular.C: better method names
5459 2003-02-14 John Levon <levon@movementarian.org>
5461 * BufferView_pimpl.C:
5466 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5467 it's a more accurate name. Remove some pointless uses.
5469 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5471 * text2.C (LyXText): change order of initilizers to shut off
5474 2003-02-14 John Levon <levon@movementarian.org>
5476 * buffer.C: use ParIterator for getParFromID()
5480 * paragraph_pimpl.h:
5481 * paragraph_pimpl.C: remove unused getParFromID()
5483 2003-02-14 John Levon <levon@movementarian.org>
5485 * buffer.C: remove some very old #if 0'd parse code
5487 2003-02-13 John Levon <levon@movementarian.org>
5491 * text2.C: move hfillExpansion(), numberOfSeparators(),
5492 rowLast(), rowLastPrintable(), numberofHfills(),
5493 numberOfLabelHfills() ...
5496 * lyxrow.C: ... to member functions here.
5501 * text.C: remove LyXText::beginningOfMainBody(), and call
5502 p->beginningOfMainBody() directly. Move the check for
5503 LABEL_MANUAL into the latter.
5510 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5516 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5517 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5519 2003-02-13 John Levon <levon@movementarian.org>
5521 * CutAndPaste.C: remove debug
5523 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5525 * paragraph.C (asString): remove two unused variables
5527 * lyxtextclass.C (readTitleType):
5529 (LyXTextClass): handle new members titletype_ and titlename_
5531 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5533 2003-02-09 John Levon <levon@movementarian.org>
5536 * buffer.C: replace hand-coded list with a map for the dep clean
5538 2003-02-08 John Levon <levon@movementarian.org>
5540 * LaTeX.C: consolidate code into showRunMessage() helper
5542 2003-02-08 John Levon <levon@movementarian.org>
5547 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5548 and pass the size in explicitly
5550 * BufferView_pimpl.h:
5551 * BufferView_pimpl.C:
5553 * BufferView.C: add getCurrentChange()
5555 * BufferView_pimpl.h:
5556 * BufferView_pimpl.C: handle change lfuns
5558 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5559 for changes. Mark pasted paragraphs as new.
5561 * support/lyxtime.h:
5562 * support/lyxtime.C:
5563 * DepTable.C: abstract time_t as lyx::time_type
5566 * LColor.C: add colours for new text, deleted text, changebars
5568 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5569 package use "usenames" option.
5573 * LyXAction.C: add change lfuns
5577 * author.C: author handling
5580 * buffer.C: add a per-buffer author list, with first entry as
5581 current author. Handle new .lyx tokens for change tracking. Output
5582 author list to .lyx file. Output dvipost stuff to .tex preamble.
5583 Bump lyx format to 222.
5586 * bufferlist.C: add setCurrentAuthor() to reset current author details
5590 * bufferparams.C: add param for tracking
5592 * bufferview_funcs.C: output change info in minibuffer
5596 * changes.C: add change-tracking structure
5599 * debug.C: add CHANGES debug flag
5602 * lyxfind.C: add code for finding the next change piece
5605 * lyxrc.C: add user_name and user_email
5608 * lyxrow.C: add a metric for the top of the text line
5611 * text.C: implement accept/rejectChange()
5614 * text.C: paint changebars. Paint new/deleted text in the chosen
5615 colours. Strike through deleted text.
5619 * paragraph_pimpl.h:
5620 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5621 in the current change to the insert functions. Rework erase to
5622 mark text as deleted, adding an eraseIntern() and a range-based
5623 erase(). Implement per-paragraph change lookup and
5626 * paragraph_funcs.C: Fixup paste for change tracking.
5628 * tabular.C: mark added row/columns as new.
5630 * text.C: fix rowLast() to never return -1. Don't allow
5631 spellchecking of deleted text. Track transpose changes. Don't
5632 allow paragraph break or merge where appropriate.
5634 * text2.C: leave cursor at end of selection after a cut.
5636 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5638 * text.C (getLengthMarkerHeight):
5639 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5640 visible on screen too.
5642 2003-02-07 John Levon <levon@movementarian.org>
5644 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5646 2003-02-05 Angus Leeming <leeming@lyx.org>
5648 * lyxserver.C (read_ready): revert my patch of 11 September last year
5649 as it sends PC cpu through the roof. Presumably this means that
5650 the lyxserver will no longer run on an Alpha...
5652 2003-01-30 Angus Leeming <leeming@lyx.org>
5654 * factory.C (createInset): create an InsetCommandParam of type "index"
5655 and use it to 'do the right thing'.
5657 * text2.C (getStringToIndex): ensure that cursor position is always
5658 reset to the reset_cursor position.
5660 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5662 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5665 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5669 * lyxfunc.C: Output messages with identical spelling, punctuation,
5672 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5674 * MenuBackend.C (expandFormats): List only viewable export formats
5677 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5680 * lyxfunc.C (getStatus): Make sure that formats other than
5681 "fax" can also be disabled
5683 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5685 * text3.C (dispatch): put the lfuns that insert insets in 3
5686 groups, and call doInsertInset with appropriate arguments.
5687 (doInsertInset): new function, that creates an inset and inserts
5688 it according to some boolean parameters.
5690 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5692 * buffer.C (readFile): remember to pass on 'par' when calling
5693 readFile recursively.
5695 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5697 * MenuBackend.C (expandFormats): add "..." to import formats.
5699 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5701 * paragraph.C (asString): Remove XForms RTL hacks.
5703 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5704 * buffer.C: fix typo
5706 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5708 * Makefile.am (LIBS): delete var
5709 (lyx_LDADD): add @LIBS@ here instead.
5711 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5713 * Clarify the meaning of "wheel mouse jump"
5715 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5717 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5720 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5722 * importer.C (Loaders): do not preallocate 3 elements in the
5723 vector, since one ends up with 6 elements otherwise
5725 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5727 * DepTable.C (write): write the file name as last element of the
5728 .dep file (because it may contain spaces)
5729 (read): read info in the right order
5731 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5733 * paragraph_pimpl.C (simpleTeXBlanks):
5734 (simpleTeXSpecialChars):
5735 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5737 * tabular.C (latex): add some missing case statements. Reindent.
5739 * MenuBackend.C (expandToc): remove unused variable.
5741 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5750 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5753 2003-01-05 John Levon <levon@movementarian.org>
5756 * BufferView.C: add getEncoding()
5759 * kbsequence.C: do not store last keypress
5762 * lyxfunc.C: store last keypress here instead. Pass encoding
5765 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5767 * lyx_main.C (init): remove annoying error message when following
5768 symbolic links (bug #780)
5770 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5772 * text.C (insertChar):
5773 * lyxrc.C (getDescription): remove extra spaces
5775 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5777 * lyxrc.C (getDescription): remove extra spaces
5779 2002-12-20 John Levon <levon@movementarian.org>
5781 * text3.C: hack fix for page up/down across tall rows
5783 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5785 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5788 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5790 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5791 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5792 thesaurus is not compiled in
5794 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5796 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5798 2002-12-16 Angus Leeming <leeming@lyx.org>
5801 * lyx_main.C (init): remove override_x_deadkeys stuff.
5803 2002-12-12 John Levon <levon@movementarian.org>
5805 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5806 insert. Only remove shift modifier under strict
5809 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5811 * MenuBackend.C (expandToc): fix crash.
5813 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5815 * MenuBackend.C (expandToc): gettext on float names.
5817 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5819 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5820 implement bool empty() [bug 490]
5822 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5824 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5826 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5828 * several files: ws changes
5830 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5832 * text2.C (setCounter): clean up a bit, use boost.format.
5833 (updateCounters): initialize par upon declaration.
5835 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5836 if the layout exists. We do not just store the layout any more.
5837 (SwitchLayoutsBetweenClasses): use boost.format
5839 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5841 * converter.C (convert): if from and to files are the same, use a
5842 temporary files as intermediary
5844 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5847 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5849 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5851 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5853 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5855 * tabular.C (asciiPrintCell): use string(size, char) instead of
5858 * sgml.C (openTag): fix order of arguments to string constructor
5861 * lyxfunc.C (dispatch): use boost.format
5863 * lots of files: change "c" -> 'c'
5865 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5867 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5869 2002-11-25 Angus Leeming <leeming@lyx.org>
5871 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5873 * lyx_main.C (init): compile fix.
5875 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5877 * lyx_cb.C (start): boost.formatify
5878 do not include <iostream>
5880 * lengthcommon.C: ws only
5882 * boost-inst.C,BoostFormat.h: add more explict instantations
5884 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5886 * lots of files: handle USE_BOOST_FORMAT
5888 2002-11-21 John Levon <levon@movementarian.org>
5890 * pspell.C: fix compile
5892 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5894 * lyxfunc.C (dispatch): use boost::format
5898 * lyxfont.C (stateText): use boost::format
5900 * lyx_main.C (LyX): use boost::format
5902 (queryUserLyXDir): ditto
5905 (typedef boost::function): use the recommened syntax.
5907 * importer.C (Import): use boost::format
5909 * debug.C (showLevel): use boost::format
5911 * converter.C (view): use boost::format
5916 * bufferview_funcs.C (currentState): use boost::format
5918 * bufferlist.C (emergencyWrite): use boost::format
5920 * buffer.C (readLyXformat2): use boost::format
5921 (parseSingleLyXformat2Token): ditto
5923 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5925 * LaTeX.C (run): use boost::format
5927 * Chktex.C (scanLogFile): use boost::format
5929 * BufferView_pimpl.C (savePosition): use boost::format
5930 (restorePosition): ditto
5931 (MenuInsertLyXFile): ditto
5933 * BoostFormat.h: help file for explicit instation.
5935 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5937 * tabular.C (latex): Support for block alignment in fixed width
5940 2002-11-17 John Levon <levon@movementarian.org>
5942 * BufferView_pimpl.C:
5944 * lyxfunc.C: split filedialog into open/save
5946 2002-11-08 Juergen Vigna <jug@sad.it>
5948 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5949 by my last patch (hopefully).
5951 2002-11-08 John Levon <levon@movementarian.org>
5960 * toc.C: ParConstIterator, and use it (from Lars)
5962 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5964 * lyxtextclass.[Ch]: revise and add doxygen comments
5966 2002-11-07 John Levon <levon@movementarian.org>
5968 * text.C: fix progress value for spellchecker
5970 * toc.C: fix navigate menu for insetwrap inside minipage
5972 * paragraph_funcs.C: added FIXME for suspect code
5974 2002-11-07 John Levon <levon@movementarian.org>
5976 * BufferView_pimpl.C: fix redrawing of insets
5979 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5981 * text2.C (updateCounters): fix bug 668
5983 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5985 * text3.C (dispatch): Do not make the buffer dirty when moving the
5988 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5990 * vc-backend.C: STRCONV
5993 * text2.C (setCounter): STRCONV
5995 * paragraph.C (asString): STRCONV
5997 * lyxlength.C (asString): STRCONV
5998 (asLatexString): ditto
6000 * lyxgluelength.C (asString): STRCONV
6001 (asLatexString): ditto
6003 * lyxfunc.C (dispatch): STRCONV
6006 * lyxfont.C (stateText): STRCONV
6008 * importer.C (Import): STRCONV
6010 * counters.C (labelItem): STRCONV
6011 (numberLabel): ditto
6012 (numberLabel): remove unused ostringstream o
6017 * bufferview_funcs.C (currentState): STRCONV
6019 * buffer.C (readFile): STRCONV
6020 (asciiParagraph): ditto
6021 (makeLaTeXFile): ditto
6023 * Spacing.C (writeEnvirBegin): STRCONV
6025 * LaTeXFeatures.C (getLanguages): STRCONV
6026 (getPackages): ditto
6028 (getBabelOptions): ditto
6029 (getTClassPreamble): ditto
6030 (getLyXSGMLEntities): ditto
6031 (getIncludedFiles): ditto
6035 (scanAuxFile): ditto
6038 * LString.h: add the STRCONV macros
6040 * BufferView_pimpl.C (savePosition): STRCONV
6041 (restorePosition): ditto
6042 (MenuInsertLyXFile): ditto
6044 * vc-backend.C (scanMaster): change from submatch[...] to
6047 * funcrequest.C: include config.h
6049 * factory.C: include config.h
6051 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6053 * box.C: include config.h
6055 * LaTeX.C (scanAuxFile): change from submatch[...] to
6059 2002-10-25 Angus Leeming <leeming@lyx.org>
6061 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6063 * ispell.[Ch] (setError): new method.
6064 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6065 Use setError() insetead of goto END.
6067 * lyx_cb.C (AutoSave): move out child process into new class
6070 2002-10-30 John Levon <levon@movementarian.org>
6072 * text3.C: make start appendix undoable
6074 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6076 * lyxlength.C (inPixels): Fix returned value.
6078 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6081 2002-10-24 Angus Leeming <leeming@lyx.org>
6083 * lyxgluelength.h: no need to forward declare BufferParams
6084 or BufferView, so don't.
6086 2002-10-21 John Levon <levon@movementarian.org>
6088 * BufferView.C: menuUndo ->undo, redo
6090 * BufferView.h: document, remove dead, make some methods private
6092 * paragraph_funcs.h:
6093 * paragraph_funcs.C:
6094 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6099 * sgml.C: move sgml open/close tag into sgml.C
6101 * bufferview_funcs.h: unused prototype
6104 * lyxfunc.C: remove unused
6107 * text.C: remove unused
6109 2002-10-21 John Levon <levon@movementarian.org>
6113 * BufferView_pimpl.h:
6114 * BufferView_pimpl.C: fix mouse wheel handling based on
6115 patch from Darren Freeman
6117 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6119 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6121 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6123 * lyxlength.C (inPixels): Fix hanfling of negative length.
6124 Fix LyXLength::MU case.
6126 2002-10-16 John Levon <levon@movementarian.org>
6128 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6130 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6132 * converter.C (view): add support for $$i (file name) and $$p
6133 (file path) for the viewer command. If $$i is not specified, then
6134 it is appended to the command (for compatibility with old syntax)
6136 2002-10-14 Juergen Vigna <jug@sad.it>
6138 * undo_funcs.C (textHandleUndo): alter the order in which the
6139 new undopar is added to the LyXText, as we have to set first
6140 the right prev/next and then add it as otherwise the rebuild of
6141 LyXText is not correct. Also reset the cursor to the right paragraph,
6142 with this IMO we could remove the hack in "redoParagraphs()".
6144 2002-10-09 Angus Leeming <leeming@lyx.org>
6146 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6147 to turn off an optimisation if a new inset is to be inserted.
6149 2002-10-11 André Pönitz <poenitz@gmx.net>
6151 * lyxtext.h: make some functions public to allow access
6152 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6154 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6156 * text3.C (dispatch): when changing layout, avoid an infinite loop
6159 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6161 * lyxrc.C (read): treat a viewer or converter command of "none" as
6164 * MenuBackend.C (expandFormats): for an update, also allow the
6165 formats that are not viewable
6167 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6168 script if it is newer than the lyxrc.defaults in user directory
6170 2002-10-07 André Pönitz <poenitz@gmx.net>
6172 * text.C: Vitaly Lipatov's small i18n fix
6174 2002-09-25 Angus Leeming <leeming@lyx.org>
6176 * ispell.h: doxygen fix.
6178 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6180 * buffer.h (readFile): Add a new argument to the method, to allow
6181 reading of old-format templates.
6183 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6185 * toc.C (getTocList): Get TOC from InsetWrap.
6187 2002-09-16 John Levon <levon@movementarian.org>
6189 * lyxfunc.C: check tabular for cut/copy too
6191 2002-09-12 John Levon <levon@movementarian.org>
6196 * factory.C: add header
6198 * paragraph_funcs.h:
6199 * paragraph_funcs.C: cleanup
6201 2002-09-11 John Levon <levon@movementarian.org>
6203 * PrinterParams.h: odd/even default to true
6205 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6207 * PrinterParams.h: update printer parameters for new xforms dialog
6209 2002-09-11 Angus Leeming <leeming@lyx.org>
6211 * lyxserver.C (read_ready): re-write to make it more transparent
6212 and to make it work in coherent fashion under Tru64 Unix.
6214 2002-09-11 André Pönitz <poenitz@gmx.net>
6218 * text3.C: implement LFUN_WORDSEL
6220 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6222 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6223 make floatlist_ a boost::shared_ptr<FloatList>
6225 * lyxtextclass.C: include FloatList.h
6226 (LyXTextClass): initialize floatlist_
6227 (TextClassTags): add TC_NOFLOAT
6228 (Read): match "nofloat" to TC_NOFLOAT and use it.
6229 (readFloat): modify call to floatlist_
6233 * FloatList.[Ch] (FloatList): remove commented out float
6235 (erase): new function
6237 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6239 * MenuBackend.C (expandToc): fix crash when there is no document
6242 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6244 * many files: Add insetwrap.
6246 2002-09-09 John Levon <levon@movementarian.org>
6248 * text2.C: remove confusing and awkward depth wraparound
6250 2002-09-09 John Levon <levon@movementarian.org>
6252 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6255 * buffer.C: remove getIncludeonlyList()
6258 * lyxfunc.C: remove headers
6260 2002-09-09 Juergen Vigna <jug@sad.it>
6262 * text.C (getColumnNearX): fix form Michael this is most
6263 probably a cut&paste bug.
6265 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6267 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6269 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6270 references, ws changes.
6272 * text2.C (init): update counters after init
6273 (insertParagraph): no need to set counter on idividual paragraphs.
6274 (setCounter): access the counters object in the textclass object
6275 on in the buffer object.
6276 (updateCounters): ditto
6278 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6279 shared_ptr<Counters> to avoid loading counters.h in all
6281 (LyXTextClass): initialize ctrs_
6282 (TextClassTags): add TC_COUNTER, and ...
6283 (Read): use it here.
6284 (CounterTags): new tags
6285 (readCounter): new function
6286 (counters): new funtion
6287 (defaultLayoutName): return a const reference
6289 * counters.C (Counters): remove contructor
6290 (newCounter): remove a couple of unneeded statements.
6291 (newCounter): simplify a bit.
6292 (numberLabel): some small formatting changes.
6294 * buffer.[Ch]: remove all traces of counters, move the Counters
6295 object to the LyXTextClass.
6297 2002-09-06 Alain Castera <castera@in2p3.fr>
6299 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6300 package to set the horizontal alignment on fixed width columns.
6303 * lyx_sty.h: added tabularnewline macro def.
6305 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6307 2002-09-06 John Levon <levon@movementarian.org>
6309 * LyXAction.C: tooltips for sub/superscript
6311 * MenuBackend.C: a bit more verbose
6313 * lyxfunc.C: tiny clean
6315 * undo_funcs.C: document undo_frozen
6317 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6319 * counters.C (Counters): add missing algorithm counter.
6321 * text2.C (setCounter): lookup the counter with layouts latexname
6322 instead of by section number.
6323 (setCounter): use a hackish way to lookup the correct enum
6325 a float name->type change
6326 reset enum couners with counter name directly instead of depth value.
6328 * counters.C (Counters): remove the push_backs, change to use the
6329 float type not the float name.
6330 (labelItem): remove unused string, float name->type change
6332 * counters.h: don't include vector, loose the enums and sects vectors
6334 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6336 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6337 (Read): add float->TC_FLOAT to textclassTags
6338 (Read): and handle it in the switch
6339 (readFloat): new function
6341 * FloatList.C (FloatList): comment out the hardcoded float
6344 * lyxlayout.h: ws change.
6346 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6348 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6350 2002-09-03 Angus Leeming <leeming@lyx.org>
6352 * BufferView_pimpl.h: qualified name is not allowed in member
6353 declaration: WorkArea & Pimpl::workarea() const;
6355 * factory.C: added using std::endl directive.
6357 * text3.C: added using std::find and std::vector directives.
6359 2002-08-29 André Pönitz <poenitz@gmx.net>
6362 * text2.C: remove unused member number_of_rows
6365 * BufferView2.C: remove file, move contents to...
6366 * BufferView.C: ... here
6368 * BufferView_pimpl.C:
6369 * factory.C: move more inset creation to factory
6371 * vspace.C: avoid direct usage of LyXText, ws changes
6374 don't provide direct access to WorkArea, use two simple
6375 acessors haveSelction() and workHeight() instead
6378 2002-08-29 John Levon <levon@movementarian.org>
6380 * BufferView_pimpl.C (dispatch): do not continue when
6383 2002-08-28 André Pönitz <poenitz@gmx.net>
6385 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6388 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6390 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6392 * buffer.C: increment LYX_FORMAT to 221
6394 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6395 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6397 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6399 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6401 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6403 * factory.C (createInset): use LyXTextClass::floats
6405 * MenuBackend.C (expandFloatListInsert):
6406 (expandFloatInsert):
6409 * text2.C (setCounter):
6411 * LaTeXFeatures.C (useFloat):
6412 (getFloatDefinitions):
6414 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6416 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6417 floatlist_, with accessor floats().
6419 * FloatList.h: remove global FloatList
6421 2002-08-26 André Pönitz <poenitz@gmx.net>
6423 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6427 * BufferView_pimpl.C:
6428 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6430 2002-08-25 John Levon <levon@movementarian.org>
6432 * LyXAction.C: fix margin note description
6434 2002-08-24 John Levon <levon@movementarian.org>
6438 * bufferview_funcs.C:
6440 * undo_funcs.C: cleanups
6442 * lyxfunc.C: disable CUT/COPY when no selection
6444 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6446 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6447 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6449 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6450 Add backward compatibility to "mono", "gray" and "no".
6452 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6454 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6455 (and file_format >= 200).
6457 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6459 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6461 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6463 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6465 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6467 * BufferView_pimpl.C:
6474 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6475 inset and code to make it work with the paragraph code. The inset
6476 can be anywhere in the paragraph, but will only do the expected
6477 thing in LaTeX if the layout file contains the parameter line
6479 (or more generally, a nonzero value) for that layout.
6481 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6483 * paragraph.h: remove the declaration of undefined counters class
6486 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6488 * text2.C (setCounter): fixed enumeration mis-count as reported by
6489 Dr. Richard Hawkins.
6491 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6493 * paragraph_funcs.h: remove some unneeded includes
6495 * text.C (backspace): pasteParagraph now in global scipe
6497 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6498 (pasteSelection): ditto
6500 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6501 * paragraph_funcs.C (pasteParagraph): ... here
6503 2002-08-20 André Pönitz <poenitz@gmx.net>
6505 * commandtags.h: new LFUNs for swapping/copying table row/colums
6508 * lyxfunc.C: support for new lfuns
6510 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6513 * buffer.[Ch]: remove NO_COMPABILITY stuff
6515 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6517 * boost.C (throw_exception): new file, with helper function for
6518 boost compiled without exceptions.
6523 * ParameterStruct.h:
6524 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6526 * bufferlist.C (emergencyWriteAll): use boost bind
6528 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6530 * text.C: include paragraph_funcs.h
6531 (breakParagraph): breakParagraph is now in global scope
6533 * paragraph_funcs.[Ch]: new files
6535 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6538 * buffer.C: include paragraph_funcs.h
6539 (insertStringAsLines): breakParagraph is now in global scope
6541 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6544 * CutAndPaste.C: include paragraph_funcs.h
6545 (cutSelection): breakParagraphConservative is now in global scope
6546 (pasteSelection): ditto
6548 * buffer.h: declare oprator== and operator!= for
6549 Buffer::inset_iterator
6551 * bufferlist.C (emergencyWrite): don't use fmt(...)
6553 * text3.C: add using std::endl
6555 * BufferView.C (moveCursorUpdate): remove default arg
6557 2002-08-20 André Pönitz <poenitz@gmx.net>
6559 * buffer.[Ch]: move inline functions to .C
6562 * BufferView_pimpl.C:
6564 * buffer.[Ch]: use improved inset_iterator
6567 * paragraph.[Ch]: write one paragraph at a time
6569 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6571 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6572 style if style is not specified.
6574 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6576 * text2.C (setCounter): when searching for right label for a
6577 caption, make sure to recurse to parent insets (so that a caption
6578 in a minipage in a figure float works) (bug #568)
6580 2002-08-20 André Pönitz <poenitz@gmx.net>
6582 * text3.C: new file for LyXText::dispatch() and helpers
6584 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6586 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6588 2002-08-19 André Pönitz <poenitz@gmx.net>
6591 * text.C: new LyXText::dispatch()
6593 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6595 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6597 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6599 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6602 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6604 * Makefile.am: use $(variables) instead of @substitutions@
6606 2002-08-15 André Pönitz <poenitz@gmx.net>
6609 * BufferView_pimpl.C: streamlining mathed <-> outer world
6613 * LyXAction.C: remove unused LFUN_MATH
6615 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6617 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6619 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6621 * paragraph.C (Paragraph): reformat a bit
6622 (cutIntoMinibuffer): use builtin InsetList function instad of
6626 * buffer.C: include boost/bind.hpp, add using std::for_each
6627 (writeFileAscii): use ParagraphList iterators
6628 (validate): use for_each for validate traversal of paragraphs
6629 (getBibkeyList): use ParagraphList iterators
6630 (resizeInsets): use for_each to resizeInsetsLyXText for all
6632 (getParFromID): use ParagraphList iterators
6634 * BufferView2.C (lockInset): use paragraph list and iterators
6636 2002-08-14 John Levon <levon@movementarian.org>
6638 * lyxserver.C: remove spurious xforms include
6640 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6642 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6644 2002-08-13 André Pönitz <poenitz@gmx.net>
6647 * lyxfunc.C: further cleaning
6649 2002-08-13 André Pönitz <poenitz@gmx.net>
6651 * funcrequest.h: new constructor
6653 * funcrequest.C: move stuff here from .h
6656 * BufferView_pimpl.C:
6659 * lyxfunc.C: subsequent changes
6661 * lyxfunc.h: new view() member function
6663 * lyxfunc.C: subsequent changes
6665 2002-08-13 Angus Leeming <leeming@lyx.org>
6668 * BufferView_pimpl.C:
6676 changes due to the changed LyXView interface that now returns references
6677 to member variables not pointers.
6679 2002-08-13 Angus Leeming <leeming@lyx.org>
6681 * WordLangTuple (word, lang_code): return references to strings,
6686 * lyxtext.h: forward-declare WordLangTuple.
6691 * text.C: #include "WordLangTuple.h".
6694 * text.C: (selectNextWordToSpellcheck): constify return type.
6696 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6702 * paragraph_pimpl.h:
6705 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6707 Made updateCounter always count from start of buffer, and removed
6708 second argument (par).
6709 Reverted floats number display to '#'. Perhaps I'll try again when the
6710 code base is sanitized a bit.
6712 2002-08-12 Angus Leeming <leeming@lyx.org>
6714 * buffer.[Ch] (getLabelList): constify.
6716 2002-08-07 André Pönitz <poenitz@gmx.net>
6718 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6720 * funcrequest.h: extension to keep mouse (x,y) position
6722 2002-08-12 Juergen Vigna <jug@sad.it>
6724 * BufferView2.C (insertErrors): forbid undo when inserting error
6727 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6729 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6731 * ParagraphList.[Ch]: new files
6733 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6735 * BufferView2.C (lockInset): ParagraphList changes
6738 * bufferlist.C: ditto
6742 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6744 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6745 unused class variable counter_,
6747 * paragraph.[Ch] (getFirstCounter): delete unused function
6749 * counters.C: include LAssert.h
6750 (reset): add a new function with no arg, change other version to
6751 not have def. arg and to not allow empty arg.
6753 * text2.C (setCounter): remove empty arg from call to Counters::reset
6755 2002-08-11 John Levon <levon@movementarian.org>
6757 * Makefile.am: add WordLangTuple.h
6759 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6761 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6762 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6764 * insets/insettext.C: InsetList changes
6766 * graphics/GraphicsSupport.C (operator()): InsetList changes
6768 * toc.C (getTocList): InsetList changes
6770 * paragraph_pimpl.[Ch]: InsetList changes
6772 * paragraph.[Ch]: InsetList changes
6774 * buffer.C (inset_iterator): InsetList changes
6775 (setParagraph): ditto
6776 * buffer.h (inset_iterator): ditto
6777 * iterators.C (operator++): ditto
6778 * iterators.h: ditto
6780 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6782 * InsetList.[Ch]: new files, most InsetList handling moved out of
6785 * BufferView2.C (removeAutoInsets): InsetList changes
6787 (ChangeInsets): ditto
6789 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6791 * paragraph_pimpl.h (empty): new function
6793 * paragraph.[Ch] (empty): new function
6795 * other files: use the new Paragraph::empty function
6797 2002-08-09 John Levon <levon@movementarian.org>
6799 * lyxtext.h: remove unused refresh_height
6801 2002-08-09 John Levon <levon@movementarian.org>
6808 * paragraph.C: move sgml char escaping out of paragraph
6811 * paragraph.C: remove id setter
6815 * paragraph_pimpl.C: remove dead tex_code_break_column
6817 * bufferview_funcs.C: small cleanup
6819 * lyxfunc.C: remove dead proto
6821 * lyxtext.h: make some stuff private. Remove some dead stuff.
6823 * lyxgluelength.C: make as[LyX]String() readable
6825 2002-08-08 John Levon <levon@movementarian.org>
6830 * ToolbarDefaults.C:
6833 * toc.C: lyxaction cleanup
6835 2002-08-08 John Levon <levon@movementarian.org>
6837 * BufferView2.C: small cleanup
6840 * lyxfind.C: move unnecessary header into the .C
6842 2002-08-08 John Levon <levon@movementarian.org>
6844 * funcrequest.h: just tedious nonsense
6847 * lyx_main.C: cleanups
6850 * vspace.C: remove dead header lyx_main.h
6852 2002-08-07 Angus Leeming <leeming@lyx.org>
6855 * paragraph_pimpl.h:
6856 Forward declare class Counters in paragraph.h by moving the ctrs member
6857 variable into Paragraph::Pimpl.
6858 (counters): new method, returning a reference to pimpl_->ctrs.
6860 * text2.C: ensuing changes.
6862 2002-08-07 John Levon <levon@movementarian.org>
6864 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6866 * BufferView_pimpl.C: announce X selection on double/triple
6869 * lyx_main.C: use correct bool in batch dispatch
6871 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6873 2002-08-07 André Pönitz <poenitz@gmx.net>
6875 * funcrequest.h: new class to wrap a kb_action and its argument
6878 * BufferView_pimpl[Ch]:
6882 * lyxrc.C: subsequent changes
6885 2002-08-07 John Levon <levon@movementarian.org>
6887 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6888 document options change.
6890 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6895 * makefile.am: move counters functionality over from
6896 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6898 2002-08-06 John Levon <levon@movementarian.org>
6900 * WordLangTuple.h: new file for word + language code tuple
6911 * BufferView2.C: use WordLangTuple
6914 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6916 2002-08-06 John Levon <levon@movementarian.org>
6918 * lyx_main.C: fix cmdline batch handling
6920 2002-08-06 André Pönitz <poenitz@gmx.net>
6922 * lyxrc.C: set default for show_banner to true
6924 2002-08-06 John Levon <levon@movementarian.org>
6926 * pspell.C: fix a crash, and allow new aspell to work
6928 2002-08-06 John Levon <levon@movementarian.org>
6931 * kbmap.C: small cleanup
6934 * vspace.C: add const
6936 2002-08-05 John Levon <levon@movementarian.org>
6938 * LyXAction.C: back to tabular-insert
6940 2002-08-04 John Levon <levon@movementarian.org>
6943 * BufferView.C: cosmetic change
6945 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6955 * BufferView2.C: purge all "Lyx" not "LyX" strings
6958 * lyxcursor.C: attempt to add some documentation
6963 * ToolbarDefaults.C:
6964 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6965 merge with LFUN_TABULAR_INSERT
6972 * pspell.C: split up i/pspell implementations into separate
6973 files, many cleanups
6975 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6977 * text2.C: some cleanup
6979 * lyxfunc.C: don't check for isp_command == "none" any more, it
6980 didn't make any sense
6982 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6987 * makefile.am: move counters functionality over
6988 from text2.C/paragraph.[Ch] to counters.[Ch], and
6990 2002-08-02 John Levon <levon@movementarian.org>
6992 * buffer.C: s/lyxconvert/lyx2lyx/
6994 2002-08-02 Angus Leeming <leeming@lyx.org>
6996 * lyxlex.C: revert John's change as it breaks reading of the user
6999 2002-08-02 Angus Leeming <leeming@lyx.org>
7001 * importer.C (Import):
7002 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7003 changes due to LyXView::view() now returning a boost::shared_ptr.
7005 2002-08-02 John Levon <levon@movementarian.org>
7007 * lyxlex.C: small cleanup
7009 2002-08-02 John Levon <levon@movementarian.org>
7011 * text2.C (status): small cleanup, no logic change
7013 2002-08-01 John Levon <levon@movementarian.org>
7016 * buffer.C (writeFile): don't output alerts, caller
7020 * lyx_cb.C: from above
7022 * lyxfunc.C: allow to open non-existent files
7024 2002-07-31 John Levon <levon@movementarian.org>
7026 * lyxserver.C: don't let incidental errors get
7029 2002-07-30 John Levon <levon@movementarian.org>
7031 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7033 2002-07-30 John Levon <levon@movementarian.org>
7036 * lyxserver.C: remove I/O callback too
7038 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7040 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7043 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7045 * many files: strip,frontStrip -> trim,ltrim,rtrim
7047 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7049 * PrinterParams.h: remove extern containsOnly, and include
7050 support/lstrings.h instead.
7052 * LaTeX.C (scanAuxFile): modify because of strip changes
7054 * buffer.C (makeLaTeXFile): ditto
7055 * bufferparams.C (writeFile): ditt
7056 * lyxfont.C (stateText): ditto
7057 * lyxserver.C (read_ready): ditto
7058 * vc-backend.C (scanMaster): ditto
7060 * BufferView_pimpl.h: ws changes
7062 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7064 2002-07-26 André Pönitz <poenitz@gmx.net>
7066 * kb_sequence.C: remove unnedred usings
7068 2002-07-26 Juergen Vigna <jug@sad.it>
7070 * lyxfind.C (LyXReplace): we have to check better if the returned
7071 text is not of theLockingInset()->getLockingInset().
7073 2002-07-25 Juergen Vigna <jug@sad.it>
7075 * lyxfind.C (LyXReplace): don't replace if we don't get the
7078 * undo_funcs.C (createUndo): remove debugging code.
7080 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7082 * buffer.C (parseSingleLyXformat2Token): Use default placement
7083 when reading old floats.
7085 * FloatList.C (FloatList): Change the default placement of figure
7086 and tables to "tbp".
7088 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7090 * MenuBackend.C: using std::max
7092 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7094 * MenuBackend.C (expandToc):
7095 (expandToc2): code moved from xforms menu frontend. It is now
7096 generic and TOCs are transparent to menu frontends.
7098 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7100 * toc.C (getTocList): protect against buf=0
7102 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7103 Menu as first parameter. Now, this calls itself recursively to
7104 expand a whole tree (this will be useful for TOC handling)
7105 (expandFloatInsert): remove 'wide' version of floats
7107 * MenuBackend.h (submenuname): returns the name of the submenu.
7108 (submenu): returns the submenu itself, provided it has been
7109 created by MenuBackend::expand
7111 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7113 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7114 insets which have noFontChange == true. (bug #172)
7116 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7118 * BufferView_pimpl.C: add connection objects and use them...
7121 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7123 * MenuBackend.C (expandLastfiles):
7126 (expandFloatListInsert):
7127 (expandFloatInsert):
7128 (expand): split expand in parts
7130 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7132 * lyx_gui.C: use lyx_gui::exit()
7134 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7136 * LyXAction.C: show the failing pseudo action
7138 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7140 * buffer.C (readFile): Run the lyxconvert script in order to read
7143 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7147 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7149 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7153 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7155 2002-07-22 Herbert Voss <voss@lyx.org>
7158 * lyxlength.[Ch]: add support for the vertical lengths
7160 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7162 * toc.[Ch]: std:: fixes
7164 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7166 * lyxrc.C: do not include lyx_main.h
7168 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7174 * BufferView2.C: include "lyxlex.h"
7177 * bufferparams.h: do not #include "lyxlex.h"
7179 * lyxtextclasslist.C (Add): remove method
7180 (classlist): renamed to classlist_
7182 * paragraph_pimpl.C:
7186 * bufferview_funcs.C:
7191 * toc.C (getTocList): use BufferParams::getLyXTextClass
7193 * toc.C (getTocList): use InsetFloat::addToToc
7195 * toc.[Ch]: new files, containing helper functions to handle table
7198 * lyxfunc.C (dispatch): no need to remove spaces around command
7200 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7201 first command of the sequence; it is not very clever, but I do not
7202 have a better idea, actually
7204 * LyXAction.C (LookupFunc): make sure to remove space at the
7205 beginning and end of the command
7207 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7209 * MenuBackend.C (getMenubar): new method: return the menubar of
7211 (read): treat differently reading of menu and menubar (in
7212 particular, the menubar has no name now)
7213 (Menu::menubar): remove
7215 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7218 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7220 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7221 a bibitem inset in a RTL paragraph.
7223 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7225 * paragraph_pimpl.C: constify
7227 * BufferView_pimpl.C:
7229 * lyxfunc.C: fix dispatch in a nicer way
7231 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7233 * lyxfunc.C (dispatch):
7234 * BufferView_pimpl.C:
7235 * BufferView_pimpl.h:
7237 * BufferView.h: rename Dispatch() to dispatch()
7239 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7241 * lyxlayout.C (Read): honor DependsOn tag
7243 * lyxlayout.[Ch] (depends_on): new method
7245 * version.C.in: update lyx_docversion
7247 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7249 * paragraph.C (validate): remove from here...
7250 * paragraph_pimpl.C (validate): ... and move here
7251 (isTextAt): make it const
7253 * buffer.C (getLists): ws cleanup
7255 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7257 * language.C (read): Use iso8859-1 encoding in latex_lang
7258 (this prevents LyX from crashing when using iso10646-1 encoding).
7260 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7262 * text2.C (toggleInset): if cursor is inside an inset, close the
7263 inset and leave cursor _after_ it
7265 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7267 * lyxfunc.C: move minibuffer completion handling out of here
7269 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7271 * BufferView_pimpl.C:
7272 * LaTeX.C: fix dispatch calls
7274 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7276 * text.C (drawChars): Fix Arabic text rendering.
7278 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7282 * lyxfunc.C: remove message-push/pop
7286 * lyxfunc.C: rationalise some code by removing verboseDispatch
7287 in favour of a bool argument to dispatch()
7289 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7291 * lyx_main.C (init): make sure to read symlinks as absolute paths
7293 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7296 * lyxfunc.C: no need for commandshortcut to be a member
7298 2002-07-15 André Pönitz <poenitz@gmx.net>
7300 * converter.C: add support for $$s (scripts from lib/scripts dir)
7301 * lyx_main.C: white space
7303 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7307 * lyxrc.C: remove second exit confirmation
7309 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7314 * BufferView_pimpl.h:
7315 * BufferView_pimpl.C:
7316 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7318 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7320 * MenuBackend.C (expand): add numeric shortcuts to document menu
7322 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7324 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7326 * lyxfont.C (setLyXFamily):
7333 * buffer.C (asciiParagraph): use ascii_lowercase
7335 2002-07-15 Mike Fabian <mfabian@suse.de>
7337 * lyxlex_pimpl.C (search_kw):
7338 * lyxlex.C (getLongString):
7339 * converter.h (operator<):
7340 * converter.C (operator<):
7341 * buffer.C (parseSingleLyXformat2Token):
7343 * ToolbarDefaults.C (read):
7344 * MenuBackend.C (checkShortcuts):
7346 * LColor.C (getFromGUIName):
7347 (getFromLyXName): use the compare_ascii_no_case instead of
7348 compare_no_case, because in turkish, 'i' is not the lowercase
7349 version of 'I', and thus turkish locale breaks parsing of tags.
7351 2002-07-16 Angus Leeming <leeming@lyx.org>
7353 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7354 now takes a Buffer const & argument.
7356 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7358 * BufferView.C (resize): check there's a buffer to resize
7360 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7362 * lyxfunc.C: remove dead code
7365 * lyxserver.C: use lyx_guii::set_read_callback
7367 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7369 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7370 an inset in a RTL paragraph.
7372 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7374 * lyxfunc.C: repaint after a font size update
7376 2002-07-15 André Pönitz <poenitz@gmx.net>
7378 * lyxlength.C: inBP should be able to return negative values
7380 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7382 * lyxfunc.C: use lyx_gui::update_fonts()
7384 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7386 * lyxfunc.C: use lyx_gui::update_color()
7388 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7394 * lyxrc.C: remove file->new asks for name option, and let
7395 buffer-new take an argument
7397 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7399 * BufferView_pimpl.C: remove unneeded extra repaint()
7401 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7403 * LyXAction.C: allow command-sequence with NoBuffer
7405 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7407 2002-07-10 Angus Leeming <leeming@lyx.org>
7409 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7411 2002-07-09 Angus Leeming <leeming@lyx.org>
7413 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7415 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7417 * lengthcommon.h: whitespace
7419 * lyxfunc.C: update scrollbar after goto paragraph
7421 * lyxtext.h: factor out page break drawing, and fix it so
7422 page break/added space paints as selected nicely
7424 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7426 * BufferView_pimpl.C: add FIXMEs, clean up a little
7428 2002-07-09 André Pönitz <poenitz@gmx.net>
7430 * lyxfont.[Ch]: support for wasy symbols
7432 2002-07-08 André Pönitz <poenitz@gmx.net>
7434 * BufferView_pimpl.C: apply John's patch for #93.
7436 2002-07-05 Angus Leeming <leeming@lyx.org>
7438 * BufferView_pimpl.C (buffer): generate previews if desired.
7440 * LColor.h: add "preview" to the color enum.
7442 * LColor.C (LColor): add a corresponding entry to the items array.
7444 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7447 2002-07-05 Angus Leeming <leeming@lyx.org>
7449 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7450 The body of the code is now in the method that is passed an ostream &
7451 rather than a file name.
7452 Pass an additional only_preamble parameter, useful for the forthcoming
7455 2002-07-03 André Pönitz <poenitz@gmx.net>
7457 * lyxfunc.C: simplify getStatus() a bit for math stuff
7459 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7461 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7463 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7465 * text.C (changeRegionCase): do not change case of all the
7466 document when region ends at paragraph end (bug #461)
7468 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7470 * paragraph.C (startTeXParParams):
7471 (endTeXParParams): add \protect when necessary
7473 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7475 * BufferView_pimpl.C (workAreaExpose): remove warning
7477 2002-06-27 Angus Leeming <leeming@lyx.org>
7479 * Makefile.am: add lyxlayout_ptr_fwd.h.
7481 2002-06-26 André Pönitz <poenitz@gmx.net>
7483 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7485 2002-06-25 Angus Leeming <leeming@lyx.org>
7487 * lyxfunc.C (dispatch): Comment out the call to
7488 grfx::GCache::changeDisplay. The method no longer exists now that the
7489 pixmap generation part of the graphics loader has been moved into
7492 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7494 * text2.C: layout as layout
7496 * text.C: layout as layout
7498 * tabular.C (OldFormatRead): layout as layout
7500 * paragraph_pimpl.C (TeXDeeper): layout as layout
7501 (realizeFont): layout as layout
7503 * paragraph.C (writeFile): layout as layout
7504 (validate): layout as layout
7505 (getFont): layout as layout
7506 (getLabelFont): layout as layout
7507 (getLayoutFont): layout as layout
7508 (breakParagraph): layout as layout
7509 (stripLeadingSpaces): layout as layout
7510 (getEndLabel): layout as layout
7511 (getMaxDepthAfter): layout as layout
7512 (applyLayout): layout as layout
7513 (TeXOnePar): layout as layout
7514 (simpleTeXOnePar): layout as layout
7515 (TeXEnvironment): layout as layout
7516 (layout): layout as layout
7517 (layout): layout as layout
7519 * lyxtextclass.C (compare_name): new functor to work with
7520 shared_ptr, layout as layout
7521 (Read): layout as layout
7522 (hasLayout): layout as layout
7523 (operator): layout as layout
7524 (delete_layout): layout as layout
7525 (defaultLayout): layout as layout
7527 * lyxlayout_ptr_fwd.h: new file
7529 * lyxlayout.C (Read): layout as layout
7531 * lyx_cb.C (MenuInsertLabel): layout as layout
7533 * bufferlist.C (newFile): layout as layout
7535 * buffer.C (readLyXformat2): layout as layout
7536 (parseSingleLyXformat2Token): layout as layout
7537 (insertStringAsLines): layout as layout
7538 (asciiParagraph): layout as layout
7539 (latexParagraphs): layout as layout
7540 (makeLinuxDocFile): layout as layout
7541 (simpleLinuxDocOnePar): layout as layout
7542 (makeDocBookFile): layout as layout
7543 (simpleDocBookOnePar): layout as layout
7544 (getLists): layout as layout
7546 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7548 * CutAndPaste.C (cutSelection): layout as layout
7549 (pasteSelection): layout as layout
7550 (SwitchLayoutsBetweenClasses): layout as layout
7552 * BufferView_pimpl.C (Dispatch): layout as layout
7553 (smartQuote): layout as layout
7555 * BufferView2.C (unlockInset): layout as layout
7557 2002-06-24 André Pönitz <poenitz@gmx.net>
7559 * lyxfunc.C: fix #487
7561 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7565 * lyxfunc.C: remove display_shortcuts, show_banner
7567 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7569 * Buffer_pimpl.C: oops, update on resize
7571 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7578 * BufferView.C: use repaint()
7580 * BufferView_pimpl.h:
7581 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7582 as it's a clearer description. Remove superfluous
7585 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7587 * text.C: fix bug 488. Not ideal, but getting
7588 getWord() to work properly for the insets that
7589 matter is more difficult ...
7591 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7593 * BufferView_pimpl.C:
7596 * lyxfunc.C: remove the six million index lyxfuncs to just
7597 one, and DTRT (bug 458)
7599 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7603 * BufferView_pimpl.h:
7604 * BufferView_pimpl.C: clean up resize() stuff,
7605 and unnecessary updateScreen()s
7607 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7611 * BufferView_pimpl.h:
7612 * BufferView_pimpl.C:
7615 * minibuffer.C: remove focus management of workarea,
7616 not needed. Use screen's greyOut()
7618 2002-06-17 Herbert Voss <voss@lyx.org>
7620 * converter.C: (convert) do not post a message, when converting
7621 fails, let the calling function decide what to do in this case
7623 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7625 * lyxfunc.C: tidy up a little
7627 2002-06-16 <alstrup@diku.dk>
7629 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7630 Got rid of FORMS_H_LOCATION include. Now we are
7633 2002-06-15 LyX Development team <lyx@rilke>
7635 * buffer.[Ch] (sgmlOpenTag):
7636 (sgmlCloseTag): Added support for avoiding pernicious mixed
7637 content. Return number of lines written.
7640 (makeDocBookFile): Fixed calls to sgml*Tag.
7641 Simple white space clean.
7643 (simpleDocBookOnePar): Simple white space clean.
7645 * tabular.[Ch] (docBook): Renamed to docbook and got another
7646 argument to related with the pernicious mixed content.
7648 (docbookRow): Fixed calls for docbook inset method.
7650 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7652 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7653 so it's X11 independent.
7657 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7659 2002-06-15 Lyx Development team <lyx@electronia>
7661 * intl.h: Renamed getTrans to getTransManager.
7663 2002-06-14 Angus Leeming <leeming@lyx.org>
7665 * Makefile.am: nuke forgotten stl_string_fwd.h.
7667 2002-06-12 Angus Leeming <leeming@lyx.org>
7669 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7671 2002-06-13 Angus Leeming <leeming@lyx.org>
7674 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7676 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7678 * kbmap.C (getiso): add support for cyrillic and greek
7680 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7684 * BufferView_pimpl.h:
7685 * BufferView_pimpl.C: move bogus scrolling logic
7688 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7691 * BufferView_pimpl.C: view->resize() change
7693 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7695 * BufferView_pimpl.C: topCursorVisible
7698 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7702 * lyx_gui.C: move to frontends/
7706 * lyx_main.C: changes from above
7708 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7715 * lyx_main.C: minor tidy
7717 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7719 * BufferView_pimpl.h:
7720 * BufferView_pimpl.C:
7722 * BufferView.C: make painter() const,
7725 * BufferView2.C: use screen() accessor
7728 * lyx_main.C: some minor cleanup
7730 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7732 * BufferView_pimpl.h:
7733 * BufferView_pimpl.C: remove enter/leaveView,
7736 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7741 * BufferView_pimpl.h:
7742 * BufferView_pimpl.C: only construct screen once,
7745 * lyxrc.C: remove pointless comment
7747 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7750 * BufferView.C: remove active() and belowMouse()
7752 * BufferView_pimpl.h:
7753 * BufferView_pimpl.C: use workarea() not workarea_,
7754 and make it use a scoped_ptr instead
7756 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7758 * lyx_gui.C: add debug message on BadWindow
7760 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7762 * sp_spell.C: fdopen is not part of the C++ standard.
7764 * paragraph.C (InsetIterator): use >= instead of ==
7766 2002-06-07 Angus Leeming <leeming@lyx.org>
7768 Fixes needed to compile with Compaq cxx 6.5.
7769 * BufferView_pimpl.C:
7776 * lyxtextclasslist.C:
7781 all c-library variables have been moved into namespace std. Wrap
7782 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7787 Add a using std::abs declaration.
7789 * kbmap.h (modifier_pair):
7790 * paragraph.h (InsetTable, InsetList):
7791 * lyxfont.h (FontBits):
7792 type definition made public.
7794 * bufferlist.C (emergencyWriteAll): the compiler complains that
7795 there is more than one possible lyx::class_fun template to choose from.
7796 I re-named the void specialisation as lyx::void_class_fun.
7798 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7800 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7801 the compiler is is unable to find tostr in write_attribute.
7803 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7805 * buffer.C (sgmlError): hide #warning
7807 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7809 * xtl/*: get rid of xtl, which is not in use anyway
7811 * LyXAction.C (init):
7812 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7813 were unimplemented xtl experimentation
7815 2002-06-04 André Pönitz <poenitz@gmx.net>
7817 * lyxfunc.C: disable array operation on simple formulae
7819 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7821 * converter.C: constify a bit
7823 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7825 * lyx_gui.C: check xforms version correctly
7827 2002-04-30 Herbert Voss <voss@lyx.org>
7829 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7832 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7834 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7835 attempt to register it with a VCS)
7837 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7839 * lyx_main.C (init): honor variables LYX_DIR_13x and
7842 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7846 * lyx_main.C: fix a crash on bad command line,
7847 and give a useful exit status on error
7849 * lyxfunc.C (doImport): allow -i lyx to work
7851 2002-03-30 André Pönitz <poenitz@gmx.net>
7853 * lyxfunc.C: mathed font changes
7855 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7870 * trans_mgr.h: srcdocs, and some minor cleanups
7872 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7874 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7875 call getFont all the time)
7877 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7879 * switch from SigC signals to boost::signals
7881 2002-05-29 André Pönitz <poenitz@gmx.net>
7883 * paragraph_pimpl.C (getChar): don't call size() too often...
7885 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7887 * paragraph_pimpl.C (insertChar): do not try to update tables when
7888 appending (pos == size())
7890 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7891 in order to reduce drastically the number of comparisons needed to
7892 parse a large document
7894 2002-05-29 André Pönitz <poenitz@gmx.net>
7900 * textclasslist.[Ch]:
7901 * sp_ispell.h: whitespace change
7903 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7905 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7906 lyxaction directly now.
7908 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7912 * lyxvc.C: remove unused headers
7914 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7921 * undo_funcs.C: some cleanups. Use shared_ptr
7922 and a template for the undo stacks.
7924 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7926 * BufferView_pimpl.h:
7927 * BufferView_pimpl.C:
7934 * text2.C: use key_state/mouse_state
7936 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7938 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7941 * chset.C: change include order
7942 (loadFile): use boost regex and get rid of LRegex and LSubstring
7944 * Makefile.am (BOOST_LIBS): new variable
7947 * LaTeX.C: change include order.
7948 (scanAuxFile): use boost regex and get rid of LRegex and
7952 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7957 * FontInfo.C: moved to frontends/xforms/
7960 * FontLoader.C: moved into frontends for GUIIzation
7965 * lyxfunc.C: changes from above
7967 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7969 * LColor.C: remove spurious X include
7971 * BufferView_pimpl.C:
7976 * text2.C: move font metrics to frontends/
7978 2002-05-24 Juergen Vigna <jug@sad.it>
7980 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7981 setting the undo_cursor.
7983 * ParagraphParameters.h: include local includes first.
7985 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7987 * BufferView_pimpl.C:
7988 * BufferView_pimpl.h:
7992 * screen.C: move WorkArea into frontends/
7998 * BufferView2.C: move LyXScreen into frontends/
8002 * lyx_gui.C: move lyxlookup into frontends/xforms/
8004 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8007 * BufferView_pimpl.C:
8017 * bufferview_funcs.C:
8030 * vc-backend.C: move LyX/XFormsView into frontends/
8032 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8044 * text2.C: move Painter to frontends/
8046 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8048 * buffer.C: comment out some some code that depend upon lyx_format
8051 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8052 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8054 * buffer.h (NO_COMPABILITY): turn off compability
8056 * ColorHandler.C: include scoped_array.hpp
8058 * font.C: Use more specific smart_ptr header.
8061 * ShareContainer.h: ditto
8065 * BufferView_pimpl.h: ditto
8066 * ColorHandler.h: ditto
8068 * kbmap.C (defkey): change call to shared_ptr::reset
8070 2002-05-21 Juergen Vigna <jug@sad.it>
8072 * buffer.C (insertErtContents): fix to insert ert asis if it is
8073 non empty. Skip it completely if it contains only whitespaces.
8075 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8077 * BufferView_pimpl.C:
8078 * BufferView2.C: clear selection on paste (bug 393)
8080 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8082 * DepTable.C: include ctime
8084 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8086 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8088 2002-05-14 Juergen Vigna <jug@sad.it>
8090 * text.C (breakParagraph): fixed function to honor the keepempty
8091 layout in the right maner and also to permit the right breaking
8092 algorithm on empty or non empyt keepempty paragraphs.
8094 * paragraph.C (breakParagraph): we have to check also if the par
8095 is really empty (!size()) for isempty otherwise we do the wrong
8098 2002-05-10 Juergen Vigna <jug@sad.it>
8100 * buffer.[Ch] : The following are only changes to the ert
8101 compatibility read reading old LaTeX layout and font stuff and
8102 convert it to ERTInsets.
8104 * buffer.h: added isErtInset().
8106 * buffer.C (struct ErtComp): add a fromlayout bool to check
8107 if we're inside a LaTeX layout.
8108 (isErtInset): new helper function.
8109 (insertErtContents): look for other ert insets before this one
8110 and insert the contents there, so that we don't have subsequent
8111 ERT insets with nothing between them. This way we create only one
8112 inset with multiple paragraphs. Also check if we don't insert only
8113 spaces ' ' as they are ignored anyway afterwards in the .tex file
8114 so if we have only spaces we will ignore this latex part in the
8116 (parseSingleLyXformat2Token \\layout): better compatibility when
8117 reading layout-latex stuff.
8118 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8120 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8121 stuff after reading the inset only get the information back from
8124 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8126 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8128 * LaTeXFeatures.C (getBabelOptions): New method.
8130 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8132 * BufferView_pimpl.C (Dispatch): work around missing argument for
8135 2002-05-08 Juergen Vigna <jug@sad.it>
8137 * text.C (leftMargin): handle paragraph leftindent.
8139 * paragraph.C (writeFile): write the new \\leftindent tag.
8140 (validate): handle leftindent code.
8141 (TeXEnvironment): handle paragraphleftindent code again.
8143 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8145 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8146 for paragrap_extra indent code and new token \\leftindent.
8147 (latexParagraphs): handle the leftindent as environment.
8149 * ParameterStruct.h: added leftindent support.
8151 * ParagraphParameters.C (leftIndent): added support functions for
8152 the paragraph left indent.
8154 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8157 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8159 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8162 * text.C (computeBidiTables): No bidi in insetERT.
8164 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8167 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8169 * version.C.in: pre 5
8171 2002-05-02 José Matos <jamatos@fep.up.pt>
8172 * buffer.C (makeDocBookFile): white space changes, add newline to
8174 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8176 * tabular.C (docBook): fix typo.
8178 2002-05-03 Juergen Vigna <jug@sad.it>
8180 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8181 change in LyXText as we can not be sure it was not freed.
8182 (drawOneRow): remove unused code.
8184 * text.C (drawInset): redo the calculation of the need_break_row as
8185 it could have a row which was already freed.
8186 (draw): look at the return value of drawInset and return false if
8187 it also returned false.
8188 (paintRowText): look at the return value of draw and return false if
8189 it also returned false.
8191 * lyxtext.h: added bool return type to drawInset() and draw() so that
8192 if we have a change in the row so that the rowbreak has to be redone
8193 we abort drawing as it will be called again.
8195 2002-05-02 Juergen Vigna <jug@sad.it>
8197 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8198 a change in the maintext also if we're inside an inset.
8199 (Dispatch): set the cursor again after a break line and after the
8200 screen has been updated as it could be we're in a different row.
8202 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8203 to set the cursor behind the pargraph with > size().
8204 (setCursor): check also for the same paragraph when checking where
8205 to put the cursor if we have a NFR inset.
8207 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8208 parts of layout read further up as it still was in the wrong
8211 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8213 * screen.C (drawFromTo): change sine fullRebreak always return
8216 * buffer.C (parseSingleLyXformat2Token): reindent some
8218 * BufferView_pimpl.C (update): change since fullRebreak always
8220 (Dispatch): git rid of the last hardcoded "Standard"s.
8222 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8224 * text2.[Ch] (fullRebreak): make it return void now that we always
8227 2002-04-30 Juergen Vigna <jug@sad.it>
8229 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8230 ert compatibility check for "latex" layout.
8232 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8234 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8235 minipages: use col% instead of p%, and also use the current font.
8236 (makeLaTeXFile): Fix use babel condition.
8237 (parseSingleLyXformat2Token): Correct font when reading old floats.
8239 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8241 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8242 inserting list of floats.
8244 2002-04-25 Herbert Voss <voss@lyx.org>
8246 * MenuBackend.C (expand): don't add the graphics extensions to the
8249 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8251 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8252 non-existing layout, do not complain if it was the default layout
8253 of the original class (bug #342)
8255 2002-04-24 Juergen Vigna <jug@sad.it>
8257 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8258 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8260 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8262 * buffer.C (getBibkeyList): If using \bibliography, return the
8263 option field with the reference itself. Enables us to provide natbib
8264 support when using \bibliography.
8266 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8268 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8270 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8271 natbib is provided by the LaTeX class.
8273 2002-04-23 Juergen Vigna <jug@sad.it>
8275 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8278 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8280 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8282 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8284 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8285 ensuremath around textordmasculine, textordfeminine and
8288 2002-04-19 Juergen Vigna <jug@sad.it>
8290 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8291 reinitializing the buffer otherwise row-dimensions may be wrong.
8292 (update): reset also the selection cursors if they do exits otherwise
8293 their x/y positions may be wrong.
8295 * text2.C (cursorDown): don't enter the inset if we came from a row
8296 above and are one row over the inset.
8298 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8299 really leaving an inset.
8301 2002-04-18 Juergen Vigna <jug@sad.it>
8303 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8304 of the selected paragraph does not have the selected layout also if
8307 * text2.C (setLayout): fixed bug which did not change last selected
8310 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8311 changed the read and substituted \\end_float with \\end_inset!
8313 * BufferView_pimpl.C (cursorPrevious):
8314 (cursorNext): fixed to make it work with rows heigher than the work
8315 area without moving the cursor only the draw of the row.
8316 (workAreaMotionNotify): fix jumping over high rows.
8318 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8320 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8323 2002-04-16 Juergen Vigna <jug@sad.it>
8325 * text2.C (setCursor): set also the irow().
8326 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8328 (cursorDown): support for locking an inset if the x_fix value goes
8329 inside it. That way I can transverse insets too with cursor up/down.
8331 * lyxrow.h: added irow helper function same as other (i) functions.
8333 * BufferView_pimpl.C (cursorPrevious):
8334 (cursorNext): fixed for insets!
8336 2002-04-15 Juergen Vigna <jug@sad.it>
8338 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8339 position otherwise it is wrong in some cases.
8341 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8342 inside the inset before the call.
8344 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8346 * buffer.[Ch] (getBibkeyList): make it const.
8348 2002-04-12 Juergen Vigna <jug@sad.it>
8350 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8352 * text2.C (getCursorX): new helper function
8353 (setCursor): compute also ix_
8354 (setCursorFromCoordinates): set also ix.
8356 * lyxcursor.h: added ix_ and helper functions.
8358 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8360 * buffer.C (insertStringAsLines): dont break paragraph if the this
8361 paragraph is inside an inset which does not permit it!
8363 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8364 also with no chars on this paragraph.
8365 (paintRowText): only paint stuff if it's inside the workarea!
8367 * paragraph.C (breakParagraph): honor keepempty flag and break the
8368 paragraph always below not above.
8370 * BufferView2.C (unlockInset): update the paragraph layout on inset
8371 unlock as we changed paragraph in such a case.
8373 * lyxfind.C (LyXFind): clear the former selection if not found!
8375 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8376 again called in insertChar().
8378 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8379 an inset which uses the whole row!
8380 (rightMargin): ditto.
8381 (insertChar): force a rebreak if we inserted an inset!
8383 2002-03-28 Herbert Voss <voss@lyx.org>
8385 * lyxlength.[Ch]: add inBP() to get the right PS-point
8386 units (BigPoint). With inPixels we have rounding errors
8388 2002-04-11 Juergen Vigna <jug@sad.it>
8390 * text2.C (setCursorFromCoordinates): set iy to the right value.
8391 (setCursor): add check if row->previous exists!
8393 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8394 an old float_type as this was the case in the old code!
8396 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8398 * BufferView2.C (showLockedInsetCursor): use iy
8399 (fitLockedInsetCursor): ditto
8401 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8402 locked insets as there we have the right value now.
8404 * lyxcursor.C: added iy_ variable and iy functions to set to the
8405 baseline of cursor-y of the locked inset.
8407 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8408 (setCursor): fixed for insets which need a full row.
8410 * text.C (rowLastPrintable): don't ignore the last space when before
8411 an inset which needs a full row.
8412 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8413 as last character of a row when before a inset which needs a full row.
8415 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8417 * version.C.in: update date
8419 * text2.C (fullRebreak): try to always return true and see what
8422 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8424 * MenuBackend.C (expand): use Floating::listName
8426 * FloatList.C (FloatList): add listName argument to the built-in
8429 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8430 text associated with the float.
8432 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8434 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8436 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8438 * ShareContainer.h: add a couple of missing typenames.
8440 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8442 * lyxrc.C (getDescription): use _() correctly rather than N_().
8444 2002-03-28 Herbert Voss <voss@lyx.org>
8446 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8447 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8449 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8451 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8452 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8454 2002-03-29 Juergen Vigna <jug@sad.it>
8456 * lyxfunc.C (dispatch): add a missing fitCursor call.
8458 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8459 it was scrolled by a cursor move, so return the bool status.
8461 * BufferView.C (fitCursor): return the bool flag also to the outside
8462 world as this is needed.
8464 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8466 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8467 call the edit() as it is not needed (and wrong) IMO.
8468 (workAreaButtonPress): set the screen_first variable before evt.
8469 unlock the inset as this may change screen_first and then we have
8470 a wrong y position for the click!
8472 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8474 * MenuBackend.C (expand): another translation that I missed
8476 2002-03-28 Juergen Vigna <jug@sad.it>
8478 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8480 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8482 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8484 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8486 * MenuBackend.C (expand): fix export/view/update when there is no
8489 2002-03-27 Herbert Voss <voss@lyx.org>
8491 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8494 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8496 * bufferview_funcs.C (currentState): only show paragraph number
8497 for is DEVEL_VERSION is set.
8499 * lyxfunc.C (dispatch): put warning in INFO channel
8501 * MenuBackend.C (expand): translate the name of floats
8503 * FloatList.C (FloatList): mark the float names for translation
8505 * converter.C (convert): use LibScriptSearch
8507 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8509 * MenuBackend.C (defaults): fix default menu (we might as well get
8512 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8514 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8517 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8519 * lyxvc.C: reorder includes.
8521 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8523 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8526 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8528 * CutAndPaste.C: change layouts earlier on paste
8529 to avoid crashing when calling getFont()
8531 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8533 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8536 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8538 * WorkArea.C: remove 'Pending' debug message.
8540 * most files: ws cleanup
8542 * buffer.[Ch]: ws changes
8544 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8546 2002-03-21 Juergen Vigna <jug@sad.it>
8548 * tabular.C (SetMultiColumn): collapse also the contents of the
8549 cells and set the last border right. Added a Buffer const * param.
8551 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8553 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8556 2002-03-19 Juergen Vigna <jug@sad.it>
8558 * text2.C (clearSelection): reset also xsel_cache.
8560 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8561 where it needs to be called (John tells us to do so too :)
8562 (selectionLost): reset sel_cache.
8564 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8566 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8568 * text2.C (setCursorIntern): put debuging code in INSETS channel
8570 2002-03-19 André Pönitz <poenitz@gmx.net>
8572 * lyxfunc.C: tiny whitespace change
8574 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8576 * ToolbarDefaults.C (init):
8577 * LyXAction.C (init):
8579 * BufferView_pimpl.C (Dispatch):
8580 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8582 2002-03-19 Allan Rae <rae@lyx.org>
8584 * exporter.C (Export): removeAutoInsets before doing anything else.
8585 While I've just introduced a dependency on BufferView this really is
8586 the best place to clean the buffer otherwise you need to cleanup in
8587 a dozen places before calling export or cleanup in a dozen functions
8590 * converter.C (runLaTeX):
8591 (scanLog): Better handling of removeAutoInsets and screen updates.
8593 * lyxfunc.C (dispatch): small whitespace changes
8595 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8597 * WorkArea.C (C_WorkAreaEvent): return a value.
8598 (event_cb): return 1 if we handled the event, 0 otherwise.
8600 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8602 2002-03-18 Juergen Vigna <jug@sad.it>
8604 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8605 (GetAdditionalWidth): ditto.
8609 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8610 inset if we're there actually (probably not used right now but this
8611 is the direction to go for unifying code).
8612 (paste): disable code to clear the selection.
8614 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8615 inside an InsetText and move the check further up as it is in the
8618 * text2.C (pasteSelection): set a selection over the pasted text.
8620 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8622 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8623 and libgraphics to build on Cygwin.
8625 2002-03-15 Juergen Vigna <jug@sad.it>
8627 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8628 inserting an Inset into the paragraph. I know this is not the best
8629 fix but we already use current_view in CutAndPaste so we will remove
8630 all of it's using at the same time.
8632 * buffer.C (sgmlError): deactivated function till it is rewritten in
8633 the right mode, now it can create problems.
8635 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8636 before accessing it.
8638 2002-03-14 Juergen Vigna <jug@sad.it>
8640 * undo_funcs.C (textHandleUndo): do the right thing when updating
8641 the inset after the undo/redo.
8643 * text2.C (setCursor): just some testcode for #44 not ready yet.
8645 * undo_funcs.C (textHandleUndo): set the next() and previous()
8646 pointers of the paragraph to 0 before deleting otherwise we have
8647 problems with the Paragraph::[destructor].
8649 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8650 on a paragraph insertion.
8652 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8654 * buffer.C (asciiParagraph): use += operator for char append to
8657 * paragraph.C (getFontSettings): compare >= not just >
8658 (highestFontInRange): ditto
8661 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8663 * paragraph.C: change several algorithm to be more appripriate for
8664 the problem domain. This is lookip in FontList and in the InsetList.
8666 2002-03-13 André Pönitz <poenitz@gmx.net>
8669 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8671 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8676 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8678 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8680 * Painter.C (display): anon helper function, adjust code for this
8682 (pixmap): remove function.
8684 * Painter.h: remove private display variable.
8686 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8688 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8690 * WorkArea.[Ch]: remove figinset_canvas cruft.
8692 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8694 * lyxtextclass.C (operator): add one item cache optimization.
8696 * bufferlist.h: doxy changes
8698 * bufferlist.C: ws changes
8700 * DepTable.[Ch] (ext_exist): place const in the right spot.
8702 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8704 (workAreaExpose): call resizeInsets when the with BufferView changes.
8705 (Dispatch): adjust for protectedBlank removal
8706 (specialChar): call updateInset if the insert went ok.
8708 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8709 specialChar instead.
8711 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8713 * BufferView.h: doxy change
8715 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8717 * lyxtextclass.C (operator[]): remove non-const version
8718 (defaultLayout): remove non-const version
8720 2002-03-12 Juergen Vigna <jug@sad.it>
8722 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8723 did resize the LyXText too.
8725 * buffer.C (readLyXformat2): set layout information on newly allocated
8728 * tabular.C (OldFormatRead): set layout information on the paragraph.
8730 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8732 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8734 2002-03-11 Juergen Vigna <jug@sad.it>
8736 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8738 (resizeCurrentBuffer): force also the insets to resize themselfes.
8739 (moveCursorUpdate): fixed up for InsetText.
8741 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8744 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8745 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8746 value of Dialogs::tooltipsEnabled().
8747 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8749 2002-03-08 Juergen Vigna <jug@sad.it>
8751 * BufferView_pimpl.C (updateInset): update inset inside inset also
8752 if it isn't inside theLockingInset().
8754 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8756 * buffer.C (asciiParagraph): redo some of the word and line length
8758 (getLists): look for Caption instead of caption.
8760 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8762 * buffer.C (Buffer): initialize niceFile to true
8765 (makeDocBookFile): make sure niceFile is true on exit
8767 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8769 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8771 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8773 * LyXSendto.C: remove.
8774 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8775 * lyx_gui.C: remove now-redundant comment.
8776 * ColorHandler.h: remove forward declaration of class WorkArea.
8777 * lyxfunc.C: remove #include "WorkArea.h".
8779 2002-03-07 Juergen Vigna <jug@sad.it>
8781 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8782 got moved away with the DEPM and also set the inset_owner always
8783 right which before could have been omitted.
8785 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8787 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8788 wanted layout is not found.
8790 2002-03-07 Juergen Vigna <jug@sad.it>
8792 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8794 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8796 * paragraph.C (breakParagraph): use default layout not layout of
8798 (Paragraph): clear ParagraphParameters.
8800 2002-03-06 Juergen Vigna <jug@sad.it>
8802 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8803 otherwise it would not be a valid lenght. Fixed a special case in
8804 the minipage compatibility read where we end the document with a
8807 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8808 was set as it could be 0 for InsetTexts first entry.
8810 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8812 * paragraph.C (writeFile): if layout is empty write out
8813 defaultLayoutName().
8815 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8816 file without named layout we set layout to defaultLayoutName().
8818 2002-03-06 Juergen Vigna <jug@sad.it>
8820 * CutAndPaste.C (copySelection): set layout for new paragraph.
8822 * text.C (prepareToPrint): leave ERT inset left aligned
8823 (leftMargin): don't indent paragraphs inside ERT insets
8825 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8827 * paragraph.C (breakParagraph): dont call clear do the work manually
8829 * paragraph.[Ch] (clear): remove function
8831 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8833 * paragraph.C (Paragraph): dont call clear, the work has already
8836 * lyxtextclass.C (operator): assert if n is empty
8838 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8839 work manually instead.
8841 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8843 * BufferView_pimpl.C: protect selectionLost against text == 0
8845 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8847 * text.C (breakParagraph): fix a setting layout to '0' problem.
8849 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8851 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8852 final location of file, for the included files, and graphics.
8854 2002-03-05 Juergen Vigna <jug@sad.it>
8856 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8858 2002-03-04 Juergen Vigna <jug@sad.it>
8860 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8862 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8863 last column of multicolumn cells.
8864 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8866 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8868 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8869 file if it doesn't go to a temporary file.
8871 * buffer.C (sgmlOpenTag):
8872 (sgmlCloseTag): remove extra newline insertion.
8874 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8876 * text.C (getRowNearY): comment out debug msg
8878 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8880 * text2.C: first -> first_y
8882 * text.C (getRowNearY): add some attemts at a possible
8883 optimization, not working.
8885 * tabular.[Ch]: add BufferParams to several function so that newly
8886 created paragraph can be initialized to he default layotu for the
8889 * tabular-old.C (ReadOld): add buf->params to call of Init
8891 * screen.C: rename text->first to text->first_y
8893 * paragraph.C (breakParagraph): always set layout in the broken
8896 * lyxtextclass.C (Read): remove lowercase
8899 (delete_layout): ditto
8901 * lyxtext.h: rename first -> first_y
8903 * lyxlayout.C (Read): remove lowercase
8906 (obsoleted_by): ditto
8908 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8910 * buffer.C (insertErtContents): add params are to InsetERT
8911 (parseSingleLyXformat2Token): add code to check if a paragraphs
8912 layout really exist.
8913 (parseSingleLyXformat2Token): add params to several inset
8915 (asciiParagraph): remove lowercase, do the layout comparisons with
8918 * BufferView_pimpl.C (cursorNext): first -> first_y
8919 (resizeCurrentBuffer): first -> first_y
8920 (updateScrollbar): first -> first_y
8921 (scrollCB): first -> first_y
8922 (workAreaMotionNotify): first -> first_y
8923 (workAreaButtonPress): first -> first_y
8924 (checkInsetHit): first -> first_y
8925 (cursorPrevious): first -> first_y
8926 (cursorNext): first -> first_y
8927 (Dispatch): add buffer_->params to severl inset contructors
8929 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8931 * lyxlayout.C (Read): remove some debug info that I forgot.
8933 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8934 clean up the code slightly.
8935 (makeLinuxDocFile): ditto
8936 (makeDocBookFile): ditto
8938 * text2.C: layout as string
8940 * text.C: layout as string
8942 * paragraph_pimpl.C: layout as string
8944 * paragraph.[Ch]: layout as string
8946 * lyxtextclasslist.[Ch]: layout as string
8948 * lyxtextclass.[Ch]: layout as string
8950 * lyxtext.h: layout as string
8952 * lyxlayout.[Ch]: layout as string
8954 * lyx_cb.C: layout as string
8956 * bufferview_funcs.C: layout as string
8958 * bufferparams.C: layout as string
8960 * buffer.C: layout as string
8962 * LyXView.[Ch]: layout as string
8964 * LaTeXFeatures.[Ch]: layout as string
8966 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8968 * BufferView_pimpl.C: change current_layout to string, remove
8973 (workAreaButtonRelease): layout as string
8975 * BufferView2.C (unlockInset): adjust
8977 * vspace.C (asLatexCommand): use an explict temp variable.
8979 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8981 * Makefile.am: use FRONTEND_*
8983 2002-03-01 Juergen Vigna <jug@sad.it>
8985 * tabular.C (SetWidthOfMulticolCell): changed to something better
8986 I hope but still work in progress.
8987 (recalculateMulticolumnsOfColumn): renamed function from
8988 recalculateMulticolCells as it is more appropriate now.
8989 (SetWidthOfCell): calculate multicols better.
8991 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8993 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8995 * lyxfunc.C (processKeySym): print sequence also if it is
8996 `deleted' (complete)
8998 * kbsequence.C (print): print sequence even if it is deleted
8999 (complete would be a better word, actually).
9001 * lyxfunc.C (dispatch): print complete options after a prefix key
9003 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9005 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9007 * text2.C (setCharFont): eliminate setCharFont code duplication.
9009 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9011 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9012 LFUN_TABULAR_FEATURE (bug #177)
9014 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9016 * Makefile.am: remove figure.h
9018 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9020 * Bufferview_pimpl.C:
9032 * text2.C: remove #include "lyx_gui_misc.h".
9034 * LaTeX.C: added #include <cstdio>
9036 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9038 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9039 that the paragraph following this one can have.
9041 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9043 * vspace.C (asLatexCommand): fix bogus gcc warning
9045 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9047 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9049 * text2.C (setLayout): get rid of redundant code
9051 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9053 * text2.C (incDepth): make sure depth cannot be increased beyond
9056 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9058 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9059 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9061 * PainterBase.h (image):
9062 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9065 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9069 * BufferView_pimpl.C:
9070 * BufferView_pimpl.h:
9090 * sp_spell.C: remove fig inset, and the crap house of
9091 cards that follows it
9093 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9099 * nt_defines.h: move .h into support/
9101 * vms_defines.h: remove
9103 * WorkArea.C: add space in debug output
9107 * buffer.C: add WITH_WARNINGS
9111 * bufferlist.C: s/retrive/retrieve/, add docs
9122 * lyxgui.C: add ID to X error handler
9124 * lyxtestclass.c: fix typo
9126 2002-02-26 Juergen Vigna <jug@sad.it>
9128 * tabular_funcs.C (write_attribute): changed so that some default
9129 attributes are not written at all.
9130 (getTokenValue): set default values before trying to read the
9131 value so we have the return value always set as default if we don't
9132 find the token we search for.
9134 * tabular.C (Write): write bools as bools not as strings!
9136 2002-02-22 Juergen Vigna <jug@sad.it>
9138 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9139 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9141 * text.C (leftMargin): don't add an indent for paragraphs inside
9142 tabular cells (fix #208).
9144 2002-02-21 José Matos <jamatos@fep.up.pt>
9146 * tabular.C (docBook): fixed support for long tables.
9148 2002-02-20 Juergen Vigna <jug@sad.it>
9150 * text2.C (getFont): get the drawing font of the Inset if this
9151 paragraph is inside an inset (only important for InsetERT for now).
9153 * buffer.C (insertErtContents): use new lanugage params in ERT
9156 * CutAndPaste.C: commenting out seemingly uneeded code.
9158 2002-02-19 Allan Rae <rae@lyx.org>
9160 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9161 Iterators might be simple to use but they also get invalidated.
9162 (removeAutoInsets): renamed saved cursor tracking variables and added
9163 some comments to clarify what everything does.
9165 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9172 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9173 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9176 * vc-backend.h: remove #include "support/syscall.h"
9180 * converter.C: rearrange #includes in Lars' approved fashion.
9182 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9183 forward declare class Timeout in the header file.
9185 * XFormsView.C: changes due to the above.
9187 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9190 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9191 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9193 2002-02-18 José Matos <jamatos@fep.up.pt>
9195 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9198 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9200 * a lot of small ws changes
9201 * add a lot of using std::XXX
9202 * use std construcs some places where approp.
9203 * use some exisint stuff from lyxfunctional where approp.
9204 * Make file changes to use partial linking (lets test this now...)
9206 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9210 remove #include "support/syscontr.h" as it's redundant. Always has been.
9218 change Systemcalls::System to Systemcalls::Wait and
9219 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9220 No change of functionality, just reflects the stripped down Systemcalls
9223 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9225 * debug.[Ch]: add a GRAPHICS type to the enum.
9227 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9229 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9231 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9234 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9236 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9237 match the changes below.
9239 * text2.C (toggleInset): if there is not editable inset at cursor
9240 position, try to see if cursor is _inside_ a collapsable inset
9243 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9245 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9246 document menu has a nice checkbox
9248 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9250 * lyxlength.C (asLatexString): change PW to output as percent of
9253 * lengthcommon.C: change '%' to 't%'
9255 * lyxfunc.C (dispatch): a few comments from Martin
9257 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9261 * BufferView_pimpl.h:
9262 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9265 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9267 * vspace.C (inPixels): fix compiler warning
9269 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9271 * lyxfunc.C (getStatus): fix status message for disabled commands.
9273 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9275 * BufferView_pimpl.C: fix crash on close buffer
9276 during selection (#227)
9278 2002-01-27 Herbert Voss <voss@lyx.org>
9280 * buffer.C: link old Figure to new graphic inset
9282 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9284 * FontLoader.C (getFontinfo): Change the latex font names in order
9285 to match the names of type1inst.
9287 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9289 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9291 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9294 (remove_files_with_extension): ditto
9295 (remove_file): ditto
9298 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9299 document is smaller than the work area height. Do not initialize
9300 static variables to 0.
9302 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9304 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9306 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9307 LFUN_LAYOUT_PARAGRAPHS.
9309 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9310 tabular. It is possible to provide a possible cell, which will
9311 typically be the actcell from the corresponding insettabular
9313 * lyxfunc.C (getStatus): small cleanup; disable
9314 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9317 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9319 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9321 * paragraph.C (startTeXParParams):
9322 (endTeXParParams): new methods. The LaTeX code to
9323 start/end paragraph formatting
9324 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9325 empty (fixes bug #200)
9327 * vspace.C (inPixels): adapt to the change below
9328 (inPixels): [later] more cleanups (remove unused variables)
9330 * lyxlength.C (inPixels): change to use a width and a height as
9333 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9335 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9336 Replaced with \paperwidth
9338 * DepTable.C (insert): add std:: qualifier
9340 2002-01-18 Allan Rae <rae@lyx.org>
9342 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9345 * text.C (drawInset): Turned out I didn't know enough about how
9346 rebreaking worked. This fixes most of the redraw problems. I see
9347 an occasional cursor trail when a line is broken now and the cursor
9348 placement can seem out by a few pixels also after a rebreak.
9350 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9352 * buffer.C (parseSingleLyXformat2Token): update because minipage
9353 width is now a LyXLength
9355 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9357 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9360 2002-01-17 Juergen Vigna <jug@sad.it>
9362 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9364 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9365 is set correctly and the inset is updated correctly.
9367 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9369 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9370 the beginning of the loop.
9372 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9374 * lyxrc.C: improve help for use_scalable_fonts
9376 2002-01-17 Allan Rae <rae@lyx.org>
9378 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9380 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9382 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9383 make sure to set their inset_owner to the right value (bug #171)
9385 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9388 * DepTable.C: Implement mtime checking to reduce time spent doing
9391 2002-01-16 Juergen Vigna <jug@sad.it>
9393 * tabular.C (GetAdditionalHeight): one of error fixed.
9395 * lyxrc.C (output): small fix in writing use_pspell.
9397 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9399 * sp_base.h: #include LString.h
9401 2002-01-16 Allan Rae <rae@lyx.org>
9403 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9404 Can someone check this please?
9406 * text.C (drawInset): It was possible that p.row would be removed by
9407 breakAgainOneRow upsetting a few other settings. There may be another
9408 small tweak possible by setting need_break_row = 0 when p.row has been
9409 removed but I don't know enough about the logic here.
9411 2002-01-15 Allan Rae <rae@lyx.org>
9413 * text.C (insertChar): removed conditional truism.
9415 * BufferView2.C (removeAutoInsets): More tweaks.
9416 cur_par_prev could be a stray pointer. Check for trailing empty line
9417 in case last line was cur_par and only had an error inset on it.
9419 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9421 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9424 * vc-backend.C (most methods):
9425 * exporter.C (Export):
9426 * converter.C (convert):
9428 * LyXSendto.C (SendtoApplyCB):
9429 * lyxfunc.C (dispatch):
9433 * lyx_cb.C (AutoSave):
9435 * BufferView_pimpl.C (MenuInsertLyXFile):
9436 * buffer.C (runChktex): use Buffer::filePath().
9438 * buffer.h: rename filename to filename_; rename filepath to
9439 filepath_ and make it private
9440 (filePath): new method
9442 * buffer.C (writeFile): use fileName()
9445 * lyx_main.C (init): fix starting of LyX when the binary is a
9446 link from so,ewhere else.
9448 * minibuffer.C: include <cctype> for isprint
9450 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9452 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9453 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9454 name clash with InsetCollapsable's width function.
9456 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9458 * lastfiles.C: include <iterator>
9460 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9462 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9465 * buffer.C (makeLaTeXFile): ditto.
9466 Also make loop operation more transparent.
9468 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9470 * ToolbarDefaults.C: remove trailing comma closing namespace.
9472 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9474 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9477 * trans.C (Load): comment out unused variable, allowed.
9479 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9481 * minibuffer.[Ch] (append_char): new method to recieve input from the
9482 drop-down completion browser. If a key was pressed, then recieve this
9483 char and append it to the existing string.
9484 (peek_event): modify the positioning data passed to the completion
9485 browser so that it can be placed above the minibuffer rather than below.
9486 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9488 * LyXAction.C (init): alloe error-next for readonly documents.
9490 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9493 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9495 * bufferlist.C (readFile): create the buffer _after_ checking that
9498 * lyxfunc.C (verboseDispatch): fix handling of arguments
9500 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9502 * lyxrc.C: use string::erase() instead of initializing to "".
9505 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9507 * BufferView_pimpl.h:
9508 * BufferView_pimpl.C:
9511 * text2.C: tell X when we have made a selection for copying
9513 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9515 * BufferView_pimpl.C (MenuInsertLyXFile):
9516 * lyxfunc.C (menuNew):
9518 (doImport): add shortcuts to directory buttons
9520 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9523 * lyxfunc.C (setStatusMessage):
9524 (getStatusMessage): new methods
9525 (getStatus):use setStatusMessage instead of setErrorMessage
9526 (dispatch): when function is disabled, set error message here
9527 [instead of in getStatus previously]
9529 * BufferView_pimpl.C (workAreaButtonRelease): update
9530 toolbar/menubar here too.
9532 2002-01-13 Allan Rae <rae@lyx.org>
9534 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9535 Now seems indestructible. Remaining task is to audit all other
9536 code affected by deleteEmptyParagraphMechanism. One small quirk
9537 left is that an empty document with an error in the preamble can
9538 be made to report an error but no error box appears. I don't know
9540 (removeAutoInsets): Improved comments.
9542 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9545 * Thesaurus.C: update for Aiksaurus 0.14
9547 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9549 * text2.C (firstParagraph): removed member function, all uses
9550 replaces with ownerParagraph
9551 (redoParagraphs): here
9553 (toggleAppendix): here
9554 * BufferView2.C (insertErrors): here
9555 (setCursorFromRow): here
9557 2002-01-13 Allan Rae <rae@lyx.org>
9559 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9560 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9561 There is still a way to segfault this although you may have to do this
9562 multiple times: Have an InsetERT with an unknown command in it.
9563 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9564 <down-arrow>, <Enter> again, View->DVI, BANG!
9566 * text2.C (setCursor):
9567 (deleteEmptyParagraphMechanism):
9568 * lyxtext.h (setCursor):
9569 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9570 Making use of the return value may help fix other bugs.
9572 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9574 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9576 * LyXView.C (updateMenubar): call MenuBar::update here
9577 (updateToolbar): but not here
9578 (showState): do not update toolbar/menubar
9580 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9581 should need to care about that.
9583 * lyxfunc.C (verboseDispatch): simplify a bit
9584 (getStatus): have a version which takes a pseudoaction, and
9585 another which requires a (kb_action,string).
9587 * LyXAction.C (retrieveActionArg): make it work also when action
9588 is not a pseudo-action.
9589 (getActionName): simplify a bit
9592 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9594 * lyxfunc.C (verboseDispatch): new families of methods with
9595 several ways to specify a command and a bool to indicate whether
9596 the command name and shortcut should be displayed in minibuffer
9597 (eventually, we could extend that to a finer bitmask like
9598 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9599 (dispatch): the pristine dispatch command which just, well,
9600 dispatchs! Note it still sets its result to minibuffer; I'm not
9603 * lyxfunc.h: remove setHintMessage
9605 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9607 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9609 * BufferView_pimpl.C (specialChar): delete new inset if we have
9610 not been able to insert it.
9612 * kbmap.C: revert to using int instead of kb_action, since all we
9613 are dealing with is pseudo-actions.
9615 * LyXAction.C (searchActionArg): change to return int instead of
9616 kb_action, since the result is a pseudoaction.
9618 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9620 * buffer.C (insertErtContents): Fix (partially) the font bug.
9622 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9624 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9625 as the other one is broken on my machine!
9627 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9630 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9632 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9634 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9635 reflect their actual use. Provide compatibility code for older lyxrc
9638 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9640 change names of popup font variables in line with the changes to lyxrc.C
9642 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9644 * buffer.C (asciiParagraph): avoid outputing a word twice after
9647 * lyxrc.C (getDescription): document that document_path and
9648 template_path can be empty.
9650 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9652 * LaTeXFeatures.C (getMacros):
9653 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9655 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9657 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9659 (getPackages): rename feature "floats" to "float". Use an array to
9660 iterate over 'simple' features (i.e. just a \usepackage). Add
9661 handling of "amsmath" (renamed from "amsstyle").
9663 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9665 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9668 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9670 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9671 FuncStaus::FuncStatus & FuncStaus::some_method().
9673 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9675 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9676 of the func_satus stuff. Edited and massaged in various ways by
9679 * lyxfunc.C (getStatus): use FuncStatus
9681 2002-01-08 Juergen Vigna <jug@sad.it>
9683 * text.C (nextBreakPoint): use function Inset::isChar().
9685 * paragraph.C (TeXOnePar): use function
9686 Inset::forceDefaultParagraphs.
9688 * buffer.C (latexParagraphs): use function
9689 Inset::forceDefaultParagraphs.
9691 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9693 * lyx_gui.C (init): set the style of the menu popups to
9694 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9696 2002-01-07 Juergen Vigna <jug@sad.it>
9698 * text.C (setHeightOfRow): small fix
9699 (prepareToPrint): don't look at alignment if we don't have the place
9702 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9704 * box.C: New file. Move the Box methods and functions out of box.h,
9705 following Lars' suggestion.
9707 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9709 * box.h: #include "support/LOstream.h", needed for inlined function.
9712 * lyxtextclasslist.C: added some using std declarations.
9714 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9716 * box.h: make signed dimensions to allow insets wider than
9717 the screen (bug #162)
9719 * BufferView_pimpl.C: add some insetHit debug
9721 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9723 * vc-backend.C: add FIXME
9725 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9727 * lyxfunc.C (getStatus): enable code for showing math font status
9730 2002-01-07 Juergen Vigna <jug@sad.it>
9732 * text.C (nextBreakPoint): removed debug output not needed anymore.
9734 2002-01-06 Juergen Vigna <jug@sad.it>
9736 * text.C (nextBreakPoint): fixed up this function we had this bug
9737 since ever but now hopefully we break row better.
9738 (insertChar): we have to check if an inset is the next char as it
9739 could now happen that a large inset is causing a break.
9741 2002-01-05 Juergen Vigna <jug@sad.it>
9743 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9744 if it doesn't like to be drawed.
9746 2002-01-04 Juergen Vigna <jug@sad.it>
9748 * BufferView2.C (lockInset): forgot to set a cursor.
9750 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9752 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9757 * form_maths_panel.C:
9758 * form_maths_panel.h:
9759 * form_maths_panel.fd: implemented sub- and super- buttons in math
9762 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9763 (or ^ space) to be used as in TeX (req'd by André).
9765 * lyxfunc.C: Allow ^ and _ again to be used both as
9766 super/subscript (mathed) and as themselves (in text).
9768 2002-01-03 Allan Rae <rae@lyx.org>
9770 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9771 "LyX" or the filename of the current buffer if it has one. This is a
9772 modified form of John Levon's patch.
9774 * XFormsView.C (setWindowTitle): also set icon title.
9776 * LyXView.h (setWindowTitle): signature changed.
9777 * XFormsView.h (setWindowTitle): ditto.
9779 2002-01-02 Juergen Vigna <jug@sad.it>
9781 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9783 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9785 * screen.C (topCursorVisible): introduce a temp var for
9786 text->cursor.row(), handle the case where this row is null. (kindo
9789 * text2.C (setCursor): add a couple of asserts.
9791 * paragraph.h (inset_iterator): add -> operator
9793 * paragraph.[Ch] (autoDeleteInsets): remove member function
9795 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9796 cursor pos correctly and handle inset deletion by itself.
9797 (insertErrors): move iterator declaration out of for expression
9799 * lyxtextclass.C: add <algorithm>
9801 * Makefile.am: added the new files to sources, removed layout.C
9803 * layout.C: removed file
9805 * layout.h: remove LYX_DUMMY_LAYOUT
9807 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9811 * lyxtextclass.[Ch]:
9812 * lyxtextclasslist.[Ch]: new files
9814 * include order changes to a lot of files, also changes because of
9817 2001-12-27 Juergen Vigna <jug@sad.it>
9819 * buffer.C (asciiParagraph): more fixes.
9821 * tabular.C (ascii): make ascii export support export of only the
9822 data separated by a column-delimiter.
9823 (ascii): better support for ascii export.
9825 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9827 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9829 * tabular_funcs.C: use a "using std::getline" instead of the
9830 previous fix from Angus (necessary for cxx + lyxstring)
9832 2001-12-24 Juergen Vigna <jug@sad.it>
9834 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9836 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9837 problems. First check a minipage also if we have some ert-contents
9838 (not only on par->size(), second set the right depth of the paragraph
9839 on the relink to the root-paragraph-list!
9841 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9842 which then did not anymore update the main paragraphs on undo/redo!
9844 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9846 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9847 code. Support all font-changing funcs (even those which are not in
9848 menu currently). Support for reporting font settings in
9849 mathed (disabled until Andre provides a function on mathed's side).
9851 * func_status.h (toggle): small helper function to set toggle
9854 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9856 * tabular_funcs.C: getline -> std::getline
9858 2001-12-21 Juergen Vigna <jug@sad.it>
9860 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9861 accessed and could be 0 (I couldn't generate this but it seems
9864 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9866 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9867 * tabular_funcs.h: here and include iosfwd
9869 2001-12-20 Juergen Vigna <jug@sad.it>
9871 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9872 inside inset but undo_par was.
9874 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9876 * Thesaurus.C: always include <config.h> in sources.
9880 * box.h: do not include <config.h> in header files
9882 * text.C (paintLastRow): remove unused variable
9884 * text.C (transformChar):
9886 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9889 * font.C (width): rewrite to use uppercase() instead of
9892 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9894 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9896 * lyxfind.C: clean up of find failure position change
9898 2001-12-20 Juergen Vigna <jug@sad.it>
9900 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9902 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9903 (TeXRow): added to LaTeX a single tabular row.
9904 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9905 (Latex): simplified and finally good LT-h/f support.
9906 (various_functions): just small adaptions for LT-h/f support.
9908 * tabular_funcs.[hC]: added and moved here all not classfunctions
9911 2001-12-19 Juergen Vigna <jug@sad.it>
9913 * tabular.[Ch]: better support for longtabular options (not finished
9916 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9918 * text.C (paintLastRow): use the label font instead of the font of
9919 the last character to compute the size of *_BOX. This makes more
9920 sense and avoids a crash with empty paragraphs.
9921 Use Painter::rectangle to draw EMPTY_BOX.
9923 2001-12-19 Juergen Vigna <jug@sad.it>
9925 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9926 the paragraphs if the replaced paragraph is not the first one!
9927 Tried to delete not used paragraphs but does not work yet so for
9928 now it's inside #ifdef's and by default off!
9930 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9932 * MenuBackend.C: include "lyx_main.h" instead of declaring
9933 lastfiles (actually was declared as LastFiles* instead of a
9936 2001-12-17 Juergen Vigna <jug@sad.it>
9938 * tabular.C (AppendColumn): applied John's fix
9940 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9944 * BufferView_pimpl.h:
9945 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9948 * box.h: new start of class for above
9950 * lyxfunc.C: ignore space-only minibuffer dispatches.
9951 Show the command name when it doesn't exist
9953 * minibuffer.C: don't add empty lines to the history
9955 * minibuffer.C: add a space on dropdown completion
9957 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9959 * text.C: fix line above/below drawing in insets
9961 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9963 * lyxlength.C (LyXLength): Initialize private variables.
9965 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9967 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9968 when inserting error insets.
9970 2001-12-13 Juergen Vigna <jug@sad.it>
9972 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9973 actually sometimes the before-paragraph.
9974 (setUndo): don't clear the redostack if we're not actually undoing!
9976 2001-12-06 Juergen Vigna <jug@sad.it>
9978 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9979 and fixed redoing of main paragraph, so we can use it now ;)
9981 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9983 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9985 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9988 2001-12-13 André Pönitz <poenitz@gmx.net>
9991 * undo_func.C: minor cleanup
9993 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9995 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9996 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9997 font in urw-fonts package which is marked as -urw-fontspecific and
9998 does not work (incidentally, changing the encoding in the
9999 fonts.dir of this package to -adobe-fontspecific fixes the
10002 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10003 is a crash when undoing first paragraph (Juergen, please take a
10004 look). THis does not mean the undo fix is wrong, just that it
10007 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10008 the (Paragraph*) version when needed instead of duplicating the
10011 * text.C (workWidth): use Inset::parOwner to find out where the
10012 inset has been inserted. This is a huge performance gain for large
10013 documents with lots of insets. If Inset::parOwner is not set, fall
10014 back on the brute force method
10016 * paragraph_pimpl.C (insertInset):
10017 * paragraph.C (Paragraph):
10018 (cutIntoMinibuffer): set parOwner of insets when
10019 inserting/removing them
10021 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10023 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10029 * mathed/formulabase.C:
10030 * mathed/math_cursor.[Ch]:
10031 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10034 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10036 * lyxlength.[Ch] (operator!=): new function
10038 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10040 * text.C (workWidth): use Inset::parOwner to find out where the
10041 inset has been inserted. This is a huge performance gain for large
10042 documents with lots of insets. If Inset::parOwner is not set, fall
10043 back on the brute force method
10045 * paragraph_pimpl.C (insertInset):
10046 * paragraph.C (Paragraph):
10047 (cutIntoMinibuffer): set parOwner of insets when
10048 inserting/removing them
10050 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10052 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10054 * tabular-old.C (getTokenValue):
10055 * tabular.C (getTokenValue):
10056 (write_attribute): new versions for LyXLength
10057 (everywhere): adjust the use of widths
10059 * tabular.h: change the type of widths from string to LyXLength
10061 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10063 * paragraph.C: fixed missing line number count when exporting
10064 Environments to LaTeX file
10066 * buffer.C: added informational message for checking line numbers.
10068 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10070 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10071 paragraph, do the 'double space' part, but not the 'empty
10074 * text.C (workWidth): small optimization
10075 (getLengthMarkerHeight): use minimal size for negative lengths.
10077 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10079 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10081 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10083 2001-12-11 André Pönitz <poenitz@gmx.net>
10086 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10088 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10090 * text2.C: keep selection on a setFont()
10092 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10094 * lyx_cb.C: another bv->text misuse, from insert label
10096 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10099 * kbsequence.C: re-instate nmodifier mask
10101 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10103 * lyx_main.h: make lyxGUI private.
10105 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10107 * lyxfind.C: place the cursor correctly on failed search
10109 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10111 * text.C (getLengthMarkerHeight): for small heights, the arrows
10112 are not always on top/bottom of the text
10113 (drawLengthMarker): smaller arrows; take the left margin in
10114 account; draw also vfills.
10116 (paintLastRow): remove special code for vfill and standard spaces,
10117 since everything is handled in drawLengthMarker now.
10119 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10121 * buffer.C (insertErtContents): try to handle font and language
10122 interaction a bit better.g
10124 * ColorHandler.C (updateColor): change the hash to cover the whole
10125 LColor enum, ws cleanup
10126 (getGCLinepars): ditto
10127 (getGCLinepars): only lookup in the linecache once.
10129 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10131 * iterators.C (operator++): Make the iterator more robust
10133 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10135 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10137 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10140 * text.C: better added space drawing
10142 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10145 * BufferView2.C: fix layout combo update on inset unlock
10147 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10149 * Makefile.am: don't compile unused files
10151 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10155 * LyXAction.C: remove old LFUN_LAYOUTNO
10157 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10159 * paragraph_pimpl.h:
10160 * paragraph_pimpl.C: isTextAt() doesn't need font param
10162 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10165 * lyxlex.C: little cleanup
10167 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10169 * BufferView_pimpl.C: fix insertAscii for insets
10171 2001-12-05 Juergen Vigna <jug@sad.it>
10173 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10174 set the right font on the "multi" paragraph paste!
10176 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10182 * lyxlength.C: remove out-commented code.
10184 * BufferView_pimpl:
10198 * vc-backend.C: change "while(" to "while ("
10200 * lyxlength.[Ch]: add zero function to check if length is zero or
10202 * lyxgluelength.C: use it
10204 2001-12-05 Allan Rae <rae@lyx.org>
10206 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10207 Works for 2.95.3, from what I understand of Garst's reports this should
10208 work for other g++ versions. We're screwed if the abs(int) definition
10209 changed between bugfix releases of gcc.
10211 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10213 * text.C: fix chapter label offset !
10215 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10218 * text.C: fix hfill at end of line, clean up
10220 2001-12-04 Juergen Vigna <jug@sad.it>
10222 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10223 that we force an update of the inset and it's owners if neccessary.
10225 2001-12-03 Juergen Vigna <jug@sad.it>
10227 * text.C (rowLast): simplified code
10229 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10231 * lyxfunc.C: fix show options on timeout
10233 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10235 * screen.C (topCursorVisible): scroll half a page when the cursor
10236 reached top of bottom of screen
10238 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10240 * minibuffer.C: deactivate on loss of focus
10242 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10244 * vspace.[Ch] (operator!=): add operator.
10246 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10248 * BufferView_pimpl.C: refuse to open an inset when
10249 there's a selection.
10251 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10253 * BufferView_pimpl.C: allow to click on RHS of full row insets
10255 2001-11-30 Juergen Vigna <jug@sad.it>
10257 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10258 insets for undo reasons.
10260 2001-11-28 André Pönitz <poenitz@gmx.net>
10262 * vspace.[Ch]: cosmetical changes
10264 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10274 * kbsequence.C: part re-write of old kb code
10277 * WorkArea.C: remove Lgb_bug_find_hack
10279 2001-11-30 José Matos <jamatos@fep.up.pt>
10281 * buffer.C (makeDocBookFile): add a comment to point a hack.
10282 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10283 Fixed a double write of labels.
10285 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10288 * LaTeX.h Fixed bug in LaTeX class where it would not
10289 re-run latex if no depfiles were changed, but the .dvi was removed.
10291 2001-11-28 André Pönitz <poenitz@gmx.net>
10293 * all the files from the change on 2001/11/26:
10294 use lyx::layout_type instead of LyXTextClass::size_type
10295 use lyx::textclass_type instead of LyXTextClassList::size_type
10297 2001-11-29 Juergen Vigna <jug@sad.it>
10299 * text.C: added support for paragraph::isFreeSpacing()
10301 * buffer.C: same as above
10303 * paragraph.h: inserted isFreeSpacing() function to enable
10304 FreeSpacing inside InsetERT.
10306 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10307 of the paragraph's in the cut/copy buffer to 0!
10309 * text2.C (removeRow): remove the assert as it can!
10311 * lyxtext.h: added helper function firstRow returning firstrow and
10312 made firstrow private again.
10314 * BufferView2.C (lockInset): don't relock if we're already locked!
10316 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10317 the only paragraph.
10318 (removeRow): added Assert::(firstrow)
10320 * debug.C: forgot to add INSETTEXT here.
10322 2001-11-28 Juergen Vigna <jug@sad.it>
10324 * sp_spell.C (initialize): changed error text to more general
10325 spellchecker command use (not only ispell!)
10327 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10329 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10331 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10333 * vspace.C: initialise lyxgluelength on failure
10335 2001-11-28 Allan Rae <rae@lyx.org>
10337 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10338 declaration & definition that looks like a function declaration.
10340 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10342 * BufferView2.C (copy):
10343 (copyEnvironment): do not clear the selection when doing a copy.
10345 * text.C (paintFirstRow): compilation fix
10347 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10349 * tabular.C (Latex): correct line count when writing latex.
10351 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10353 * paragraph_pimpl.h:
10354 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10357 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10361 * LColor.C: change vfillline->added_space
10363 * text.C: add markers and text for added space
10365 * vspace.C: fix comment
10367 2001-11-28 André Pönitz <poenitz@gmx.net>
10369 * paragraph.C: whitespace changes
10370 * all the other files from the change on 2001/11/26:
10371 change *::pos_type into lyx::pos_type
10373 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10375 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10376 language of the document when inserting error insets.
10378 2001-11-26 André Pönitz <poenitz@gmx.net>
10380 * BufferView_pimpl.[Ch]:
10388 * paragraph_pimpl.[Ch]:
10391 * text2.C: reduce header dependencies, introduce type for positions
10393 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10395 * <various>: change to use Alert.h
10397 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10399 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10400 when encountering an unknown token.
10401 (readLyXformat2): Show an error message if there were unknown tokens.
10403 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10406 * BufferView_pimpl.C:
10410 * text2.C: use par->isInset()
10412 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10414 * paragraph_pimpl.h:
10415 * paragraph_pimpl.C: cleanup
10417 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10419 * text2.C (removeRow):
10420 * text.C (setHeightOfRow): remove useless (and costly) call to
10423 2001-11-20 Allan Rae <rae@lyx.org>
10425 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10426 Now need Inset*::checkInsertChar() to return true for appropriate
10427 cases so that the characters in the minibuffer will actually be
10430 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10432 * text.C: change the order of the includes.
10433 (workWidth): initialize it at once.
10434 (workWidth): make maxw unsigned
10435 (setHeightOfRow): remove unused variable (inset)
10436 (selectSelectedWord): remove unused variable (inset)
10437 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10439 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10441 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10442 server is not running.
10444 (closeConnection): add debug info when server is disabled.
10446 * ColorHandler.C (getGCForeground): send debug message to GUI
10449 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10451 * kbmap.C (bind): modify because return conventions of
10452 kb_sequence::parse have changed.
10454 * kbsequence.C (parse): only ignore spaces and not any stupid
10455 control character. This avoids tests like s[i] <= ' ', which are
10456 guaranteed to fail with 8bit characters and signed chars.
10457 Change return code to string::npos when there have been no error
10458 (0 was a bad idea when error is at first character)
10460 2001-11-14 José Matos <jamatos@fep.up.pt>
10463 * buffer.C (simpleDocBookOnePar): removed unused argument.
10465 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10467 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10468 insets which are part of a word. Paragraph::isLetter takes care of
10469 that now. Use Paragraph::isInset to identify insets.
10470 (selectSelectedWord): do not test for hyphenation break.
10472 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10473 that protected spaces are considered as spaces.
10475 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10478 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10481 * lyxserver.C: fix it. and small cleanup.
10483 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10485 * BufferView_pimpl.C: use inline helpers
10488 * LaTeXFeatures.C: fix typos
10491 * Spacing.C: move spacing_string into class
10493 * ToolbarDefaults.C: move stuff into namespace anon
10495 * layout.h: update enum
10497 * lyxfunc.C: use better debug
10499 * minibuffer.h: fix typo
10503 * WorkArea.C: add and use Debug::WORKAREA
10507 * text2.C: code re-organisation, inline helpers
10509 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10511 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10512 std::vector.empty().
10514 2001-11-09 Allan Rae <rae@lyx.org>
10516 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10517 '\n's after tables. Tabular and ERT inset work now makes this no
10520 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10523 * minibuffer.C: fix crash, improve drop-down completion
10525 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10528 * lyxserver.C: invalidate fd's when doing endPipe()
10530 2001-11-08 José Matos <jamatos@fep.up.pt>
10532 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10533 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10536 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10538 2001-11-07 José Matos <jamatos@fep.up.pt>
10541 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10544 * buffer.C (sgmlOpenTag):
10545 * buffer.C (sgmlCloseTag): removed debug info.
10547 * buffer.h (sgmlOpenTag):
10548 * buffer.h (sgmlCloseTag): made public.
10550 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10552 * buffer.C (saveParamsAsDefaults):
10553 * lyx_cb.C (MenuLayoutSave): remove
10555 * LyXAction.C (init):
10557 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10559 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10561 * buffer.C (setPaperStuff): removed from here...
10563 * bufferparams.C (setPaperStuff): ... and moved there.
10565 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10569 * XFormsView.C: add support for drop-down completion
10571 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10573 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10576 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10578 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10581 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10583 * lyx_main.C: change ref to known bugs
10585 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10587 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10588 to work around older babel problems.
10590 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10592 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10594 2001-10-24 Juergen Vigna <jug@sad.it>
10596 * tabular-old.C (ReadOld): below variable changes reflected.
10598 * tabular.[Ch]: added ltType struct for longtable header/footer
10599 defines and changed all instances where they are used. Added
10600 future support for double top/bottom rows.
10602 2001-10-24 José Matos <jamatos@fep.up.pt>
10604 * buffer.h (docbookHandleCaption):
10605 * buffer.C (docbookHandleCaption): removed unused function.
10606 (makeDocBookFile): moved docbook supported version to v4.1.
10608 2001-10-24 José Matos <jamatos@fep.up.pt>
10611 * tabular.C (docbookRow): new function to export docbook code of a row.
10612 (DocBook): now honors the longtable flags.
10614 2001-10-23 José Matos <jamatos@fep.up.pt>
10617 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10618 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10620 * buffer.C (makeLinuxDocFile):
10621 (makeDocBookFile): reworked the preamble, more clean, and with
10622 support for lyx defined entities. Changed the document declaration
10623 to be more XML friendly.
10625 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10626 if we need to output XML that should be done with a filter.
10628 2001-10-22 Juergen Vigna <jug@sad.it>
10630 * sp_pspell.h (class PSpell): add alive function needed in the
10631 controller to see if the spellchecker could be started.
10633 2001-10-22 Juergen Vigna <jug@sad.it>
10635 * buffer.C (insertStringAsLines): modify the font for inserting
10636 chars in certain conditions by calling checkInsertChar(font).
10638 2001-10-19 Juergen Vigna <jug@sad.it>
10640 * text.C (workWidth): use getRow instead of wrong algorithm.
10641 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10643 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10648 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10650 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10652 * text.C (workWidth): do not search for the exact row when
10653 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10654 optimization for big documents.
10656 2001-10-18 Juergen Vigna <jug@sad.it>
10658 * text.C (workWidth): new function with added Inset * parameter.
10660 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10662 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10664 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10665 change return type of getColumnNearX.
10668 * text.C (changeRegionCase): use uppercase/lowercase instead of
10671 (rightMargin): simplify code by factoring out the uses of
10676 (appendParagraph): use Paragraph::size_type
10678 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10680 * vspace.C (asLatexString): add a missing break
10682 2001-10-15 Herbert Voss <voss@perce.de>
10684 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10686 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10688 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10691 2001-10-10 André Pönitz <poenitz@gmx.net>
10693 * lyxfunc.C: removed greek_kb_flag.
10695 2001-10-10 Herbert Voss <voss@perce.de>
10697 * lyx_main.C: delete global string help_lyxdir.
10699 2001-10-09 Herbert Voss <voss@perce.de>
10701 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10703 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10705 * lyx_main.C: added global string help_lyxdir.
10707 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10709 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10711 * lyxrc.C (set_font_norm_type): support iso8859-4
10713 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10715 * LaTeX.C (deplog): add another regex for MikTeX
10717 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10719 * lyxrc.C (set_font_norm_type): support iso8859-3
10721 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10723 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10725 * LaTeXFeatures.C: remove special case of french and index
10727 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10728 before \begin{document}). This solves several incompatibilities.
10730 2001-10-03 Garst Reese <reese@isn.net>
10732 * lyx_cb.C: change CheckTex error msg.
10734 2001-10-03 José Matos <jamatos@fep.up.pt>
10736 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10738 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10740 * .cvsignore: update
10742 * lyx_main.C (commandLineVersionInfo): use new style version info.
10744 * buffer.C (writeFile):
10746 (makeLinuxDocFile):
10747 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10749 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10751 * version.h: update to use stuff in version.C
10753 * version.C.in: new file. Contains version information determined
10754 at compile time. This is a merging of version.h and
10757 2001-10-03 Juergen Vigna <jug@sad.it>
10759 * BufferView_pimpl.C (update): don't change "dirty" status in
10762 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10764 * WorkArea.C (c-tor): re-position version string slightly.
10766 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10768 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10769 revert to previous code.
10771 WorkArea.[Ch]: (show, destroySplash): methods removed.
10773 WorkArea.C: rework code so that it's an amalgam of the codes before and
10774 after the splash screen was moved to WorkArea.
10776 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10779 * vspace.C (inPixels):
10782 * buffer.C (insertStringAsLines):
10783 (asciiParagraph): fix types to be large enough
10785 * lyxlex_pimpl.h: change member status from short to int
10787 * layout.h: fix type of endlabeltype
10790 * kbsequence.C (parse): change return type to string::size_type
10792 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10795 * Bullet.C (bulletSize):
10796 (bulletEntry): do not use short ints as parameters
10798 * BufferView2.C (insertLyXFile): change a char to an int.
10800 * WorkArea.C (WorkArea): remove unneeded floats in computation
10802 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10804 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10806 * paragraph.C (asString): Do not ignore newline/hfill chars when
10807 copying to the clipboard.
10809 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10811 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10812 after a multi-line inset.
10814 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10816 * paragraph.C (validate): Set NeedLyXFootnoteCode
10818 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10820 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10821 and decrease-error to decrease.
10823 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10825 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10826 it more readable (should be equivalent)
10828 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10830 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10832 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10834 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10835 of a cursor (row, etc.) after a character has been deleted
10836 (deleteEmptyParagraphMechanism): call the method above on _all_
10837 cursors held by the LyXText when a double space has been
10840 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10842 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10844 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10846 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10847 background. Use greyOut() and the new show() methods to toggle between
10848 the foreground and background. Add code to remove the splash after
10849 its initial showing.
10851 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10852 (create_forms): no longer call Dialogs::showSplash.
10854 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10856 * .cvsignore: add version_info.h
10858 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10860 * version_info.h.in: new file
10862 * Makefile.am: add version_info.h.in
10864 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10865 version_info.h instead of VERSION_INFO
10867 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10869 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10870 The ERT inset now returns string().
10872 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10874 * lyxtext.h, text.C (selectNextWord): renamed as
10875 selectNextWordToSpellcheck.
10877 * text.C (selectNextWordToSpellcheck): Modified to not select
10878 words inside an ERT inset.
10880 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10882 * lyx_cb.C (MenuLayoutSave): change a bit the question
10884 * sp_base.h: include <sys/types.h>
10886 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10888 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10890 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10892 * several files: fix typos in user-visible strings
10894 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10896 * text2.C (pasteSelection): do not set the selection, since it
10897 will be cleared later. Actually, the intent was to fix the way the
10898 selection was set, but I figured rmoving the code was just as good.
10900 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10902 * FontLoader.C (available): Check if font is available without
10905 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10907 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10909 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10911 * lyxrc.[Ch]: added display_graphics variable and associated code.
10913 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10915 * bufferparams.C (hasClassDefaults): new method. Returns true if
10916 the buffer parameters correspond to known class defaults
10918 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10920 * XFormsView.C (show): set minimum size to the main window.
10922 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10924 * text2.C (copySelection):
10926 * lyxfind.C (LyXReplace):
10927 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10928 LyXText::selectionAsString.
10930 * paragraph.C (asString): add "label" argument to the second form
10932 * text2.C (selectionAsString): add "label" argument and pass it to
10933 Paragraph::asString.
10935 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10937 * lyx_main.C (commandLineHelp): remove version information
10939 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10941 * lyx_main.C: add -version commandline option
10943 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10945 * paragraph.h: make the optional constructor arg required instead.
10946 some modifications to other files because of this.
10948 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10950 * lyxserver.C (C_LyXComm_callback): make it static
10952 * lyx_main.C (error_handler): make it static
10954 * lyx_gui.C (LyX_XErrHandler): make it static
10956 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10958 * WorkArea.C: make the extern "C" methods static.
10960 * Makefile.am (lyx_LDADD): simplify
10962 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10964 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10965 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10967 * LyXAction.C (init):
10968 * lyxfunc.C (dispatch): associated code removal.
10970 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10972 * lyxfont.h (isSymbolFont): shut off warning
10974 * text.C (setHeightOfRow):
10975 (getVisibleRow): fix crash with empty paragraphs which have a
10978 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10980 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10983 2001-09-04 José Matos <jamatos@fep.up.pt>
10986 * tabular.C (docbook): rename docBook method to docbook.
10988 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10990 * Makefile.am: add dependencies to main.o.
10992 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10994 * FontLoader.C (available): Return false if !lyxrc.use_gui
10996 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10998 * FontInfo.C (query):
10999 * converter.C (view):
11000 * importer.C (Import):
11001 * exporter.C (Export): Can not -> cannot.
11003 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11005 * BufferView_pimpl.C: allow to create index inset even if
11008 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11010 * buffer.C (getLists): replace boost::tie code with an explicit pair
11011 as boost::tie can break some compilers.
11013 * iterators.h: Added a std:: declaration to the return type of
11016 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11018 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11021 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11023 * iterators.[Ch]: New files. Provide paragraph iterators.
11025 * buffer.C (changeLanguage): Use paragraph iterators.
11026 (isMultiLingual): ditto
11028 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11030 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11032 * FontLoader.C: Support for cmr font.
11034 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11036 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11037 (available): New method.
11039 * FontInfo.C (getFontname): Use scalable fonts even when
11040 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11043 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11045 * converter.C (Formats::view): reverted! Incorrect fix.
11047 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11049 * converter.C (Formats::view): only output the -paper option
11050 if the dvi viewer is xdvi, thereby fixing bug #233429.
11052 2001-08-23 Herbert Voss <voss@perce>
11054 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11056 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11058 * Spacing.h (Spacing): Set space to Default on in the default
11061 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11063 * vc-backend.h (RCS::versionString): add RCS to version
11064 (CVS::versionString): add CVS to version
11066 * vc-backend.C (scanMaster): do not add CVS to version.
11067 (scanMaster): do not add RCS to version
11069 * lyxvc.C (versionString): new method
11071 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11073 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11075 * Spacing.C (set): initialize fval
11077 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11079 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11082 2001-08-16 Juergen Vigna <jug@sad.it>
11084 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11086 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11088 * BufferView_pimpl.C:
11091 * text2.C: setParagraph takes linespacing now
11093 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11095 * LyxAction.C: add internal LFUN_CITATION_INSERT
11097 * LyXView.C: actually apply fix
11099 * bufferlist.C: fix open non-existent file
11101 * lyxfind.C: fix indentation
11103 * lyxfunc.C: remove unneeded assert, fix typo
11105 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11107 * MenuBackend.C: use "Floatname List"
11109 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11111 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11112 when converting LaTeX layout to insetERT.
11113 Generate a non-collapsed float when reading old float
11115 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11117 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11120 2001-08-13 Juergen Vigna <jug@sad.it>
11122 * text.C (fill): return 0 instead of 20 as this seems to be the more
11125 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11127 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11130 2001-08-13 Juergen Vigna <jug@sad.it>
11132 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11134 (SearchBackward): comment out the unlocking of the inset_owner this
11135 should not be needed!
11137 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11139 * Many files: Remove inherit_language, and add latex_language
11141 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11142 collapsible insets.
11144 2001-08-10 Juergen Vigna <jug@sad.it>
11146 * text.C (prepareToPrint): fixed hfill-width in draw!
11148 * BufferView2.C (selectLastWord): save the selection cursor as this
11149 now is cleared in the function LyXText::clearSelection!
11151 2001-08-08 Juergen Vigna <jug@sad.it>
11153 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11154 BACKSPACE type functions.
11156 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11157 is only cutted from the document but not put in the cut-buffer, where
11158 still the old stuff should be.
11160 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11162 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11164 * tabular.C (SetWidthOfCell): fixed special case where the width
11166 (LeftLine): handle '|' in align_special.
11168 (LeftAlreadyDrawed): ditto
11169 (SetWidthOfCell): ditto
11171 2001-08-07 Juergen Vigna <jug@sad.it>
11173 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11175 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11177 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11178 * lyxlex.[hC]: ditto
11180 2001-08-06 Juergen Vigna <jug@sad.it>
11182 * text.C (getVisibleRow): fix up row clearing a bit.
11184 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11186 * minibuffer.C: make sure the X server sees the changes in the input.
11188 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11190 * paragraph.C (getFont): split into...
11191 (getLabelFont): this
11192 (getLayoutFont): and this
11193 * paragraph_pimpl.C (realizeFont): calling this
11195 * text2.C (getFont): split into...
11196 (getLayoutFont): this
11197 (getLabelFont): and this
11198 (realizeFont): all three calling this
11200 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11203 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11205 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11207 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11209 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11210 layouts from the Quote inset insertion.
11212 2001-08-03 Juergen Vigna <jug@sad.it>
11214 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11216 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11217 only if status not is already CHANGED_IN_DRAW (second level).
11219 * text.C (draw): don't set the need_break_row when inside an
11222 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11224 * buffer.C (parseSingleLyXformat2Token): handle more latex
11227 * bufferview_funcs.[hC]: change function names to
11228 begin with small char, adjust other files.
11230 2001-08-02 André Pönitz <poenitz@gmx.net>
11233 BufferView_pimpl.C: remove broken special code for math-greek
11235 2001-08-02 Juergen Vigna <jug@sad.it>
11237 * BufferView_pimpl.C (update): redone this function so that we
11238 update the text again if there was a CHANGE_IN_DRAW.
11240 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11241 (drawFromTo): added a new internal bool which is used by draw() and
11243 (general): some cursor drawing problems fixed.
11245 2001-08-01 Juergen Vigna <jug@sad.it>
11247 * lyxfind.C (LyXFind): fixed
11248 (SearchForward): ditto
11249 (SearchBackward): ditto
11251 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11252 spurius drawing of the cursor in the main area.
11254 * text2.C (status): small fix which could lead to a segfault!
11255 (clearSelection): remove unneeded BufferView param.
11257 2001-08-01 André Pönitz <poenitz@gmx.net>
11259 * lyxfunc.C: small change due to changed mathed interface
11261 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11263 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11265 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11267 * lyxfunc.c: fail gracefully if file doesn't exist
11272 * BufferView_pimpl.C: IsDirWriteable() proto changed
11274 * LyXView.C: fix updateWindowTitle() to store the last title
11276 2001-07-31 Juergen Vigna <jug@sad.it>
11278 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11279 the font (wrong since using of Paragraph::highestFontInRange).
11281 * paragraph.C (highestFontInRange): added a default_size parameter.
11283 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11284 (setHeightOfRow): reformat
11286 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11288 * converter.[hC] + affected files: move to (inital-char)lowercase
11291 * ParagraphParameters.C (ParagraphParameters): remove commented code
11293 * PainterBase.[Ch]: remove commented code
11295 * LaTeXFeatures.h: add "bool floats" for float.sty
11297 * LaTeXFeatures.C (LaTeXFeatures): init floats
11298 (require): handle float
11299 (getPackages): do it with floats
11301 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11303 * BufferView_pimpl.C (Dispatch): improve handling of
11304 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11306 * commandtags.h: #include lyxfont.h here temporarily to avoid
11309 * bufferlist.h: include LString.h here.
11311 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11313 * text2.C (getStringToIndex): new method.
11315 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11317 * *: Reduced header file dependencies all over.
11319 2001-07-30 Baruch Even <baruch@lyx.org>
11321 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11323 2001-07-29 Baruch Even <baruch@lyx.org>
11325 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11327 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11329 * ParameterStruct.h (endif): add a default constructor to make
11330 sure that all variables is initialized.
11332 * ParagraphParameters.C (ParagraphParameters): adjust
11334 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11336 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11337 index; also, check that there is something to index, and that it
11338 does not span over several paragraphs.
11339 (doubleClick): use WHOLE_WORD_STRICT for double click.
11341 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11343 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11346 2001-07-26 Baruch Even <baruch@lyx.org>
11348 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11349 an InsetFig figure, backwards compatible reading of old figure code.
11351 2001-07-27 Juergen Vigna <jug@sad.it>
11353 * text2.C: font.realize function adaption.
11355 * text.C (draw): add a warnings lyxerr text if needed.
11357 * layout.C: font.realize function adaption.
11359 * language.C: add inherit_language and implement it's handlings
11361 * bufferview_funcs.C (StyleReset): remove language parameter from
11362 font creation (should be language_inherit now).
11364 * bufferparams.C (writeFile): handle ignore_language.
11366 * paragraph.C (getFontSettings): the language has to be resolved
11367 otherwise we have problems in LyXFont!
11369 * lyxfont.C (lyxWriteChanges): added document_language parameter
11370 (update): removed unneeded language parameter
11372 * paragraph.C (validate): fixed wrong output of color-package when
11373 using interface colors for certain fonts in certain environments,
11374 which should not seen as that on the final output.
11376 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11378 * BufferView_pimpl.C:
11383 * LyXAction.C: add thesaurus support
11386 * lyxfind.C: add "once" parameter, for thesaurus, to not
11387 move to the next match
11389 2001-07-26 Juergen Vigna <jug@sad.it>
11391 * lyxfont.C (realize): honor ignore_language too!
11394 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11396 * text.C (draw): one place more for ignore_language to not draw
11399 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11401 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11403 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11405 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11406 the minipage conversion problem.
11408 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11410 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11413 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11415 * BufferView.h: don't forward declare WorkArea
11417 * BufferView.C: don't include WorkArea.h
11419 2001-07-25 André Pönitz <poenitz@gmx.net>
11423 * lyxfunc.C: new LFUN 'math-space'
11425 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11427 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11429 * text2.C (toggleInset): call open/close
11431 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11433 * lyxfunc.C (dispatch): add debug for the disabled case
11435 * font.C (buttonText): make similar to rectText
11437 * buffer.C (readInset): comment out parsing of insetlist and
11440 * PainterBase.C (rectText): small correction
11442 * BufferView_pimpl.C: comment out insettheorem and insetlist
11443 * LyXAction.C: ditto
11444 * commandtags.h: ditto
11446 2001-07-24 Juergen Vigna <jug@sad.it>
11448 * text.C (draw): honor the ignore_language.
11450 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11452 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11454 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11457 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11459 * lyxtext.h: remove unused (and unimplemented) methods
11461 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11463 * text.C (getVisibleRow): honor background color
11466 * Painter.h: remove default color argument for fillRectangle
11468 * text.C (backgroundColor): new method
11470 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11472 * text.C (getVisibleRow): adjust
11474 * font.[Ch] (rectText): new method, metrics
11475 (buttonText): new method, metrics
11477 * PainterBase.[hC]: make rectText and buttonText always draw and take
11480 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11482 * ToolbarDefaults.C (read):
11483 * MenuBackend.C (read): allow escaping in all strings
11485 * BufferView_pimpl.C (insertAndEditInset): new method.
11486 (Dispatch): use insertAndEditInset whenever appropriate.
11488 * BufferView_pimpl.C (insertNote): removed
11490 * BufferView_pimpl.C (smartQuote): new method, moved from
11491 BufferView; if an insetquote cannot be inserted, insert a '"'
11494 * BufferView2.C: remove insertCorrectQuote();
11496 * lyxfunc.C (getStatus): Add support for all remaingin
11497 inset-insert lfuns.
11499 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11501 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11502 command (necessary to pass " as parameter of self-insert.
11504 * text.C (selectWordWhenUnderCursor):
11505 (selectWord): add word_location parameter
11506 (selectWordWhenUnderCursor): same + remove special code for word
11508 (selectNextWord): use kind() to guess type of insetspecialchar,
11511 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11512 (insertErtContents): create ert insets as collapsed.
11513 (readInset): better compatibility code for Info inset.
11515 2001-07-20 Juergen Vigna <jug@sad.it>
11517 * lyxfunc.C (dispatch): use always LyXFind now!
11519 * text2.C (init): add a reinit flag so that the LyXText can be
11520 reinited instead of deleted and reallocated (used in InsetText).
11522 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11528 2001-07-18 Juergen Vigna <jug@sad.it>
11530 * text.C (selectNextWord): handle insets inside inset by calling
11531 always the bv->text functions so that we can go up the_locking_inset!
11533 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11534 in strange locations when inside an inset!
11536 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11537 handling to include insets.
11539 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11541 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11543 * LyXAction.C (init):
11545 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11546 LIGATURE_BREAK, since the name is so stupid.
11548 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11550 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11553 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11555 * sp_form.[Ch]: remove.
11557 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11559 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11562 * src/buffer.C (readInset): ditto.
11564 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11566 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11567 menuSeparator(), endOfSentenceDot(), ldots() and
11568 hyphenationPoint(), which are therefore removed.
11569 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11571 * LyXAction.C (init):
11572 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11574 * paragraph.C (getWord): removed.
11576 * BufferView_pimpl.C (Dispatch): use last word or selection for
11577 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11579 * lyx_main.C (queryUserLyXDir): do not ask before creating
11580 user_dir, except if it has been named explicitely.
11582 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11584 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11585 a document of zero size.
11587 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11589 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11590 approriately in the c-tor and in require().
11591 (getPackages): output the appropriate LaTeX for natbib support.
11593 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11594 variables "use_natbib" and "use_numerical_citations" when reading the
11596 (readInset): read the various natbib cite commands.
11597 (validate): white-space change.
11599 * bufferparams.[Ch]: new variables "bool use_natbib" and
11600 "bool use_numerical_citations".
11601 (writeFile): output them in the LyX file.
11603 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11605 * lyxfunc.C (getStatus): add support for all the inset insertion
11608 * text2.C (insertInset):
11609 * paragraph.C (insetAllowed):
11610 * BufferView_pimpl.C (insertInset): update to take in account the
11611 renaming of insertInsetAllowed
11613 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11615 * text2.C (getInset): new method. returns inset at cursor position.
11617 * BufferView_pimpl.C (Dispatch): changes because of this.
11619 * LyXAction.C (init): rename open-stuff to inset-toggle.
11621 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11623 * text2.C (toggleInset): renamed from openStuff; use
11626 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11628 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11630 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11632 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11634 * buffer.C (readLyXformat2): Add filename to the error dialog
11636 2001-07-18 Juergen Vigna <jug@sad.it>
11638 * tabular.C (GetCellNumber): put an assert here instead of the check!
11640 2001-07-17 Juergen Vigna <jug@sad.it>
11642 * BufferView_pimpl.C (toggleSelection): adapted too.
11644 * text.C (selectNextWord): adapted for use with insets.
11645 (selectSelectedWord): ditto
11647 2001-07-17 Juergen Vigna <jug@sad.it>
11649 * sp_spell.C (PSpell): fix initialitation order.
11651 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11653 * paragraph.C: spacing
11655 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11657 * sp_spell.C: repair language selection for pspell
11659 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11661 * lyxfunc.h: change more methods to begin with lower char.
11663 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11665 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11666 for unknown layouts.
11668 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11670 * buffer.C (readLyXformat2): Generate an error dialog if there are
11673 2001-07-16 Juergen Vigna <jug@sad.it>
11675 * sp_spell.C: always compile ISpell part.
11677 * lyxrc.C: added use_pspell entry and it's handling.
11679 2001-07-13 Juergen Vigna <jug@sad.it>
11681 * sp_spell.C: removed double includes.
11683 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11685 Consistent use of Lsstream.h:
11686 * Lsstream.h: added using std::stringstream for consistencies sake.
11688 * buffer.C: removed using std::stringstream
11690 * lyxfont.C (stateText):
11691 * paragraph.C (asString):
11692 * text.C (selectNextWord, selectSelectedWord):
11693 * text2.C (setCounter):
11694 * vspace.C (asString, asLatexString):
11695 std::ostringstream -> ostringstream.
11697 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11699 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11700 * commandtags.h: add LFUN_HELP_ABOUTLYX
11701 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11703 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11705 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11707 * lyx_gui_misc.C: remove spellchecker
11708 * lyxfunc.C: showSpellchecker
11710 * sp_ispell.h: added
11711 * sp_pspell.h: added
11712 * sp_spell.C: added
11713 * sp_form.[Ch]: removed
11714 * spellchecker.[Ch]: removed
11716 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11718 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11720 (simpleTeXSpecialChars): Simply print the input character without
11721 any special translation if pass_thru is set.
11723 * layout.h: Added bool pass_thru to layout class for being able to
11724 implement pass through of a paragraph for Literate Programming.
11726 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11727 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11728 * layout.C (Read): add "passthru" to list of layout tags and add
11729 code to set the pass_thru boolean when it is read.
11731 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11733 * trans_decl.h: remove allowed from KmodInfo
11735 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11736 remove allowed code
11739 * paragraph_pimpl.C (erase): use boost::prior
11741 * Painter.C (text): use data() instead of c_str() when length is
11743 * WorkArea.C (putClipboard): ditto
11744 * font.h (width): ditto
11746 * BufferView2.C: use it-> instead of (*it). for iterators
11748 * paragraph_pimpl.C: ditto
11749 * paragraph.C: ditto
11750 * minibuffer.C: ditto
11751 * language.C: ditto
11753 * encoding.C: ditto
11754 * counters.C: ditto
11755 * converter.C: ditto
11757 * Variables.C: ditto
11758 * TextCache.C: ditto
11759 * MenuBackend.C: ditto
11760 * LyXAction.C: ditto
11762 * FloatList.C: ditto
11763 * DepTable.C: ditto
11764 * ColorHandler.C (LyXColorHandler): ditto
11766 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11768 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11770 * text2.C (openStuff): reintroduce this method (which had been
11771 nuked in NEW_INSETS frenzy).
11773 * lyxfunc.C (Dispatch): when an action has not been handled, use
11774 its name in the error message, not its number.
11776 * paragraph.C (inInset): change method name to begin with lowercase.
11779 * text2.C: updates because of this.
11781 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11783 * ToolbarDefaults.C (add): add spaces in error message
11785 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11787 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11788 (readLyXformat2): rename return_par to first_par, use lyxlex's
11789 pushToken and remove the manual push handling.
11790 (parseSingleLyXformat2Token): add another ert comp. variable:
11791 in_tabular, rename return_par to first_par. handle newlines better
11793 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11795 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11797 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11799 * text2.C (getParFromID): removed
11801 * buffer.C (getParFromID): new method moved form lyxtext.
11802 * BufferView2.C (insertErrors): adjust
11803 (setCursorFromRow): adjust
11804 * BufferView_pimpl.C (restorePosition): adjust
11805 * lyxfunc.C (Dispatch): adjust
11806 * undo_funcs.C (textUndo): adjust
11808 (textHandleUndo): adjust
11809 (textHandleUndo): adjust
11811 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11813 * buffer.C: up' the LYX_FORMAT
11815 * lyxfont.h: turn NO_LATEX on as default
11817 * buffer.C (insertErtContents): new methods of tex style compability.
11818 (parseSingleLyXformat2Token): use it several places.
11819 * tabular.C (OldFormatRead): and here
11821 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11823 * text2.C: remove some commented code.
11826 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11827 * trans.C: changes because of the above.
11829 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11831 * text2.C (setCounter): Fix counters bug with bibliography layout.
11833 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11835 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11836 own member functions
11837 (simpleTeXSpecialChars): ditto
11839 2001-07-06 Juergen Vigna <jug@sad.it>
11841 * a lot of files: changed the access to LyXText::status and the
11842 call of undo-functions.
11844 * undo.[Ch]: added a inset_id to the undo informations.
11846 * undo_funcs.[Ch]: added and moved here all undo functions.
11848 * lyxtext.h: give the status enum a weight, made status_ a private
11849 variable and made accessor functions for it, removed the whole bunch
11850 of undo-functions as they are now in their own file, make some
11851 functions publically available. Added function ownerParagraph with
11854 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11855 made InInset() a const function, added getParFromID() function.
11857 * buffer.[Ch]: added const version for inset_iterator functions,
11858 added getInsetFromID() function.
11860 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11861 changed undo functions for new version.
11863 2001-07-05 Juergen Vigna <jug@sad.it>
11865 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11866 unknow mechanism does not call the proper constructor but only this
11867 one also if I request the other!?
11869 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11871 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11873 * text2.C (LyXText): use initialization lists.
11875 * lyxtext.h (Selection): initialize set_ and mark_
11876 (init): remove method
11878 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11880 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11882 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11884 * screen.[Ch]: change method names to begin with lowercase
11886 * BufferView_pimpl.C (updateScrollbar): simplify further and
11887 hopefully make it a bit faster.
11889 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11891 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11892 calling directly xforms functions.
11894 * Painter.C (Painter):
11895 * lyx_cb.C (MenuWrite):
11896 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11899 * lyx_gui.C: remove bogus guiruntime extern declaration.
11901 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11903 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11905 (redoDrawingOfParagraph): ditto
11906 (redoParagraphs): ditto
11907 (cutSelection): don't create a object for CutAndPaste use the
11908 static method directly
11909 (pasteSelection): ditto
11911 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11914 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11916 * modifications to some other files because of this.
11918 * Makefile.am (lyx_SOURCES): add XFormsView
11920 * XFormsView.[Ch]: new files
11922 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11923 the main window. Move the gui dependent stuff to XFormsView
11925 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11927 * tabular.C (GetCellInset): update cur_cell also in the row/col
11928 version of this function.
11930 * lyxfunc.C: no need to include figure_form.h here.
11936 * lyxvc.C: no need to include forms.h here.
11938 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11940 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11942 * lyxfunc.C (Dispatch):
11944 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11945 constructor argument.
11947 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11949 * paragraph.C (Paragraph): dont't clear, and just set layout.
11950 (makeSameLayout): use params's copy contructor.
11952 * ParagraphParameters.[Ch] (makeSame): delete method
11954 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11956 * Variables.[Ch]: fix indentation, rename set to isSet
11958 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11960 * lyxfunc.C (Dispatch): fix typo
11962 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11964 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11967 * bufferlist.C: include assert.h for emergencyWrite().
11969 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11971 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11972 give up at last (bug #425202) !
11974 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11980 * spellchecker.C: strip spellchecker options and bring up
11981 preferences tab instead
11983 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11985 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11986 the istringstream constructor
11988 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11990 * paragraph.C (getLayout): fix return value
11992 * paragraph.h: do not declare getLayout as inline.
11994 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11996 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11998 * lyxcursor.h (operator<): new func
11999 (operator>): new func
12000 (operator>=): new func
12001 (operator<=): new func
12003 * text.C (changeCase): use selection.start and selection.end
12004 (changeRegionCase): require from to be <= to. Require par to be a
12007 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12009 2001-06-27 Juergen Vigna <jug@sad.it>
12011 * text.C (cursorLeftOneWord): changed to return the cursor and added
12012 overlay with BufferView * parameter which calls this one.
12014 (selectWord): use new getWord function.
12015 (changeCase): renamed from changeWordCase as and extended to work
12016 also on selections.
12018 * lyxtext.h: added enum word_location
12020 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12021 changeCase as this operates now also on selections.
12023 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12025 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12027 * many files: send debug output to Debug::INFO instead of
12030 * converter.C (View):
12032 (Move): send debug output to Debug::FILES instead of console.
12034 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12036 * lyxfunc.C (getStatus): use func_status
12038 * func_status.h: new header, describing the results of
12039 LyXFunc::getStatus;
12041 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12044 2001-06-25 The LyX Project <jug@sad.it>
12046 * buffer.C (sgmlOpenTag):
12048 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12050 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12052 * text2.C: remove some dead code
12054 * tabular.C (GetCellInset): store the last cell checked (gotten)
12056 * tabular.h: add the helper for the speedup
12058 * lyxtext.h: remove some dead code
12060 2001-06-26 The LyX Project <Asger>
12062 * paragraph.C: Change export to LaTeX of alignment to
12063 \begin{center} and family for better roundtrip work with reLyX.
12065 * Tune the math drawing a bit.
12067 2001-06-25 The LyX Project <Asger>
12069 * LColor.C (LColor): New color for math background. New color
12072 2001-06-25 The LyX Project <jug@sad.it>
12074 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12076 * lyxfunc.C (Open):
12077 * bufferlist.C (newFile): do not restrict to files ending with
12080 * BufferView_pimpl.C (MenuInsertLyXFile):
12082 2001-06-24 The LyX Project <jug@sad.it>
12084 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12087 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12089 * lyxtext.h: rename most methods to begin with a small char.
12090 Lots of changes because of this.
12092 * paragraph.C (Paragraph): do not call fitToSize
12093 (erase): call Pimpl::erase
12094 (insertChar): call Pimpl::insertChar
12095 (insertInset): call Pipl::insertInset
12096 (breakParagraph): do not call fitToSize
12097 (breakParagraphConservative): do not call fitToSize
12098 (fitToSize): remove method
12100 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12102 2001-06-24 The LyX Project <Asger>
12104 * Fix Qt compilation^2
12106 2001-06-24 The LyX Project <jug@sad.it>
12108 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12109 depthHook(getDepth()-1).
12112 * ParagraphParameters.h:
12113 * ParameterStruct.h: change type of depth to unsigned int ==
12114 depth_type. Many adaptations to other files before of that.
12116 2001-06-24 The LyX Project <Asger>
12118 * Fix Qt compilation.
12120 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12122 * paragraph.h: renamed several methods to begin with small letter.
12123 several changes to many parts of the code because of this.
12125 2001-06-23 The LyX Project <jug@sad.it>
12127 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12128 rewritten to discard all double spaces when KeepEmpty is off
12129 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12130 to only handle newlines but not fiddle with spaces and friends.
12132 * lyxfunc.C (MenuNew): when doing 'new from template', use
12133 template_path as default directory
12135 2001-06-23 The LyX Project <Asger>
12137 * Clean-up of header file includes all over
12138 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12140 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12142 * paragraph.h: renamed from lyxparagraph.h
12144 2001-06-23 Asger <lyx@violet.home.sad.it>
12146 * Buffer.h: Removed Buffer::resize
12147 * BufferList.h: Removed BufferList::resize
12148 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12149 the document lazily when we change the width, or the font settings.
12151 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12153 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12155 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12157 * buffer.h: remove out of date comment
12159 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12162 * screen.C: fix "theoretical" GC leak
12164 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12166 * LaTeX.C (scanAuxFile):
12167 (deplog): remove trailing \r when reading stream (useful under
12170 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12172 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12173 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12174 and BufferView::theLockingInset(Inset*), so should use them and not
12175 access bv_->text->the_locking_inset directly.
12177 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12179 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12182 * tex-defs.h: remove old unused file
12184 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12186 * BufferView_pimpl.C: fix typo, remove minibuffer message
12187 when buffer has loaded
12189 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12191 * lyxfunc.C (Dispatch): use stringstream
12192 (MenuNew): use stringstream
12193 (Open): use stringstream
12195 * importer.C (Import): use stringstream
12197 * bufferview_funcs.C (CurrentState): use stringstream
12199 * LaTeX.C (run): use stringstream
12201 * BufferView_pimpl.C (savePosition): use stringstream
12202 (restorePosition): use stringstream
12203 (MenuInsertLyXFile): use stringstream
12205 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12218 * vspace.C: removed // -*- C++ -*- as first line.
12221 * version.h: added // -*- C++ -*- as first line.
12223 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12225 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12227 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12230 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12232 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12235 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12237 * gettext.C: include LString.h even when --disable-nls is on.
12239 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12241 * converter.h (Get): changed argument type from int to
12242 FormatList::size_type to avoid unnecessary conversion.
12244 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12247 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12249 * gettext.h: include LString.h even when --disable-nls is on.
12251 2001-06-07 Juergen Vigna <jug@sad.it>
12253 * text.C (BreakAgain): subst spaces with tabs.
12255 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12256 (resizeInsetsLyXText): set force on resizeLyXText.
12258 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12260 * gettext.h (gettext_init):
12261 (locale_init): use a real definition instead of a macro
12263 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12265 * Bufferview_pimpl.C:
12267 * LColor.C: further lcolor tidies
12269 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12271 * BufferView_pimpl.C (updateScrollbar): simplify.
12273 * BufferView2.C: don't include insets/insetinfo.h, change
12274 prototype for insertInset and call the Pimpl version. let
12275 updateInset call Pimpl version.
12277 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12278 gotoInset to BufferView::Pimpl
12280 2001-06-01 Juergen Vigna <jug@sad.it>
12282 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12283 inside a LockingInset (is the update needed at all?).
12285 2001-05-31 Juergen Vigna <jug@sad.it>
12287 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12288 here not the old one otherwise how should we compare it afterwards
12291 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12296 * FontInfo.C: bring C functions into global namespace when
12299 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12301 * LString.h: make sure config.h has been loaded before LString.h.
12303 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12304 (one for each char read by EatLine!).
12306 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12309 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12311 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12312 to the same as the par we break from
12314 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12316 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12318 * MenuBackend.C (expand): also create menu entries for wide
12319 versions of the floats.
12321 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12323 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12325 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12326 frontends/Makefile.am
12332 * tabular.C (getTokenValue): add std::
12334 * tabular-old.C (getTokenValue): add std::
12335 (getTokenValue): ditto
12336 (getTokenValue): ditto
12338 * screen.C (ToggleSelection): adjust
12340 * lyxtext.h: put selection cursors inside a Selection struct.
12342 * lyxfunc.C (moveCursorUpdate): adjust
12344 * lyxfont.C (latexWriteStartChanges): add std::
12346 * lyxfind.C: adjust
12348 * font.h: delete with(char const *, LyXFont const &)
12350 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12352 * FontInfo.C (getFontname): add std::
12354 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12355 (workAreaButtonPress): adjust
12356 (tripleClick): adjust
12358 (moveCursorUpdate): adjust
12361 * BufferView2.C (gotoInset): adjust
12363 2001-05-30 Juergen Vigna <jug@sad.it>
12365 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12366 to check pspell I add this as default as I now have new pspell
12367 libraries and they seem to use this.
12369 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12371 * text2.C (CutSelection): make the cursor valid before the call to
12374 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12376 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12377 relied on 0 terminated strings and other horrors. Bug found due to
12378 the new assert in lyxstring!
12380 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12383 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12385 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12388 * lyxfunc.C (processKeySym): change method of getting to the
12391 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12392 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12393 * BufferView_pimpl.[Ch]: here as private methods.
12395 2001-05-28 Juergen Vigna <jug@sad.it>
12397 * text.C (SetHeightOfRow): added the update() call again as it is
12398 needed to initialize inset dimensions!
12400 2001-05-16 Juergen Vigna <jug@sad.it>
12402 * text2.C (SetCharFont): Add new function with BufferView * and
12403 bool toggleall parameters for setting insets internal fonts.
12404 (SetFont): Freeze the undo as we may change fonts in Insets and
12405 all this change should be inside only one Undo!
12407 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12408 setting font's in insets as for them we have the SetFont function!
12410 2001-05-15 Juergen Vigna <jug@sad.it>
12412 * text2.C (ClearSelection): to be sure we REALLY don't have any
12415 * tabular.C (TeXCellPreamble): fixed the left border problem for
12418 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12420 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12423 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12425 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12426 LFUN_BREAKPARAGRAPH.
12428 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12429 help test to "internal only", similar for LFUN_INSERT_URL
12431 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12432 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12433 auto_region_delete and deadkeys.
12435 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12438 * LColor.C: remove some dead entries, tidy a little
12440 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12442 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12444 (Dispatch): implement LFUN_ESCAPE
12446 * commandtags.h: add LFUN_ESCAPE
12448 * LyXAction.C (init): add entry for LFUN_ESCAPE
12450 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12451 Remove commented code.
12452 (insertNote): moved here
12453 (open_new_inset): moved here
12455 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12458 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12460 * kbmap.C (findbinding): clean it up and make it work correctly.
12462 * lyx_main.C (init): do not pass argc and argv as parameters
12464 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12466 * buffer.C: fix path for OS/2 & Win32
12470 * lyx_main.C: Added os:: class.
12472 * os2_defines.h: update
12474 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12476 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12477 better by trying again with reduced state.
12479 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12481 * lyxrc.C (read): print error about invalid key sequence only when
12482 debugging (because not all latinX keysyms are known to some X
12485 * kbsequence.C (getiso): add a few std:: qualifiers
12486 (getiso): comment out extra return statement.
12488 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12490 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12492 (Dispatch): enhance the accent inset a bit. (not perfect)
12494 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12496 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12498 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12500 * bufferlist.C (emergencyWrite): fix assert() call
12502 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12504 * text.C (InsertChar): Added trivial patch to only send the "you
12505 can not do multiple spaces this way" message once during a
12508 2001-05-08 Baruch Even <baruch@lyx.org>
12510 * Makefile.am: Changed order of libraries to get LyX to link properly
12511 with the gnome frontend.
12513 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12515 * LaTeXFeatures.h: add a std:: qualifier
12517 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12519 * paragraph.C (String): use stringstream
12521 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12523 * paragraph.C (writeFile): remove footflag arg
12525 * buffer.C (makeLaTeXFile): use stringstream
12526 (latexParagraphs): remove footnot gurba
12528 * LaTeXFeatures.C (getPackages): use stringstream
12529 (getMacros): likewise
12530 (getTClassPreamble): likewise
12531 (getFloatDefinitions): new method
12533 * paragraph.C (writeFile): reindent
12536 * WorkArea.h: revert the xpos + etc changes.
12538 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12540 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12542 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12543 (pasteSelection): likewise
12544 * text2.C (CreateUndo): likewise
12546 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12548 * minibuffer.C (peek_event): temporarily reduce the functionality
12549 of the minibuffer (to allow args on lfuns)
12551 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12552 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12554 * buffer.C (readInset): add compability reading of old float
12555 lists, add reading of new style float list.
12556 (readInset): avoid reevaluation of inscmd.getCmdName()
12557 (getLists): reindent
12559 * MenuBackend.C (MenuItem): implement parsing of
12560 md_floatlistinsert and md_floatinsert.
12561 (expand::LastFiles): move initalizaton of iterators out of loop,
12562 avoid reevaluation.
12563 (expand::Documents): introduce typdedef vector<string> Strings,
12565 (expand::ExportFormats): introduce typedef vector<Format const *>
12566 Formats, and use it.
12567 (expand): implement FloatListInsert and FloatInsert.
12569 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12570 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12571 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12573 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12575 (Dispatch::LFUN_FLOAT_LIST): implement
12577 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12579 * LaTeX.C (run): Fix problem with --export code.
12581 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12583 * BufferView.[Ch] (workarea): removed.
12584 (getClipboard) new method; wrapper for workarea()->getClipboard()
12586 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12589 * WorkArea.h (width, height, xpos, ypos): These methods all
12590 returned the dimensions of the work_area sub-area of WorkArea,
12591 resulting in a position error if the WorkArea were resized. Now
12592 return the dimensions of the entire WorkArea.
12594 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12596 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12598 * LaTeX.C (deplog): correct the syntax of regex reg1
12600 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12602 * undo.C: remove !NEW_INSETS cruft
12604 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12606 * text2.C: remove !NEW_INSETS cruft
12608 * text.C: remove !NEW_INSETS cruft
12610 * tabular.C: remove !NEW_INSETS cruft
12612 * spellchecker.C: remove !NEW_INSETS cruft
12614 * lyxtext.h: remove !NEW_INSETS cruft
12616 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12618 * lyxfunc.C: remove !NEW_INSETS cruft
12620 * lyxfind.C: remove !NEW_INSETS cruft
12622 * lyx_cb.C: remove !NEW_INSETS cruft
12624 * figureForm.C: remove !NEW_INSETS cruft
12626 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12628 * buffer.[Ch]: remove !NEW_INSETS cruft
12630 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12632 * CutAndPaste.C: remove !NEW_INSETS cruft
12634 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12636 * BufferView2.C: remove !NEW_INSETS cruft
12638 * BufferView.h: remove !NEW_INSETS cruft
12640 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12642 * Lsstream.h: include LString.h before the sstream headers to
12643 fix problem with gcc 2.95.3 and lyxstring
12645 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12647 * lyx_main.C: add using directives when needed for C functions
12648 declared in std:: namespace.
12650 2001-04-27 Juergen Vigna <jug@sad.it>
12652 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12653 (SetHeightOfRow): comment out the update call should not be needed!
12655 2001-04-13 Juergen Vigna <jug@sad.it>
12657 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12658 (LyXTabular): tried to minimize operator= operations (and realized
12659 hopfully Lars wish).
12661 2001-04-27 Juergen Vigna <jug@sad.it>
12663 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12665 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12667 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12669 * buffer.C (readInset): hack to make listof algorithm work
12671 * BufferView_pimpl.C: hack to make listof algorithm work
12673 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12675 * LyXAction.C: removed all !NEW_INSETS cruft
12676 (init): moved lfun_item in method
12678 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12680 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12682 * BufferView2.C (theLockingInset): white space.
12684 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12686 * minibuffer.C: include <iostream>
12688 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12690 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12692 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12694 * text.[Ch] (TransposeChars): new method
12696 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12698 * call message directly through LyXView instead of through LyXFunc
12699 * BufferView2.C: adjust
12700 * BufferView_pimpl.C: adjust
12701 * FontLoader.C: adjust
12703 * bufferview_funcs.C: adjust
12704 * converter.C: adjust
12705 * figureForm.C: adjust
12706 * importer.C: adjust
12708 * lyx_gui_misc.C: adjust
12709 * lyxfunc.C: adjust
12712 + more files in subdirs
12714 * lyxparagraph.h (size): move up int file
12717 * adjust all uses of Assert to lyx::Assert.
12719 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12720 lyxfunctional in namespace lyx
12721 * layout.C (hasLayout): ditto
12724 (delete_layout): ditto
12725 (NumberOfClass): ditto
12726 * converter.C (GetFormat): ditto
12731 * bufferlist.C (getFileNames): ditto
12732 (emergencyWriteAll): ditto
12735 * MenuBackend.C (hasSubmenu): ditto
12738 * BufferView_pimpl.C (getInsetByCode): ditto
12740 2001-04-18 Juergen Vigna <jug@sad.it>
12742 * vspace.C (asLatexString): fixed the 100% problem.
12744 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12746 * lyxfunc.C (Dispatch):
12748 * minibuffer.h: add a few std:: qualifiers
12750 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12752 * minibuffer.[Ch]: reimplement so that commands is initiated and
12753 run from lyxfunc, simplified som handling, and made the completion
12754 and history code for complete. wip.
12756 * lyxfunc.C (processKeySym): call message
12757 (miniDispatch): new temporary method
12758 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12759 (LFUN_MESSAGE): implement
12760 (LFUN_MESSAGE_PUSH): implement
12761 (LFUN_MESSAGE_POP): implement
12762 (initMiniBuffer): the initial/defualt minibuffer message.
12764 * lyxfont.[Ch]: inline some more getters
12766 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12768 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12770 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12771 (AutoSave): use LFUN_MESSAGE
12772 (Reconfigure): ditto
12774 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12776 * figureForm.C: use LFUN_MESSAGE
12778 * converter.C (runLaTeX): use LFUN_MESSAGE
12780 * bufferview_funcs.C: use LFUN_MESSAGE
12782 (changeDepth): ditto
12784 * bufferparams.h: use boost::
12786 * bufferlist.h: inherit privately from noncopyable
12788 * bufferlist.C (loadLyXFile): remove some commented code.
12790 * buffer.C (runChktex): use LFUN_MESSAGE
12792 * ShareContainer.h: inherit privately from noncopyable
12794 * ParagraphParameters.[hC] (depth): inline it.
12796 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12798 (message): new method
12799 (messagePush): ditto
12800 (messagePop): ditto
12801 (show): init minibuffer
12802 (showState): direct call
12804 * LaTeX.[Ch]: inherit privately from noncopyable
12805 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12806 instead of WriteStatus.
12808 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12810 * BufferView_pimpl.C (buffer): don't init minibuffer
12811 (workAreaButtonPress): use LFUN_MESSAGE
12812 (workAreaButtonRelease): ditto
12813 (savePosition): ditto
12814 (restorePosition): ditto
12815 (MenuInsertLyXFile): ditto
12816 (workAreaExpose): don't init minibuffer
12817 (update): remove commented code, simplify
12819 * BufferView2.C (openStuff): use LFUN_MESSAGE
12820 (toggleFloat): ditto
12823 (copyEnvironment): ditto
12824 (pasteEnvironment): ditto
12829 (updateInset): remove some commented code
12831 * lastfiles.h: inherit privately from noncopyable
12834 * lyx_main.h: ditto
12836 * lyxlex_pimpl.h: ditto
12838 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12839 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12840 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12842 * LyXAction.h: inherit privately from noncopyable, add methods
12843 func_begin, func_end, returning iterators to the func map.
12845 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12846 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12847 (func_begin): new method
12848 (func_end): new method
12850 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12852 (copySelection): ditto
12853 (pasteSelection): ditto
12855 * BufferView.C: whitespace change
12856 * BufferView.h: inherit privately from noncopyable
12858 2001-04-16 Allan Rae <rae@lyx.org>
12860 * tabular-old.C (l_getline):
12861 * spellchecker.C (sc_check_word):
12862 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12863 an unrecognised preprocessor directive. So ensure they're wrapped.
12865 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12867 * src/exporter.C (Export): Give an error message when path to file
12870 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12872 * LaTeX.C (deplog): Always check that foundfile exists.
12874 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12877 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12879 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12881 * tabular.[Ch] (getLabelList): implement new method
12883 * minibuffer.h: comment ouf setTiimer
12885 * minibuffer.C (ExecutingCB): constify res
12886 (peek_event): constify s
12887 (Set): constify ntext
12888 (Init): constify nicename
12890 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12892 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12893 (savePosition): use two params to Minibuffer::Set
12894 (restorePosition): ditto
12896 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12898 * lyx_main.C: include language.h
12900 * Makefile.am (lyx_main.o): add language.h
12902 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12908 * CutAndPaste.C: include gettext.h
12910 * lyxfont.h: remove old hack with ON and OFF.
12913 * lyxfont.h: do not include language.h...
12918 * bufferview_funcs.C:
12924 * paragraph.C: ... but do it here instead
12926 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12928 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12930 * tabular.C: small reformat
12932 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12935 (BreakParagraph): ditto
12936 (SetOnlyLayout): ditto
12939 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12942 * lastfiles.C: removed most using decl, add std:: where needed
12944 * buffer.C: ws changes
12946 * MenuBackend.C (class compare_format): put into anon namespace
12947 (expand): constify label, names, action, action2
12950 * text.C (SingleWidth): constify font
12951 (IsBoundary): constify rtl2
12952 (GetVisibleRow): constify ww
12954 * LaTeX.C (deplog): constify logfile
12956 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12958 (workAreaExpose): constify widthChange, heightChange
12960 * lyxrow.C (par): moved
12963 * lyxrow.h: as inlines here
12965 * lyxfont.h (shape): moved from lyxfont.C
12966 (emph): moved from lyxfont.C
12968 * lyxfont.C (LyXFont): use initialization list for all
12970 (shape): move to lyxfont.h as inline
12971 (emph): move to lyxfont.h as inline
12974 2001-04-04 Juergen Vigna <jug@sad.it>
12976 * vspace.C: had to include stdio.h for use of sscanf
12978 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12981 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12982 independent of xforms.
12984 2001-04-02 Juergen Vigna <jug@sad.it>
12986 * spellchecker.C: fixed namespace placing!
12988 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12990 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12991 the LyXParagraph * is 0.
12993 2001-03-29 Juergen Vigna <jug@sad.it>
12995 * vspace.C: added support for %, c%, p%, l%.
12996 (stringFromUnit): added helper function.
12997 (asLatexString): changed to give right results for the %-values.
12999 * buffer.C: convert the widthp in a width%.
13001 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13003 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13006 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13007 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13009 * lyx_cb.[Ch]: see above.
13011 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13015 * lyx.[Ch]: replaced by figure_form.[Ch].
13019 * lyxfunc.C: changed headers associated with above changes.
13021 2001-03-27 Juergen Vigna <jug@sad.it>
13023 * BufferView_pimpl.C: set the temporary cursor right!
13025 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13027 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13029 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13031 * LString.h: removed "using std::getline"!
13033 * BufferView_pimpl.C (Dispatch): changes due to changes in
13034 InsetInclude::Params.
13036 * buffer.C (tag_name): removed redundant break statements as they were
13037 producing lots of warnings with my compiler.
13039 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13041 * LString.h: add "using std::getline" when using the real <string>.
13043 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13045 * buffer.C: removed bitset usage.
13046 PAR_TAG moved to an anonymous name space.
13047 (tag_name): new funtion, also in the anonymous namespace.
13048 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13049 (makeDocBookFile): clean code. Completed transition from string arrays
13051 (SimpleDocBookOnePar): code clean.
13053 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13055 * tabular.C: add some comments.
13057 2001-03-22 Juergen Vigna <jug@sad.it>
13059 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13060 compatibility read a bit and fixed bug with minipage in different
13063 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13065 * buffer.C (pop_tag): removed.
13066 (push_tag): removed.
13067 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13068 array replaced with vector. Added support for CDATA sections.
13069 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13071 (makeDocBookFile): XML conformant declaration of CDATA section,
13072 fixed bug related to <emphasis> in the first paragraph char.
13073 (sgmlOpenTag): exclude empty tags.
13074 (sgmlCloseTag): ditto.
13076 * buffer.h (pop_tag): removed.
13077 (push_tag): removed.
13079 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13081 * language.h (Languages): added size_type and size().
13083 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13085 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13086 response on compability reading of minipages. One probliem is that
13087 the old usage of minipages was «flertydig»
13089 * several files here and in subdirs: don't use static at file
13090 scope use anon namespaces instead.
13092 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13094 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13095 LaTeX output. This is necessary for Literate document
13098 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13100 * buffer.C: insert hfill when needed.
13102 * tabular.C (l_getline): use string::erase, small whitespace change.
13104 * BufferView_pimpl.C: try the anon namespace.
13105 * WorkArea.C: ditto
13107 2001-03-16 Juergen Vigna <jug@sad.it>
13109 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13110 otherwise it won't open options-dialogs.
13112 * buffer.C: honor pextraWidth(p) on converting minipages.
13114 * tabular.C (l_getline): changed the functions to strip trailing \r.
13116 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13118 * BufferView_pimpl.C:
13119 * minibuffer..C: added "using SigC::slot" declaration.
13121 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13123 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13129 * paragraph.C: ditto
13131 * lyxtext.h: NO_PEXTRA
13133 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13135 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13136 * ParameterStruct.h: ditto
13137 * ParagraphParameters.h: ditto
13138 * lyxparagraph.h: ditto
13140 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13142 * buffer.C: add compability for minipage alignment.
13143 (latexParagraphs): remove unwanted pextra check.
13145 * several files: remove CXX_WORKING_NAMESPACES
13147 * buffer.C (pop_tag): tie is in namespace boost
13149 * BufferView.h: noncopyable is in namespace boost
13151 * lyx_main.h: ditto
13154 * lastfiles.h: ditto
13155 * bufferlist.h: ditto
13156 * ShareContainer.h: ditto
13158 * LyXAction.h: ditto
13161 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13163 * Merging changes from BRANCH_MVC back into HEAD.
13165 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13167 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13169 * BufferView_pimpl.C: change from intl.C
13173 * Makefile.am: move combox.*
13179 * intl.C: remove dialog (covered by prefs)
13181 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13183 * lyxfunc.C (Dispatch): removed redundant break statement.
13185 2001-03-14 Juergen Vigna <jug@sad.it>
13187 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13189 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13191 * buffer.C: add hack to fix compability reading of minipages.
13193 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13195 * buffer.C (getLists): Cleanup.
13197 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13199 * lyxfont.C (update): don't honor toggleall on font size.
13201 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13205 * Makefile.am: moved to frontends/xforms/
13209 * BufferView_pimpl.C: changes for moved mathpanel
13211 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13213 * gettext.h: fix gettext_init() in --disable-nls
13215 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13217 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13219 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13222 * lyx.h: strip external form
13224 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13226 * BufferView_pimpl.C: add comment, destroySplash()
13228 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13230 * BufferView_pimpl.C:
13234 * lyxfunc.C: use re-worked insetinclude
13236 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13238 * buffer.C: add using std::stringstream.
13240 * lyx_cb.C: readd using std::ios.
13242 * buffer.C: add using std::map.
13244 * BufferView_pimpl.C: add using std::vector.
13246 * ShareContainer.h: add std:: to swap.
13248 * buffer.h: add some typedefs
13249 * buffer.C (getLists): use them
13250 (getLists): renamed from getTocList.
13251 add a counter for the different float types and use it in the
13253 (getLists): use the same counter for the NEW_INSETS and the "non"
13256 * lyx_cb.h: remove unused items, includes, using etc.
13258 * ShareContainer.h: remove some commented code, add more comments
13259 and "documentation".
13261 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13263 * buffer.C (getTocList): make the list also when NEW_INSETS is
13266 * buffer.h: remove TocType
13268 * buffer.C (getTocList): change to return a map<string,
13269 vector<TocItem> >, implement for dynamic number of list.
13271 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13272 * text2.C (PasteSelection): adjust
13273 * CutAndPaste.C (pasteSelection): adjust
13275 * FloatList.C (FloatList): update from the new_insets branch.
13276 * Floating.[Ch]: ditto
13277 * LaTeXFeatures.C: ditto
13279 * lyxlex_pimpl.C: ditto
13281 * paragraph.C (Last): remove when NEW_INSETS is defined.
13283 * other file: changes because of the above.
13285 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13287 * lyxparagraph.h: rename next to next_, previous to previous_,
13288 make them private for NEW_INSETS. Rename Next() to next(),
13289 Previous() to previous().
13291 * other files: changes because of the above.
13293 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13296 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13299 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13301 * main.C (main): pass lyx_localedir to gettext_init().
13303 * gettext.h: remove locale_init and gettext_init macros
13305 * gettext.C (locale_init): new function
13306 (gettext_init): new function
13308 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13311 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13313 * Moved credits to frontends:
13314 * credits.[Ch]: removed
13315 * credits_form.[Ch]: removed
13316 * lyx_gui_misc.C: remove credits stuff
13319 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13321 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13323 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13324 unneeded destructor.
13326 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13327 a standalone pointer again.
13329 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13331 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13337 * ToolbarDefaults.C:
13346 * BufferView_pimpl.C: use new file dialog in GUII
13349 * lyx_cb.C: remove LayoutsCB to Toolbar
13351 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13353 * ShareContainer.h (get): add std:: qualifier
13355 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13357 * ShareContainer.h: define a proper ShareContainer::value_type
13358 type (and use typename to please compaq cxx)
13360 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13362 * lyxparagraph.h: move serveral local vars to
13363 ParameterStruct/ParagraphParameters., use ShareContainer in
13364 FontTable., make vars in FontTable private and add getter and
13367 * paragraph.C: changes because of the above.
13369 * lyxfont.h: remove copy constructor and copy assignment. (the
13370 default ones is ok), move number inside FontBits. move inlines to
13373 * lyxfont.C: add number to initializaton of statics, move several
13374 inlines here. constify several local vars. some whitespace
13375 cleanup. Dont hide outerscope variables.
13377 * Spacing.h: add two new constructors to match the set methods.
13379 * ShareContainer.h: new file, will perhaps be moved to support
13381 * ParameterStruct.h: new file
13383 * ParagraphParameters.h: new file
13385 * ParagraphParameters.C: new file
13387 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13388 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13390 * BufferView_pimpl.C: ParagraphParameter changes.
13391 * buffer.C: Likewise.
13392 * bufferview_funcs.C: Likewise.
13393 * text.C: Likewise.
13394 * text2.C: Likewise.
13396 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13398 * lyxfind.C (LyXReplace): do not redefine default argument in
13400 (IsStringInText): ditto
13401 (SearchForward): ditto
13402 (SearchBackward): ditto
13404 2001-03-06 Juergen Vigna <jug@sad.it>
13406 * lyxfind.C (IsStringInText): put parentes around expressions.
13408 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13410 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13412 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13414 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13416 * stl_string_fwd.h: add comment
13418 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13421 * tabular.C: remove unused DocBook methods
13427 killed DO_USE_DEFAULT_LANGUAGE
13429 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13431 * lyx_gui.C: do not include language.h.
13433 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13434 arguments in function implementation.
13436 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13438 * BufferView_pimpl.C: add <ctime>
13440 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13442 * BufferView_pimpl.C: add using std::find_if
13444 2001-02-27 José Matos <jamatos@fep.up.pt>
13446 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13449 2001-02-11 José Matos <jamatos@fep.up.pt>
13451 * buffer.C (makeDocBookFile): command styles now have a parameter as
13452 "title" by default.
13454 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13456 * layout_forms.[Ch]: removed
13457 * lyx_cb.[Ch]: out character
13458 * lyx_gui.C: out character
13459 * lyx_gui_misc.C: out character
13460 * bufferview_funcs.C: : out character,
13461 added toggleall as parameter in ToggleAndShow
13463 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13465 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13467 * text2.C (SetCurrentFont): Disable number property at boundary.
13469 2001-02-26 Juergen Vigna <jug@sad.it>
13471 * lyxfunc.C (getStatus): added a string argument override function so
13472 that this is correctly called from LyXFunc::Dispatch if it contains a
13473 do_not_use_argument which is used!
13474 (Dispatch): added check for "custom" export and call appropriate func.
13476 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13478 * lyxrc.C: Add language_command_local, language_use_babel and
13479 language_global_options.
13481 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13483 * buffer.C (makeLaTeXFile): Use language_use_babel and
13484 language_global_options.
13486 2001-02-23 Juergen Vigna <jug@sad.it>
13488 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13489 which works with LyXText and putted it inside BufferView. Here now we
13490 only call for that part the BufferView::Dispatch() function.
13492 * BufferView.C (Dispatch): added.
13494 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13495 functions which needs to use a LyXText over from LyXFunc.
13496 (MenuInsertLyXFile): added
13497 (getInsetByCode): added
13498 (moveCursorUpdate): added
13499 (static TEXT): added
13501 2001-02-22 Juergen Vigna <jug@sad.it>
13503 * BufferView_pimpl.C (update): call a status update to see if LyXText
13506 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13508 * vc-backend.C (revert): implement for CVS
13509 (getLog): implement for CVS
13511 2001-02-20 Juergen Vigna <jug@sad.it>
13513 * text2.C (ClearSelection): added BufferView param for inset_owner call
13515 * lyxfunc.C (TEXT): added this function and use it instead of
13516 directly owner->view()-text of getLyXText().
13518 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13520 * src/layout_forms.C: out preamble
13521 * src/layout_forms.h: out preamble
13522 * src/lyx_cb.C: out preamble
13523 * src/lyx_cb.h: out preamble
13524 * src/lyx_gui.C: out preamble
13525 * src/lyx_gui_misc.C: out preamble
13526 * src/lyxfunc.C: connect with guii preamble
13528 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13530 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13532 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13534 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13535 whether to run bibtex.
13537 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13539 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13541 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13543 * Makefile.am (lyx_SOURCES): removed bibforms.h
13545 * vspace.h: doxygen
13547 * text.C (GetVisibleRow): make several local vars const
13549 * tabular.C: small cleanup.
13551 * lyxserver.C (callback): use compare instead of strncmp
13553 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13554 inlines to after class or to paragraph.C
13556 * lyxfont.h: remove friend operator!=
13558 * converter.h: move friend bool operator< to non friend and after
13561 * combox.h: small cleanup
13563 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13564 to inlines after class def.
13566 * buffer.C (pop_tag): use string operations instead of strcmp
13568 * bmtable.c: doxygen, small cleanup
13570 * LaTeX.h: remove friend operator==
13572 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13584 * BufferView_pimpl.C:
13585 * BufferView.[Ch]: remove cruft
13587 2001-02-14 Juergen Vigna <jug@sad.it>
13589 * lyxfunc.C: removed #if 0 unused code
13591 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13593 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13595 * text2.C (SetSelection): added a BufferView * parameter
13597 2001-02-13 Juergen Vigna <jug@sad.it>
13599 * lyxfunc.C (Dispatch): fixed protected blank problem.
13600 * BufferView2.C (protectedBlank): added LyxText * parameter.
13602 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13603 (AppendColumn): same as above for column_info.
13605 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13606 (moveCursorUpdate): use a LyXText param for support of InsetText.
13608 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13609 (tripleClick): ditto
13611 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13613 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13615 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13617 * text2.C (SetSelection): set correct update status if inset_owner
13618 (ToggleFree): ditto
13620 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13622 * tabular.C: remove some commented code.
13624 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13626 * BufferView_pimpl.C: call hideSplash()
13628 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13631 * bibforms.h: remove
13634 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13635 add LFUN_CHILD_CREATE
13637 * counters.h: fix tiny typo
13642 * lyx.C: move splash to frontends/xforms/
13644 * lyx_gui_misc.C: move Include and Bibform to frontends
13646 * lyxvc.h: clarify comment
13648 * vspace.C: tiny housekeeping
13650 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13652 * text.C (PrepareToPrint): RTL Fix.
13654 * paragraph.C (GetUChar): New method.
13655 (String): Use GetUChar.
13657 * buffer.C (asciiParagraph): Use GetUChar.
13659 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13661 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13663 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13666 * buffer.C: rename to getLogName(), handle
13667 build log / latex log nicely
13669 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13672 * MenuBackend.h: remove support for reference menuitem type.
13674 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13676 * BufferView_pimpl.C: housekeeping
13677 * BufferView_pimpl.h:
13682 * minibuffer.h: move Timeout GUI-I
13684 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13686 * lyxrc.C (read): Update converters data-structures.
13688 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13690 * LaTeX.h (operator!=): add operator != for Aux_Info
13692 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13694 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13696 * LaTeXLog.C: deleted, useful code moved to Buffer
13699 * buffer.C: new function getLatexLogName()
13705 * lyxfunc.C: use frontends for LaTeX and VC logs
13707 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13709 * LaTeX.h: yet another std:: that Allan forgot.
13711 * Variables.C (set): renamed from isset(), because this clashes
13712 with some HP-UX macros (grr).
13714 2001-02-06 Allan Rae <rae@lyx.org>
13716 * LaTeX.h: Another bug fix. Missing std:: this time.
13718 2001-02-04 Allan Rae <rae@lyx.org>
13720 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13721 floats problem. I've left it commented out because it's not quite
13722 correct. It should also test that the current object is a table or
13723 figure inset. But I haven't gotten around to figuring out how to do
13724 that. I *think* it'll be something like: "table" == inset.type()
13726 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13729 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13731 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13732 all the citation/databases/styles in the auxilary file.
13733 (run): Rerun latex if there was a babel language error.
13735 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13737 * text.C (Backspace): Preserve the font when changing newline char
13739 (BreakParagraph): If the cursor is before a space, delete the space.
13741 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13743 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13745 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13746 new argument (code).
13747 (ChangeCitationsIfUnique): New method.
13749 * paragraph.C (GetPositionOfInset): Handle bibkey.
13751 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13753 * BufferView_pimpl.h: change type of Position::par_pos to
13754 LyXParagraph::size_type.
13756 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13758 * BufferView_pimpl.C (savePosition, restorePosition): Write
13759 messages to minibuffer.
13761 2001-01-28 José Matos <jamatos@fep.up.pt>
13763 * buffer.C (makeDocBookFile): adds support for document language.
13764 A silly restriction on the name of LatexCommand types where removed.
13765 Added support for CDATA sections, allows to chars unescaped, used
13766 among others in code, to avoid escape < and >.
13768 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13770 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13771 saved positions instrad of a stack. Furthermore, a position is
13772 stored using paragraph id/paragraph position.
13774 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13775 Remove LFUN_REF_BACK.
13777 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13779 * converter.C (dvipdfm_options): New method.
13781 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13783 * vspace.C (isValidLength): Fix for empty input string.
13785 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13787 * LyXAction.C (init): change description of LFUN_FIGURE to
13790 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13792 * LaTeX.C: add using directive
13794 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13796 * MenuBackend.C (expand): Fix the sorting of the formats.
13798 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13800 * lyx_main.C: tiny error message fix
13802 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13804 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13805 calling fl_initialize(). This fixes the problem with ',' as
13806 decimal separator in text files.
13808 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13810 * trans.C (process): Fix the keymap bug.
13812 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13814 * LaTeX.C (scanAuxFiles): New method. Provides support for
13815 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13816 (scanLogFile) Scan for "run BibTeX" messages.
13818 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13819 OT1 font encoding. Also, load the aecompl package if the ae
13822 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13824 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13826 * texrow.C (increasePos): turn two error messages into debug
13829 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13831 * LaTeX.C (scanAux): Handle the \@input macro.
13832 (runBibTeX): Use scanAux().
13834 * language.C (latex_options_): New field.
13836 * LaTeXFeatures.C (getMacros): Add language macros.
13838 * buffer.C (makeLaTeXFile): Small fix.
13840 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13842 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13844 * text2.C: add a using directive.
13846 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13851 * lyxfunc.C: kill LyXBell.
13853 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13855 * text.C (IsBoundary): Remove the error message
13857 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13859 * lyxrc.C (setDefaults): Correct initialization value for
13862 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13864 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13867 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13868 and GotoNextNote().
13870 * src/LyXAction.C: Added reference-next.
13872 * text.C (InsertChar): Use contains instead of strchr.
13874 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13876 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13878 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13879 alignment commands (when needed).
13881 * text.C (InsertChar): Add ':' to number separator chars.