1 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4 cursor position after e.g. inset insert)
6 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
8 * lyxfind.C (replace): adjust to locking removal + some
11 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
13 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
16 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
19 * output_docbook.C: XML sanitation: new layout
20 parameters InnerTag and CommandDepth
22 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
26 * text3.C: Fix the insertion and modification of button-style
29 2003-11-13 André Pönitz <poenitz@gmx.net>
31 * InsetList.[Ch]: remove deleteLyXText
33 * paragraph.[Ch]: cache beginOfBody position
38 * text3.C: remove superfluous update() calls
42 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
44 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
45 * BufferView.C (fitLockedInsetCursor): remove
46 * cursor.[Ch] (getDim): add
47 * text.C (getRowNearY): add faster version
48 * text3.C: remove some update calls
50 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
62 * text3.C: The Character Style /XML short element patch.
64 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
67 * factory.C: Small step to solving 'unable to insert some insets'
70 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
72 * cursor.[Ch] (updatePos): new function for updating the y
73 position of the tip inset
74 * bufferview_funcs.C (put_selection_at):
75 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
77 2003-11-11 André Pönitz <poenitz@gmx.net>
79 * text.C: remove big comment on invalid Paragraph pointers as it is
82 2003-11-11 André Pönitz <poenitz@gmx.net>
84 * text_funcs.[Ch]: merge with ...
92 * Makefile.am: remove text_funcs.[Ch]
94 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
96 * cursor.C (getPos): return absolute cached y coord
98 * BufferView_pimpl.C (fitCursor): new simplistic code
99 (workAreaDispatch): add a fitCursor call
101 2003-11-10 André Pönitz <poenitz@gmx.net>
104 * BufferView_pimpl.[Ch]: merge update() and updateInset()
106 2003-11-10 André Pönitz <poenitz@gmx.net>
108 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
109 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
110 indicate that the cursor needs to leave an inset
112 * lyxtext.h: remove inset locking
114 * cursor.[Ch]: re-implement functionality provided by inset locking
117 * BufferView_pimpl.[Ch]:
119 * bufferview_funcs.[Ch]:
131 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
133 * PosIterator.[Ch]: replace the stack with a vector, add inset
135 * iterators.[C]: adjust
137 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
139 * lyxfind.C (replaceAll): mark the buffer dirty if something was
141 * paragraph_funcs.C (readParToken): put the correct id in the
142 error item, not the id of the top paragraph
144 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
146 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
147 * bufferview_funcs.C (put_selection_at): use the above
149 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
151 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
153 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
156 * output_plaintext.h:
158 * output_docbook.h: add #include statements
160 2003-11-05 José Matos <jamatos@lyx.org>
162 * output_docbook.[Ch]:
164 * output_linuxdoc.[Ch]:
165 * output_plaintext.[Ch]: New files for output formats.
166 * output.[Ch]: New file for helper functions.
169 * paragraph_funcs.[Ch]: output functions moved to new files.
171 * outputparams.h: rename of latexrunparams.h
179 * paragraph_funcs.[Ch]:
180 * paragraph_pimpl.[Ch]:
181 * tabular.[Ch]: rename ascii to plaintext
182 and LatexRunParams to OutputParams.
184 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
186 * iterators.[Ch] (text): require bv argument
187 * undo.C (recordUndo):
188 * lyxfunc.C (dispatch):
189 * bufferview_funcs.C (put_selection_at): adjust
191 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
193 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
195 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
197 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
200 2003-11-04 André Pönitz <poenitz@gmx.net>
202 * cursor.[Ch]: restructure
205 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
207 * iterators.[Ch] (asCursor): remove
209 * lfuns.h: remove LFUN_INSET_EDIT
215 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
217 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
219 * lyxfind.[Ch]: complete overhaul
220 * BufferView_pimpl.C:
222 * paragraph.[Ch] (insert): add
224 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
228 * text.C: remove dead spellcheck code
230 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
232 * dispatchresult.h: add a val setter
234 * cursor.C (dispatch): use a tempvar for data_[i]
236 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
238 * PosIterator.[Ch]: compile fix
240 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
242 * text.C (cursorPar): deactivate the cursor cache
244 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
246 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
248 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
250 * text3.C (dispatch): adjust for new DisptchResult semantics.
252 * lyxfunc.C (dispatch): handle update when return from
253 Cursor::dispatch, adjust for new DispatchResult semantics.
255 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
256 DispatchResult(true) mean to not update. Add class functions for
257 setting dispatched and update, as well as reading.
259 * cursor.C (dispatch): don't handle update here
261 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
263 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
264 * trans_mgr.C: adjust
266 * paragraph_funcs.C (readParToken): exception safety
268 * lyxvc.h: store the vcs pointer in a scoped_ptr
271 * lyxsocket.C (serverCallback): exception safety
273 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
275 * ispell.C (clone): make it return a auto_ptr
277 * factory.C (createInset): exception safety
278 (readInset): exception safety
280 * bufferlist.C (newBuffer): exception safety
282 * Thesaurus.C (Thesaurus): use initialization for aik_
284 * MenuBackend.C (expandToc): exception safety.
286 2003-11-03 André Pönitz <poenitz@gmx.net>
290 * bufferview_funcs.C: remove getInsetFromId()
293 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
299 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
301 * PosIterator.C (distance, advance): new
302 * bufferview_funcs.[Ch] (put_selection_at): new
303 * iterators.[Ch] (lockPath): new
305 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
307 * iterators.[Ch] (asPosIterator): added
308 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
309 * PosIterator.[Ch]: added
311 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
315 * cursor.C (dispatch):
316 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
318 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
319 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
320 contructor, add a class function dispatched. Remove operator>=
322 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
324 * debug.C: only use the default constructor for debugstream
327 * main.C (main): include debug.h and setup the lyxerr streambuf
330 2003-10-31 José Matos <jamatos@lyx.org>
332 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
334 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
335 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
336 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
337 * paragraph_pimpl.C (simpleTeXSpecialC):
338 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
339 add LatexRunParams argument.
341 * exporter.C (Export): change call accordingly.
343 * latexrunparams.h: add new member to take care of the other backends.
344 2003-10-30 José Matos <jamatos@lyx.org>
346 * buffer.C (makeLinuxDocFile, makeDocBookFile):
347 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
348 factorise code for paragraph output.
350 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
353 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
355 * text3.C (dispatch):
356 * lyxfunc.C (dispatch):
357 * cursor.C (dispatch):
358 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
360 * dispatchresult.h: make the dispatch_result_t ctor explicit
362 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
365 * buffer.C: small refactoring of docbook stuff
367 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
369 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
372 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
374 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
375 operator dispatch_result_t, and operators for == != and >=
377 * cursor.C (dispatch): adjust for operator dispatch_result_t
378 removal. comment out call to update
380 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
382 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
390 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
393 * dispatchresult.h: new file, DispatchResult broken out of
396 * Makefile.am (lyx_SOURCES): add dispatchresult.h
398 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
400 * text.C (rowBreakPoint): put a hack inside #if 0
402 2003-10-28 André Pönitz <poenitz@gmx.net>
409 * text2.C: general cleanup (lots of small stuff)
411 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
413 * text2.C (cursorEnd): simple fix to the "end key goes to one
414 before the end on last row" bug
416 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
418 * text.C (backspace): fix the "zombie characters"
420 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
422 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
424 2003-10-27 André Pönitz <poenitz@gmx.net>
426 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
428 * factory.C: handle new InsetPagebreak, InsetLine
430 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
431 and move handling into new InsetPagebreak, InsetLine
433 * BufferView_pimpl.C:
435 * ParagraphParameters.C:
448 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
457 * text3.C: remove lastPos uses in favour of Row::endpos
459 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
461 * undo.C (performUndoOrRedo): fix two crashes by setting a
462 cursor by hand and reordering some calls. Use bv->lockInset instead
463 of inset->edit because the latter loses cursor information
465 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
467 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
469 (rowBreakPoint): fix width. change point to point + 1.
472 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
475 * lyxfunc.C: fix (at least partly) the problems
476 with the Nav menu and headers inside branch insets
479 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
481 * paragraph.C (getChar): add strong asserts
483 * lyxrow_funcs.C (lastPos): remove hideous hack
485 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
486 (fill): adjust to that (avoid an infinite loop)
488 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
490 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
492 2003-10-23 André Pönitz <poenitz@gmx.net>
494 * RowList_fwd.h: change list<> to vector<> to gain speed
495 after suggestion from Alfredo
497 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
499 * lyxtext.h: move the bidi stuff from here...
502 * Bidi.[Ch]: ... to here
504 2003-10-23 André Pönitz <poenitz@gmx.net>
507 * text.C (isLastRow, isFirstRow): new functions
509 * paragraph.h: new width cache member
511 * rowpainter.C: replace RowList::iterator with Row & where possible
513 * lyxfunc.C: replace several view()->text with a single call
515 * toc.C: fix 'unused' warning
517 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
519 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
520 when woring with stream::pos_type
521 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
523 2003-10-22 André Pönitz <poenitz@gmx.net>
526 * text.C: use Row & instead of RowList::iterator
528 * lyxrow.h: rename end() to endpos()
534 2003-10-22 Angus Leeming <leeming@lyx.org>
536 * buffer.[Ch] (fully_loaded): new member function, returning true
537 only when the file has been loaded fully.
538 Used to prevent the premature generation of previews and by the
539 citation inset to prevent computation of the natbib-style label.
541 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
542 templates are all set up.
544 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
546 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
548 * text.C: fixed an "oops" in the "is a bit silly"
551 2003-10-21 André Pönitz <poenitz@gmx.net>
553 * FuncStatus.[Ch]: small stuff, whitespace
555 * lyxfont.[Ch]: operator<<() for debug reasons
559 * lyxtext.h: whitespace, spelling
561 * paragraph.C: naming of variables
564 * text2.C: small stuff
567 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
569 * text.C: (1) finish off the inset display() work;
570 (2) fix the "is a bit silly" bug (accessing char
573 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
575 * text.C: re-introduce display() for insets, fixing the
576 various bugs (stretch of line above, math inset
579 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
581 * text.C (rightMargin): remove spurious semicolon
583 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
586 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
588 * text3.C: fix one crash due to wrong cursor def
590 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
592 * vc-backend.C (scanMaster): make the regex static
594 * LaTeX.C (scanAuxFile): make the regexs static
596 * text3.C (doInsertInset, dispatch, dispatch):
597 * text2.C (cursorUp, cursorDown):
598 * text.C (selectNextWordToSpellcheck):
599 * BufferView_pimpl.C (dispatch):
600 * lyxfunc.C (dispatch): localDispatch -> dispatch
602 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
604 * lyxsocket.C: include <cerrno>
606 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
608 * lyxfunc.C (dispatch): remove textcache stuff
610 * bufferlist.C (release): remove textcache stuff
613 * TextCache.C: delete file
614 * TextCache.h: delete file
616 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
618 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
619 delete of the bv_->text.
620 (resizeCurrentBuffer): remove texcache stuff
621 (workAreaResize): ditto
623 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
625 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
628 2003-10-16 André Pönitz <poenitz@gmx.net>
635 * text3.C: speed up by storing y positions per paragraph plus per-row
636 offset instead of having a 'full' y position in the row.
638 2003-10-15 André Pönitz <poenitz@gmx.net>
642 * undo.[Ch]: make undo aware of inner insets
644 2003-10-14 Angus Leeming <leeming@lyx.org>
646 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
647 static member functions LyX::ref() and LyX::cref.
648 (lastfiles): new accessor functions for the new lastfiles_ member var.
649 (addLyXView, views_): add a new LyXView to the list of views_.
650 (updateInset): loop over all LyXViews to call their own updateInset
651 member function, returning a pointer to the Buffer owning the inset.
653 * BufferView_pimpl.C (loadLyXFile):
654 * MenuBackend.C (expandLastfiles):
655 * bufferlist.C (MenuWrite, QuitLyX):
656 lastfiles is no longer a global variable.
657 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
659 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
660 static function. Access through LyX::cref().emergencyCleanup().
662 2003-10-14 André Pönitz <poenitz@gmx.net>
664 * iterators.[Ch]: new direct access to innermost LyXText and Inset
666 * undo.[Ch]: restoring part of 'undo in insets'
669 * undo_funcs.[Ch]: merge with undo.[Ch]
671 * tabular.C: small cleansing stuff
673 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
675 * paragraph_funcs.C (readParToken): report unknown insets as error
676 boxes. Use the outer paragraph as location (also for unknown
679 * factory.C (readInset): do not abort on reading an unknown inset.
682 2003-10-13 Angus Leeming <leeming@lyx.org>
684 * lyx_main.C (LyX): remove call to setDisplayTranslator().
686 * lyxrc.C: displayTranslator is now a function,
687 declared in GraphicsTypes.h.
689 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
691 * format.C: new placeholder $$a to pass the socket address.
693 * bufferlist.[Ch]: new function getBufferFromTmp.
695 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
696 files in the temporary dir.
698 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
700 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
702 * Makefile.am: add lyxsocket.[Ch].
704 * lyx_main.C (error_handler): handle SIGPIPE.
706 2003-10-13 André Pönitz <poenitz@gmx.net>
708 * BufferView_pimpl.C:
713 * undo_funcs.[Ch]: use paroffset_type instead of
714 ParagraphList::iterators to prevent multiple conversion
715 (and get a more robust interface)
717 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
719 * lyxfunc.C (dispatch): RESULT -> dispatch_result
721 * text3.C (dispatch): ditto
723 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
725 * LaTeX.C (handleFoundFile): move the static to smaller scope,
726 move the onlyfile, use onlyfile instead of foundfile in a couple
729 * DepTable.C (update): flush the error stream a bit more
731 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
733 * lyxserver.C (callback): adjust
735 * lyxfunc.C (getStatus): add a missing brace in commented code
736 (ensureBufferClean): reindent
737 (dispatch): delete version taking a string
739 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
741 * LaTeX.C (deplog): move found file handlig from here...
742 (handleFoundFile): .. to new function here.
743 (deplog): make sure to discover several files mentioned on the
746 2003-10-10 André Pönitz <poenitz@gmx.net>
753 * text3.C: fix some of the tabular crashes
755 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
757 * MenuBackend.C (binding): put debug message into Debug::KBMAP
759 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
761 2003-10-09 André Pönitz <poenitz@gmx.net>
763 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
766 * BufferView_pimpl.C:
767 * bufferview_funcs.C:
778 * undo_funcs.C: adjust
780 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
782 * text2.C (incrementItemDepth): new function, use a backtracking
783 algorithm to discover the correct item depth.
784 (resetEnumCounterIfNeeded): new function, use a backtracking
785 algorithm to discover if counter reset is needed.
786 (setCounter): use them. Simplify a bit. Add different labels for
787 different item depths for itemize.
789 * paragraph.C (Paragraph): remove initialization of enumdepth
792 * paragraph.h: get rid of enumdepth, and use itemdepth both for
793 enumerate and itemize. Change the type of itemdepth to signed char.
795 2003-10-08 André Pönitz <poenitz@gmx.net>
797 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
802 * tabular.[Ch]: fix crash after 'row-insert'
804 2003-10-08 Angus Leeming <leeming@lyx.org>
806 Fix doxygen warnings.
808 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
809 Remove CutAndPaste:: prefix from header file declaration.
811 * LColor.h (fill): remove LColor:: prefix from declaration.
813 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
814 use lyx::depth_type rather than Paragraph::depth_type so that
815 header file and .C file match.
817 * converter.h (intToFormat): remove Converters:: prefix from declaration.
819 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
820 * aspell.C: \file aspell_local.C -> \file aspell.C
821 * gettext.C: \file gettext.C -> \file src/gettext.C
822 * gettext.h: \file gettext.h -> \file src/gettext.h
823 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
824 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
825 * text.C: \file text.C -> \file src/text.C
827 * toc.C: move comment so that doxygen is not confused.
829 2003-10-07 Angus Leeming <leeming@lyx.org>
831 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
833 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
836 * aspell_local.h: add forgotten std::string's.
838 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
845 * text3.C: The Box patch. Fancybox support, minipage, parbox
847 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
853 * ParagraphParameters.h:
863 * lyxtextclasslist.h:
867 * textcursor.h: add <string> and other small fixes to make Lars'
868 std::string patch compile with STLport.
870 2003-10-06 Angus Leeming <leeming@lyx.org>
872 * LColor.h: Add missing #include <string>.
874 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
876 * All most all file in all subdirs: Make <string> be the prefered
877 way of getting to std::string, add using declarations.
879 2003-10-06 André Pönitz <poenitz@gmx.net>
881 * metricsinfo.C: initialize LyXFont before changing attribute.
882 (fixes the 'math in \emph is upright' bug)
884 2003-10-06 André Pönitz <poenitz@gmx.net>
886 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
888 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
891 * paragraph_pimpl.C: Small fixes to build using STLport
893 2003-10-02 André Pönitz <poenitz@gmx.net>
896 * text3.C: move handling of LFUN_DEPTH *; fix #1360
898 2003-10-01 André Pönitz <poenitz@gmx.net>
900 * factory.C: assert early
902 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
904 * lyx_main.C: remove the global debug object
906 * debug.h: adjust for new debugstream
908 * debug.C: adjust for new debugstream and keep the global debug
911 2003-09-22 Angus Leeming <leeming@lyx.org>
913 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
914 of g++ which otherwise complain that the scoped_ptr destructor can't delete
915 an incomplete class LyXFont.
917 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
919 * factory.C: bug fix in branches
921 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
923 * lyxfunc.C (processKeySym): adjust
925 (dispatch): change arg name from ev to func, adjust
926 (sendDispatchMessage): ditto
928 * lyx_main.C (defaultKeyBindings): adjust keybindings
929 (deadKeyBindings): ditto
931 * kbsequence.C (addkey): return a FuncRequest
933 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
935 * kbmap.C (bind): take a FuncRequest as arg, adjust
938 (defkey): change to take a FuncRequest as arg, adjust
939 (findbinding): take a FuncRequest as arg, adjust.
941 * funcrequest.h (operator=): added
943 * funcrequest.C (FuncRequest): default kb_action changed from
944 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
946 * buffer.C (dispatch): simplify
947 (dispatch): adjust to take a FuncRequest as arg, adjust
949 * boost.C (assertion_failed): change assertion message slightly
951 * ToolbarBackend.C (read): simplify
953 * MenuBackend.C (binding): adjust call to findbinding, add a
954 message if no binding is found.
956 (expandToc): correct by adding a empty FuncRequest
958 * LyXAction.C: include <boost/assert.hpp>
959 (isPseudoAction): delete function
960 (LookupFunc): change name to...
961 (lookupFunc): this. change return type to FuncRequest.
962 (getActionName): take kb_action as arg, simplify
963 (funcHasFlag): add an assert, simplify.
965 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
967 * toc.C (action): return a FuncRequest, simplify
969 * lyxfunc.C (processKeySym): adjust
970 (getStatus): delete version that takes an int.
972 (dispatch): delete version that takes action as int
974 (sendDispatchMessage): simplify and adjust
976 * funcrequest.C (getArg): take unsigned int as arg
978 * ToolbarBackend.C (read): adjust
979 (add): delete version that takes func as a string.
980 (getIton): take a FuncRequest as arg
982 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
985 * MenuBackend.C (MenuItem): add a new construct that only takes a
986 Kind, simplify the constructor use for submenus.
988 (expandLastfiles): adjust
989 (expandDocuments): adjust
990 (expandFormats): adjust
991 (expandFloatListInsert): adjust
992 (expandFloatInsert): adjust
993 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
995 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
996 Remove class variables lyx_pseudo_map and lyx_arg_map
998 * LyXAction.C (searchActionArg): delete function
999 (getPseudoAction): delete function
1000 (retrieveActionArg): delete function
1001 (LookupFunc): make it return kb_action, simplify.
1002 (getActionName): simplify
1004 * factory.C (createInset): fix new bug
1006 2003-09-19 Angus Leeming <leeming@lyx.org>
1008 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1009 masterFilename_ parameter in the include inset.
1011 * factory.C (createInset): changes due to the changes to InsetInclude.
1013 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1015 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1017 2003-09-18 Angus Leeming <leeming@lyx.org>
1020 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1021 Inset::fillWithBibKeys.
1022 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1024 2003-09-18 Angus Leeming <leeming@lyx.org>
1026 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1028 (ctor): pass and store a 'Buffer const &'
1029 (buffer): new member function.
1031 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1032 '*this' to the LaTeXFeatures ctor.
1034 2003-09-18 Angus Leeming <leeming@lyx.org>
1040 * text.C: rename EnumLColor as LColor_color.
1042 2003-09-18 Angus Leeming <leeming@lyx.org>
1044 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1045 remove #include "insets/insetbase.h" from cursor.h.
1047 2003-09-18 Angus Leeming <leeming@lyx.org>
1049 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1050 InsetOld_code to remove #include "inset.h".
1052 * iterators.C: add #include "insets/inset.h"
1054 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1056 * BufferView.C: remove more locking stuff that apparently doesn't
1057 do anything sensible.
1059 2003-09-16 André Pönitz <poenitz@gmx.net>
1062 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1065 2003-09-16 Angus Leeming <leeming@lyx.org>
1067 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1069 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1072 * paragraph.h: remove #include "lyxfont.h". Forward declare
1075 2003-09-16 Angus Leeming <leeming@lyx.org>
1077 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1078 of support/textutils.h.
1079 (isWord): move the contents of support/textutils.h's IsWordChar here.
1085 * text2.C: add #include "paragraph.h".
1088 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1090 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1096 * LaTeX.C: use namespace alias for lyx::support::os
1098 2003-09-16 Angus Leeming <leeming@lyx.org>
1101 * bufferview_funcs.C:
1104 * paragraph_pimpl.C:
1106 * text.C: add #include "LColor.h".
1108 2003-09-16 Angus Leeming <leeming@lyx.org>
1110 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1111 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1113 Store the FontBits::color variable as an int rather than as an
1114 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1117 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1118 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1119 string calls together.
1121 * lyxrc.C: add #include "LColor.h".
1123 2003-09-15 Angus Leeming <leeming@lyx.org>
1125 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1128 2003-09-15 Angus Leeming <leeming@lyx.org>
1130 * LColor.h: add an EnumLColor wrapper for LColor::color.
1132 * lyxfont.[Ch] (color, setColor, realColor):
1133 * lyxtext.h, text.C (backgroundColor):
1134 pass EnumLColor args to/from the functions, rather than LColor::color
1138 * lyxtext.h: forward declare EnumLColor.
1140 * lyx_main.C: add #include "LColor.h".
1142 2003-09-15 Angus Leeming <leeming@lyx.org>
1144 * .cvsignore: add lyx-gtk.
1146 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1151 * ParagraphParameters.C
1155 * bufferview_funcs.C
1165 * vc-backend.C: remove usage of STRCONV
1167 2003-09-15 Angus Leeming <leeming@lyx.org>
1169 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1170 explicitly define the color passed to the painter.
1172 2003-09-15 Angus Leeming <leeming@lyx.org>
1174 * bufferparams.C (BufferParams): reorder member initializers to avoid
1177 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1179 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1180 * text.C (updateRowPositions): remove an unusual nop
1182 2003-09-12 André Pönitz <poenitz@gmx.net>
1184 * BufferView_pimpl.C:
1193 * Counters.[Ch]: finish the 'automatic counters' job
1195 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1197 * aspell.C: include <boost/assert.cpp> (compile fix)
1199 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1201 * boost.C (assertion_failed): use lyx::support::abort instead of
1204 2003-09-10 Angus Leeming <leeming@lyx.org>
1206 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1207 with their _fwd progeny.
1209 2003-09-09 Angus Leeming <leeming@lyx.org>
1211 134 files throughtout the source tree: replace 'using namespace abc;'
1212 directives with the appropriate 'using abc::xyz;' declarations.
1214 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1216 * boost.C (emergencyCleanup): moved here from LAssert.c
1217 (assertion_failed): new function, called by BOOST_ASSERT
1219 * several files: change Assert to BOOST_ASSERT
1221 2003-09-09 Angus Leeming <leeming@lyx.org>
1223 * buffer.[Ch]: Add an Impl class and move Buffer's member
1224 variables into it. As a result move several header files out of
1227 Add header files to lots of .C files all over the tree as a result.
1229 2003-09-09 Angus Leeming <leeming@lyx.org>
1231 * buffer.[Ch]: make Buffer's member variables private. Add
1234 Lots of changes all over the tree as a result.
1236 2003-09-08 Angus Leeming <leeming@lyx.org>
1238 * graph.C: #include <config.h>.
1240 2003-09-08 Angus Leeming <leeming@lyx.org>
1244 * BufferView_pimpl.C:
1273 * toc.C: remove redundant using directives.
1275 2003-09-07 Angus Leeming <leeming@lyx.org>
1277 * LaTeXFeatures.h: remove #include "support/types.h".
1278 * ToolbarBackend.h: remove #include <algorithm>.
1279 * changes.h: remove #include <ctime>.
1280 * debug.h: remove #include <iosfwd>.
1281 * graph.h: remove #include "support/std_string.h".
1282 * lyx_main.h: remove #include <csignal>.
1283 * lyxlex_pimpl.h: remove #include <fstream>.
1284 * sgml.h: remove #include <algorithm>, <utility>.
1285 * toc.h: remove #include "support/std_ostream.h".
1286 Add #include <iosfwd>.
1288 2003-09-07 Angus Leeming <leeming@lyx.org>
1290 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1292 * converter.h: forward declare LatexRunParams.
1293 * encoding.h: remove #include "lyxrc.h".
1294 * lyxtext.h: remove #include "LColor.h".
1295 * lyxtextclass.h: remove #include "support/types.h".
1296 * trans.h: remove #include "tex-accent.h".
1297 * trans_mgr.h: remove #include "tex-accent.h".
1298 * insets/inset.h: remove #include "support/types.h", <vector>.
1299 * insets/insetcollapsable.h: remove #include "LColor.h".
1300 * insets/insetinclude.h: remove #include "dimension.h".
1301 * insets/insetlatexaccent.h: remove #include "dimension.h".
1302 * insets/insetoptarg.h:: remove #include "insettext.h".
1303 * insets/insettext.h: remove #include "dimension.h",
1304 <boost/shared_ptr.hpp>
1306 * insets/renderers.h: add #include "dimension.h".
1307 * insets/updatableinset.h: add #include "support/types.h".
1309 * many .C files: Associated changes.
1311 2003-09-06 Angus Leeming <leeming@lyx.org>
1313 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1314 one, inside testInvariant.
1316 * PrinterParams.C: new file.
1317 * PrinterParams.[Ch]: move the function bodies out of line.
1319 2003-09-06 Angus Leeming <leeming@lyx.org>
1321 * ParagraphParameters.h: forward declare ParameterStruct rather than
1322 including its header file.
1323 (depth): moved out-of-line.
1325 2003-09-06 Angus Leeming <leeming@lyx.org>
1327 * BufferView_pimpl.h:
1330 * lyxfunc.h: forward declare LyXKeySym rather than
1331 #include "frontends/LyXKeySym.h".
1333 * BufferView_pimpl.C:
1336 * lyxfunc.C: associated changes.
1338 2003-09-06 Angus Leeming <leeming@lyx.org>
1340 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1341 As a result, can remove the #include "insets/inset.h" from BufferView.h
1343 2003-09-06 Angus Leeming <leeming@lyx.org>
1345 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1346 As a result, can remove the #include "insets/inset.h" from BufferView.h
1348 2003-09-06 Angus Leeming <leeming@lyx.org>
1354 * bufferview_funcs.C:
1355 * BufferView_pimpl.C:
1360 * ParagraphParameters.C:
1365 * frontends/controllers/ControlDocument.C:
1366 * insets/insetcaption.C: rearrange the #includes into some sort of
1369 * buffer.h: remove #includes ErrorList.h, undo.h
1371 2003-09-06 Angus Leeming <leeming@lyx.org>
1373 * support/types.h: add a 'depth_type' typedef, used to store the
1374 nesting depth of a paragraph.
1377 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1378 defining explicitly.
1381 * paragraph_funcs.h:
1382 * ParagraphParameters.h:
1383 * sgml.h: use lyx::depth_type rather than Paragraph or
1384 ParameterStruct's depth_type.
1387 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1390 * BufferView_pimpl.C:
1392 * ParagraphParameters.C:
1395 * bufferview_funcs.C:
1402 * frontends/LyXView.C:
1403 * frontends/controllers/ControlDocument.C:
1404 * frontends/controllers/ControlErrorList.C:
1405 * insets/insetbibitem.C:
1406 * insets/insetbranch.C:
1407 * insets/insetcaption.C:
1408 * insets/insetcollapsable.C:
1409 * insets/insetenv.C:
1410 * insets/insetert.C:
1411 * insets/insetfloat.C:
1412 * insets/insetfoot.C:
1413 * insets/insetfootlike.C:
1414 * insets/insetnewline.C:
1415 * insets/insetquotes.C:
1416 * insets/insettabular.C:
1417 * insets/insettext.C:
1418 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1420 * frontends/controllers/ControlChanges.C: #include "changes.h".
1422 2003-09-06 Angus Leeming <leeming@lyx.org>
1424 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1425 than #including paragraph.h.
1428 * RowList.h: deleted. Superfluous.
1438 * insets/insettext.h: use ParagraphList_fwd.h rather than
1441 * paragraph.h: don't forward declare ParagraphList.
1444 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1445 rather than ParagraphList.h. paragraph.h is still needed for the
1446 Paragraph::depth_type parameters.
1448 * textcursor.h: enable it to compile stand-alone in light of the
1451 * bufferview_funcs.C:
1463 * frontends/controllers/ControlParagraph.C:
1464 * frontends/controllers/ControlTabular.C:
1465 * insets/insetmarginal.C:
1466 * insets/insetminipage.C:
1467 * insets/insetnote.C:
1468 * insets/insetoptarg.C: add header files needed to compile again.
1470 2003-09-06 Angus Leeming <leeming@lyx.org>
1472 * RowList_fwd.h: new file, forward-declaring Row rather than
1473 #including lyxrow.h.
1478 * insets/insettext.h: use it instead of RowList.h
1480 * bufferview_funcs.C:
1487 * text3.C: #include "RowList.h".
1489 2003-09-05 Angus Leeming <leeming@lyx.org>
1491 * factory.C (createInset):
1492 * vspace.C (c-tor): replace sscanf call with an istringstream.
1493 * ispell.C: re-add missing HP/UX headers.
1494 * lyxserver.C: re-add missing os2 headers.
1496 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1505 * text3.C: re-add missing system headers, needed for 2.95.2.
1507 2003-09-05 Angus Leeming <leeming@lyx.org>
1509 Changes most place everywhere due to the removal of using directives
1510 from support/std_sstream.h.
1512 2003-09-05 Angus Leeming <leeming@lyx.org>
1514 Replace LString.h with support/std_string.h,
1515 Lsstream.h with support/std_sstream.h,
1516 support/LIstream.h with support/std_istream.h,
1517 support/LOstream.h with support/std_ostream.h.
1519 Changes resulting throughout the tree.
1521 2003-09-05 Angus Leeming <leeming@lyx.org>
1523 * sgml.h: ensure that the header file can be compiled stand-alone.
1524 * *.C: strip out redundant #includes. (320 in total.)
1526 2003-09-04 Angus Leeming <leeming@lyx.org>
1528 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1529 here (from getPackages).
1531 * debug.[Ch]: add a new EXTERNAL tag.
1533 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1535 * text2.C (cursorEnd): simplify
1537 (getColumnNearX): adjust
1539 * text.C (computeBidiTables): adjust
1542 * rowpainter.C (paintChars): adjust
1543 (paintSelection): adjust
1544 (paintChangeBar): adjust
1547 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1549 (numberOfSeparators): adjust
1551 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1557 * text3.C: Restricts the mouse click functionality
1558 of insets like bibtex, include, toc and floatlist to the visible
1559 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1560 up the dialogs. Cursor has to be in front of the inset (i.e.
1561 start of row) for this to function.
1563 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1565 * bufferview_funcs.C (currentState): output row information
1567 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1569 * bufferview_funcs.C (currentState): output paragraph position
1571 2003-09-04 Angus Leeming <leeming@lyx.org>
1573 * FloatList.h: move out #include "Floating.h".
1574 * LaTeX.h: move out #include "DepTable.h".
1575 * LyXAction.h: move out #include "funcrequest.h".
1576 * buffer.h: move out #include "author.h", "iterators.h".
1577 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1578 * lyx_main.h: move out #include "errorlist.h".
1579 * lyxfunc.h: move out #include "FuncStatus.h".
1580 * lyxtext: move out #include "lyxcursor.h".
1581 * paragraph_pimpl.h: move out #include "counters.h".
1583 2003-09-03 Angus Leeming <leeming@lyx.org>
1585 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1586 preamble_snippets list, enabling us to add snippets to the preamble
1587 only if the snippet was not there already.
1589 2003-09-04 Angus Leeming <leeming@lyx.org>
1591 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1593 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1595 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1598 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1600 * BranchList.C: point fix, earlier forgotten
1602 2003-09-02 Angus Leeming <leeming@lyx.org>
1604 * box.C (contains): renamed from 'contained' after a fantastic
1607 2003-09-02 John Levon <levon@movementarian.org>
1613 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1615 2003-09-02 John Levon <levon@movementarian.org>
1617 * text2.C: simplification of cursorEnd(), including partial
1620 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1622 * buffer.C (readFile): add a space
1624 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1626 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1628 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1630 * buffer.C (readFile): new function, take a filename and a
1631 ParagraphList::iterator
1633 (readFile): adjust, make it private. don't use setStream, make
1634 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1635 always contain the filename.
1637 * BufferView.C (insertLyXFile): simplify and make it work for
1640 2003-08-30 John Levon <levon@movementarian.org>
1642 * Makefile.am: fix dist (from Kayvan)
1644 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1646 * most files: change to use const Buffer refs
1648 2003-08-27 André Pönitz <poenitz@gmx.net>
1650 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1651 on top of ownerPar().
1653 2003-08-27 John Levon <levon@movementarian.org>
1655 * funcrequest.C: properly initialise POD members
1657 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1659 * lyxtext.h (top_y): move top_y from here
1664 * BufferView_pimpl.[Ch]: to here
1665 * frontends/screen.C:
1666 * insets/insettabular.C:
1667 * insets/insettext.C: adjust
1668 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1670 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1673 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1675 2003-08-26 André Pönitz <poenitz@gmx.net>
1677 * paragraph_func.[Ch] (outerPar): new function
1680 * paragraph_funcs.C:
1681 * paragraph_funcs.h:
1682 * paragraph_pimpl.C:
1683 * text2.C: remove Inset::par_owner
1685 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1690 * text2.C: eliminates the needFullRow/display() stuff
1691 altogether, putting the logic in metrics/draw in the insets.
1693 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1695 * text2.C (redoParagraphInternal, redoParagraphs):
1696 * text.C (redoParagraph): add a call to updateRowPositions at the
1697 end of each 'metrics-like' call. Remove all others.
1698 (getRow): remove the 'y-computing' version.
1699 (getRowNearY): do not compute nor return the real y. Solve the
1700 'y < 0' problem and simplify.
1702 2003-08-22 Angus Leeming <leeming@lyx.org>
1704 * *.[Ch]: clean-up of licence and author blurbs.
1705 Also move config.h out of a few .h files and into a few .C files.
1707 2003-08-22 André Pönitz <poenitz@gmx.net>
1709 * lyxrow.[Ch]: add x_ and *fill_ members
1714 * text2.C: adjust/remove prepareToPrint() calls
1716 2003-08-22 André Pönitz <poenitz@gmx.net>
1718 * lyxrow.[Ch]: add end_ member
1720 * lyxrow_funcs.C: use LyXRow::end_
1722 * lyxtext.h (singleWidth): add LyXFont parameter
1725 * text2.C: adjust LyXText::singleWidth() calls
1727 * text.C (redoParagraph): simplify row breaking logic
1730 2003-08-19 André Pönitz <poenitz@gmx.net>
1732 * funcrequest.C: initialize button_ member
1735 * rowpainter.[Ch]: interface consolidation
1737 2003-08-18 André Pönitz <poenitz@gmx.net>
1740 * BufferView_pimpl.C:
1742 * paragraph_funcs.C:
1744 * text3.C: remove LyXScreen::draw() and fitCursor calls
1746 * BranchList.h: remove spurious semicolons
1748 * MenuBackend.C: fix branchlist related crash
1750 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1758 * bufferparams.[Ch]:
1762 * text3.C: implements the 'branch inset'
1763 idea. This allows the output of various versions of a document
1764 from a single source version, selectively outputing or suppressing
1765 output of parts of the text.
1766 This implementation contains a 'branch list editor' in a separate
1767 tab of the document settings dialog. Branches are user definable
1768 and have a "display colour" to distinguish them on-screen.
1770 ColorHandler was somewhat cleaned up.
1771 (1) make possible a dynamically growing LColor list by allowing
1772 the graphic context cache to grow along (vector);
1773 (2) eliminate an IMHO unnecessary step in colour allocation.
1775 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1777 * BufferView_pimpl.C: compile fix
1779 2003-08-15 André Pönitz <poenitz@gmx.net>
1781 * rowpainter.C: remove extra metrics calls
1783 * lyxtext.h: merge the two constructors into a single one,
1784 pass reference to owner's par list
1786 * BufferView_pimpl.C:
1790 2003-08-15 André Pönitz <poenitz@gmx.net>
1792 * lyxrow_funcs.[Ch]:
1795 * paragraph_funcs.C:
1800 * text_funcs.C: split LyXText::rowlist_ into individual
1801 Paragraph::rows_ chunks
1804 * BufferView_pimpl.[Ch]:
1807 * text3.C: remove toggleSelection()
1809 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1811 * bufferlist.C: beautify two alerts (shorter text of buttons)
1812 * buffer.C: Remove redundant ' ' from message
1814 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1815 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1816 rename VALIGN_CENTER to VALIGN_MIDDLE
1818 2003-08-11 André Pönitz <poenitz@gmx.net>
1820 * lyxtext.h (getPar):
1821 * text.C: new function
1823 2003-08-11 André Pönitz <poenitz@gmx.net>
1826 * tracer.[Ch]: remove unneeded files
1828 * InsetList.[Ch]: remove resizeInsetsLyXText()
1833 * text3.C: merge insertParagraphs() and appendParagraph()
1834 remove breakAgain(), update()
1836 * BufferView_pimpl.[Ch]:
1837 * bufferview_funcs.[Ch]:
1841 * tabular.C: adjust after text & InsetList changes.
1843 2003-08-08 André Pönitz <poenitz@gmx.net>
1845 * text.C (insertChar, backspace): replace rowlist fiddling
1846 with rebreak of full par
1849 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1850 checkParagraph, updateInset): removed
1852 2003-08-07 André Pönitz <poenitz@gmx.net>
1855 * text3.C: merge some LFUN handlers, remove dead code
1857 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1859 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1861 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1863 * text2.C (DEPM): fix part of bug 1255 and 1256
1865 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1867 * BufferView_pimpl.C (workAreaDispatch): change to use
1868 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1869 that are no mouse related.
1871 2003-08-05 André Pönitz <poenitz@gmx.net>
1874 * BufferView_pimpl.[Ch]:
1875 * bufferview_funcs.C:
1877 * text3.C: rip out "deep update"
1879 * textcursor.[Ch] (last_sel_cursor): remove unused member
1881 2003-08-04 André Pönitz <poenitz@gmx.net>
1884 * BufferView_pimpl.[Ch]:
1885 * ParagraphParameters.C:
1886 * bufferview_funcs.C:
1892 * text3.C: replace "complicated" BufferView::update(...) calls with
1895 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1897 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1899 * Makefile.am (lyx_SOURCES): add paper.h
1901 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1903 * Makefile.am: move things around so that both lyx-qt and
1904 lyx-xforms can be built (according to --with-frontend). Then lyx
1905 is a symbolic link to lyx-[firstfrontend]
1907 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1909 * Always use std::endl with lyxerr
1911 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1913 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1915 2003-08-01 André Pönitz <poenitz@gmx.net>
1918 * BufferView_pimpl.[Ch]:
1920 * text3.C: merge BufferView::repaint() and BufferView::update()
1922 2003-08-01 José Matos <jamatos@lyx.org>
1924 * buffer.[Ch]: file_format is no longer a buffer data element.
1926 2003-08-01 André Pönitz <poenitz@gmx.net>
1931 * text2.C: make redoParagraph more independent of current cursor
1933 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1935 * text2.C: remove unneeded members
1937 2003-07-30 André Pönitz <poenitz@gmx.net>
1939 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1941 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1942 create a single function...
1944 * paragraph_funcs.C (moveItem): ... here.
1947 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1949 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1951 * LColor.[Ch]: Add comment and greyedout logical colors.
1953 2003-07-30 André Pönitz <poenitz@gmx.net>
1955 * tabular.C: don't use Assert too heavily. This crashes where it
1958 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1960 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1961 is disabled (bug 1232)
1963 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1965 * factory.C: limited 'arg' scope
1967 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1969 * factory.C: fixed Note submenu issues
1971 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1973 * factory.C: submenu for Note/Comment/Greyedout
1975 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1978 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1980 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1983 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1984 greyedout. Patch provided by Jürgen Spitzmüller.
1986 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1988 * kbmap.C (read): fix error message when reading bind files
1990 2003-07-29 Angus Leeming <leeming@lyx.org>
1992 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1993 certainly does not do what it purports to do. I am doing it, and
1994 us, a favour by killing it.
1996 2003-07-28 José Matos <jamatos@lyx.org>
1998 * buffer.C (readBody, do_writeFile):
1999 * paragraph.C(readParagraph): \end_document replaces \the_end.
2001 2003-07-29 André Pönitz <poenitz@gmx.net>
2004 * BufferView_pimpl.[Ch]:
2008 * textcursor.[Ch]: remove toggleToggle & Co
2010 2003-07-28 José Matos <jamatos@fep.up.pt>
2012 * buffer.C (readParagraph):
2013 * params_func (readParToken, readParagraph):
2014 * paragraph.C (write): \layout -> \begin_layout.
2016 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2018 * lyxlex_pimpl.C (setFile): clean up slightly.
2020 * bufferparams.h: add compressed var
2022 * buffer_funcs.C (readFile): adjust for LyXLex change
2023 (newFile): ditto + simplify
2025 * buffer.C (writeFile): handle writing of compressed files
2027 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2028 Check if the file is compressed and set a bufferparm if so.
2030 * Makefile.am (lyx_LDADD): remove explicit -lz
2032 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2034 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2035 makeDocBookFile): put the real LyX version in the first line of
2039 * version.C.in: remove lyx_docversion
2041 * tabular.C (write_attribute): add a template-based version to
2042 write enums properly
2044 2003-07-28 André Pönitz <poenitz@gmx.net>
2049 * text3.C: use doubles again for x-coordinates. They are needed.
2051 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2053 * messages.C (getLocaleDir): use lyx_localedir()
2055 * lyxlex_pimpl.C (setFile): compress stuff
2057 * buffer.C (writeFile): add some compression stuff
2058 (do_writeFile): new func, dont call expliti close... will this
2061 * Makefile.am (lyx_LDADD): add -lz
2063 2003-07-28 José Matos <jamatos@fep.up.pt>
2065 * buffer.C: increment file format.
2066 * paragraph_funcs (readParagraph, readParToken):
2067 * paragraph.C (readParagraph): add \end_layout.
2069 2003-07-27 Angus Leeming <leeming@lyx.org>
2071 * Makefile.am: remove special casing for configure-time setting of
2072 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2074 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2075 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2077 2003-07-26 André Pönitz <poenitz@gmx.net>
2079 * paragraph_func.[Ch]:
2080 * paragraph.C (realizeFont): inline it whereever it is used
2085 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2088 2003-07-26 André Pönitz <poenitz@gmx.net>
2092 * text2.C: get rid of LyXText::need_break_row
2094 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2096 * toc.[Ch]: put namespace toc inside namespace lyx
2098 * MenuBackend.C (expandToc2): adjust for lyx::toc
2101 * lyxfunc.C (dispatch): adjust for lyx::find
2103 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2104 lyx::find instead. Reorganize a bit.
2105 (LyXReplace): rename to replace
2106 (LyXFind): rename to find
2108 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2111 2003-07-26 André Pönitz <poenitz@gmx.net>
2113 * text.C (setHeightOfRow): restrict scope of temporary variable
2115 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2116 code (never has been used?)
2118 2003-07-27 Asger Alstrup <alstrup@local>
2120 * text.C (fill): Optimise algorithm to exploit that we can reuse
2121 the LyXFont for many characters.
2122 (setHeightOfRow): Same thing.
2123 (rowBreakPoint): Same thing.
2125 2003-07-26 Asger Alstrup <alstrup@local>
2127 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2129 * text.C (singleWidth): Spurious font copying in hot-spot
2130 singleWidth avoided. Reorder tests for arabic for efficiency.
2132 * text.C (fill): handle empty paragraphs better.
2134 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2137 * encoding.h: add includes
2139 * lyxrc.C: remove reading of bind files
2141 * lyx_main.C (init): setup bindings and menus only if we have a
2144 * kbmap.C (read): new method. Do the actual reading of bind
2147 * converter.C (dvipdfm_options):
2150 (output): adapt PAPER_* enums.
2152 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2154 * bufferparams.h: remove paper-related enums from there
2156 * paper.h: New file. A trivial header file to hold paper-related
2157 enums. It should later expand to contain many paper-related
2160 * lyxrc.C: declare extern displayTranslator
2162 2003-07-27 José Matos <jamatos@fep.up.pt>
2164 * tabular.[Ch] (linuxdoc): add support for tables and figures
2167 2003-07-27 José Matos <jamatos@fep.up.pt>
2169 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2170 consistency in both functions.
2171 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2173 2003-07-26 Asger Alstrup <alstrup@local>
2175 * rowpainter.C (paintRows): Change algorithm to work directly on
2176 the insets rather than asking every character in the document
2177 whether its an inset.
2179 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2181 * buffer.C (openFileWrite): factorize some code
2183 2003-07-26 Angus Leeming <leeming@lyx.org>
2186 * lyx_main.[Ch]: replace occurances of system_tempdir with
2189 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2191 * rename Inset to InsetOld
2193 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2195 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2196 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2197 which I think is a bit clearer. EDIT is gone, since it was
2198 premature optimisation, and broken for mathed anyway.
2199 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2200 with cursor positioning in insets as well (math insets still do not
2201 work, but that's a different story anyway.) It mysteriously
2202 crashes sometimes with undo in the first paragraph, but I'm fairly
2203 confident that this is a compiler bug.
2205 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2207 * paragraph.C (Paragraph): adjust for new clone return type
2209 (copyIntoMinibuffer): ditto
2211 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2213 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2214 by not having a special case, and always doing a full rebreak of
2215 the document after undo.
2217 2003-07-23 Angus Leeming <leeming@lyx.org>
2219 * factory.C (createInset): InsetExternal::setParams now takes a
2222 2003-07-23 Angus Leeming <leeming@lyx.org>
2224 * factory.C (createInset): changed interface to the external and
2225 graphics mailers' string2params functions.
2227 2003-07-23 Angus Leeming <leeming@lyx.org>
2229 * factory.C (createInset): pass a
2230 Buffer const * parameter to InsetExternalMailer's string2params.
2232 2003-07-22 John Levon <levon@movementarian.org>
2234 * Thesaurus.h: include the right aiksaurus header
2236 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2238 * MenuBackend.C (expand): check menu shortcuts unconditionally
2240 2003-07-21 Angus Leeming <leeming@lyx.org>
2242 * factory.C (createInset): pass a
2243 buffer_path parameter to InsetGraphicsMailer's string2params.
2245 2003-07-21 Angus Leeming <leeming@lyx.org>
2247 * BufferView_pimpl.C (buffer):
2250 * lyxfunc.C (dispatch):
2251 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2252 rather than the grfx shortcut.
2254 2003-07-21 André Pönitz <poenitz@gmx.net>
2256 * rowpainter.C: remove unused variables
2259 * tabular_funcs.h: move to tabular.C
2260 * Makefile.am: adjust
2262 * tabular.[Ch]: basic optical cleaning
2264 * author.h: pass references, not values
2266 2003-07-18 André Pönitz <poenitz@gmx.net>
2274 * text3.C: two-phase drawing for InsetText and InsetTabular
2275 some float -> int changes.
2277 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2279 * lyx_main.C: fix the fix
2281 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2283 * lyx_main.C: fix a crash in batch mode if no files specified
2286 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2288 * format.[Ch] (papersize): moved to BufferParams
2289 * converter.[Ch] (dvips_options): moved to BufferParams
2290 (dvipdfm_options): moved to anon namespace
2291 * bufferparams.[Ch]: added above functions.
2293 2003-07-17 André Pönitz <poenitz@gmx.net>
2297 * text2.C: don't call inset->update() anymore
2299 * metricsinfo.[Ch]: add convenience constructor
2301 2003-07-16 André Pönitz <poenitz@gmx.net>
2306 * text2.C: replace the LyXCursor::irow_ member with
2307 on-demand computation of the value
2309 2003-07-16 John Levon <levon@movementarian.org>
2311 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2313 2003-07-15 André Pönitz <poenitz@gmx.net>
2316 * text2.C: remove no more needed refresh_row
2318 2003-07-15 André Pönitz <poenitz@gmx.net>
2323 * text3.C: refresh_status tristate -> need_update bool
2325 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2327 * lyxtext.h (init): remove reinit argument (act as if always true)
2328 * text2.C: adjust to that
2330 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2332 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2333 * text3.C: use it to delete selections in some cases
2334 (bugs 441, 673, 702, 954).
2336 2003-07-14 André Pönitz <poenitz@gmx.net>
2338 * rowpainter.[Ch]: reduce interface
2340 2003-07-14 André Pönitz <poenitz@gmx.net>
2342 * BufferView_pimpl.C:
2343 * text2.C: adjust after removing unused BufferView * argument
2345 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2347 * text2.C (init): fix a crash fired on resize
2349 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2351 * buffer.[Ch]: added new closing signal
2352 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2353 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2354 BufferView::Pimpl via the closing the signal
2356 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2358 * buffer.[Ch]: take out all bv-related from buffer
2360 * BufferView_pimpl.[Ch]: connect to new signals
2361 * CutAndPaste.C: removed useless asserts
2362 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2365 * lyxfunc.C: moved view-related funciontality from vc here
2366 * paragraph.C: removed outdated comments
2369 2003-07-10 André Pönitz <poenitz@gmx.net>
2371 * BufferView_pimpl.C:
2375 * text2.C: remove InsetText::InnerCache, clean up consequences
2377 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2379 * ispell.C: fix two typos in error messages
2381 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2383 * Extend Note inset to other forms of annotation like Comment
2384 and Greyedout. Right button click gives dialog.
2386 Files modified or added (+):
2390 * ControlNote.[Ch] +
2392 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2393 frontends/controllers
2397 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2399 * aspell.C: add missing namespace lyx::support
2401 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2403 * BufferView.[Ch] (newFile): Add
2404 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2405 * LaTeX.[Ch] (message): added this signal and use it
2406 * buffer.[Ch] (busy, message): added these signals and use them
2407 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2411 * importer.C: use buffer signals instead of direct bv calling
2412 * lyx_cb.[Ch] (ShowMessage): removed
2415 * paragraph_funcs.C:
2416 * text2.C: use buffer signals
2418 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2420 * introduce namespace lyx::graphics
2422 2003-07-02 André Pönitz <poenitz@gmx.net>
2424 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2426 2003-07-01 André Pönitz <poenitz@gmx.net>
2433 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2434 text*.C to text_func.C
2436 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2438 * introduce namespace lyx::support
2440 2003-06-30 André Pönitz <poenitz@gmx.net>
2445 * text.C: re-enable --with-included-string
2447 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2449 * textcursor.C: add <config.h>
2451 * text.C (getWord): remove const from word_location arg
2453 * lyxvc.C (getLogFile): fix const type order
2455 * lyxtext.h: remove const from word_location arg, add arg name
2457 * lyxlayout.h: currect type on labeltype.
2459 * importer.C: correct \file
2461 * converter.C (intToFormat): use std:: on ret val, ws changes
2463 * bufferlist.h: correct \file
2465 * buffer.C (makeLinuxDocFile): fix const type order
2466 (makeDocBookFile): ditto
2467 (fillWithBibKeys): use std:: on stdlib args.
2469 * CutAndPaste.C: fix authors.
2470 (availableSelections): use std:: on return vector
2472 2003-06-27 André Pönitz <poenitz@gmx.net>
2474 * BufferView_pimpl.C:
2475 * bufferview_funcs.C:
2483 * text3.C: remove LyXCursor::row_ member
2486 * text.C: rename fullRebreak() to partialRebreak() and implement
2487 a fullRebreak() that really bereks fully
2489 * textcursor.h: new struct for cursor-related data
2491 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2493 * lyx_main.C (LyX): get full path of document loaded on the
2496 2003-06-26 André Pönitz <poenitz@gmx.net>
2498 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2499 remove unused/broken operator>,<,>=.
2501 * text.C: remove only use of broken operator<= in an Assert().
2503 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2505 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2506 moved errorlist_.clear to showErrorList
2508 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2510 * converter.C (scanLog, runLaTeX):
2511 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2512 move the bv->showErrorList call to the callers
2513 * lyxfunc.C: i.e. here...
2515 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2516 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2517 namespace, the second to...
2518 * buffer_funcs (BufferFormat, parseErrors): added
2519 * errorlist.C (ErrorList(TeXErrors const &)): removed
2521 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2523 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2525 2003-06-24 "Garst R. Reese" <reese@isn.net>
2529 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2531 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2533 * version.C.in: change docversion to 1.4
2535 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2537 * buffer.C: fix a bug just introduced
2539 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2541 * buffer.[Ch]: added the parseError signal and use it, removed
2543 * BufferView.[Ch] (addError): moved to ...
2544 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2545 to the Buffer::parseError signal to catch (guess what) parse errors
2546 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2548 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2550 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2551 ability to create a buffer and to return an existing one from
2552 the list. Moved these functions to...
2553 * buffer_funcs.[Ch]: added
2554 * BufferView.[Ch] (loadLyXFile): added
2555 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2556 job removed from bufferlist::loadLyXFile.
2557 * buffer.C (setReadOnly): make it work without view
2558 (i.e added an if (users))
2560 2003-06-19 Angus Leeming <leeming@lyx.org>
2563 * LyXAction.C (init):
2564 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2565 with LFUN_DIALOG_SHOW <name> <data>.
2567 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2569 * CutAndPaste.C (availableSelections): small compilation fix for
2570 ancient (gcc 2.9x) compilers
2572 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2574 * text3.C (cursorNext): add tmp var
2576 * text2.C (updateCounters): for function calling out of for clause
2577 (replaceSelectionWithString): ditto
2578 (insertStringAsParagraphs): ditto
2579 (getColumnNearX): add tmp var
2580 (setCursorFromCoordinates): add tmp var
2581 (cursorDownParagraph): add tmp var
2582 (deleteEmptyParagraphMechanism): add tmp var
2584 * text.C (insertChar): add tmp var
2586 * rowpainter.C (paintDepthBar): add tmp var
2588 * CutAndPaste.C (availableSelections): potentially check all
2589 paragraphs in a cut to fill the shown strings.
2591 2003-06-18 André Pönitz <poenitz@gmx.net>
2593 * kbmap.[Ch]: use vector<> instead of list<>
2595 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2597 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2598 pasteSelection with index
2600 * text2.C (pasteSelection): modify, call pasteSelection with index
2602 * paragraph.C (asString): reimplement version with no interval to
2603 call the one with interval.
2605 * lyxtext.h: add index arg to pasteSelection
2607 * MenuBackend.C (MenuItem): handle PasteRecent
2608 (Menu::read::Menutags): add md_pasterecent
2610 (expandPasteRecent): new function
2613 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2615 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2617 (availableSelections): new function
2619 2003-06-17 Angus Leeming <leeming@lyx.org>
2621 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2623 2003-06-17 Angus Leeming <leeming@lyx.org>
2626 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2628 * lyxfunc.C (dispatch): invoke it.
2630 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2632 * iterators.C (operator++, ParPosition): reintroduce some
2633 const_cast for the benefit of older compilers.
2635 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2637 * text3.C (dispatch): do not modify clipboard when doing
2638 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2639 LFUN_DELETE_SKIP on a selection selection
2641 2003-06-16 André Pönitz <poenitz@gmx.net>
2647 * tabular.[Ch]: IU of clone() and getLabelList();
2649 2003-06-13 André Pönitz <poenitz@gmx.net>
2651 * tabular.h: compactification
2653 2003-06-12 André Pönitz <poenitz@gmx.net>
2657 * tabular_funcs.h: some renaming plus whitespace
2659 2003-06-12 André Pönitz <poenitz@gmx.net>
2662 * BufferView_pimpl.C:
2668 * toc.C: Return a Paragraph & for ParIterator::operator*()
2670 2003-06-11 John Levon <levon@movementarian.org>
2674 * ToolbarBackend.C: add "Toolbars" section and
2677 2003-06-10 Angus Leeming <leeming@lyx.org>
2680 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2682 * lyxfunc.C (dispatch): invoke it.
2684 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2686 * main.C: protect <ios> with HAVE_IOS
2687 (main): protect sync_with_stdio with HAVE_IOS
2689 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2691 * text2.C (cutSelection): adjust
2692 (pasteSelection): adjust
2694 * messages.C: handle get of empty string
2696 * main.C (main): use sync_with_stdio(false)
2698 * lyxfunc.C (dispatch): adjust
2700 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2701 (WriteAs): remove unneeded BufferView arg.
2703 * bufferparams.h: use correct types on papersize, papersize2 and
2706 * bufferparams.C (readToken): adjust for type
2707 (writeLaTeX): add missing cases to switch.
2709 * bufferlist.C (quitWriteBuffer): adjust
2712 * buffer.C (asciiParagraph): remove some commented code.
2714 * CutAndPaste.C: remove current_view extern variable.
2715 (cutSelection): add BufferParams arg.
2716 (eraseSelection): add BufferParams arg.
2717 (pasteSelection): add Buffer const & arg
2719 2003-06-07 John Levon <levon@movementarian.org>
2722 * paragraph_funcs.C:
2723 * paragraph_pimpl.C:
2727 * paragraph.C: allow InsetERT to freely space lines,
2728 and some consolidation of code
2730 2003-06-06 José Matos <jamatos@fep.up.pt>
2732 * buffer.C (makeDocBookFile): fix bug #821
2734 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2736 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2738 2003-06-04 Angus Leeming <leeming@lyx.org>
2740 * buffer.C: bump format to 224.
2742 2003-06-05 André Pönitz <poenitz@gmx.net>
2744 * text2.C (redoParagraphs): remove two const_cast<>
2746 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2748 * ParagraphList.h: remove last remnants of NO_STD_LIST
2750 2003-06-03 Angus Leeming <leeming@lyx.org>
2752 * factory.C (createInset): small change to the way InsetExternal's params
2755 2003-06-04 André Pönitz <poenitz@gmx.net>
2757 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2759 * paragraph_pimpl.h:
2760 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2762 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2764 * undo_funcs.C: make some simple cases of undo work again
2766 2003-06-03 John Levon <levon@movementarian.org>
2768 * ispell.C: HPUX doesn't have sys/select.h
2771 2003-06-03 John Levon <levon@movementarian.org>
2773 * CutAndPaste.C: update tabular and include inset
2778 * paragraph.C: remove owningBuffer(), don't pass Buffer
2781 * factory.C: insetGraphicsParams changed
2783 2003-06-02 John Levon <levon@movementarian.org>
2789 * text3.C: remove insetparent
2791 2003-06-02 John Levon <levon@movementarian.org>
2794 * buffer.C: fix inset_iterator.end(), move out of line
2797 2003-06-01 John Levon <levon@movementarian.org>
2799 * text3.C: use a proper cut/paste when doing inset
2800 insert (from Jürgen Spitzmüller)
2802 2003-06-01 John Levon <levon@movementarian.org>
2804 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2806 2003-05-30 André Pönitz <poenitz@gmx.net>
2808 * rowpainter.C: unify second drawing phase
2810 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2812 * trans_mgr.C: remove one case of current_view
2814 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2816 * paragraph_funcs.h: remove paragraph.h include
2818 * paragraph.h: delete NO_STD_LIST stuff
2820 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2822 * buffer.h: remove paragraph.h include
2824 * ParagraphList.C: delete file
2826 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2828 * toc.C (getTocList): adjust
2830 * paragraph_pimpl.C (validate): adjust
2832 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2834 * paragraph.C (Paragraph): adjust
2835 (getPositionOfInset): use const_iterator, adjust
2836 (bibitem): use const_iterator, adjust
2837 (setInsetOwner): adjust
2839 * iterators.C (operator++): adjust
2841 * InsetList.[Ch]: Replace selfmade iterator with standard
2842 vector::iterator also introduce const_iterator. Remove getPos,
2843 getInset and setInset from InsetTable. Adjust accordingly.
2845 * BufferView.C (lockInset): adjust
2846 (ChangeInsets): adjust
2848 * tabular.[Ch]: delete commented same_id functions
2850 2003-05-28 John Levon <levon@movementarian.org>
2852 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2854 2003-05-28 André Pönitz <poenitz@gmx.net>
2856 * metricsinfo.[Ch]: remove 'fullredraw' member
2858 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2860 * lyxtextclass.C (operator): remove caching.
2862 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2866 * text2.C (cursorBottom): adjust
2867 (setCounter): use ParagraphList::find, adjust
2869 * text.C (workWidth): use ParagraphList::find, adjust
2871 * lyxcursor.C (LyXCursor): adjust
2873 * buffer.C (inset_iterator): adjust
2875 * ParagraphList.h: make iterator(value_type) private, make
2876 ParagraphList a friend of iterator.
2878 * ParagraphList.C (find): new function
2880 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2882 2003-05-27 André Pönitz <poenitz@gmx.net>
2884 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2886 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2888 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2890 2003-05-26 John Levon <levon@movementarian.org>
2892 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2894 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2896 * remove same_id from function signatures, adjust.
2898 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2900 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2902 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2904 * paragraph.C (Paragraph): get rid of same_ids parameter
2906 * ParagraphList.C (insert): adjust
2909 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2911 * paragraph_funcs.C (breakParagraph): adjust
2912 (breakParagraphConservative): adjust
2914 * buffer.C (readParagraph): adjust
2916 * ParagraphList.C (insert): take a reference instead of a pointer
2919 * paragraph.[Ch] (id): new function
2921 * bufferlist.C (newFile): adjust
2923 * ParagraphList.C (ParagraphList): adjust
2925 (push_back): take a reference instead of a pointer.
2927 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2929 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2932 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2933 set else use old code.
2935 * ParagraphList.C: remove all NO_NEXT code and only compile this
2936 code of NO_STD_LIST is set.
2938 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2940 * BufferView_pimpl.C:
2950 * graphics/GraphicsConverter.C:
2951 * graphics/PreviewLoader.C: header adjustment
2953 2003-05-23 Angus Leeming <leeming@lyx.org>
2955 * LaTeXFeatures.[Ch] (useBabel): new method.
2956 * bufferparams.C (writeLaTeX): use it.
2958 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2960 * ParagraphList.h (set): remove unused function.
2962 2003-05-23 André Pönitz <poenitz@gmx.net>
2965 * BufferView_pimpl.C:
2969 * undo_funcs.C: setUndo reworked
2971 * iterators.[Ch]: add access to topmost ParagraphList
2973 * lyxtext.[Ch] (workWidth): add a const
2975 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2977 * texrow.[Ch] (increasePos): remove function
2978 * exporter.C (export): removed unused var and outdated comment
2980 2003-05-23 Angus Leeming <leeming@lyx.org>
2982 * latexrunparams.h: rename fragile as moving_arg.
2983 * paragraph.C (simpleTeXOnePar): ditto.
2984 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2986 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2988 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2990 (textUndoOrRedo): comment out a currently unused var.
2992 * paragraph.h (NO_NEXT): enable NO_NEXT
2994 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2996 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2998 * exporter.C (Export): adjust for removeAutoInsets removal.
3000 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3002 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3004 * BufferView.[Ch] (removeAutoInsets): delete function
3006 2003-05-22 Angus Leeming <leeming@lyx.org>
3008 * latexrunparams.h: add a free_spacing variable.
3010 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3011 to pass moving_arg, as the data is stored in runparams.fragile.
3013 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3014 to Inset::latexOptional or to simpleTeXOnePar.
3016 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3017 free_spacing arg to Inset::latexOptional.
3019 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3022 2003-05-22 Angus Leeming <leeming@lyx.org>
3024 * latexrunparams.h: add fragile and use_babel variables.
3026 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3027 * buffer.C (makeLaTeXFile): store this returned value in
3028 runparams.use_babel, thus passing it to the inset::latex methods.
3030 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3031 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3033 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3034 longer has a fragile arg, as it is stored in runparams.fragile.
3036 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3037 moving_arg parameter as the data is stored in runparams.fragile.
3039 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3040 a fragile parameter as the data is stored in runparams.fragile.
3042 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3044 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3046 2003-05-22 Angus Leeming <leeming@lyx.org>
3048 * latexrunparams.h: add a 'bool nice' which defaults to false.
3050 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3051 now encapsulated within runparams.
3053 * bufferlist.C (updateIncludedTeXfiles):
3054 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3056 2003-05-22 Angus Leeming <leeming@lyx.org>
3058 * latexrunparams.h: new file containing struct LatexRunParams.
3059 * Makefile.am: add new file.
3061 * LaTeX.[Ch] (c-tor, run):
3062 * buffer.[Ch] (makeLaTeXFile):
3063 * bufferlist.[Ch] (updateIncludedTeXfiles):
3064 * converter.C (convert, scanLog):
3065 * converter.[Ch] (runLaTeX):
3066 * exporter.C (Export):
3067 * paragraph.[Ch] (simpleTeXOnePar):
3068 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3069 * paragraph_funcs.[Ch] (latexParagraphs):
3070 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3071 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3072 pass around a LatexRunParams parameter.
3074 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3076 * paragraph.[Ch]: remove unused constructor
3078 * ParagraphList.C (erase): new function, taking two iterators
3080 2003-05-22 André Pönitz <poenitz@gmx.net>
3082 * undo_funcs.C: remove duplicated code
3084 * iterator.[Ch]: operator=
3086 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3088 * tabular.C (SetMultiColumn): ws changes
3090 * rowpainter.C (paintFirst): get rid of a ->previous
3092 * lyx_cb.C (getPossibleLabel): parlist simplification
3094 * BufferView.C (ChangeInsets): simplify slightly.
3096 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3098 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3099 * lfuns.h: new LFUN_SPACE
3100 * lyxfunc.C: protected space has a new lfun
3101 * paragraph_funcs.C: read new space insets
3103 * factory.C: handle new space insets
3105 2003-05-22 André Pönitz <poenitz@gmx.net>
3108 * BufferView_pimpl.C:
3111 * undo_funcs.C: return a ParIterator from getParFromID.
3113 * iterators.[Ch]: add two const's
3115 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3117 * toc.C (getTocList): adjust
3119 * iterators.[Ch]: rework for parlist
3121 * buffer.C (par_iterator_begin): adjust
3122 (par_iterator_end): adjust
3124 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3126 * BufferView.C (removeAutoInsets): adjust
3127 (ChangeInsets): adjust
3129 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3131 * text.C (top_y): fix bug 1110
3133 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3135 * errorlist.[Ch]: added
3138 * BufferView_pimpl.C:
3139 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3142 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3144 * Makefile.am: ensure that lyx is relinked upon changes to the
3145 various "convenience" libs.
3147 2003-05-20 Angus Leeming <leeming@lyx.org>
3149 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3150 files are compiled in alphabetical order again.
3152 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3154 2003-05-19 Angus Leeming <leeming@lyx.org>
3156 * gettext.[Ch]: remove "char const * _(char const *)".
3158 2003-05-19 André Pönitz <poenitz@gmx.net>
3160 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3169 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3171 2003-05-19 André Pönitz <poenitz@gmx.net>
3175 * lyxtextclass.[Ch]:
3177 * paragraph_funcs.[Ch]:
3179 * text3.C: more insetenv work
3181 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3183 * ParagraphParameters.C (params2string): small bug fixed
3185 2003-05-16 André Pönitz <poenitz@gmx.net>
3188 * bufferview_funcs.C: patch from Kornel Benko to prevent
3189 crash when _(...) is called twice in a statement
3191 2003-05-16 André Pönitz <poenitz@gmx.net>
3198 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3200 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3202 * lyx_main.C (init): remove spurious static_cast
3204 2003-05-14 André Pönitz <poenitz@gmx.net>
3206 * BufferView.C: fix format string
3208 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3210 * BufferView.[Ch] (insertErrors): removed
3211 * BufferView.[Ch] (showErrorList): added
3212 * buffer.C (runChkTeX):
3213 * converter.C (scanLog): call showErrorList instead of inserterrors
3215 2003-05-13 André Pönitz <poenitz@gmx.net>
3217 * BufferView_pimpl.C:
3219 * bufferview_func.C:
3226 * tabular_funcs.h: tostr() from its own header
3228 * ParagraphParameters.C:
3233 * text3.C: STRCONV()
3235 2003-05-12 André Pönitz <poenitz@gmx.net>
3238 * BufferView_pimpl.C:
3242 * ParagraphParameters.C:
3246 * bufferview_funcs.C:
3259 * paragraph_funcs.C:
3263 * text3.C: boost::format -> bformat all over the place
3266 2003-05-09 André Pönitz <poenitz@gmx.net>
3268 * LColor.[Ch]: Pimpl the #include <map> away
3270 2003-05-09 John Levon <levon@movementarian.org>
3272 * bufferlist.C: never remove emergency saves
3274 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3276 * Makefile.am: better lib building
3278 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3280 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3282 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3283 (simpleTeXSpecialChars): adjust
3284 (simpleTeXSpecialChars): adjust
3285 * paragraph.C (simpleTeXOnePar): adjust
3286 * buffer.C (makeLaTeXFile): adjust
3288 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3290 * text2.C (changeDepth): parlist cleanup
3291 (getColumnNearX): ditto
3293 * rowpainter.C (getLabelFont): parlist cleanup
3295 * bufferlist.C (newFile): parlist cleanup
3297 * CutAndPaste.C (eraseSelection): parlist cleanup
3299 * BufferView_pimpl.C (trackChanges): parlist cleanup
3302 * BufferView.C (lockInset): parlist cleanup.
3303 (ChangeInsets): ditto
3305 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3307 * CutAndPaste.h: Update file header.
3309 * CutAndPaste.C: Update file header.
3310 Store the parts cut out of the Document in a limited_stack.
3311 (copySelection): adjust
3312 (pasteSelection): new function, takes the index in the limited stack.
3313 (nrOfParagraphs): adjust
3314 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3315 simplify error inset insertion.
3316 (checkPastePossible): adjust
3318 2003-05-06 John Levon <levon@movementarian.org>
3320 * text2.C: don't cast wrap inset to float
3322 2003-05-05 André Pönitz <poenitz@gmx.net>
3325 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3327 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3328 few naked Paragraph *.
3330 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3332 * bufferparams.C: Output warning if a document with missing
3333 TeX document class is loaded
3334 * exporter.C: Disable TeX exports if the document class is missing
3337 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3338 isTeXClassAvailable()
3340 2003-05-03 John Levon <levon@movementarian.org>
3343 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3344 explicit cursor show/hide
3346 * BufferView_pimpl.h:
3347 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3348 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3350 * lyxfunc.C: hide cursor before dispatching.
3355 * text3.C: remove explicit cursor hides
3357 2003-05-02 André Pönitz <poenitz@gmx.net>
3359 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3362 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3365 * text2.C: tiny whitespace
3367 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3369 * undo_funcs.C: almost only ws changes.
3371 * ParagraphList.C (splice): just return if pl is empty.
3373 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3375 * ParagraphList.C (splice): new function.
3377 * CutAndPaste.C (pasteSelection): use it
3379 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3381 * CutAndPaste.C (pasteSelection): remove the last next and
3382 previous from this file.
3384 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3386 * CutAndPaste.C (pasteSelection): more clean up, user proper
3387 ParagraphList functions for pasteing.
3389 * ParagraphList.C (insert): new function, three arg insert
3391 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3393 * ParagraphList.C (insert): new function, three arg insert
3395 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3398 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3400 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3402 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3404 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3406 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3408 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3409 (copySelection): clean up a bit.
3410 (pasteSelection): use make_pair
3412 * ParagraphList.C (ParagraphList): implement copy constructor
3413 (operator=): implement, base on copy constructor.
3416 * paragraph.C (erase): return a bool
3418 * paragraph_pimpl.C (erasePos): remove function, move contents...
3419 (erase): ... here. Return a bool.
3420 (erase): call erase instead of erasePos.
3422 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3424 * ParagraphList.h: define PitPosPair
3425 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3426 ParagraphList, fix a bug on pasting multiple pars
3427 * text2.C: change interface to C&P
3429 2003-04-30 André Pönitz <poenitz@gmx.net>
3431 * undo_func.C: revert part of yesterday's patch 2
3433 2003-04-30 John Levon <levon@movementarian.org>
3435 * LColor.C: s/tabular/table/
3437 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3439 * text3.C (dispatch): do not convert iterator -> pointer
3440 * undo_funcs.C (setCursorParUndo): ditto
3441 * text_funcs.C (transposeChars): ditto
3443 * text2.C (setLayout): ws changes only
3445 * text.C (breakParagraph): do not convert iterator -> pointer
3447 (acceptChange): ditto
3448 (rejectChange): ditto
3453 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3456 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3458 * text3.C (gotoInset): YABG (yet another bad getChar)
3460 2003-04-29 André Pönitz <poenitz@gmx.net>
3462 * paragraph.h: make operator= private unimplemented as long as
3465 * ParagraphList.C: whitespace
3468 * paragraph_pimpl.[Ch]:
3469 * paragraph_funcs.C:
3471 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3474 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3476 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3478 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3479 * paragraph.[Ch] (erase):
3480 * paragraph_pimpl.[Ch] (erase): change return type and value
3481 * text2.C (cutSelection): some rework
3483 2003-04-28 John Levon <levon@movementarian.org>
3485 * bufferlist.C: changes for unsaved changes dialog
3487 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3489 * bufferlist.C (newFile): set language (messages_) for new
3492 * buffer.C (readFile): ws changes only.
3494 2003-04-28 André Pönitz <poenitz@gmx.net>
3499 * BufferView_pimpl.C:
3500 * BufferView.C: getParFromID related ParagraphList::iterator changes
3502 2003-04-28 André Pönitz <poenitz@gmx.net>
3504 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3507 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3509 * messages.C: remove one more localedir class variable.
3511 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3513 * messages.C (getLocaleDir): singleton generation function
3515 (Messages): add a default constructor.
3517 * main.C (main): do not setup localedir here, do not call
3520 * gettext.C (_): use it.
3521 (gettext_init): delete funciton
3523 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3525 * gettext.C (getLyXMessages): new singleton generating function.
3527 * buffer.C (updateDocLang): adjust
3529 * Makefile.am (messages.o): add target
3530 (main.o): remove target
3532 2003-04-27 John Levon <levon@movementarian.org>
3537 * lyxvc.C: specify cancel button in Alert::prompt
3539 2003-04-26 John Levon <levon@movementarian.org>
3544 * LyXAction.C: add LFUN_INSET_SETTINGS
3546 * lyxfunc.C: don't enable tabular-feature when there's
3547 just any locking inset
3549 2003-04-26 John Levon <levon@movementarian.org>
3551 * bufferlist.C: re-add Cancel to buffer close question
3553 * lyxfunc.C: fix import UI a bit
3555 2003-04-25 John Levon <levon@movementarian.org>
3557 * gettext.C: remove the broken asserts for now
3559 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3561 * messages.C: make case where setlocale cannot comply work better.
3563 * buffer.C (updateDocLang): new function
3564 (changeLanguage): use it
3567 * text2.C (setCounter): use B_ a bit.
3569 * lyxlayout.C (Read): be sure to trim the label strings.
3571 * messages.C (Messages): fix typo in comment
3573 * buffer.C (readFile): set message_ after file is loaded.
3574 (makeDocBookFile): remove double return
3575 (changeLanguage): reset message_ upon language change.
3576 (B_): new func, use this to get translated buffer strings.
3578 * main.C: add myself and Jean Marc as authors.
3580 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3582 * messages.[hC]: pimplify Messages, and three different pimpls to be
3583 used in different circumstances.
3585 * gettext.[Ch]: change for use with new message code.
3587 2003-04-24 André Pönitz <poenitz@gmx.net>
3589 * factory.C: support for eqref
3591 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3593 * messages.[Ch]: add missing char
3595 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3597 * messages.[Ch]: New files
3599 2003-04-18 John Levon <levon@movementarian.org>
3603 * BufferView_pimpl.C:
3607 * text2.C: remove layout-copy/paste (bug 778)
3609 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3611 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3613 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3615 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3616 if they succeed. Act accordingly.
3618 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3620 * text2.C (setCharFont): adjust
3621 (setCounter): adjust
3622 (insertStringAsLines): adjust
3624 * text.C (leftMargin): adjust
3625 (setHeightOfRow): adjust
3627 * rowpainter.C (paintFirst): adjust
3630 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3632 (isFirstInSequence): ditto
3633 (getEndLabel): ditto
3636 * paragraph.C (getParLanguage): comment out some hard stuff.
3638 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3640 (simpleDocBookOnePar): ditto
3641 (makeDocBookFile): use ParagraphList::iterator
3643 * CutAndPaste.C (pasteSelection): adjust
3645 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3647 * text2.C (getFont): adjust
3648 (getLayoutFont): adjust
3649 (getLabelFont): adjust
3651 * paragraph_funcs.C (TeXOnePar): adjust
3653 * buffer.C (simpleLinuxDocOnePar): adjust
3654 (simpleDocBookOnePar): adjust
3656 * CutAndPaste.C (pasteSelection): adjust
3658 * BufferView.C (getEncoding): adjust
3660 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3662 2003-04-16 John Levon <levon@movementarian.org>
3664 * lyxfind.C: use parlist stuff for search/changes
3666 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3668 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3670 * text2.C (deleteEmptyParagraphMechanism): adjust
3672 * text2.[Ch] (ownerParagraph): delete func (both of them
3674 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3676 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3678 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3680 * ParagraphList.C: prepare for NO_NEXT
3682 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3684 * text2.C (getFont): adjust
3685 (getLayoutFont): adjust
3686 (getLabelFont): adjust
3688 * paragraph.C (getFont): adjust
3689 (getLabelFont): adjust
3690 (getLayoutFont): adjust
3692 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3694 2003-04-15 John Levon <levon@movementarian.org>
3698 * lyx_main.C: handle Include in .ui files
3700 2003-04-15 John Levon <levon@movementarian.org>
3702 * MenuBackend.C: make the doc files length shorter
3705 * ToolbarBackend.C: handle toolbar placement flags,
3708 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3710 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3713 * paragraph_funcs.C (TeXOnePar): adjust
3715 * paragraph.C (getLabelFont): add outerfont arg, adjust
3716 (getLayoutFont): ditto
3717 (simpleTeXOnePar): adjust
3719 * paragraph_pimpl.C (realizeFont): delete func
3721 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3723 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3724 row argument, constify cur argument.
3726 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3728 * text2.C (getFont): adjust
3729 (getLayoutFont): adjust
3730 (getLabelFont): adjust
3732 * paragraph_funcs.C (TeXOnePar): adjust
3733 (outerFont): new func...
3734 (realizeFont): ...moved out from here, changed this to facilitate
3737 * paragraph.C (getFont): take outerfont as arg, adjust
3738 (simpleTeXOnePar): add outerfont arg, adjust
3740 * buffer.C (simpleLinuxDocOnePar): adjust
3741 (simpleDocBookOnePar): adjust
3743 * CutAndPaste.C (pasteSelection): adjust
3745 * BufferView.C (getEncoding): adjust
3747 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3749 * text2.C (setCharFont): adjust
3750 (setCounter): adjust
3752 * text.C (leftMargin): adjust
3753 (setHeightOfRow): adjust
3755 * rowpainter.C (paintFirst): adjust
3758 * paragraph_pimpl.C (realizeFont): adjust
3760 * paragraph.C (isFirstInSequence): move from here...
3761 * paragraph_funcs.C (isFirstInSequence): ...to here
3763 * paragraph.C (outerHook): move from here...
3764 * paragraph_funcs.C (outerHook): ...to here
3766 * paragraph.C (depthHook): move from here...
3767 * paragraph_funcs.C (depthHook): ...to here
3769 * paragraph.C (getEndLabel): move from here...
3770 * paragraph_funcs.C (getEndLabel): ...to here
3772 * text2.C (realizeFont): move from here...
3773 * paragraph_funcs.C (realizeFont): ...to here
3775 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3777 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3779 2003-04-14 Angus Leeming <leeming@lyx.org>
3781 * LColor.[Ch]: scrap LColor mathcursor.
3783 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3785 * lyxlex.[Ch] (text): delete function
3786 * trans.C (Load): adjust
3787 * paragraph_funcs.C (readParToken): adjust
3789 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3791 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3792 vector<char> instead of a char[].
3794 * lyxlex_pimpl.C (getString): adjust
3796 (lex): use getString
3800 * lyxlex.C (text): use pimpl_->getString()
3804 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3806 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3807 (makeFontEntriesLayoutSpecific): temp var for par.size()
3808 (setLayout): temp var for ownerParagraphs().end()
3809 (fullRebreak): temp var for rows().end()
3810 (selectionAsString): temp var for boost::next(startpit), realize
3811 that the while really is a regular for loop.
3812 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3813 setCursor in one place.
3814 (setParagraph): temp vr for ownerParagraphs().end()
3815 (updateCounters): make the while loop a for loop
3816 (cutSelection): temp var for ownerParagraphs().end()
3817 (updateInset): make the do {} while() a regular for loop
3818 (getCursorX): use temp vars
3819 (setCurrentFont): use temp vars
3820 (getColumnNearX): use temp vars
3822 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3824 * text.C (transformChar): use temp var for getChar
3825 (computeBidiTables): use temp var for row->par()
3826 (fill): move temp vars for row->par() and pit->layout() earlier in
3828 (labelFill): use temp var for row->par()
3829 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3830 asc and desc, realize that pit never changes and that firstpit is
3831 just a duplicate and not needed. Exchange rit->par() with pit in a
3833 (breakAgain): use a temp var for boost::next(rit)
3834 (breakAgainOneRow): ditto
3835 (breakParagraph): use a temp var for rows().begin()
3836 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3837 (cursorRightOneWord): use temp var for cursor.par() and
3838 cursor.pos(), remove usage of tmpcursor.
3839 (cursorLeftOneWord): use temp var for cursor.par() and
3840 cursor.pos() only set cur at end of function.
3842 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3844 * text.C, text2.C: exchange all usage of Paragraph::next with
3845 boost::next(ParagraphList::iterator)
3847 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3849 * text2.C (cursorTop): simplify implementation
3850 (cursorBottom): ditto
3851 (setParagraph): use ParagraphList::iterator
3852 (setCurrentFont): adjust
3853 (getColumnNearX): adjust
3854 (cursorRight): adjust
3855 (cursorLeft): remove usage of Paragraph::previous
3856 (cursorUpParagraph): ditto
3857 (deleteEmptyParagraphMechanism): slight cleanup
3859 * text.C (isBoundary): take a Paragraph const & instead of a
3861 (addressBreakPoint): ditto
3862 (leftMargin): remove usage of Paragraph::previous.
3863 (setHeightOfRow): ditto
3864 (cursorLeftOneWord): ditto
3865 (selectNextWordToSpellcheck): ditto
3868 (breakParagraph): remove one usage of Paragraph::next
3869 (redoParagraph): ditto
3870 (acceptChange): ditto
3871 (insertChar): adjust
3872 (rowBreakPoint): adjust
3874 * bufferview_funcs.C (toggleAndShow): adjust
3876 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3878 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3879 methods to access it.
3881 * text.C: Added updateRowPositions to compute all row positions.
3882 Make top_y and getRowNearY() to use the cached y position
3884 2003-04-11 John Levon <levon@movementarian.org>
3886 * text.C (rowBreakPoint): reintroduce the labelEnd
3887 checks, code copied from the row fill stuff. Deep voodoo.
3889 * text.C (fill): add a comment and debugging for the
3892 2003-04-11 John Levon <levon@movementarian.org>
3894 * text.C: make sure fullrow insets get wrapped to the next line,
3895 even when they're in a manual label
3897 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3899 * text2.C (insertParagraph): make it take ParagraphList::iterator
3901 (setLayout): make it return ParagraphList::iterator
3902 (redoParagraphs): ditto
3904 (checkParagraph): ditto
3906 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3908 * text2.C: adjust several funcs.
3909 (realizeFont): take a ParagraphList::iterator as arg.
3910 (getLayoutFont): ditto
3911 (getLabelFont): ditto
3912 (setCharFont): ditto
3914 * text.C: adjust several funcs.
3916 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3918 * text.C (selectNextWordToSpellcheck): don't accidentally
3921 2003-04-10 John Levon <levon@movementarian.org>
3923 * ToolbarBackend.C (getIcon): special handling for
3926 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3928 * text2.C (cursorRight): a getChar assert fixed
3930 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3932 * text2.C (getFont): change to take a ParagraphList::iterator
3933 instead of Paragraph*
3934 Adjust several functions.
3936 * text.C (transformChar): change to take a ParagraphList::iterator
3937 instead of Paragraph*
3938 (singleWidth): ditto
3939 Adjust several functions.
3941 * rowpainter.C: adjust several functions
3942 * rowpainter.h:store a ParagraphList::iterator and not a
3946 2003-04-09 John Levon <levon@movementarian.org>
3951 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3952 and the "help" bits as well
3954 2003-04-09 John Levon <levon@movementarian.org>
3957 * ToolbarBackend.C: allow multiple toolbars
3959 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3961 * undo_funcs.C (setCursorParUndo): adjust
3963 * text_funcs.C (transposeChars): adjust
3965 * text3.C (gotoNextInset): adjust
3968 * text2.C (setLayout): adjust
3969 (changeDepth): adjust
3971 (redoParagraphs): adjust
3972 (selectionAsString): adjust
3973 (setParagraph): adjust
3974 (insertInset): adjust
3975 (cutSelection): adjust
3976 (copySelection): adjust
3977 (pasteSelection): adjust
3978 (insertStringAsLines): adjust
3979 (updateInset): adjust
3980 (setCursor): change to take a ParagraphList::iterator parameter
3981 (setCursorIntern): change to take a ParagraphList::iterator parameter
3982 (setCurrentFont): adjust
3983 (cursorLeft): adjust
3984 (cursorRight): adjust
3985 (deleteEmptyParagraphMechanism): adjust
3987 * text.C (breakParagraph): adjust
3988 (insertChar): adjust
3989 (acceptChange): adjust
3990 (rejectChange): adjust
3991 (selectNextWordToSpellcheck): adjust
3992 (changeCase): adjust
3996 * lyxfind.C (SearchForward): adjust
3997 (SearchBackward): adjust
3998 (nextChange): adjust
4000 * lyxcursor.C (par): adjust
4002 * lyxcursor.h: store a ParagraphList::iterator instead of a
4005 * lyx_cb.C (getPossibleLabel): adjust
4007 * bufferview_funcs.C (toggleAndShow): adjust
4009 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4012 * BufferView.C (removeAutoInsets): adjust
4013 (lockedInsetStoreUndo): adjust
4015 2003-04-09 John Levon <levon@movementarian.org>
4017 * ToolbarBackend.C: try icon without argument
4018 if with argument fails
4020 2003-04-08 John Levon <levon@movementarian.org>
4023 * ToolbarBackend.C: add getIcon(), handle tooltip,
4024 and change from "Icon" to "Item".
4026 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4028 * BufferView.C (lockInset): another bad getchar crunched
4030 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4032 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4035 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4037 * lyxfind.C (searchForward, searchBackwards): bug 782
4039 2003-04-07 John Levon <levon@movementarian.org>
4041 * paragraph.C: remove dead comment
4043 * text.C: remove troublesome depth-fiddling code
4044 in leftMargin() and rightMargin() (bug 1017)
4046 * text.C: fix breaking of rows in nested lists
4049 * text2.C (updateCounters): fix up depth values
4052 2003-04-07 John Levon <levon@movementarian.org>
4054 * BufferView_pimpl.C: clear message when doc finishes resizing,
4055 and after a mouse event
4057 * lyxfunc.C: clear message after exiting inset
4059 2003-04-07 John Levon <levon@movementarian.org>
4061 * bufferview_funcs.C: show math status not outside
4062 status in the statusbar
4064 2003-04-07 John Levon <levon@movementarian.org>
4066 * lyxfunc.C: note status changed after a depth change
4068 2003-04-04 Angus Leeming <leeming@lyx.org>
4070 * LaTeX.h: move AuxInfo operator==, != out of line.
4071 Remove LaTeX virtual destructor; nothing derives from it.
4072 Move operator()() out of public area and rename it startscript().
4073 Change protected for private.
4075 2003-04-04 Angus Leeming <leeming@lyx.org>
4078 * text2.C: remove unneeded #includes.
4080 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4082 * text2.C (dEPM): fix the heigth of the next row
4084 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4086 * text.C: squashed an invalid getChar requester + some ws changes
4088 2003-04-03 John Levon <levon@movementarian.org>
4090 * bufferview_funcs.h:
4091 * bufferview_funcs.C:
4094 * text2.C: make getStatus work for the env depth lfuns
4096 2003-04-03 John Levon <levon@movementarian.org>
4098 * bufferview_funcs.h:
4099 * bufferview_funcs.C:
4102 * text2.C: parlistize decDepth(), by merging it with incDepth()
4104 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4106 * lyxrow.h: store a ParagraphList::iterator instead of a
4107 Paragraph* and adjust other class functions to suit.
4109 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4112 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4114 * text2.C (setCursor): do not anchor to cursor row for the time being
4116 2003-04-02 John Levon <levon@movementarian.org>
4123 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4125 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4127 * paragraph.h: make ParagraphList and ParagraphList::iterator
4128 friends of Paragraph.
4130 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4132 * ParagraphList.C: Use the private next_ and previous_ from
4135 2003-04-01 John Levon <levon@movementarian.org>
4139 * Makefile.am: rename, remove defaults gunk
4142 * MenuBackend.C: remove defaults gunk
4145 * Languages.C: remove defaults gunk
4148 * lyx_main.C: error out if files couldn't be found.
4150 2003-04-02 John Levon <levon@movementarian.org>
4152 * text2.C: make incDepth() use parlist
4154 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4156 * undo_funcs.C (firstUndoParagraph): adjust
4158 * text3.C (gotoInset): adjust
4159 (dispatch): adjust, and rewrite loop.
4161 * text2.C (init): adjust, and rewrite loop.
4162 (redoParagraphs): adjust
4163 (updateInset): adjust, and rewrite loop.
4164 (deleteEmptyParagraphMechanism): adjust
4166 * tabular.C (LyXTabular): adjust
4167 (SetMultiColumn): adjust
4170 * lyxtext.[Ch] (ownerParagraph): delete function
4171 (ownerParagraphs): new function returns a ParagraphList.
4173 * BufferView.C (removeAutoInsets): adjust
4174 (insertErrors): adjust
4175 (setCursorFromRow): adjust
4177 2003-04-01 Angus Leeming <leeming@lyx.org>
4179 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4182 2003-04-02 John Levon <levon@movementarian.org>
4188 * text_funcs.C: make transposeChars a free function
4190 * lyxrow_funcs.C: remove wrong comment
4192 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4195 * rowpainter.C: adjust
4200 * lyxrow_funcs. [Ch]: new files
4202 * lyxrow.[Ch]: remove next and previous pointers
4203 (next,previous): remove accessor functions
4204 (isParEnd): move to lyxrow_funcs
4205 (lastPos): move to lyxrow_funcs
4206 (nextRowIsAllInset): move to lyxrow_funcs
4207 (lastPrintablePos): move to lyxrow_funcs
4208 (numberOfSeparators): move to lyxrow_funcs
4209 (numberOfHfills): move to lyxrow_funcs
4210 (numberOfLabelHfills): move to lyxrow_funcs
4211 (hfillExpansion): move to lyxrow_funcs
4215 * bufferview_funcs.C (toggleAndShow): adjust
4217 * RowList.h: Remove class RowList from file leave just a
4220 * RowList.C: delete file
4222 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4225 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4227 * text3.C (cursorPrevious): adjust
4228 (cursorNext): adjust
4231 * text2.C (redoHeightOfParagraph): adjust
4232 (redoDrawingOfParagraph): adjust
4235 * text.C (breakParagraph): adjust
4236 (insertChar): adjust
4239 * rowpainter.C (RowPainter): adjust
4240 (leftMargin): simplify and adjust
4241 (most rowpainter functions): adjust.
4243 * rowpainter.h: store the row as RowList::iterator not as Row*
4245 * lyxcursor.C (row): taka RowList::iterator as arg
4248 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4251 2003-04-01 Angus Leeming <leeming@lyx.org>
4253 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4254 stuff like bool Bool.
4256 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4258 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4261 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4263 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4266 * lyxtext.h (rows): drop one version and leve a const variant that
4267 returns a RowList::iterator.
4269 2003-03-31 Angus Leeming <leeming@lyx.org>
4271 * text.C (fill): ensure that the signature is the same as that in the
4274 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4276 * text2.C (redoParagraphs): adjust
4277 (updateCounters): adjust
4278 (checkParagraph): adjust
4279 (getColumnNearX): adjust and reformat a bit.
4281 * text.C (top_y): adjust
4283 (leftMargin): adjust
4284 (prepareToPrint): adjust
4286 (getRowNearY): adjust
4288 * lyxtext.h: make rowlist_ mutable.
4290 * RowList.h: add const_iterator
4291 * RowList.C: adjust for RowList::const_iterator.
4293 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4296 2003-03-31 John Levon <levon@movementarian.org>
4299 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4301 * lyx_main.C: set default fonts from using lyx_gui funcs
4303 * exporter.C: pdf_mode moved from lyxrc
4306 * lyxfunc.C: changes from above
4308 2003-03-31 John Levon <levon@movementarian.org>
4310 * lyx_main.C: fix to the last fix
4312 2003-03-31 John Levon <levon@movementarian.org>
4314 * bufferlist.C: "Load original" -> "Load Original"
4320 * format.C: more Alert cleanups
4322 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4324 * text2.C (removeParagraph): make it take a RowList::iterator as
4326 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4327 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4329 * text.C (anchor_row): make it take a RowList::iterator as arg,
4331 (computeBidiTables): make it take a const reference to Row instead
4332 of Row pointer, adjust.
4333 (leftMargin): make it take a RowList::iterator as arg, adjust.
4334 (rowBreakPoint): adjust
4335 (breakAgainOneRow): make it take a RowList::iterator as arg,
4337 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4339 * bufferview_funcs.C (toggleAndShow): adjust
4341 2003-03-30 John Levon <levon@movementarian.org>
4345 * boost-inst.C: moved to support
4347 * several files: changes as a result
4349 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4351 * text2.C (LyXText): adjust.
4353 (removeRow): make it take a RowList::iterator as arg, adjust.
4354 (fullRebreak): adjust
4355 (deleteEmptyParagraphMechanism): adjust
4356 (clearPaint): adjust
4359 * text.C (top_y): adjust
4360 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4361 (breakAgain): make it take a RowList::iterator as arg, adjust.
4362 (breakParagraph): adjust
4363 (insertChar): adjust
4366 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4367 need_break_row, and refresh_row.
4369 * text3.C (dispatch): adjust
4371 * text2.C (checkParagraph): adjust
4373 (setCursorFromCoordinates): adjust
4375 * text.C (top_y): adjust
4377 (getRow): make it return a RowList::iterator, adjust
4378 (getRowNearY): make it return a RowList::iterator, adjust
4380 * text2.C (init): adjust
4381 (insertRow): remove function
4382 (insertParagraph): adjust
4383 (redoParagraphs): adjust
4384 (fullRebreak): adjust
4385 (updateCounters): adjust
4387 * text.C (top_y): rewrite to use RowList iterators.
4389 (setHeightOfRow): rewrite to sue RowList iterators.
4390 (appendParagraph): adjust
4391 (breakAgain): adjust
4392 (breakAgainOneRow): adjust
4393 (breakParagraph): adjust
4395 (getRowNearY): adjust, and remove commented code.
4397 * lyxtext.h (firstRow): delete function
4398 (lastRow): delete function
4399 (rows): new function (const and non-const versions.)
4400 (insertRow): delete function
4402 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4404 2003-03-29 John Levon <levon@movementarian.org>
4406 * BufferView_pimpl.C: always update scrollbar top
4407 because pasting text when we're anchored could mean we
4408 miss an update altogether
4410 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4412 * text2.C (init): use rowlist_.end() and not 0.
4413 (insertRow): change to take a RowList::iterator as arg, adjust
4415 (insertParagraph): change to take a RowList::iterator as arg,
4417 (redoParagraphs): remove some debug msgs.
4419 * text.C (appendParagraph): change to take a RowList::iterator
4420 arg, adjust for this.
4421 (breakAgain): add an assert
4422 (breakAgainOneRow): ditto
4424 2003-03-29 John Levon <levon@movementarian.org>
4426 * text2.C: do not clear selection after inc/decDepth
4429 2003-03-29 John Levon <levon@movementarian.org>
4432 * buffer.C: fix broken strerrors according to Lars
4434 2003-03-29 John Levon <levon@movementarian.org>
4436 * converters.C: more Alert cleanups
4438 2003-03-29 John Levon <levon@movementarian.org>
4440 * bufferview_funcs.C: remove pointless Alert
4442 * buffer.C: fix confusing error message when
4443 a template is chmoded 000
4445 2003-03-29 John Levon <levon@movementarian.org>
4449 * BufferView_pimpl.C: Alert fixes
4453 * tabular-old.C: remove unused table compat reading
4455 2003-03-29 John Levon <levon@movementarian.org>
4460 * lyx_cb.C: more Alert cleanups
4462 * lyxfunc.C: don't allow chktex if not latex document
4464 2003-03-29 John Levon <levon@movementarian.org>
4468 * buffer.C: warnings pushed down from support/,
4471 2003-03-29 John Levon <levon@movementarian.org>
4473 * lyxfunc.C: safety check for C-r (revert)
4475 2003-03-29 John Levon <levon@movementarian.org>
4478 * bufferlist.C: several UI fixes using Alert::prompt.
4479 Fix the pointless looping quit code. Fix stupid revert
4484 * lyx_cb.C: use Alert::prompt
4486 * lyx_main.C: remove a silly question
4488 * lyxfunc.C: remove a couple of silly questions,
4491 2003-03-28 John Levon <levon@movementarian.org>
4493 * text2.C: fix bug 974 (End on empty par)
4495 2003-03-28 John Levon <levon@movementarian.org>
4497 * BufferView_pimpl.C:
4499 * lfuns.h: remove do-nothing math greek lfuns
4501 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4503 * lyxgluelength.h (isValidGlueLength): add default arg on
4504 parameter 2. Remove default arg from friend in class.
4506 * lyxlength.h (isValidLength): add default arg on parameter 2.
4507 Remove default arg from friend in class.
4509 * text2.C (LyXText): adjust, initialize refresh_row.
4513 (insertParagraph): adjst
4514 (redoParagraphs): adjust
4515 (fullRebreak): adjust
4516 (updateCounters): adjust
4517 (deleteEmptyParagraphMechanism): first attempt at fixing a
4520 * text.C (top_y): adjust
4521 (setHeightOfRow): adjust
4523 (getRowNearY): adjust
4525 * lyxtext.h: include RowList.h
4526 (~LyXText): not needed anymore, deleted.
4527 (firstRow): modify for RowList
4528 (lastRow): new function
4529 Delete firstrow and lastrow class variables, add a Rowlist
4530 rowlist_ class variable.
4532 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4535 * RowList.C (insert): fix case where it == begin().
4537 2003-03-26 Angus Leeming <leeming@lyx.org>
4539 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4540 the thesaurus dialog.
4542 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4544 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4546 * RowList.[Ch]: new files
4548 * ParagraphList.C (erase): handle the case where it == begin
4551 2003-03-25 John Levon <levon@movementarian.org>
4555 * aspell.C: add new aspell support
4558 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4561 2003-03-25 Angus Leeming <leeming@lyx.org>
4564 * LyXAction.C (init): new LFUN_INSET_INSERT.
4566 * BufferView_pimpl.C (dispatch): split out part of the
4567 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4569 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4572 2003-03-25 Angus Leeming <leeming@lyx.org>
4574 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4576 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4579 * text3.C: remove useless row->height(0)
4581 2003-03-25 John Levon <levon@movementarian.org>
4585 * text3.C: rename the refreshing stuff to better names
4587 2003-03-24 John Levon <levon@movementarian.org>
4589 * BufferView_pimpl.h:
4590 * BufferView_pimpl.C: update layout choice on a mouse
4593 2003-03-23 John Levon <levon@movementarian.org>
4595 * Makefile.am: fix commandtags.h reference
4597 2003-03-22 John Levon <levon@movementarian.org>
4599 * BufferView_pimpl.C:
4604 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4606 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4609 * text.C: take the rtl methods out of line
4611 2003-03-21 André Pönitz <poenitz@gmx.net>
4613 * metricsinfo.[Ch]: new files containing structures to be passed around
4614 during the two-phase-drawing...
4616 2003-03-21 André Pönitz <poenitz@gmx.net>
4618 * lyxtextclass.C: read 'environment' tag.
4620 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4622 * text2.C (removeRow): fix bug 964
4624 2003-03-20 John Levon <levon@movementarian.org>
4628 * text2.C: paint cleanups. Inset::update() dropped font
4631 2003-03-19 John Levon <levon@movementarian.org>
4633 * lyxfunc.C: only fitcursor/markDirty if available()
4635 2003-03-19 John Levon <levon@movementarian.org>
4637 * commandtags.h: rename to ...
4639 * lfuns.h: ... this, and renumber / cleanup
4641 2003-03-19 John Levon <levon@movementarian.org>
4643 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4644 fit the cursor after an lfun
4648 * BufferView_pimpl.h:
4649 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4651 * LyXAction.C: layout-character should have ReadOnly
4653 * ParagraphParameters.C:
4655 * bufferview_funcs.C:
4662 * undo_funcs.C: changes from above
4664 2003-03-18 John Levon <levon@movementarian.org>
4666 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4667 remove it from update()
4669 * lyxfunc.C: update layout choice after an lfun
4671 * text3.C: remove extra updateLayoutChoice()s
4673 2003-03-18 John Levon <levon@movementarian.org>
4675 * text.C: top_y change means full repaint, fix
4676 a drawing bug with cursor movement
4678 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4682 * text2.C: anchor row on setCursor
4684 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4686 * lyxtext.h: remove almost all mutable keywords
4689 * text3.C: remove const keywords accordingly
4691 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4693 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4695 (TeXEnvironment): ditto
4698 2003-03-17 John Levon <levon@movementarian.org>
4700 * text.C (rowBreakPoint): remove attempt to fix displayed
4701 math insets inside a manual label
4703 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4705 * lyxtext.h: remove BufferView* as first arg from almost all class
4707 * other files: adjust.
4709 2003-03-17 John Levon <levon@movementarian.org>
4713 * text2.C: more paint cleanups
4715 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4718 * rowpainter.C: remove "smart" background painting code
4720 2003-03-16 John Levon <levon@movementarian.org>
4725 * text3.C: add helper functions for setting refresh_row/y
4727 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4729 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4730 newline inset which *can* get inserted in the pass_thru layouts.
4731 This is primarily for literate documents.
4733 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4735 * buffer.C: increment LYX_FORMAT to 223
4737 2003-03-14 André Pönitz <poenitz@gmx.net>
4739 * textclass.h: prepare for environment handling, ws changes
4740 * lyxlayout.C: read latexheader and latexfooter tags
4742 2003-03-14 John Levon <levon@movementarian.org>
4744 * text2.C: rewrite ::status() a bit
4746 2003-03-13 John Levon <levon@movementarian.org>
4748 * lyxtext.h: add some docs
4750 2003-03-13 John Levon <levon@movementarian.org>
4755 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4757 2003-03-13 John Levon <levon@movementarian.org>
4759 * text3.C: fix appendix redrawing
4761 2003-03-13 John Levon <levon@movementarian.org>
4763 * text.C (setHeightOfRow):
4765 * rowpainter.C: make appendix mark have the text
4766 "Appendix" so the user knows what it is
4769 * LColor.C: s/appendixline/appendix/ from above
4771 2003-03-13 John Levon <levon@movementarian.org>
4773 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4775 * text.C: fix a getChar(pos) bug properly
4777 2003-03-13 Angus Leeming <leeming@lyx.org>
4780 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4781 Probably only temporary. Let's see how things pan out.
4783 * BufferView.C (unlockInset):
4784 * BufferView_pimpl.C (fitCursor):
4785 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4787 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4788 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4790 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4791 new functions that convert ParagraphParameters to and from a string.
4793 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4794 BufferView::Pimpl's dispatch.
4795 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4797 2003-03-13 André Pönitz <poenitz@gmx.net>
4801 * factory.C: make it aware of InsetEnv
4803 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4805 * text2.C (setCursor): never ask for one past last
4806 (setCursor): add some debugging messages.
4808 * text.C (singleWidth): never ask for one past last
4809 (singleWidth): ditto
4811 (rightMargin): ditto
4812 (rowBreakPoint): ditto
4813 (setHeightOfRow): ditto
4814 (prepareToPrint): ditto
4816 * rowpainter.C (paintBackground): never ask for one past last
4817 (paintText): never ask for one past last
4819 * paragraph_pimpl.C (getChar): make the assert stricter, never
4820 allow the one past last pos to be taken
4822 * paragraph.C (getChar): ws changes only
4824 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4825 (numberOfSeparators): ditto
4826 (numberOfHfills): ditto
4828 2003-03-12 John Levon <levon@movementarian.org>
4834 * paragraph_funcs.C: fix per-buffer authorlists
4836 2003-03-12 John Levon <levon@movementarian.org>
4838 * text.C: fix newline in right address
4840 2003-03-12 Angus Leeming <leeming@lyx.org>
4842 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4843 duplicate those in LyXFunc::dispatch.
4847 * ToolbarDefaults.C:
4848 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4849 Add LFUN_FONTFREE_UPDATE.
4851 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4852 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4854 * bufferview_func.[Ch]: several new functions to facilliate
4855 transfer of data to and from the character dialog.
4857 2003-03-12 John Levon <levon@movementarian.org>
4862 * paragraph_funcs.C:
4863 * paragraph_pimpl.C:
4867 * text3.C: remove META_NEWLINE in favour of an inset
4870 * rowpainter.C: remove paintNewline (done by inset)
4872 2003-03-12 John Levon <levon@movementarian.org>
4874 * paragraph_pimpl.C: complain about bad getChar()s
4875 for a while at least
4877 2003-03-12 John Levon <levon@movementarian.org>
4880 * buffer.C: move paragraph read into a separate function,
4881 a little renaming to reflect that.
4884 * bufferparams.C: remove the author_ids map, not necessary now
4887 * factory.C: moved Buffer::readInset to here
4889 * paragraph_funcs.h:
4890 * paragraph_funcs.C: readParagraph free function moved from
4893 * tabular.C: name change
4895 2003-03-12 John Levon <levon@movementarian.org>
4898 * ParagraphParameters.C: move par params input to
4901 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4902 behave like a normal read from the stream wrt reading
4903 a line vs. a \\token
4905 2003-03-12 John Levon <levon@movementarian.org>
4908 * ParagraphParameters.h:
4909 * ParagraphParameters.C: move output code to a
4912 2003-03-12 John Levon <levon@movementarian.org>
4914 * BufferView.C (insertLyXFile):
4917 * tabular.C: use a parlist iterator for creating the
4920 2003-03-12 John Levon <levon@movementarian.org>
4922 * buffer.C: make current_change static local not
4925 2003-03-12 John Levon <levon@movementarian.org>
4927 * buffer.C: fix insertStringAsLines for change tracking
4929 2003-03-12 John Levon <levon@movementarian.org>
4936 * bufferparams.C: move author list into params. Rename some
4937 functions. Move the header reading into a separate token
4938 loop. Move the header token reading into BufferParams.
4940 2003-03-12 John Levon <levon@movementarian.org>
4942 * changes.C: put debug inside lyxerr.debugging() checks
4944 2003-03-11 André Pönitz <poenitz@gmx.net>
4946 * factory.C: make it aware of InsetHFill
4948 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4950 * buffer.C (latexParagraphs): move function from here...
4951 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4954 2003-03-10 Angus Leeming <leeming@lyx.org>
4956 * LyXAction.C (init): fix bug in poplating array with multiple entries
4957 with the same LFUN (spotted by JMarc).
4959 2003-03-10 John Levon <levon@movementarian.org>
4962 * text2.C: move getColumnNearX() near its
4965 2003-03-10 John Levon <levon@movementarian.org>
4967 * text.C: fix break before a minipage
4969 2003-03-10 John Levon <levon@movementarian.org>
4971 * text.C: fix the last commit
4973 2003-03-09 John Levon <levon@movementarian.org>
4977 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4978 bug 365 (don't break before insets unless needed). Don't
4979 return a value > last under any circumstances.
4981 2003-03-09 Angus Leeming <leeming@lyx.org>
4983 * BufferView_pimpl.C (trackChanges, dispatch): call
4984 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4986 2003-03-09 Angus Leeming <leeming@lyx.org>
4988 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4989 than Dialogs::showAboutlyx().
4991 2003-03-09 Angus Leeming <leeming@lyx.org>
4993 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4994 than Dialogs::showTabularCreate().
4996 2003-03-09 John Levon <levon@movementarian.org>
5000 * text2.C: 3rd arg to nextBreakPoint was always the same.
5003 2003-03-08 John Levon <levon@movementarian.org>
5010 * text2.C: Remove the "main" bit from the "main body"
5013 2003-03-08 John Levon <levon@movementarian.org>
5015 * text.C (leftMargin): The left margin of an empty
5016 manual label paragraph should not include the label width
5019 * text.C (prepareToPrint): don't attempt to measure hfills
5020 for empty manual label paragraphs - the answer should be 0
5022 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5024 * CutAndPaste.C: remove commented code and reindent.
5026 2003-03-08 John Levon <levon@movementarian.org>
5029 * lyxfunc.C: move reloadBuffer()
5032 * BufferView.C: to here
5034 * lyxvc.C: add comment
5037 * vc-backend.C: call bv->reload() to avoid
5038 getStatus() check on MENURELOAD
5040 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5042 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5043 to an old format .dep file.
5045 2003-03-07 Angus Leeming <leeming@lyx.org>
5047 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5048 when the LFUN_MOUSE_RELEASE should have been handled by
5049 inset->localDispatch.
5051 2003-03-07 Angus Leeming <leeming@lyx.org>
5053 * BufferView_pimpl.C (dispatch):
5054 * LyXAction.C (init):
5055 * ToolbarDefaults.C (init):
5057 * lyxfunc.C (getStatus):
5058 remove LFUN_INSET_GRAPHICS.
5060 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5062 2003-03-07 Angus Leeming <leeming@lyx.org>
5065 * LyXAction.C (init):
5066 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5068 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5071 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5073 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5074 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5076 2003-03-07 Angus Leeming <leeming@lyx.org>
5078 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5081 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5083 * ParagraphList.C (front): new function
5086 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5088 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5089 and top_row_offset_. removed var first_y.
5091 * text2.C (LyXText, removeRow):
5093 * BufferView_pimpl.C:
5094 use these methods instead of using first_y
5096 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5098 * text2.C (pasteSelection): adjust for checkPastePossible
5100 * CutAndPaste.C: remove Paragraph * buf and replace with
5101 ParagraphList paragraphs.
5102 (DeleteBuffer): delete
5103 (cutSelection): change the tc type to textclass_type
5104 (copySelection): change the tc type to textclass_type
5105 (copySelection): adjust for ParagraphList
5106 (pasteSelection): change the tc type to textclass_type
5107 (pasteSelection): adjust for Paragraphlist
5108 (nrOfParagraphs): simplify for ParagraphList
5109 (checkPastePossible): simplify for ParagraphList
5110 (checkPastePossible): remove unused arg
5112 * ParagraphList.C (insert): handle the case where there are no
5115 * CutAndPaste.h: make CutAndPaste a namespace.
5117 * text3.C (dispatch): adjust
5119 * text.C (breakParagraph): add a ParagraphList as arg
5121 * paragraph_funcs.C (breakParagraph): change to take a
5122 BufferParams and a ParagraphList as args.
5123 (breakParagraphConservative): ditto
5124 (mergeParagraph): ditto
5125 (TeXDeeper): add a ParagraphList arg
5126 (TeXEnvironment): ditto
5129 * buffer.C (readLyXformat2): adjust
5130 (insertStringAsLines): adjust
5131 (latexParagraphs): adjust
5133 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5134 (cutSelection): adjust
5135 (pasteSelection): adjust
5137 * BufferView_pimpl.C (insertInset): adjust
5139 2003-03-05 Angus Leeming <leeming@lyx.org>
5142 * LyXAction.C (init):
5143 * BufferView_pimpl.C (dispatch):
5144 * lyxfunc.C (getStatus):
5145 remove LFUN_CHILD_INSERT.
5147 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5149 2003-03-05 Angus Leeming <leeming@lyx.org>
5152 * LyXAction.C (init):
5153 * src/factory.C (createInset):
5154 * lyxfunc.C (getStatus):
5155 * text3.C (dispatch):
5156 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5158 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5160 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5162 * ParagraphList.C (insert): handle insert right before end()
5163 (erase): fix cases where it can be first or last paragraph.
5165 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5167 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5168 Paragraph::next and Paragraph::previous
5171 * text.C (breakParagraph): adjust
5173 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5174 BufferParams& as arg.
5175 (breakParagraph): use ParagraphList::insert
5176 (breakParagraphConservative): take a Buffer* instead of a
5177 BufferParams& as arg.
5178 (breakParagraphConservative): use ParagraphList::insert.
5180 * buffer.C (insertStringAsLines): un-const it
5181 (insertStringAsLines): adjust
5183 * ParagraphList.C (insert): new function
5185 * CutAndPaste.C (pasteSelection): adjust
5187 * text.C (backspace): adjust
5189 * tabular.C (SetMultiColumn): adjust
5191 * CutAndPaste.C (cutSelection): adjust
5192 (pasteSelection): adjust
5194 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5195 Buffer const * as arg
5197 * ParagraphList.C (erase): new function
5198 * paragraph_funcs.C (mergeParagraph): use it
5199 (mergeParagraph): make it take a Buffer* instead of a
5200 BufferParams* as arg
5202 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5204 (breakParagraphConservative): ditto
5206 * paragraph.h: remove the breakParagraph friend
5208 * paragraph.C (eraseIntern): new function
5209 (setChange): new function
5211 * paragraph_funcs.C (mergeParagraph): make it take a
5212 ParagraphList::iterator instead of a Paragraph *, adjust
5215 * paragraph.h: move an #endif so that the change tracking stuff
5216 also works in the NO_NEXT case.
5218 2003-03-04 Angus Leeming <leeming@lyx.org>
5221 * LyXAction.C: new LFUN_INSET_MODIFY.
5223 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5224 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5226 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5228 * several files: ws changes only
5230 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5231 (TeXEnvironment): ditto
5234 * buffer.C (makeLaTeXFile): adjust
5235 (latexParagraphs): make it take ParagraphList::iterator as args
5237 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5239 * buffer.C (latexParagraphs): adjust
5241 * paragraph.C (TeXOnePar): move function...
5242 (optArgInset): move function...
5243 (TeXEnvironment): move function...
5244 * paragraph_pimpl.C (TeXDeeper): move function...
5245 * paragraph_funcs.C: ...here
5247 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5249 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5251 * buffer.C (readInset): remove compability code for old Figure and
5254 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5256 * buffer.C: ws changes
5259 * BufferView_pimpl.C: ditto
5262 * bufferlist.h: ditto
5266 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5268 * converter.[Ch]: split into itself +
5271 * Makefile.am: += graph.[Ch] + format.[Ch]
5278 * lyxrc.C: added #include "format.h"
5280 2003-02-27 Angus Leeming <leeming@lyx.org>
5282 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5285 * factory.C (createInset): add "label" to the factory.
5287 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5288 string and do no more.
5290 2003-02-27 Angus Leeming <leeming@lyx.org>
5293 * LyXAction.C (init):
5294 * factory.C (createInset):
5295 * BufferView_pimpl.C (dispatch):
5296 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5298 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5300 * lyxfunc.C (dispatch):
5301 * text3.C (dispatch): pass name to params2string.
5303 2003-02-26 Angus Leeming <leeming@lyx.org>
5305 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5307 Rearrange the ~includes. Strip out the unnecessary ones.
5309 * factory.C (createInset): reformat.
5310 create new insets for the various LFUN_XYZ_APPLY lfuns.
5312 2003-02-26 John Levon <levon@movementarian.org>
5315 * lyxrow.C: add isParStart,isParEnd helpers
5317 * paragraph.h: make isInserted/DeletedText take refs
5319 * paragraph_funcs.h:
5320 * paragraph_funcs.C: remove #if 0'd code
5325 * text.C: use lyxrow helpers above.
5326 Move draw and paint routines to RowPainter.
5327 Make several methods use refs not pointers.
5328 Make backgroundColor() const.
5329 Add markChangeInDraw(), isInInset().
5330 Merge changeRegionCase into changeCase.
5331 Make workWidth() shouldn't-happen code into an Assert.
5334 * rowpainter.C: new class for painting a row.
5337 * vspace.C: make inPixels take a ref
5339 2003-02-26 Angus Leeming <leeming@lyx.org>
5341 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5344 2003-02-25 John Levon <levon@movementarian.org>
5346 * ispell.C: give the forked command a more accurate name
5348 2003-02-22 John Levon <levon@movementarian.org>
5351 * toc.C: make TocItem store an id not a Paragraph *
5354 2003-02-21 Angus Leeming <leeming@lyx.org>
5356 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5357 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5358 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5359 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5360 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5361 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5363 * BufferView_pimpl.C (dispatch):
5364 * LyXAction.C (init):
5365 * factory.C (createInset):
5366 * lyxfunc.C (getStatus, dispatch):
5367 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5369 2003-02-21 Angus Leeming <leeming@lyx.org>
5371 * BufferView_pimpl.C (MenuInsertLyXFile):
5372 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5373 * lyxfunc.C (menuNew, open, doImport):
5374 no longer pass a LyXView & to fileDlg.
5376 2003-02-21 Angus Leeming <leeming@lyx.org>
5378 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5379 * LyXAction.C: change, BIBKEY to BIBITEM.
5380 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5381 Change InsetBibKey to InsetBibitem.
5382 Change BIBKEY_CODE to BIBITEM_CODE.
5383 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5384 * factory.C: replace insetbib.h with insetbibitem.h.
5385 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5386 * paragraph.C: replace insetbib.h with insetbibitem.h.
5387 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5388 Change bibkey() to bibitem().
5389 * text.C: remove insetbib.h.
5390 * text2.C: replace insetbib.h with insetbibitem.h.
5391 change bibkey() to bibitem().
5392 * text3.C: remove insetbib.h.
5393 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5395 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5397 * lyxrc.C (output): enclose user email in quotes (in case there are
5400 2003-02-18 John Levon <levon@movementarian.org>
5402 * buffer.h: add std::
5404 2003-02-17 John Levon <levon@movementarian.org>
5410 * pspell.C: reworking. Especially in ispell, a large
5411 number of clean ups and bug fixes.
5413 * lyxfunc.C: fix revert to behave sensibly
5415 2003-02-17 André Pönitz <poenitz@gmx.net>
5418 * commandtags.h: new LFUN_INSERT_BIBKEY
5428 * paragraph_func.C: remove special bibkey handling
5430 2003-02-17 John Levon <levon@movementarian.org>
5432 * text.C (Delete): fix case where delete at the end of
5433 the very first paragraph would not merge the pars
5435 2003-02-17 John Levon <levon@movementarian.org>
5437 * lyxrow.C: fix lastPrintablePos()
5439 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5441 * bufferparams.C (writeLaTeX): add a std:here
5443 * buffer.C: and remove a using directive there
5445 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5447 * buffer.C (makeLaTeXFile): move the code that generates the
5450 * bufferparams.C (writeLaTeX): ... in this new method
5452 * LaTeXFeatures.C (getEncodingSet): make const
5453 (getLanguages): make const
5455 * MenuBackend.C (binding): returns the binding associated to this
5457 (add): sets the status of each item by calling getStatus. Adds
5459 (read): add support for OptSubMenu
5460 (expand): remove extra separator at the end of expanded menu
5462 2003-02-15 John Levon <levon@movementarian.org>
5465 * BufferView_pimpl.C:
5467 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5468 inset code that had no actual effect. Remove unneeded status
5471 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5473 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5476 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5478 * text.C (drawLengthMarker): also draw an arrow marker for
5479 symbolic lengths (medskip...)
5481 2003-02-14 John Levon <levon@movementarian.org>
5484 * tabular.C: better method names
5486 2003-02-14 John Levon <levon@movementarian.org>
5488 * BufferView_pimpl.C:
5493 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5494 it's a more accurate name. Remove some pointless uses.
5496 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5498 * text2.C (LyXText): change order of initilizers to shut off
5501 2003-02-14 John Levon <levon@movementarian.org>
5503 * buffer.C: use ParIterator for getParFromID()
5507 * paragraph_pimpl.h:
5508 * paragraph_pimpl.C: remove unused getParFromID()
5510 2003-02-14 John Levon <levon@movementarian.org>
5512 * buffer.C: remove some very old #if 0'd parse code
5514 2003-02-13 John Levon <levon@movementarian.org>
5518 * text2.C: move hfillExpansion(), numberOfSeparators(),
5519 rowLast(), rowLastPrintable(), numberofHfills(),
5520 numberOfLabelHfills() ...
5523 * lyxrow.C: ... to member functions here.
5528 * text.C: remove LyXText::beginningOfMainBody(), and call
5529 p->beginningOfMainBody() directly. Move the check for
5530 LABEL_MANUAL into the latter.
5537 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5543 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5544 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5546 2003-02-13 John Levon <levon@movementarian.org>
5548 * CutAndPaste.C: remove debug
5550 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5552 * paragraph.C (asString): remove two unused variables
5554 * lyxtextclass.C (readTitleType):
5556 (LyXTextClass): handle new members titletype_ and titlename_
5558 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5560 2003-02-09 John Levon <levon@movementarian.org>
5563 * buffer.C: replace hand-coded list with a map for the dep clean
5565 2003-02-08 John Levon <levon@movementarian.org>
5567 * LaTeX.C: consolidate code into showRunMessage() helper
5569 2003-02-08 John Levon <levon@movementarian.org>
5574 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5575 and pass the size in explicitly
5577 * BufferView_pimpl.h:
5578 * BufferView_pimpl.C:
5580 * BufferView.C: add getCurrentChange()
5582 * BufferView_pimpl.h:
5583 * BufferView_pimpl.C: handle change lfuns
5585 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5586 for changes. Mark pasted paragraphs as new.
5588 * support/lyxtime.h:
5589 * support/lyxtime.C:
5590 * DepTable.C: abstract time_t as lyx::time_type
5593 * LColor.C: add colours for new text, deleted text, changebars
5595 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5596 package use "usenames" option.
5600 * LyXAction.C: add change lfuns
5604 * author.C: author handling
5607 * buffer.C: add a per-buffer author list, with first entry as
5608 current author. Handle new .lyx tokens for change tracking. Output
5609 author list to .lyx file. Output dvipost stuff to .tex preamble.
5610 Bump lyx format to 222.
5613 * bufferlist.C: add setCurrentAuthor() to reset current author details
5617 * bufferparams.C: add param for tracking
5619 * bufferview_funcs.C: output change info in minibuffer
5623 * changes.C: add change-tracking structure
5626 * debug.C: add CHANGES debug flag
5629 * lyxfind.C: add code for finding the next change piece
5632 * lyxrc.C: add user_name and user_email
5635 * lyxrow.C: add a metric for the top of the text line
5638 * text.C: implement accept/rejectChange()
5641 * text.C: paint changebars. Paint new/deleted text in the chosen
5642 colours. Strike through deleted text.
5646 * paragraph_pimpl.h:
5647 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5648 in the current change to the insert functions. Rework erase to
5649 mark text as deleted, adding an eraseIntern() and a range-based
5650 erase(). Implement per-paragraph change lookup and
5653 * paragraph_funcs.C: Fixup paste for change tracking.
5655 * tabular.C: mark added row/columns as new.
5657 * text.C: fix rowLast() to never return -1. Don't allow
5658 spellchecking of deleted text. Track transpose changes. Don't
5659 allow paragraph break or merge where appropriate.
5661 * text2.C: leave cursor at end of selection after a cut.
5663 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5665 * text.C (getLengthMarkerHeight):
5666 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5667 visible on screen too.
5669 2003-02-07 John Levon <levon@movementarian.org>
5671 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5673 2003-02-05 Angus Leeming <leeming@lyx.org>
5675 * lyxserver.C (read_ready): revert my patch of 11 September last year
5676 as it sends PC cpu through the roof. Presumably this means that
5677 the lyxserver will no longer run on an Alpha...
5679 2003-01-30 Angus Leeming <leeming@lyx.org>
5681 * factory.C (createInset): create an InsetCommandParam of type "index"
5682 and use it to 'do the right thing'.
5684 * text2.C (getStringToIndex): ensure that cursor position is always
5685 reset to the reset_cursor position.
5687 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5689 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5692 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5696 * lyxfunc.C: Output messages with identical spelling, punctuation,
5699 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5701 * MenuBackend.C (expandFormats): List only viewable export formats
5704 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5707 * lyxfunc.C (getStatus): Make sure that formats other than
5708 "fax" can also be disabled
5710 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5712 * text3.C (dispatch): put the lfuns that insert insets in 3
5713 groups, and call doInsertInset with appropriate arguments.
5714 (doInsertInset): new function, that creates an inset and inserts
5715 it according to some boolean parameters.
5717 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5719 * buffer.C (readFile): remember to pass on 'par' when calling
5720 readFile recursively.
5722 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5724 * MenuBackend.C (expandFormats): add "..." to import formats.
5726 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5728 * paragraph.C (asString): Remove XForms RTL hacks.
5730 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5731 * buffer.C: fix typo
5733 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5735 * Makefile.am (LIBS): delete var
5736 (lyx_LDADD): add @LIBS@ here instead.
5738 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5740 * Clarify the meaning of "wheel mouse jump"
5742 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5744 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5747 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5749 * importer.C (Loaders): do not preallocate 3 elements in the
5750 vector, since one ends up with 6 elements otherwise
5752 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5754 * DepTable.C (write): write the file name as last element of the
5755 .dep file (because it may contain spaces)
5756 (read): read info in the right order
5758 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5760 * paragraph_pimpl.C (simpleTeXBlanks):
5761 (simpleTeXSpecialChars):
5762 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5764 * tabular.C (latex): add some missing case statements. Reindent.
5766 * MenuBackend.C (expandToc): remove unused variable.
5768 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5777 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5780 2003-01-05 John Levon <levon@movementarian.org>
5783 * BufferView.C: add getEncoding()
5786 * kbsequence.C: do not store last keypress
5789 * lyxfunc.C: store last keypress here instead. Pass encoding
5792 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5794 * lyx_main.C (init): remove annoying error message when following
5795 symbolic links (bug #780)
5797 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5799 * text.C (insertChar):
5800 * lyxrc.C (getDescription): remove extra spaces
5802 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5804 * lyxrc.C (getDescription): remove extra spaces
5806 2002-12-20 John Levon <levon@movementarian.org>
5808 * text3.C: hack fix for page up/down across tall rows
5810 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5812 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5815 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5817 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5818 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5819 thesaurus is not compiled in
5821 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5823 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5825 2002-12-16 Angus Leeming <leeming@lyx.org>
5828 * lyx_main.C (init): remove override_x_deadkeys stuff.
5830 2002-12-12 John Levon <levon@movementarian.org>
5832 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5833 insert. Only remove shift modifier under strict
5836 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5838 * MenuBackend.C (expandToc): fix crash.
5840 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5842 * MenuBackend.C (expandToc): gettext on float names.
5844 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5846 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5847 implement bool empty() [bug 490]
5849 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5851 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5853 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5855 * several files: ws changes
5857 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5859 * text2.C (setCounter): clean up a bit, use boost.format.
5860 (updateCounters): initialize par upon declaration.
5862 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5863 if the layout exists. We do not just store the layout any more.
5864 (SwitchLayoutsBetweenClasses): use boost.format
5866 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5868 * converter.C (convert): if from and to files are the same, use a
5869 temporary files as intermediary
5871 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5874 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5876 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5878 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5880 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5882 * tabular.C (asciiPrintCell): use string(size, char) instead of
5885 * sgml.C (openTag): fix order of arguments to string constructor
5888 * lyxfunc.C (dispatch): use boost.format
5890 * lots of files: change "c" -> 'c'
5892 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5894 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5896 2002-11-25 Angus Leeming <leeming@lyx.org>
5898 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5900 * lyx_main.C (init): compile fix.
5902 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5904 * lyx_cb.C (start): boost.formatify
5905 do not include <iostream>
5907 * lengthcommon.C: ws only
5909 * boost-inst.C,BoostFormat.h: add more explict instantations
5911 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5913 * lots of files: handle USE_BOOST_FORMAT
5915 2002-11-21 John Levon <levon@movementarian.org>
5917 * pspell.C: fix compile
5919 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5921 * lyxfunc.C (dispatch): use boost::format
5925 * lyxfont.C (stateText): use boost::format
5927 * lyx_main.C (LyX): use boost::format
5929 (queryUserLyXDir): ditto
5932 (typedef boost::function): use the recommened syntax.
5934 * importer.C (Import): use boost::format
5936 * debug.C (showLevel): use boost::format
5938 * converter.C (view): use boost::format
5943 * bufferview_funcs.C (currentState): use boost::format
5945 * bufferlist.C (emergencyWrite): use boost::format
5947 * buffer.C (readLyXformat2): use boost::format
5948 (parseSingleLyXformat2Token): ditto
5950 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5952 * LaTeX.C (run): use boost::format
5954 * Chktex.C (scanLogFile): use boost::format
5956 * BufferView_pimpl.C (savePosition): use boost::format
5957 (restorePosition): ditto
5958 (MenuInsertLyXFile): ditto
5960 * BoostFormat.h: help file for explicit instation.
5962 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5964 * tabular.C (latex): Support for block alignment in fixed width
5967 2002-11-17 John Levon <levon@movementarian.org>
5969 * BufferView_pimpl.C:
5971 * lyxfunc.C: split filedialog into open/save
5973 2002-11-08 Juergen Vigna <jug@sad.it>
5975 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5976 by my last patch (hopefully).
5978 2002-11-08 John Levon <levon@movementarian.org>
5987 * toc.C: ParConstIterator, and use it (from Lars)
5989 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5991 * lyxtextclass.[Ch]: revise and add doxygen comments
5993 2002-11-07 John Levon <levon@movementarian.org>
5995 * text.C: fix progress value for spellchecker
5997 * toc.C: fix navigate menu for insetwrap inside minipage
5999 * paragraph_funcs.C: added FIXME for suspect code
6001 2002-11-07 John Levon <levon@movementarian.org>
6003 * BufferView_pimpl.C: fix redrawing of insets
6006 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6008 * text2.C (updateCounters): fix bug 668
6010 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6012 * text3.C (dispatch): Do not make the buffer dirty when moving the
6015 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6017 * vc-backend.C: STRCONV
6020 * text2.C (setCounter): STRCONV
6022 * paragraph.C (asString): STRCONV
6024 * lyxlength.C (asString): STRCONV
6025 (asLatexString): ditto
6027 * lyxgluelength.C (asString): STRCONV
6028 (asLatexString): ditto
6030 * lyxfunc.C (dispatch): STRCONV
6033 * lyxfont.C (stateText): STRCONV
6035 * importer.C (Import): STRCONV
6037 * counters.C (labelItem): STRCONV
6038 (numberLabel): ditto
6039 (numberLabel): remove unused ostringstream o
6044 * bufferview_funcs.C (currentState): STRCONV
6046 * buffer.C (readFile): STRCONV
6047 (asciiParagraph): ditto
6048 (makeLaTeXFile): ditto
6050 * Spacing.C (writeEnvirBegin): STRCONV
6052 * LaTeXFeatures.C (getLanguages): STRCONV
6053 (getPackages): ditto
6055 (getBabelOptions): ditto
6056 (getTClassPreamble): ditto
6057 (getLyXSGMLEntities): ditto
6058 (getIncludedFiles): ditto
6062 (scanAuxFile): ditto
6065 * LString.h: add the STRCONV macros
6067 * BufferView_pimpl.C (savePosition): STRCONV
6068 (restorePosition): ditto
6069 (MenuInsertLyXFile): ditto
6071 * vc-backend.C (scanMaster): change from submatch[...] to
6074 * funcrequest.C: include config.h
6076 * factory.C: include config.h
6078 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6080 * box.C: include config.h
6082 * LaTeX.C (scanAuxFile): change from submatch[...] to
6086 2002-10-25 Angus Leeming <leeming@lyx.org>
6088 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6090 * ispell.[Ch] (setError): new method.
6091 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6092 Use setError() insetead of goto END.
6094 * lyx_cb.C (AutoSave): move out child process into new class
6097 2002-10-30 John Levon <levon@movementarian.org>
6099 * text3.C: make start appendix undoable
6101 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6103 * lyxlength.C (inPixels): Fix returned value.
6105 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6108 2002-10-24 Angus Leeming <leeming@lyx.org>
6110 * lyxgluelength.h: no need to forward declare BufferParams
6111 or BufferView, so don't.
6113 2002-10-21 John Levon <levon@movementarian.org>
6115 * BufferView.C: menuUndo ->undo, redo
6117 * BufferView.h: document, remove dead, make some methods private
6119 * paragraph_funcs.h:
6120 * paragraph_funcs.C:
6121 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6126 * sgml.C: move sgml open/close tag into sgml.C
6128 * bufferview_funcs.h: unused prototype
6131 * lyxfunc.C: remove unused
6134 * text.C: remove unused
6136 2002-10-21 John Levon <levon@movementarian.org>
6140 * BufferView_pimpl.h:
6141 * BufferView_pimpl.C: fix mouse wheel handling based on
6142 patch from Darren Freeman
6144 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6146 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6148 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6150 * lyxlength.C (inPixels): Fix hanfling of negative length.
6151 Fix LyXLength::MU case.
6153 2002-10-16 John Levon <levon@movementarian.org>
6155 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6157 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6159 * converter.C (view): add support for $$i (file name) and $$p
6160 (file path) for the viewer command. If $$i is not specified, then
6161 it is appended to the command (for compatibility with old syntax)
6163 2002-10-14 Juergen Vigna <jug@sad.it>
6165 * undo_funcs.C (textHandleUndo): alter the order in which the
6166 new undopar is added to the LyXText, as we have to set first
6167 the right prev/next and then add it as otherwise the rebuild of
6168 LyXText is not correct. Also reset the cursor to the right paragraph,
6169 with this IMO we could remove the hack in "redoParagraphs()".
6171 2002-10-09 Angus Leeming <leeming@lyx.org>
6173 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6174 to turn off an optimisation if a new inset is to be inserted.
6176 2002-10-11 André Pönitz <poenitz@gmx.net>
6178 * lyxtext.h: make some functions public to allow access
6179 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6181 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6183 * text3.C (dispatch): when changing layout, avoid an infinite loop
6186 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6188 * lyxrc.C (read): treat a viewer or converter command of "none" as
6191 * MenuBackend.C (expandFormats): for an update, also allow the
6192 formats that are not viewable
6194 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6195 script if it is newer than the lyxrc.defaults in user directory
6197 2002-10-07 André Pönitz <poenitz@gmx.net>
6199 * text.C: Vitaly Lipatov's small i18n fix
6201 2002-09-25 Angus Leeming <leeming@lyx.org>
6203 * ispell.h: doxygen fix.
6205 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6207 * buffer.h (readFile): Add a new argument to the method, to allow
6208 reading of old-format templates.
6210 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6212 * toc.C (getTocList): Get TOC from InsetWrap.
6214 2002-09-16 John Levon <levon@movementarian.org>
6216 * lyxfunc.C: check tabular for cut/copy too
6218 2002-09-12 John Levon <levon@movementarian.org>
6223 * factory.C: add header
6225 * paragraph_funcs.h:
6226 * paragraph_funcs.C: cleanup
6228 2002-09-11 John Levon <levon@movementarian.org>
6230 * PrinterParams.h: odd/even default to true
6232 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6234 * PrinterParams.h: update printer parameters for new xforms dialog
6236 2002-09-11 Angus Leeming <leeming@lyx.org>
6238 * lyxserver.C (read_ready): re-write to make it more transparent
6239 and to make it work in coherent fashion under Tru64 Unix.
6241 2002-09-11 André Pönitz <poenitz@gmx.net>
6245 * text3.C: implement LFUN_WORDSEL
6247 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6249 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6250 make floatlist_ a boost::shared_ptr<FloatList>
6252 * lyxtextclass.C: include FloatList.h
6253 (LyXTextClass): initialize floatlist_
6254 (TextClassTags): add TC_NOFLOAT
6255 (Read): match "nofloat" to TC_NOFLOAT and use it.
6256 (readFloat): modify call to floatlist_
6260 * FloatList.[Ch] (FloatList): remove commented out float
6262 (erase): new function
6264 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6266 * MenuBackend.C (expandToc): fix crash when there is no document
6269 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6271 * many files: Add insetwrap.
6273 2002-09-09 John Levon <levon@movementarian.org>
6275 * text2.C: remove confusing and awkward depth wraparound
6277 2002-09-09 John Levon <levon@movementarian.org>
6279 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6282 * buffer.C: remove getIncludeonlyList()
6285 * lyxfunc.C: remove headers
6287 2002-09-09 Juergen Vigna <jug@sad.it>
6289 * text.C (getColumnNearX): fix form Michael this is most
6290 probably a cut&paste bug.
6292 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6294 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6296 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6297 references, ws changes.
6299 * text2.C (init): update counters after init
6300 (insertParagraph): no need to set counter on idividual paragraphs.
6301 (setCounter): access the counters object in the textclass object
6302 on in the buffer object.
6303 (updateCounters): ditto
6305 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6306 shared_ptr<Counters> to avoid loading counters.h in all
6308 (LyXTextClass): initialize ctrs_
6309 (TextClassTags): add TC_COUNTER, and ...
6310 (Read): use it here.
6311 (CounterTags): new tags
6312 (readCounter): new function
6313 (counters): new funtion
6314 (defaultLayoutName): return a const reference
6316 * counters.C (Counters): remove contructor
6317 (newCounter): remove a couple of unneeded statements.
6318 (newCounter): simplify a bit.
6319 (numberLabel): some small formatting changes.
6321 * buffer.[Ch]: remove all traces of counters, move the Counters
6322 object to the LyXTextClass.
6324 2002-09-06 Alain Castera <castera@in2p3.fr>
6326 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6327 package to set the horizontal alignment on fixed width columns.
6330 * lyx_sty.h: added tabularnewline macro def.
6332 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6334 2002-09-06 John Levon <levon@movementarian.org>
6336 * LyXAction.C: tooltips for sub/superscript
6338 * MenuBackend.C: a bit more verbose
6340 * lyxfunc.C: tiny clean
6342 * undo_funcs.C: document undo_frozen
6344 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6346 * counters.C (Counters): add missing algorithm counter.
6348 * text2.C (setCounter): lookup the counter with layouts latexname
6349 instead of by section number.
6350 (setCounter): use a hackish way to lookup the correct enum
6352 a float name->type change
6353 reset enum couners with counter name directly instead of depth value.
6355 * counters.C (Counters): remove the push_backs, change to use the
6356 float type not the float name.
6357 (labelItem): remove unused string, float name->type change
6359 * counters.h: don't include vector, loose the enums and sects vectors
6361 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6363 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6364 (Read): add float->TC_FLOAT to textclassTags
6365 (Read): and handle it in the switch
6366 (readFloat): new function
6368 * FloatList.C (FloatList): comment out the hardcoded float
6371 * lyxlayout.h: ws change.
6373 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6375 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6377 2002-09-03 Angus Leeming <leeming@lyx.org>
6379 * BufferView_pimpl.h: qualified name is not allowed in member
6380 declaration: WorkArea & Pimpl::workarea() const;
6382 * factory.C: added using std::endl directive.
6384 * text3.C: added using std::find and std::vector directives.
6386 2002-08-29 André Pönitz <poenitz@gmx.net>
6389 * text2.C: remove unused member number_of_rows
6392 * BufferView2.C: remove file, move contents to...
6393 * BufferView.C: ... here
6395 * BufferView_pimpl.C:
6396 * factory.C: move more inset creation to factory
6398 * vspace.C: avoid direct usage of LyXText, ws changes
6401 don't provide direct access to WorkArea, use two simple
6402 acessors haveSelction() and workHeight() instead
6405 2002-08-29 John Levon <levon@movementarian.org>
6407 * BufferView_pimpl.C (dispatch): do not continue when
6410 2002-08-28 André Pönitz <poenitz@gmx.net>
6412 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6415 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6417 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6419 * buffer.C: increment LYX_FORMAT to 221
6421 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6422 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6424 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6426 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6428 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6430 * factory.C (createInset): use LyXTextClass::floats
6432 * MenuBackend.C (expandFloatListInsert):
6433 (expandFloatInsert):
6436 * text2.C (setCounter):
6438 * LaTeXFeatures.C (useFloat):
6439 (getFloatDefinitions):
6441 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6443 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6444 floatlist_, with accessor floats().
6446 * FloatList.h: remove global FloatList
6448 2002-08-26 André Pönitz <poenitz@gmx.net>
6450 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6454 * BufferView_pimpl.C:
6455 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6457 2002-08-25 John Levon <levon@movementarian.org>
6459 * LyXAction.C: fix margin note description
6461 2002-08-24 John Levon <levon@movementarian.org>
6465 * bufferview_funcs.C:
6467 * undo_funcs.C: cleanups
6469 * lyxfunc.C: disable CUT/COPY when no selection
6471 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6473 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6474 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6476 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6477 Add backward compatibility to "mono", "gray" and "no".
6479 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6481 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6482 (and file_format >= 200).
6484 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6486 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6488 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6490 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6492 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6494 * BufferView_pimpl.C:
6501 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6502 inset and code to make it work with the paragraph code. The inset
6503 can be anywhere in the paragraph, but will only do the expected
6504 thing in LaTeX if the layout file contains the parameter line
6506 (or more generally, a nonzero value) for that layout.
6508 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6510 * paragraph.h: remove the declaration of undefined counters class
6513 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6515 * text2.C (setCounter): fixed enumeration mis-count as reported by
6516 Dr. Richard Hawkins.
6518 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6520 * paragraph_funcs.h: remove some unneeded includes
6522 * text.C (backspace): pasteParagraph now in global scipe
6524 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6525 (pasteSelection): ditto
6527 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6528 * paragraph_funcs.C (pasteParagraph): ... here
6530 2002-08-20 André Pönitz <poenitz@gmx.net>
6532 * commandtags.h: new LFUNs for swapping/copying table row/colums
6535 * lyxfunc.C: support for new lfuns
6537 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6540 * buffer.[Ch]: remove NO_COMPABILITY stuff
6542 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6544 * boost.C (throw_exception): new file, with helper function for
6545 boost compiled without exceptions.
6550 * ParameterStruct.h:
6551 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6553 * bufferlist.C (emergencyWriteAll): use boost bind
6555 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6557 * text.C: include paragraph_funcs.h
6558 (breakParagraph): breakParagraph is now in global scope
6560 * paragraph_funcs.[Ch]: new files
6562 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6565 * buffer.C: include paragraph_funcs.h
6566 (insertStringAsLines): breakParagraph is now in global scope
6568 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6571 * CutAndPaste.C: include paragraph_funcs.h
6572 (cutSelection): breakParagraphConservative is now in global scope
6573 (pasteSelection): ditto
6575 * buffer.h: declare oprator== and operator!= for
6576 Buffer::inset_iterator
6578 * bufferlist.C (emergencyWrite): don't use fmt(...)
6580 * text3.C: add using std::endl
6582 * BufferView.C (moveCursorUpdate): remove default arg
6584 2002-08-20 André Pönitz <poenitz@gmx.net>
6586 * buffer.[Ch]: move inline functions to .C
6589 * BufferView_pimpl.C:
6591 * buffer.[Ch]: use improved inset_iterator
6594 * paragraph.[Ch]: write one paragraph at a time
6596 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6598 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6599 style if style is not specified.
6601 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6603 * text2.C (setCounter): when searching for right label for a
6604 caption, make sure to recurse to parent insets (so that a caption
6605 in a minipage in a figure float works) (bug #568)
6607 2002-08-20 André Pönitz <poenitz@gmx.net>
6609 * text3.C: new file for LyXText::dispatch() and helpers
6611 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6613 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6615 2002-08-19 André Pönitz <poenitz@gmx.net>
6618 * text.C: new LyXText::dispatch()
6620 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6622 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6624 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6626 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6629 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6631 * Makefile.am: use $(variables) instead of @substitutions@
6633 2002-08-15 André Pönitz <poenitz@gmx.net>
6636 * BufferView_pimpl.C: streamlining mathed <-> outer world
6640 * LyXAction.C: remove unused LFUN_MATH
6642 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6644 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6646 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6648 * paragraph.C (Paragraph): reformat a bit
6649 (cutIntoMinibuffer): use builtin InsetList function instad of
6653 * buffer.C: include boost/bind.hpp, add using std::for_each
6654 (writeFileAscii): use ParagraphList iterators
6655 (validate): use for_each for validate traversal of paragraphs
6656 (getBibkeyList): use ParagraphList iterators
6657 (resizeInsets): use for_each to resizeInsetsLyXText for all
6659 (getParFromID): use ParagraphList iterators
6661 * BufferView2.C (lockInset): use paragraph list and iterators
6663 2002-08-14 John Levon <levon@movementarian.org>
6665 * lyxserver.C: remove spurious xforms include
6667 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6669 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6671 2002-08-13 André Pönitz <poenitz@gmx.net>
6674 * lyxfunc.C: further cleaning
6676 2002-08-13 André Pönitz <poenitz@gmx.net>
6678 * funcrequest.h: new constructor
6680 * funcrequest.C: move stuff here from .h
6683 * BufferView_pimpl.C:
6686 * lyxfunc.C: subsequent changes
6688 * lyxfunc.h: new view() member function
6690 * lyxfunc.C: subsequent changes
6692 2002-08-13 Angus Leeming <leeming@lyx.org>
6695 * BufferView_pimpl.C:
6703 changes due to the changed LyXView interface that now returns references
6704 to member variables not pointers.
6706 2002-08-13 Angus Leeming <leeming@lyx.org>
6708 * WordLangTuple (word, lang_code): return references to strings,
6713 * lyxtext.h: forward-declare WordLangTuple.
6718 * text.C: #include "WordLangTuple.h".
6721 * text.C: (selectNextWordToSpellcheck): constify return type.
6723 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6729 * paragraph_pimpl.h:
6732 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6734 Made updateCounter always count from start of buffer, and removed
6735 second argument (par).
6736 Reverted floats number display to '#'. Perhaps I'll try again when the
6737 code base is sanitized a bit.
6739 2002-08-12 Angus Leeming <leeming@lyx.org>
6741 * buffer.[Ch] (getLabelList): constify.
6743 2002-08-07 André Pönitz <poenitz@gmx.net>
6745 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6747 * funcrequest.h: extension to keep mouse (x,y) position
6749 2002-08-12 Juergen Vigna <jug@sad.it>
6751 * BufferView2.C (insertErrors): forbid undo when inserting error
6754 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6756 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6758 * ParagraphList.[Ch]: new files
6760 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6762 * BufferView2.C (lockInset): ParagraphList changes
6765 * bufferlist.C: ditto
6769 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6771 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6772 unused class variable counter_,
6774 * paragraph.[Ch] (getFirstCounter): delete unused function
6776 * counters.C: include LAssert.h
6777 (reset): add a new function with no arg, change other version to
6778 not have def. arg and to not allow empty arg.
6780 * text2.C (setCounter): remove empty arg from call to Counters::reset
6782 2002-08-11 John Levon <levon@movementarian.org>
6784 * Makefile.am: add WordLangTuple.h
6786 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6788 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6789 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6791 * insets/insettext.C: InsetList changes
6793 * graphics/GraphicsSupport.C (operator()): InsetList changes
6795 * toc.C (getTocList): InsetList changes
6797 * paragraph_pimpl.[Ch]: InsetList changes
6799 * paragraph.[Ch]: InsetList changes
6801 * buffer.C (inset_iterator): InsetList changes
6802 (setParagraph): ditto
6803 * buffer.h (inset_iterator): ditto
6804 * iterators.C (operator++): ditto
6805 * iterators.h: ditto
6807 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6809 * InsetList.[Ch]: new files, most InsetList handling moved out of
6812 * BufferView2.C (removeAutoInsets): InsetList changes
6814 (ChangeInsets): ditto
6816 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6818 * paragraph_pimpl.h (empty): new function
6820 * paragraph.[Ch] (empty): new function
6822 * other files: use the new Paragraph::empty function
6824 2002-08-09 John Levon <levon@movementarian.org>
6826 * lyxtext.h: remove unused refresh_height
6828 2002-08-09 John Levon <levon@movementarian.org>
6835 * paragraph.C: move sgml char escaping out of paragraph
6838 * paragraph.C: remove id setter
6842 * paragraph_pimpl.C: remove dead tex_code_break_column
6844 * bufferview_funcs.C: small cleanup
6846 * lyxfunc.C: remove dead proto
6848 * lyxtext.h: make some stuff private. Remove some dead stuff.
6850 * lyxgluelength.C: make as[LyX]String() readable
6852 2002-08-08 John Levon <levon@movementarian.org>
6857 * ToolbarDefaults.C:
6860 * toc.C: lyxaction cleanup
6862 2002-08-08 John Levon <levon@movementarian.org>
6864 * BufferView2.C: small cleanup
6867 * lyxfind.C: move unnecessary header into the .C
6869 2002-08-08 John Levon <levon@movementarian.org>
6871 * funcrequest.h: just tedious nonsense
6874 * lyx_main.C: cleanups
6877 * vspace.C: remove dead header lyx_main.h
6879 2002-08-07 Angus Leeming <leeming@lyx.org>
6882 * paragraph_pimpl.h:
6883 Forward declare class Counters in paragraph.h by moving the ctrs member
6884 variable into Paragraph::Pimpl.
6885 (counters): new method, returning a reference to pimpl_->ctrs.
6887 * text2.C: ensuing changes.
6889 2002-08-07 John Levon <levon@movementarian.org>
6891 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6893 * BufferView_pimpl.C: announce X selection on double/triple
6896 * lyx_main.C: use correct bool in batch dispatch
6898 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6900 2002-08-07 André Pönitz <poenitz@gmx.net>
6902 * funcrequest.h: new class to wrap a kb_action and its argument
6905 * BufferView_pimpl[Ch]:
6909 * lyxrc.C: subsequent changes
6912 2002-08-07 John Levon <levon@movementarian.org>
6914 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6915 document options change.
6917 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6922 * makefile.am: move counters functionality over from
6923 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6925 2002-08-06 John Levon <levon@movementarian.org>
6927 * WordLangTuple.h: new file for word + language code tuple
6938 * BufferView2.C: use WordLangTuple
6941 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6943 2002-08-06 John Levon <levon@movementarian.org>
6945 * lyx_main.C: fix cmdline batch handling
6947 2002-08-06 André Pönitz <poenitz@gmx.net>
6949 * lyxrc.C: set default for show_banner to true
6951 2002-08-06 John Levon <levon@movementarian.org>
6953 * pspell.C: fix a crash, and allow new aspell to work
6955 2002-08-06 John Levon <levon@movementarian.org>
6958 * kbmap.C: small cleanup
6961 * vspace.C: add const
6963 2002-08-05 John Levon <levon@movementarian.org>
6965 * LyXAction.C: back to tabular-insert
6967 2002-08-04 John Levon <levon@movementarian.org>
6970 * BufferView.C: cosmetic change
6972 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6982 * BufferView2.C: purge all "Lyx" not "LyX" strings
6985 * lyxcursor.C: attempt to add some documentation
6990 * ToolbarDefaults.C:
6991 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6992 merge with LFUN_TABULAR_INSERT
6999 * pspell.C: split up i/pspell implementations into separate
7000 files, many cleanups
7002 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7004 * text2.C: some cleanup
7006 * lyxfunc.C: don't check for isp_command == "none" any more, it
7007 didn't make any sense
7009 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7014 * makefile.am: move counters functionality over
7015 from text2.C/paragraph.[Ch] to counters.[Ch], and
7017 2002-08-02 John Levon <levon@movementarian.org>
7019 * buffer.C: s/lyxconvert/lyx2lyx/
7021 2002-08-02 Angus Leeming <leeming@lyx.org>
7023 * lyxlex.C: revert John's change as it breaks reading of the user
7026 2002-08-02 Angus Leeming <leeming@lyx.org>
7028 * importer.C (Import):
7029 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7030 changes due to LyXView::view() now returning a boost::shared_ptr.
7032 2002-08-02 John Levon <levon@movementarian.org>
7034 * lyxlex.C: small cleanup
7036 2002-08-02 John Levon <levon@movementarian.org>
7038 * text2.C (status): small cleanup, no logic change
7040 2002-08-01 John Levon <levon@movementarian.org>
7043 * buffer.C (writeFile): don't output alerts, caller
7047 * lyx_cb.C: from above
7049 * lyxfunc.C: allow to open non-existent files
7051 2002-07-31 John Levon <levon@movementarian.org>
7053 * lyxserver.C: don't let incidental errors get
7056 2002-07-30 John Levon <levon@movementarian.org>
7058 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7060 2002-07-30 John Levon <levon@movementarian.org>
7063 * lyxserver.C: remove I/O callback too
7065 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7067 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7070 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7072 * many files: strip,frontStrip -> trim,ltrim,rtrim
7074 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7076 * PrinterParams.h: remove extern containsOnly, and include
7077 support/lstrings.h instead.
7079 * LaTeX.C (scanAuxFile): modify because of strip changes
7081 * buffer.C (makeLaTeXFile): ditto
7082 * bufferparams.C (writeFile): ditt
7083 * lyxfont.C (stateText): ditto
7084 * lyxserver.C (read_ready): ditto
7085 * vc-backend.C (scanMaster): ditto
7087 * BufferView_pimpl.h: ws changes
7089 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7091 2002-07-26 André Pönitz <poenitz@gmx.net>
7093 * kb_sequence.C: remove unnedred usings
7095 2002-07-26 Juergen Vigna <jug@sad.it>
7097 * lyxfind.C (LyXReplace): we have to check better if the returned
7098 text is not of theLockingInset()->getLockingInset().
7100 2002-07-25 Juergen Vigna <jug@sad.it>
7102 * lyxfind.C (LyXReplace): don't replace if we don't get the
7105 * undo_funcs.C (createUndo): remove debugging code.
7107 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7109 * buffer.C (parseSingleLyXformat2Token): Use default placement
7110 when reading old floats.
7112 * FloatList.C (FloatList): Change the default placement of figure
7113 and tables to "tbp".
7115 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7117 * MenuBackend.C: using std::max
7119 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7121 * MenuBackend.C (expandToc):
7122 (expandToc2): code moved from xforms menu frontend. It is now
7123 generic and TOCs are transparent to menu frontends.
7125 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7127 * toc.C (getTocList): protect against buf=0
7129 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7130 Menu as first parameter. Now, this calls itself recursively to
7131 expand a whole tree (this will be useful for TOC handling)
7132 (expandFloatInsert): remove 'wide' version of floats
7134 * MenuBackend.h (submenuname): returns the name of the submenu.
7135 (submenu): returns the submenu itself, provided it has been
7136 created by MenuBackend::expand
7138 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7140 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7141 insets which have noFontChange == true. (bug #172)
7143 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7145 * BufferView_pimpl.C: add connection objects and use them...
7148 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7150 * MenuBackend.C (expandLastfiles):
7153 (expandFloatListInsert):
7154 (expandFloatInsert):
7155 (expand): split expand in parts
7157 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7159 * lyx_gui.C: use lyx_gui::exit()
7161 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7163 * LyXAction.C: show the failing pseudo action
7165 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7167 * buffer.C (readFile): Run the lyxconvert script in order to read
7170 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7174 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7176 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7180 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7182 2002-07-22 Herbert Voss <voss@lyx.org>
7185 * lyxlength.[Ch]: add support for the vertical lengths
7187 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7189 * toc.[Ch]: std:: fixes
7191 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7193 * lyxrc.C: do not include lyx_main.h
7195 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7201 * BufferView2.C: include "lyxlex.h"
7204 * bufferparams.h: do not #include "lyxlex.h"
7206 * lyxtextclasslist.C (Add): remove method
7207 (classlist): renamed to classlist_
7209 * paragraph_pimpl.C:
7213 * bufferview_funcs.C:
7218 * toc.C (getTocList): use BufferParams::getLyXTextClass
7220 * toc.C (getTocList): use InsetFloat::addToToc
7222 * toc.[Ch]: new files, containing helper functions to handle table
7225 * lyxfunc.C (dispatch): no need to remove spaces around command
7227 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7228 first command of the sequence; it is not very clever, but I do not
7229 have a better idea, actually
7231 * LyXAction.C (LookupFunc): make sure to remove space at the
7232 beginning and end of the command
7234 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7236 * MenuBackend.C (getMenubar): new method: return the menubar of
7238 (read): treat differently reading of menu and menubar (in
7239 particular, the menubar has no name now)
7240 (Menu::menubar): remove
7242 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7245 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7247 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7248 a bibitem inset in a RTL paragraph.
7250 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7252 * paragraph_pimpl.C: constify
7254 * BufferView_pimpl.C:
7256 * lyxfunc.C: fix dispatch in a nicer way
7258 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7260 * lyxfunc.C (dispatch):
7261 * BufferView_pimpl.C:
7262 * BufferView_pimpl.h:
7264 * BufferView.h: rename Dispatch() to dispatch()
7266 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7268 * lyxlayout.C (Read): honor DependsOn tag
7270 * lyxlayout.[Ch] (depends_on): new method
7272 * version.C.in: update lyx_docversion
7274 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7276 * paragraph.C (validate): remove from here...
7277 * paragraph_pimpl.C (validate): ... and move here
7278 (isTextAt): make it const
7280 * buffer.C (getLists): ws cleanup
7282 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7284 * language.C (read): Use iso8859-1 encoding in latex_lang
7285 (this prevents LyX from crashing when using iso10646-1 encoding).
7287 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7289 * text2.C (toggleInset): if cursor is inside an inset, close the
7290 inset and leave cursor _after_ it
7292 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7294 * lyxfunc.C: move minibuffer completion handling out of here
7296 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7298 * BufferView_pimpl.C:
7299 * LaTeX.C: fix dispatch calls
7301 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7303 * text.C (drawChars): Fix Arabic text rendering.
7305 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7309 * lyxfunc.C: remove message-push/pop
7313 * lyxfunc.C: rationalise some code by removing verboseDispatch
7314 in favour of a bool argument to dispatch()
7316 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7318 * lyx_main.C (init): make sure to read symlinks as absolute paths
7320 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7323 * lyxfunc.C: no need for commandshortcut to be a member
7325 2002-07-15 André Pönitz <poenitz@gmx.net>
7327 * converter.C: add support for $$s (scripts from lib/scripts dir)
7328 * lyx_main.C: white space
7330 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7334 * lyxrc.C: remove second exit confirmation
7336 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7341 * BufferView_pimpl.h:
7342 * BufferView_pimpl.C:
7343 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7345 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7347 * MenuBackend.C (expand): add numeric shortcuts to document menu
7349 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7351 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7353 * lyxfont.C (setLyXFamily):
7360 * buffer.C (asciiParagraph): use ascii_lowercase
7362 2002-07-15 Mike Fabian <mfabian@suse.de>
7364 * lyxlex_pimpl.C (search_kw):
7365 * lyxlex.C (getLongString):
7366 * converter.h (operator<):
7367 * converter.C (operator<):
7368 * buffer.C (parseSingleLyXformat2Token):
7370 * ToolbarDefaults.C (read):
7371 * MenuBackend.C (checkShortcuts):
7373 * LColor.C (getFromGUIName):
7374 (getFromLyXName): use the compare_ascii_no_case instead of
7375 compare_no_case, because in turkish, 'i' is not the lowercase
7376 version of 'I', and thus turkish locale breaks parsing of tags.
7378 2002-07-16 Angus Leeming <leeming@lyx.org>
7380 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7381 now takes a Buffer const & argument.
7383 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7385 * BufferView.C (resize): check there's a buffer to resize
7387 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7389 * lyxfunc.C: remove dead code
7392 * lyxserver.C: use lyx_guii::set_read_callback
7394 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7396 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7397 an inset in a RTL paragraph.
7399 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7401 * lyxfunc.C: repaint after a font size update
7403 2002-07-15 André Pönitz <poenitz@gmx.net>
7405 * lyxlength.C: inBP should be able to return negative values
7407 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7409 * lyxfunc.C: use lyx_gui::update_fonts()
7411 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7413 * lyxfunc.C: use lyx_gui::update_color()
7415 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7421 * lyxrc.C: remove file->new asks for name option, and let
7422 buffer-new take an argument
7424 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7426 * BufferView_pimpl.C: remove unneeded extra repaint()
7428 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7430 * LyXAction.C: allow command-sequence with NoBuffer
7432 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7434 2002-07-10 Angus Leeming <leeming@lyx.org>
7436 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7438 2002-07-09 Angus Leeming <leeming@lyx.org>
7440 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7442 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7444 * lengthcommon.h: whitespace
7446 * lyxfunc.C: update scrollbar after goto paragraph
7448 * lyxtext.h: factor out page break drawing, and fix it so
7449 page break/added space paints as selected nicely
7451 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7453 * BufferView_pimpl.C: add FIXMEs, clean up a little
7455 2002-07-09 André Pönitz <poenitz@gmx.net>
7457 * lyxfont.[Ch]: support for wasy symbols
7459 2002-07-08 André Pönitz <poenitz@gmx.net>
7461 * BufferView_pimpl.C: apply John's patch for #93.
7463 2002-07-05 Angus Leeming <leeming@lyx.org>
7465 * BufferView_pimpl.C (buffer): generate previews if desired.
7467 * LColor.h: add "preview" to the color enum.
7469 * LColor.C (LColor): add a corresponding entry to the items array.
7471 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7474 2002-07-05 Angus Leeming <leeming@lyx.org>
7476 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7477 The body of the code is now in the method that is passed an ostream &
7478 rather than a file name.
7479 Pass an additional only_preamble parameter, useful for the forthcoming
7482 2002-07-03 André Pönitz <poenitz@gmx.net>
7484 * lyxfunc.C: simplify getStatus() a bit for math stuff
7486 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7488 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7490 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7492 * text.C (changeRegionCase): do not change case of all the
7493 document when region ends at paragraph end (bug #461)
7495 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7497 * paragraph.C (startTeXParParams):
7498 (endTeXParParams): add \protect when necessary
7500 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7502 * BufferView_pimpl.C (workAreaExpose): remove warning
7504 2002-06-27 Angus Leeming <leeming@lyx.org>
7506 * Makefile.am: add lyxlayout_ptr_fwd.h.
7508 2002-06-26 André Pönitz <poenitz@gmx.net>
7510 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7512 2002-06-25 Angus Leeming <leeming@lyx.org>
7514 * lyxfunc.C (dispatch): Comment out the call to
7515 grfx::GCache::changeDisplay. The method no longer exists now that the
7516 pixmap generation part of the graphics loader has been moved into
7519 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7521 * text2.C: layout as layout
7523 * text.C: layout as layout
7525 * tabular.C (OldFormatRead): layout as layout
7527 * paragraph_pimpl.C (TeXDeeper): layout as layout
7528 (realizeFont): layout as layout
7530 * paragraph.C (writeFile): layout as layout
7531 (validate): layout as layout
7532 (getFont): layout as layout
7533 (getLabelFont): layout as layout
7534 (getLayoutFont): layout as layout
7535 (breakParagraph): layout as layout
7536 (stripLeadingSpaces): layout as layout
7537 (getEndLabel): layout as layout
7538 (getMaxDepthAfter): layout as layout
7539 (applyLayout): layout as layout
7540 (TeXOnePar): layout as layout
7541 (simpleTeXOnePar): layout as layout
7542 (TeXEnvironment): layout as layout
7543 (layout): layout as layout
7544 (layout): layout as layout
7546 * lyxtextclass.C (compare_name): new functor to work with
7547 shared_ptr, layout as layout
7548 (Read): layout as layout
7549 (hasLayout): layout as layout
7550 (operator): layout as layout
7551 (delete_layout): layout as layout
7552 (defaultLayout): layout as layout
7554 * lyxlayout_ptr_fwd.h: new file
7556 * lyxlayout.C (Read): layout as layout
7558 * lyx_cb.C (MenuInsertLabel): layout as layout
7560 * bufferlist.C (newFile): layout as layout
7562 * buffer.C (readLyXformat2): layout as layout
7563 (parseSingleLyXformat2Token): layout as layout
7564 (insertStringAsLines): layout as layout
7565 (asciiParagraph): layout as layout
7566 (latexParagraphs): layout as layout
7567 (makeLinuxDocFile): layout as layout
7568 (simpleLinuxDocOnePar): layout as layout
7569 (makeDocBookFile): layout as layout
7570 (simpleDocBookOnePar): layout as layout
7571 (getLists): layout as layout
7573 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7575 * CutAndPaste.C (cutSelection): layout as layout
7576 (pasteSelection): layout as layout
7577 (SwitchLayoutsBetweenClasses): layout as layout
7579 * BufferView_pimpl.C (Dispatch): layout as layout
7580 (smartQuote): layout as layout
7582 * BufferView2.C (unlockInset): layout as layout
7584 2002-06-24 André Pönitz <poenitz@gmx.net>
7586 * lyxfunc.C: fix #487
7588 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7592 * lyxfunc.C: remove display_shortcuts, show_banner
7594 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7596 * Buffer_pimpl.C: oops, update on resize
7598 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7605 * BufferView.C: use repaint()
7607 * BufferView_pimpl.h:
7608 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7609 as it's a clearer description. Remove superfluous
7612 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7614 * text.C: fix bug 488. Not ideal, but getting
7615 getWord() to work properly for the insets that
7616 matter is more difficult ...
7618 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7620 * BufferView_pimpl.C:
7623 * lyxfunc.C: remove the six million index lyxfuncs to just
7624 one, and DTRT (bug 458)
7626 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7630 * BufferView_pimpl.h:
7631 * BufferView_pimpl.C: clean up resize() stuff,
7632 and unnecessary updateScreen()s
7634 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7638 * BufferView_pimpl.h:
7639 * BufferView_pimpl.C:
7642 * minibuffer.C: remove focus management of workarea,
7643 not needed. Use screen's greyOut()
7645 2002-06-17 Herbert Voss <voss@lyx.org>
7647 * converter.C: (convert) do not post a message, when converting
7648 fails, let the calling function decide what to do in this case
7650 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7652 * lyxfunc.C: tidy up a little
7654 2002-06-16 <alstrup@diku.dk>
7656 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7657 Got rid of FORMS_H_LOCATION include. Now we are
7660 2002-06-15 LyX Development team <lyx@rilke>
7662 * buffer.[Ch] (sgmlOpenTag):
7663 (sgmlCloseTag): Added support for avoiding pernicious mixed
7664 content. Return number of lines written.
7667 (makeDocBookFile): Fixed calls to sgml*Tag.
7668 Simple white space clean.
7670 (simpleDocBookOnePar): Simple white space clean.
7672 * tabular.[Ch] (docBook): Renamed to docbook and got another
7673 argument to related with the pernicious mixed content.
7675 (docbookRow): Fixed calls for docbook inset method.
7677 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7679 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7680 so it's X11 independent.
7684 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7686 2002-06-15 Lyx Development team <lyx@electronia>
7688 * intl.h: Renamed getTrans to getTransManager.
7690 2002-06-14 Angus Leeming <leeming@lyx.org>
7692 * Makefile.am: nuke forgotten stl_string_fwd.h.
7694 2002-06-12 Angus Leeming <leeming@lyx.org>
7696 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7698 2002-06-13 Angus Leeming <leeming@lyx.org>
7701 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7703 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7705 * kbmap.C (getiso): add support for cyrillic and greek
7707 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7711 * BufferView_pimpl.h:
7712 * BufferView_pimpl.C: move bogus scrolling logic
7715 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7718 * BufferView_pimpl.C: view->resize() change
7720 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7722 * BufferView_pimpl.C: topCursorVisible
7725 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7729 * lyx_gui.C: move to frontends/
7733 * lyx_main.C: changes from above
7735 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7742 * lyx_main.C: minor tidy
7744 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7746 * BufferView_pimpl.h:
7747 * BufferView_pimpl.C:
7749 * BufferView.C: make painter() const,
7752 * BufferView2.C: use screen() accessor
7755 * lyx_main.C: some minor cleanup
7757 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7759 * BufferView_pimpl.h:
7760 * BufferView_pimpl.C: remove enter/leaveView,
7763 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7768 * BufferView_pimpl.h:
7769 * BufferView_pimpl.C: only construct screen once,
7772 * lyxrc.C: remove pointless comment
7774 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7777 * BufferView.C: remove active() and belowMouse()
7779 * BufferView_pimpl.h:
7780 * BufferView_pimpl.C: use workarea() not workarea_,
7781 and make it use a scoped_ptr instead
7783 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7785 * lyx_gui.C: add debug message on BadWindow
7787 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7789 * sp_spell.C: fdopen is not part of the C++ standard.
7791 * paragraph.C (InsetIterator): use >= instead of ==
7793 2002-06-07 Angus Leeming <leeming@lyx.org>
7795 Fixes needed to compile with Compaq cxx 6.5.
7796 * BufferView_pimpl.C:
7803 * lyxtextclasslist.C:
7808 all c-library variables have been moved into namespace std. Wrap
7809 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7814 Add a using std::abs declaration.
7816 * kbmap.h (modifier_pair):
7817 * paragraph.h (InsetTable, InsetList):
7818 * lyxfont.h (FontBits):
7819 type definition made public.
7821 * bufferlist.C (emergencyWriteAll): the compiler complains that
7822 there is more than one possible lyx::class_fun template to choose from.
7823 I re-named the void specialisation as lyx::void_class_fun.
7825 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7827 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7828 the compiler is is unable to find tostr in write_attribute.
7830 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7832 * buffer.C (sgmlError): hide #warning
7834 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7836 * xtl/*: get rid of xtl, which is not in use anyway
7838 * LyXAction.C (init):
7839 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7840 were unimplemented xtl experimentation
7842 2002-06-04 André Pönitz <poenitz@gmx.net>
7844 * lyxfunc.C: disable array operation on simple formulae
7846 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7848 * converter.C: constify a bit
7850 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7852 * lyx_gui.C: check xforms version correctly
7854 2002-04-30 Herbert Voss <voss@lyx.org>
7856 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7859 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7861 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7862 attempt to register it with a VCS)
7864 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7866 * lyx_main.C (init): honor variables LYX_DIR_13x and
7869 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7873 * lyx_main.C: fix a crash on bad command line,
7874 and give a useful exit status on error
7876 * lyxfunc.C (doImport): allow -i lyx to work
7878 2002-03-30 André Pönitz <poenitz@gmx.net>
7880 * lyxfunc.C: mathed font changes
7882 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7897 * trans_mgr.h: srcdocs, and some minor cleanups
7899 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7901 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7902 call getFont all the time)
7904 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7906 * switch from SigC signals to boost::signals
7908 2002-05-29 André Pönitz <poenitz@gmx.net>
7910 * paragraph_pimpl.C (getChar): don't call size() too often...
7912 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7914 * paragraph_pimpl.C (insertChar): do not try to update tables when
7915 appending (pos == size())
7917 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7918 in order to reduce drastically the number of comparisons needed to
7919 parse a large document
7921 2002-05-29 André Pönitz <poenitz@gmx.net>
7927 * textclasslist.[Ch]:
7928 * sp_ispell.h: whitespace change
7930 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7932 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7933 lyxaction directly now.
7935 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7939 * lyxvc.C: remove unused headers
7941 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7948 * undo_funcs.C: some cleanups. Use shared_ptr
7949 and a template for the undo stacks.
7951 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7953 * BufferView_pimpl.h:
7954 * BufferView_pimpl.C:
7961 * text2.C: use key_state/mouse_state
7963 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7965 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7968 * chset.C: change include order
7969 (loadFile): use boost regex and get rid of LRegex and LSubstring
7971 * Makefile.am (BOOST_LIBS): new variable
7974 * LaTeX.C: change include order.
7975 (scanAuxFile): use boost regex and get rid of LRegex and
7979 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7984 * FontInfo.C: moved to frontends/xforms/
7987 * FontLoader.C: moved into frontends for GUIIzation
7992 * lyxfunc.C: changes from above
7994 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7996 * LColor.C: remove spurious X include
7998 * BufferView_pimpl.C:
8003 * text2.C: move font metrics to frontends/
8005 2002-05-24 Juergen Vigna <jug@sad.it>
8007 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8008 setting the undo_cursor.
8010 * ParagraphParameters.h: include local includes first.
8012 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8014 * BufferView_pimpl.C:
8015 * BufferView_pimpl.h:
8019 * screen.C: move WorkArea into frontends/
8025 * BufferView2.C: move LyXScreen into frontends/
8029 * lyx_gui.C: move lyxlookup into frontends/xforms/
8031 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8034 * BufferView_pimpl.C:
8044 * bufferview_funcs.C:
8057 * vc-backend.C: move LyX/XFormsView into frontends/
8059 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8071 * text2.C: move Painter to frontends/
8073 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8075 * buffer.C: comment out some some code that depend upon lyx_format
8078 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8079 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8081 * buffer.h (NO_COMPABILITY): turn off compability
8083 * ColorHandler.C: include scoped_array.hpp
8085 * font.C: Use more specific smart_ptr header.
8088 * ShareContainer.h: ditto
8092 * BufferView_pimpl.h: ditto
8093 * ColorHandler.h: ditto
8095 * kbmap.C (defkey): change call to shared_ptr::reset
8097 2002-05-21 Juergen Vigna <jug@sad.it>
8099 * buffer.C (insertErtContents): fix to insert ert asis if it is
8100 non empty. Skip it completely if it contains only whitespaces.
8102 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8104 * BufferView_pimpl.C:
8105 * BufferView2.C: clear selection on paste (bug 393)
8107 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8109 * DepTable.C: include ctime
8111 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8113 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8115 2002-05-14 Juergen Vigna <jug@sad.it>
8117 * text.C (breakParagraph): fixed function to honor the keepempty
8118 layout in the right maner and also to permit the right breaking
8119 algorithm on empty or non empyt keepempty paragraphs.
8121 * paragraph.C (breakParagraph): we have to check also if the par
8122 is really empty (!size()) for isempty otherwise we do the wrong
8125 2002-05-10 Juergen Vigna <jug@sad.it>
8127 * buffer.[Ch] : The following are only changes to the ert
8128 compatibility read reading old LaTeX layout and font stuff and
8129 convert it to ERTInsets.
8131 * buffer.h: added isErtInset().
8133 * buffer.C (struct ErtComp): add a fromlayout bool to check
8134 if we're inside a LaTeX layout.
8135 (isErtInset): new helper function.
8136 (insertErtContents): look for other ert insets before this one
8137 and insert the contents there, so that we don't have subsequent
8138 ERT insets with nothing between them. This way we create only one
8139 inset with multiple paragraphs. Also check if we don't insert only
8140 spaces ' ' as they are ignored anyway afterwards in the .tex file
8141 so if we have only spaces we will ignore this latex part in the
8143 (parseSingleLyXformat2Token \\layout): better compatibility when
8144 reading layout-latex stuff.
8145 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8147 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8148 stuff after reading the inset only get the information back from
8151 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8153 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8155 * LaTeXFeatures.C (getBabelOptions): New method.
8157 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8159 * BufferView_pimpl.C (Dispatch): work around missing argument for
8162 2002-05-08 Juergen Vigna <jug@sad.it>
8164 * text.C (leftMargin): handle paragraph leftindent.
8166 * paragraph.C (writeFile): write the new \\leftindent tag.
8167 (validate): handle leftindent code.
8168 (TeXEnvironment): handle paragraphleftindent code again.
8170 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8172 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8173 for paragrap_extra indent code and new token \\leftindent.
8174 (latexParagraphs): handle the leftindent as environment.
8176 * ParameterStruct.h: added leftindent support.
8178 * ParagraphParameters.C (leftIndent): added support functions for
8179 the paragraph left indent.
8181 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8184 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8186 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8189 * text.C (computeBidiTables): No bidi in insetERT.
8191 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8194 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8196 * version.C.in: pre 5
8198 2002-05-02 José Matos <jamatos@fep.up.pt>
8199 * buffer.C (makeDocBookFile): white space changes, add newline to
8201 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8203 * tabular.C (docBook): fix typo.
8205 2002-05-03 Juergen Vigna <jug@sad.it>
8207 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8208 change in LyXText as we can not be sure it was not freed.
8209 (drawOneRow): remove unused code.
8211 * text.C (drawInset): redo the calculation of the need_break_row as
8212 it could have a row which was already freed.
8213 (draw): look at the return value of drawInset and return false if
8214 it also returned false.
8215 (paintRowText): look at the return value of draw and return false if
8216 it also returned false.
8218 * lyxtext.h: added bool return type to drawInset() and draw() so that
8219 if we have a change in the row so that the rowbreak has to be redone
8220 we abort drawing as it will be called again.
8222 2002-05-02 Juergen Vigna <jug@sad.it>
8224 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8225 a change in the maintext also if we're inside an inset.
8226 (Dispatch): set the cursor again after a break line and after the
8227 screen has been updated as it could be we're in a different row.
8229 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8230 to set the cursor behind the pargraph with > size().
8231 (setCursor): check also for the same paragraph when checking where
8232 to put the cursor if we have a NFR inset.
8234 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8235 parts of layout read further up as it still was in the wrong
8238 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8240 * screen.C (drawFromTo): change sine fullRebreak always return
8243 * buffer.C (parseSingleLyXformat2Token): reindent some
8245 * BufferView_pimpl.C (update): change since fullRebreak always
8247 (Dispatch): git rid of the last hardcoded "Standard"s.
8249 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8251 * text2.[Ch] (fullRebreak): make it return void now that we always
8254 2002-04-30 Juergen Vigna <jug@sad.it>
8256 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8257 ert compatibility check for "latex" layout.
8259 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8261 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8262 minipages: use col% instead of p%, and also use the current font.
8263 (makeLaTeXFile): Fix use babel condition.
8264 (parseSingleLyXformat2Token): Correct font when reading old floats.
8266 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8268 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8269 inserting list of floats.
8271 2002-04-25 Herbert Voss <voss@lyx.org>
8273 * MenuBackend.C (expand): don't add the graphics extensions to the
8276 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8278 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8279 non-existing layout, do not complain if it was the default layout
8280 of the original class (bug #342)
8282 2002-04-24 Juergen Vigna <jug@sad.it>
8284 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8285 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8287 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8289 * buffer.C (getBibkeyList): If using \bibliography, return the
8290 option field with the reference itself. Enables us to provide natbib
8291 support when using \bibliography.
8293 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8295 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8297 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8298 natbib is provided by the LaTeX class.
8300 2002-04-23 Juergen Vigna <jug@sad.it>
8302 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8305 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8307 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8309 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8311 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8312 ensuremath around textordmasculine, textordfeminine and
8315 2002-04-19 Juergen Vigna <jug@sad.it>
8317 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8318 reinitializing the buffer otherwise row-dimensions may be wrong.
8319 (update): reset also the selection cursors if they do exits otherwise
8320 their x/y positions may be wrong.
8322 * text2.C (cursorDown): don't enter the inset if we came from a row
8323 above and are one row over the inset.
8325 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8326 really leaving an inset.
8328 2002-04-18 Juergen Vigna <jug@sad.it>
8330 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8331 of the selected paragraph does not have the selected layout also if
8334 * text2.C (setLayout): fixed bug which did not change last selected
8337 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8338 changed the read and substituted \\end_float with \\end_inset!
8340 * BufferView_pimpl.C (cursorPrevious):
8341 (cursorNext): fixed to make it work with rows heigher than the work
8342 area without moving the cursor only the draw of the row.
8343 (workAreaMotionNotify): fix jumping over high rows.
8345 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8347 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8350 2002-04-16 Juergen Vigna <jug@sad.it>
8352 * text2.C (setCursor): set also the irow().
8353 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8355 (cursorDown): support for locking an inset if the x_fix value goes
8356 inside it. That way I can transverse insets too with cursor up/down.
8358 * lyxrow.h: added irow helper function same as other (i) functions.
8360 * BufferView_pimpl.C (cursorPrevious):
8361 (cursorNext): fixed for insets!
8363 2002-04-15 Juergen Vigna <jug@sad.it>
8365 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8366 position otherwise it is wrong in some cases.
8368 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8369 inside the inset before the call.
8371 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8373 * buffer.[Ch] (getBibkeyList): make it const.
8375 2002-04-12 Juergen Vigna <jug@sad.it>
8377 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8379 * text2.C (getCursorX): new helper function
8380 (setCursor): compute also ix_
8381 (setCursorFromCoordinates): set also ix.
8383 * lyxcursor.h: added ix_ and helper functions.
8385 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8387 * buffer.C (insertStringAsLines): dont break paragraph if the this
8388 paragraph is inside an inset which does not permit it!
8390 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8391 also with no chars on this paragraph.
8392 (paintRowText): only paint stuff if it's inside the workarea!
8394 * paragraph.C (breakParagraph): honor keepempty flag and break the
8395 paragraph always below not above.
8397 * BufferView2.C (unlockInset): update the paragraph layout on inset
8398 unlock as we changed paragraph in such a case.
8400 * lyxfind.C (LyXFind): clear the former selection if not found!
8402 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8403 again called in insertChar().
8405 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8406 an inset which uses the whole row!
8407 (rightMargin): ditto.
8408 (insertChar): force a rebreak if we inserted an inset!
8410 2002-03-28 Herbert Voss <voss@lyx.org>
8412 * lyxlength.[Ch]: add inBP() to get the right PS-point
8413 units (BigPoint). With inPixels we have rounding errors
8415 2002-04-11 Juergen Vigna <jug@sad.it>
8417 * text2.C (setCursorFromCoordinates): set iy to the right value.
8418 (setCursor): add check if row->previous exists!
8420 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8421 an old float_type as this was the case in the old code!
8423 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8425 * BufferView2.C (showLockedInsetCursor): use iy
8426 (fitLockedInsetCursor): ditto
8428 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8429 locked insets as there we have the right value now.
8431 * lyxcursor.C: added iy_ variable and iy functions to set to the
8432 baseline of cursor-y of the locked inset.
8434 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8435 (setCursor): fixed for insets which need a full row.
8437 * text.C (rowLastPrintable): don't ignore the last space when before
8438 an inset which needs a full row.
8439 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8440 as last character of a row when before a inset which needs a full row.
8442 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8444 * version.C.in: update date
8446 * text2.C (fullRebreak): try to always return true and see what
8449 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8451 * MenuBackend.C (expand): use Floating::listName
8453 * FloatList.C (FloatList): add listName argument to the built-in
8456 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8457 text associated with the float.
8459 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8461 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8463 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8465 * ShareContainer.h: add a couple of missing typenames.
8467 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8469 * lyxrc.C (getDescription): use _() correctly rather than N_().
8471 2002-03-28 Herbert Voss <voss@lyx.org>
8473 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8474 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8476 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8478 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8479 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8481 2002-03-29 Juergen Vigna <jug@sad.it>
8483 * lyxfunc.C (dispatch): add a missing fitCursor call.
8485 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8486 it was scrolled by a cursor move, so return the bool status.
8488 * BufferView.C (fitCursor): return the bool flag also to the outside
8489 world as this is needed.
8491 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8493 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8494 call the edit() as it is not needed (and wrong) IMO.
8495 (workAreaButtonPress): set the screen_first variable before evt.
8496 unlock the inset as this may change screen_first and then we have
8497 a wrong y position for the click!
8499 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8501 * MenuBackend.C (expand): another translation that I missed
8503 2002-03-28 Juergen Vigna <jug@sad.it>
8505 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8507 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8509 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8511 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8513 * MenuBackend.C (expand): fix export/view/update when there is no
8516 2002-03-27 Herbert Voss <voss@lyx.org>
8518 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8521 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8523 * bufferview_funcs.C (currentState): only show paragraph number
8524 for is DEVEL_VERSION is set.
8526 * lyxfunc.C (dispatch): put warning in INFO channel
8528 * MenuBackend.C (expand): translate the name of floats
8530 * FloatList.C (FloatList): mark the float names for translation
8532 * converter.C (convert): use LibScriptSearch
8534 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8536 * MenuBackend.C (defaults): fix default menu (we might as well get
8539 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8541 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8544 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8546 * lyxvc.C: reorder includes.
8548 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8550 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8553 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8555 * CutAndPaste.C: change layouts earlier on paste
8556 to avoid crashing when calling getFont()
8558 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8560 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8563 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8565 * WorkArea.C: remove 'Pending' debug message.
8567 * most files: ws cleanup
8569 * buffer.[Ch]: ws changes
8571 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8573 2002-03-21 Juergen Vigna <jug@sad.it>
8575 * tabular.C (SetMultiColumn): collapse also the contents of the
8576 cells and set the last border right. Added a Buffer const * param.
8578 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8580 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8583 2002-03-19 Juergen Vigna <jug@sad.it>
8585 * text2.C (clearSelection): reset also xsel_cache.
8587 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8588 where it needs to be called (John tells us to do so too :)
8589 (selectionLost): reset sel_cache.
8591 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8593 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8595 * text2.C (setCursorIntern): put debuging code in INSETS channel
8597 2002-03-19 André Pönitz <poenitz@gmx.net>
8599 * lyxfunc.C: tiny whitespace change
8601 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8603 * ToolbarDefaults.C (init):
8604 * LyXAction.C (init):
8606 * BufferView_pimpl.C (Dispatch):
8607 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8609 2002-03-19 Allan Rae <rae@lyx.org>
8611 * exporter.C (Export): removeAutoInsets before doing anything else.
8612 While I've just introduced a dependency on BufferView this really is
8613 the best place to clean the buffer otherwise you need to cleanup in
8614 a dozen places before calling export or cleanup in a dozen functions
8617 * converter.C (runLaTeX):
8618 (scanLog): Better handling of removeAutoInsets and screen updates.
8620 * lyxfunc.C (dispatch): small whitespace changes
8622 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8624 * WorkArea.C (C_WorkAreaEvent): return a value.
8625 (event_cb): return 1 if we handled the event, 0 otherwise.
8627 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8629 2002-03-18 Juergen Vigna <jug@sad.it>
8631 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8632 (GetAdditionalWidth): ditto.
8636 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8637 inset if we're there actually (probably not used right now but this
8638 is the direction to go for unifying code).
8639 (paste): disable code to clear the selection.
8641 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8642 inside an InsetText and move the check further up as it is in the
8645 * text2.C (pasteSelection): set a selection over the pasted text.
8647 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8649 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8650 and libgraphics to build on Cygwin.
8652 2002-03-15 Juergen Vigna <jug@sad.it>
8654 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8655 inserting an Inset into the paragraph. I know this is not the best
8656 fix but we already use current_view in CutAndPaste so we will remove
8657 all of it's using at the same time.
8659 * buffer.C (sgmlError): deactivated function till it is rewritten in
8660 the right mode, now it can create problems.
8662 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8663 before accessing it.
8665 2002-03-14 Juergen Vigna <jug@sad.it>
8667 * undo_funcs.C (textHandleUndo): do the right thing when updating
8668 the inset after the undo/redo.
8670 * text2.C (setCursor): just some testcode for #44 not ready yet.
8672 * undo_funcs.C (textHandleUndo): set the next() and previous()
8673 pointers of the paragraph to 0 before deleting otherwise we have
8674 problems with the Paragraph::[destructor].
8676 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8677 on a paragraph insertion.
8679 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8681 * buffer.C (asciiParagraph): use += operator for char append to
8684 * paragraph.C (getFontSettings): compare >= not just >
8685 (highestFontInRange): ditto
8688 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8690 * paragraph.C: change several algorithm to be more appripriate for
8691 the problem domain. This is lookip in FontList and in the InsetList.
8693 2002-03-13 André Pönitz <poenitz@gmx.net>
8696 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8698 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8703 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8705 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8707 * Painter.C (display): anon helper function, adjust code for this
8709 (pixmap): remove function.
8711 * Painter.h: remove private display variable.
8713 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8715 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8717 * WorkArea.[Ch]: remove figinset_canvas cruft.
8719 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8721 * lyxtextclass.C (operator): add one item cache optimization.
8723 * bufferlist.h: doxy changes
8725 * bufferlist.C: ws changes
8727 * DepTable.[Ch] (ext_exist): place const in the right spot.
8729 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8731 (workAreaExpose): call resizeInsets when the with BufferView changes.
8732 (Dispatch): adjust for protectedBlank removal
8733 (specialChar): call updateInset if the insert went ok.
8735 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8736 specialChar instead.
8738 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8740 * BufferView.h: doxy change
8742 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8744 * lyxtextclass.C (operator[]): remove non-const version
8745 (defaultLayout): remove non-const version
8747 2002-03-12 Juergen Vigna <jug@sad.it>
8749 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8750 did resize the LyXText too.
8752 * buffer.C (readLyXformat2): set layout information on newly allocated
8755 * tabular.C (OldFormatRead): set layout information on the paragraph.
8757 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8759 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8761 2002-03-11 Juergen Vigna <jug@sad.it>
8763 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8765 (resizeCurrentBuffer): force also the insets to resize themselfes.
8766 (moveCursorUpdate): fixed up for InsetText.
8768 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8771 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8772 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8773 value of Dialogs::tooltipsEnabled().
8774 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8776 2002-03-08 Juergen Vigna <jug@sad.it>
8778 * BufferView_pimpl.C (updateInset): update inset inside inset also
8779 if it isn't inside theLockingInset().
8781 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8783 * buffer.C (asciiParagraph): redo some of the word and line length
8785 (getLists): look for Caption instead of caption.
8787 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8789 * buffer.C (Buffer): initialize niceFile to true
8792 (makeDocBookFile): make sure niceFile is true on exit
8794 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8796 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8798 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8800 * LyXSendto.C: remove.
8801 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8802 * lyx_gui.C: remove now-redundant comment.
8803 * ColorHandler.h: remove forward declaration of class WorkArea.
8804 * lyxfunc.C: remove #include "WorkArea.h".
8806 2002-03-07 Juergen Vigna <jug@sad.it>
8808 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8809 got moved away with the DEPM and also set the inset_owner always
8810 right which before could have been omitted.
8812 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8814 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8815 wanted layout is not found.
8817 2002-03-07 Juergen Vigna <jug@sad.it>
8819 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8821 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8823 * paragraph.C (breakParagraph): use default layout not layout of
8825 (Paragraph): clear ParagraphParameters.
8827 2002-03-06 Juergen Vigna <jug@sad.it>
8829 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8830 otherwise it would not be a valid lenght. Fixed a special case in
8831 the minipage compatibility read where we end the document with a
8834 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8835 was set as it could be 0 for InsetTexts first entry.
8837 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8839 * paragraph.C (writeFile): if layout is empty write out
8840 defaultLayoutName().
8842 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8843 file without named layout we set layout to defaultLayoutName().
8845 2002-03-06 Juergen Vigna <jug@sad.it>
8847 * CutAndPaste.C (copySelection): set layout for new paragraph.
8849 * text.C (prepareToPrint): leave ERT inset left aligned
8850 (leftMargin): don't indent paragraphs inside ERT insets
8852 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8854 * paragraph.C (breakParagraph): dont call clear do the work manually
8856 * paragraph.[Ch] (clear): remove function
8858 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8860 * paragraph.C (Paragraph): dont call clear, the work has already
8863 * lyxtextclass.C (operator): assert if n is empty
8865 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8866 work manually instead.
8868 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8870 * BufferView_pimpl.C: protect selectionLost against text == 0
8872 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8874 * text.C (breakParagraph): fix a setting layout to '0' problem.
8876 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8878 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8879 final location of file, for the included files, and graphics.
8881 2002-03-05 Juergen Vigna <jug@sad.it>
8883 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8885 2002-03-04 Juergen Vigna <jug@sad.it>
8887 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8889 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8890 last column of multicolumn cells.
8891 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8893 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8895 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8896 file if it doesn't go to a temporary file.
8898 * buffer.C (sgmlOpenTag):
8899 (sgmlCloseTag): remove extra newline insertion.
8901 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8903 * text.C (getRowNearY): comment out debug msg
8905 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8907 * text2.C: first -> first_y
8909 * text.C (getRowNearY): add some attemts at a possible
8910 optimization, not working.
8912 * tabular.[Ch]: add BufferParams to several function so that newly
8913 created paragraph can be initialized to he default layotu for the
8916 * tabular-old.C (ReadOld): add buf->params to call of Init
8918 * screen.C: rename text->first to text->first_y
8920 * paragraph.C (breakParagraph): always set layout in the broken
8923 * lyxtextclass.C (Read): remove lowercase
8926 (delete_layout): ditto
8928 * lyxtext.h: rename first -> first_y
8930 * lyxlayout.C (Read): remove lowercase
8933 (obsoleted_by): ditto
8935 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8937 * buffer.C (insertErtContents): add params are to InsetERT
8938 (parseSingleLyXformat2Token): add code to check if a paragraphs
8939 layout really exist.
8940 (parseSingleLyXformat2Token): add params to several inset
8942 (asciiParagraph): remove lowercase, do the layout comparisons with
8945 * BufferView_pimpl.C (cursorNext): first -> first_y
8946 (resizeCurrentBuffer): first -> first_y
8947 (updateScrollbar): first -> first_y
8948 (scrollCB): first -> first_y
8949 (workAreaMotionNotify): first -> first_y
8950 (workAreaButtonPress): first -> first_y
8951 (checkInsetHit): first -> first_y
8952 (cursorPrevious): first -> first_y
8953 (cursorNext): first -> first_y
8954 (Dispatch): add buffer_->params to severl inset contructors
8956 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8958 * lyxlayout.C (Read): remove some debug info that I forgot.
8960 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8961 clean up the code slightly.
8962 (makeLinuxDocFile): ditto
8963 (makeDocBookFile): ditto
8965 * text2.C: layout as string
8967 * text.C: layout as string
8969 * paragraph_pimpl.C: layout as string
8971 * paragraph.[Ch]: layout as string
8973 * lyxtextclasslist.[Ch]: layout as string
8975 * lyxtextclass.[Ch]: layout as string
8977 * lyxtext.h: layout as string
8979 * lyxlayout.[Ch]: layout as string
8981 * lyx_cb.C: layout as string
8983 * bufferview_funcs.C: layout as string
8985 * bufferparams.C: layout as string
8987 * buffer.C: layout as string
8989 * LyXView.[Ch]: layout as string
8991 * LaTeXFeatures.[Ch]: layout as string
8993 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8995 * BufferView_pimpl.C: change current_layout to string, remove
9000 (workAreaButtonRelease): layout as string
9002 * BufferView2.C (unlockInset): adjust
9004 * vspace.C (asLatexCommand): use an explict temp variable.
9006 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9008 * Makefile.am: use FRONTEND_*
9010 2002-03-01 Juergen Vigna <jug@sad.it>
9012 * tabular.C (SetWidthOfMulticolCell): changed to something better
9013 I hope but still work in progress.
9014 (recalculateMulticolumnsOfColumn): renamed function from
9015 recalculateMulticolCells as it is more appropriate now.
9016 (SetWidthOfCell): calculate multicols better.
9018 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9020 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9022 * lyxfunc.C (processKeySym): print sequence also if it is
9023 `deleted' (complete)
9025 * kbsequence.C (print): print sequence even if it is deleted
9026 (complete would be a better word, actually).
9028 * lyxfunc.C (dispatch): print complete options after a prefix key
9030 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9032 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9034 * text2.C (setCharFont): eliminate setCharFont code duplication.
9036 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9038 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9039 LFUN_TABULAR_FEATURE (bug #177)
9041 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9043 * Makefile.am: remove figure.h
9045 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9047 * Bufferview_pimpl.C:
9059 * text2.C: remove #include "lyx_gui_misc.h".
9061 * LaTeX.C: added #include <cstdio>
9063 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9065 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9066 that the paragraph following this one can have.
9068 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9070 * vspace.C (asLatexCommand): fix bogus gcc warning
9072 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9074 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9076 * text2.C (setLayout): get rid of redundant code
9078 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9080 * text2.C (incDepth): make sure depth cannot be increased beyond
9083 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9085 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9086 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9088 * PainterBase.h (image):
9089 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9092 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9096 * BufferView_pimpl.C:
9097 * BufferView_pimpl.h:
9117 * sp_spell.C: remove fig inset, and the crap house of
9118 cards that follows it
9120 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9126 * nt_defines.h: move .h into support/
9128 * vms_defines.h: remove
9130 * WorkArea.C: add space in debug output
9134 * buffer.C: add WITH_WARNINGS
9138 * bufferlist.C: s/retrive/retrieve/, add docs
9149 * lyxgui.C: add ID to X error handler
9151 * lyxtestclass.c: fix typo
9153 2002-02-26 Juergen Vigna <jug@sad.it>
9155 * tabular_funcs.C (write_attribute): changed so that some default
9156 attributes are not written at all.
9157 (getTokenValue): set default values before trying to read the
9158 value so we have the return value always set as default if we don't
9159 find the token we search for.
9161 * tabular.C (Write): write bools as bools not as strings!
9163 2002-02-22 Juergen Vigna <jug@sad.it>
9165 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9166 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9168 * text.C (leftMargin): don't add an indent for paragraphs inside
9169 tabular cells (fix #208).
9171 2002-02-21 José Matos <jamatos@fep.up.pt>
9173 * tabular.C (docBook): fixed support for long tables.
9175 2002-02-20 Juergen Vigna <jug@sad.it>
9177 * text2.C (getFont): get the drawing font of the Inset if this
9178 paragraph is inside an inset (only important for InsetERT for now).
9180 * buffer.C (insertErtContents): use new lanugage params in ERT
9183 * CutAndPaste.C: commenting out seemingly uneeded code.
9185 2002-02-19 Allan Rae <rae@lyx.org>
9187 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9188 Iterators might be simple to use but they also get invalidated.
9189 (removeAutoInsets): renamed saved cursor tracking variables and added
9190 some comments to clarify what everything does.
9192 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9199 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9200 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9203 * vc-backend.h: remove #include "support/syscall.h"
9207 * converter.C: rearrange #includes in Lars' approved fashion.
9209 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9210 forward declare class Timeout in the header file.
9212 * XFormsView.C: changes due to the above.
9214 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9217 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9218 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9220 2002-02-18 José Matos <jamatos@fep.up.pt>
9222 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9225 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9227 * a lot of small ws changes
9228 * add a lot of using std::XXX
9229 * use std construcs some places where approp.
9230 * use some exisint stuff from lyxfunctional where approp.
9231 * Make file changes to use partial linking (lets test this now...)
9233 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9237 remove #include "support/syscontr.h" as it's redundant. Always has been.
9245 change Systemcalls::System to Systemcalls::Wait and
9246 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9247 No change of functionality, just reflects the stripped down Systemcalls
9250 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9252 * debug.[Ch]: add a GRAPHICS type to the enum.
9254 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9256 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9258 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9261 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9263 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9264 match the changes below.
9266 * text2.C (toggleInset): if there is not editable inset at cursor
9267 position, try to see if cursor is _inside_ a collapsable inset
9270 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9272 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9273 document menu has a nice checkbox
9275 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9277 * lyxlength.C (asLatexString): change PW to output as percent of
9280 * lengthcommon.C: change '%' to 't%'
9282 * lyxfunc.C (dispatch): a few comments from Martin
9284 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9288 * BufferView_pimpl.h:
9289 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9292 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9294 * vspace.C (inPixels): fix compiler warning
9296 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9298 * lyxfunc.C (getStatus): fix status message for disabled commands.
9300 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9302 * BufferView_pimpl.C: fix crash on close buffer
9303 during selection (#227)
9305 2002-01-27 Herbert Voss <voss@lyx.org>
9307 * buffer.C: link old Figure to new graphic inset
9309 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9311 * FontLoader.C (getFontinfo): Change the latex font names in order
9312 to match the names of type1inst.
9314 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9316 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9318 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9321 (remove_files_with_extension): ditto
9322 (remove_file): ditto
9325 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9326 document is smaller than the work area height. Do not initialize
9327 static variables to 0.
9329 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9331 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9333 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9334 LFUN_LAYOUT_PARAGRAPHS.
9336 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9337 tabular. It is possible to provide a possible cell, which will
9338 typically be the actcell from the corresponding insettabular
9340 * lyxfunc.C (getStatus): small cleanup; disable
9341 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9344 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9346 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9348 * paragraph.C (startTeXParParams):
9349 (endTeXParParams): new methods. The LaTeX code to
9350 start/end paragraph formatting
9351 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9352 empty (fixes bug #200)
9354 * vspace.C (inPixels): adapt to the change below
9355 (inPixels): [later] more cleanups (remove unused variables)
9357 * lyxlength.C (inPixels): change to use a width and a height as
9360 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9362 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9363 Replaced with \paperwidth
9365 * DepTable.C (insert): add std:: qualifier
9367 2002-01-18 Allan Rae <rae@lyx.org>
9369 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9372 * text.C (drawInset): Turned out I didn't know enough about how
9373 rebreaking worked. This fixes most of the redraw problems. I see
9374 an occasional cursor trail when a line is broken now and the cursor
9375 placement can seem out by a few pixels also after a rebreak.
9377 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9379 * buffer.C (parseSingleLyXformat2Token): update because minipage
9380 width is now a LyXLength
9382 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9384 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9387 2002-01-17 Juergen Vigna <jug@sad.it>
9389 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9391 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9392 is set correctly and the inset is updated correctly.
9394 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9396 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9397 the beginning of the loop.
9399 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9401 * lyxrc.C: improve help for use_scalable_fonts
9403 2002-01-17 Allan Rae <rae@lyx.org>
9405 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9407 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9409 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9410 make sure to set their inset_owner to the right value (bug #171)
9412 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9415 * DepTable.C: Implement mtime checking to reduce time spent doing
9418 2002-01-16 Juergen Vigna <jug@sad.it>
9420 * tabular.C (GetAdditionalHeight): one of error fixed.
9422 * lyxrc.C (output): small fix in writing use_pspell.
9424 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9426 * sp_base.h: #include LString.h
9428 2002-01-16 Allan Rae <rae@lyx.org>
9430 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9431 Can someone check this please?
9433 * text.C (drawInset): It was possible that p.row would be removed by
9434 breakAgainOneRow upsetting a few other settings. There may be another
9435 small tweak possible by setting need_break_row = 0 when p.row has been
9436 removed but I don't know enough about the logic here.
9438 2002-01-15 Allan Rae <rae@lyx.org>
9440 * text.C (insertChar): removed conditional truism.
9442 * BufferView2.C (removeAutoInsets): More tweaks.
9443 cur_par_prev could be a stray pointer. Check for trailing empty line
9444 in case last line was cur_par and only had an error inset on it.
9446 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9448 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9451 * vc-backend.C (most methods):
9452 * exporter.C (Export):
9453 * converter.C (convert):
9455 * LyXSendto.C (SendtoApplyCB):
9456 * lyxfunc.C (dispatch):
9460 * lyx_cb.C (AutoSave):
9462 * BufferView_pimpl.C (MenuInsertLyXFile):
9463 * buffer.C (runChktex): use Buffer::filePath().
9465 * buffer.h: rename filename to filename_; rename filepath to
9466 filepath_ and make it private
9467 (filePath): new method
9469 * buffer.C (writeFile): use fileName()
9472 * lyx_main.C (init): fix starting of LyX when the binary is a
9473 link from so,ewhere else.
9475 * minibuffer.C: include <cctype> for isprint
9477 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9479 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9480 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9481 name clash with InsetCollapsable's width function.
9483 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9485 * lastfiles.C: include <iterator>
9487 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9489 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9492 * buffer.C (makeLaTeXFile): ditto.
9493 Also make loop operation more transparent.
9495 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9497 * ToolbarDefaults.C: remove trailing comma closing namespace.
9499 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9501 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9504 * trans.C (Load): comment out unused variable, allowed.
9506 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9508 * minibuffer.[Ch] (append_char): new method to recieve input from the
9509 drop-down completion browser. If a key was pressed, then recieve this
9510 char and append it to the existing string.
9511 (peek_event): modify the positioning data passed to the completion
9512 browser so that it can be placed above the minibuffer rather than below.
9513 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9515 * LyXAction.C (init): alloe error-next for readonly documents.
9517 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9520 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9522 * bufferlist.C (readFile): create the buffer _after_ checking that
9525 * lyxfunc.C (verboseDispatch): fix handling of arguments
9527 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9529 * lyxrc.C: use string::erase() instead of initializing to "".
9532 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9534 * BufferView_pimpl.h:
9535 * BufferView_pimpl.C:
9538 * text2.C: tell X when we have made a selection for copying
9540 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9542 * BufferView_pimpl.C (MenuInsertLyXFile):
9543 * lyxfunc.C (menuNew):
9545 (doImport): add shortcuts to directory buttons
9547 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9550 * lyxfunc.C (setStatusMessage):
9551 (getStatusMessage): new methods
9552 (getStatus):use setStatusMessage instead of setErrorMessage
9553 (dispatch): when function is disabled, set error message here
9554 [instead of in getStatus previously]
9556 * BufferView_pimpl.C (workAreaButtonRelease): update
9557 toolbar/menubar here too.
9559 2002-01-13 Allan Rae <rae@lyx.org>
9561 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9562 Now seems indestructible. Remaining task is to audit all other
9563 code affected by deleteEmptyParagraphMechanism. One small quirk
9564 left is that an empty document with an error in the preamble can
9565 be made to report an error but no error box appears. I don't know
9567 (removeAutoInsets): Improved comments.
9569 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9572 * Thesaurus.C: update for Aiksaurus 0.14
9574 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9576 * text2.C (firstParagraph): removed member function, all uses
9577 replaces with ownerParagraph
9578 (redoParagraphs): here
9580 (toggleAppendix): here
9581 * BufferView2.C (insertErrors): here
9582 (setCursorFromRow): here
9584 2002-01-13 Allan Rae <rae@lyx.org>
9586 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9587 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9588 There is still a way to segfault this although you may have to do this
9589 multiple times: Have an InsetERT with an unknown command in it.
9590 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9591 <down-arrow>, <Enter> again, View->DVI, BANG!
9593 * text2.C (setCursor):
9594 (deleteEmptyParagraphMechanism):
9595 * lyxtext.h (setCursor):
9596 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9597 Making use of the return value may help fix other bugs.
9599 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9601 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9603 * LyXView.C (updateMenubar): call MenuBar::update here
9604 (updateToolbar): but not here
9605 (showState): do not update toolbar/menubar
9607 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9608 should need to care about that.
9610 * lyxfunc.C (verboseDispatch): simplify a bit
9611 (getStatus): have a version which takes a pseudoaction, and
9612 another which requires a (kb_action,string).
9614 * LyXAction.C (retrieveActionArg): make it work also when action
9615 is not a pseudo-action.
9616 (getActionName): simplify a bit
9619 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9621 * lyxfunc.C (verboseDispatch): new families of methods with
9622 several ways to specify a command and a bool to indicate whether
9623 the command name and shortcut should be displayed in minibuffer
9624 (eventually, we could extend that to a finer bitmask like
9625 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9626 (dispatch): the pristine dispatch command which just, well,
9627 dispatchs! Note it still sets its result to minibuffer; I'm not
9630 * lyxfunc.h: remove setHintMessage
9632 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9634 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9636 * BufferView_pimpl.C (specialChar): delete new inset if we have
9637 not been able to insert it.
9639 * kbmap.C: revert to using int instead of kb_action, since all we
9640 are dealing with is pseudo-actions.
9642 * LyXAction.C (searchActionArg): change to return int instead of
9643 kb_action, since the result is a pseudoaction.
9645 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9647 * buffer.C (insertErtContents): Fix (partially) the font bug.
9649 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9651 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9652 as the other one is broken on my machine!
9654 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9657 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9659 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9661 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9662 reflect their actual use. Provide compatibility code for older lyxrc
9665 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9667 change names of popup font variables in line with the changes to lyxrc.C
9669 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9671 * buffer.C (asciiParagraph): avoid outputing a word twice after
9674 * lyxrc.C (getDescription): document that document_path and
9675 template_path can be empty.
9677 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9679 * LaTeXFeatures.C (getMacros):
9680 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9682 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9684 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9686 (getPackages): rename feature "floats" to "float". Use an array to
9687 iterate over 'simple' features (i.e. just a \usepackage). Add
9688 handling of "amsmath" (renamed from "amsstyle").
9690 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9692 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9695 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9697 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9698 FuncStaus::FuncStatus & FuncStaus::some_method().
9700 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9702 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9703 of the func_satus stuff. Edited and massaged in various ways by
9706 * lyxfunc.C (getStatus): use FuncStatus
9708 2002-01-08 Juergen Vigna <jug@sad.it>
9710 * text.C (nextBreakPoint): use function Inset::isChar().
9712 * paragraph.C (TeXOnePar): use function
9713 Inset::forceDefaultParagraphs.
9715 * buffer.C (latexParagraphs): use function
9716 Inset::forceDefaultParagraphs.
9718 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9720 * lyx_gui.C (init): set the style of the menu popups to
9721 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9723 2002-01-07 Juergen Vigna <jug@sad.it>
9725 * text.C (setHeightOfRow): small fix
9726 (prepareToPrint): don't look at alignment if we don't have the place
9729 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9731 * box.C: New file. Move the Box methods and functions out of box.h,
9732 following Lars' suggestion.
9734 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9736 * box.h: #include "support/LOstream.h", needed for inlined function.
9739 * lyxtextclasslist.C: added some using std declarations.
9741 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9743 * box.h: make signed dimensions to allow insets wider than
9744 the screen (bug #162)
9746 * BufferView_pimpl.C: add some insetHit debug
9748 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9750 * vc-backend.C: add FIXME
9752 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9754 * lyxfunc.C (getStatus): enable code for showing math font status
9757 2002-01-07 Juergen Vigna <jug@sad.it>
9759 * text.C (nextBreakPoint): removed debug output not needed anymore.
9761 2002-01-06 Juergen Vigna <jug@sad.it>
9763 * text.C (nextBreakPoint): fixed up this function we had this bug
9764 since ever but now hopefully we break row better.
9765 (insertChar): we have to check if an inset is the next char as it
9766 could now happen that a large inset is causing a break.
9768 2002-01-05 Juergen Vigna <jug@sad.it>
9770 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9771 if it doesn't like to be drawed.
9773 2002-01-04 Juergen Vigna <jug@sad.it>
9775 * BufferView2.C (lockInset): forgot to set a cursor.
9777 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9779 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9784 * form_maths_panel.C:
9785 * form_maths_panel.h:
9786 * form_maths_panel.fd: implemented sub- and super- buttons in math
9789 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9790 (or ^ space) to be used as in TeX (req'd by André).
9792 * lyxfunc.C: Allow ^ and _ again to be used both as
9793 super/subscript (mathed) and as themselves (in text).
9795 2002-01-03 Allan Rae <rae@lyx.org>
9797 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9798 "LyX" or the filename of the current buffer if it has one. This is a
9799 modified form of John Levon's patch.
9801 * XFormsView.C (setWindowTitle): also set icon title.
9803 * LyXView.h (setWindowTitle): signature changed.
9804 * XFormsView.h (setWindowTitle): ditto.
9806 2002-01-02 Juergen Vigna <jug@sad.it>
9808 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9810 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9812 * screen.C (topCursorVisible): introduce a temp var for
9813 text->cursor.row(), handle the case where this row is null. (kindo
9816 * text2.C (setCursor): add a couple of asserts.
9818 * paragraph.h (inset_iterator): add -> operator
9820 * paragraph.[Ch] (autoDeleteInsets): remove member function
9822 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9823 cursor pos correctly and handle inset deletion by itself.
9824 (insertErrors): move iterator declaration out of for expression
9826 * lyxtextclass.C: add <algorithm>
9828 * Makefile.am: added the new files to sources, removed layout.C
9830 * layout.C: removed file
9832 * layout.h: remove LYX_DUMMY_LAYOUT
9834 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9838 * lyxtextclass.[Ch]:
9839 * lyxtextclasslist.[Ch]: new files
9841 * include order changes to a lot of files, also changes because of
9844 2001-12-27 Juergen Vigna <jug@sad.it>
9846 * buffer.C (asciiParagraph): more fixes.
9848 * tabular.C (ascii): make ascii export support export of only the
9849 data separated by a column-delimiter.
9850 (ascii): better support for ascii export.
9852 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9854 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9856 * tabular_funcs.C: use a "using std::getline" instead of the
9857 previous fix from Angus (necessary for cxx + lyxstring)
9859 2001-12-24 Juergen Vigna <jug@sad.it>
9861 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9863 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9864 problems. First check a minipage also if we have some ert-contents
9865 (not only on par->size(), second set the right depth of the paragraph
9866 on the relink to the root-paragraph-list!
9868 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9869 which then did not anymore update the main paragraphs on undo/redo!
9871 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9873 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9874 code. Support all font-changing funcs (even those which are not in
9875 menu currently). Support for reporting font settings in
9876 mathed (disabled until Andre provides a function on mathed's side).
9878 * func_status.h (toggle): small helper function to set toggle
9881 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9883 * tabular_funcs.C: getline -> std::getline
9885 2001-12-21 Juergen Vigna <jug@sad.it>
9887 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9888 accessed and could be 0 (I couldn't generate this but it seems
9891 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9893 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9894 * tabular_funcs.h: here and include iosfwd
9896 2001-12-20 Juergen Vigna <jug@sad.it>
9898 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9899 inside inset but undo_par was.
9901 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9903 * Thesaurus.C: always include <config.h> in sources.
9907 * box.h: do not include <config.h> in header files
9909 * text.C (paintLastRow): remove unused variable
9911 * text.C (transformChar):
9913 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9916 * font.C (width): rewrite to use uppercase() instead of
9919 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9921 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9923 * lyxfind.C: clean up of find failure position change
9925 2001-12-20 Juergen Vigna <jug@sad.it>
9927 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9929 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9930 (TeXRow): added to LaTeX a single tabular row.
9931 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9932 (Latex): simplified and finally good LT-h/f support.
9933 (various_functions): just small adaptions for LT-h/f support.
9935 * tabular_funcs.[hC]: added and moved here all not classfunctions
9938 2001-12-19 Juergen Vigna <jug@sad.it>
9940 * tabular.[Ch]: better support for longtabular options (not finished
9943 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9945 * text.C (paintLastRow): use the label font instead of the font of
9946 the last character to compute the size of *_BOX. This makes more
9947 sense and avoids a crash with empty paragraphs.
9948 Use Painter::rectangle to draw EMPTY_BOX.
9950 2001-12-19 Juergen Vigna <jug@sad.it>
9952 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9953 the paragraphs if the replaced paragraph is not the first one!
9954 Tried to delete not used paragraphs but does not work yet so for
9955 now it's inside #ifdef's and by default off!
9957 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9959 * MenuBackend.C: include "lyx_main.h" instead of declaring
9960 lastfiles (actually was declared as LastFiles* instead of a
9963 2001-12-17 Juergen Vigna <jug@sad.it>
9965 * tabular.C (AppendColumn): applied John's fix
9967 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9971 * BufferView_pimpl.h:
9972 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9975 * box.h: new start of class for above
9977 * lyxfunc.C: ignore space-only minibuffer dispatches.
9978 Show the command name when it doesn't exist
9980 * minibuffer.C: don't add empty lines to the history
9982 * minibuffer.C: add a space on dropdown completion
9984 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9986 * text.C: fix line above/below drawing in insets
9988 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9990 * lyxlength.C (LyXLength): Initialize private variables.
9992 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9994 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9995 when inserting error insets.
9997 2001-12-13 Juergen Vigna <jug@sad.it>
9999 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10000 actually sometimes the before-paragraph.
10001 (setUndo): don't clear the redostack if we're not actually undoing!
10003 2001-12-06 Juergen Vigna <jug@sad.it>
10005 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10006 and fixed redoing of main paragraph, so we can use it now ;)
10008 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10010 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10012 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10015 2001-12-13 André Pönitz <poenitz@gmx.net>
10018 * undo_func.C: minor cleanup
10020 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10022 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10023 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10024 font in urw-fonts package which is marked as -urw-fontspecific and
10025 does not work (incidentally, changing the encoding in the
10026 fonts.dir of this package to -adobe-fontspecific fixes the
10029 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10030 is a crash when undoing first paragraph (Juergen, please take a
10031 look). THis does not mean the undo fix is wrong, just that it
10034 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10035 the (Paragraph*) version when needed instead of duplicating the
10038 * text.C (workWidth): use Inset::parOwner to find out where the
10039 inset has been inserted. This is a huge performance gain for large
10040 documents with lots of insets. If Inset::parOwner is not set, fall
10041 back on the brute force method
10043 * paragraph_pimpl.C (insertInset):
10044 * paragraph.C (Paragraph):
10045 (cutIntoMinibuffer): set parOwner of insets when
10046 inserting/removing them
10048 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10050 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10056 * mathed/formulabase.C:
10057 * mathed/math_cursor.[Ch]:
10058 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10061 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10063 * lyxlength.[Ch] (operator!=): new function
10065 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10067 * text.C (workWidth): use Inset::parOwner to find out where the
10068 inset has been inserted. This is a huge performance gain for large
10069 documents with lots of insets. If Inset::parOwner is not set, fall
10070 back on the brute force method
10072 * paragraph_pimpl.C (insertInset):
10073 * paragraph.C (Paragraph):
10074 (cutIntoMinibuffer): set parOwner of insets when
10075 inserting/removing them
10077 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10079 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10081 * tabular-old.C (getTokenValue):
10082 * tabular.C (getTokenValue):
10083 (write_attribute): new versions for LyXLength
10084 (everywhere): adjust the use of widths
10086 * tabular.h: change the type of widths from string to LyXLength
10088 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10090 * paragraph.C: fixed missing line number count when exporting
10091 Environments to LaTeX file
10093 * buffer.C: added informational message for checking line numbers.
10095 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10097 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10098 paragraph, do the 'double space' part, but not the 'empty
10101 * text.C (workWidth): small optimization
10102 (getLengthMarkerHeight): use minimal size for negative lengths.
10104 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10106 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10108 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10110 2001-12-11 André Pönitz <poenitz@gmx.net>
10113 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10115 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10117 * text2.C: keep selection on a setFont()
10119 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10121 * lyx_cb.C: another bv->text misuse, from insert label
10123 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10126 * kbsequence.C: re-instate nmodifier mask
10128 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10130 * lyx_main.h: make lyxGUI private.
10132 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10134 * lyxfind.C: place the cursor correctly on failed search
10136 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10138 * text.C (getLengthMarkerHeight): for small heights, the arrows
10139 are not always on top/bottom of the text
10140 (drawLengthMarker): smaller arrows; take the left margin in
10141 account; draw also vfills.
10143 (paintLastRow): remove special code for vfill and standard spaces,
10144 since everything is handled in drawLengthMarker now.
10146 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10148 * buffer.C (insertErtContents): try to handle font and language
10149 interaction a bit better.g
10151 * ColorHandler.C (updateColor): change the hash to cover the whole
10152 LColor enum, ws cleanup
10153 (getGCLinepars): ditto
10154 (getGCLinepars): only lookup in the linecache once.
10156 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10158 * iterators.C (operator++): Make the iterator more robust
10160 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10162 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10164 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10167 * text.C: better added space drawing
10169 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10172 * BufferView2.C: fix layout combo update on inset unlock
10174 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10176 * Makefile.am: don't compile unused files
10178 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10182 * LyXAction.C: remove old LFUN_LAYOUTNO
10184 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10186 * paragraph_pimpl.h:
10187 * paragraph_pimpl.C: isTextAt() doesn't need font param
10189 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10192 * lyxlex.C: little cleanup
10194 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10196 * BufferView_pimpl.C: fix insertAscii for insets
10198 2001-12-05 Juergen Vigna <jug@sad.it>
10200 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10201 set the right font on the "multi" paragraph paste!
10203 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10209 * lyxlength.C: remove out-commented code.
10211 * BufferView_pimpl:
10225 * vc-backend.C: change "while(" to "while ("
10227 * lyxlength.[Ch]: add zero function to check if length is zero or
10229 * lyxgluelength.C: use it
10231 2001-12-05 Allan Rae <rae@lyx.org>
10233 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10234 Works for 2.95.3, from what I understand of Garst's reports this should
10235 work for other g++ versions. We're screwed if the abs(int) definition
10236 changed between bugfix releases of gcc.
10238 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10240 * text.C: fix chapter label offset !
10242 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10245 * text.C: fix hfill at end of line, clean up
10247 2001-12-04 Juergen Vigna <jug@sad.it>
10249 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10250 that we force an update of the inset and it's owners if neccessary.
10252 2001-12-03 Juergen Vigna <jug@sad.it>
10254 * text.C (rowLast): simplified code
10256 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10258 * lyxfunc.C: fix show options on timeout
10260 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10262 * screen.C (topCursorVisible): scroll half a page when the cursor
10263 reached top of bottom of screen
10265 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10267 * minibuffer.C: deactivate on loss of focus
10269 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10271 * vspace.[Ch] (operator!=): add operator.
10273 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10275 * BufferView_pimpl.C: refuse to open an inset when
10276 there's a selection.
10278 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10280 * BufferView_pimpl.C: allow to click on RHS of full row insets
10282 2001-11-30 Juergen Vigna <jug@sad.it>
10284 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10285 insets for undo reasons.
10287 2001-11-28 André Pönitz <poenitz@gmx.net>
10289 * vspace.[Ch]: cosmetical changes
10291 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10301 * kbsequence.C: part re-write of old kb code
10304 * WorkArea.C: remove Lgb_bug_find_hack
10306 2001-11-30 José Matos <jamatos@fep.up.pt>
10308 * buffer.C (makeDocBookFile): add a comment to point a hack.
10309 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10310 Fixed a double write of labels.
10312 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10315 * LaTeX.h Fixed bug in LaTeX class where it would not
10316 re-run latex if no depfiles were changed, but the .dvi was removed.
10318 2001-11-28 André Pönitz <poenitz@gmx.net>
10320 * all the files from the change on 2001/11/26:
10321 use lyx::layout_type instead of LyXTextClass::size_type
10322 use lyx::textclass_type instead of LyXTextClassList::size_type
10324 2001-11-29 Juergen Vigna <jug@sad.it>
10326 * text.C: added support for paragraph::isFreeSpacing()
10328 * buffer.C: same as above
10330 * paragraph.h: inserted isFreeSpacing() function to enable
10331 FreeSpacing inside InsetERT.
10333 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10334 of the paragraph's in the cut/copy buffer to 0!
10336 * text2.C (removeRow): remove the assert as it can!
10338 * lyxtext.h: added helper function firstRow returning firstrow and
10339 made firstrow private again.
10341 * BufferView2.C (lockInset): don't relock if we're already locked!
10343 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10344 the only paragraph.
10345 (removeRow): added Assert::(firstrow)
10347 * debug.C: forgot to add INSETTEXT here.
10349 2001-11-28 Juergen Vigna <jug@sad.it>
10351 * sp_spell.C (initialize): changed error text to more general
10352 spellchecker command use (not only ispell!)
10354 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10356 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10358 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10360 * vspace.C: initialise lyxgluelength on failure
10362 2001-11-28 Allan Rae <rae@lyx.org>
10364 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10365 declaration & definition that looks like a function declaration.
10367 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10369 * BufferView2.C (copy):
10370 (copyEnvironment): do not clear the selection when doing a copy.
10372 * text.C (paintFirstRow): compilation fix
10374 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10376 * tabular.C (Latex): correct line count when writing latex.
10378 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10380 * paragraph_pimpl.h:
10381 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10384 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10388 * LColor.C: change vfillline->added_space
10390 * text.C: add markers and text for added space
10392 * vspace.C: fix comment
10394 2001-11-28 André Pönitz <poenitz@gmx.net>
10396 * paragraph.C: whitespace changes
10397 * all the other files from the change on 2001/11/26:
10398 change *::pos_type into lyx::pos_type
10400 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10402 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10403 language of the document when inserting error insets.
10405 2001-11-26 André Pönitz <poenitz@gmx.net>
10407 * BufferView_pimpl.[Ch]:
10415 * paragraph_pimpl.[Ch]:
10418 * text2.C: reduce header dependencies, introduce type for positions
10420 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10422 * <various>: change to use Alert.h
10424 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10426 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10427 when encountering an unknown token.
10428 (readLyXformat2): Show an error message if there were unknown tokens.
10430 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10433 * BufferView_pimpl.C:
10437 * text2.C: use par->isInset()
10439 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10441 * paragraph_pimpl.h:
10442 * paragraph_pimpl.C: cleanup
10444 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10446 * text2.C (removeRow):
10447 * text.C (setHeightOfRow): remove useless (and costly) call to
10450 2001-11-20 Allan Rae <rae@lyx.org>
10452 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10453 Now need Inset*::checkInsertChar() to return true for appropriate
10454 cases so that the characters in the minibuffer will actually be
10457 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10459 * text.C: change the order of the includes.
10460 (workWidth): initialize it at once.
10461 (workWidth): make maxw unsigned
10462 (setHeightOfRow): remove unused variable (inset)
10463 (selectSelectedWord): remove unused variable (inset)
10464 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10466 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10468 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10469 server is not running.
10471 (closeConnection): add debug info when server is disabled.
10473 * ColorHandler.C (getGCForeground): send debug message to GUI
10476 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10478 * kbmap.C (bind): modify because return conventions of
10479 kb_sequence::parse have changed.
10481 * kbsequence.C (parse): only ignore spaces and not any stupid
10482 control character. This avoids tests like s[i] <= ' ', which are
10483 guaranteed to fail with 8bit characters and signed chars.
10484 Change return code to string::npos when there have been no error
10485 (0 was a bad idea when error is at first character)
10487 2001-11-14 José Matos <jamatos@fep.up.pt>
10490 * buffer.C (simpleDocBookOnePar): removed unused argument.
10492 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10494 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10495 insets which are part of a word. Paragraph::isLetter takes care of
10496 that now. Use Paragraph::isInset to identify insets.
10497 (selectSelectedWord): do not test for hyphenation break.
10499 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10500 that protected spaces are considered as spaces.
10502 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10505 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10508 * lyxserver.C: fix it. and small cleanup.
10510 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10512 * BufferView_pimpl.C: use inline helpers
10515 * LaTeXFeatures.C: fix typos
10518 * Spacing.C: move spacing_string into class
10520 * ToolbarDefaults.C: move stuff into namespace anon
10522 * layout.h: update enum
10524 * lyxfunc.C: use better debug
10526 * minibuffer.h: fix typo
10530 * WorkArea.C: add and use Debug::WORKAREA
10534 * text2.C: code re-organisation, inline helpers
10536 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10538 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10539 std::vector.empty().
10541 2001-11-09 Allan Rae <rae@lyx.org>
10543 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10544 '\n's after tables. Tabular and ERT inset work now makes this no
10547 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10550 * minibuffer.C: fix crash, improve drop-down completion
10552 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10555 * lyxserver.C: invalidate fd's when doing endPipe()
10557 2001-11-08 José Matos <jamatos@fep.up.pt>
10559 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10560 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10563 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10565 2001-11-07 José Matos <jamatos@fep.up.pt>
10568 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10571 * buffer.C (sgmlOpenTag):
10572 * buffer.C (sgmlCloseTag): removed debug info.
10574 * buffer.h (sgmlOpenTag):
10575 * buffer.h (sgmlCloseTag): made public.
10577 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10579 * buffer.C (saveParamsAsDefaults):
10580 * lyx_cb.C (MenuLayoutSave): remove
10582 * LyXAction.C (init):
10584 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10586 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10588 * buffer.C (setPaperStuff): removed from here...
10590 * bufferparams.C (setPaperStuff): ... and moved there.
10592 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10596 * XFormsView.C: add support for drop-down completion
10598 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10600 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10603 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10605 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10608 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10610 * lyx_main.C: change ref to known bugs
10612 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10614 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10615 to work around older babel problems.
10617 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10619 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10621 2001-10-24 Juergen Vigna <jug@sad.it>
10623 * tabular-old.C (ReadOld): below variable changes reflected.
10625 * tabular.[Ch]: added ltType struct for longtable header/footer
10626 defines and changed all instances where they are used. Added
10627 future support for double top/bottom rows.
10629 2001-10-24 José Matos <jamatos@fep.up.pt>
10631 * buffer.h (docbookHandleCaption):
10632 * buffer.C (docbookHandleCaption): removed unused function.
10633 (makeDocBookFile): moved docbook supported version to v4.1.
10635 2001-10-24 José Matos <jamatos@fep.up.pt>
10638 * tabular.C (docbookRow): new function to export docbook code of a row.
10639 (DocBook): now honors the longtable flags.
10641 2001-10-23 José Matos <jamatos@fep.up.pt>
10644 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10645 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10647 * buffer.C (makeLinuxDocFile):
10648 (makeDocBookFile): reworked the preamble, more clean, and with
10649 support for lyx defined entities. Changed the document declaration
10650 to be more XML friendly.
10652 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10653 if we need to output XML that should be done with a filter.
10655 2001-10-22 Juergen Vigna <jug@sad.it>
10657 * sp_pspell.h (class PSpell): add alive function needed in the
10658 controller to see if the spellchecker could be started.
10660 2001-10-22 Juergen Vigna <jug@sad.it>
10662 * buffer.C (insertStringAsLines): modify the font for inserting
10663 chars in certain conditions by calling checkInsertChar(font).
10665 2001-10-19 Juergen Vigna <jug@sad.it>
10667 * text.C (workWidth): use getRow instead of wrong algorithm.
10668 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10670 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10675 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10677 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10679 * text.C (workWidth): do not search for the exact row when
10680 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10681 optimization for big documents.
10683 2001-10-18 Juergen Vigna <jug@sad.it>
10685 * text.C (workWidth): new function with added Inset * parameter.
10687 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10689 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10691 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10692 change return type of getColumnNearX.
10695 * text.C (changeRegionCase): use uppercase/lowercase instead of
10698 (rightMargin): simplify code by factoring out the uses of
10703 (appendParagraph): use Paragraph::size_type
10705 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10707 * vspace.C (asLatexString): add a missing break
10709 2001-10-15 Herbert Voss <voss@perce.de>
10711 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10713 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10715 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10718 2001-10-10 André Pönitz <poenitz@gmx.net>
10720 * lyxfunc.C: removed greek_kb_flag.
10722 2001-10-10 Herbert Voss <voss@perce.de>
10724 * lyx_main.C: delete global string help_lyxdir.
10726 2001-10-09 Herbert Voss <voss@perce.de>
10728 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10730 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10732 * lyx_main.C: added global string help_lyxdir.
10734 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10736 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10738 * lyxrc.C (set_font_norm_type): support iso8859-4
10740 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10742 * LaTeX.C (deplog): add another regex for MikTeX
10744 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10746 * lyxrc.C (set_font_norm_type): support iso8859-3
10748 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10750 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10752 * LaTeXFeatures.C: remove special case of french and index
10754 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10755 before \begin{document}). This solves several incompatibilities.
10757 2001-10-03 Garst Reese <reese@isn.net>
10759 * lyx_cb.C: change CheckTex error msg.
10761 2001-10-03 José Matos <jamatos@fep.up.pt>
10763 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10765 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10767 * .cvsignore: update
10769 * lyx_main.C (commandLineVersionInfo): use new style version info.
10771 * buffer.C (writeFile):
10773 (makeLinuxDocFile):
10774 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10776 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10778 * version.h: update to use stuff in version.C
10780 * version.C.in: new file. Contains version information determined
10781 at compile time. This is a merging of version.h and
10784 2001-10-03 Juergen Vigna <jug@sad.it>
10786 * BufferView_pimpl.C (update): don't change "dirty" status in
10789 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10791 * WorkArea.C (c-tor): re-position version string slightly.
10793 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10795 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10796 revert to previous code.
10798 WorkArea.[Ch]: (show, destroySplash): methods removed.
10800 WorkArea.C: rework code so that it's an amalgam of the codes before and
10801 after the splash screen was moved to WorkArea.
10803 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10806 * vspace.C (inPixels):
10809 * buffer.C (insertStringAsLines):
10810 (asciiParagraph): fix types to be large enough
10812 * lyxlex_pimpl.h: change member status from short to int
10814 * layout.h: fix type of endlabeltype
10817 * kbsequence.C (parse): change return type to string::size_type
10819 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10822 * Bullet.C (bulletSize):
10823 (bulletEntry): do not use short ints as parameters
10825 * BufferView2.C (insertLyXFile): change a char to an int.
10827 * WorkArea.C (WorkArea): remove unneeded floats in computation
10829 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10831 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10833 * paragraph.C (asString): Do not ignore newline/hfill chars when
10834 copying to the clipboard.
10836 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10838 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10839 after a multi-line inset.
10841 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10843 * paragraph.C (validate): Set NeedLyXFootnoteCode
10845 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10847 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10848 and decrease-error to decrease.
10850 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10852 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10853 it more readable (should be equivalent)
10855 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10857 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10859 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10861 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10862 of a cursor (row, etc.) after a character has been deleted
10863 (deleteEmptyParagraphMechanism): call the method above on _all_
10864 cursors held by the LyXText when a double space has been
10867 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10869 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10871 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10873 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10874 background. Use greyOut() and the new show() methods to toggle between
10875 the foreground and background. Add code to remove the splash after
10876 its initial showing.
10878 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10879 (create_forms): no longer call Dialogs::showSplash.
10881 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10883 * .cvsignore: add version_info.h
10885 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10887 * version_info.h.in: new file
10889 * Makefile.am: add version_info.h.in
10891 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10892 version_info.h instead of VERSION_INFO
10894 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10896 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10897 The ERT inset now returns string().
10899 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10901 * lyxtext.h, text.C (selectNextWord): renamed as
10902 selectNextWordToSpellcheck.
10904 * text.C (selectNextWordToSpellcheck): Modified to not select
10905 words inside an ERT inset.
10907 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10909 * lyx_cb.C (MenuLayoutSave): change a bit the question
10911 * sp_base.h: include <sys/types.h>
10913 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10915 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10917 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10919 * several files: fix typos in user-visible strings
10921 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10923 * text2.C (pasteSelection): do not set the selection, since it
10924 will be cleared later. Actually, the intent was to fix the way the
10925 selection was set, but I figured rmoving the code was just as good.
10927 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10929 * FontLoader.C (available): Check if font is available without
10932 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10934 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10936 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10938 * lyxrc.[Ch]: added display_graphics variable and associated code.
10940 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10942 * bufferparams.C (hasClassDefaults): new method. Returns true if
10943 the buffer parameters correspond to known class defaults
10945 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10947 * XFormsView.C (show): set minimum size to the main window.
10949 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10951 * text2.C (copySelection):
10953 * lyxfind.C (LyXReplace):
10954 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10955 LyXText::selectionAsString.
10957 * paragraph.C (asString): add "label" argument to the second form
10959 * text2.C (selectionAsString): add "label" argument and pass it to
10960 Paragraph::asString.
10962 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10964 * lyx_main.C (commandLineHelp): remove version information
10966 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10968 * lyx_main.C: add -version commandline option
10970 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10972 * paragraph.h: make the optional constructor arg required instead.
10973 some modifications to other files because of this.
10975 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10977 * lyxserver.C (C_LyXComm_callback): make it static
10979 * lyx_main.C (error_handler): make it static
10981 * lyx_gui.C (LyX_XErrHandler): make it static
10983 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10985 * WorkArea.C: make the extern "C" methods static.
10987 * Makefile.am (lyx_LDADD): simplify
10989 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10991 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10992 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10994 * LyXAction.C (init):
10995 * lyxfunc.C (dispatch): associated code removal.
10997 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10999 * lyxfont.h (isSymbolFont): shut off warning
11001 * text.C (setHeightOfRow):
11002 (getVisibleRow): fix crash with empty paragraphs which have a
11005 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11007 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11010 2001-09-04 José Matos <jamatos@fep.up.pt>
11013 * tabular.C (docbook): rename docBook method to docbook.
11015 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11017 * Makefile.am: add dependencies to main.o.
11019 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11021 * FontLoader.C (available): Return false if !lyxrc.use_gui
11023 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11025 * FontInfo.C (query):
11026 * converter.C (view):
11027 * importer.C (Import):
11028 * exporter.C (Export): Can not -> cannot.
11030 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11032 * BufferView_pimpl.C: allow to create index inset even if
11035 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11037 * buffer.C (getLists): replace boost::tie code with an explicit pair
11038 as boost::tie can break some compilers.
11040 * iterators.h: Added a std:: declaration to the return type of
11043 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11045 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11048 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11050 * iterators.[Ch]: New files. Provide paragraph iterators.
11052 * buffer.C (changeLanguage): Use paragraph iterators.
11053 (isMultiLingual): ditto
11055 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11057 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11059 * FontLoader.C: Support for cmr font.
11061 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11063 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11064 (available): New method.
11066 * FontInfo.C (getFontname): Use scalable fonts even when
11067 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11070 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11072 * converter.C (Formats::view): reverted! Incorrect fix.
11074 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11076 * converter.C (Formats::view): only output the -paper option
11077 if the dvi viewer is xdvi, thereby fixing bug #233429.
11079 2001-08-23 Herbert Voss <voss@perce>
11081 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11083 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11085 * Spacing.h (Spacing): Set space to Default on in the default
11088 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11090 * vc-backend.h (RCS::versionString): add RCS to version
11091 (CVS::versionString): add CVS to version
11093 * vc-backend.C (scanMaster): do not add CVS to version.
11094 (scanMaster): do not add RCS to version
11096 * lyxvc.C (versionString): new method
11098 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11100 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11102 * Spacing.C (set): initialize fval
11104 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11106 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11109 2001-08-16 Juergen Vigna <jug@sad.it>
11111 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11113 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11115 * BufferView_pimpl.C:
11118 * text2.C: setParagraph takes linespacing now
11120 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11122 * LyxAction.C: add internal LFUN_CITATION_INSERT
11124 * LyXView.C: actually apply fix
11126 * bufferlist.C: fix open non-existent file
11128 * lyxfind.C: fix indentation
11130 * lyxfunc.C: remove unneeded assert, fix typo
11132 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11134 * MenuBackend.C: use "Floatname List"
11136 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11138 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11139 when converting LaTeX layout to insetERT.
11140 Generate a non-collapsed float when reading old float
11142 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11144 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11147 2001-08-13 Juergen Vigna <jug@sad.it>
11149 * text.C (fill): return 0 instead of 20 as this seems to be the more
11152 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11154 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11157 2001-08-13 Juergen Vigna <jug@sad.it>
11159 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11161 (SearchBackward): comment out the unlocking of the inset_owner this
11162 should not be needed!
11164 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11166 * Many files: Remove inherit_language, and add latex_language
11168 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11169 collapsible insets.
11171 2001-08-10 Juergen Vigna <jug@sad.it>
11173 * text.C (prepareToPrint): fixed hfill-width in draw!
11175 * BufferView2.C (selectLastWord): save the selection cursor as this
11176 now is cleared in the function LyXText::clearSelection!
11178 2001-08-08 Juergen Vigna <jug@sad.it>
11180 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11181 BACKSPACE type functions.
11183 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11184 is only cutted from the document but not put in the cut-buffer, where
11185 still the old stuff should be.
11187 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11189 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11191 * tabular.C (SetWidthOfCell): fixed special case where the width
11193 (LeftLine): handle '|' in align_special.
11195 (LeftAlreadyDrawed): ditto
11196 (SetWidthOfCell): ditto
11198 2001-08-07 Juergen Vigna <jug@sad.it>
11200 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11202 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11204 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11205 * lyxlex.[hC]: ditto
11207 2001-08-06 Juergen Vigna <jug@sad.it>
11209 * text.C (getVisibleRow): fix up row clearing a bit.
11211 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11213 * minibuffer.C: make sure the X server sees the changes in the input.
11215 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11217 * paragraph.C (getFont): split into...
11218 (getLabelFont): this
11219 (getLayoutFont): and this
11220 * paragraph_pimpl.C (realizeFont): calling this
11222 * text2.C (getFont): split into...
11223 (getLayoutFont): this
11224 (getLabelFont): and this
11225 (realizeFont): all three calling this
11227 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11230 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11232 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11234 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11236 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11237 layouts from the Quote inset insertion.
11239 2001-08-03 Juergen Vigna <jug@sad.it>
11241 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11243 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11244 only if status not is already CHANGED_IN_DRAW (second level).
11246 * text.C (draw): don't set the need_break_row when inside an
11249 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11251 * buffer.C (parseSingleLyXformat2Token): handle more latex
11254 * bufferview_funcs.[hC]: change function names to
11255 begin with small char, adjust other files.
11257 2001-08-02 André Pönitz <poenitz@gmx.net>
11260 BufferView_pimpl.C: remove broken special code for math-greek
11262 2001-08-02 Juergen Vigna <jug@sad.it>
11264 * BufferView_pimpl.C (update): redone this function so that we
11265 update the text again if there was a CHANGE_IN_DRAW.
11267 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11268 (drawFromTo): added a new internal bool which is used by draw() and
11270 (general): some cursor drawing problems fixed.
11272 2001-08-01 Juergen Vigna <jug@sad.it>
11274 * lyxfind.C (LyXFind): fixed
11275 (SearchForward): ditto
11276 (SearchBackward): ditto
11278 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11279 spurius drawing of the cursor in the main area.
11281 * text2.C (status): small fix which could lead to a segfault!
11282 (clearSelection): remove unneeded BufferView param.
11284 2001-08-01 André Pönitz <poenitz@gmx.net>
11286 * lyxfunc.C: small change due to changed mathed interface
11288 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11290 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11292 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11294 * lyxfunc.c: fail gracefully if file doesn't exist
11299 * BufferView_pimpl.C: IsDirWriteable() proto changed
11301 * LyXView.C: fix updateWindowTitle() to store the last title
11303 2001-07-31 Juergen Vigna <jug@sad.it>
11305 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11306 the font (wrong since using of Paragraph::highestFontInRange).
11308 * paragraph.C (highestFontInRange): added a default_size parameter.
11310 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11311 (setHeightOfRow): reformat
11313 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11315 * converter.[hC] + affected files: move to (inital-char)lowercase
11318 * ParagraphParameters.C (ParagraphParameters): remove commented code
11320 * PainterBase.[Ch]: remove commented code
11322 * LaTeXFeatures.h: add "bool floats" for float.sty
11324 * LaTeXFeatures.C (LaTeXFeatures): init floats
11325 (require): handle float
11326 (getPackages): do it with floats
11328 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11330 * BufferView_pimpl.C (Dispatch): improve handling of
11331 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11333 * commandtags.h: #include lyxfont.h here temporarily to avoid
11336 * bufferlist.h: include LString.h here.
11338 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11340 * text2.C (getStringToIndex): new method.
11342 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11344 * *: Reduced header file dependencies all over.
11346 2001-07-30 Baruch Even <baruch@lyx.org>
11348 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11350 2001-07-29 Baruch Even <baruch@lyx.org>
11352 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11354 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11356 * ParameterStruct.h (endif): add a default constructor to make
11357 sure that all variables is initialized.
11359 * ParagraphParameters.C (ParagraphParameters): adjust
11361 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11363 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11364 index; also, check that there is something to index, and that it
11365 does not span over several paragraphs.
11366 (doubleClick): use WHOLE_WORD_STRICT for double click.
11368 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11370 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11373 2001-07-26 Baruch Even <baruch@lyx.org>
11375 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11376 an InsetFig figure, backwards compatible reading of old figure code.
11378 2001-07-27 Juergen Vigna <jug@sad.it>
11380 * text2.C: font.realize function adaption.
11382 * text.C (draw): add a warnings lyxerr text if needed.
11384 * layout.C: font.realize function adaption.
11386 * language.C: add inherit_language and implement it's handlings
11388 * bufferview_funcs.C (StyleReset): remove language parameter from
11389 font creation (should be language_inherit now).
11391 * bufferparams.C (writeFile): handle ignore_language.
11393 * paragraph.C (getFontSettings): the language has to be resolved
11394 otherwise we have problems in LyXFont!
11396 * lyxfont.C (lyxWriteChanges): added document_language parameter
11397 (update): removed unneeded language parameter
11399 * paragraph.C (validate): fixed wrong output of color-package when
11400 using interface colors for certain fonts in certain environments,
11401 which should not seen as that on the final output.
11403 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11405 * BufferView_pimpl.C:
11410 * LyXAction.C: add thesaurus support
11413 * lyxfind.C: add "once" parameter, for thesaurus, to not
11414 move to the next match
11416 2001-07-26 Juergen Vigna <jug@sad.it>
11418 * lyxfont.C (realize): honor ignore_language too!
11421 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11423 * text.C (draw): one place more for ignore_language to not draw
11426 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11428 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11430 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11432 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11433 the minipage conversion problem.
11435 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11437 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11440 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11442 * BufferView.h: don't forward declare WorkArea
11444 * BufferView.C: don't include WorkArea.h
11446 2001-07-25 André Pönitz <poenitz@gmx.net>
11450 * lyxfunc.C: new LFUN 'math-space'
11452 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11454 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11456 * text2.C (toggleInset): call open/close
11458 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11460 * lyxfunc.C (dispatch): add debug for the disabled case
11462 * font.C (buttonText): make similar to rectText
11464 * buffer.C (readInset): comment out parsing of insetlist and
11467 * PainterBase.C (rectText): small correction
11469 * BufferView_pimpl.C: comment out insettheorem and insetlist
11470 * LyXAction.C: ditto
11471 * commandtags.h: ditto
11473 2001-07-24 Juergen Vigna <jug@sad.it>
11475 * text.C (draw): honor the ignore_language.
11477 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11479 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11481 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11484 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11486 * lyxtext.h: remove unused (and unimplemented) methods
11488 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11490 * text.C (getVisibleRow): honor background color
11493 * Painter.h: remove default color argument for fillRectangle
11495 * text.C (backgroundColor): new method
11497 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11499 * text.C (getVisibleRow): adjust
11501 * font.[Ch] (rectText): new method, metrics
11502 (buttonText): new method, metrics
11504 * PainterBase.[hC]: make rectText and buttonText always draw and take
11507 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11509 * ToolbarDefaults.C (read):
11510 * MenuBackend.C (read): allow escaping in all strings
11512 * BufferView_pimpl.C (insertAndEditInset): new method.
11513 (Dispatch): use insertAndEditInset whenever appropriate.
11515 * BufferView_pimpl.C (insertNote): removed
11517 * BufferView_pimpl.C (smartQuote): new method, moved from
11518 BufferView; if an insetquote cannot be inserted, insert a '"'
11521 * BufferView2.C: remove insertCorrectQuote();
11523 * lyxfunc.C (getStatus): Add support for all remaingin
11524 inset-insert lfuns.
11526 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11528 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11529 command (necessary to pass " as parameter of self-insert.
11531 * text.C (selectWordWhenUnderCursor):
11532 (selectWord): add word_location parameter
11533 (selectWordWhenUnderCursor): same + remove special code for word
11535 (selectNextWord): use kind() to guess type of insetspecialchar,
11538 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11539 (insertErtContents): create ert insets as collapsed.
11540 (readInset): better compatibility code for Info inset.
11542 2001-07-20 Juergen Vigna <jug@sad.it>
11544 * lyxfunc.C (dispatch): use always LyXFind now!
11546 * text2.C (init): add a reinit flag so that the LyXText can be
11547 reinited instead of deleted and reallocated (used in InsetText).
11549 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11555 2001-07-18 Juergen Vigna <jug@sad.it>
11557 * text.C (selectNextWord): handle insets inside inset by calling
11558 always the bv->text functions so that we can go up the_locking_inset!
11560 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11561 in strange locations when inside an inset!
11563 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11564 handling to include insets.
11566 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11568 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11570 * LyXAction.C (init):
11572 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11573 LIGATURE_BREAK, since the name is so stupid.
11575 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11577 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11580 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11582 * sp_form.[Ch]: remove.
11584 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11586 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11589 * src/buffer.C (readInset): ditto.
11591 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11593 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11594 menuSeparator(), endOfSentenceDot(), ldots() and
11595 hyphenationPoint(), which are therefore removed.
11596 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11598 * LyXAction.C (init):
11599 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11601 * paragraph.C (getWord): removed.
11603 * BufferView_pimpl.C (Dispatch): use last word or selection for
11604 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11606 * lyx_main.C (queryUserLyXDir): do not ask before creating
11607 user_dir, except if it has been named explicitely.
11609 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11611 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11612 a document of zero size.
11614 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11616 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11617 approriately in the c-tor and in require().
11618 (getPackages): output the appropriate LaTeX for natbib support.
11620 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11621 variables "use_natbib" and "use_numerical_citations" when reading the
11623 (readInset): read the various natbib cite commands.
11624 (validate): white-space change.
11626 * bufferparams.[Ch]: new variables "bool use_natbib" and
11627 "bool use_numerical_citations".
11628 (writeFile): output them in the LyX file.
11630 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11632 * lyxfunc.C (getStatus): add support for all the inset insertion
11635 * text2.C (insertInset):
11636 * paragraph.C (insetAllowed):
11637 * BufferView_pimpl.C (insertInset): update to take in account the
11638 renaming of insertInsetAllowed
11640 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11642 * text2.C (getInset): new method. returns inset at cursor position.
11644 * BufferView_pimpl.C (Dispatch): changes because of this.
11646 * LyXAction.C (init): rename open-stuff to inset-toggle.
11648 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11650 * text2.C (toggleInset): renamed from openStuff; use
11653 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11655 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11657 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11659 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11661 * buffer.C (readLyXformat2): Add filename to the error dialog
11663 2001-07-18 Juergen Vigna <jug@sad.it>
11665 * tabular.C (GetCellNumber): put an assert here instead of the check!
11667 2001-07-17 Juergen Vigna <jug@sad.it>
11669 * BufferView_pimpl.C (toggleSelection): adapted too.
11671 * text.C (selectNextWord): adapted for use with insets.
11672 (selectSelectedWord): ditto
11674 2001-07-17 Juergen Vigna <jug@sad.it>
11676 * sp_spell.C (PSpell): fix initialitation order.
11678 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11680 * paragraph.C: spacing
11682 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11684 * sp_spell.C: repair language selection for pspell
11686 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11688 * lyxfunc.h: change more methods to begin with lower char.
11690 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11692 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11693 for unknown layouts.
11695 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11697 * buffer.C (readLyXformat2): Generate an error dialog if there are
11700 2001-07-16 Juergen Vigna <jug@sad.it>
11702 * sp_spell.C: always compile ISpell part.
11704 * lyxrc.C: added use_pspell entry and it's handling.
11706 2001-07-13 Juergen Vigna <jug@sad.it>
11708 * sp_spell.C: removed double includes.
11710 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11712 Consistent use of Lsstream.h:
11713 * Lsstream.h: added using std::stringstream for consistencies sake.
11715 * buffer.C: removed using std::stringstream
11717 * lyxfont.C (stateText):
11718 * paragraph.C (asString):
11719 * text.C (selectNextWord, selectSelectedWord):
11720 * text2.C (setCounter):
11721 * vspace.C (asString, asLatexString):
11722 std::ostringstream -> ostringstream.
11724 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11726 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11727 * commandtags.h: add LFUN_HELP_ABOUTLYX
11728 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11730 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11732 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11734 * lyx_gui_misc.C: remove spellchecker
11735 * lyxfunc.C: showSpellchecker
11737 * sp_ispell.h: added
11738 * sp_pspell.h: added
11739 * sp_spell.C: added
11740 * sp_form.[Ch]: removed
11741 * spellchecker.[Ch]: removed
11743 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11745 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11747 (simpleTeXSpecialChars): Simply print the input character without
11748 any special translation if pass_thru is set.
11750 * layout.h: Added bool pass_thru to layout class for being able to
11751 implement pass through of a paragraph for Literate Programming.
11753 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11754 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11755 * layout.C (Read): add "passthru" to list of layout tags and add
11756 code to set the pass_thru boolean when it is read.
11758 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11760 * trans_decl.h: remove allowed from KmodInfo
11762 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11763 remove allowed code
11766 * paragraph_pimpl.C (erase): use boost::prior
11768 * Painter.C (text): use data() instead of c_str() when length is
11770 * WorkArea.C (putClipboard): ditto
11771 * font.h (width): ditto
11773 * BufferView2.C: use it-> instead of (*it). for iterators
11775 * paragraph_pimpl.C: ditto
11776 * paragraph.C: ditto
11777 * minibuffer.C: ditto
11778 * language.C: ditto
11780 * encoding.C: ditto
11781 * counters.C: ditto
11782 * converter.C: ditto
11784 * Variables.C: ditto
11785 * TextCache.C: ditto
11786 * MenuBackend.C: ditto
11787 * LyXAction.C: ditto
11789 * FloatList.C: ditto
11790 * DepTable.C: ditto
11791 * ColorHandler.C (LyXColorHandler): ditto
11793 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11795 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11797 * text2.C (openStuff): reintroduce this method (which had been
11798 nuked in NEW_INSETS frenzy).
11800 * lyxfunc.C (Dispatch): when an action has not been handled, use
11801 its name in the error message, not its number.
11803 * paragraph.C (inInset): change method name to begin with lowercase.
11806 * text2.C: updates because of this.
11808 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11810 * ToolbarDefaults.C (add): add spaces in error message
11812 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11814 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11815 (readLyXformat2): rename return_par to first_par, use lyxlex's
11816 pushToken and remove the manual push handling.
11817 (parseSingleLyXformat2Token): add another ert comp. variable:
11818 in_tabular, rename return_par to first_par. handle newlines better
11820 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11822 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11824 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11826 * text2.C (getParFromID): removed
11828 * buffer.C (getParFromID): new method moved form lyxtext.
11829 * BufferView2.C (insertErrors): adjust
11830 (setCursorFromRow): adjust
11831 * BufferView_pimpl.C (restorePosition): adjust
11832 * lyxfunc.C (Dispatch): adjust
11833 * undo_funcs.C (textUndo): adjust
11835 (textHandleUndo): adjust
11836 (textHandleUndo): adjust
11838 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11840 * buffer.C: up' the LYX_FORMAT
11842 * lyxfont.h: turn NO_LATEX on as default
11844 * buffer.C (insertErtContents): new methods of tex style compability.
11845 (parseSingleLyXformat2Token): use it several places.
11846 * tabular.C (OldFormatRead): and here
11848 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11850 * text2.C: remove some commented code.
11853 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11854 * trans.C: changes because of the above.
11856 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11858 * text2.C (setCounter): Fix counters bug with bibliography layout.
11860 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11862 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11863 own member functions
11864 (simpleTeXSpecialChars): ditto
11866 2001-07-06 Juergen Vigna <jug@sad.it>
11868 * a lot of files: changed the access to LyXText::status and the
11869 call of undo-functions.
11871 * undo.[Ch]: added a inset_id to the undo informations.
11873 * undo_funcs.[Ch]: added and moved here all undo functions.
11875 * lyxtext.h: give the status enum a weight, made status_ a private
11876 variable and made accessor functions for it, removed the whole bunch
11877 of undo-functions as they are now in their own file, make some
11878 functions publically available. Added function ownerParagraph with
11881 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11882 made InInset() a const function, added getParFromID() function.
11884 * buffer.[Ch]: added const version for inset_iterator functions,
11885 added getInsetFromID() function.
11887 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11888 changed undo functions for new version.
11890 2001-07-05 Juergen Vigna <jug@sad.it>
11892 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11893 unknow mechanism does not call the proper constructor but only this
11894 one also if I request the other!?
11896 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11898 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11900 * text2.C (LyXText): use initialization lists.
11902 * lyxtext.h (Selection): initialize set_ and mark_
11903 (init): remove method
11905 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11907 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11909 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11911 * screen.[Ch]: change method names to begin with lowercase
11913 * BufferView_pimpl.C (updateScrollbar): simplify further and
11914 hopefully make it a bit faster.
11916 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11918 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11919 calling directly xforms functions.
11921 * Painter.C (Painter):
11922 * lyx_cb.C (MenuWrite):
11923 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11926 * lyx_gui.C: remove bogus guiruntime extern declaration.
11928 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11930 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11932 (redoDrawingOfParagraph): ditto
11933 (redoParagraphs): ditto
11934 (cutSelection): don't create a object for CutAndPaste use the
11935 static method directly
11936 (pasteSelection): ditto
11938 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11941 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11943 * modifications to some other files because of this.
11945 * Makefile.am (lyx_SOURCES): add XFormsView
11947 * XFormsView.[Ch]: new files
11949 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11950 the main window. Move the gui dependent stuff to XFormsView
11952 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11954 * tabular.C (GetCellInset): update cur_cell also in the row/col
11955 version of this function.
11957 * lyxfunc.C: no need to include figure_form.h here.
11963 * lyxvc.C: no need to include forms.h here.
11965 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11967 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11969 * lyxfunc.C (Dispatch):
11971 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11972 constructor argument.
11974 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11976 * paragraph.C (Paragraph): dont't clear, and just set layout.
11977 (makeSameLayout): use params's copy contructor.
11979 * ParagraphParameters.[Ch] (makeSame): delete method
11981 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11983 * Variables.[Ch]: fix indentation, rename set to isSet
11985 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11987 * lyxfunc.C (Dispatch): fix typo
11989 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11991 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11994 * bufferlist.C: include assert.h for emergencyWrite().
11996 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11998 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11999 give up at last (bug #425202) !
12001 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12007 * spellchecker.C: strip spellchecker options and bring up
12008 preferences tab instead
12010 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12012 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12013 the istringstream constructor
12015 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12017 * paragraph.C (getLayout): fix return value
12019 * paragraph.h: do not declare getLayout as inline.
12021 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12023 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12025 * lyxcursor.h (operator<): new func
12026 (operator>): new func
12027 (operator>=): new func
12028 (operator<=): new func
12030 * text.C (changeCase): use selection.start and selection.end
12031 (changeRegionCase): require from to be <= to. Require par to be a
12034 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12036 2001-06-27 Juergen Vigna <jug@sad.it>
12038 * text.C (cursorLeftOneWord): changed to return the cursor and added
12039 overlay with BufferView * parameter which calls this one.
12041 (selectWord): use new getWord function.
12042 (changeCase): renamed from changeWordCase as and extended to work
12043 also on selections.
12045 * lyxtext.h: added enum word_location
12047 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12048 changeCase as this operates now also on selections.
12050 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12052 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12054 * many files: send debug output to Debug::INFO instead of
12057 * converter.C (View):
12059 (Move): send debug output to Debug::FILES instead of console.
12061 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12063 * lyxfunc.C (getStatus): use func_status
12065 * func_status.h: new header, describing the results of
12066 LyXFunc::getStatus;
12068 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12071 2001-06-25 The LyX Project <jug@sad.it>
12073 * buffer.C (sgmlOpenTag):
12075 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12077 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12079 * text2.C: remove some dead code
12081 * tabular.C (GetCellInset): store the last cell checked (gotten)
12083 * tabular.h: add the helper for the speedup
12085 * lyxtext.h: remove some dead code
12087 2001-06-26 The LyX Project <Asger>
12089 * paragraph.C: Change export to LaTeX of alignment to
12090 \begin{center} and family for better roundtrip work with reLyX.
12092 * Tune the math drawing a bit.
12094 2001-06-25 The LyX Project <Asger>
12096 * LColor.C (LColor): New color for math background. New color
12099 2001-06-25 The LyX Project <jug@sad.it>
12101 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12103 * lyxfunc.C (Open):
12104 * bufferlist.C (newFile): do not restrict to files ending with
12107 * BufferView_pimpl.C (MenuInsertLyXFile):
12109 2001-06-24 The LyX Project <jug@sad.it>
12111 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12114 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12116 * lyxtext.h: rename most methods to begin with a small char.
12117 Lots of changes because of this.
12119 * paragraph.C (Paragraph): do not call fitToSize
12120 (erase): call Pimpl::erase
12121 (insertChar): call Pimpl::insertChar
12122 (insertInset): call Pipl::insertInset
12123 (breakParagraph): do not call fitToSize
12124 (breakParagraphConservative): do not call fitToSize
12125 (fitToSize): remove method
12127 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12129 2001-06-24 The LyX Project <Asger>
12131 * Fix Qt compilation^2
12133 2001-06-24 The LyX Project <jug@sad.it>
12135 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12136 depthHook(getDepth()-1).
12139 * ParagraphParameters.h:
12140 * ParameterStruct.h: change type of depth to unsigned int ==
12141 depth_type. Many adaptations to other files before of that.
12143 2001-06-24 The LyX Project <Asger>
12145 * Fix Qt compilation.
12147 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12149 * paragraph.h: renamed several methods to begin with small letter.
12150 several changes to many parts of the code because of this.
12152 2001-06-23 The LyX Project <jug@sad.it>
12154 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12155 rewritten to discard all double spaces when KeepEmpty is off
12156 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12157 to only handle newlines but not fiddle with spaces and friends.
12159 * lyxfunc.C (MenuNew): when doing 'new from template', use
12160 template_path as default directory
12162 2001-06-23 The LyX Project <Asger>
12164 * Clean-up of header file includes all over
12165 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12167 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12169 * paragraph.h: renamed from lyxparagraph.h
12171 2001-06-23 Asger <lyx@violet.home.sad.it>
12173 * Buffer.h: Removed Buffer::resize
12174 * BufferList.h: Removed BufferList::resize
12175 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12176 the document lazily when we change the width, or the font settings.
12178 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12180 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12182 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12184 * buffer.h: remove out of date comment
12186 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12189 * screen.C: fix "theoretical" GC leak
12191 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12193 * LaTeX.C (scanAuxFile):
12194 (deplog): remove trailing \r when reading stream (useful under
12197 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12199 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12200 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12201 and BufferView::theLockingInset(Inset*), so should use them and not
12202 access bv_->text->the_locking_inset directly.
12204 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12206 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12209 * tex-defs.h: remove old unused file
12211 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12213 * BufferView_pimpl.C: fix typo, remove minibuffer message
12214 when buffer has loaded
12216 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12218 * lyxfunc.C (Dispatch): use stringstream
12219 (MenuNew): use stringstream
12220 (Open): use stringstream
12222 * importer.C (Import): use stringstream
12224 * bufferview_funcs.C (CurrentState): use stringstream
12226 * LaTeX.C (run): use stringstream
12228 * BufferView_pimpl.C (savePosition): use stringstream
12229 (restorePosition): use stringstream
12230 (MenuInsertLyXFile): use stringstream
12232 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12245 * vspace.C: removed // -*- C++ -*- as first line.
12248 * version.h: added // -*- C++ -*- as first line.
12250 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12252 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12254 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12257 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12259 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12262 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12264 * gettext.C: include LString.h even when --disable-nls is on.
12266 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12268 * converter.h (Get): changed argument type from int to
12269 FormatList::size_type to avoid unnecessary conversion.
12271 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12274 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12276 * gettext.h: include LString.h even when --disable-nls is on.
12278 2001-06-07 Juergen Vigna <jug@sad.it>
12280 * text.C (BreakAgain): subst spaces with tabs.
12282 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12283 (resizeInsetsLyXText): set force on resizeLyXText.
12285 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12287 * gettext.h (gettext_init):
12288 (locale_init): use a real definition instead of a macro
12290 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12292 * Bufferview_pimpl.C:
12294 * LColor.C: further lcolor tidies
12296 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12298 * BufferView_pimpl.C (updateScrollbar): simplify.
12300 * BufferView2.C: don't include insets/insetinfo.h, change
12301 prototype for insertInset and call the Pimpl version. let
12302 updateInset call Pimpl version.
12304 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12305 gotoInset to BufferView::Pimpl
12307 2001-06-01 Juergen Vigna <jug@sad.it>
12309 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12310 inside a LockingInset (is the update needed at all?).
12312 2001-05-31 Juergen Vigna <jug@sad.it>
12314 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12315 here not the old one otherwise how should we compare it afterwards
12318 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12323 * FontInfo.C: bring C functions into global namespace when
12326 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12328 * LString.h: make sure config.h has been loaded before LString.h.
12330 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12331 (one for each char read by EatLine!).
12333 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12336 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12338 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12339 to the same as the par we break from
12341 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12343 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12345 * MenuBackend.C (expand): also create menu entries for wide
12346 versions of the floats.
12348 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12350 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12352 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12353 frontends/Makefile.am
12359 * tabular.C (getTokenValue): add std::
12361 * tabular-old.C (getTokenValue): add std::
12362 (getTokenValue): ditto
12363 (getTokenValue): ditto
12365 * screen.C (ToggleSelection): adjust
12367 * lyxtext.h: put selection cursors inside a Selection struct.
12369 * lyxfunc.C (moveCursorUpdate): adjust
12371 * lyxfont.C (latexWriteStartChanges): add std::
12373 * lyxfind.C: adjust
12375 * font.h: delete with(char const *, LyXFont const &)
12377 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12379 * FontInfo.C (getFontname): add std::
12381 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12382 (workAreaButtonPress): adjust
12383 (tripleClick): adjust
12385 (moveCursorUpdate): adjust
12388 * BufferView2.C (gotoInset): adjust
12390 2001-05-30 Juergen Vigna <jug@sad.it>
12392 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12393 to check pspell I add this as default as I now have new pspell
12394 libraries and they seem to use this.
12396 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12398 * text2.C (CutSelection): make the cursor valid before the call to
12401 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12403 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12404 relied on 0 terminated strings and other horrors. Bug found due to
12405 the new assert in lyxstring!
12407 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12410 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12412 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12415 * lyxfunc.C (processKeySym): change method of getting to the
12418 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12419 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12420 * BufferView_pimpl.[Ch]: here as private methods.
12422 2001-05-28 Juergen Vigna <jug@sad.it>
12424 * text.C (SetHeightOfRow): added the update() call again as it is
12425 needed to initialize inset dimensions!
12427 2001-05-16 Juergen Vigna <jug@sad.it>
12429 * text2.C (SetCharFont): Add new function with BufferView * and
12430 bool toggleall parameters for setting insets internal fonts.
12431 (SetFont): Freeze the undo as we may change fonts in Insets and
12432 all this change should be inside only one Undo!
12434 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12435 setting font's in insets as for them we have the SetFont function!
12437 2001-05-15 Juergen Vigna <jug@sad.it>
12439 * text2.C (ClearSelection): to be sure we REALLY don't have any
12442 * tabular.C (TeXCellPreamble): fixed the left border problem for
12445 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12447 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12450 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12452 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12453 LFUN_BREAKPARAGRAPH.
12455 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12456 help test to "internal only", similar for LFUN_INSERT_URL
12458 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12459 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12460 auto_region_delete and deadkeys.
12462 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12465 * LColor.C: remove some dead entries, tidy a little
12467 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12469 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12471 (Dispatch): implement LFUN_ESCAPE
12473 * commandtags.h: add LFUN_ESCAPE
12475 * LyXAction.C (init): add entry for LFUN_ESCAPE
12477 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12478 Remove commented code.
12479 (insertNote): moved here
12480 (open_new_inset): moved here
12482 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12485 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12487 * kbmap.C (findbinding): clean it up and make it work correctly.
12489 * lyx_main.C (init): do not pass argc and argv as parameters
12491 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12493 * buffer.C: fix path for OS/2 & Win32
12497 * lyx_main.C: Added os:: class.
12499 * os2_defines.h: update
12501 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12503 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12504 better by trying again with reduced state.
12506 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12508 * lyxrc.C (read): print error about invalid key sequence only when
12509 debugging (because not all latinX keysyms are known to some X
12512 * kbsequence.C (getiso): add a few std:: qualifiers
12513 (getiso): comment out extra return statement.
12515 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12517 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12519 (Dispatch): enhance the accent inset a bit. (not perfect)
12521 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12523 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12525 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12527 * bufferlist.C (emergencyWrite): fix assert() call
12529 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12531 * text.C (InsertChar): Added trivial patch to only send the "you
12532 can not do multiple spaces this way" message once during a
12535 2001-05-08 Baruch Even <baruch@lyx.org>
12537 * Makefile.am: Changed order of libraries to get LyX to link properly
12538 with the gnome frontend.
12540 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12542 * LaTeXFeatures.h: add a std:: qualifier
12544 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12546 * paragraph.C (String): use stringstream
12548 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12550 * paragraph.C (writeFile): remove footflag arg
12552 * buffer.C (makeLaTeXFile): use stringstream
12553 (latexParagraphs): remove footnot gurba
12555 * LaTeXFeatures.C (getPackages): use stringstream
12556 (getMacros): likewise
12557 (getTClassPreamble): likewise
12558 (getFloatDefinitions): new method
12560 * paragraph.C (writeFile): reindent
12563 * WorkArea.h: revert the xpos + etc changes.
12565 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12567 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12569 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12570 (pasteSelection): likewise
12571 * text2.C (CreateUndo): likewise
12573 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12575 * minibuffer.C (peek_event): temporarily reduce the functionality
12576 of the minibuffer (to allow args on lfuns)
12578 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12579 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12581 * buffer.C (readInset): add compability reading of old float
12582 lists, add reading of new style float list.
12583 (readInset): avoid reevaluation of inscmd.getCmdName()
12584 (getLists): reindent
12586 * MenuBackend.C (MenuItem): implement parsing of
12587 md_floatlistinsert and md_floatinsert.
12588 (expand::LastFiles): move initalizaton of iterators out of loop,
12589 avoid reevaluation.
12590 (expand::Documents): introduce typdedef vector<string> Strings,
12592 (expand::ExportFormats): introduce typedef vector<Format const *>
12593 Formats, and use it.
12594 (expand): implement FloatListInsert and FloatInsert.
12596 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12597 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12598 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12600 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12602 (Dispatch::LFUN_FLOAT_LIST): implement
12604 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12606 * LaTeX.C (run): Fix problem with --export code.
12608 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12610 * BufferView.[Ch] (workarea): removed.
12611 (getClipboard) new method; wrapper for workarea()->getClipboard()
12613 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12616 * WorkArea.h (width, height, xpos, ypos): These methods all
12617 returned the dimensions of the work_area sub-area of WorkArea,
12618 resulting in a position error if the WorkArea were resized. Now
12619 return the dimensions of the entire WorkArea.
12621 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12623 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12625 * LaTeX.C (deplog): correct the syntax of regex reg1
12627 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12629 * undo.C: remove !NEW_INSETS cruft
12631 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12633 * text2.C: remove !NEW_INSETS cruft
12635 * text.C: remove !NEW_INSETS cruft
12637 * tabular.C: remove !NEW_INSETS cruft
12639 * spellchecker.C: remove !NEW_INSETS cruft
12641 * lyxtext.h: remove !NEW_INSETS cruft
12643 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12645 * lyxfunc.C: remove !NEW_INSETS cruft
12647 * lyxfind.C: remove !NEW_INSETS cruft
12649 * lyx_cb.C: remove !NEW_INSETS cruft
12651 * figureForm.C: remove !NEW_INSETS cruft
12653 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12655 * buffer.[Ch]: remove !NEW_INSETS cruft
12657 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12659 * CutAndPaste.C: remove !NEW_INSETS cruft
12661 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12663 * BufferView2.C: remove !NEW_INSETS cruft
12665 * BufferView.h: remove !NEW_INSETS cruft
12667 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12669 * Lsstream.h: include LString.h before the sstream headers to
12670 fix problem with gcc 2.95.3 and lyxstring
12672 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12674 * lyx_main.C: add using directives when needed for C functions
12675 declared in std:: namespace.
12677 2001-04-27 Juergen Vigna <jug@sad.it>
12679 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12680 (SetHeightOfRow): comment out the update call should not be needed!
12682 2001-04-13 Juergen Vigna <jug@sad.it>
12684 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12685 (LyXTabular): tried to minimize operator= operations (and realized
12686 hopfully Lars wish).
12688 2001-04-27 Juergen Vigna <jug@sad.it>
12690 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12692 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12694 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12696 * buffer.C (readInset): hack to make listof algorithm work
12698 * BufferView_pimpl.C: hack to make listof algorithm work
12700 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12702 * LyXAction.C: removed all !NEW_INSETS cruft
12703 (init): moved lfun_item in method
12705 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12707 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12709 * BufferView2.C (theLockingInset): white space.
12711 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12713 * minibuffer.C: include <iostream>
12715 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12717 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12719 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12721 * text.[Ch] (TransposeChars): new method
12723 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12725 * call message directly through LyXView instead of through LyXFunc
12726 * BufferView2.C: adjust
12727 * BufferView_pimpl.C: adjust
12728 * FontLoader.C: adjust
12730 * bufferview_funcs.C: adjust
12731 * converter.C: adjust
12732 * figureForm.C: adjust
12733 * importer.C: adjust
12735 * lyx_gui_misc.C: adjust
12736 * lyxfunc.C: adjust
12739 + more files in subdirs
12741 * lyxparagraph.h (size): move up int file
12744 * adjust all uses of Assert to lyx::Assert.
12746 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12747 lyxfunctional in namespace lyx
12748 * layout.C (hasLayout): ditto
12751 (delete_layout): ditto
12752 (NumberOfClass): ditto
12753 * converter.C (GetFormat): ditto
12758 * bufferlist.C (getFileNames): ditto
12759 (emergencyWriteAll): ditto
12762 * MenuBackend.C (hasSubmenu): ditto
12765 * BufferView_pimpl.C (getInsetByCode): ditto
12767 2001-04-18 Juergen Vigna <jug@sad.it>
12769 * vspace.C (asLatexString): fixed the 100% problem.
12771 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12773 * lyxfunc.C (Dispatch):
12775 * minibuffer.h: add a few std:: qualifiers
12777 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12779 * minibuffer.[Ch]: reimplement so that commands is initiated and
12780 run from lyxfunc, simplified som handling, and made the completion
12781 and history code for complete. wip.
12783 * lyxfunc.C (processKeySym): call message
12784 (miniDispatch): new temporary method
12785 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12786 (LFUN_MESSAGE): implement
12787 (LFUN_MESSAGE_PUSH): implement
12788 (LFUN_MESSAGE_POP): implement
12789 (initMiniBuffer): the initial/defualt minibuffer message.
12791 * lyxfont.[Ch]: inline some more getters
12793 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12795 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12797 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12798 (AutoSave): use LFUN_MESSAGE
12799 (Reconfigure): ditto
12801 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12803 * figureForm.C: use LFUN_MESSAGE
12805 * converter.C (runLaTeX): use LFUN_MESSAGE
12807 * bufferview_funcs.C: use LFUN_MESSAGE
12809 (changeDepth): ditto
12811 * bufferparams.h: use boost::
12813 * bufferlist.h: inherit privately from noncopyable
12815 * bufferlist.C (loadLyXFile): remove some commented code.
12817 * buffer.C (runChktex): use LFUN_MESSAGE
12819 * ShareContainer.h: inherit privately from noncopyable
12821 * ParagraphParameters.[hC] (depth): inline it.
12823 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12825 (message): new method
12826 (messagePush): ditto
12827 (messagePop): ditto
12828 (show): init minibuffer
12829 (showState): direct call
12831 * LaTeX.[Ch]: inherit privately from noncopyable
12832 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12833 instead of WriteStatus.
12835 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12837 * BufferView_pimpl.C (buffer): don't init minibuffer
12838 (workAreaButtonPress): use LFUN_MESSAGE
12839 (workAreaButtonRelease): ditto
12840 (savePosition): ditto
12841 (restorePosition): ditto
12842 (MenuInsertLyXFile): ditto
12843 (workAreaExpose): don't init minibuffer
12844 (update): remove commented code, simplify
12846 * BufferView2.C (openStuff): use LFUN_MESSAGE
12847 (toggleFloat): ditto
12850 (copyEnvironment): ditto
12851 (pasteEnvironment): ditto
12856 (updateInset): remove some commented code
12858 * lastfiles.h: inherit privately from noncopyable
12861 * lyx_main.h: ditto
12863 * lyxlex_pimpl.h: ditto
12865 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12866 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12867 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12869 * LyXAction.h: inherit privately from noncopyable, add methods
12870 func_begin, func_end, returning iterators to the func map.
12872 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12873 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12874 (func_begin): new method
12875 (func_end): new method
12877 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12879 (copySelection): ditto
12880 (pasteSelection): ditto
12882 * BufferView.C: whitespace change
12883 * BufferView.h: inherit privately from noncopyable
12885 2001-04-16 Allan Rae <rae@lyx.org>
12887 * tabular-old.C (l_getline):
12888 * spellchecker.C (sc_check_word):
12889 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12890 an unrecognised preprocessor directive. So ensure they're wrapped.
12892 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12894 * src/exporter.C (Export): Give an error message when path to file
12897 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12899 * LaTeX.C (deplog): Always check that foundfile exists.
12901 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12904 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12906 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12908 * tabular.[Ch] (getLabelList): implement new method
12910 * minibuffer.h: comment ouf setTiimer
12912 * minibuffer.C (ExecutingCB): constify res
12913 (peek_event): constify s
12914 (Set): constify ntext
12915 (Init): constify nicename
12917 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12919 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12920 (savePosition): use two params to Minibuffer::Set
12921 (restorePosition): ditto
12923 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12925 * lyx_main.C: include language.h
12927 * Makefile.am (lyx_main.o): add language.h
12929 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12935 * CutAndPaste.C: include gettext.h
12937 * lyxfont.h: remove old hack with ON and OFF.
12940 * lyxfont.h: do not include language.h...
12945 * bufferview_funcs.C:
12951 * paragraph.C: ... but do it here instead
12953 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12955 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12957 * tabular.C: small reformat
12959 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12962 (BreakParagraph): ditto
12963 (SetOnlyLayout): ditto
12966 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12969 * lastfiles.C: removed most using decl, add std:: where needed
12971 * buffer.C: ws changes
12973 * MenuBackend.C (class compare_format): put into anon namespace
12974 (expand): constify label, names, action, action2
12977 * text.C (SingleWidth): constify font
12978 (IsBoundary): constify rtl2
12979 (GetVisibleRow): constify ww
12981 * LaTeX.C (deplog): constify logfile
12983 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12985 (workAreaExpose): constify widthChange, heightChange
12987 * lyxrow.C (par): moved
12990 * lyxrow.h: as inlines here
12992 * lyxfont.h (shape): moved from lyxfont.C
12993 (emph): moved from lyxfont.C
12995 * lyxfont.C (LyXFont): use initialization list for all
12997 (shape): move to lyxfont.h as inline
12998 (emph): move to lyxfont.h as inline
13001 2001-04-04 Juergen Vigna <jug@sad.it>
13003 * vspace.C: had to include stdio.h for use of sscanf
13005 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13008 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13009 independent of xforms.
13011 2001-04-02 Juergen Vigna <jug@sad.it>
13013 * spellchecker.C: fixed namespace placing!
13015 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13017 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13018 the LyXParagraph * is 0.
13020 2001-03-29 Juergen Vigna <jug@sad.it>
13022 * vspace.C: added support for %, c%, p%, l%.
13023 (stringFromUnit): added helper function.
13024 (asLatexString): changed to give right results for the %-values.
13026 * buffer.C: convert the widthp in a width%.
13028 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13030 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13033 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13034 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13036 * lyx_cb.[Ch]: see above.
13038 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13042 * lyx.[Ch]: replaced by figure_form.[Ch].
13046 * lyxfunc.C: changed headers associated with above changes.
13048 2001-03-27 Juergen Vigna <jug@sad.it>
13050 * BufferView_pimpl.C: set the temporary cursor right!
13052 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13054 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13056 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13058 * LString.h: removed "using std::getline"!
13060 * BufferView_pimpl.C (Dispatch): changes due to changes in
13061 InsetInclude::Params.
13063 * buffer.C (tag_name): removed redundant break statements as they were
13064 producing lots of warnings with my compiler.
13066 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13068 * LString.h: add "using std::getline" when using the real <string>.
13070 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13072 * buffer.C: removed bitset usage.
13073 PAR_TAG moved to an anonymous name space.
13074 (tag_name): new funtion, also in the anonymous namespace.
13075 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13076 (makeDocBookFile): clean code. Completed transition from string arrays
13078 (SimpleDocBookOnePar): code clean.
13080 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13082 * tabular.C: add some comments.
13084 2001-03-22 Juergen Vigna <jug@sad.it>
13086 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13087 compatibility read a bit and fixed bug with minipage in different
13090 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13092 * buffer.C (pop_tag): removed.
13093 (push_tag): removed.
13094 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13095 array replaced with vector. Added support for CDATA sections.
13096 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13098 (makeDocBookFile): XML conformant declaration of CDATA section,
13099 fixed bug related to <emphasis> in the first paragraph char.
13100 (sgmlOpenTag): exclude empty tags.
13101 (sgmlCloseTag): ditto.
13103 * buffer.h (pop_tag): removed.
13104 (push_tag): removed.
13106 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13108 * language.h (Languages): added size_type and size().
13110 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13112 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13113 response on compability reading of minipages. One probliem is that
13114 the old usage of minipages was «flertydig»
13116 * several files here and in subdirs: don't use static at file
13117 scope use anon namespaces instead.
13119 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13121 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13122 LaTeX output. This is necessary for Literate document
13125 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13127 * buffer.C: insert hfill when needed.
13129 * tabular.C (l_getline): use string::erase, small whitespace change.
13131 * BufferView_pimpl.C: try the anon namespace.
13132 * WorkArea.C: ditto
13134 2001-03-16 Juergen Vigna <jug@sad.it>
13136 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13137 otherwise it won't open options-dialogs.
13139 * buffer.C: honor pextraWidth(p) on converting minipages.
13141 * tabular.C (l_getline): changed the functions to strip trailing \r.
13143 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13145 * BufferView_pimpl.C:
13146 * minibuffer..C: added "using SigC::slot" declaration.
13148 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13150 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13156 * paragraph.C: ditto
13158 * lyxtext.h: NO_PEXTRA
13160 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13162 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13163 * ParameterStruct.h: ditto
13164 * ParagraphParameters.h: ditto
13165 * lyxparagraph.h: ditto
13167 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13169 * buffer.C: add compability for minipage alignment.
13170 (latexParagraphs): remove unwanted pextra check.
13172 * several files: remove CXX_WORKING_NAMESPACES
13174 * buffer.C (pop_tag): tie is in namespace boost
13176 * BufferView.h: noncopyable is in namespace boost
13178 * lyx_main.h: ditto
13181 * lastfiles.h: ditto
13182 * bufferlist.h: ditto
13183 * ShareContainer.h: ditto
13185 * LyXAction.h: ditto
13188 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13190 * Merging changes from BRANCH_MVC back into HEAD.
13192 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13194 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13196 * BufferView_pimpl.C: change from intl.C
13200 * Makefile.am: move combox.*
13206 * intl.C: remove dialog (covered by prefs)
13208 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13210 * lyxfunc.C (Dispatch): removed redundant break statement.
13212 2001-03-14 Juergen Vigna <jug@sad.it>
13214 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13216 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13218 * buffer.C: add hack to fix compability reading of minipages.
13220 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13222 * buffer.C (getLists): Cleanup.
13224 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13226 * lyxfont.C (update): don't honor toggleall on font size.
13228 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13232 * Makefile.am: moved to frontends/xforms/
13236 * BufferView_pimpl.C: changes for moved mathpanel
13238 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13240 * gettext.h: fix gettext_init() in --disable-nls
13242 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13244 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13246 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13249 * lyx.h: strip external form
13251 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13253 * BufferView_pimpl.C: add comment, destroySplash()
13255 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13257 * BufferView_pimpl.C:
13261 * lyxfunc.C: use re-worked insetinclude
13263 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13265 * buffer.C: add using std::stringstream.
13267 * lyx_cb.C: readd using std::ios.
13269 * buffer.C: add using std::map.
13271 * BufferView_pimpl.C: add using std::vector.
13273 * ShareContainer.h: add std:: to swap.
13275 * buffer.h: add some typedefs
13276 * buffer.C (getLists): use them
13277 (getLists): renamed from getTocList.
13278 add a counter for the different float types and use it in the
13280 (getLists): use the same counter for the NEW_INSETS and the "non"
13283 * lyx_cb.h: remove unused items, includes, using etc.
13285 * ShareContainer.h: remove some commented code, add more comments
13286 and "documentation".
13288 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13290 * buffer.C (getTocList): make the list also when NEW_INSETS is
13293 * buffer.h: remove TocType
13295 * buffer.C (getTocList): change to return a map<string,
13296 vector<TocItem> >, implement for dynamic number of list.
13298 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13299 * text2.C (PasteSelection): adjust
13300 * CutAndPaste.C (pasteSelection): adjust
13302 * FloatList.C (FloatList): update from the new_insets branch.
13303 * Floating.[Ch]: ditto
13304 * LaTeXFeatures.C: ditto
13306 * lyxlex_pimpl.C: ditto
13308 * paragraph.C (Last): remove when NEW_INSETS is defined.
13310 * other file: changes because of the above.
13312 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13314 * lyxparagraph.h: rename next to next_, previous to previous_,
13315 make them private for NEW_INSETS. Rename Next() to next(),
13316 Previous() to previous().
13318 * other files: changes because of the above.
13320 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13323 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13326 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13328 * main.C (main): pass lyx_localedir to gettext_init().
13330 * gettext.h: remove locale_init and gettext_init macros
13332 * gettext.C (locale_init): new function
13333 (gettext_init): new function
13335 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13338 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13340 * Moved credits to frontends:
13341 * credits.[Ch]: removed
13342 * credits_form.[Ch]: removed
13343 * lyx_gui_misc.C: remove credits stuff
13346 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13348 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13350 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13351 unneeded destructor.
13353 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13354 a standalone pointer again.
13356 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13358 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13364 * ToolbarDefaults.C:
13373 * BufferView_pimpl.C: use new file dialog in GUII
13376 * lyx_cb.C: remove LayoutsCB to Toolbar
13378 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13380 * ShareContainer.h (get): add std:: qualifier
13382 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13384 * ShareContainer.h: define a proper ShareContainer::value_type
13385 type (and use typename to please compaq cxx)
13387 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13389 * lyxparagraph.h: move serveral local vars to
13390 ParameterStruct/ParagraphParameters., use ShareContainer in
13391 FontTable., make vars in FontTable private and add getter and
13394 * paragraph.C: changes because of the above.
13396 * lyxfont.h: remove copy constructor and copy assignment. (the
13397 default ones is ok), move number inside FontBits. move inlines to
13400 * lyxfont.C: add number to initializaton of statics, move several
13401 inlines here. constify several local vars. some whitespace
13402 cleanup. Dont hide outerscope variables.
13404 * Spacing.h: add two new constructors to match the set methods.
13406 * ShareContainer.h: new file, will perhaps be moved to support
13408 * ParameterStruct.h: new file
13410 * ParagraphParameters.h: new file
13412 * ParagraphParameters.C: new file
13414 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13415 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13417 * BufferView_pimpl.C: ParagraphParameter changes.
13418 * buffer.C: Likewise.
13419 * bufferview_funcs.C: Likewise.
13420 * text.C: Likewise.
13421 * text2.C: Likewise.
13423 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13425 * lyxfind.C (LyXReplace): do not redefine default argument in
13427 (IsStringInText): ditto
13428 (SearchForward): ditto
13429 (SearchBackward): ditto
13431 2001-03-06 Juergen Vigna <jug@sad.it>
13433 * lyxfind.C (IsStringInText): put parentes around expressions.
13435 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13437 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13439 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13441 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13443 * stl_string_fwd.h: add comment
13445 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13448 * tabular.C: remove unused DocBook methods
13454 killed DO_USE_DEFAULT_LANGUAGE
13456 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13458 * lyx_gui.C: do not include language.h.
13460 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13461 arguments in function implementation.
13463 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13465 * BufferView_pimpl.C: add <ctime>
13467 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13469 * BufferView_pimpl.C: add using std::find_if
13471 2001-02-27 José Matos <jamatos@fep.up.pt>
13473 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13476 2001-02-11 José Matos <jamatos@fep.up.pt>
13478 * buffer.C (makeDocBookFile): command styles now have a parameter as
13479 "title" by default.
13481 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13483 * layout_forms.[Ch]: removed
13484 * lyx_cb.[Ch]: out character
13485 * lyx_gui.C: out character
13486 * lyx_gui_misc.C: out character
13487 * bufferview_funcs.C: : out character,
13488 added toggleall as parameter in ToggleAndShow
13490 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13492 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13494 * text2.C (SetCurrentFont): Disable number property at boundary.
13496 2001-02-26 Juergen Vigna <jug@sad.it>
13498 * lyxfunc.C (getStatus): added a string argument override function so
13499 that this is correctly called from LyXFunc::Dispatch if it contains a
13500 do_not_use_argument which is used!
13501 (Dispatch): added check for "custom" export and call appropriate func.
13503 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13505 * lyxrc.C: Add language_command_local, language_use_babel and
13506 language_global_options.
13508 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13510 * buffer.C (makeLaTeXFile): Use language_use_babel and
13511 language_global_options.
13513 2001-02-23 Juergen Vigna <jug@sad.it>
13515 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13516 which works with LyXText and putted it inside BufferView. Here now we
13517 only call for that part the BufferView::Dispatch() function.
13519 * BufferView.C (Dispatch): added.
13521 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13522 functions which needs to use a LyXText over from LyXFunc.
13523 (MenuInsertLyXFile): added
13524 (getInsetByCode): added
13525 (moveCursorUpdate): added
13526 (static TEXT): added
13528 2001-02-22 Juergen Vigna <jug@sad.it>
13530 * BufferView_pimpl.C (update): call a status update to see if LyXText
13533 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13535 * vc-backend.C (revert): implement for CVS
13536 (getLog): implement for CVS
13538 2001-02-20 Juergen Vigna <jug@sad.it>
13540 * text2.C (ClearSelection): added BufferView param for inset_owner call
13542 * lyxfunc.C (TEXT): added this function and use it instead of
13543 directly owner->view()-text of getLyXText().
13545 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13547 * src/layout_forms.C: out preamble
13548 * src/layout_forms.h: out preamble
13549 * src/lyx_cb.C: out preamble
13550 * src/lyx_cb.h: out preamble
13551 * src/lyx_gui.C: out preamble
13552 * src/lyx_gui_misc.C: out preamble
13553 * src/lyxfunc.C: connect with guii preamble
13555 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13557 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13559 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13561 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13562 whether to run bibtex.
13564 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13566 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13568 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13570 * Makefile.am (lyx_SOURCES): removed bibforms.h
13572 * vspace.h: doxygen
13574 * text.C (GetVisibleRow): make several local vars const
13576 * tabular.C: small cleanup.
13578 * lyxserver.C (callback): use compare instead of strncmp
13580 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13581 inlines to after class or to paragraph.C
13583 * lyxfont.h: remove friend operator!=
13585 * converter.h: move friend bool operator< to non friend and after
13588 * combox.h: small cleanup
13590 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13591 to inlines after class def.
13593 * buffer.C (pop_tag): use string operations instead of strcmp
13595 * bmtable.c: doxygen, small cleanup
13597 * LaTeX.h: remove friend operator==
13599 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13611 * BufferView_pimpl.C:
13612 * BufferView.[Ch]: remove cruft
13614 2001-02-14 Juergen Vigna <jug@sad.it>
13616 * lyxfunc.C: removed #if 0 unused code
13618 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13620 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13622 * text2.C (SetSelection): added a BufferView * parameter
13624 2001-02-13 Juergen Vigna <jug@sad.it>
13626 * lyxfunc.C (Dispatch): fixed protected blank problem.
13627 * BufferView2.C (protectedBlank): added LyxText * parameter.
13629 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13630 (AppendColumn): same as above for column_info.
13632 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13633 (moveCursorUpdate): use a LyXText param for support of InsetText.
13635 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13636 (tripleClick): ditto
13638 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13640 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13642 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13644 * text2.C (SetSelection): set correct update status if inset_owner
13645 (ToggleFree): ditto
13647 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13649 * tabular.C: remove some commented code.
13651 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13653 * BufferView_pimpl.C: call hideSplash()
13655 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13658 * bibforms.h: remove
13661 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13662 add LFUN_CHILD_CREATE
13664 * counters.h: fix tiny typo
13669 * lyx.C: move splash to frontends/xforms/
13671 * lyx_gui_misc.C: move Include and Bibform to frontends
13673 * lyxvc.h: clarify comment
13675 * vspace.C: tiny housekeeping
13677 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13679 * text.C (PrepareToPrint): RTL Fix.
13681 * paragraph.C (GetUChar): New method.
13682 (String): Use GetUChar.
13684 * buffer.C (asciiParagraph): Use GetUChar.
13686 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13688 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13690 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13693 * buffer.C: rename to getLogName(), handle
13694 build log / latex log nicely
13696 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13699 * MenuBackend.h: remove support for reference menuitem type.
13701 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13703 * BufferView_pimpl.C: housekeeping
13704 * BufferView_pimpl.h:
13709 * minibuffer.h: move Timeout GUI-I
13711 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13713 * lyxrc.C (read): Update converters data-structures.
13715 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13717 * LaTeX.h (operator!=): add operator != for Aux_Info
13719 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13721 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13723 * LaTeXLog.C: deleted, useful code moved to Buffer
13726 * buffer.C: new function getLatexLogName()
13732 * lyxfunc.C: use frontends for LaTeX and VC logs
13734 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13736 * LaTeX.h: yet another std:: that Allan forgot.
13738 * Variables.C (set): renamed from isset(), because this clashes
13739 with some HP-UX macros (grr).
13741 2001-02-06 Allan Rae <rae@lyx.org>
13743 * LaTeX.h: Another bug fix. Missing std:: this time.
13745 2001-02-04 Allan Rae <rae@lyx.org>
13747 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13748 floats problem. I've left it commented out because it's not quite
13749 correct. It should also test that the current object is a table or
13750 figure inset. But I haven't gotten around to figuring out how to do
13751 that. I *think* it'll be something like: "table" == inset.type()
13753 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13756 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13758 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13759 all the citation/databases/styles in the auxilary file.
13760 (run): Rerun latex if there was a babel language error.
13762 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13764 * text.C (Backspace): Preserve the font when changing newline char
13766 (BreakParagraph): If the cursor is before a space, delete the space.
13768 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13770 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13772 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13773 new argument (code).
13774 (ChangeCitationsIfUnique): New method.
13776 * paragraph.C (GetPositionOfInset): Handle bibkey.
13778 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13780 * BufferView_pimpl.h: change type of Position::par_pos to
13781 LyXParagraph::size_type.
13783 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13785 * BufferView_pimpl.C (savePosition, restorePosition): Write
13786 messages to minibuffer.
13788 2001-01-28 José Matos <jamatos@fep.up.pt>
13790 * buffer.C (makeDocBookFile): adds support for document language.
13791 A silly restriction on the name of LatexCommand types where removed.
13792 Added support for CDATA sections, allows to chars unescaped, used
13793 among others in code, to avoid escape < and >.
13795 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13797 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13798 saved positions instrad of a stack. Furthermore, a position is
13799 stored using paragraph id/paragraph position.
13801 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13802 Remove LFUN_REF_BACK.
13804 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13806 * converter.C (dvipdfm_options): New method.
13808 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13810 * vspace.C (isValidLength): Fix for empty input string.
13812 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13814 * LyXAction.C (init): change description of LFUN_FIGURE to
13817 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13819 * LaTeX.C: add using directive
13821 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13823 * MenuBackend.C (expand): Fix the sorting of the formats.
13825 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13827 * lyx_main.C: tiny error message fix
13829 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13831 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13832 calling fl_initialize(). This fixes the problem with ',' as
13833 decimal separator in text files.
13835 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13837 * trans.C (process): Fix the keymap bug.
13839 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13841 * LaTeX.C (scanAuxFiles): New method. Provides support for
13842 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13843 (scanLogFile) Scan for "run BibTeX" messages.
13845 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13846 OT1 font encoding. Also, load the aecompl package if the ae
13849 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13851 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13853 * texrow.C (increasePos): turn two error messages into debug
13856 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13858 * LaTeX.C (scanAux): Handle the \@input macro.
13859 (runBibTeX): Use scanAux().
13861 * language.C (latex_options_): New field.
13863 * LaTeXFeatures.C (getMacros): Add language macros.
13865 * buffer.C (makeLaTeXFile): Small fix.
13867 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13869 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13871 * text2.C: add a using directive.
13873 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13878 * lyxfunc.C: kill LyXBell.
13880 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13882 * text.C (IsBoundary): Remove the error message
13884 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13886 * lyxrc.C (setDefaults): Correct initialization value for
13889 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13891 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13894 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13895 and GotoNextNote().
13897 * src/LyXAction.C: Added reference-next.
13899 * text.C (InsertChar): Use contains instead of strchr.
13901 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13903 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13905 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13906 alignment commands (when needed).
13908 * text.C (InsertChar): Add ':' to number separator chars.