1 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3 * text2.C (setCursorIntern): move the x_target update here *
4 * text3.C: change some bv() to true/false in calls to
5 cursorUp/Down/Right/Left
6 * cursor.C: use helper function.
8 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
10 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
11 * paragraph_funcs.[Ch]: correct comment
12 * rowpainter.C: do not paint selections away from bv->cursor()
13 Fix a long standing selection painting bug.
14 * text3.C: generalize mouse-selection code to LyXTexts other that
16 * textcursor.C: do not use y coords if we can use par offsets
18 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
20 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
21 cursor position after e.g. inset insert)
23 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
25 * lyxfind.C (replace): adjust to locking removal + some
28 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
30 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
33 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
36 * output_docbook.C: XML sanitation: new layout
37 parameters InnerTag and CommandDepth
39 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
43 * text3.C: Fix the insertion and modification of button-style
46 2003-11-13 André Pönitz <poenitz@gmx.net>
48 * InsetList.[Ch]: remove deleteLyXText
50 * paragraph.[Ch]: cache beginOfBody position
55 * text3.C: remove superfluous update() calls
59 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
61 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
62 * BufferView.C (fitLockedInsetCursor): remove
63 * cursor.[Ch] (getDim): add
64 * text.C (getRowNearY): add faster version
65 * text3.C: remove some update calls
67 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
79 * text3.C: The Character Style /XML short element patch.
81 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
84 * factory.C: Small step to solving 'unable to insert some insets'
87 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
89 * cursor.[Ch] (updatePos): new function for updating the y
90 position of the tip inset
91 * bufferview_funcs.C (put_selection_at):
92 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
94 2003-11-11 André Pönitz <poenitz@gmx.net>
96 * text.C: remove big comment on invalid Paragraph pointers as it is
99 2003-11-11 André Pönitz <poenitz@gmx.net>
101 * text_funcs.[Ch]: merge with ...
109 * Makefile.am: remove text_funcs.[Ch]
111 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
113 * cursor.C (getPos): return absolute cached y coord
115 * BufferView_pimpl.C (fitCursor): new simplistic code
116 (workAreaDispatch): add a fitCursor call
118 2003-11-10 André Pönitz <poenitz@gmx.net>
121 * BufferView_pimpl.[Ch]: merge update() and updateInset()
123 2003-11-10 André Pönitz <poenitz@gmx.net>
125 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
126 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
127 indicate that the cursor needs to leave an inset
129 * lyxtext.h: remove inset locking
131 * cursor.[Ch]: re-implement functionality provided by inset locking
134 * BufferView_pimpl.[Ch]:
136 * bufferview_funcs.[Ch]:
148 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
150 * PosIterator.[Ch]: replace the stack with a vector, add inset
152 * iterators.[C]: adjust
154 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
156 * lyxfind.C (replaceAll): mark the buffer dirty if something was
158 * paragraph_funcs.C (readParToken): put the correct id in the
159 error item, not the id of the top paragraph
161 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
163 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
164 * bufferview_funcs.C (put_selection_at): use the above
166 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
168 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
170 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
173 * output_plaintext.h:
175 * output_docbook.h: add #include statements
177 2003-11-05 José Matos <jamatos@lyx.org>
179 * output_docbook.[Ch]:
181 * output_linuxdoc.[Ch]:
182 * output_plaintext.[Ch]: New files for output formats.
183 * output.[Ch]: New file for helper functions.
186 * paragraph_funcs.[Ch]: output functions moved to new files.
188 * outputparams.h: rename of latexrunparams.h
196 * paragraph_funcs.[Ch]:
197 * paragraph_pimpl.[Ch]:
198 * tabular.[Ch]: rename ascii to plaintext
199 and LatexRunParams to OutputParams.
201 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
203 * iterators.[Ch] (text): require bv argument
204 * undo.C (recordUndo):
205 * lyxfunc.C (dispatch):
206 * bufferview_funcs.C (put_selection_at): adjust
208 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
210 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
212 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
214 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
217 2003-11-04 André Pönitz <poenitz@gmx.net>
219 * cursor.[Ch]: restructure
222 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
224 * iterators.[Ch] (asCursor): remove
226 * lfuns.h: remove LFUN_INSET_EDIT
232 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
234 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
236 * lyxfind.[Ch]: complete overhaul
237 * BufferView_pimpl.C:
239 * paragraph.[Ch] (insert): add
241 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
245 * text.C: remove dead spellcheck code
247 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
249 * dispatchresult.h: add a val setter
251 * cursor.C (dispatch): use a tempvar for data_[i]
253 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
255 * PosIterator.[Ch]: compile fix
257 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
259 * text.C (cursorPar): deactivate the cursor cache
261 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
263 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
265 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
267 * text3.C (dispatch): adjust for new DisptchResult semantics.
269 * lyxfunc.C (dispatch): handle update when return from
270 Cursor::dispatch, adjust for new DispatchResult semantics.
272 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
273 DispatchResult(true) mean to not update. Add class functions for
274 setting dispatched and update, as well as reading.
276 * cursor.C (dispatch): don't handle update here
278 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
280 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
281 * trans_mgr.C: adjust
283 * paragraph_funcs.C (readParToken): exception safety
285 * lyxvc.h: store the vcs pointer in a scoped_ptr
288 * lyxsocket.C (serverCallback): exception safety
290 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
292 * ispell.C (clone): make it return a auto_ptr
294 * factory.C (createInset): exception safety
295 (readInset): exception safety
297 * bufferlist.C (newBuffer): exception safety
299 * Thesaurus.C (Thesaurus): use initialization for aik_
301 * MenuBackend.C (expandToc): exception safety.
303 2003-11-03 André Pönitz <poenitz@gmx.net>
307 * bufferview_funcs.C: remove getInsetFromId()
310 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
316 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
318 * PosIterator.C (distance, advance): new
319 * bufferview_funcs.[Ch] (put_selection_at): new
320 * iterators.[Ch] (lockPath): new
322 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
324 * iterators.[Ch] (asPosIterator): added
325 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
326 * PosIterator.[Ch]: added
328 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
332 * cursor.C (dispatch):
333 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
335 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
336 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
337 contructor, add a class function dispatched. Remove operator>=
339 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
341 * debug.C: only use the default constructor for debugstream
344 * main.C (main): include debug.h and setup the lyxerr streambuf
347 2003-10-31 José Matos <jamatos@lyx.org>
349 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
351 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
352 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
353 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
354 * paragraph_pimpl.C (simpleTeXSpecialC):
355 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
356 add LatexRunParams argument.
358 * exporter.C (Export): change call accordingly.
360 * latexrunparams.h: add new member to take care of the other backends.
361 2003-10-30 José Matos <jamatos@lyx.org>
363 * buffer.C (makeLinuxDocFile, makeDocBookFile):
364 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
365 factorise code for paragraph output.
367 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
370 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
372 * text3.C (dispatch):
373 * lyxfunc.C (dispatch):
374 * cursor.C (dispatch):
375 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
377 * dispatchresult.h: make the dispatch_result_t ctor explicit
379 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
382 * buffer.C: small refactoring of docbook stuff
384 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
386 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
389 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
391 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
392 operator dispatch_result_t, and operators for == != and >=
394 * cursor.C (dispatch): adjust for operator dispatch_result_t
395 removal. comment out call to update
397 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
399 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
407 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
410 * dispatchresult.h: new file, DispatchResult broken out of
413 * Makefile.am (lyx_SOURCES): add dispatchresult.h
415 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
417 * text.C (rowBreakPoint): put a hack inside #if 0
419 2003-10-28 André Pönitz <poenitz@gmx.net>
426 * text2.C: general cleanup (lots of small stuff)
428 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
430 * text2.C (cursorEnd): simple fix to the "end key goes to one
431 before the end on last row" bug
433 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
435 * text.C (backspace): fix the "zombie characters"
437 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
439 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
441 2003-10-27 André Pönitz <poenitz@gmx.net>
443 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
445 * factory.C: handle new InsetPagebreak, InsetLine
447 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
448 and move handling into new InsetPagebreak, InsetLine
450 * BufferView_pimpl.C:
452 * ParagraphParameters.C:
465 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
474 * text3.C: remove lastPos uses in favour of Row::endpos
476 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
478 * undo.C (performUndoOrRedo): fix two crashes by setting a
479 cursor by hand and reordering some calls. Use bv->lockInset instead
480 of inset->edit because the latter loses cursor information
482 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
484 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
486 (rowBreakPoint): fix width. change point to point + 1.
489 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
492 * lyxfunc.C: fix (at least partly) the problems
493 with the Nav menu and headers inside branch insets
496 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
498 * paragraph.C (getChar): add strong asserts
500 * lyxrow_funcs.C (lastPos): remove hideous hack
502 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
503 (fill): adjust to that (avoid an infinite loop)
505 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
507 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
509 2003-10-23 André Pönitz <poenitz@gmx.net>
511 * RowList_fwd.h: change list<> to vector<> to gain speed
512 after suggestion from Alfredo
514 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
516 * lyxtext.h: move the bidi stuff from here...
519 * Bidi.[Ch]: ... to here
521 2003-10-23 André Pönitz <poenitz@gmx.net>
524 * text.C (isLastRow, isFirstRow): new functions
526 * paragraph.h: new width cache member
528 * rowpainter.C: replace RowList::iterator with Row & where possible
530 * lyxfunc.C: replace several view()->text with a single call
532 * toc.C: fix 'unused' warning
534 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
536 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
537 when woring with stream::pos_type
538 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
540 2003-10-22 André Pönitz <poenitz@gmx.net>
543 * text.C: use Row & instead of RowList::iterator
545 * lyxrow.h: rename end() to endpos()
551 2003-10-22 Angus Leeming <leeming@lyx.org>
553 * buffer.[Ch] (fully_loaded): new member function, returning true
554 only when the file has been loaded fully.
555 Used to prevent the premature generation of previews and by the
556 citation inset to prevent computation of the natbib-style label.
558 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
559 templates are all set up.
561 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
563 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
565 * text.C: fixed an "oops" in the "is a bit silly"
568 2003-10-21 André Pönitz <poenitz@gmx.net>
570 * FuncStatus.[Ch]: small stuff, whitespace
572 * lyxfont.[Ch]: operator<<() for debug reasons
576 * lyxtext.h: whitespace, spelling
578 * paragraph.C: naming of variables
581 * text2.C: small stuff
584 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
586 * text.C: (1) finish off the inset display() work;
587 (2) fix the "is a bit silly" bug (accessing char
590 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
592 * text.C: re-introduce display() for insets, fixing the
593 various bugs (stretch of line above, math inset
596 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
598 * text.C (rightMargin): remove spurious semicolon
600 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
603 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
605 * text3.C: fix one crash due to wrong cursor def
607 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
609 * vc-backend.C (scanMaster): make the regex static
611 * LaTeX.C (scanAuxFile): make the regexs static
613 * text3.C (doInsertInset, dispatch, dispatch):
614 * text2.C (cursorUp, cursorDown):
615 * text.C (selectNextWordToSpellcheck):
616 * BufferView_pimpl.C (dispatch):
617 * lyxfunc.C (dispatch): localDispatch -> dispatch
619 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
621 * lyxsocket.C: include <cerrno>
623 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
625 * lyxfunc.C (dispatch): remove textcache stuff
627 * bufferlist.C (release): remove textcache stuff
630 * TextCache.C: delete file
631 * TextCache.h: delete file
633 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
635 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
636 delete of the bv_->text.
637 (resizeCurrentBuffer): remove texcache stuff
638 (workAreaResize): ditto
640 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
642 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
645 2003-10-16 André Pönitz <poenitz@gmx.net>
652 * text3.C: speed up by storing y positions per paragraph plus per-row
653 offset instead of having a 'full' y position in the row.
655 2003-10-15 André Pönitz <poenitz@gmx.net>
659 * undo.[Ch]: make undo aware of inner insets
661 2003-10-14 Angus Leeming <leeming@lyx.org>
663 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
664 static member functions LyX::ref() and LyX::cref.
665 (lastfiles): new accessor functions for the new lastfiles_ member var.
666 (addLyXView, views_): add a new LyXView to the list of views_.
667 (updateInset): loop over all LyXViews to call their own updateInset
668 member function, returning a pointer to the Buffer owning the inset.
670 * BufferView_pimpl.C (loadLyXFile):
671 * MenuBackend.C (expandLastfiles):
672 * bufferlist.C (MenuWrite, QuitLyX):
673 lastfiles is no longer a global variable.
674 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
676 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
677 static function. Access through LyX::cref().emergencyCleanup().
679 2003-10-14 André Pönitz <poenitz@gmx.net>
681 * iterators.[Ch]: new direct access to innermost LyXText and Inset
683 * undo.[Ch]: restoring part of 'undo in insets'
686 * undo_funcs.[Ch]: merge with undo.[Ch]
688 * tabular.C: small cleansing stuff
690 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
692 * paragraph_funcs.C (readParToken): report unknown insets as error
693 boxes. Use the outer paragraph as location (also for unknown
696 * factory.C (readInset): do not abort on reading an unknown inset.
699 2003-10-13 Angus Leeming <leeming@lyx.org>
701 * lyx_main.C (LyX): remove call to setDisplayTranslator().
703 * lyxrc.C: displayTranslator is now a function,
704 declared in GraphicsTypes.h.
706 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
708 * format.C: new placeholder $$a to pass the socket address.
710 * bufferlist.[Ch]: new function getBufferFromTmp.
712 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
713 files in the temporary dir.
715 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
717 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
719 * Makefile.am: add lyxsocket.[Ch].
721 * lyx_main.C (error_handler): handle SIGPIPE.
723 2003-10-13 André Pönitz <poenitz@gmx.net>
725 * BufferView_pimpl.C:
730 * undo_funcs.[Ch]: use paroffset_type instead of
731 ParagraphList::iterators to prevent multiple conversion
732 (and get a more robust interface)
734 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
736 * lyxfunc.C (dispatch): RESULT -> dispatch_result
738 * text3.C (dispatch): ditto
740 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
742 * LaTeX.C (handleFoundFile): move the static to smaller scope,
743 move the onlyfile, use onlyfile instead of foundfile in a couple
746 * DepTable.C (update): flush the error stream a bit more
748 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
750 * lyxserver.C (callback): adjust
752 * lyxfunc.C (getStatus): add a missing brace in commented code
753 (ensureBufferClean): reindent
754 (dispatch): delete version taking a string
756 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
758 * LaTeX.C (deplog): move found file handlig from here...
759 (handleFoundFile): .. to new function here.
760 (deplog): make sure to discover several files mentioned on the
763 2003-10-10 André Pönitz <poenitz@gmx.net>
770 * text3.C: fix some of the tabular crashes
772 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
774 * MenuBackend.C (binding): put debug message into Debug::KBMAP
776 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
778 2003-10-09 André Pönitz <poenitz@gmx.net>
780 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
783 * BufferView_pimpl.C:
784 * bufferview_funcs.C:
795 * undo_funcs.C: adjust
797 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
799 * text2.C (incrementItemDepth): new function, use a backtracking
800 algorithm to discover the correct item depth.
801 (resetEnumCounterIfNeeded): new function, use a backtracking
802 algorithm to discover if counter reset is needed.
803 (setCounter): use them. Simplify a bit. Add different labels for
804 different item depths for itemize.
806 * paragraph.C (Paragraph): remove initialization of enumdepth
809 * paragraph.h: get rid of enumdepth, and use itemdepth both for
810 enumerate and itemize. Change the type of itemdepth to signed char.
812 2003-10-08 André Pönitz <poenitz@gmx.net>
814 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
819 * tabular.[Ch]: fix crash after 'row-insert'
821 2003-10-08 Angus Leeming <leeming@lyx.org>
823 Fix doxygen warnings.
825 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
826 Remove CutAndPaste:: prefix from header file declaration.
828 * LColor.h (fill): remove LColor:: prefix from declaration.
830 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
831 use lyx::depth_type rather than Paragraph::depth_type so that
832 header file and .C file match.
834 * converter.h (intToFormat): remove Converters:: prefix from declaration.
836 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
837 * aspell.C: \file aspell_local.C -> \file aspell.C
838 * gettext.C: \file gettext.C -> \file src/gettext.C
839 * gettext.h: \file gettext.h -> \file src/gettext.h
840 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
841 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
842 * text.C: \file text.C -> \file src/text.C
844 * toc.C: move comment so that doxygen is not confused.
846 2003-10-07 Angus Leeming <leeming@lyx.org>
848 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
850 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
853 * aspell_local.h: add forgotten std::string's.
855 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
862 * text3.C: The Box patch. Fancybox support, minipage, parbox
864 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
870 * ParagraphParameters.h:
880 * lyxtextclasslist.h:
884 * textcursor.h: add <string> and other small fixes to make Lars'
885 std::string patch compile with STLport.
887 2003-10-06 Angus Leeming <leeming@lyx.org>
889 * LColor.h: Add missing #include <string>.
891 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
893 * All most all file in all subdirs: Make <string> be the prefered
894 way of getting to std::string, add using declarations.
896 2003-10-06 André Pönitz <poenitz@gmx.net>
898 * metricsinfo.C: initialize LyXFont before changing attribute.
899 (fixes the 'math in \emph is upright' bug)
901 2003-10-06 André Pönitz <poenitz@gmx.net>
903 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
905 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
908 * paragraph_pimpl.C: Small fixes to build using STLport
910 2003-10-02 André Pönitz <poenitz@gmx.net>
913 * text3.C: move handling of LFUN_DEPTH *; fix #1360
915 2003-10-01 André Pönitz <poenitz@gmx.net>
917 * factory.C: assert early
919 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
921 * lyx_main.C: remove the global debug object
923 * debug.h: adjust for new debugstream
925 * debug.C: adjust for new debugstream and keep the global debug
928 2003-09-22 Angus Leeming <leeming@lyx.org>
930 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
931 of g++ which otherwise complain that the scoped_ptr destructor can't delete
932 an incomplete class LyXFont.
934 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
936 * factory.C: bug fix in branches
938 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
940 * lyxfunc.C (processKeySym): adjust
942 (dispatch): change arg name from ev to func, adjust
943 (sendDispatchMessage): ditto
945 * lyx_main.C (defaultKeyBindings): adjust keybindings
946 (deadKeyBindings): ditto
948 * kbsequence.C (addkey): return a FuncRequest
950 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
952 * kbmap.C (bind): take a FuncRequest as arg, adjust
955 (defkey): change to take a FuncRequest as arg, adjust
956 (findbinding): take a FuncRequest as arg, adjust.
958 * funcrequest.h (operator=): added
960 * funcrequest.C (FuncRequest): default kb_action changed from
961 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
963 * buffer.C (dispatch): simplify
964 (dispatch): adjust to take a FuncRequest as arg, adjust
966 * boost.C (assertion_failed): change assertion message slightly
968 * ToolbarBackend.C (read): simplify
970 * MenuBackend.C (binding): adjust call to findbinding, add a
971 message if no binding is found.
973 (expandToc): correct by adding a empty FuncRequest
975 * LyXAction.C: include <boost/assert.hpp>
976 (isPseudoAction): delete function
977 (LookupFunc): change name to...
978 (lookupFunc): this. change return type to FuncRequest.
979 (getActionName): take kb_action as arg, simplify
980 (funcHasFlag): add an assert, simplify.
982 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
984 * toc.C (action): return a FuncRequest, simplify
986 * lyxfunc.C (processKeySym): adjust
987 (getStatus): delete version that takes an int.
989 (dispatch): delete version that takes action as int
991 (sendDispatchMessage): simplify and adjust
993 * funcrequest.C (getArg): take unsigned int as arg
995 * ToolbarBackend.C (read): adjust
996 (add): delete version that takes func as a string.
997 (getIton): take a FuncRequest as arg
999 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1002 * MenuBackend.C (MenuItem): add a new construct that only takes a
1003 Kind, simplify the constructor use for submenus.
1005 (expandLastfiles): adjust
1006 (expandDocuments): adjust
1007 (expandFormats): adjust
1008 (expandFloatListInsert): adjust
1009 (expandFloatInsert): adjust
1010 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1012 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1013 Remove class variables lyx_pseudo_map and lyx_arg_map
1015 * LyXAction.C (searchActionArg): delete function
1016 (getPseudoAction): delete function
1017 (retrieveActionArg): delete function
1018 (LookupFunc): make it return kb_action, simplify.
1019 (getActionName): simplify
1021 * factory.C (createInset): fix new bug
1023 2003-09-19 Angus Leeming <leeming@lyx.org>
1025 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1026 masterFilename_ parameter in the include inset.
1028 * factory.C (createInset): changes due to the changes to InsetInclude.
1030 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1032 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1034 2003-09-18 Angus Leeming <leeming@lyx.org>
1037 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1038 Inset::fillWithBibKeys.
1039 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1041 2003-09-18 Angus Leeming <leeming@lyx.org>
1043 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1045 (ctor): pass and store a 'Buffer const &'
1046 (buffer): new member function.
1048 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1049 '*this' to the LaTeXFeatures ctor.
1051 2003-09-18 Angus Leeming <leeming@lyx.org>
1057 * text.C: rename EnumLColor as LColor_color.
1059 2003-09-18 Angus Leeming <leeming@lyx.org>
1061 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1062 remove #include "insets/insetbase.h" from cursor.h.
1064 2003-09-18 Angus Leeming <leeming@lyx.org>
1066 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1067 InsetOld_code to remove #include "inset.h".
1069 * iterators.C: add #include "insets/inset.h"
1071 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1073 * BufferView.C: remove more locking stuff that apparently doesn't
1074 do anything sensible.
1076 2003-09-16 André Pönitz <poenitz@gmx.net>
1079 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1082 2003-09-16 Angus Leeming <leeming@lyx.org>
1084 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1086 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1089 * paragraph.h: remove #include "lyxfont.h". Forward declare
1092 2003-09-16 Angus Leeming <leeming@lyx.org>
1094 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1095 of support/textutils.h.
1096 (isWord): move the contents of support/textutils.h's IsWordChar here.
1102 * text2.C: add #include "paragraph.h".
1105 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1107 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1113 * LaTeX.C: use namespace alias for lyx::support::os
1115 2003-09-16 Angus Leeming <leeming@lyx.org>
1118 * bufferview_funcs.C:
1121 * paragraph_pimpl.C:
1123 * text.C: add #include "LColor.h".
1125 2003-09-16 Angus Leeming <leeming@lyx.org>
1127 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1128 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1130 Store the FontBits::color variable as an int rather than as an
1131 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1134 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1135 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1136 string calls together.
1138 * lyxrc.C: add #include "LColor.h".
1140 2003-09-15 Angus Leeming <leeming@lyx.org>
1142 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1145 2003-09-15 Angus Leeming <leeming@lyx.org>
1147 * LColor.h: add an EnumLColor wrapper for LColor::color.
1149 * lyxfont.[Ch] (color, setColor, realColor):
1150 * lyxtext.h, text.C (backgroundColor):
1151 pass EnumLColor args to/from the functions, rather than LColor::color
1155 * lyxtext.h: forward declare EnumLColor.
1157 * lyx_main.C: add #include "LColor.h".
1159 2003-09-15 Angus Leeming <leeming@lyx.org>
1161 * .cvsignore: add lyx-gtk.
1163 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1168 * ParagraphParameters.C
1172 * bufferview_funcs.C
1182 * vc-backend.C: remove usage of STRCONV
1184 2003-09-15 Angus Leeming <leeming@lyx.org>
1186 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1187 explicitly define the color passed to the painter.
1189 2003-09-15 Angus Leeming <leeming@lyx.org>
1191 * bufferparams.C (BufferParams): reorder member initializers to avoid
1194 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1196 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1197 * text.C (updateRowPositions): remove an unusual nop
1199 2003-09-12 André Pönitz <poenitz@gmx.net>
1201 * BufferView_pimpl.C:
1210 * Counters.[Ch]: finish the 'automatic counters' job
1212 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1214 * aspell.C: include <boost/assert.cpp> (compile fix)
1216 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1218 * boost.C (assertion_failed): use lyx::support::abort instead of
1221 2003-09-10 Angus Leeming <leeming@lyx.org>
1223 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1224 with their _fwd progeny.
1226 2003-09-09 Angus Leeming <leeming@lyx.org>
1228 134 files throughtout the source tree: replace 'using namespace abc;'
1229 directives with the appropriate 'using abc::xyz;' declarations.
1231 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1233 * boost.C (emergencyCleanup): moved here from LAssert.c
1234 (assertion_failed): new function, called by BOOST_ASSERT
1236 * several files: change Assert to BOOST_ASSERT
1238 2003-09-09 Angus Leeming <leeming@lyx.org>
1240 * buffer.[Ch]: Add an Impl class and move Buffer's member
1241 variables into it. As a result move several header files out of
1244 Add header files to lots of .C files all over the tree as a result.
1246 2003-09-09 Angus Leeming <leeming@lyx.org>
1248 * buffer.[Ch]: make Buffer's member variables private. Add
1251 Lots of changes all over the tree as a result.
1253 2003-09-08 Angus Leeming <leeming@lyx.org>
1255 * graph.C: #include <config.h>.
1257 2003-09-08 Angus Leeming <leeming@lyx.org>
1261 * BufferView_pimpl.C:
1290 * toc.C: remove redundant using directives.
1292 2003-09-07 Angus Leeming <leeming@lyx.org>
1294 * LaTeXFeatures.h: remove #include "support/types.h".
1295 * ToolbarBackend.h: remove #include <algorithm>.
1296 * changes.h: remove #include <ctime>.
1297 * debug.h: remove #include <iosfwd>.
1298 * graph.h: remove #include "support/std_string.h".
1299 * lyx_main.h: remove #include <csignal>.
1300 * lyxlex_pimpl.h: remove #include <fstream>.
1301 * sgml.h: remove #include <algorithm>, <utility>.
1302 * toc.h: remove #include "support/std_ostream.h".
1303 Add #include <iosfwd>.
1305 2003-09-07 Angus Leeming <leeming@lyx.org>
1307 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1309 * converter.h: forward declare LatexRunParams.
1310 * encoding.h: remove #include "lyxrc.h".
1311 * lyxtext.h: remove #include "LColor.h".
1312 * lyxtextclass.h: remove #include "support/types.h".
1313 * trans.h: remove #include "tex-accent.h".
1314 * trans_mgr.h: remove #include "tex-accent.h".
1315 * insets/inset.h: remove #include "support/types.h", <vector>.
1316 * insets/insetcollapsable.h: remove #include "LColor.h".
1317 * insets/insetinclude.h: remove #include "dimension.h".
1318 * insets/insetlatexaccent.h: remove #include "dimension.h".
1319 * insets/insetoptarg.h:: remove #include "insettext.h".
1320 * insets/insettext.h: remove #include "dimension.h",
1321 <boost/shared_ptr.hpp>
1323 * insets/renderers.h: add #include "dimension.h".
1324 * insets/updatableinset.h: add #include "support/types.h".
1326 * many .C files: Associated changes.
1328 2003-09-06 Angus Leeming <leeming@lyx.org>
1330 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1331 one, inside testInvariant.
1333 * PrinterParams.C: new file.
1334 * PrinterParams.[Ch]: move the function bodies out of line.
1336 2003-09-06 Angus Leeming <leeming@lyx.org>
1338 * ParagraphParameters.h: forward declare ParameterStruct rather than
1339 including its header file.
1340 (depth): moved out-of-line.
1342 2003-09-06 Angus Leeming <leeming@lyx.org>
1344 * BufferView_pimpl.h:
1347 * lyxfunc.h: forward declare LyXKeySym rather than
1348 #include "frontends/LyXKeySym.h".
1350 * BufferView_pimpl.C:
1353 * lyxfunc.C: associated changes.
1355 2003-09-06 Angus Leeming <leeming@lyx.org>
1357 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1358 As a result, can remove the #include "insets/inset.h" from BufferView.h
1360 2003-09-06 Angus Leeming <leeming@lyx.org>
1362 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1363 As a result, can remove the #include "insets/inset.h" from BufferView.h
1365 2003-09-06 Angus Leeming <leeming@lyx.org>
1371 * bufferview_funcs.C:
1372 * BufferView_pimpl.C:
1377 * ParagraphParameters.C:
1382 * frontends/controllers/ControlDocument.C:
1383 * insets/insetcaption.C: rearrange the #includes into some sort of
1386 * buffer.h: remove #includes ErrorList.h, undo.h
1388 2003-09-06 Angus Leeming <leeming@lyx.org>
1390 * support/types.h: add a 'depth_type' typedef, used to store the
1391 nesting depth of a paragraph.
1394 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1395 defining explicitly.
1398 * paragraph_funcs.h:
1399 * ParagraphParameters.h:
1400 * sgml.h: use lyx::depth_type rather than Paragraph or
1401 ParameterStruct's depth_type.
1404 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1407 * BufferView_pimpl.C:
1409 * ParagraphParameters.C:
1412 * bufferview_funcs.C:
1419 * frontends/LyXView.C:
1420 * frontends/controllers/ControlDocument.C:
1421 * frontends/controllers/ControlErrorList.C:
1422 * insets/insetbibitem.C:
1423 * insets/insetbranch.C:
1424 * insets/insetcaption.C:
1425 * insets/insetcollapsable.C:
1426 * insets/insetenv.C:
1427 * insets/insetert.C:
1428 * insets/insetfloat.C:
1429 * insets/insetfoot.C:
1430 * insets/insetfootlike.C:
1431 * insets/insetnewline.C:
1432 * insets/insetquotes.C:
1433 * insets/insettabular.C:
1434 * insets/insettext.C:
1435 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1437 * frontends/controllers/ControlChanges.C: #include "changes.h".
1439 2003-09-06 Angus Leeming <leeming@lyx.org>
1441 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1442 than #including paragraph.h.
1445 * RowList.h: deleted. Superfluous.
1455 * insets/insettext.h: use ParagraphList_fwd.h rather than
1458 * paragraph.h: don't forward declare ParagraphList.
1461 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1462 rather than ParagraphList.h. paragraph.h is still needed for the
1463 Paragraph::depth_type parameters.
1465 * textcursor.h: enable it to compile stand-alone in light of the
1468 * bufferview_funcs.C:
1480 * frontends/controllers/ControlParagraph.C:
1481 * frontends/controllers/ControlTabular.C:
1482 * insets/insetmarginal.C:
1483 * insets/insetminipage.C:
1484 * insets/insetnote.C:
1485 * insets/insetoptarg.C: add header files needed to compile again.
1487 2003-09-06 Angus Leeming <leeming@lyx.org>
1489 * RowList_fwd.h: new file, forward-declaring Row rather than
1490 #including lyxrow.h.
1495 * insets/insettext.h: use it instead of RowList.h
1497 * bufferview_funcs.C:
1504 * text3.C: #include "RowList.h".
1506 2003-09-05 Angus Leeming <leeming@lyx.org>
1508 * factory.C (createInset):
1509 * vspace.C (c-tor): replace sscanf call with an istringstream.
1510 * ispell.C: re-add missing HP/UX headers.
1511 * lyxserver.C: re-add missing os2 headers.
1513 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1522 * text3.C: re-add missing system headers, needed for 2.95.2.
1524 2003-09-05 Angus Leeming <leeming@lyx.org>
1526 Changes most place everywhere due to the removal of using directives
1527 from support/std_sstream.h.
1529 2003-09-05 Angus Leeming <leeming@lyx.org>
1531 Replace LString.h with support/std_string.h,
1532 Lsstream.h with support/std_sstream.h,
1533 support/LIstream.h with support/std_istream.h,
1534 support/LOstream.h with support/std_ostream.h.
1536 Changes resulting throughout the tree.
1538 2003-09-05 Angus Leeming <leeming@lyx.org>
1540 * sgml.h: ensure that the header file can be compiled stand-alone.
1541 * *.C: strip out redundant #includes. (320 in total.)
1543 2003-09-04 Angus Leeming <leeming@lyx.org>
1545 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1546 here (from getPackages).
1548 * debug.[Ch]: add a new EXTERNAL tag.
1550 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1552 * text2.C (cursorEnd): simplify
1554 (getColumnNearX): adjust
1556 * text.C (computeBidiTables): adjust
1559 * rowpainter.C (paintChars): adjust
1560 (paintSelection): adjust
1561 (paintChangeBar): adjust
1564 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1566 (numberOfSeparators): adjust
1568 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1574 * text3.C: Restricts the mouse click functionality
1575 of insets like bibtex, include, toc and floatlist to the visible
1576 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1577 up the dialogs. Cursor has to be in front of the inset (i.e.
1578 start of row) for this to function.
1580 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1582 * bufferview_funcs.C (currentState): output row information
1584 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1586 * bufferview_funcs.C (currentState): output paragraph position
1588 2003-09-04 Angus Leeming <leeming@lyx.org>
1590 * FloatList.h: move out #include "Floating.h".
1591 * LaTeX.h: move out #include "DepTable.h".
1592 * LyXAction.h: move out #include "funcrequest.h".
1593 * buffer.h: move out #include "author.h", "iterators.h".
1594 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1595 * lyx_main.h: move out #include "errorlist.h".
1596 * lyxfunc.h: move out #include "FuncStatus.h".
1597 * lyxtext: move out #include "lyxcursor.h".
1598 * paragraph_pimpl.h: move out #include "counters.h".
1600 2003-09-03 Angus Leeming <leeming@lyx.org>
1602 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1603 preamble_snippets list, enabling us to add snippets to the preamble
1604 only if the snippet was not there already.
1606 2003-09-04 Angus Leeming <leeming@lyx.org>
1608 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1610 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1612 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1615 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1617 * BranchList.C: point fix, earlier forgotten
1619 2003-09-02 Angus Leeming <leeming@lyx.org>
1621 * box.C (contains): renamed from 'contained' after a fantastic
1624 2003-09-02 John Levon <levon@movementarian.org>
1630 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1632 2003-09-02 John Levon <levon@movementarian.org>
1634 * text2.C: simplification of cursorEnd(), including partial
1637 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1639 * buffer.C (readFile): add a space
1641 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1643 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1645 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1647 * buffer.C (readFile): new function, take a filename and a
1648 ParagraphList::iterator
1650 (readFile): adjust, make it private. don't use setStream, make
1651 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1652 always contain the filename.
1654 * BufferView.C (insertLyXFile): simplify and make it work for
1657 2003-08-30 John Levon <levon@movementarian.org>
1659 * Makefile.am: fix dist (from Kayvan)
1661 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1663 * most files: change to use const Buffer refs
1665 2003-08-27 André Pönitz <poenitz@gmx.net>
1667 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1668 on top of ownerPar().
1670 2003-08-27 John Levon <levon@movementarian.org>
1672 * funcrequest.C: properly initialise POD members
1674 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1676 * lyxtext.h (top_y): move top_y from here
1681 * BufferView_pimpl.[Ch]: to here
1682 * frontends/screen.C:
1683 * insets/insettabular.C:
1684 * insets/insettext.C: adjust
1685 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1687 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1690 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1692 2003-08-26 André Pönitz <poenitz@gmx.net>
1694 * paragraph_func.[Ch] (outerPar): new function
1697 * paragraph_funcs.C:
1698 * paragraph_funcs.h:
1699 * paragraph_pimpl.C:
1700 * text2.C: remove Inset::par_owner
1702 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1707 * text2.C: eliminates the needFullRow/display() stuff
1708 altogether, putting the logic in metrics/draw in the insets.
1710 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1712 * text2.C (redoParagraphInternal, redoParagraphs):
1713 * text.C (redoParagraph): add a call to updateRowPositions at the
1714 end of each 'metrics-like' call. Remove all others.
1715 (getRow): remove the 'y-computing' version.
1716 (getRowNearY): do not compute nor return the real y. Solve the
1717 'y < 0' problem and simplify.
1719 2003-08-22 Angus Leeming <leeming@lyx.org>
1721 * *.[Ch]: clean-up of licence and author blurbs.
1722 Also move config.h out of a few .h files and into a few .C files.
1724 2003-08-22 André Pönitz <poenitz@gmx.net>
1726 * lyxrow.[Ch]: add x_ and *fill_ members
1731 * text2.C: adjust/remove prepareToPrint() calls
1733 2003-08-22 André Pönitz <poenitz@gmx.net>
1735 * lyxrow.[Ch]: add end_ member
1737 * lyxrow_funcs.C: use LyXRow::end_
1739 * lyxtext.h (singleWidth): add LyXFont parameter
1742 * text2.C: adjust LyXText::singleWidth() calls
1744 * text.C (redoParagraph): simplify row breaking logic
1747 2003-08-19 André Pönitz <poenitz@gmx.net>
1749 * funcrequest.C: initialize button_ member
1752 * rowpainter.[Ch]: interface consolidation
1754 2003-08-18 André Pönitz <poenitz@gmx.net>
1757 * BufferView_pimpl.C:
1759 * paragraph_funcs.C:
1761 * text3.C: remove LyXScreen::draw() and fitCursor calls
1763 * BranchList.h: remove spurious semicolons
1765 * MenuBackend.C: fix branchlist related crash
1767 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1775 * bufferparams.[Ch]:
1779 * text3.C: implements the 'branch inset'
1780 idea. This allows the output of various versions of a document
1781 from a single source version, selectively outputing or suppressing
1782 output of parts of the text.
1783 This implementation contains a 'branch list editor' in a separate
1784 tab of the document settings dialog. Branches are user definable
1785 and have a "display colour" to distinguish them on-screen.
1787 ColorHandler was somewhat cleaned up.
1788 (1) make possible a dynamically growing LColor list by allowing
1789 the graphic context cache to grow along (vector);
1790 (2) eliminate an IMHO unnecessary step in colour allocation.
1792 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1794 * BufferView_pimpl.C: compile fix
1796 2003-08-15 André Pönitz <poenitz@gmx.net>
1798 * rowpainter.C: remove extra metrics calls
1800 * lyxtext.h: merge the two constructors into a single one,
1801 pass reference to owner's par list
1803 * BufferView_pimpl.C:
1807 2003-08-15 André Pönitz <poenitz@gmx.net>
1809 * lyxrow_funcs.[Ch]:
1812 * paragraph_funcs.C:
1817 * text_funcs.C: split LyXText::rowlist_ into individual
1818 Paragraph::rows_ chunks
1821 * BufferView_pimpl.[Ch]:
1824 * text3.C: remove toggleSelection()
1826 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1828 * bufferlist.C: beautify two alerts (shorter text of buttons)
1829 * buffer.C: Remove redundant ' ' from message
1831 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1832 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1833 rename VALIGN_CENTER to VALIGN_MIDDLE
1835 2003-08-11 André Pönitz <poenitz@gmx.net>
1837 * lyxtext.h (getPar):
1838 * text.C: new function
1840 2003-08-11 André Pönitz <poenitz@gmx.net>
1843 * tracer.[Ch]: remove unneeded files
1845 * InsetList.[Ch]: remove resizeInsetsLyXText()
1850 * text3.C: merge insertParagraphs() and appendParagraph()
1851 remove breakAgain(), update()
1853 * BufferView_pimpl.[Ch]:
1854 * bufferview_funcs.[Ch]:
1858 * tabular.C: adjust after text & InsetList changes.
1860 2003-08-08 André Pönitz <poenitz@gmx.net>
1862 * text.C (insertChar, backspace): replace rowlist fiddling
1863 with rebreak of full par
1866 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1867 checkParagraph, updateInset): removed
1869 2003-08-07 André Pönitz <poenitz@gmx.net>
1872 * text3.C: merge some LFUN handlers, remove dead code
1874 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1876 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1878 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1880 * text2.C (DEPM): fix part of bug 1255 and 1256
1882 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1884 * BufferView_pimpl.C (workAreaDispatch): change to use
1885 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1886 that are no mouse related.
1888 2003-08-05 André Pönitz <poenitz@gmx.net>
1891 * BufferView_pimpl.[Ch]:
1892 * bufferview_funcs.C:
1894 * text3.C: rip out "deep update"
1896 * textcursor.[Ch] (last_sel_cursor): remove unused member
1898 2003-08-04 André Pönitz <poenitz@gmx.net>
1901 * BufferView_pimpl.[Ch]:
1902 * ParagraphParameters.C:
1903 * bufferview_funcs.C:
1909 * text3.C: replace "complicated" BufferView::update(...) calls with
1912 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1914 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1916 * Makefile.am (lyx_SOURCES): add paper.h
1918 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1920 * Makefile.am: move things around so that both lyx-qt and
1921 lyx-xforms can be built (according to --with-frontend). Then lyx
1922 is a symbolic link to lyx-[firstfrontend]
1924 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1926 * Always use std::endl with lyxerr
1928 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1930 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1932 2003-08-01 André Pönitz <poenitz@gmx.net>
1935 * BufferView_pimpl.[Ch]:
1937 * text3.C: merge BufferView::repaint() and BufferView::update()
1939 2003-08-01 José Matos <jamatos@lyx.org>
1941 * buffer.[Ch]: file_format is no longer a buffer data element.
1943 2003-08-01 André Pönitz <poenitz@gmx.net>
1948 * text2.C: make redoParagraph more independent of current cursor
1950 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1952 * text2.C: remove unneeded members
1954 2003-07-30 André Pönitz <poenitz@gmx.net>
1956 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1958 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1959 create a single function...
1961 * paragraph_funcs.C (moveItem): ... here.
1964 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1966 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1968 * LColor.[Ch]: Add comment and greyedout logical colors.
1970 2003-07-30 André Pönitz <poenitz@gmx.net>
1972 * tabular.C: don't use Assert too heavily. This crashes where it
1975 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1977 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1978 is disabled (bug 1232)
1980 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1982 * factory.C: limited 'arg' scope
1984 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1986 * factory.C: fixed Note submenu issues
1988 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1990 * factory.C: submenu for Note/Comment/Greyedout
1992 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1995 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1997 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2000 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2001 greyedout. Patch provided by Jürgen Spitzmüller.
2003 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2005 * kbmap.C (read): fix error message when reading bind files
2007 2003-07-29 Angus Leeming <leeming@lyx.org>
2009 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2010 certainly does not do what it purports to do. I am doing it, and
2011 us, a favour by killing it.
2013 2003-07-28 José Matos <jamatos@lyx.org>
2015 * buffer.C (readBody, do_writeFile):
2016 * paragraph.C(readParagraph): \end_document replaces \the_end.
2018 2003-07-29 André Pönitz <poenitz@gmx.net>
2021 * BufferView_pimpl.[Ch]:
2025 * textcursor.[Ch]: remove toggleToggle & Co
2027 2003-07-28 José Matos <jamatos@fep.up.pt>
2029 * buffer.C (readParagraph):
2030 * params_func (readParToken, readParagraph):
2031 * paragraph.C (write): \layout -> \begin_layout.
2033 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2035 * lyxlex_pimpl.C (setFile): clean up slightly.
2037 * bufferparams.h: add compressed var
2039 * buffer_funcs.C (readFile): adjust for LyXLex change
2040 (newFile): ditto + simplify
2042 * buffer.C (writeFile): handle writing of compressed files
2044 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2045 Check if the file is compressed and set a bufferparm if so.
2047 * Makefile.am (lyx_LDADD): remove explicit -lz
2049 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2051 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2052 makeDocBookFile): put the real LyX version in the first line of
2056 * version.C.in: remove lyx_docversion
2058 * tabular.C (write_attribute): add a template-based version to
2059 write enums properly
2061 2003-07-28 André Pönitz <poenitz@gmx.net>
2066 * text3.C: use doubles again for x-coordinates. They are needed.
2068 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2070 * messages.C (getLocaleDir): use lyx_localedir()
2072 * lyxlex_pimpl.C (setFile): compress stuff
2074 * buffer.C (writeFile): add some compression stuff
2075 (do_writeFile): new func, dont call expliti close... will this
2078 * Makefile.am (lyx_LDADD): add -lz
2080 2003-07-28 José Matos <jamatos@fep.up.pt>
2082 * buffer.C: increment file format.
2083 * paragraph_funcs (readParagraph, readParToken):
2084 * paragraph.C (readParagraph): add \end_layout.
2086 2003-07-27 Angus Leeming <leeming@lyx.org>
2088 * Makefile.am: remove special casing for configure-time setting of
2089 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2091 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2092 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2094 2003-07-26 André Pönitz <poenitz@gmx.net>
2096 * paragraph_func.[Ch]:
2097 * paragraph.C (realizeFont): inline it whereever it is used
2102 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2105 2003-07-26 André Pönitz <poenitz@gmx.net>
2109 * text2.C: get rid of LyXText::need_break_row
2111 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2113 * toc.[Ch]: put namespace toc inside namespace lyx
2115 * MenuBackend.C (expandToc2): adjust for lyx::toc
2118 * lyxfunc.C (dispatch): adjust for lyx::find
2120 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2121 lyx::find instead. Reorganize a bit.
2122 (LyXReplace): rename to replace
2123 (LyXFind): rename to find
2125 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2128 2003-07-26 André Pönitz <poenitz@gmx.net>
2130 * text.C (setHeightOfRow): restrict scope of temporary variable
2132 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2133 code (never has been used?)
2135 2003-07-27 Asger Alstrup <alstrup@local>
2137 * text.C (fill): Optimise algorithm to exploit that we can reuse
2138 the LyXFont for many characters.
2139 (setHeightOfRow): Same thing.
2140 (rowBreakPoint): Same thing.
2142 2003-07-26 Asger Alstrup <alstrup@local>
2144 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2146 * text.C (singleWidth): Spurious font copying in hot-spot
2147 singleWidth avoided. Reorder tests for arabic for efficiency.
2149 * text.C (fill): handle empty paragraphs better.
2151 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2154 * encoding.h: add includes
2156 * lyxrc.C: remove reading of bind files
2158 * lyx_main.C (init): setup bindings and menus only if we have a
2161 * kbmap.C (read): new method. Do the actual reading of bind
2164 * converter.C (dvipdfm_options):
2167 (output): adapt PAPER_* enums.
2169 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2171 * bufferparams.h: remove paper-related enums from there
2173 * paper.h: New file. A trivial header file to hold paper-related
2174 enums. It should later expand to contain many paper-related
2177 * lyxrc.C: declare extern displayTranslator
2179 2003-07-27 José Matos <jamatos@fep.up.pt>
2181 * tabular.[Ch] (linuxdoc): add support for tables and figures
2184 2003-07-27 José Matos <jamatos@fep.up.pt>
2186 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2187 consistency in both functions.
2188 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2190 2003-07-26 Asger Alstrup <alstrup@local>
2192 * rowpainter.C (paintRows): Change algorithm to work directly on
2193 the insets rather than asking every character in the document
2194 whether its an inset.
2196 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2198 * buffer.C (openFileWrite): factorize some code
2200 2003-07-26 Angus Leeming <leeming@lyx.org>
2203 * lyx_main.[Ch]: replace occurances of system_tempdir with
2206 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2208 * rename Inset to InsetOld
2210 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2212 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2213 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2214 which I think is a bit clearer. EDIT is gone, since it was
2215 premature optimisation, and broken for mathed anyway.
2216 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2217 with cursor positioning in insets as well (math insets still do not
2218 work, but that's a different story anyway.) It mysteriously
2219 crashes sometimes with undo in the first paragraph, but I'm fairly
2220 confident that this is a compiler bug.
2222 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2224 * paragraph.C (Paragraph): adjust for new clone return type
2226 (copyIntoMinibuffer): ditto
2228 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2230 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2231 by not having a special case, and always doing a full rebreak of
2232 the document after undo.
2234 2003-07-23 Angus Leeming <leeming@lyx.org>
2236 * factory.C (createInset): InsetExternal::setParams now takes a
2239 2003-07-23 Angus Leeming <leeming@lyx.org>
2241 * factory.C (createInset): changed interface to the external and
2242 graphics mailers' string2params functions.
2244 2003-07-23 Angus Leeming <leeming@lyx.org>
2246 * factory.C (createInset): pass a
2247 Buffer const * parameter to InsetExternalMailer's string2params.
2249 2003-07-22 John Levon <levon@movementarian.org>
2251 * Thesaurus.h: include the right aiksaurus header
2253 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2255 * MenuBackend.C (expand): check menu shortcuts unconditionally
2257 2003-07-21 Angus Leeming <leeming@lyx.org>
2259 * factory.C (createInset): pass a
2260 buffer_path parameter to InsetGraphicsMailer's string2params.
2262 2003-07-21 Angus Leeming <leeming@lyx.org>
2264 * BufferView_pimpl.C (buffer):
2267 * lyxfunc.C (dispatch):
2268 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2269 rather than the grfx shortcut.
2271 2003-07-21 André Pönitz <poenitz@gmx.net>
2273 * rowpainter.C: remove unused variables
2276 * tabular_funcs.h: move to tabular.C
2277 * Makefile.am: adjust
2279 * tabular.[Ch]: basic optical cleaning
2281 * author.h: pass references, not values
2283 2003-07-18 André Pönitz <poenitz@gmx.net>
2291 * text3.C: two-phase drawing for InsetText and InsetTabular
2292 some float -> int changes.
2294 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2296 * lyx_main.C: fix the fix
2298 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2300 * lyx_main.C: fix a crash in batch mode if no files specified
2303 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2305 * format.[Ch] (papersize): moved to BufferParams
2306 * converter.[Ch] (dvips_options): moved to BufferParams
2307 (dvipdfm_options): moved to anon namespace
2308 * bufferparams.[Ch]: added above functions.
2310 2003-07-17 André Pönitz <poenitz@gmx.net>
2314 * text2.C: don't call inset->update() anymore
2316 * metricsinfo.[Ch]: add convenience constructor
2318 2003-07-16 André Pönitz <poenitz@gmx.net>
2323 * text2.C: replace the LyXCursor::irow_ member with
2324 on-demand computation of the value
2326 2003-07-16 John Levon <levon@movementarian.org>
2328 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2330 2003-07-15 André Pönitz <poenitz@gmx.net>
2333 * text2.C: remove no more needed refresh_row
2335 2003-07-15 André Pönitz <poenitz@gmx.net>
2340 * text3.C: refresh_status tristate -> need_update bool
2342 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2344 * lyxtext.h (init): remove reinit argument (act as if always true)
2345 * text2.C: adjust to that
2347 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2349 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2350 * text3.C: use it to delete selections in some cases
2351 (bugs 441, 673, 702, 954).
2353 2003-07-14 André Pönitz <poenitz@gmx.net>
2355 * rowpainter.[Ch]: reduce interface
2357 2003-07-14 André Pönitz <poenitz@gmx.net>
2359 * BufferView_pimpl.C:
2360 * text2.C: adjust after removing unused BufferView * argument
2362 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2364 * text2.C (init): fix a crash fired on resize
2366 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2368 * buffer.[Ch]: added new closing signal
2369 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2370 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2371 BufferView::Pimpl via the closing the signal
2373 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2375 * buffer.[Ch]: take out all bv-related from buffer
2377 * BufferView_pimpl.[Ch]: connect to new signals
2378 * CutAndPaste.C: removed useless asserts
2379 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2382 * lyxfunc.C: moved view-related funciontality from vc here
2383 * paragraph.C: removed outdated comments
2386 2003-07-10 André Pönitz <poenitz@gmx.net>
2388 * BufferView_pimpl.C:
2392 * text2.C: remove InsetText::InnerCache, clean up consequences
2394 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2396 * ispell.C: fix two typos in error messages
2398 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2400 * Extend Note inset to other forms of annotation like Comment
2401 and Greyedout. Right button click gives dialog.
2403 Files modified or added (+):
2407 * ControlNote.[Ch] +
2409 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2410 frontends/controllers
2414 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2416 * aspell.C: add missing namespace lyx::support
2418 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2420 * BufferView.[Ch] (newFile): Add
2421 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2422 * LaTeX.[Ch] (message): added this signal and use it
2423 * buffer.[Ch] (busy, message): added these signals and use them
2424 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2428 * importer.C: use buffer signals instead of direct bv calling
2429 * lyx_cb.[Ch] (ShowMessage): removed
2432 * paragraph_funcs.C:
2433 * text2.C: use buffer signals
2435 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2437 * introduce namespace lyx::graphics
2439 2003-07-02 André Pönitz <poenitz@gmx.net>
2441 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2443 2003-07-01 André Pönitz <poenitz@gmx.net>
2450 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2451 text*.C to text_func.C
2453 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2455 * introduce namespace lyx::support
2457 2003-06-30 André Pönitz <poenitz@gmx.net>
2462 * text.C: re-enable --with-included-string
2464 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2466 * textcursor.C: add <config.h>
2468 * text.C (getWord): remove const from word_location arg
2470 * lyxvc.C (getLogFile): fix const type order
2472 * lyxtext.h: remove const from word_location arg, add arg name
2474 * lyxlayout.h: currect type on labeltype.
2476 * importer.C: correct \file
2478 * converter.C (intToFormat): use std:: on ret val, ws changes
2480 * bufferlist.h: correct \file
2482 * buffer.C (makeLinuxDocFile): fix const type order
2483 (makeDocBookFile): ditto
2484 (fillWithBibKeys): use std:: on stdlib args.
2486 * CutAndPaste.C: fix authors.
2487 (availableSelections): use std:: on return vector
2489 2003-06-27 André Pönitz <poenitz@gmx.net>
2491 * BufferView_pimpl.C:
2492 * bufferview_funcs.C:
2500 * text3.C: remove LyXCursor::row_ member
2503 * text.C: rename fullRebreak() to partialRebreak() and implement
2504 a fullRebreak() that really bereks fully
2506 * textcursor.h: new struct for cursor-related data
2508 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2510 * lyx_main.C (LyX): get full path of document loaded on the
2513 2003-06-26 André Pönitz <poenitz@gmx.net>
2515 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2516 remove unused/broken operator>,<,>=.
2518 * text.C: remove only use of broken operator<= in an Assert().
2520 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2522 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2523 moved errorlist_.clear to showErrorList
2525 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2527 * converter.C (scanLog, runLaTeX):
2528 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2529 move the bv->showErrorList call to the callers
2530 * lyxfunc.C: i.e. here...
2532 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2533 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2534 namespace, the second to...
2535 * buffer_funcs (BufferFormat, parseErrors): added
2536 * errorlist.C (ErrorList(TeXErrors const &)): removed
2538 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2540 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2542 2003-06-24 "Garst R. Reese" <reese@isn.net>
2546 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2548 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2550 * version.C.in: change docversion to 1.4
2552 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2554 * buffer.C: fix a bug just introduced
2556 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2558 * buffer.[Ch]: added the parseError signal and use it, removed
2560 * BufferView.[Ch] (addError): moved to ...
2561 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2562 to the Buffer::parseError signal to catch (guess what) parse errors
2563 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2565 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2567 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2568 ability to create a buffer and to return an existing one from
2569 the list. Moved these functions to...
2570 * buffer_funcs.[Ch]: added
2571 * BufferView.[Ch] (loadLyXFile): added
2572 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2573 job removed from bufferlist::loadLyXFile.
2574 * buffer.C (setReadOnly): make it work without view
2575 (i.e added an if (users))
2577 2003-06-19 Angus Leeming <leeming@lyx.org>
2580 * LyXAction.C (init):
2581 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2582 with LFUN_DIALOG_SHOW <name> <data>.
2584 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2586 * CutAndPaste.C (availableSelections): small compilation fix for
2587 ancient (gcc 2.9x) compilers
2589 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2591 * text3.C (cursorNext): add tmp var
2593 * text2.C (updateCounters): for function calling out of for clause
2594 (replaceSelectionWithString): ditto
2595 (insertStringAsParagraphs): ditto
2596 (getColumnNearX): add tmp var
2597 (setCursorFromCoordinates): add tmp var
2598 (cursorDownParagraph): add tmp var
2599 (deleteEmptyParagraphMechanism): add tmp var
2601 * text.C (insertChar): add tmp var
2603 * rowpainter.C (paintDepthBar): add tmp var
2605 * CutAndPaste.C (availableSelections): potentially check all
2606 paragraphs in a cut to fill the shown strings.
2608 2003-06-18 André Pönitz <poenitz@gmx.net>
2610 * kbmap.[Ch]: use vector<> instead of list<>
2612 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2614 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2615 pasteSelection with index
2617 * text2.C (pasteSelection): modify, call pasteSelection with index
2619 * paragraph.C (asString): reimplement version with no interval to
2620 call the one with interval.
2622 * lyxtext.h: add index arg to pasteSelection
2624 * MenuBackend.C (MenuItem): handle PasteRecent
2625 (Menu::read::Menutags): add md_pasterecent
2627 (expandPasteRecent): new function
2630 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2632 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2634 (availableSelections): new function
2636 2003-06-17 Angus Leeming <leeming@lyx.org>
2638 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2640 2003-06-17 Angus Leeming <leeming@lyx.org>
2643 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2645 * lyxfunc.C (dispatch): invoke it.
2647 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2649 * iterators.C (operator++, ParPosition): reintroduce some
2650 const_cast for the benefit of older compilers.
2652 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2654 * text3.C (dispatch): do not modify clipboard when doing
2655 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2656 LFUN_DELETE_SKIP on a selection selection
2658 2003-06-16 André Pönitz <poenitz@gmx.net>
2664 * tabular.[Ch]: IU of clone() and getLabelList();
2666 2003-06-13 André Pönitz <poenitz@gmx.net>
2668 * tabular.h: compactification
2670 2003-06-12 André Pönitz <poenitz@gmx.net>
2674 * tabular_funcs.h: some renaming plus whitespace
2676 2003-06-12 André Pönitz <poenitz@gmx.net>
2679 * BufferView_pimpl.C:
2685 * toc.C: Return a Paragraph & for ParIterator::operator*()
2687 2003-06-11 John Levon <levon@movementarian.org>
2691 * ToolbarBackend.C: add "Toolbars" section and
2694 2003-06-10 Angus Leeming <leeming@lyx.org>
2697 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2699 * lyxfunc.C (dispatch): invoke it.
2701 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2703 * main.C: protect <ios> with HAVE_IOS
2704 (main): protect sync_with_stdio with HAVE_IOS
2706 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2708 * text2.C (cutSelection): adjust
2709 (pasteSelection): adjust
2711 * messages.C: handle get of empty string
2713 * main.C (main): use sync_with_stdio(false)
2715 * lyxfunc.C (dispatch): adjust
2717 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2718 (WriteAs): remove unneeded BufferView arg.
2720 * bufferparams.h: use correct types on papersize, papersize2 and
2723 * bufferparams.C (readToken): adjust for type
2724 (writeLaTeX): add missing cases to switch.
2726 * bufferlist.C (quitWriteBuffer): adjust
2729 * buffer.C (asciiParagraph): remove some commented code.
2731 * CutAndPaste.C: remove current_view extern variable.
2732 (cutSelection): add BufferParams arg.
2733 (eraseSelection): add BufferParams arg.
2734 (pasteSelection): add Buffer const & arg
2736 2003-06-07 John Levon <levon@movementarian.org>
2739 * paragraph_funcs.C:
2740 * paragraph_pimpl.C:
2744 * paragraph.C: allow InsetERT to freely space lines,
2745 and some consolidation of code
2747 2003-06-06 José Matos <jamatos@fep.up.pt>
2749 * buffer.C (makeDocBookFile): fix bug #821
2751 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2753 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2755 2003-06-04 Angus Leeming <leeming@lyx.org>
2757 * buffer.C: bump format to 224.
2759 2003-06-05 André Pönitz <poenitz@gmx.net>
2761 * text2.C (redoParagraphs): remove two const_cast<>
2763 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2765 * ParagraphList.h: remove last remnants of NO_STD_LIST
2767 2003-06-03 Angus Leeming <leeming@lyx.org>
2769 * factory.C (createInset): small change to the way InsetExternal's params
2772 2003-06-04 André Pönitz <poenitz@gmx.net>
2774 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2776 * paragraph_pimpl.h:
2777 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2779 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2781 * undo_funcs.C: make some simple cases of undo work again
2783 2003-06-03 John Levon <levon@movementarian.org>
2785 * ispell.C: HPUX doesn't have sys/select.h
2788 2003-06-03 John Levon <levon@movementarian.org>
2790 * CutAndPaste.C: update tabular and include inset
2795 * paragraph.C: remove owningBuffer(), don't pass Buffer
2798 * factory.C: insetGraphicsParams changed
2800 2003-06-02 John Levon <levon@movementarian.org>
2806 * text3.C: remove insetparent
2808 2003-06-02 John Levon <levon@movementarian.org>
2811 * buffer.C: fix inset_iterator.end(), move out of line
2814 2003-06-01 John Levon <levon@movementarian.org>
2816 * text3.C: use a proper cut/paste when doing inset
2817 insert (from Jürgen Spitzmüller)
2819 2003-06-01 John Levon <levon@movementarian.org>
2821 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2823 2003-05-30 André Pönitz <poenitz@gmx.net>
2825 * rowpainter.C: unify second drawing phase
2827 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2829 * trans_mgr.C: remove one case of current_view
2831 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2833 * paragraph_funcs.h: remove paragraph.h include
2835 * paragraph.h: delete NO_STD_LIST stuff
2837 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2839 * buffer.h: remove paragraph.h include
2841 * ParagraphList.C: delete file
2843 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2845 * toc.C (getTocList): adjust
2847 * paragraph_pimpl.C (validate): adjust
2849 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2851 * paragraph.C (Paragraph): adjust
2852 (getPositionOfInset): use const_iterator, adjust
2853 (bibitem): use const_iterator, adjust
2854 (setInsetOwner): adjust
2856 * iterators.C (operator++): adjust
2858 * InsetList.[Ch]: Replace selfmade iterator with standard
2859 vector::iterator also introduce const_iterator. Remove getPos,
2860 getInset and setInset from InsetTable. Adjust accordingly.
2862 * BufferView.C (lockInset): adjust
2863 (ChangeInsets): adjust
2865 * tabular.[Ch]: delete commented same_id functions
2867 2003-05-28 John Levon <levon@movementarian.org>
2869 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2871 2003-05-28 André Pönitz <poenitz@gmx.net>
2873 * metricsinfo.[Ch]: remove 'fullredraw' member
2875 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2877 * lyxtextclass.C (operator): remove caching.
2879 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2883 * text2.C (cursorBottom): adjust
2884 (setCounter): use ParagraphList::find, adjust
2886 * text.C (workWidth): use ParagraphList::find, adjust
2888 * lyxcursor.C (LyXCursor): adjust
2890 * buffer.C (inset_iterator): adjust
2892 * ParagraphList.h: make iterator(value_type) private, make
2893 ParagraphList a friend of iterator.
2895 * ParagraphList.C (find): new function
2897 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2899 2003-05-27 André Pönitz <poenitz@gmx.net>
2901 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2903 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2905 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2907 2003-05-26 John Levon <levon@movementarian.org>
2909 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2911 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2913 * remove same_id from function signatures, adjust.
2915 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2917 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2919 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2921 * paragraph.C (Paragraph): get rid of same_ids parameter
2923 * ParagraphList.C (insert): adjust
2926 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2928 * paragraph_funcs.C (breakParagraph): adjust
2929 (breakParagraphConservative): adjust
2931 * buffer.C (readParagraph): adjust
2933 * ParagraphList.C (insert): take a reference instead of a pointer
2936 * paragraph.[Ch] (id): new function
2938 * bufferlist.C (newFile): adjust
2940 * ParagraphList.C (ParagraphList): adjust
2942 (push_back): take a reference instead of a pointer.
2944 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2946 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2949 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2950 set else use old code.
2952 * ParagraphList.C: remove all NO_NEXT code and only compile this
2953 code of NO_STD_LIST is set.
2955 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2957 * BufferView_pimpl.C:
2967 * graphics/GraphicsConverter.C:
2968 * graphics/PreviewLoader.C: header adjustment
2970 2003-05-23 Angus Leeming <leeming@lyx.org>
2972 * LaTeXFeatures.[Ch] (useBabel): new method.
2973 * bufferparams.C (writeLaTeX): use it.
2975 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2977 * ParagraphList.h (set): remove unused function.
2979 2003-05-23 André Pönitz <poenitz@gmx.net>
2982 * BufferView_pimpl.C:
2986 * undo_funcs.C: setUndo reworked
2988 * iterators.[Ch]: add access to topmost ParagraphList
2990 * lyxtext.[Ch] (workWidth): add a const
2992 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2994 * texrow.[Ch] (increasePos): remove function
2995 * exporter.C (export): removed unused var and outdated comment
2997 2003-05-23 Angus Leeming <leeming@lyx.org>
2999 * latexrunparams.h: rename fragile as moving_arg.
3000 * paragraph.C (simpleTeXOnePar): ditto.
3001 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3003 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3005 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3007 (textUndoOrRedo): comment out a currently unused var.
3009 * paragraph.h (NO_NEXT): enable NO_NEXT
3011 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3013 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3015 * exporter.C (Export): adjust for removeAutoInsets removal.
3017 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3019 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3021 * BufferView.[Ch] (removeAutoInsets): delete function
3023 2003-05-22 Angus Leeming <leeming@lyx.org>
3025 * latexrunparams.h: add a free_spacing variable.
3027 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3028 to pass moving_arg, as the data is stored in runparams.fragile.
3030 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3031 to Inset::latexOptional or to simpleTeXOnePar.
3033 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3034 free_spacing arg to Inset::latexOptional.
3036 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3039 2003-05-22 Angus Leeming <leeming@lyx.org>
3041 * latexrunparams.h: add fragile and use_babel variables.
3043 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3044 * buffer.C (makeLaTeXFile): store this returned value in
3045 runparams.use_babel, thus passing it to the inset::latex methods.
3047 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3048 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3050 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3051 longer has a fragile arg, as it is stored in runparams.fragile.
3053 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3054 moving_arg parameter as the data is stored in runparams.fragile.
3056 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3057 a fragile parameter as the data is stored in runparams.fragile.
3059 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3061 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3063 2003-05-22 Angus Leeming <leeming@lyx.org>
3065 * latexrunparams.h: add a 'bool nice' which defaults to false.
3067 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3068 now encapsulated within runparams.
3070 * bufferlist.C (updateIncludedTeXfiles):
3071 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3073 2003-05-22 Angus Leeming <leeming@lyx.org>
3075 * latexrunparams.h: new file containing struct LatexRunParams.
3076 * Makefile.am: add new file.
3078 * LaTeX.[Ch] (c-tor, run):
3079 * buffer.[Ch] (makeLaTeXFile):
3080 * bufferlist.[Ch] (updateIncludedTeXfiles):
3081 * converter.C (convert, scanLog):
3082 * converter.[Ch] (runLaTeX):
3083 * exporter.C (Export):
3084 * paragraph.[Ch] (simpleTeXOnePar):
3085 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3086 * paragraph_funcs.[Ch] (latexParagraphs):
3087 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3088 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3089 pass around a LatexRunParams parameter.
3091 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3093 * paragraph.[Ch]: remove unused constructor
3095 * ParagraphList.C (erase): new function, taking two iterators
3097 2003-05-22 André Pönitz <poenitz@gmx.net>
3099 * undo_funcs.C: remove duplicated code
3101 * iterator.[Ch]: operator=
3103 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3105 * tabular.C (SetMultiColumn): ws changes
3107 * rowpainter.C (paintFirst): get rid of a ->previous
3109 * lyx_cb.C (getPossibleLabel): parlist simplification
3111 * BufferView.C (ChangeInsets): simplify slightly.
3113 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3115 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3116 * lfuns.h: new LFUN_SPACE
3117 * lyxfunc.C: protected space has a new lfun
3118 * paragraph_funcs.C: read new space insets
3120 * factory.C: handle new space insets
3122 2003-05-22 André Pönitz <poenitz@gmx.net>
3125 * BufferView_pimpl.C:
3128 * undo_funcs.C: return a ParIterator from getParFromID.
3130 * iterators.[Ch]: add two const's
3132 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3134 * toc.C (getTocList): adjust
3136 * iterators.[Ch]: rework for parlist
3138 * buffer.C (par_iterator_begin): adjust
3139 (par_iterator_end): adjust
3141 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3143 * BufferView.C (removeAutoInsets): adjust
3144 (ChangeInsets): adjust
3146 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3148 * text.C (top_y): fix bug 1110
3150 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3152 * errorlist.[Ch]: added
3155 * BufferView_pimpl.C:
3156 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3159 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3161 * Makefile.am: ensure that lyx is relinked upon changes to the
3162 various "convenience" libs.
3164 2003-05-20 Angus Leeming <leeming@lyx.org>
3166 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3167 files are compiled in alphabetical order again.
3169 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3171 2003-05-19 Angus Leeming <leeming@lyx.org>
3173 * gettext.[Ch]: remove "char const * _(char const *)".
3175 2003-05-19 André Pönitz <poenitz@gmx.net>
3177 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3186 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3188 2003-05-19 André Pönitz <poenitz@gmx.net>
3192 * lyxtextclass.[Ch]:
3194 * paragraph_funcs.[Ch]:
3196 * text3.C: more insetenv work
3198 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3200 * ParagraphParameters.C (params2string): small bug fixed
3202 2003-05-16 André Pönitz <poenitz@gmx.net>
3205 * bufferview_funcs.C: patch from Kornel Benko to prevent
3206 crash when _(...) is called twice in a statement
3208 2003-05-16 André Pönitz <poenitz@gmx.net>
3215 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3217 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3219 * lyx_main.C (init): remove spurious static_cast
3221 2003-05-14 André Pönitz <poenitz@gmx.net>
3223 * BufferView.C: fix format string
3225 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3227 * BufferView.[Ch] (insertErrors): removed
3228 * BufferView.[Ch] (showErrorList): added
3229 * buffer.C (runChkTeX):
3230 * converter.C (scanLog): call showErrorList instead of inserterrors
3232 2003-05-13 André Pönitz <poenitz@gmx.net>
3234 * BufferView_pimpl.C:
3236 * bufferview_func.C:
3243 * tabular_funcs.h: tostr() from its own header
3245 * ParagraphParameters.C:
3250 * text3.C: STRCONV()
3252 2003-05-12 André Pönitz <poenitz@gmx.net>
3255 * BufferView_pimpl.C:
3259 * ParagraphParameters.C:
3263 * bufferview_funcs.C:
3276 * paragraph_funcs.C:
3280 * text3.C: boost::format -> bformat all over the place
3283 2003-05-09 André Pönitz <poenitz@gmx.net>
3285 * LColor.[Ch]: Pimpl the #include <map> away
3287 2003-05-09 John Levon <levon@movementarian.org>
3289 * bufferlist.C: never remove emergency saves
3291 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3293 * Makefile.am: better lib building
3295 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3297 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3299 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3300 (simpleTeXSpecialChars): adjust
3301 (simpleTeXSpecialChars): adjust
3302 * paragraph.C (simpleTeXOnePar): adjust
3303 * buffer.C (makeLaTeXFile): adjust
3305 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3307 * text2.C (changeDepth): parlist cleanup
3308 (getColumnNearX): ditto
3310 * rowpainter.C (getLabelFont): parlist cleanup
3312 * bufferlist.C (newFile): parlist cleanup
3314 * CutAndPaste.C (eraseSelection): parlist cleanup
3316 * BufferView_pimpl.C (trackChanges): parlist cleanup
3319 * BufferView.C (lockInset): parlist cleanup.
3320 (ChangeInsets): ditto
3322 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3324 * CutAndPaste.h: Update file header.
3326 * CutAndPaste.C: Update file header.
3327 Store the parts cut out of the Document in a limited_stack.
3328 (copySelection): adjust
3329 (pasteSelection): new function, takes the index in the limited stack.
3330 (nrOfParagraphs): adjust
3331 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3332 simplify error inset insertion.
3333 (checkPastePossible): adjust
3335 2003-05-06 John Levon <levon@movementarian.org>
3337 * text2.C: don't cast wrap inset to float
3339 2003-05-05 André Pönitz <poenitz@gmx.net>
3342 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3344 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3345 few naked Paragraph *.
3347 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3349 * bufferparams.C: Output warning if a document with missing
3350 TeX document class is loaded
3351 * exporter.C: Disable TeX exports if the document class is missing
3354 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3355 isTeXClassAvailable()
3357 2003-05-03 John Levon <levon@movementarian.org>
3360 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3361 explicit cursor show/hide
3363 * BufferView_pimpl.h:
3364 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3365 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3367 * lyxfunc.C: hide cursor before dispatching.
3372 * text3.C: remove explicit cursor hides
3374 2003-05-02 André Pönitz <poenitz@gmx.net>
3376 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3379 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3382 * text2.C: tiny whitespace
3384 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3386 * undo_funcs.C: almost only ws changes.
3388 * ParagraphList.C (splice): just return if pl is empty.
3390 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3392 * ParagraphList.C (splice): new function.
3394 * CutAndPaste.C (pasteSelection): use it
3396 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3398 * CutAndPaste.C (pasteSelection): remove the last next and
3399 previous from this file.
3401 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3403 * CutAndPaste.C (pasteSelection): more clean up, user proper
3404 ParagraphList functions for pasteing.
3406 * ParagraphList.C (insert): new function, three arg insert
3408 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3410 * ParagraphList.C (insert): new function, three arg insert
3412 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3415 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3417 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3419 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3421 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3423 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3425 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3426 (copySelection): clean up a bit.
3427 (pasteSelection): use make_pair
3429 * ParagraphList.C (ParagraphList): implement copy constructor
3430 (operator=): implement, base on copy constructor.
3433 * paragraph.C (erase): return a bool
3435 * paragraph_pimpl.C (erasePos): remove function, move contents...
3436 (erase): ... here. Return a bool.
3437 (erase): call erase instead of erasePos.
3439 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3441 * ParagraphList.h: define PitPosPair
3442 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3443 ParagraphList, fix a bug on pasting multiple pars
3444 * text2.C: change interface to C&P
3446 2003-04-30 André Pönitz <poenitz@gmx.net>
3448 * undo_func.C: revert part of yesterday's patch 2
3450 2003-04-30 John Levon <levon@movementarian.org>
3452 * LColor.C: s/tabular/table/
3454 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3456 * text3.C (dispatch): do not convert iterator -> pointer
3457 * undo_funcs.C (setCursorParUndo): ditto
3458 * text_funcs.C (transposeChars): ditto
3460 * text2.C (setLayout): ws changes only
3462 * text.C (breakParagraph): do not convert iterator -> pointer
3464 (acceptChange): ditto
3465 (rejectChange): ditto
3470 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3473 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3475 * text3.C (gotoInset): YABG (yet another bad getChar)
3477 2003-04-29 André Pönitz <poenitz@gmx.net>
3479 * paragraph.h: make operator= private unimplemented as long as
3482 * ParagraphList.C: whitespace
3485 * paragraph_pimpl.[Ch]:
3486 * paragraph_funcs.C:
3488 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3491 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3493 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3495 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3496 * paragraph.[Ch] (erase):
3497 * paragraph_pimpl.[Ch] (erase): change return type and value
3498 * text2.C (cutSelection): some rework
3500 2003-04-28 John Levon <levon@movementarian.org>
3502 * bufferlist.C: changes for unsaved changes dialog
3504 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3506 * bufferlist.C (newFile): set language (messages_) for new
3509 * buffer.C (readFile): ws changes only.
3511 2003-04-28 André Pönitz <poenitz@gmx.net>
3516 * BufferView_pimpl.C:
3517 * BufferView.C: getParFromID related ParagraphList::iterator changes
3519 2003-04-28 André Pönitz <poenitz@gmx.net>
3521 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3524 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3526 * messages.C: remove one more localedir class variable.
3528 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3530 * messages.C (getLocaleDir): singleton generation function
3532 (Messages): add a default constructor.
3534 * main.C (main): do not setup localedir here, do not call
3537 * gettext.C (_): use it.
3538 (gettext_init): delete funciton
3540 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3542 * gettext.C (getLyXMessages): new singleton generating function.
3544 * buffer.C (updateDocLang): adjust
3546 * Makefile.am (messages.o): add target
3547 (main.o): remove target
3549 2003-04-27 John Levon <levon@movementarian.org>
3554 * lyxvc.C: specify cancel button in Alert::prompt
3556 2003-04-26 John Levon <levon@movementarian.org>
3561 * LyXAction.C: add LFUN_INSET_SETTINGS
3563 * lyxfunc.C: don't enable tabular-feature when there's
3564 just any locking inset
3566 2003-04-26 John Levon <levon@movementarian.org>
3568 * bufferlist.C: re-add Cancel to buffer close question
3570 * lyxfunc.C: fix import UI a bit
3572 2003-04-25 John Levon <levon@movementarian.org>
3574 * gettext.C: remove the broken asserts for now
3576 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3578 * messages.C: make case where setlocale cannot comply work better.
3580 * buffer.C (updateDocLang): new function
3581 (changeLanguage): use it
3584 * text2.C (setCounter): use B_ a bit.
3586 * lyxlayout.C (Read): be sure to trim the label strings.
3588 * messages.C (Messages): fix typo in comment
3590 * buffer.C (readFile): set message_ after file is loaded.
3591 (makeDocBookFile): remove double return
3592 (changeLanguage): reset message_ upon language change.
3593 (B_): new func, use this to get translated buffer strings.
3595 * main.C: add myself and Jean Marc as authors.
3597 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3599 * messages.[hC]: pimplify Messages, and three different pimpls to be
3600 used in different circumstances.
3602 * gettext.[Ch]: change for use with new message code.
3604 2003-04-24 André Pönitz <poenitz@gmx.net>
3606 * factory.C: support for eqref
3608 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3610 * messages.[Ch]: add missing char
3612 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3614 * messages.[Ch]: New files
3616 2003-04-18 John Levon <levon@movementarian.org>
3620 * BufferView_pimpl.C:
3624 * text2.C: remove layout-copy/paste (bug 778)
3626 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3628 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3630 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3632 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3633 if they succeed. Act accordingly.
3635 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3637 * text2.C (setCharFont): adjust
3638 (setCounter): adjust
3639 (insertStringAsLines): adjust
3641 * text.C (leftMargin): adjust
3642 (setHeightOfRow): adjust
3644 * rowpainter.C (paintFirst): adjust
3647 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3649 (isFirstInSequence): ditto
3650 (getEndLabel): ditto
3653 * paragraph.C (getParLanguage): comment out some hard stuff.
3655 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3657 (simpleDocBookOnePar): ditto
3658 (makeDocBookFile): use ParagraphList::iterator
3660 * CutAndPaste.C (pasteSelection): adjust
3662 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3664 * text2.C (getFont): adjust
3665 (getLayoutFont): adjust
3666 (getLabelFont): adjust
3668 * paragraph_funcs.C (TeXOnePar): adjust
3670 * buffer.C (simpleLinuxDocOnePar): adjust
3671 (simpleDocBookOnePar): adjust
3673 * CutAndPaste.C (pasteSelection): adjust
3675 * BufferView.C (getEncoding): adjust
3677 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3679 2003-04-16 John Levon <levon@movementarian.org>
3681 * lyxfind.C: use parlist stuff for search/changes
3683 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3685 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3687 * text2.C (deleteEmptyParagraphMechanism): adjust
3689 * text2.[Ch] (ownerParagraph): delete func (both of them
3691 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3693 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3695 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3697 * ParagraphList.C: prepare for NO_NEXT
3699 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3701 * text2.C (getFont): adjust
3702 (getLayoutFont): adjust
3703 (getLabelFont): adjust
3705 * paragraph.C (getFont): adjust
3706 (getLabelFont): adjust
3707 (getLayoutFont): adjust
3709 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3711 2003-04-15 John Levon <levon@movementarian.org>
3715 * lyx_main.C: handle Include in .ui files
3717 2003-04-15 John Levon <levon@movementarian.org>
3719 * MenuBackend.C: make the doc files length shorter
3722 * ToolbarBackend.C: handle toolbar placement flags,
3725 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3727 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3730 * paragraph_funcs.C (TeXOnePar): adjust
3732 * paragraph.C (getLabelFont): add outerfont arg, adjust
3733 (getLayoutFont): ditto
3734 (simpleTeXOnePar): adjust
3736 * paragraph_pimpl.C (realizeFont): delete func
3738 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3740 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3741 row argument, constify cur argument.
3743 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3745 * text2.C (getFont): adjust
3746 (getLayoutFont): adjust
3747 (getLabelFont): adjust
3749 * paragraph_funcs.C (TeXOnePar): adjust
3750 (outerFont): new func...
3751 (realizeFont): ...moved out from here, changed this to facilitate
3754 * paragraph.C (getFont): take outerfont as arg, adjust
3755 (simpleTeXOnePar): add outerfont arg, adjust
3757 * buffer.C (simpleLinuxDocOnePar): adjust
3758 (simpleDocBookOnePar): adjust
3760 * CutAndPaste.C (pasteSelection): adjust
3762 * BufferView.C (getEncoding): adjust
3764 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3766 * text2.C (setCharFont): adjust
3767 (setCounter): adjust
3769 * text.C (leftMargin): adjust
3770 (setHeightOfRow): adjust
3772 * rowpainter.C (paintFirst): adjust
3775 * paragraph_pimpl.C (realizeFont): adjust
3777 * paragraph.C (isFirstInSequence): move from here...
3778 * paragraph_funcs.C (isFirstInSequence): ...to here
3780 * paragraph.C (outerHook): move from here...
3781 * paragraph_funcs.C (outerHook): ...to here
3783 * paragraph.C (depthHook): move from here...
3784 * paragraph_funcs.C (depthHook): ...to here
3786 * paragraph.C (getEndLabel): move from here...
3787 * paragraph_funcs.C (getEndLabel): ...to here
3789 * text2.C (realizeFont): move from here...
3790 * paragraph_funcs.C (realizeFont): ...to here
3792 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3794 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3796 2003-04-14 Angus Leeming <leeming@lyx.org>
3798 * LColor.[Ch]: scrap LColor mathcursor.
3800 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3802 * lyxlex.[Ch] (text): delete function
3803 * trans.C (Load): adjust
3804 * paragraph_funcs.C (readParToken): adjust
3806 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3808 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3809 vector<char> instead of a char[].
3811 * lyxlex_pimpl.C (getString): adjust
3813 (lex): use getString
3817 * lyxlex.C (text): use pimpl_->getString()
3821 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3823 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3824 (makeFontEntriesLayoutSpecific): temp var for par.size()
3825 (setLayout): temp var for ownerParagraphs().end()
3826 (fullRebreak): temp var for rows().end()
3827 (selectionAsString): temp var for boost::next(startpit), realize
3828 that the while really is a regular for loop.
3829 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3830 setCursor in one place.
3831 (setParagraph): temp vr for ownerParagraphs().end()
3832 (updateCounters): make the while loop a for loop
3833 (cutSelection): temp var for ownerParagraphs().end()
3834 (updateInset): make the do {} while() a regular for loop
3835 (getCursorX): use temp vars
3836 (setCurrentFont): use temp vars
3837 (getColumnNearX): use temp vars
3839 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3841 * text.C (transformChar): use temp var for getChar
3842 (computeBidiTables): use temp var for row->par()
3843 (fill): move temp vars for row->par() and pit->layout() earlier in
3845 (labelFill): use temp var for row->par()
3846 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3847 asc and desc, realize that pit never changes and that firstpit is
3848 just a duplicate and not needed. Exchange rit->par() with pit in a
3850 (breakAgain): use a temp var for boost::next(rit)
3851 (breakAgainOneRow): ditto
3852 (breakParagraph): use a temp var for rows().begin()
3853 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3854 (cursorRightOneWord): use temp var for cursor.par() and
3855 cursor.pos(), remove usage of tmpcursor.
3856 (cursorLeftOneWord): use temp var for cursor.par() and
3857 cursor.pos() only set cur at end of function.
3859 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3861 * text.C, text2.C: exchange all usage of Paragraph::next with
3862 boost::next(ParagraphList::iterator)
3864 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3866 * text2.C (cursorTop): simplify implementation
3867 (cursorBottom): ditto
3868 (setParagraph): use ParagraphList::iterator
3869 (setCurrentFont): adjust
3870 (getColumnNearX): adjust
3871 (cursorRight): adjust
3872 (cursorLeft): remove usage of Paragraph::previous
3873 (cursorUpParagraph): ditto
3874 (deleteEmptyParagraphMechanism): slight cleanup
3876 * text.C (isBoundary): take a Paragraph const & instead of a
3878 (addressBreakPoint): ditto
3879 (leftMargin): remove usage of Paragraph::previous.
3880 (setHeightOfRow): ditto
3881 (cursorLeftOneWord): ditto
3882 (selectNextWordToSpellcheck): ditto
3885 (breakParagraph): remove one usage of Paragraph::next
3886 (redoParagraph): ditto
3887 (acceptChange): ditto
3888 (insertChar): adjust
3889 (rowBreakPoint): adjust
3891 * bufferview_funcs.C (toggleAndShow): adjust
3893 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3895 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3896 methods to access it.
3898 * text.C: Added updateRowPositions to compute all row positions.
3899 Make top_y and getRowNearY() to use the cached y position
3901 2003-04-11 John Levon <levon@movementarian.org>
3903 * text.C (rowBreakPoint): reintroduce the labelEnd
3904 checks, code copied from the row fill stuff. Deep voodoo.
3906 * text.C (fill): add a comment and debugging for the
3909 2003-04-11 John Levon <levon@movementarian.org>
3911 * text.C: make sure fullrow insets get wrapped to the next line,
3912 even when they're in a manual label
3914 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3916 * text2.C (insertParagraph): make it take ParagraphList::iterator
3918 (setLayout): make it return ParagraphList::iterator
3919 (redoParagraphs): ditto
3921 (checkParagraph): ditto
3923 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3925 * text2.C: adjust several funcs.
3926 (realizeFont): take a ParagraphList::iterator as arg.
3927 (getLayoutFont): ditto
3928 (getLabelFont): ditto
3929 (setCharFont): ditto
3931 * text.C: adjust several funcs.
3933 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3935 * text.C (selectNextWordToSpellcheck): don't accidentally
3938 2003-04-10 John Levon <levon@movementarian.org>
3940 * ToolbarBackend.C (getIcon): special handling for
3943 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3945 * text2.C (cursorRight): a getChar assert fixed
3947 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3949 * text2.C (getFont): change to take a ParagraphList::iterator
3950 instead of Paragraph*
3951 Adjust several functions.
3953 * text.C (transformChar): change to take a ParagraphList::iterator
3954 instead of Paragraph*
3955 (singleWidth): ditto
3956 Adjust several functions.
3958 * rowpainter.C: adjust several functions
3959 * rowpainter.h:store a ParagraphList::iterator and not a
3963 2003-04-09 John Levon <levon@movementarian.org>
3968 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3969 and the "help" bits as well
3971 2003-04-09 John Levon <levon@movementarian.org>
3974 * ToolbarBackend.C: allow multiple toolbars
3976 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3978 * undo_funcs.C (setCursorParUndo): adjust
3980 * text_funcs.C (transposeChars): adjust
3982 * text3.C (gotoNextInset): adjust
3985 * text2.C (setLayout): adjust
3986 (changeDepth): adjust
3988 (redoParagraphs): adjust
3989 (selectionAsString): adjust
3990 (setParagraph): adjust
3991 (insertInset): adjust
3992 (cutSelection): adjust
3993 (copySelection): adjust
3994 (pasteSelection): adjust
3995 (insertStringAsLines): adjust
3996 (updateInset): adjust
3997 (setCursor): change to take a ParagraphList::iterator parameter
3998 (setCursorIntern): change to take a ParagraphList::iterator parameter
3999 (setCurrentFont): adjust
4000 (cursorLeft): adjust
4001 (cursorRight): adjust
4002 (deleteEmptyParagraphMechanism): adjust
4004 * text.C (breakParagraph): adjust
4005 (insertChar): adjust
4006 (acceptChange): adjust
4007 (rejectChange): adjust
4008 (selectNextWordToSpellcheck): adjust
4009 (changeCase): adjust
4013 * lyxfind.C (SearchForward): adjust
4014 (SearchBackward): adjust
4015 (nextChange): adjust
4017 * lyxcursor.C (par): adjust
4019 * lyxcursor.h: store a ParagraphList::iterator instead of a
4022 * lyx_cb.C (getPossibleLabel): adjust
4024 * bufferview_funcs.C (toggleAndShow): adjust
4026 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4029 * BufferView.C (removeAutoInsets): adjust
4030 (lockedInsetStoreUndo): adjust
4032 2003-04-09 John Levon <levon@movementarian.org>
4034 * ToolbarBackend.C: try icon without argument
4035 if with argument fails
4037 2003-04-08 John Levon <levon@movementarian.org>
4040 * ToolbarBackend.C: add getIcon(), handle tooltip,
4041 and change from "Icon" to "Item".
4043 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4045 * BufferView.C (lockInset): another bad getchar crunched
4047 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4049 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4052 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4054 * lyxfind.C (searchForward, searchBackwards): bug 782
4056 2003-04-07 John Levon <levon@movementarian.org>
4058 * paragraph.C: remove dead comment
4060 * text.C: remove troublesome depth-fiddling code
4061 in leftMargin() and rightMargin() (bug 1017)
4063 * text.C: fix breaking of rows in nested lists
4066 * text2.C (updateCounters): fix up depth values
4069 2003-04-07 John Levon <levon@movementarian.org>
4071 * BufferView_pimpl.C: clear message when doc finishes resizing,
4072 and after a mouse event
4074 * lyxfunc.C: clear message after exiting inset
4076 2003-04-07 John Levon <levon@movementarian.org>
4078 * bufferview_funcs.C: show math status not outside
4079 status in the statusbar
4081 2003-04-07 John Levon <levon@movementarian.org>
4083 * lyxfunc.C: note status changed after a depth change
4085 2003-04-04 Angus Leeming <leeming@lyx.org>
4087 * LaTeX.h: move AuxInfo operator==, != out of line.
4088 Remove LaTeX virtual destructor; nothing derives from it.
4089 Move operator()() out of public area and rename it startscript().
4090 Change protected for private.
4092 2003-04-04 Angus Leeming <leeming@lyx.org>
4095 * text2.C: remove unneeded #includes.
4097 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4099 * text2.C (dEPM): fix the heigth of the next row
4101 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4103 * text.C: squashed an invalid getChar requester + some ws changes
4105 2003-04-03 John Levon <levon@movementarian.org>
4107 * bufferview_funcs.h:
4108 * bufferview_funcs.C:
4111 * text2.C: make getStatus work for the env depth lfuns
4113 2003-04-03 John Levon <levon@movementarian.org>
4115 * bufferview_funcs.h:
4116 * bufferview_funcs.C:
4119 * text2.C: parlistize decDepth(), by merging it with incDepth()
4121 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4123 * lyxrow.h: store a ParagraphList::iterator instead of a
4124 Paragraph* and adjust other class functions to suit.
4126 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4129 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4131 * text2.C (setCursor): do not anchor to cursor row for the time being
4133 2003-04-02 John Levon <levon@movementarian.org>
4140 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4142 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4144 * paragraph.h: make ParagraphList and ParagraphList::iterator
4145 friends of Paragraph.
4147 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4149 * ParagraphList.C: Use the private next_ and previous_ from
4152 2003-04-01 John Levon <levon@movementarian.org>
4156 * Makefile.am: rename, remove defaults gunk
4159 * MenuBackend.C: remove defaults gunk
4162 * Languages.C: remove defaults gunk
4165 * lyx_main.C: error out if files couldn't be found.
4167 2003-04-02 John Levon <levon@movementarian.org>
4169 * text2.C: make incDepth() use parlist
4171 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4173 * undo_funcs.C (firstUndoParagraph): adjust
4175 * text3.C (gotoInset): adjust
4176 (dispatch): adjust, and rewrite loop.
4178 * text2.C (init): adjust, and rewrite loop.
4179 (redoParagraphs): adjust
4180 (updateInset): adjust, and rewrite loop.
4181 (deleteEmptyParagraphMechanism): adjust
4183 * tabular.C (LyXTabular): adjust
4184 (SetMultiColumn): adjust
4187 * lyxtext.[Ch] (ownerParagraph): delete function
4188 (ownerParagraphs): new function returns a ParagraphList.
4190 * BufferView.C (removeAutoInsets): adjust
4191 (insertErrors): adjust
4192 (setCursorFromRow): adjust
4194 2003-04-01 Angus Leeming <leeming@lyx.org>
4196 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4199 2003-04-02 John Levon <levon@movementarian.org>
4205 * text_funcs.C: make transposeChars a free function
4207 * lyxrow_funcs.C: remove wrong comment
4209 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4212 * rowpainter.C: adjust
4217 * lyxrow_funcs. [Ch]: new files
4219 * lyxrow.[Ch]: remove next and previous pointers
4220 (next,previous): remove accessor functions
4221 (isParEnd): move to lyxrow_funcs
4222 (lastPos): move to lyxrow_funcs
4223 (nextRowIsAllInset): move to lyxrow_funcs
4224 (lastPrintablePos): move to lyxrow_funcs
4225 (numberOfSeparators): move to lyxrow_funcs
4226 (numberOfHfills): move to lyxrow_funcs
4227 (numberOfLabelHfills): move to lyxrow_funcs
4228 (hfillExpansion): move to lyxrow_funcs
4232 * bufferview_funcs.C (toggleAndShow): adjust
4234 * RowList.h: Remove class RowList from file leave just a
4237 * RowList.C: delete file
4239 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4242 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4244 * text3.C (cursorPrevious): adjust
4245 (cursorNext): adjust
4248 * text2.C (redoHeightOfParagraph): adjust
4249 (redoDrawingOfParagraph): adjust
4252 * text.C (breakParagraph): adjust
4253 (insertChar): adjust
4256 * rowpainter.C (RowPainter): adjust
4257 (leftMargin): simplify and adjust
4258 (most rowpainter functions): adjust.
4260 * rowpainter.h: store the row as RowList::iterator not as Row*
4262 * lyxcursor.C (row): taka RowList::iterator as arg
4265 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4268 2003-04-01 Angus Leeming <leeming@lyx.org>
4270 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4271 stuff like bool Bool.
4273 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4275 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4278 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4280 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4283 * lyxtext.h (rows): drop one version and leve a const variant that
4284 returns a RowList::iterator.
4286 2003-03-31 Angus Leeming <leeming@lyx.org>
4288 * text.C (fill): ensure that the signature is the same as that in the
4291 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4293 * text2.C (redoParagraphs): adjust
4294 (updateCounters): adjust
4295 (checkParagraph): adjust
4296 (getColumnNearX): adjust and reformat a bit.
4298 * text.C (top_y): adjust
4300 (leftMargin): adjust
4301 (prepareToPrint): adjust
4303 (getRowNearY): adjust
4305 * lyxtext.h: make rowlist_ mutable.
4307 * RowList.h: add const_iterator
4308 * RowList.C: adjust for RowList::const_iterator.
4310 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4313 2003-03-31 John Levon <levon@movementarian.org>
4316 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4318 * lyx_main.C: set default fonts from using lyx_gui funcs
4320 * exporter.C: pdf_mode moved from lyxrc
4323 * lyxfunc.C: changes from above
4325 2003-03-31 John Levon <levon@movementarian.org>
4327 * lyx_main.C: fix to the last fix
4329 2003-03-31 John Levon <levon@movementarian.org>
4331 * bufferlist.C: "Load original" -> "Load Original"
4337 * format.C: more Alert cleanups
4339 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4341 * text2.C (removeParagraph): make it take a RowList::iterator as
4343 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4344 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4346 * text.C (anchor_row): make it take a RowList::iterator as arg,
4348 (computeBidiTables): make it take a const reference to Row instead
4349 of Row pointer, adjust.
4350 (leftMargin): make it take a RowList::iterator as arg, adjust.
4351 (rowBreakPoint): adjust
4352 (breakAgainOneRow): make it take a RowList::iterator as arg,
4354 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4356 * bufferview_funcs.C (toggleAndShow): adjust
4358 2003-03-30 John Levon <levon@movementarian.org>
4362 * boost-inst.C: moved to support
4364 * several files: changes as a result
4366 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4368 * text2.C (LyXText): adjust.
4370 (removeRow): make it take a RowList::iterator as arg, adjust.
4371 (fullRebreak): adjust
4372 (deleteEmptyParagraphMechanism): adjust
4373 (clearPaint): adjust
4376 * text.C (top_y): adjust
4377 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4378 (breakAgain): make it take a RowList::iterator as arg, adjust.
4379 (breakParagraph): adjust
4380 (insertChar): adjust
4383 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4384 need_break_row, and refresh_row.
4386 * text3.C (dispatch): adjust
4388 * text2.C (checkParagraph): adjust
4390 (setCursorFromCoordinates): adjust
4392 * text.C (top_y): adjust
4394 (getRow): make it return a RowList::iterator, adjust
4395 (getRowNearY): make it return a RowList::iterator, adjust
4397 * text2.C (init): adjust
4398 (insertRow): remove function
4399 (insertParagraph): adjust
4400 (redoParagraphs): adjust
4401 (fullRebreak): adjust
4402 (updateCounters): adjust
4404 * text.C (top_y): rewrite to use RowList iterators.
4406 (setHeightOfRow): rewrite to sue RowList iterators.
4407 (appendParagraph): adjust
4408 (breakAgain): adjust
4409 (breakAgainOneRow): adjust
4410 (breakParagraph): adjust
4412 (getRowNearY): adjust, and remove commented code.
4414 * lyxtext.h (firstRow): delete function
4415 (lastRow): delete function
4416 (rows): new function (const and non-const versions.)
4417 (insertRow): delete function
4419 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4421 2003-03-29 John Levon <levon@movementarian.org>
4423 * BufferView_pimpl.C: always update scrollbar top
4424 because pasting text when we're anchored could mean we
4425 miss an update altogether
4427 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4429 * text2.C (init): use rowlist_.end() and not 0.
4430 (insertRow): change to take a RowList::iterator as arg, adjust
4432 (insertParagraph): change to take a RowList::iterator as arg,
4434 (redoParagraphs): remove some debug msgs.
4436 * text.C (appendParagraph): change to take a RowList::iterator
4437 arg, adjust for this.
4438 (breakAgain): add an assert
4439 (breakAgainOneRow): ditto
4441 2003-03-29 John Levon <levon@movementarian.org>
4443 * text2.C: do not clear selection after inc/decDepth
4446 2003-03-29 John Levon <levon@movementarian.org>
4449 * buffer.C: fix broken strerrors according to Lars
4451 2003-03-29 John Levon <levon@movementarian.org>
4453 * converters.C: more Alert cleanups
4455 2003-03-29 John Levon <levon@movementarian.org>
4457 * bufferview_funcs.C: remove pointless Alert
4459 * buffer.C: fix confusing error message when
4460 a template is chmoded 000
4462 2003-03-29 John Levon <levon@movementarian.org>
4466 * BufferView_pimpl.C: Alert fixes
4470 * tabular-old.C: remove unused table compat reading
4472 2003-03-29 John Levon <levon@movementarian.org>
4477 * lyx_cb.C: more Alert cleanups
4479 * lyxfunc.C: don't allow chktex if not latex document
4481 2003-03-29 John Levon <levon@movementarian.org>
4485 * buffer.C: warnings pushed down from support/,
4488 2003-03-29 John Levon <levon@movementarian.org>
4490 * lyxfunc.C: safety check for C-r (revert)
4492 2003-03-29 John Levon <levon@movementarian.org>
4495 * bufferlist.C: several UI fixes using Alert::prompt.
4496 Fix the pointless looping quit code. Fix stupid revert
4501 * lyx_cb.C: use Alert::prompt
4503 * lyx_main.C: remove a silly question
4505 * lyxfunc.C: remove a couple of silly questions,
4508 2003-03-28 John Levon <levon@movementarian.org>
4510 * text2.C: fix bug 974 (End on empty par)
4512 2003-03-28 John Levon <levon@movementarian.org>
4514 * BufferView_pimpl.C:
4516 * lfuns.h: remove do-nothing math greek lfuns
4518 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4520 * lyxgluelength.h (isValidGlueLength): add default arg on
4521 parameter 2. Remove default arg from friend in class.
4523 * lyxlength.h (isValidLength): add default arg on parameter 2.
4524 Remove default arg from friend in class.
4526 * text2.C (LyXText): adjust, initialize refresh_row.
4530 (insertParagraph): adjst
4531 (redoParagraphs): adjust
4532 (fullRebreak): adjust
4533 (updateCounters): adjust
4534 (deleteEmptyParagraphMechanism): first attempt at fixing a
4537 * text.C (top_y): adjust
4538 (setHeightOfRow): adjust
4540 (getRowNearY): adjust
4542 * lyxtext.h: include RowList.h
4543 (~LyXText): not needed anymore, deleted.
4544 (firstRow): modify for RowList
4545 (lastRow): new function
4546 Delete firstrow and lastrow class variables, add a Rowlist
4547 rowlist_ class variable.
4549 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4552 * RowList.C (insert): fix case where it == begin().
4554 2003-03-26 Angus Leeming <leeming@lyx.org>
4556 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4557 the thesaurus dialog.
4559 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4561 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4563 * RowList.[Ch]: new files
4565 * ParagraphList.C (erase): handle the case where it == begin
4568 2003-03-25 John Levon <levon@movementarian.org>
4572 * aspell.C: add new aspell support
4575 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4578 2003-03-25 Angus Leeming <leeming@lyx.org>
4581 * LyXAction.C (init): new LFUN_INSET_INSERT.
4583 * BufferView_pimpl.C (dispatch): split out part of the
4584 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4586 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4589 2003-03-25 Angus Leeming <leeming@lyx.org>
4591 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4593 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4596 * text3.C: remove useless row->height(0)
4598 2003-03-25 John Levon <levon@movementarian.org>
4602 * text3.C: rename the refreshing stuff to better names
4604 2003-03-24 John Levon <levon@movementarian.org>
4606 * BufferView_pimpl.h:
4607 * BufferView_pimpl.C: update layout choice on a mouse
4610 2003-03-23 John Levon <levon@movementarian.org>
4612 * Makefile.am: fix commandtags.h reference
4614 2003-03-22 John Levon <levon@movementarian.org>
4616 * BufferView_pimpl.C:
4621 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4623 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4626 * text.C: take the rtl methods out of line
4628 2003-03-21 André Pönitz <poenitz@gmx.net>
4630 * metricsinfo.[Ch]: new files containing structures to be passed around
4631 during the two-phase-drawing...
4633 2003-03-21 André Pönitz <poenitz@gmx.net>
4635 * lyxtextclass.C: read 'environment' tag.
4637 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4639 * text2.C (removeRow): fix bug 964
4641 2003-03-20 John Levon <levon@movementarian.org>
4645 * text2.C: paint cleanups. Inset::update() dropped font
4648 2003-03-19 John Levon <levon@movementarian.org>
4650 * lyxfunc.C: only fitcursor/markDirty if available()
4652 2003-03-19 John Levon <levon@movementarian.org>
4654 * commandtags.h: rename to ...
4656 * lfuns.h: ... this, and renumber / cleanup
4658 2003-03-19 John Levon <levon@movementarian.org>
4660 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4661 fit the cursor after an lfun
4665 * BufferView_pimpl.h:
4666 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4668 * LyXAction.C: layout-character should have ReadOnly
4670 * ParagraphParameters.C:
4672 * bufferview_funcs.C:
4679 * undo_funcs.C: changes from above
4681 2003-03-18 John Levon <levon@movementarian.org>
4683 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4684 remove it from update()
4686 * lyxfunc.C: update layout choice after an lfun
4688 * text3.C: remove extra updateLayoutChoice()s
4690 2003-03-18 John Levon <levon@movementarian.org>
4692 * text.C: top_y change means full repaint, fix
4693 a drawing bug with cursor movement
4695 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4699 * text2.C: anchor row on setCursor
4701 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4703 * lyxtext.h: remove almost all mutable keywords
4706 * text3.C: remove const keywords accordingly
4708 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4710 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4712 (TeXEnvironment): ditto
4715 2003-03-17 John Levon <levon@movementarian.org>
4717 * text.C (rowBreakPoint): remove attempt to fix displayed
4718 math insets inside a manual label
4720 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4722 * lyxtext.h: remove BufferView* as first arg from almost all class
4724 * other files: adjust.
4726 2003-03-17 John Levon <levon@movementarian.org>
4730 * text2.C: more paint cleanups
4732 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4735 * rowpainter.C: remove "smart" background painting code
4737 2003-03-16 John Levon <levon@movementarian.org>
4742 * text3.C: add helper functions for setting refresh_row/y
4744 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4746 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4747 newline inset which *can* get inserted in the pass_thru layouts.
4748 This is primarily for literate documents.
4750 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4752 * buffer.C: increment LYX_FORMAT to 223
4754 2003-03-14 André Pönitz <poenitz@gmx.net>
4756 * textclass.h: prepare for environment handling, ws changes
4757 * lyxlayout.C: read latexheader and latexfooter tags
4759 2003-03-14 John Levon <levon@movementarian.org>
4761 * text2.C: rewrite ::status() a bit
4763 2003-03-13 John Levon <levon@movementarian.org>
4765 * lyxtext.h: add some docs
4767 2003-03-13 John Levon <levon@movementarian.org>
4772 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4774 2003-03-13 John Levon <levon@movementarian.org>
4776 * text3.C: fix appendix redrawing
4778 2003-03-13 John Levon <levon@movementarian.org>
4780 * text.C (setHeightOfRow):
4782 * rowpainter.C: make appendix mark have the text
4783 "Appendix" so the user knows what it is
4786 * LColor.C: s/appendixline/appendix/ from above
4788 2003-03-13 John Levon <levon@movementarian.org>
4790 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4792 * text.C: fix a getChar(pos) bug properly
4794 2003-03-13 Angus Leeming <leeming@lyx.org>
4797 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4798 Probably only temporary. Let's see how things pan out.
4800 * BufferView.C (unlockInset):
4801 * BufferView_pimpl.C (fitCursor):
4802 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4804 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4805 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4807 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4808 new functions that convert ParagraphParameters to and from a string.
4810 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4811 BufferView::Pimpl's dispatch.
4812 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4814 2003-03-13 André Pönitz <poenitz@gmx.net>
4818 * factory.C: make it aware of InsetEnv
4820 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4822 * text2.C (setCursor): never ask for one past last
4823 (setCursor): add some debugging messages.
4825 * text.C (singleWidth): never ask for one past last
4826 (singleWidth): ditto
4828 (rightMargin): ditto
4829 (rowBreakPoint): ditto
4830 (setHeightOfRow): ditto
4831 (prepareToPrint): ditto
4833 * rowpainter.C (paintBackground): never ask for one past last
4834 (paintText): never ask for one past last
4836 * paragraph_pimpl.C (getChar): make the assert stricter, never
4837 allow the one past last pos to be taken
4839 * paragraph.C (getChar): ws changes only
4841 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4842 (numberOfSeparators): ditto
4843 (numberOfHfills): ditto
4845 2003-03-12 John Levon <levon@movementarian.org>
4851 * paragraph_funcs.C: fix per-buffer authorlists
4853 2003-03-12 John Levon <levon@movementarian.org>
4855 * text.C: fix newline in right address
4857 2003-03-12 Angus Leeming <leeming@lyx.org>
4859 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4860 duplicate those in LyXFunc::dispatch.
4864 * ToolbarDefaults.C:
4865 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4866 Add LFUN_FONTFREE_UPDATE.
4868 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4869 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4871 * bufferview_func.[Ch]: several new functions to facilliate
4872 transfer of data to and from the character dialog.
4874 2003-03-12 John Levon <levon@movementarian.org>
4879 * paragraph_funcs.C:
4880 * paragraph_pimpl.C:
4884 * text3.C: remove META_NEWLINE in favour of an inset
4887 * rowpainter.C: remove paintNewline (done by inset)
4889 2003-03-12 John Levon <levon@movementarian.org>
4891 * paragraph_pimpl.C: complain about bad getChar()s
4892 for a while at least
4894 2003-03-12 John Levon <levon@movementarian.org>
4897 * buffer.C: move paragraph read into a separate function,
4898 a little renaming to reflect that.
4901 * bufferparams.C: remove the author_ids map, not necessary now
4904 * factory.C: moved Buffer::readInset to here
4906 * paragraph_funcs.h:
4907 * paragraph_funcs.C: readParagraph free function moved from
4910 * tabular.C: name change
4912 2003-03-12 John Levon <levon@movementarian.org>
4915 * ParagraphParameters.C: move par params input to
4918 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4919 behave like a normal read from the stream wrt reading
4920 a line vs. a \\token
4922 2003-03-12 John Levon <levon@movementarian.org>
4925 * ParagraphParameters.h:
4926 * ParagraphParameters.C: move output code to a
4929 2003-03-12 John Levon <levon@movementarian.org>
4931 * BufferView.C (insertLyXFile):
4934 * tabular.C: use a parlist iterator for creating the
4937 2003-03-12 John Levon <levon@movementarian.org>
4939 * buffer.C: make current_change static local not
4942 2003-03-12 John Levon <levon@movementarian.org>
4944 * buffer.C: fix insertStringAsLines for change tracking
4946 2003-03-12 John Levon <levon@movementarian.org>
4953 * bufferparams.C: move author list into params. Rename some
4954 functions. Move the header reading into a separate token
4955 loop. Move the header token reading into BufferParams.
4957 2003-03-12 John Levon <levon@movementarian.org>
4959 * changes.C: put debug inside lyxerr.debugging() checks
4961 2003-03-11 André Pönitz <poenitz@gmx.net>
4963 * factory.C: make it aware of InsetHFill
4965 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4967 * buffer.C (latexParagraphs): move function from here...
4968 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4971 2003-03-10 Angus Leeming <leeming@lyx.org>
4973 * LyXAction.C (init): fix bug in poplating array with multiple entries
4974 with the same LFUN (spotted by JMarc).
4976 2003-03-10 John Levon <levon@movementarian.org>
4979 * text2.C: move getColumnNearX() near its
4982 2003-03-10 John Levon <levon@movementarian.org>
4984 * text.C: fix break before a minipage
4986 2003-03-10 John Levon <levon@movementarian.org>
4988 * text.C: fix the last commit
4990 2003-03-09 John Levon <levon@movementarian.org>
4994 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4995 bug 365 (don't break before insets unless needed). Don't
4996 return a value > last under any circumstances.
4998 2003-03-09 Angus Leeming <leeming@lyx.org>
5000 * BufferView_pimpl.C (trackChanges, dispatch): call
5001 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5003 2003-03-09 Angus Leeming <leeming@lyx.org>
5005 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5006 than Dialogs::showAboutlyx().
5008 2003-03-09 Angus Leeming <leeming@lyx.org>
5010 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5011 than Dialogs::showTabularCreate().
5013 2003-03-09 John Levon <levon@movementarian.org>
5017 * text2.C: 3rd arg to nextBreakPoint was always the same.
5020 2003-03-08 John Levon <levon@movementarian.org>
5027 * text2.C: Remove the "main" bit from the "main body"
5030 2003-03-08 John Levon <levon@movementarian.org>
5032 * text.C (leftMargin): The left margin of an empty
5033 manual label paragraph should not include the label width
5036 * text.C (prepareToPrint): don't attempt to measure hfills
5037 for empty manual label paragraphs - the answer should be 0
5039 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5041 * CutAndPaste.C: remove commented code and reindent.
5043 2003-03-08 John Levon <levon@movementarian.org>
5046 * lyxfunc.C: move reloadBuffer()
5049 * BufferView.C: to here
5051 * lyxvc.C: add comment
5054 * vc-backend.C: call bv->reload() to avoid
5055 getStatus() check on MENURELOAD
5057 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5059 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5060 to an old format .dep file.
5062 2003-03-07 Angus Leeming <leeming@lyx.org>
5064 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5065 when the LFUN_MOUSE_RELEASE should have been handled by
5066 inset->localDispatch.
5068 2003-03-07 Angus Leeming <leeming@lyx.org>
5070 * BufferView_pimpl.C (dispatch):
5071 * LyXAction.C (init):
5072 * ToolbarDefaults.C (init):
5074 * lyxfunc.C (getStatus):
5075 remove LFUN_INSET_GRAPHICS.
5077 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5079 2003-03-07 Angus Leeming <leeming@lyx.org>
5082 * LyXAction.C (init):
5083 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5085 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5088 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5090 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5091 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5093 2003-03-07 Angus Leeming <leeming@lyx.org>
5095 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5098 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5100 * ParagraphList.C (front): new function
5103 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5105 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5106 and top_row_offset_. removed var first_y.
5108 * text2.C (LyXText, removeRow):
5110 * BufferView_pimpl.C:
5111 use these methods instead of using first_y
5113 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5115 * text2.C (pasteSelection): adjust for checkPastePossible
5117 * CutAndPaste.C: remove Paragraph * buf and replace with
5118 ParagraphList paragraphs.
5119 (DeleteBuffer): delete
5120 (cutSelection): change the tc type to textclass_type
5121 (copySelection): change the tc type to textclass_type
5122 (copySelection): adjust for ParagraphList
5123 (pasteSelection): change the tc type to textclass_type
5124 (pasteSelection): adjust for Paragraphlist
5125 (nrOfParagraphs): simplify for ParagraphList
5126 (checkPastePossible): simplify for ParagraphList
5127 (checkPastePossible): remove unused arg
5129 * ParagraphList.C (insert): handle the case where there are no
5132 * CutAndPaste.h: make CutAndPaste a namespace.
5134 * text3.C (dispatch): adjust
5136 * text.C (breakParagraph): add a ParagraphList as arg
5138 * paragraph_funcs.C (breakParagraph): change to take a
5139 BufferParams and a ParagraphList as args.
5140 (breakParagraphConservative): ditto
5141 (mergeParagraph): ditto
5142 (TeXDeeper): add a ParagraphList arg
5143 (TeXEnvironment): ditto
5146 * buffer.C (readLyXformat2): adjust
5147 (insertStringAsLines): adjust
5148 (latexParagraphs): adjust
5150 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5151 (cutSelection): adjust
5152 (pasteSelection): adjust
5154 * BufferView_pimpl.C (insertInset): adjust
5156 2003-03-05 Angus Leeming <leeming@lyx.org>
5159 * LyXAction.C (init):
5160 * BufferView_pimpl.C (dispatch):
5161 * lyxfunc.C (getStatus):
5162 remove LFUN_CHILD_INSERT.
5164 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5166 2003-03-05 Angus Leeming <leeming@lyx.org>
5169 * LyXAction.C (init):
5170 * src/factory.C (createInset):
5171 * lyxfunc.C (getStatus):
5172 * text3.C (dispatch):
5173 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5175 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5177 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5179 * ParagraphList.C (insert): handle insert right before end()
5180 (erase): fix cases where it can be first or last paragraph.
5182 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5184 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5185 Paragraph::next and Paragraph::previous
5188 * text.C (breakParagraph): adjust
5190 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5191 BufferParams& as arg.
5192 (breakParagraph): use ParagraphList::insert
5193 (breakParagraphConservative): take a Buffer* instead of a
5194 BufferParams& as arg.
5195 (breakParagraphConservative): use ParagraphList::insert.
5197 * buffer.C (insertStringAsLines): un-const it
5198 (insertStringAsLines): adjust
5200 * ParagraphList.C (insert): new function
5202 * CutAndPaste.C (pasteSelection): adjust
5204 * text.C (backspace): adjust
5206 * tabular.C (SetMultiColumn): adjust
5208 * CutAndPaste.C (cutSelection): adjust
5209 (pasteSelection): adjust
5211 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5212 Buffer const * as arg
5214 * ParagraphList.C (erase): new function
5215 * paragraph_funcs.C (mergeParagraph): use it
5216 (mergeParagraph): make it take a Buffer* instead of a
5217 BufferParams* as arg
5219 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5221 (breakParagraphConservative): ditto
5223 * paragraph.h: remove the breakParagraph friend
5225 * paragraph.C (eraseIntern): new function
5226 (setChange): new function
5228 * paragraph_funcs.C (mergeParagraph): make it take a
5229 ParagraphList::iterator instead of a Paragraph *, adjust
5232 * paragraph.h: move an #endif so that the change tracking stuff
5233 also works in the NO_NEXT case.
5235 2003-03-04 Angus Leeming <leeming@lyx.org>
5238 * LyXAction.C: new LFUN_INSET_MODIFY.
5240 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5241 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5243 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5245 * several files: ws changes only
5247 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5248 (TeXEnvironment): ditto
5251 * buffer.C (makeLaTeXFile): adjust
5252 (latexParagraphs): make it take ParagraphList::iterator as args
5254 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5256 * buffer.C (latexParagraphs): adjust
5258 * paragraph.C (TeXOnePar): move function...
5259 (optArgInset): move function...
5260 (TeXEnvironment): move function...
5261 * paragraph_pimpl.C (TeXDeeper): move function...
5262 * paragraph_funcs.C: ...here
5264 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5266 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5268 * buffer.C (readInset): remove compability code for old Figure and
5271 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5273 * buffer.C: ws changes
5276 * BufferView_pimpl.C: ditto
5279 * bufferlist.h: ditto
5283 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5285 * converter.[Ch]: split into itself +
5288 * Makefile.am: += graph.[Ch] + format.[Ch]
5295 * lyxrc.C: added #include "format.h"
5297 2003-02-27 Angus Leeming <leeming@lyx.org>
5299 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5302 * factory.C (createInset): add "label" to the factory.
5304 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5305 string and do no more.
5307 2003-02-27 Angus Leeming <leeming@lyx.org>
5310 * LyXAction.C (init):
5311 * factory.C (createInset):
5312 * BufferView_pimpl.C (dispatch):
5313 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5315 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5317 * lyxfunc.C (dispatch):
5318 * text3.C (dispatch): pass name to params2string.
5320 2003-02-26 Angus Leeming <leeming@lyx.org>
5322 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5324 Rearrange the ~includes. Strip out the unnecessary ones.
5326 * factory.C (createInset): reformat.
5327 create new insets for the various LFUN_XYZ_APPLY lfuns.
5329 2003-02-26 John Levon <levon@movementarian.org>
5332 * lyxrow.C: add isParStart,isParEnd helpers
5334 * paragraph.h: make isInserted/DeletedText take refs
5336 * paragraph_funcs.h:
5337 * paragraph_funcs.C: remove #if 0'd code
5342 * text.C: use lyxrow helpers above.
5343 Move draw and paint routines to RowPainter.
5344 Make several methods use refs not pointers.
5345 Make backgroundColor() const.
5346 Add markChangeInDraw(), isInInset().
5347 Merge changeRegionCase into changeCase.
5348 Make workWidth() shouldn't-happen code into an Assert.
5351 * rowpainter.C: new class for painting a row.
5354 * vspace.C: make inPixels take a ref
5356 2003-02-26 Angus Leeming <leeming@lyx.org>
5358 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5361 2003-02-25 John Levon <levon@movementarian.org>
5363 * ispell.C: give the forked command a more accurate name
5365 2003-02-22 John Levon <levon@movementarian.org>
5368 * toc.C: make TocItem store an id not a Paragraph *
5371 2003-02-21 Angus Leeming <leeming@lyx.org>
5373 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5374 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5375 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5376 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5377 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5378 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5380 * BufferView_pimpl.C (dispatch):
5381 * LyXAction.C (init):
5382 * factory.C (createInset):
5383 * lyxfunc.C (getStatus, dispatch):
5384 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5386 2003-02-21 Angus Leeming <leeming@lyx.org>
5388 * BufferView_pimpl.C (MenuInsertLyXFile):
5389 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5390 * lyxfunc.C (menuNew, open, doImport):
5391 no longer pass a LyXView & to fileDlg.
5393 2003-02-21 Angus Leeming <leeming@lyx.org>
5395 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5396 * LyXAction.C: change, BIBKEY to BIBITEM.
5397 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5398 Change InsetBibKey to InsetBibitem.
5399 Change BIBKEY_CODE to BIBITEM_CODE.
5400 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5401 * factory.C: replace insetbib.h with insetbibitem.h.
5402 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5403 * paragraph.C: replace insetbib.h with insetbibitem.h.
5404 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5405 Change bibkey() to bibitem().
5406 * text.C: remove insetbib.h.
5407 * text2.C: replace insetbib.h with insetbibitem.h.
5408 change bibkey() to bibitem().
5409 * text3.C: remove insetbib.h.
5410 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5412 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5414 * lyxrc.C (output): enclose user email in quotes (in case there are
5417 2003-02-18 John Levon <levon@movementarian.org>
5419 * buffer.h: add std::
5421 2003-02-17 John Levon <levon@movementarian.org>
5427 * pspell.C: reworking. Especially in ispell, a large
5428 number of clean ups and bug fixes.
5430 * lyxfunc.C: fix revert to behave sensibly
5432 2003-02-17 André Pönitz <poenitz@gmx.net>
5435 * commandtags.h: new LFUN_INSERT_BIBKEY
5445 * paragraph_func.C: remove special bibkey handling
5447 2003-02-17 John Levon <levon@movementarian.org>
5449 * text.C (Delete): fix case where delete at the end of
5450 the very first paragraph would not merge the pars
5452 2003-02-17 John Levon <levon@movementarian.org>
5454 * lyxrow.C: fix lastPrintablePos()
5456 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5458 * bufferparams.C (writeLaTeX): add a std:here
5460 * buffer.C: and remove a using directive there
5462 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5464 * buffer.C (makeLaTeXFile): move the code that generates the
5467 * bufferparams.C (writeLaTeX): ... in this new method
5469 * LaTeXFeatures.C (getEncodingSet): make const
5470 (getLanguages): make const
5472 * MenuBackend.C (binding): returns the binding associated to this
5474 (add): sets the status of each item by calling getStatus. Adds
5476 (read): add support for OptSubMenu
5477 (expand): remove extra separator at the end of expanded menu
5479 2003-02-15 John Levon <levon@movementarian.org>
5482 * BufferView_pimpl.C:
5484 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5485 inset code that had no actual effect. Remove unneeded status
5488 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5490 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5493 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5495 * text.C (drawLengthMarker): also draw an arrow marker for
5496 symbolic lengths (medskip...)
5498 2003-02-14 John Levon <levon@movementarian.org>
5501 * tabular.C: better method names
5503 2003-02-14 John Levon <levon@movementarian.org>
5505 * BufferView_pimpl.C:
5510 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5511 it's a more accurate name. Remove some pointless uses.
5513 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5515 * text2.C (LyXText): change order of initilizers to shut off
5518 2003-02-14 John Levon <levon@movementarian.org>
5520 * buffer.C: use ParIterator for getParFromID()
5524 * paragraph_pimpl.h:
5525 * paragraph_pimpl.C: remove unused getParFromID()
5527 2003-02-14 John Levon <levon@movementarian.org>
5529 * buffer.C: remove some very old #if 0'd parse code
5531 2003-02-13 John Levon <levon@movementarian.org>
5535 * text2.C: move hfillExpansion(), numberOfSeparators(),
5536 rowLast(), rowLastPrintable(), numberofHfills(),
5537 numberOfLabelHfills() ...
5540 * lyxrow.C: ... to member functions here.
5545 * text.C: remove LyXText::beginningOfMainBody(), and call
5546 p->beginningOfMainBody() directly. Move the check for
5547 LABEL_MANUAL into the latter.
5554 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5560 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5561 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5563 2003-02-13 John Levon <levon@movementarian.org>
5565 * CutAndPaste.C: remove debug
5567 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5569 * paragraph.C (asString): remove two unused variables
5571 * lyxtextclass.C (readTitleType):
5573 (LyXTextClass): handle new members titletype_ and titlename_
5575 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5577 2003-02-09 John Levon <levon@movementarian.org>
5580 * buffer.C: replace hand-coded list with a map for the dep clean
5582 2003-02-08 John Levon <levon@movementarian.org>
5584 * LaTeX.C: consolidate code into showRunMessage() helper
5586 2003-02-08 John Levon <levon@movementarian.org>
5591 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5592 and pass the size in explicitly
5594 * BufferView_pimpl.h:
5595 * BufferView_pimpl.C:
5597 * BufferView.C: add getCurrentChange()
5599 * BufferView_pimpl.h:
5600 * BufferView_pimpl.C: handle change lfuns
5602 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5603 for changes. Mark pasted paragraphs as new.
5605 * support/lyxtime.h:
5606 * support/lyxtime.C:
5607 * DepTable.C: abstract time_t as lyx::time_type
5610 * LColor.C: add colours for new text, deleted text, changebars
5612 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5613 package use "usenames" option.
5617 * LyXAction.C: add change lfuns
5621 * author.C: author handling
5624 * buffer.C: add a per-buffer author list, with first entry as
5625 current author. Handle new .lyx tokens for change tracking. Output
5626 author list to .lyx file. Output dvipost stuff to .tex preamble.
5627 Bump lyx format to 222.
5630 * bufferlist.C: add setCurrentAuthor() to reset current author details
5634 * bufferparams.C: add param for tracking
5636 * bufferview_funcs.C: output change info in minibuffer
5640 * changes.C: add change-tracking structure
5643 * debug.C: add CHANGES debug flag
5646 * lyxfind.C: add code for finding the next change piece
5649 * lyxrc.C: add user_name and user_email
5652 * lyxrow.C: add a metric for the top of the text line
5655 * text.C: implement accept/rejectChange()
5658 * text.C: paint changebars. Paint new/deleted text in the chosen
5659 colours. Strike through deleted text.
5663 * paragraph_pimpl.h:
5664 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5665 in the current change to the insert functions. Rework erase to
5666 mark text as deleted, adding an eraseIntern() and a range-based
5667 erase(). Implement per-paragraph change lookup and
5670 * paragraph_funcs.C: Fixup paste for change tracking.
5672 * tabular.C: mark added row/columns as new.
5674 * text.C: fix rowLast() to never return -1. Don't allow
5675 spellchecking of deleted text. Track transpose changes. Don't
5676 allow paragraph break or merge where appropriate.
5678 * text2.C: leave cursor at end of selection after a cut.
5680 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5682 * text.C (getLengthMarkerHeight):
5683 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5684 visible on screen too.
5686 2003-02-07 John Levon <levon@movementarian.org>
5688 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5690 2003-02-05 Angus Leeming <leeming@lyx.org>
5692 * lyxserver.C (read_ready): revert my patch of 11 September last year
5693 as it sends PC cpu through the roof. Presumably this means that
5694 the lyxserver will no longer run on an Alpha...
5696 2003-01-30 Angus Leeming <leeming@lyx.org>
5698 * factory.C (createInset): create an InsetCommandParam of type "index"
5699 and use it to 'do the right thing'.
5701 * text2.C (getStringToIndex): ensure that cursor position is always
5702 reset to the reset_cursor position.
5704 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5706 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5709 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5713 * lyxfunc.C: Output messages with identical spelling, punctuation,
5716 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5718 * MenuBackend.C (expandFormats): List only viewable export formats
5721 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5724 * lyxfunc.C (getStatus): Make sure that formats other than
5725 "fax" can also be disabled
5727 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5729 * text3.C (dispatch): put the lfuns that insert insets in 3
5730 groups, and call doInsertInset with appropriate arguments.
5731 (doInsertInset): new function, that creates an inset and inserts
5732 it according to some boolean parameters.
5734 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5736 * buffer.C (readFile): remember to pass on 'par' when calling
5737 readFile recursively.
5739 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5741 * MenuBackend.C (expandFormats): add "..." to import formats.
5743 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5745 * paragraph.C (asString): Remove XForms RTL hacks.
5747 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5748 * buffer.C: fix typo
5750 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5752 * Makefile.am (LIBS): delete var
5753 (lyx_LDADD): add @LIBS@ here instead.
5755 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5757 * Clarify the meaning of "wheel mouse jump"
5759 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5761 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5764 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5766 * importer.C (Loaders): do not preallocate 3 elements in the
5767 vector, since one ends up with 6 elements otherwise
5769 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5771 * DepTable.C (write): write the file name as last element of the
5772 .dep file (because it may contain spaces)
5773 (read): read info in the right order
5775 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5777 * paragraph_pimpl.C (simpleTeXBlanks):
5778 (simpleTeXSpecialChars):
5779 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5781 * tabular.C (latex): add some missing case statements. Reindent.
5783 * MenuBackend.C (expandToc): remove unused variable.
5785 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5794 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5797 2003-01-05 John Levon <levon@movementarian.org>
5800 * BufferView.C: add getEncoding()
5803 * kbsequence.C: do not store last keypress
5806 * lyxfunc.C: store last keypress here instead. Pass encoding
5809 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5811 * lyx_main.C (init): remove annoying error message when following
5812 symbolic links (bug #780)
5814 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5816 * text.C (insertChar):
5817 * lyxrc.C (getDescription): remove extra spaces
5819 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5821 * lyxrc.C (getDescription): remove extra spaces
5823 2002-12-20 John Levon <levon@movementarian.org>
5825 * text3.C: hack fix for page up/down across tall rows
5827 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5829 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5832 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5834 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5835 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5836 thesaurus is not compiled in
5838 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5840 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5842 2002-12-16 Angus Leeming <leeming@lyx.org>
5845 * lyx_main.C (init): remove override_x_deadkeys stuff.
5847 2002-12-12 John Levon <levon@movementarian.org>
5849 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5850 insert. Only remove shift modifier under strict
5853 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5855 * MenuBackend.C (expandToc): fix crash.
5857 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5859 * MenuBackend.C (expandToc): gettext on float names.
5861 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5863 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5864 implement bool empty() [bug 490]
5866 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5868 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5870 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5872 * several files: ws changes
5874 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5876 * text2.C (setCounter): clean up a bit, use boost.format.
5877 (updateCounters): initialize par upon declaration.
5879 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5880 if the layout exists. We do not just store the layout any more.
5881 (SwitchLayoutsBetweenClasses): use boost.format
5883 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5885 * converter.C (convert): if from and to files are the same, use a
5886 temporary files as intermediary
5888 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5891 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5893 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5895 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5897 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5899 * tabular.C (asciiPrintCell): use string(size, char) instead of
5902 * sgml.C (openTag): fix order of arguments to string constructor
5905 * lyxfunc.C (dispatch): use boost.format
5907 * lots of files: change "c" -> 'c'
5909 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5911 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5913 2002-11-25 Angus Leeming <leeming@lyx.org>
5915 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5917 * lyx_main.C (init): compile fix.
5919 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5921 * lyx_cb.C (start): boost.formatify
5922 do not include <iostream>
5924 * lengthcommon.C: ws only
5926 * boost-inst.C,BoostFormat.h: add more explict instantations
5928 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5930 * lots of files: handle USE_BOOST_FORMAT
5932 2002-11-21 John Levon <levon@movementarian.org>
5934 * pspell.C: fix compile
5936 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5938 * lyxfunc.C (dispatch): use boost::format
5942 * lyxfont.C (stateText): use boost::format
5944 * lyx_main.C (LyX): use boost::format
5946 (queryUserLyXDir): ditto
5949 (typedef boost::function): use the recommened syntax.
5951 * importer.C (Import): use boost::format
5953 * debug.C (showLevel): use boost::format
5955 * converter.C (view): use boost::format
5960 * bufferview_funcs.C (currentState): use boost::format
5962 * bufferlist.C (emergencyWrite): use boost::format
5964 * buffer.C (readLyXformat2): use boost::format
5965 (parseSingleLyXformat2Token): ditto
5967 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5969 * LaTeX.C (run): use boost::format
5971 * Chktex.C (scanLogFile): use boost::format
5973 * BufferView_pimpl.C (savePosition): use boost::format
5974 (restorePosition): ditto
5975 (MenuInsertLyXFile): ditto
5977 * BoostFormat.h: help file for explicit instation.
5979 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5981 * tabular.C (latex): Support for block alignment in fixed width
5984 2002-11-17 John Levon <levon@movementarian.org>
5986 * BufferView_pimpl.C:
5988 * lyxfunc.C: split filedialog into open/save
5990 2002-11-08 Juergen Vigna <jug@sad.it>
5992 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5993 by my last patch (hopefully).
5995 2002-11-08 John Levon <levon@movementarian.org>
6004 * toc.C: ParConstIterator, and use it (from Lars)
6006 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6008 * lyxtextclass.[Ch]: revise and add doxygen comments
6010 2002-11-07 John Levon <levon@movementarian.org>
6012 * text.C: fix progress value for spellchecker
6014 * toc.C: fix navigate menu for insetwrap inside minipage
6016 * paragraph_funcs.C: added FIXME for suspect code
6018 2002-11-07 John Levon <levon@movementarian.org>
6020 * BufferView_pimpl.C: fix redrawing of insets
6023 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6025 * text2.C (updateCounters): fix bug 668
6027 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6029 * text3.C (dispatch): Do not make the buffer dirty when moving the
6032 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6034 * vc-backend.C: STRCONV
6037 * text2.C (setCounter): STRCONV
6039 * paragraph.C (asString): STRCONV
6041 * lyxlength.C (asString): STRCONV
6042 (asLatexString): ditto
6044 * lyxgluelength.C (asString): STRCONV
6045 (asLatexString): ditto
6047 * lyxfunc.C (dispatch): STRCONV
6050 * lyxfont.C (stateText): STRCONV
6052 * importer.C (Import): STRCONV
6054 * counters.C (labelItem): STRCONV
6055 (numberLabel): ditto
6056 (numberLabel): remove unused ostringstream o
6061 * bufferview_funcs.C (currentState): STRCONV
6063 * buffer.C (readFile): STRCONV
6064 (asciiParagraph): ditto
6065 (makeLaTeXFile): ditto
6067 * Spacing.C (writeEnvirBegin): STRCONV
6069 * LaTeXFeatures.C (getLanguages): STRCONV
6070 (getPackages): ditto
6072 (getBabelOptions): ditto
6073 (getTClassPreamble): ditto
6074 (getLyXSGMLEntities): ditto
6075 (getIncludedFiles): ditto
6079 (scanAuxFile): ditto
6082 * LString.h: add the STRCONV macros
6084 * BufferView_pimpl.C (savePosition): STRCONV
6085 (restorePosition): ditto
6086 (MenuInsertLyXFile): ditto
6088 * vc-backend.C (scanMaster): change from submatch[...] to
6091 * funcrequest.C: include config.h
6093 * factory.C: include config.h
6095 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6097 * box.C: include config.h
6099 * LaTeX.C (scanAuxFile): change from submatch[...] to
6103 2002-10-25 Angus Leeming <leeming@lyx.org>
6105 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6107 * ispell.[Ch] (setError): new method.
6108 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6109 Use setError() insetead of goto END.
6111 * lyx_cb.C (AutoSave): move out child process into new class
6114 2002-10-30 John Levon <levon@movementarian.org>
6116 * text3.C: make start appendix undoable
6118 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6120 * lyxlength.C (inPixels): Fix returned value.
6122 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6125 2002-10-24 Angus Leeming <leeming@lyx.org>
6127 * lyxgluelength.h: no need to forward declare BufferParams
6128 or BufferView, so don't.
6130 2002-10-21 John Levon <levon@movementarian.org>
6132 * BufferView.C: menuUndo ->undo, redo
6134 * BufferView.h: document, remove dead, make some methods private
6136 * paragraph_funcs.h:
6137 * paragraph_funcs.C:
6138 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6143 * sgml.C: move sgml open/close tag into sgml.C
6145 * bufferview_funcs.h: unused prototype
6148 * lyxfunc.C: remove unused
6151 * text.C: remove unused
6153 2002-10-21 John Levon <levon@movementarian.org>
6157 * BufferView_pimpl.h:
6158 * BufferView_pimpl.C: fix mouse wheel handling based on
6159 patch from Darren Freeman
6161 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6163 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6165 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6167 * lyxlength.C (inPixels): Fix hanfling of negative length.
6168 Fix LyXLength::MU case.
6170 2002-10-16 John Levon <levon@movementarian.org>
6172 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6174 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6176 * converter.C (view): add support for $$i (file name) and $$p
6177 (file path) for the viewer command. If $$i is not specified, then
6178 it is appended to the command (for compatibility with old syntax)
6180 2002-10-14 Juergen Vigna <jug@sad.it>
6182 * undo_funcs.C (textHandleUndo): alter the order in which the
6183 new undopar is added to the LyXText, as we have to set first
6184 the right prev/next and then add it as otherwise the rebuild of
6185 LyXText is not correct. Also reset the cursor to the right paragraph,
6186 with this IMO we could remove the hack in "redoParagraphs()".
6188 2002-10-09 Angus Leeming <leeming@lyx.org>
6190 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6191 to turn off an optimisation if a new inset is to be inserted.
6193 2002-10-11 André Pönitz <poenitz@gmx.net>
6195 * lyxtext.h: make some functions public to allow access
6196 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6198 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6200 * text3.C (dispatch): when changing layout, avoid an infinite loop
6203 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6205 * lyxrc.C (read): treat a viewer or converter command of "none" as
6208 * MenuBackend.C (expandFormats): for an update, also allow the
6209 formats that are not viewable
6211 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6212 script if it is newer than the lyxrc.defaults in user directory
6214 2002-10-07 André Pönitz <poenitz@gmx.net>
6216 * text.C: Vitaly Lipatov's small i18n fix
6218 2002-09-25 Angus Leeming <leeming@lyx.org>
6220 * ispell.h: doxygen fix.
6222 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6224 * buffer.h (readFile): Add a new argument to the method, to allow
6225 reading of old-format templates.
6227 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6229 * toc.C (getTocList): Get TOC from InsetWrap.
6231 2002-09-16 John Levon <levon@movementarian.org>
6233 * lyxfunc.C: check tabular for cut/copy too
6235 2002-09-12 John Levon <levon@movementarian.org>
6240 * factory.C: add header
6242 * paragraph_funcs.h:
6243 * paragraph_funcs.C: cleanup
6245 2002-09-11 John Levon <levon@movementarian.org>
6247 * PrinterParams.h: odd/even default to true
6249 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6251 * PrinterParams.h: update printer parameters for new xforms dialog
6253 2002-09-11 Angus Leeming <leeming@lyx.org>
6255 * lyxserver.C (read_ready): re-write to make it more transparent
6256 and to make it work in coherent fashion under Tru64 Unix.
6258 2002-09-11 André Pönitz <poenitz@gmx.net>
6262 * text3.C: implement LFUN_WORDSEL
6264 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6266 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6267 make floatlist_ a boost::shared_ptr<FloatList>
6269 * lyxtextclass.C: include FloatList.h
6270 (LyXTextClass): initialize floatlist_
6271 (TextClassTags): add TC_NOFLOAT
6272 (Read): match "nofloat" to TC_NOFLOAT and use it.
6273 (readFloat): modify call to floatlist_
6277 * FloatList.[Ch] (FloatList): remove commented out float
6279 (erase): new function
6281 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6283 * MenuBackend.C (expandToc): fix crash when there is no document
6286 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6288 * many files: Add insetwrap.
6290 2002-09-09 John Levon <levon@movementarian.org>
6292 * text2.C: remove confusing and awkward depth wraparound
6294 2002-09-09 John Levon <levon@movementarian.org>
6296 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6299 * buffer.C: remove getIncludeonlyList()
6302 * lyxfunc.C: remove headers
6304 2002-09-09 Juergen Vigna <jug@sad.it>
6306 * text.C (getColumnNearX): fix form Michael this is most
6307 probably a cut&paste bug.
6309 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6311 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6313 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6314 references, ws changes.
6316 * text2.C (init): update counters after init
6317 (insertParagraph): no need to set counter on idividual paragraphs.
6318 (setCounter): access the counters object in the textclass object
6319 on in the buffer object.
6320 (updateCounters): ditto
6322 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6323 shared_ptr<Counters> to avoid loading counters.h in all
6325 (LyXTextClass): initialize ctrs_
6326 (TextClassTags): add TC_COUNTER, and ...
6327 (Read): use it here.
6328 (CounterTags): new tags
6329 (readCounter): new function
6330 (counters): new funtion
6331 (defaultLayoutName): return a const reference
6333 * counters.C (Counters): remove contructor
6334 (newCounter): remove a couple of unneeded statements.
6335 (newCounter): simplify a bit.
6336 (numberLabel): some small formatting changes.
6338 * buffer.[Ch]: remove all traces of counters, move the Counters
6339 object to the LyXTextClass.
6341 2002-09-06 Alain Castera <castera@in2p3.fr>
6343 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6344 package to set the horizontal alignment on fixed width columns.
6347 * lyx_sty.h: added tabularnewline macro def.
6349 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6351 2002-09-06 John Levon <levon@movementarian.org>
6353 * LyXAction.C: tooltips for sub/superscript
6355 * MenuBackend.C: a bit more verbose
6357 * lyxfunc.C: tiny clean
6359 * undo_funcs.C: document undo_frozen
6361 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6363 * counters.C (Counters): add missing algorithm counter.
6365 * text2.C (setCounter): lookup the counter with layouts latexname
6366 instead of by section number.
6367 (setCounter): use a hackish way to lookup the correct enum
6369 a float name->type change
6370 reset enum couners with counter name directly instead of depth value.
6372 * counters.C (Counters): remove the push_backs, change to use the
6373 float type not the float name.
6374 (labelItem): remove unused string, float name->type change
6376 * counters.h: don't include vector, loose the enums and sects vectors
6378 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6380 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6381 (Read): add float->TC_FLOAT to textclassTags
6382 (Read): and handle it in the switch
6383 (readFloat): new function
6385 * FloatList.C (FloatList): comment out the hardcoded float
6388 * lyxlayout.h: ws change.
6390 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6392 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6394 2002-09-03 Angus Leeming <leeming@lyx.org>
6396 * BufferView_pimpl.h: qualified name is not allowed in member
6397 declaration: WorkArea & Pimpl::workarea() const;
6399 * factory.C: added using std::endl directive.
6401 * text3.C: added using std::find and std::vector directives.
6403 2002-08-29 André Pönitz <poenitz@gmx.net>
6406 * text2.C: remove unused member number_of_rows
6409 * BufferView2.C: remove file, move contents to...
6410 * BufferView.C: ... here
6412 * BufferView_pimpl.C:
6413 * factory.C: move more inset creation to factory
6415 * vspace.C: avoid direct usage of LyXText, ws changes
6418 don't provide direct access to WorkArea, use two simple
6419 acessors haveSelction() and workHeight() instead
6422 2002-08-29 John Levon <levon@movementarian.org>
6424 * BufferView_pimpl.C (dispatch): do not continue when
6427 2002-08-28 André Pönitz <poenitz@gmx.net>
6429 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6432 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6434 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6436 * buffer.C: increment LYX_FORMAT to 221
6438 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6439 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6441 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6443 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6445 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6447 * factory.C (createInset): use LyXTextClass::floats
6449 * MenuBackend.C (expandFloatListInsert):
6450 (expandFloatInsert):
6453 * text2.C (setCounter):
6455 * LaTeXFeatures.C (useFloat):
6456 (getFloatDefinitions):
6458 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6460 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6461 floatlist_, with accessor floats().
6463 * FloatList.h: remove global FloatList
6465 2002-08-26 André Pönitz <poenitz@gmx.net>
6467 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6471 * BufferView_pimpl.C:
6472 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6474 2002-08-25 John Levon <levon@movementarian.org>
6476 * LyXAction.C: fix margin note description
6478 2002-08-24 John Levon <levon@movementarian.org>
6482 * bufferview_funcs.C:
6484 * undo_funcs.C: cleanups
6486 * lyxfunc.C: disable CUT/COPY when no selection
6488 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6490 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6491 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6493 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6494 Add backward compatibility to "mono", "gray" and "no".
6496 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6498 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6499 (and file_format >= 200).
6501 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6503 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6505 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6507 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6509 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6511 * BufferView_pimpl.C:
6518 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6519 inset and code to make it work with the paragraph code. The inset
6520 can be anywhere in the paragraph, but will only do the expected
6521 thing in LaTeX if the layout file contains the parameter line
6523 (or more generally, a nonzero value) for that layout.
6525 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6527 * paragraph.h: remove the declaration of undefined counters class
6530 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6532 * text2.C (setCounter): fixed enumeration mis-count as reported by
6533 Dr. Richard Hawkins.
6535 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6537 * paragraph_funcs.h: remove some unneeded includes
6539 * text.C (backspace): pasteParagraph now in global scipe
6541 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6542 (pasteSelection): ditto
6544 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6545 * paragraph_funcs.C (pasteParagraph): ... here
6547 2002-08-20 André Pönitz <poenitz@gmx.net>
6549 * commandtags.h: new LFUNs for swapping/copying table row/colums
6552 * lyxfunc.C: support for new lfuns
6554 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6557 * buffer.[Ch]: remove NO_COMPABILITY stuff
6559 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6561 * boost.C (throw_exception): new file, with helper function for
6562 boost compiled without exceptions.
6567 * ParameterStruct.h:
6568 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6570 * bufferlist.C (emergencyWriteAll): use boost bind
6572 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6574 * text.C: include paragraph_funcs.h
6575 (breakParagraph): breakParagraph is now in global scope
6577 * paragraph_funcs.[Ch]: new files
6579 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6582 * buffer.C: include paragraph_funcs.h
6583 (insertStringAsLines): breakParagraph is now in global scope
6585 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6588 * CutAndPaste.C: include paragraph_funcs.h
6589 (cutSelection): breakParagraphConservative is now in global scope
6590 (pasteSelection): ditto
6592 * buffer.h: declare oprator== and operator!= for
6593 Buffer::inset_iterator
6595 * bufferlist.C (emergencyWrite): don't use fmt(...)
6597 * text3.C: add using std::endl
6599 * BufferView.C (moveCursorUpdate): remove default arg
6601 2002-08-20 André Pönitz <poenitz@gmx.net>
6603 * buffer.[Ch]: move inline functions to .C
6606 * BufferView_pimpl.C:
6608 * buffer.[Ch]: use improved inset_iterator
6611 * paragraph.[Ch]: write one paragraph at a time
6613 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6615 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6616 style if style is not specified.
6618 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6620 * text2.C (setCounter): when searching for right label for a
6621 caption, make sure to recurse to parent insets (so that a caption
6622 in a minipage in a figure float works) (bug #568)
6624 2002-08-20 André Pönitz <poenitz@gmx.net>
6626 * text3.C: new file for LyXText::dispatch() and helpers
6628 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6630 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6632 2002-08-19 André Pönitz <poenitz@gmx.net>
6635 * text.C: new LyXText::dispatch()
6637 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6639 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6641 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6643 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6646 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6648 * Makefile.am: use $(variables) instead of @substitutions@
6650 2002-08-15 André Pönitz <poenitz@gmx.net>
6653 * BufferView_pimpl.C: streamlining mathed <-> outer world
6657 * LyXAction.C: remove unused LFUN_MATH
6659 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6661 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6663 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6665 * paragraph.C (Paragraph): reformat a bit
6666 (cutIntoMinibuffer): use builtin InsetList function instad of
6670 * buffer.C: include boost/bind.hpp, add using std::for_each
6671 (writeFileAscii): use ParagraphList iterators
6672 (validate): use for_each for validate traversal of paragraphs
6673 (getBibkeyList): use ParagraphList iterators
6674 (resizeInsets): use for_each to resizeInsetsLyXText for all
6676 (getParFromID): use ParagraphList iterators
6678 * BufferView2.C (lockInset): use paragraph list and iterators
6680 2002-08-14 John Levon <levon@movementarian.org>
6682 * lyxserver.C: remove spurious xforms include
6684 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6686 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6688 2002-08-13 André Pönitz <poenitz@gmx.net>
6691 * lyxfunc.C: further cleaning
6693 2002-08-13 André Pönitz <poenitz@gmx.net>
6695 * funcrequest.h: new constructor
6697 * funcrequest.C: move stuff here from .h
6700 * BufferView_pimpl.C:
6703 * lyxfunc.C: subsequent changes
6705 * lyxfunc.h: new view() member function
6707 * lyxfunc.C: subsequent changes
6709 2002-08-13 Angus Leeming <leeming@lyx.org>
6712 * BufferView_pimpl.C:
6720 changes due to the changed LyXView interface that now returns references
6721 to member variables not pointers.
6723 2002-08-13 Angus Leeming <leeming@lyx.org>
6725 * WordLangTuple (word, lang_code): return references to strings,
6730 * lyxtext.h: forward-declare WordLangTuple.
6735 * text.C: #include "WordLangTuple.h".
6738 * text.C: (selectNextWordToSpellcheck): constify return type.
6740 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6746 * paragraph_pimpl.h:
6749 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6751 Made updateCounter always count from start of buffer, and removed
6752 second argument (par).
6753 Reverted floats number display to '#'. Perhaps I'll try again when the
6754 code base is sanitized a bit.
6756 2002-08-12 Angus Leeming <leeming@lyx.org>
6758 * buffer.[Ch] (getLabelList): constify.
6760 2002-08-07 André Pönitz <poenitz@gmx.net>
6762 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6764 * funcrequest.h: extension to keep mouse (x,y) position
6766 2002-08-12 Juergen Vigna <jug@sad.it>
6768 * BufferView2.C (insertErrors): forbid undo when inserting error
6771 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6773 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6775 * ParagraphList.[Ch]: new files
6777 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6779 * BufferView2.C (lockInset): ParagraphList changes
6782 * bufferlist.C: ditto
6786 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6788 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6789 unused class variable counter_,
6791 * paragraph.[Ch] (getFirstCounter): delete unused function
6793 * counters.C: include LAssert.h
6794 (reset): add a new function with no arg, change other version to
6795 not have def. arg and to not allow empty arg.
6797 * text2.C (setCounter): remove empty arg from call to Counters::reset
6799 2002-08-11 John Levon <levon@movementarian.org>
6801 * Makefile.am: add WordLangTuple.h
6803 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6805 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6806 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6808 * insets/insettext.C: InsetList changes
6810 * graphics/GraphicsSupport.C (operator()): InsetList changes
6812 * toc.C (getTocList): InsetList changes
6814 * paragraph_pimpl.[Ch]: InsetList changes
6816 * paragraph.[Ch]: InsetList changes
6818 * buffer.C (inset_iterator): InsetList changes
6819 (setParagraph): ditto
6820 * buffer.h (inset_iterator): ditto
6821 * iterators.C (operator++): ditto
6822 * iterators.h: ditto
6824 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6826 * InsetList.[Ch]: new files, most InsetList handling moved out of
6829 * BufferView2.C (removeAutoInsets): InsetList changes
6831 (ChangeInsets): ditto
6833 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6835 * paragraph_pimpl.h (empty): new function
6837 * paragraph.[Ch] (empty): new function
6839 * other files: use the new Paragraph::empty function
6841 2002-08-09 John Levon <levon@movementarian.org>
6843 * lyxtext.h: remove unused refresh_height
6845 2002-08-09 John Levon <levon@movementarian.org>
6852 * paragraph.C: move sgml char escaping out of paragraph
6855 * paragraph.C: remove id setter
6859 * paragraph_pimpl.C: remove dead tex_code_break_column
6861 * bufferview_funcs.C: small cleanup
6863 * lyxfunc.C: remove dead proto
6865 * lyxtext.h: make some stuff private. Remove some dead stuff.
6867 * lyxgluelength.C: make as[LyX]String() readable
6869 2002-08-08 John Levon <levon@movementarian.org>
6874 * ToolbarDefaults.C:
6877 * toc.C: lyxaction cleanup
6879 2002-08-08 John Levon <levon@movementarian.org>
6881 * BufferView2.C: small cleanup
6884 * lyxfind.C: move unnecessary header into the .C
6886 2002-08-08 John Levon <levon@movementarian.org>
6888 * funcrequest.h: just tedious nonsense
6891 * lyx_main.C: cleanups
6894 * vspace.C: remove dead header lyx_main.h
6896 2002-08-07 Angus Leeming <leeming@lyx.org>
6899 * paragraph_pimpl.h:
6900 Forward declare class Counters in paragraph.h by moving the ctrs member
6901 variable into Paragraph::Pimpl.
6902 (counters): new method, returning a reference to pimpl_->ctrs.
6904 * text2.C: ensuing changes.
6906 2002-08-07 John Levon <levon@movementarian.org>
6908 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6910 * BufferView_pimpl.C: announce X selection on double/triple
6913 * lyx_main.C: use correct bool in batch dispatch
6915 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6917 2002-08-07 André Pönitz <poenitz@gmx.net>
6919 * funcrequest.h: new class to wrap a kb_action and its argument
6922 * BufferView_pimpl[Ch]:
6926 * lyxrc.C: subsequent changes
6929 2002-08-07 John Levon <levon@movementarian.org>
6931 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6932 document options change.
6934 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6939 * makefile.am: move counters functionality over from
6940 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6942 2002-08-06 John Levon <levon@movementarian.org>
6944 * WordLangTuple.h: new file for word + language code tuple
6955 * BufferView2.C: use WordLangTuple
6958 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6960 2002-08-06 John Levon <levon@movementarian.org>
6962 * lyx_main.C: fix cmdline batch handling
6964 2002-08-06 André Pönitz <poenitz@gmx.net>
6966 * lyxrc.C: set default for show_banner to true
6968 2002-08-06 John Levon <levon@movementarian.org>
6970 * pspell.C: fix a crash, and allow new aspell to work
6972 2002-08-06 John Levon <levon@movementarian.org>
6975 * kbmap.C: small cleanup
6978 * vspace.C: add const
6980 2002-08-05 John Levon <levon@movementarian.org>
6982 * LyXAction.C: back to tabular-insert
6984 2002-08-04 John Levon <levon@movementarian.org>
6987 * BufferView.C: cosmetic change
6989 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6999 * BufferView2.C: purge all "Lyx" not "LyX" strings
7002 * lyxcursor.C: attempt to add some documentation
7007 * ToolbarDefaults.C:
7008 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7009 merge with LFUN_TABULAR_INSERT
7016 * pspell.C: split up i/pspell implementations into separate
7017 files, many cleanups
7019 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7021 * text2.C: some cleanup
7023 * lyxfunc.C: don't check for isp_command == "none" any more, it
7024 didn't make any sense
7026 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7031 * makefile.am: move counters functionality over
7032 from text2.C/paragraph.[Ch] to counters.[Ch], and
7034 2002-08-02 John Levon <levon@movementarian.org>
7036 * buffer.C: s/lyxconvert/lyx2lyx/
7038 2002-08-02 Angus Leeming <leeming@lyx.org>
7040 * lyxlex.C: revert John's change as it breaks reading of the user
7043 2002-08-02 Angus Leeming <leeming@lyx.org>
7045 * importer.C (Import):
7046 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7047 changes due to LyXView::view() now returning a boost::shared_ptr.
7049 2002-08-02 John Levon <levon@movementarian.org>
7051 * lyxlex.C: small cleanup
7053 2002-08-02 John Levon <levon@movementarian.org>
7055 * text2.C (status): small cleanup, no logic change
7057 2002-08-01 John Levon <levon@movementarian.org>
7060 * buffer.C (writeFile): don't output alerts, caller
7064 * lyx_cb.C: from above
7066 * lyxfunc.C: allow to open non-existent files
7068 2002-07-31 John Levon <levon@movementarian.org>
7070 * lyxserver.C: don't let incidental errors get
7073 2002-07-30 John Levon <levon@movementarian.org>
7075 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7077 2002-07-30 John Levon <levon@movementarian.org>
7080 * lyxserver.C: remove I/O callback too
7082 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7084 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7087 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7089 * many files: strip,frontStrip -> trim,ltrim,rtrim
7091 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7093 * PrinterParams.h: remove extern containsOnly, and include
7094 support/lstrings.h instead.
7096 * LaTeX.C (scanAuxFile): modify because of strip changes
7098 * buffer.C (makeLaTeXFile): ditto
7099 * bufferparams.C (writeFile): ditt
7100 * lyxfont.C (stateText): ditto
7101 * lyxserver.C (read_ready): ditto
7102 * vc-backend.C (scanMaster): ditto
7104 * BufferView_pimpl.h: ws changes
7106 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7108 2002-07-26 André Pönitz <poenitz@gmx.net>
7110 * kb_sequence.C: remove unnedred usings
7112 2002-07-26 Juergen Vigna <jug@sad.it>
7114 * lyxfind.C (LyXReplace): we have to check better if the returned
7115 text is not of theLockingInset()->getLockingInset().
7117 2002-07-25 Juergen Vigna <jug@sad.it>
7119 * lyxfind.C (LyXReplace): don't replace if we don't get the
7122 * undo_funcs.C (createUndo): remove debugging code.
7124 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7126 * buffer.C (parseSingleLyXformat2Token): Use default placement
7127 when reading old floats.
7129 * FloatList.C (FloatList): Change the default placement of figure
7130 and tables to "tbp".
7132 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7134 * MenuBackend.C: using std::max
7136 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7138 * MenuBackend.C (expandToc):
7139 (expandToc2): code moved from xforms menu frontend. It is now
7140 generic and TOCs are transparent to menu frontends.
7142 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7144 * toc.C (getTocList): protect against buf=0
7146 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7147 Menu as first parameter. Now, this calls itself recursively to
7148 expand a whole tree (this will be useful for TOC handling)
7149 (expandFloatInsert): remove 'wide' version of floats
7151 * MenuBackend.h (submenuname): returns the name of the submenu.
7152 (submenu): returns the submenu itself, provided it has been
7153 created by MenuBackend::expand
7155 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7157 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7158 insets which have noFontChange == true. (bug #172)
7160 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7162 * BufferView_pimpl.C: add connection objects and use them...
7165 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7167 * MenuBackend.C (expandLastfiles):
7170 (expandFloatListInsert):
7171 (expandFloatInsert):
7172 (expand): split expand in parts
7174 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7176 * lyx_gui.C: use lyx_gui::exit()
7178 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7180 * LyXAction.C: show the failing pseudo action
7182 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7184 * buffer.C (readFile): Run the lyxconvert script in order to read
7187 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7191 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7193 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7197 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7199 2002-07-22 Herbert Voss <voss@lyx.org>
7202 * lyxlength.[Ch]: add support for the vertical lengths
7204 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7206 * toc.[Ch]: std:: fixes
7208 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7210 * lyxrc.C: do not include lyx_main.h
7212 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7218 * BufferView2.C: include "lyxlex.h"
7221 * bufferparams.h: do not #include "lyxlex.h"
7223 * lyxtextclasslist.C (Add): remove method
7224 (classlist): renamed to classlist_
7226 * paragraph_pimpl.C:
7230 * bufferview_funcs.C:
7235 * toc.C (getTocList): use BufferParams::getLyXTextClass
7237 * toc.C (getTocList): use InsetFloat::addToToc
7239 * toc.[Ch]: new files, containing helper functions to handle table
7242 * lyxfunc.C (dispatch): no need to remove spaces around command
7244 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7245 first command of the sequence; it is not very clever, but I do not
7246 have a better idea, actually
7248 * LyXAction.C (LookupFunc): make sure to remove space at the
7249 beginning and end of the command
7251 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7253 * MenuBackend.C (getMenubar): new method: return the menubar of
7255 (read): treat differently reading of menu and menubar (in
7256 particular, the menubar has no name now)
7257 (Menu::menubar): remove
7259 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7262 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7264 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7265 a bibitem inset in a RTL paragraph.
7267 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7269 * paragraph_pimpl.C: constify
7271 * BufferView_pimpl.C:
7273 * lyxfunc.C: fix dispatch in a nicer way
7275 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7277 * lyxfunc.C (dispatch):
7278 * BufferView_pimpl.C:
7279 * BufferView_pimpl.h:
7281 * BufferView.h: rename Dispatch() to dispatch()
7283 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7285 * lyxlayout.C (Read): honor DependsOn tag
7287 * lyxlayout.[Ch] (depends_on): new method
7289 * version.C.in: update lyx_docversion
7291 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7293 * paragraph.C (validate): remove from here...
7294 * paragraph_pimpl.C (validate): ... and move here
7295 (isTextAt): make it const
7297 * buffer.C (getLists): ws cleanup
7299 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7301 * language.C (read): Use iso8859-1 encoding in latex_lang
7302 (this prevents LyX from crashing when using iso10646-1 encoding).
7304 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7306 * text2.C (toggleInset): if cursor is inside an inset, close the
7307 inset and leave cursor _after_ it
7309 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7311 * lyxfunc.C: move minibuffer completion handling out of here
7313 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7315 * BufferView_pimpl.C:
7316 * LaTeX.C: fix dispatch calls
7318 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7320 * text.C (drawChars): Fix Arabic text rendering.
7322 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7326 * lyxfunc.C: remove message-push/pop
7330 * lyxfunc.C: rationalise some code by removing verboseDispatch
7331 in favour of a bool argument to dispatch()
7333 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7335 * lyx_main.C (init): make sure to read symlinks as absolute paths
7337 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7340 * lyxfunc.C: no need for commandshortcut to be a member
7342 2002-07-15 André Pönitz <poenitz@gmx.net>
7344 * converter.C: add support for $$s (scripts from lib/scripts dir)
7345 * lyx_main.C: white space
7347 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7351 * lyxrc.C: remove second exit confirmation
7353 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7358 * BufferView_pimpl.h:
7359 * BufferView_pimpl.C:
7360 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7362 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7364 * MenuBackend.C (expand): add numeric shortcuts to document menu
7366 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7368 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7370 * lyxfont.C (setLyXFamily):
7377 * buffer.C (asciiParagraph): use ascii_lowercase
7379 2002-07-15 Mike Fabian <mfabian@suse.de>
7381 * lyxlex_pimpl.C (search_kw):
7382 * lyxlex.C (getLongString):
7383 * converter.h (operator<):
7384 * converter.C (operator<):
7385 * buffer.C (parseSingleLyXformat2Token):
7387 * ToolbarDefaults.C (read):
7388 * MenuBackend.C (checkShortcuts):
7390 * LColor.C (getFromGUIName):
7391 (getFromLyXName): use the compare_ascii_no_case instead of
7392 compare_no_case, because in turkish, 'i' is not the lowercase
7393 version of 'I', and thus turkish locale breaks parsing of tags.
7395 2002-07-16 Angus Leeming <leeming@lyx.org>
7397 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7398 now takes a Buffer const & argument.
7400 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7402 * BufferView.C (resize): check there's a buffer to resize
7404 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7406 * lyxfunc.C: remove dead code
7409 * lyxserver.C: use lyx_guii::set_read_callback
7411 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7413 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7414 an inset in a RTL paragraph.
7416 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7418 * lyxfunc.C: repaint after a font size update
7420 2002-07-15 André Pönitz <poenitz@gmx.net>
7422 * lyxlength.C: inBP should be able to return negative values
7424 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7426 * lyxfunc.C: use lyx_gui::update_fonts()
7428 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7430 * lyxfunc.C: use lyx_gui::update_color()
7432 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7438 * lyxrc.C: remove file->new asks for name option, and let
7439 buffer-new take an argument
7441 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7443 * BufferView_pimpl.C: remove unneeded extra repaint()
7445 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7447 * LyXAction.C: allow command-sequence with NoBuffer
7449 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7451 2002-07-10 Angus Leeming <leeming@lyx.org>
7453 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7455 2002-07-09 Angus Leeming <leeming@lyx.org>
7457 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7459 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7461 * lengthcommon.h: whitespace
7463 * lyxfunc.C: update scrollbar after goto paragraph
7465 * lyxtext.h: factor out page break drawing, and fix it so
7466 page break/added space paints as selected nicely
7468 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7470 * BufferView_pimpl.C: add FIXMEs, clean up a little
7472 2002-07-09 André Pönitz <poenitz@gmx.net>
7474 * lyxfont.[Ch]: support for wasy symbols
7476 2002-07-08 André Pönitz <poenitz@gmx.net>
7478 * BufferView_pimpl.C: apply John's patch for #93.
7480 2002-07-05 Angus Leeming <leeming@lyx.org>
7482 * BufferView_pimpl.C (buffer): generate previews if desired.
7484 * LColor.h: add "preview" to the color enum.
7486 * LColor.C (LColor): add a corresponding entry to the items array.
7488 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7491 2002-07-05 Angus Leeming <leeming@lyx.org>
7493 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7494 The body of the code is now in the method that is passed an ostream &
7495 rather than a file name.
7496 Pass an additional only_preamble parameter, useful for the forthcoming
7499 2002-07-03 André Pönitz <poenitz@gmx.net>
7501 * lyxfunc.C: simplify getStatus() a bit for math stuff
7503 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7505 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7507 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7509 * text.C (changeRegionCase): do not change case of all the
7510 document when region ends at paragraph end (bug #461)
7512 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7514 * paragraph.C (startTeXParParams):
7515 (endTeXParParams): add \protect when necessary
7517 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7519 * BufferView_pimpl.C (workAreaExpose): remove warning
7521 2002-06-27 Angus Leeming <leeming@lyx.org>
7523 * Makefile.am: add lyxlayout_ptr_fwd.h.
7525 2002-06-26 André Pönitz <poenitz@gmx.net>
7527 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7529 2002-06-25 Angus Leeming <leeming@lyx.org>
7531 * lyxfunc.C (dispatch): Comment out the call to
7532 grfx::GCache::changeDisplay. The method no longer exists now that the
7533 pixmap generation part of the graphics loader has been moved into
7536 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7538 * text2.C: layout as layout
7540 * text.C: layout as layout
7542 * tabular.C (OldFormatRead): layout as layout
7544 * paragraph_pimpl.C (TeXDeeper): layout as layout
7545 (realizeFont): layout as layout
7547 * paragraph.C (writeFile): layout as layout
7548 (validate): layout as layout
7549 (getFont): layout as layout
7550 (getLabelFont): layout as layout
7551 (getLayoutFont): layout as layout
7552 (breakParagraph): layout as layout
7553 (stripLeadingSpaces): layout as layout
7554 (getEndLabel): layout as layout
7555 (getMaxDepthAfter): layout as layout
7556 (applyLayout): layout as layout
7557 (TeXOnePar): layout as layout
7558 (simpleTeXOnePar): layout as layout
7559 (TeXEnvironment): layout as layout
7560 (layout): layout as layout
7561 (layout): layout as layout
7563 * lyxtextclass.C (compare_name): new functor to work with
7564 shared_ptr, layout as layout
7565 (Read): layout as layout
7566 (hasLayout): layout as layout
7567 (operator): layout as layout
7568 (delete_layout): layout as layout
7569 (defaultLayout): layout as layout
7571 * lyxlayout_ptr_fwd.h: new file
7573 * lyxlayout.C (Read): layout as layout
7575 * lyx_cb.C (MenuInsertLabel): layout as layout
7577 * bufferlist.C (newFile): layout as layout
7579 * buffer.C (readLyXformat2): layout as layout
7580 (parseSingleLyXformat2Token): layout as layout
7581 (insertStringAsLines): layout as layout
7582 (asciiParagraph): layout as layout
7583 (latexParagraphs): layout as layout
7584 (makeLinuxDocFile): layout as layout
7585 (simpleLinuxDocOnePar): layout as layout
7586 (makeDocBookFile): layout as layout
7587 (simpleDocBookOnePar): layout as layout
7588 (getLists): layout as layout
7590 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7592 * CutAndPaste.C (cutSelection): layout as layout
7593 (pasteSelection): layout as layout
7594 (SwitchLayoutsBetweenClasses): layout as layout
7596 * BufferView_pimpl.C (Dispatch): layout as layout
7597 (smartQuote): layout as layout
7599 * BufferView2.C (unlockInset): layout as layout
7601 2002-06-24 André Pönitz <poenitz@gmx.net>
7603 * lyxfunc.C: fix #487
7605 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7609 * lyxfunc.C: remove display_shortcuts, show_banner
7611 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7613 * Buffer_pimpl.C: oops, update on resize
7615 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7622 * BufferView.C: use repaint()
7624 * BufferView_pimpl.h:
7625 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7626 as it's a clearer description. Remove superfluous
7629 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7631 * text.C: fix bug 488. Not ideal, but getting
7632 getWord() to work properly for the insets that
7633 matter is more difficult ...
7635 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7637 * BufferView_pimpl.C:
7640 * lyxfunc.C: remove the six million index lyxfuncs to just
7641 one, and DTRT (bug 458)
7643 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7647 * BufferView_pimpl.h:
7648 * BufferView_pimpl.C: clean up resize() stuff,
7649 and unnecessary updateScreen()s
7651 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7655 * BufferView_pimpl.h:
7656 * BufferView_pimpl.C:
7659 * minibuffer.C: remove focus management of workarea,
7660 not needed. Use screen's greyOut()
7662 2002-06-17 Herbert Voss <voss@lyx.org>
7664 * converter.C: (convert) do not post a message, when converting
7665 fails, let the calling function decide what to do in this case
7667 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7669 * lyxfunc.C: tidy up a little
7671 2002-06-16 <alstrup@diku.dk>
7673 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7674 Got rid of FORMS_H_LOCATION include. Now we are
7677 2002-06-15 LyX Development team <lyx@rilke>
7679 * buffer.[Ch] (sgmlOpenTag):
7680 (sgmlCloseTag): Added support for avoiding pernicious mixed
7681 content. Return number of lines written.
7684 (makeDocBookFile): Fixed calls to sgml*Tag.
7685 Simple white space clean.
7687 (simpleDocBookOnePar): Simple white space clean.
7689 * tabular.[Ch] (docBook): Renamed to docbook and got another
7690 argument to related with the pernicious mixed content.
7692 (docbookRow): Fixed calls for docbook inset method.
7694 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7696 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7697 so it's X11 independent.
7701 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7703 2002-06-15 Lyx Development team <lyx@electronia>
7705 * intl.h: Renamed getTrans to getTransManager.
7707 2002-06-14 Angus Leeming <leeming@lyx.org>
7709 * Makefile.am: nuke forgotten stl_string_fwd.h.
7711 2002-06-12 Angus Leeming <leeming@lyx.org>
7713 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7715 2002-06-13 Angus Leeming <leeming@lyx.org>
7718 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7720 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7722 * kbmap.C (getiso): add support for cyrillic and greek
7724 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7728 * BufferView_pimpl.h:
7729 * BufferView_pimpl.C: move bogus scrolling logic
7732 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7735 * BufferView_pimpl.C: view->resize() change
7737 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7739 * BufferView_pimpl.C: topCursorVisible
7742 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7746 * lyx_gui.C: move to frontends/
7750 * lyx_main.C: changes from above
7752 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7759 * lyx_main.C: minor tidy
7761 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7763 * BufferView_pimpl.h:
7764 * BufferView_pimpl.C:
7766 * BufferView.C: make painter() const,
7769 * BufferView2.C: use screen() accessor
7772 * lyx_main.C: some minor cleanup
7774 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7776 * BufferView_pimpl.h:
7777 * BufferView_pimpl.C: remove enter/leaveView,
7780 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7785 * BufferView_pimpl.h:
7786 * BufferView_pimpl.C: only construct screen once,
7789 * lyxrc.C: remove pointless comment
7791 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7794 * BufferView.C: remove active() and belowMouse()
7796 * BufferView_pimpl.h:
7797 * BufferView_pimpl.C: use workarea() not workarea_,
7798 and make it use a scoped_ptr instead
7800 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7802 * lyx_gui.C: add debug message on BadWindow
7804 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7806 * sp_spell.C: fdopen is not part of the C++ standard.
7808 * paragraph.C (InsetIterator): use >= instead of ==
7810 2002-06-07 Angus Leeming <leeming@lyx.org>
7812 Fixes needed to compile with Compaq cxx 6.5.
7813 * BufferView_pimpl.C:
7820 * lyxtextclasslist.C:
7825 all c-library variables have been moved into namespace std. Wrap
7826 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7831 Add a using std::abs declaration.
7833 * kbmap.h (modifier_pair):
7834 * paragraph.h (InsetTable, InsetList):
7835 * lyxfont.h (FontBits):
7836 type definition made public.
7838 * bufferlist.C (emergencyWriteAll): the compiler complains that
7839 there is more than one possible lyx::class_fun template to choose from.
7840 I re-named the void specialisation as lyx::void_class_fun.
7842 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7844 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7845 the compiler is is unable to find tostr in write_attribute.
7847 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7849 * buffer.C (sgmlError): hide #warning
7851 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7853 * xtl/*: get rid of xtl, which is not in use anyway
7855 * LyXAction.C (init):
7856 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7857 were unimplemented xtl experimentation
7859 2002-06-04 André Pönitz <poenitz@gmx.net>
7861 * lyxfunc.C: disable array operation on simple formulae
7863 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7865 * converter.C: constify a bit
7867 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7869 * lyx_gui.C: check xforms version correctly
7871 2002-04-30 Herbert Voss <voss@lyx.org>
7873 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7876 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7878 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7879 attempt to register it with a VCS)
7881 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7883 * lyx_main.C (init): honor variables LYX_DIR_13x and
7886 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7890 * lyx_main.C: fix a crash on bad command line,
7891 and give a useful exit status on error
7893 * lyxfunc.C (doImport): allow -i lyx to work
7895 2002-03-30 André Pönitz <poenitz@gmx.net>
7897 * lyxfunc.C: mathed font changes
7899 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7914 * trans_mgr.h: srcdocs, and some minor cleanups
7916 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7918 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7919 call getFont all the time)
7921 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7923 * switch from SigC signals to boost::signals
7925 2002-05-29 André Pönitz <poenitz@gmx.net>
7927 * paragraph_pimpl.C (getChar): don't call size() too often...
7929 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7931 * paragraph_pimpl.C (insertChar): do not try to update tables when
7932 appending (pos == size())
7934 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7935 in order to reduce drastically the number of comparisons needed to
7936 parse a large document
7938 2002-05-29 André Pönitz <poenitz@gmx.net>
7944 * textclasslist.[Ch]:
7945 * sp_ispell.h: whitespace change
7947 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7949 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7950 lyxaction directly now.
7952 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7956 * lyxvc.C: remove unused headers
7958 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7965 * undo_funcs.C: some cleanups. Use shared_ptr
7966 and a template for the undo stacks.
7968 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7970 * BufferView_pimpl.h:
7971 * BufferView_pimpl.C:
7978 * text2.C: use key_state/mouse_state
7980 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7982 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7985 * chset.C: change include order
7986 (loadFile): use boost regex and get rid of LRegex and LSubstring
7988 * Makefile.am (BOOST_LIBS): new variable
7991 * LaTeX.C: change include order.
7992 (scanAuxFile): use boost regex and get rid of LRegex and
7996 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8001 * FontInfo.C: moved to frontends/xforms/
8004 * FontLoader.C: moved into frontends for GUIIzation
8009 * lyxfunc.C: changes from above
8011 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8013 * LColor.C: remove spurious X include
8015 * BufferView_pimpl.C:
8020 * text2.C: move font metrics to frontends/
8022 2002-05-24 Juergen Vigna <jug@sad.it>
8024 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8025 setting the undo_cursor.
8027 * ParagraphParameters.h: include local includes first.
8029 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8031 * BufferView_pimpl.C:
8032 * BufferView_pimpl.h:
8036 * screen.C: move WorkArea into frontends/
8042 * BufferView2.C: move LyXScreen into frontends/
8046 * lyx_gui.C: move lyxlookup into frontends/xforms/
8048 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8051 * BufferView_pimpl.C:
8061 * bufferview_funcs.C:
8074 * vc-backend.C: move LyX/XFormsView into frontends/
8076 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8088 * text2.C: move Painter to frontends/
8090 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8092 * buffer.C: comment out some some code that depend upon lyx_format
8095 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8096 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8098 * buffer.h (NO_COMPABILITY): turn off compability
8100 * ColorHandler.C: include scoped_array.hpp
8102 * font.C: Use more specific smart_ptr header.
8105 * ShareContainer.h: ditto
8109 * BufferView_pimpl.h: ditto
8110 * ColorHandler.h: ditto
8112 * kbmap.C (defkey): change call to shared_ptr::reset
8114 2002-05-21 Juergen Vigna <jug@sad.it>
8116 * buffer.C (insertErtContents): fix to insert ert asis if it is
8117 non empty. Skip it completely if it contains only whitespaces.
8119 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8121 * BufferView_pimpl.C:
8122 * BufferView2.C: clear selection on paste (bug 393)
8124 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8126 * DepTable.C: include ctime
8128 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8130 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8132 2002-05-14 Juergen Vigna <jug@sad.it>
8134 * text.C (breakParagraph): fixed function to honor the keepempty
8135 layout in the right maner and also to permit the right breaking
8136 algorithm on empty or non empyt keepempty paragraphs.
8138 * paragraph.C (breakParagraph): we have to check also if the par
8139 is really empty (!size()) for isempty otherwise we do the wrong
8142 2002-05-10 Juergen Vigna <jug@sad.it>
8144 * buffer.[Ch] : The following are only changes to the ert
8145 compatibility read reading old LaTeX layout and font stuff and
8146 convert it to ERTInsets.
8148 * buffer.h: added isErtInset().
8150 * buffer.C (struct ErtComp): add a fromlayout bool to check
8151 if we're inside a LaTeX layout.
8152 (isErtInset): new helper function.
8153 (insertErtContents): look for other ert insets before this one
8154 and insert the contents there, so that we don't have subsequent
8155 ERT insets with nothing between them. This way we create only one
8156 inset with multiple paragraphs. Also check if we don't insert only
8157 spaces ' ' as they are ignored anyway afterwards in the .tex file
8158 so if we have only spaces we will ignore this latex part in the
8160 (parseSingleLyXformat2Token \\layout): better compatibility when
8161 reading layout-latex stuff.
8162 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8164 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8165 stuff after reading the inset only get the information back from
8168 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8170 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8172 * LaTeXFeatures.C (getBabelOptions): New method.
8174 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8176 * BufferView_pimpl.C (Dispatch): work around missing argument for
8179 2002-05-08 Juergen Vigna <jug@sad.it>
8181 * text.C (leftMargin): handle paragraph leftindent.
8183 * paragraph.C (writeFile): write the new \\leftindent tag.
8184 (validate): handle leftindent code.
8185 (TeXEnvironment): handle paragraphleftindent code again.
8187 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8189 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8190 for paragrap_extra indent code and new token \\leftindent.
8191 (latexParagraphs): handle the leftindent as environment.
8193 * ParameterStruct.h: added leftindent support.
8195 * ParagraphParameters.C (leftIndent): added support functions for
8196 the paragraph left indent.
8198 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8201 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8203 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8206 * text.C (computeBidiTables): No bidi in insetERT.
8208 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8211 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8213 * version.C.in: pre 5
8215 2002-05-02 José Matos <jamatos@fep.up.pt>
8216 * buffer.C (makeDocBookFile): white space changes, add newline to
8218 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8220 * tabular.C (docBook): fix typo.
8222 2002-05-03 Juergen Vigna <jug@sad.it>
8224 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8225 change in LyXText as we can not be sure it was not freed.
8226 (drawOneRow): remove unused code.
8228 * text.C (drawInset): redo the calculation of the need_break_row as
8229 it could have a row which was already freed.
8230 (draw): look at the return value of drawInset and return false if
8231 it also returned false.
8232 (paintRowText): look at the return value of draw and return false if
8233 it also returned false.
8235 * lyxtext.h: added bool return type to drawInset() and draw() so that
8236 if we have a change in the row so that the rowbreak has to be redone
8237 we abort drawing as it will be called again.
8239 2002-05-02 Juergen Vigna <jug@sad.it>
8241 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8242 a change in the maintext also if we're inside an inset.
8243 (Dispatch): set the cursor again after a break line and after the
8244 screen has been updated as it could be we're in a different row.
8246 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8247 to set the cursor behind the pargraph with > size().
8248 (setCursor): check also for the same paragraph when checking where
8249 to put the cursor if we have a NFR inset.
8251 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8252 parts of layout read further up as it still was in the wrong
8255 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8257 * screen.C (drawFromTo): change sine fullRebreak always return
8260 * buffer.C (parseSingleLyXformat2Token): reindent some
8262 * BufferView_pimpl.C (update): change since fullRebreak always
8264 (Dispatch): git rid of the last hardcoded "Standard"s.
8266 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8268 * text2.[Ch] (fullRebreak): make it return void now that we always
8271 2002-04-30 Juergen Vigna <jug@sad.it>
8273 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8274 ert compatibility check for "latex" layout.
8276 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8278 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8279 minipages: use col% instead of p%, and also use the current font.
8280 (makeLaTeXFile): Fix use babel condition.
8281 (parseSingleLyXformat2Token): Correct font when reading old floats.
8283 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8285 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8286 inserting list of floats.
8288 2002-04-25 Herbert Voss <voss@lyx.org>
8290 * MenuBackend.C (expand): don't add the graphics extensions to the
8293 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8295 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8296 non-existing layout, do not complain if it was the default layout
8297 of the original class (bug #342)
8299 2002-04-24 Juergen Vigna <jug@sad.it>
8301 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8302 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8304 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8306 * buffer.C (getBibkeyList): If using \bibliography, return the
8307 option field with the reference itself. Enables us to provide natbib
8308 support when using \bibliography.
8310 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8312 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8314 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8315 natbib is provided by the LaTeX class.
8317 2002-04-23 Juergen Vigna <jug@sad.it>
8319 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8322 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8324 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8326 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8328 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8329 ensuremath around textordmasculine, textordfeminine and
8332 2002-04-19 Juergen Vigna <jug@sad.it>
8334 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8335 reinitializing the buffer otherwise row-dimensions may be wrong.
8336 (update): reset also the selection cursors if they do exits otherwise
8337 their x/y positions may be wrong.
8339 * text2.C (cursorDown): don't enter the inset if we came from a row
8340 above and are one row over the inset.
8342 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8343 really leaving an inset.
8345 2002-04-18 Juergen Vigna <jug@sad.it>
8347 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8348 of the selected paragraph does not have the selected layout also if
8351 * text2.C (setLayout): fixed bug which did not change last selected
8354 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8355 changed the read and substituted \\end_float with \\end_inset!
8357 * BufferView_pimpl.C (cursorPrevious):
8358 (cursorNext): fixed to make it work with rows heigher than the work
8359 area without moving the cursor only the draw of the row.
8360 (workAreaMotionNotify): fix jumping over high rows.
8362 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8364 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8367 2002-04-16 Juergen Vigna <jug@sad.it>
8369 * text2.C (setCursor): set also the irow().
8370 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8372 (cursorDown): support for locking an inset if the x_fix value goes
8373 inside it. That way I can transverse insets too with cursor up/down.
8375 * lyxrow.h: added irow helper function same as other (i) functions.
8377 * BufferView_pimpl.C (cursorPrevious):
8378 (cursorNext): fixed for insets!
8380 2002-04-15 Juergen Vigna <jug@sad.it>
8382 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8383 position otherwise it is wrong in some cases.
8385 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8386 inside the inset before the call.
8388 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8390 * buffer.[Ch] (getBibkeyList): make it const.
8392 2002-04-12 Juergen Vigna <jug@sad.it>
8394 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8396 * text2.C (getCursorX): new helper function
8397 (setCursor): compute also ix_
8398 (setCursorFromCoordinates): set also ix.
8400 * lyxcursor.h: added ix_ and helper functions.
8402 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8404 * buffer.C (insertStringAsLines): dont break paragraph if the this
8405 paragraph is inside an inset which does not permit it!
8407 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8408 also with no chars on this paragraph.
8409 (paintRowText): only paint stuff if it's inside the workarea!
8411 * paragraph.C (breakParagraph): honor keepempty flag and break the
8412 paragraph always below not above.
8414 * BufferView2.C (unlockInset): update the paragraph layout on inset
8415 unlock as we changed paragraph in such a case.
8417 * lyxfind.C (LyXFind): clear the former selection if not found!
8419 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8420 again called in insertChar().
8422 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8423 an inset which uses the whole row!
8424 (rightMargin): ditto.
8425 (insertChar): force a rebreak if we inserted an inset!
8427 2002-03-28 Herbert Voss <voss@lyx.org>
8429 * lyxlength.[Ch]: add inBP() to get the right PS-point
8430 units (BigPoint). With inPixels we have rounding errors
8432 2002-04-11 Juergen Vigna <jug@sad.it>
8434 * text2.C (setCursorFromCoordinates): set iy to the right value.
8435 (setCursor): add check if row->previous exists!
8437 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8438 an old float_type as this was the case in the old code!
8440 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8442 * BufferView2.C (showLockedInsetCursor): use iy
8443 (fitLockedInsetCursor): ditto
8445 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8446 locked insets as there we have the right value now.
8448 * lyxcursor.C: added iy_ variable and iy functions to set to the
8449 baseline of cursor-y of the locked inset.
8451 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8452 (setCursor): fixed for insets which need a full row.
8454 * text.C (rowLastPrintable): don't ignore the last space when before
8455 an inset which needs a full row.
8456 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8457 as last character of a row when before a inset which needs a full row.
8459 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8461 * version.C.in: update date
8463 * text2.C (fullRebreak): try to always return true and see what
8466 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8468 * MenuBackend.C (expand): use Floating::listName
8470 * FloatList.C (FloatList): add listName argument to the built-in
8473 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8474 text associated with the float.
8476 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8478 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8480 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8482 * ShareContainer.h: add a couple of missing typenames.
8484 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8486 * lyxrc.C (getDescription): use _() correctly rather than N_().
8488 2002-03-28 Herbert Voss <voss@lyx.org>
8490 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8491 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8493 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8495 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8496 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8498 2002-03-29 Juergen Vigna <jug@sad.it>
8500 * lyxfunc.C (dispatch): add a missing fitCursor call.
8502 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8503 it was scrolled by a cursor move, so return the bool status.
8505 * BufferView.C (fitCursor): return the bool flag also to the outside
8506 world as this is needed.
8508 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8510 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8511 call the edit() as it is not needed (and wrong) IMO.
8512 (workAreaButtonPress): set the screen_first variable before evt.
8513 unlock the inset as this may change screen_first and then we have
8514 a wrong y position for the click!
8516 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8518 * MenuBackend.C (expand): another translation that I missed
8520 2002-03-28 Juergen Vigna <jug@sad.it>
8522 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8524 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8526 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8528 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8530 * MenuBackend.C (expand): fix export/view/update when there is no
8533 2002-03-27 Herbert Voss <voss@lyx.org>
8535 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8538 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8540 * bufferview_funcs.C (currentState): only show paragraph number
8541 for is DEVEL_VERSION is set.
8543 * lyxfunc.C (dispatch): put warning in INFO channel
8545 * MenuBackend.C (expand): translate the name of floats
8547 * FloatList.C (FloatList): mark the float names for translation
8549 * converter.C (convert): use LibScriptSearch
8551 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8553 * MenuBackend.C (defaults): fix default menu (we might as well get
8556 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8558 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8561 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8563 * lyxvc.C: reorder includes.
8565 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8567 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8570 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8572 * CutAndPaste.C: change layouts earlier on paste
8573 to avoid crashing when calling getFont()
8575 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8577 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8580 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8582 * WorkArea.C: remove 'Pending' debug message.
8584 * most files: ws cleanup
8586 * buffer.[Ch]: ws changes
8588 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8590 2002-03-21 Juergen Vigna <jug@sad.it>
8592 * tabular.C (SetMultiColumn): collapse also the contents of the
8593 cells and set the last border right. Added a Buffer const * param.
8595 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8597 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8600 2002-03-19 Juergen Vigna <jug@sad.it>
8602 * text2.C (clearSelection): reset also xsel_cache.
8604 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8605 where it needs to be called (John tells us to do so too :)
8606 (selectionLost): reset sel_cache.
8608 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8610 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8612 * text2.C (setCursorIntern): put debuging code in INSETS channel
8614 2002-03-19 André Pönitz <poenitz@gmx.net>
8616 * lyxfunc.C: tiny whitespace change
8618 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8620 * ToolbarDefaults.C (init):
8621 * LyXAction.C (init):
8623 * BufferView_pimpl.C (Dispatch):
8624 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8626 2002-03-19 Allan Rae <rae@lyx.org>
8628 * exporter.C (Export): removeAutoInsets before doing anything else.
8629 While I've just introduced a dependency on BufferView this really is
8630 the best place to clean the buffer otherwise you need to cleanup in
8631 a dozen places before calling export or cleanup in a dozen functions
8634 * converter.C (runLaTeX):
8635 (scanLog): Better handling of removeAutoInsets and screen updates.
8637 * lyxfunc.C (dispatch): small whitespace changes
8639 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8641 * WorkArea.C (C_WorkAreaEvent): return a value.
8642 (event_cb): return 1 if we handled the event, 0 otherwise.
8644 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8646 2002-03-18 Juergen Vigna <jug@sad.it>
8648 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8649 (GetAdditionalWidth): ditto.
8653 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8654 inset if we're there actually (probably not used right now but this
8655 is the direction to go for unifying code).
8656 (paste): disable code to clear the selection.
8658 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8659 inside an InsetText and move the check further up as it is in the
8662 * text2.C (pasteSelection): set a selection over the pasted text.
8664 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8666 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8667 and libgraphics to build on Cygwin.
8669 2002-03-15 Juergen Vigna <jug@sad.it>
8671 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8672 inserting an Inset into the paragraph. I know this is not the best
8673 fix but we already use current_view in CutAndPaste so we will remove
8674 all of it's using at the same time.
8676 * buffer.C (sgmlError): deactivated function till it is rewritten in
8677 the right mode, now it can create problems.
8679 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8680 before accessing it.
8682 2002-03-14 Juergen Vigna <jug@sad.it>
8684 * undo_funcs.C (textHandleUndo): do the right thing when updating
8685 the inset after the undo/redo.
8687 * text2.C (setCursor): just some testcode for #44 not ready yet.
8689 * undo_funcs.C (textHandleUndo): set the next() and previous()
8690 pointers of the paragraph to 0 before deleting otherwise we have
8691 problems with the Paragraph::[destructor].
8693 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8694 on a paragraph insertion.
8696 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8698 * buffer.C (asciiParagraph): use += operator for char append to
8701 * paragraph.C (getFontSettings): compare >= not just >
8702 (highestFontInRange): ditto
8705 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8707 * paragraph.C: change several algorithm to be more appripriate for
8708 the problem domain. This is lookip in FontList and in the InsetList.
8710 2002-03-13 André Pönitz <poenitz@gmx.net>
8713 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8715 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8720 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8722 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8724 * Painter.C (display): anon helper function, adjust code for this
8726 (pixmap): remove function.
8728 * Painter.h: remove private display variable.
8730 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8732 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8734 * WorkArea.[Ch]: remove figinset_canvas cruft.
8736 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8738 * lyxtextclass.C (operator): add one item cache optimization.
8740 * bufferlist.h: doxy changes
8742 * bufferlist.C: ws changes
8744 * DepTable.[Ch] (ext_exist): place const in the right spot.
8746 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8748 (workAreaExpose): call resizeInsets when the with BufferView changes.
8749 (Dispatch): adjust for protectedBlank removal
8750 (specialChar): call updateInset if the insert went ok.
8752 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8753 specialChar instead.
8755 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8757 * BufferView.h: doxy change
8759 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8761 * lyxtextclass.C (operator[]): remove non-const version
8762 (defaultLayout): remove non-const version
8764 2002-03-12 Juergen Vigna <jug@sad.it>
8766 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8767 did resize the LyXText too.
8769 * buffer.C (readLyXformat2): set layout information on newly allocated
8772 * tabular.C (OldFormatRead): set layout information on the paragraph.
8774 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8776 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8778 2002-03-11 Juergen Vigna <jug@sad.it>
8780 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8782 (resizeCurrentBuffer): force also the insets to resize themselfes.
8783 (moveCursorUpdate): fixed up for InsetText.
8785 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8788 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8789 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8790 value of Dialogs::tooltipsEnabled().
8791 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8793 2002-03-08 Juergen Vigna <jug@sad.it>
8795 * BufferView_pimpl.C (updateInset): update inset inside inset also
8796 if it isn't inside theLockingInset().
8798 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8800 * buffer.C (asciiParagraph): redo some of the word and line length
8802 (getLists): look for Caption instead of caption.
8804 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8806 * buffer.C (Buffer): initialize niceFile to true
8809 (makeDocBookFile): make sure niceFile is true on exit
8811 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8813 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8815 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8817 * LyXSendto.C: remove.
8818 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8819 * lyx_gui.C: remove now-redundant comment.
8820 * ColorHandler.h: remove forward declaration of class WorkArea.
8821 * lyxfunc.C: remove #include "WorkArea.h".
8823 2002-03-07 Juergen Vigna <jug@sad.it>
8825 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8826 got moved away with the DEPM and also set the inset_owner always
8827 right which before could have been omitted.
8829 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8831 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8832 wanted layout is not found.
8834 2002-03-07 Juergen Vigna <jug@sad.it>
8836 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8838 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8840 * paragraph.C (breakParagraph): use default layout not layout of
8842 (Paragraph): clear ParagraphParameters.
8844 2002-03-06 Juergen Vigna <jug@sad.it>
8846 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8847 otherwise it would not be a valid lenght. Fixed a special case in
8848 the minipage compatibility read where we end the document with a
8851 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8852 was set as it could be 0 for InsetTexts first entry.
8854 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8856 * paragraph.C (writeFile): if layout is empty write out
8857 defaultLayoutName().
8859 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8860 file without named layout we set layout to defaultLayoutName().
8862 2002-03-06 Juergen Vigna <jug@sad.it>
8864 * CutAndPaste.C (copySelection): set layout for new paragraph.
8866 * text.C (prepareToPrint): leave ERT inset left aligned
8867 (leftMargin): don't indent paragraphs inside ERT insets
8869 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8871 * paragraph.C (breakParagraph): dont call clear do the work manually
8873 * paragraph.[Ch] (clear): remove function
8875 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8877 * paragraph.C (Paragraph): dont call clear, the work has already
8880 * lyxtextclass.C (operator): assert if n is empty
8882 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8883 work manually instead.
8885 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8887 * BufferView_pimpl.C: protect selectionLost against text == 0
8889 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8891 * text.C (breakParagraph): fix a setting layout to '0' problem.
8893 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8895 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8896 final location of file, for the included files, and graphics.
8898 2002-03-05 Juergen Vigna <jug@sad.it>
8900 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8902 2002-03-04 Juergen Vigna <jug@sad.it>
8904 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8906 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8907 last column of multicolumn cells.
8908 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8910 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8912 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8913 file if it doesn't go to a temporary file.
8915 * buffer.C (sgmlOpenTag):
8916 (sgmlCloseTag): remove extra newline insertion.
8918 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8920 * text.C (getRowNearY): comment out debug msg
8922 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8924 * text2.C: first -> first_y
8926 * text.C (getRowNearY): add some attemts at a possible
8927 optimization, not working.
8929 * tabular.[Ch]: add BufferParams to several function so that newly
8930 created paragraph can be initialized to he default layotu for the
8933 * tabular-old.C (ReadOld): add buf->params to call of Init
8935 * screen.C: rename text->first to text->first_y
8937 * paragraph.C (breakParagraph): always set layout in the broken
8940 * lyxtextclass.C (Read): remove lowercase
8943 (delete_layout): ditto
8945 * lyxtext.h: rename first -> first_y
8947 * lyxlayout.C (Read): remove lowercase
8950 (obsoleted_by): ditto
8952 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8954 * buffer.C (insertErtContents): add params are to InsetERT
8955 (parseSingleLyXformat2Token): add code to check if a paragraphs
8956 layout really exist.
8957 (parseSingleLyXformat2Token): add params to several inset
8959 (asciiParagraph): remove lowercase, do the layout comparisons with
8962 * BufferView_pimpl.C (cursorNext): first -> first_y
8963 (resizeCurrentBuffer): first -> first_y
8964 (updateScrollbar): first -> first_y
8965 (scrollCB): first -> first_y
8966 (workAreaMotionNotify): first -> first_y
8967 (workAreaButtonPress): first -> first_y
8968 (checkInsetHit): first -> first_y
8969 (cursorPrevious): first -> first_y
8970 (cursorNext): first -> first_y
8971 (Dispatch): add buffer_->params to severl inset contructors
8973 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8975 * lyxlayout.C (Read): remove some debug info that I forgot.
8977 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8978 clean up the code slightly.
8979 (makeLinuxDocFile): ditto
8980 (makeDocBookFile): ditto
8982 * text2.C: layout as string
8984 * text.C: layout as string
8986 * paragraph_pimpl.C: layout as string
8988 * paragraph.[Ch]: layout as string
8990 * lyxtextclasslist.[Ch]: layout as string
8992 * lyxtextclass.[Ch]: layout as string
8994 * lyxtext.h: layout as string
8996 * lyxlayout.[Ch]: layout as string
8998 * lyx_cb.C: layout as string
9000 * bufferview_funcs.C: layout as string
9002 * bufferparams.C: layout as string
9004 * buffer.C: layout as string
9006 * LyXView.[Ch]: layout as string
9008 * LaTeXFeatures.[Ch]: layout as string
9010 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9012 * BufferView_pimpl.C: change current_layout to string, remove
9017 (workAreaButtonRelease): layout as string
9019 * BufferView2.C (unlockInset): adjust
9021 * vspace.C (asLatexCommand): use an explict temp variable.
9023 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9025 * Makefile.am: use FRONTEND_*
9027 2002-03-01 Juergen Vigna <jug@sad.it>
9029 * tabular.C (SetWidthOfMulticolCell): changed to something better
9030 I hope but still work in progress.
9031 (recalculateMulticolumnsOfColumn): renamed function from
9032 recalculateMulticolCells as it is more appropriate now.
9033 (SetWidthOfCell): calculate multicols better.
9035 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9037 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9039 * lyxfunc.C (processKeySym): print sequence also if it is
9040 `deleted' (complete)
9042 * kbsequence.C (print): print sequence even if it is deleted
9043 (complete would be a better word, actually).
9045 * lyxfunc.C (dispatch): print complete options after a prefix key
9047 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9049 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9051 * text2.C (setCharFont): eliminate setCharFont code duplication.
9053 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9055 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9056 LFUN_TABULAR_FEATURE (bug #177)
9058 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9060 * Makefile.am: remove figure.h
9062 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9064 * Bufferview_pimpl.C:
9076 * text2.C: remove #include "lyx_gui_misc.h".
9078 * LaTeX.C: added #include <cstdio>
9080 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9082 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9083 that the paragraph following this one can have.
9085 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9087 * vspace.C (asLatexCommand): fix bogus gcc warning
9089 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9091 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9093 * text2.C (setLayout): get rid of redundant code
9095 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9097 * text2.C (incDepth): make sure depth cannot be increased beyond
9100 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9102 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9103 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9105 * PainterBase.h (image):
9106 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9109 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9113 * BufferView_pimpl.C:
9114 * BufferView_pimpl.h:
9134 * sp_spell.C: remove fig inset, and the crap house of
9135 cards that follows it
9137 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9143 * nt_defines.h: move .h into support/
9145 * vms_defines.h: remove
9147 * WorkArea.C: add space in debug output
9151 * buffer.C: add WITH_WARNINGS
9155 * bufferlist.C: s/retrive/retrieve/, add docs
9166 * lyxgui.C: add ID to X error handler
9168 * lyxtestclass.c: fix typo
9170 2002-02-26 Juergen Vigna <jug@sad.it>
9172 * tabular_funcs.C (write_attribute): changed so that some default
9173 attributes are not written at all.
9174 (getTokenValue): set default values before trying to read the
9175 value so we have the return value always set as default if we don't
9176 find the token we search for.
9178 * tabular.C (Write): write bools as bools not as strings!
9180 2002-02-22 Juergen Vigna <jug@sad.it>
9182 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9183 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9185 * text.C (leftMargin): don't add an indent for paragraphs inside
9186 tabular cells (fix #208).
9188 2002-02-21 José Matos <jamatos@fep.up.pt>
9190 * tabular.C (docBook): fixed support for long tables.
9192 2002-02-20 Juergen Vigna <jug@sad.it>
9194 * text2.C (getFont): get the drawing font of the Inset if this
9195 paragraph is inside an inset (only important for InsetERT for now).
9197 * buffer.C (insertErtContents): use new lanugage params in ERT
9200 * CutAndPaste.C: commenting out seemingly uneeded code.
9202 2002-02-19 Allan Rae <rae@lyx.org>
9204 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9205 Iterators might be simple to use but they also get invalidated.
9206 (removeAutoInsets): renamed saved cursor tracking variables and added
9207 some comments to clarify what everything does.
9209 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9216 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9217 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9220 * vc-backend.h: remove #include "support/syscall.h"
9224 * converter.C: rearrange #includes in Lars' approved fashion.
9226 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9227 forward declare class Timeout in the header file.
9229 * XFormsView.C: changes due to the above.
9231 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9234 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9235 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9237 2002-02-18 José Matos <jamatos@fep.up.pt>
9239 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9242 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9244 * a lot of small ws changes
9245 * add a lot of using std::XXX
9246 * use std construcs some places where approp.
9247 * use some exisint stuff from lyxfunctional where approp.
9248 * Make file changes to use partial linking (lets test this now...)
9250 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9254 remove #include "support/syscontr.h" as it's redundant. Always has been.
9262 change Systemcalls::System to Systemcalls::Wait and
9263 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9264 No change of functionality, just reflects the stripped down Systemcalls
9267 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9269 * debug.[Ch]: add a GRAPHICS type to the enum.
9271 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9273 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9275 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9278 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9280 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9281 match the changes below.
9283 * text2.C (toggleInset): if there is not editable inset at cursor
9284 position, try to see if cursor is _inside_ a collapsable inset
9287 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9289 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9290 document menu has a nice checkbox
9292 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9294 * lyxlength.C (asLatexString): change PW to output as percent of
9297 * lengthcommon.C: change '%' to 't%'
9299 * lyxfunc.C (dispatch): a few comments from Martin
9301 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9305 * BufferView_pimpl.h:
9306 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9309 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9311 * vspace.C (inPixels): fix compiler warning
9313 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9315 * lyxfunc.C (getStatus): fix status message for disabled commands.
9317 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9319 * BufferView_pimpl.C: fix crash on close buffer
9320 during selection (#227)
9322 2002-01-27 Herbert Voss <voss@lyx.org>
9324 * buffer.C: link old Figure to new graphic inset
9326 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9328 * FontLoader.C (getFontinfo): Change the latex font names in order
9329 to match the names of type1inst.
9331 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9333 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9335 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9338 (remove_files_with_extension): ditto
9339 (remove_file): ditto
9342 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9343 document is smaller than the work area height. Do not initialize
9344 static variables to 0.
9346 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9348 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9350 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9351 LFUN_LAYOUT_PARAGRAPHS.
9353 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9354 tabular. It is possible to provide a possible cell, which will
9355 typically be the actcell from the corresponding insettabular
9357 * lyxfunc.C (getStatus): small cleanup; disable
9358 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9361 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9363 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9365 * paragraph.C (startTeXParParams):
9366 (endTeXParParams): new methods. The LaTeX code to
9367 start/end paragraph formatting
9368 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9369 empty (fixes bug #200)
9371 * vspace.C (inPixels): adapt to the change below
9372 (inPixels): [later] more cleanups (remove unused variables)
9374 * lyxlength.C (inPixels): change to use a width and a height as
9377 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9379 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9380 Replaced with \paperwidth
9382 * DepTable.C (insert): add std:: qualifier
9384 2002-01-18 Allan Rae <rae@lyx.org>
9386 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9389 * text.C (drawInset): Turned out I didn't know enough about how
9390 rebreaking worked. This fixes most of the redraw problems. I see
9391 an occasional cursor trail when a line is broken now and the cursor
9392 placement can seem out by a few pixels also after a rebreak.
9394 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9396 * buffer.C (parseSingleLyXformat2Token): update because minipage
9397 width is now a LyXLength
9399 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9401 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9404 2002-01-17 Juergen Vigna <jug@sad.it>
9406 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9408 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9409 is set correctly and the inset is updated correctly.
9411 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9413 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9414 the beginning of the loop.
9416 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9418 * lyxrc.C: improve help for use_scalable_fonts
9420 2002-01-17 Allan Rae <rae@lyx.org>
9422 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9424 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9426 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9427 make sure to set their inset_owner to the right value (bug #171)
9429 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9432 * DepTable.C: Implement mtime checking to reduce time spent doing
9435 2002-01-16 Juergen Vigna <jug@sad.it>
9437 * tabular.C (GetAdditionalHeight): one of error fixed.
9439 * lyxrc.C (output): small fix in writing use_pspell.
9441 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9443 * sp_base.h: #include LString.h
9445 2002-01-16 Allan Rae <rae@lyx.org>
9447 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9448 Can someone check this please?
9450 * text.C (drawInset): It was possible that p.row would be removed by
9451 breakAgainOneRow upsetting a few other settings. There may be another
9452 small tweak possible by setting need_break_row = 0 when p.row has been
9453 removed but I don't know enough about the logic here.
9455 2002-01-15 Allan Rae <rae@lyx.org>
9457 * text.C (insertChar): removed conditional truism.
9459 * BufferView2.C (removeAutoInsets): More tweaks.
9460 cur_par_prev could be a stray pointer. Check for trailing empty line
9461 in case last line was cur_par and only had an error inset on it.
9463 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9465 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9468 * vc-backend.C (most methods):
9469 * exporter.C (Export):
9470 * converter.C (convert):
9472 * LyXSendto.C (SendtoApplyCB):
9473 * lyxfunc.C (dispatch):
9477 * lyx_cb.C (AutoSave):
9479 * BufferView_pimpl.C (MenuInsertLyXFile):
9480 * buffer.C (runChktex): use Buffer::filePath().
9482 * buffer.h: rename filename to filename_; rename filepath to
9483 filepath_ and make it private
9484 (filePath): new method
9486 * buffer.C (writeFile): use fileName()
9489 * lyx_main.C (init): fix starting of LyX when the binary is a
9490 link from so,ewhere else.
9492 * minibuffer.C: include <cctype> for isprint
9494 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9496 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9497 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9498 name clash with InsetCollapsable's width function.
9500 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9502 * lastfiles.C: include <iterator>
9504 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9506 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9509 * buffer.C (makeLaTeXFile): ditto.
9510 Also make loop operation more transparent.
9512 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9514 * ToolbarDefaults.C: remove trailing comma closing namespace.
9516 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9518 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9521 * trans.C (Load): comment out unused variable, allowed.
9523 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9525 * minibuffer.[Ch] (append_char): new method to recieve input from the
9526 drop-down completion browser. If a key was pressed, then recieve this
9527 char and append it to the existing string.
9528 (peek_event): modify the positioning data passed to the completion
9529 browser so that it can be placed above the minibuffer rather than below.
9530 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9532 * LyXAction.C (init): alloe error-next for readonly documents.
9534 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9537 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9539 * bufferlist.C (readFile): create the buffer _after_ checking that
9542 * lyxfunc.C (verboseDispatch): fix handling of arguments
9544 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9546 * lyxrc.C: use string::erase() instead of initializing to "".
9549 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9551 * BufferView_pimpl.h:
9552 * BufferView_pimpl.C:
9555 * text2.C: tell X when we have made a selection for copying
9557 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9559 * BufferView_pimpl.C (MenuInsertLyXFile):
9560 * lyxfunc.C (menuNew):
9562 (doImport): add shortcuts to directory buttons
9564 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9567 * lyxfunc.C (setStatusMessage):
9568 (getStatusMessage): new methods
9569 (getStatus):use setStatusMessage instead of setErrorMessage
9570 (dispatch): when function is disabled, set error message here
9571 [instead of in getStatus previously]
9573 * BufferView_pimpl.C (workAreaButtonRelease): update
9574 toolbar/menubar here too.
9576 2002-01-13 Allan Rae <rae@lyx.org>
9578 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9579 Now seems indestructible. Remaining task is to audit all other
9580 code affected by deleteEmptyParagraphMechanism. One small quirk
9581 left is that an empty document with an error in the preamble can
9582 be made to report an error but no error box appears. I don't know
9584 (removeAutoInsets): Improved comments.
9586 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9589 * Thesaurus.C: update for Aiksaurus 0.14
9591 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9593 * text2.C (firstParagraph): removed member function, all uses
9594 replaces with ownerParagraph
9595 (redoParagraphs): here
9597 (toggleAppendix): here
9598 * BufferView2.C (insertErrors): here
9599 (setCursorFromRow): here
9601 2002-01-13 Allan Rae <rae@lyx.org>
9603 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9604 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9605 There is still a way to segfault this although you may have to do this
9606 multiple times: Have an InsetERT with an unknown command in it.
9607 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9608 <down-arrow>, <Enter> again, View->DVI, BANG!
9610 * text2.C (setCursor):
9611 (deleteEmptyParagraphMechanism):
9612 * lyxtext.h (setCursor):
9613 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9614 Making use of the return value may help fix other bugs.
9616 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9618 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9620 * LyXView.C (updateMenubar): call MenuBar::update here
9621 (updateToolbar): but not here
9622 (showState): do not update toolbar/menubar
9624 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9625 should need to care about that.
9627 * lyxfunc.C (verboseDispatch): simplify a bit
9628 (getStatus): have a version which takes a pseudoaction, and
9629 another which requires a (kb_action,string).
9631 * LyXAction.C (retrieveActionArg): make it work also when action
9632 is not a pseudo-action.
9633 (getActionName): simplify a bit
9636 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9638 * lyxfunc.C (verboseDispatch): new families of methods with
9639 several ways to specify a command and a bool to indicate whether
9640 the command name and shortcut should be displayed in minibuffer
9641 (eventually, we could extend that to a finer bitmask like
9642 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9643 (dispatch): the pristine dispatch command which just, well,
9644 dispatchs! Note it still sets its result to minibuffer; I'm not
9647 * lyxfunc.h: remove setHintMessage
9649 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9651 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9653 * BufferView_pimpl.C (specialChar): delete new inset if we have
9654 not been able to insert it.
9656 * kbmap.C: revert to using int instead of kb_action, since all we
9657 are dealing with is pseudo-actions.
9659 * LyXAction.C (searchActionArg): change to return int instead of
9660 kb_action, since the result is a pseudoaction.
9662 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9664 * buffer.C (insertErtContents): Fix (partially) the font bug.
9666 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9668 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9669 as the other one is broken on my machine!
9671 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9674 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9676 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9678 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9679 reflect their actual use. Provide compatibility code for older lyxrc
9682 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9684 change names of popup font variables in line with the changes to lyxrc.C
9686 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9688 * buffer.C (asciiParagraph): avoid outputing a word twice after
9691 * lyxrc.C (getDescription): document that document_path and
9692 template_path can be empty.
9694 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9696 * LaTeXFeatures.C (getMacros):
9697 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9699 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9701 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9703 (getPackages): rename feature "floats" to "float". Use an array to
9704 iterate over 'simple' features (i.e. just a \usepackage). Add
9705 handling of "amsmath" (renamed from "amsstyle").
9707 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9709 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9712 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9714 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9715 FuncStaus::FuncStatus & FuncStaus::some_method().
9717 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9719 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9720 of the func_satus stuff. Edited and massaged in various ways by
9723 * lyxfunc.C (getStatus): use FuncStatus
9725 2002-01-08 Juergen Vigna <jug@sad.it>
9727 * text.C (nextBreakPoint): use function Inset::isChar().
9729 * paragraph.C (TeXOnePar): use function
9730 Inset::forceDefaultParagraphs.
9732 * buffer.C (latexParagraphs): use function
9733 Inset::forceDefaultParagraphs.
9735 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9737 * lyx_gui.C (init): set the style of the menu popups to
9738 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9740 2002-01-07 Juergen Vigna <jug@sad.it>
9742 * text.C (setHeightOfRow): small fix
9743 (prepareToPrint): don't look at alignment if we don't have the place
9746 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9748 * box.C: New file. Move the Box methods and functions out of box.h,
9749 following Lars' suggestion.
9751 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9753 * box.h: #include "support/LOstream.h", needed for inlined function.
9756 * lyxtextclasslist.C: added some using std declarations.
9758 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9760 * box.h: make signed dimensions to allow insets wider than
9761 the screen (bug #162)
9763 * BufferView_pimpl.C: add some insetHit debug
9765 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9767 * vc-backend.C: add FIXME
9769 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9771 * lyxfunc.C (getStatus): enable code for showing math font status
9774 2002-01-07 Juergen Vigna <jug@sad.it>
9776 * text.C (nextBreakPoint): removed debug output not needed anymore.
9778 2002-01-06 Juergen Vigna <jug@sad.it>
9780 * text.C (nextBreakPoint): fixed up this function we had this bug
9781 since ever but now hopefully we break row better.
9782 (insertChar): we have to check if an inset is the next char as it
9783 could now happen that a large inset is causing a break.
9785 2002-01-05 Juergen Vigna <jug@sad.it>
9787 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9788 if it doesn't like to be drawed.
9790 2002-01-04 Juergen Vigna <jug@sad.it>
9792 * BufferView2.C (lockInset): forgot to set a cursor.
9794 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9796 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9801 * form_maths_panel.C:
9802 * form_maths_panel.h:
9803 * form_maths_panel.fd: implemented sub- and super- buttons in math
9806 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9807 (or ^ space) to be used as in TeX (req'd by André).
9809 * lyxfunc.C: Allow ^ and _ again to be used both as
9810 super/subscript (mathed) and as themselves (in text).
9812 2002-01-03 Allan Rae <rae@lyx.org>
9814 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9815 "LyX" or the filename of the current buffer if it has one. This is a
9816 modified form of John Levon's patch.
9818 * XFormsView.C (setWindowTitle): also set icon title.
9820 * LyXView.h (setWindowTitle): signature changed.
9821 * XFormsView.h (setWindowTitle): ditto.
9823 2002-01-02 Juergen Vigna <jug@sad.it>
9825 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9827 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9829 * screen.C (topCursorVisible): introduce a temp var for
9830 text->cursor.row(), handle the case where this row is null. (kindo
9833 * text2.C (setCursor): add a couple of asserts.
9835 * paragraph.h (inset_iterator): add -> operator
9837 * paragraph.[Ch] (autoDeleteInsets): remove member function
9839 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9840 cursor pos correctly and handle inset deletion by itself.
9841 (insertErrors): move iterator declaration out of for expression
9843 * lyxtextclass.C: add <algorithm>
9845 * Makefile.am: added the new files to sources, removed layout.C
9847 * layout.C: removed file
9849 * layout.h: remove LYX_DUMMY_LAYOUT
9851 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9855 * lyxtextclass.[Ch]:
9856 * lyxtextclasslist.[Ch]: new files
9858 * include order changes to a lot of files, also changes because of
9861 2001-12-27 Juergen Vigna <jug@sad.it>
9863 * buffer.C (asciiParagraph): more fixes.
9865 * tabular.C (ascii): make ascii export support export of only the
9866 data separated by a column-delimiter.
9867 (ascii): better support for ascii export.
9869 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9871 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9873 * tabular_funcs.C: use a "using std::getline" instead of the
9874 previous fix from Angus (necessary for cxx + lyxstring)
9876 2001-12-24 Juergen Vigna <jug@sad.it>
9878 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9880 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9881 problems. First check a minipage also if we have some ert-contents
9882 (not only on par->size(), second set the right depth of the paragraph
9883 on the relink to the root-paragraph-list!
9885 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9886 which then did not anymore update the main paragraphs on undo/redo!
9888 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9890 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9891 code. Support all font-changing funcs (even those which are not in
9892 menu currently). Support for reporting font settings in
9893 mathed (disabled until Andre provides a function on mathed's side).
9895 * func_status.h (toggle): small helper function to set toggle
9898 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9900 * tabular_funcs.C: getline -> std::getline
9902 2001-12-21 Juergen Vigna <jug@sad.it>
9904 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9905 accessed and could be 0 (I couldn't generate this but it seems
9908 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9910 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9911 * tabular_funcs.h: here and include iosfwd
9913 2001-12-20 Juergen Vigna <jug@sad.it>
9915 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9916 inside inset but undo_par was.
9918 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9920 * Thesaurus.C: always include <config.h> in sources.
9924 * box.h: do not include <config.h> in header files
9926 * text.C (paintLastRow): remove unused variable
9928 * text.C (transformChar):
9930 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9933 * font.C (width): rewrite to use uppercase() instead of
9936 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9938 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9940 * lyxfind.C: clean up of find failure position change
9942 2001-12-20 Juergen Vigna <jug@sad.it>
9944 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9946 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9947 (TeXRow): added to LaTeX a single tabular row.
9948 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9949 (Latex): simplified and finally good LT-h/f support.
9950 (various_functions): just small adaptions for LT-h/f support.
9952 * tabular_funcs.[hC]: added and moved here all not classfunctions
9955 2001-12-19 Juergen Vigna <jug@sad.it>
9957 * tabular.[Ch]: better support for longtabular options (not finished
9960 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9962 * text.C (paintLastRow): use the label font instead of the font of
9963 the last character to compute the size of *_BOX. This makes more
9964 sense and avoids a crash with empty paragraphs.
9965 Use Painter::rectangle to draw EMPTY_BOX.
9967 2001-12-19 Juergen Vigna <jug@sad.it>
9969 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9970 the paragraphs if the replaced paragraph is not the first one!
9971 Tried to delete not used paragraphs but does not work yet so for
9972 now it's inside #ifdef's and by default off!
9974 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9976 * MenuBackend.C: include "lyx_main.h" instead of declaring
9977 lastfiles (actually was declared as LastFiles* instead of a
9980 2001-12-17 Juergen Vigna <jug@sad.it>
9982 * tabular.C (AppendColumn): applied John's fix
9984 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9988 * BufferView_pimpl.h:
9989 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9992 * box.h: new start of class for above
9994 * lyxfunc.C: ignore space-only minibuffer dispatches.
9995 Show the command name when it doesn't exist
9997 * minibuffer.C: don't add empty lines to the history
9999 * minibuffer.C: add a space on dropdown completion
10001 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10003 * text.C: fix line above/below drawing in insets
10005 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10007 * lyxlength.C (LyXLength): Initialize private variables.
10009 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10011 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10012 when inserting error insets.
10014 2001-12-13 Juergen Vigna <jug@sad.it>
10016 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10017 actually sometimes the before-paragraph.
10018 (setUndo): don't clear the redostack if we're not actually undoing!
10020 2001-12-06 Juergen Vigna <jug@sad.it>
10022 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10023 and fixed redoing of main paragraph, so we can use it now ;)
10025 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10027 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10029 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10032 2001-12-13 André Pönitz <poenitz@gmx.net>
10035 * undo_func.C: minor cleanup
10037 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10039 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10040 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10041 font in urw-fonts package which is marked as -urw-fontspecific and
10042 does not work (incidentally, changing the encoding in the
10043 fonts.dir of this package to -adobe-fontspecific fixes the
10046 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10047 is a crash when undoing first paragraph (Juergen, please take a
10048 look). THis does not mean the undo fix is wrong, just that it
10051 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10052 the (Paragraph*) version when needed instead of duplicating the
10055 * text.C (workWidth): use Inset::parOwner to find out where the
10056 inset has been inserted. This is a huge performance gain for large
10057 documents with lots of insets. If Inset::parOwner is not set, fall
10058 back on the brute force method
10060 * paragraph_pimpl.C (insertInset):
10061 * paragraph.C (Paragraph):
10062 (cutIntoMinibuffer): set parOwner of insets when
10063 inserting/removing them
10065 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10067 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10073 * mathed/formulabase.C:
10074 * mathed/math_cursor.[Ch]:
10075 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10078 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10080 * lyxlength.[Ch] (operator!=): new function
10082 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10084 * text.C (workWidth): use Inset::parOwner to find out where the
10085 inset has been inserted. This is a huge performance gain for large
10086 documents with lots of insets. If Inset::parOwner is not set, fall
10087 back on the brute force method
10089 * paragraph_pimpl.C (insertInset):
10090 * paragraph.C (Paragraph):
10091 (cutIntoMinibuffer): set parOwner of insets when
10092 inserting/removing them
10094 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10096 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10098 * tabular-old.C (getTokenValue):
10099 * tabular.C (getTokenValue):
10100 (write_attribute): new versions for LyXLength
10101 (everywhere): adjust the use of widths
10103 * tabular.h: change the type of widths from string to LyXLength
10105 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10107 * paragraph.C: fixed missing line number count when exporting
10108 Environments to LaTeX file
10110 * buffer.C: added informational message for checking line numbers.
10112 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10114 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10115 paragraph, do the 'double space' part, but not the 'empty
10118 * text.C (workWidth): small optimization
10119 (getLengthMarkerHeight): use minimal size for negative lengths.
10121 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10123 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10125 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10127 2001-12-11 André Pönitz <poenitz@gmx.net>
10130 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10132 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10134 * text2.C: keep selection on a setFont()
10136 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10138 * lyx_cb.C: another bv->text misuse, from insert label
10140 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10143 * kbsequence.C: re-instate nmodifier mask
10145 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10147 * lyx_main.h: make lyxGUI private.
10149 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10151 * lyxfind.C: place the cursor correctly on failed search
10153 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10155 * text.C (getLengthMarkerHeight): for small heights, the arrows
10156 are not always on top/bottom of the text
10157 (drawLengthMarker): smaller arrows; take the left margin in
10158 account; draw also vfills.
10160 (paintLastRow): remove special code for vfill and standard spaces,
10161 since everything is handled in drawLengthMarker now.
10163 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10165 * buffer.C (insertErtContents): try to handle font and language
10166 interaction a bit better.g
10168 * ColorHandler.C (updateColor): change the hash to cover the whole
10169 LColor enum, ws cleanup
10170 (getGCLinepars): ditto
10171 (getGCLinepars): only lookup in the linecache once.
10173 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10175 * iterators.C (operator++): Make the iterator more robust
10177 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10179 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10181 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10184 * text.C: better added space drawing
10186 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10189 * BufferView2.C: fix layout combo update on inset unlock
10191 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10193 * Makefile.am: don't compile unused files
10195 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10199 * LyXAction.C: remove old LFUN_LAYOUTNO
10201 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10203 * paragraph_pimpl.h:
10204 * paragraph_pimpl.C: isTextAt() doesn't need font param
10206 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10209 * lyxlex.C: little cleanup
10211 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10213 * BufferView_pimpl.C: fix insertAscii for insets
10215 2001-12-05 Juergen Vigna <jug@sad.it>
10217 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10218 set the right font on the "multi" paragraph paste!
10220 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10226 * lyxlength.C: remove out-commented code.
10228 * BufferView_pimpl:
10242 * vc-backend.C: change "while(" to "while ("
10244 * lyxlength.[Ch]: add zero function to check if length is zero or
10246 * lyxgluelength.C: use it
10248 2001-12-05 Allan Rae <rae@lyx.org>
10250 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10251 Works for 2.95.3, from what I understand of Garst's reports this should
10252 work for other g++ versions. We're screwed if the abs(int) definition
10253 changed between bugfix releases of gcc.
10255 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10257 * text.C: fix chapter label offset !
10259 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10262 * text.C: fix hfill at end of line, clean up
10264 2001-12-04 Juergen Vigna <jug@sad.it>
10266 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10267 that we force an update of the inset and it's owners if neccessary.
10269 2001-12-03 Juergen Vigna <jug@sad.it>
10271 * text.C (rowLast): simplified code
10273 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10275 * lyxfunc.C: fix show options on timeout
10277 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10279 * screen.C (topCursorVisible): scroll half a page when the cursor
10280 reached top of bottom of screen
10282 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10284 * minibuffer.C: deactivate on loss of focus
10286 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10288 * vspace.[Ch] (operator!=): add operator.
10290 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10292 * BufferView_pimpl.C: refuse to open an inset when
10293 there's a selection.
10295 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10297 * BufferView_pimpl.C: allow to click on RHS of full row insets
10299 2001-11-30 Juergen Vigna <jug@sad.it>
10301 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10302 insets for undo reasons.
10304 2001-11-28 André Pönitz <poenitz@gmx.net>
10306 * vspace.[Ch]: cosmetical changes
10308 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10318 * kbsequence.C: part re-write of old kb code
10321 * WorkArea.C: remove Lgb_bug_find_hack
10323 2001-11-30 José Matos <jamatos@fep.up.pt>
10325 * buffer.C (makeDocBookFile): add a comment to point a hack.
10326 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10327 Fixed a double write of labels.
10329 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10332 * LaTeX.h Fixed bug in LaTeX class where it would not
10333 re-run latex if no depfiles were changed, but the .dvi was removed.
10335 2001-11-28 André Pönitz <poenitz@gmx.net>
10337 * all the files from the change on 2001/11/26:
10338 use lyx::layout_type instead of LyXTextClass::size_type
10339 use lyx::textclass_type instead of LyXTextClassList::size_type
10341 2001-11-29 Juergen Vigna <jug@sad.it>
10343 * text.C: added support for paragraph::isFreeSpacing()
10345 * buffer.C: same as above
10347 * paragraph.h: inserted isFreeSpacing() function to enable
10348 FreeSpacing inside InsetERT.
10350 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10351 of the paragraph's in the cut/copy buffer to 0!
10353 * text2.C (removeRow): remove the assert as it can!
10355 * lyxtext.h: added helper function firstRow returning firstrow and
10356 made firstrow private again.
10358 * BufferView2.C (lockInset): don't relock if we're already locked!
10360 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10361 the only paragraph.
10362 (removeRow): added Assert::(firstrow)
10364 * debug.C: forgot to add INSETTEXT here.
10366 2001-11-28 Juergen Vigna <jug@sad.it>
10368 * sp_spell.C (initialize): changed error text to more general
10369 spellchecker command use (not only ispell!)
10371 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10373 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10375 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10377 * vspace.C: initialise lyxgluelength on failure
10379 2001-11-28 Allan Rae <rae@lyx.org>
10381 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10382 declaration & definition that looks like a function declaration.
10384 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10386 * BufferView2.C (copy):
10387 (copyEnvironment): do not clear the selection when doing a copy.
10389 * text.C (paintFirstRow): compilation fix
10391 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10393 * tabular.C (Latex): correct line count when writing latex.
10395 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10397 * paragraph_pimpl.h:
10398 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10401 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10405 * LColor.C: change vfillline->added_space
10407 * text.C: add markers and text for added space
10409 * vspace.C: fix comment
10411 2001-11-28 André Pönitz <poenitz@gmx.net>
10413 * paragraph.C: whitespace changes
10414 * all the other files from the change on 2001/11/26:
10415 change *::pos_type into lyx::pos_type
10417 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10419 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10420 language of the document when inserting error insets.
10422 2001-11-26 André Pönitz <poenitz@gmx.net>
10424 * BufferView_pimpl.[Ch]:
10432 * paragraph_pimpl.[Ch]:
10435 * text2.C: reduce header dependencies, introduce type for positions
10437 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10439 * <various>: change to use Alert.h
10441 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10443 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10444 when encountering an unknown token.
10445 (readLyXformat2): Show an error message if there were unknown tokens.
10447 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10450 * BufferView_pimpl.C:
10454 * text2.C: use par->isInset()
10456 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10458 * paragraph_pimpl.h:
10459 * paragraph_pimpl.C: cleanup
10461 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10463 * text2.C (removeRow):
10464 * text.C (setHeightOfRow): remove useless (and costly) call to
10467 2001-11-20 Allan Rae <rae@lyx.org>
10469 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10470 Now need Inset*::checkInsertChar() to return true for appropriate
10471 cases so that the characters in the minibuffer will actually be
10474 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10476 * text.C: change the order of the includes.
10477 (workWidth): initialize it at once.
10478 (workWidth): make maxw unsigned
10479 (setHeightOfRow): remove unused variable (inset)
10480 (selectSelectedWord): remove unused variable (inset)
10481 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10483 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10485 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10486 server is not running.
10488 (closeConnection): add debug info when server is disabled.
10490 * ColorHandler.C (getGCForeground): send debug message to GUI
10493 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10495 * kbmap.C (bind): modify because return conventions of
10496 kb_sequence::parse have changed.
10498 * kbsequence.C (parse): only ignore spaces and not any stupid
10499 control character. This avoids tests like s[i] <= ' ', which are
10500 guaranteed to fail with 8bit characters and signed chars.
10501 Change return code to string::npos when there have been no error
10502 (0 was a bad idea when error is at first character)
10504 2001-11-14 José Matos <jamatos@fep.up.pt>
10507 * buffer.C (simpleDocBookOnePar): removed unused argument.
10509 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10511 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10512 insets which are part of a word. Paragraph::isLetter takes care of
10513 that now. Use Paragraph::isInset to identify insets.
10514 (selectSelectedWord): do not test for hyphenation break.
10516 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10517 that protected spaces are considered as spaces.
10519 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10522 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10525 * lyxserver.C: fix it. and small cleanup.
10527 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10529 * BufferView_pimpl.C: use inline helpers
10532 * LaTeXFeatures.C: fix typos
10535 * Spacing.C: move spacing_string into class
10537 * ToolbarDefaults.C: move stuff into namespace anon
10539 * layout.h: update enum
10541 * lyxfunc.C: use better debug
10543 * minibuffer.h: fix typo
10547 * WorkArea.C: add and use Debug::WORKAREA
10551 * text2.C: code re-organisation, inline helpers
10553 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10555 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10556 std::vector.empty().
10558 2001-11-09 Allan Rae <rae@lyx.org>
10560 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10561 '\n's after tables. Tabular and ERT inset work now makes this no
10564 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10567 * minibuffer.C: fix crash, improve drop-down completion
10569 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10572 * lyxserver.C: invalidate fd's when doing endPipe()
10574 2001-11-08 José Matos <jamatos@fep.up.pt>
10576 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10577 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10580 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10582 2001-11-07 José Matos <jamatos@fep.up.pt>
10585 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10588 * buffer.C (sgmlOpenTag):
10589 * buffer.C (sgmlCloseTag): removed debug info.
10591 * buffer.h (sgmlOpenTag):
10592 * buffer.h (sgmlCloseTag): made public.
10594 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10596 * buffer.C (saveParamsAsDefaults):
10597 * lyx_cb.C (MenuLayoutSave): remove
10599 * LyXAction.C (init):
10601 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10603 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10605 * buffer.C (setPaperStuff): removed from here...
10607 * bufferparams.C (setPaperStuff): ... and moved there.
10609 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10613 * XFormsView.C: add support for drop-down completion
10615 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10617 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10620 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10622 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10625 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10627 * lyx_main.C: change ref to known bugs
10629 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10631 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10632 to work around older babel problems.
10634 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10636 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10638 2001-10-24 Juergen Vigna <jug@sad.it>
10640 * tabular-old.C (ReadOld): below variable changes reflected.
10642 * tabular.[Ch]: added ltType struct for longtable header/footer
10643 defines and changed all instances where they are used. Added
10644 future support for double top/bottom rows.
10646 2001-10-24 José Matos <jamatos@fep.up.pt>
10648 * buffer.h (docbookHandleCaption):
10649 * buffer.C (docbookHandleCaption): removed unused function.
10650 (makeDocBookFile): moved docbook supported version to v4.1.
10652 2001-10-24 José Matos <jamatos@fep.up.pt>
10655 * tabular.C (docbookRow): new function to export docbook code of a row.
10656 (DocBook): now honors the longtable flags.
10658 2001-10-23 José Matos <jamatos@fep.up.pt>
10661 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10662 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10664 * buffer.C (makeLinuxDocFile):
10665 (makeDocBookFile): reworked the preamble, more clean, and with
10666 support for lyx defined entities. Changed the document declaration
10667 to be more XML friendly.
10669 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10670 if we need to output XML that should be done with a filter.
10672 2001-10-22 Juergen Vigna <jug@sad.it>
10674 * sp_pspell.h (class PSpell): add alive function needed in the
10675 controller to see if the spellchecker could be started.
10677 2001-10-22 Juergen Vigna <jug@sad.it>
10679 * buffer.C (insertStringAsLines): modify the font for inserting
10680 chars in certain conditions by calling checkInsertChar(font).
10682 2001-10-19 Juergen Vigna <jug@sad.it>
10684 * text.C (workWidth): use getRow instead of wrong algorithm.
10685 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10687 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10692 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10694 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10696 * text.C (workWidth): do not search for the exact row when
10697 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10698 optimization for big documents.
10700 2001-10-18 Juergen Vigna <jug@sad.it>
10702 * text.C (workWidth): new function with added Inset * parameter.
10704 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10706 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10708 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10709 change return type of getColumnNearX.
10712 * text.C (changeRegionCase): use uppercase/lowercase instead of
10715 (rightMargin): simplify code by factoring out the uses of
10720 (appendParagraph): use Paragraph::size_type
10722 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10724 * vspace.C (asLatexString): add a missing break
10726 2001-10-15 Herbert Voss <voss@perce.de>
10728 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10730 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10732 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10735 2001-10-10 André Pönitz <poenitz@gmx.net>
10737 * lyxfunc.C: removed greek_kb_flag.
10739 2001-10-10 Herbert Voss <voss@perce.de>
10741 * lyx_main.C: delete global string help_lyxdir.
10743 2001-10-09 Herbert Voss <voss@perce.de>
10745 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10747 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10749 * lyx_main.C: added global string help_lyxdir.
10751 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10753 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10755 * lyxrc.C (set_font_norm_type): support iso8859-4
10757 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10759 * LaTeX.C (deplog): add another regex for MikTeX
10761 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10763 * lyxrc.C (set_font_norm_type): support iso8859-3
10765 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10767 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10769 * LaTeXFeatures.C: remove special case of french and index
10771 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10772 before \begin{document}). This solves several incompatibilities.
10774 2001-10-03 Garst Reese <reese@isn.net>
10776 * lyx_cb.C: change CheckTex error msg.
10778 2001-10-03 José Matos <jamatos@fep.up.pt>
10780 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10782 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10784 * .cvsignore: update
10786 * lyx_main.C (commandLineVersionInfo): use new style version info.
10788 * buffer.C (writeFile):
10790 (makeLinuxDocFile):
10791 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10793 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10795 * version.h: update to use stuff in version.C
10797 * version.C.in: new file. Contains version information determined
10798 at compile time. This is a merging of version.h and
10801 2001-10-03 Juergen Vigna <jug@sad.it>
10803 * BufferView_pimpl.C (update): don't change "dirty" status in
10806 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10808 * WorkArea.C (c-tor): re-position version string slightly.
10810 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10812 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10813 revert to previous code.
10815 WorkArea.[Ch]: (show, destroySplash): methods removed.
10817 WorkArea.C: rework code so that it's an amalgam of the codes before and
10818 after the splash screen was moved to WorkArea.
10820 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10823 * vspace.C (inPixels):
10826 * buffer.C (insertStringAsLines):
10827 (asciiParagraph): fix types to be large enough
10829 * lyxlex_pimpl.h: change member status from short to int
10831 * layout.h: fix type of endlabeltype
10834 * kbsequence.C (parse): change return type to string::size_type
10836 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10839 * Bullet.C (bulletSize):
10840 (bulletEntry): do not use short ints as parameters
10842 * BufferView2.C (insertLyXFile): change a char to an int.
10844 * WorkArea.C (WorkArea): remove unneeded floats in computation
10846 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10848 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10850 * paragraph.C (asString): Do not ignore newline/hfill chars when
10851 copying to the clipboard.
10853 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10855 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10856 after a multi-line inset.
10858 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10860 * paragraph.C (validate): Set NeedLyXFootnoteCode
10862 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10864 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10865 and decrease-error to decrease.
10867 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10869 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10870 it more readable (should be equivalent)
10872 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10874 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10876 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10878 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10879 of a cursor (row, etc.) after a character has been deleted
10880 (deleteEmptyParagraphMechanism): call the method above on _all_
10881 cursors held by the LyXText when a double space has been
10884 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10886 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10888 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10890 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10891 background. Use greyOut() and the new show() methods to toggle between
10892 the foreground and background. Add code to remove the splash after
10893 its initial showing.
10895 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10896 (create_forms): no longer call Dialogs::showSplash.
10898 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10900 * .cvsignore: add version_info.h
10902 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10904 * version_info.h.in: new file
10906 * Makefile.am: add version_info.h.in
10908 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10909 version_info.h instead of VERSION_INFO
10911 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10913 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10914 The ERT inset now returns string().
10916 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10918 * lyxtext.h, text.C (selectNextWord): renamed as
10919 selectNextWordToSpellcheck.
10921 * text.C (selectNextWordToSpellcheck): Modified to not select
10922 words inside an ERT inset.
10924 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10926 * lyx_cb.C (MenuLayoutSave): change a bit the question
10928 * sp_base.h: include <sys/types.h>
10930 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10932 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10934 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10936 * several files: fix typos in user-visible strings
10938 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10940 * text2.C (pasteSelection): do not set the selection, since it
10941 will be cleared later. Actually, the intent was to fix the way the
10942 selection was set, but I figured rmoving the code was just as good.
10944 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10946 * FontLoader.C (available): Check if font is available without
10949 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10951 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10953 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10955 * lyxrc.[Ch]: added display_graphics variable and associated code.
10957 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10959 * bufferparams.C (hasClassDefaults): new method. Returns true if
10960 the buffer parameters correspond to known class defaults
10962 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10964 * XFormsView.C (show): set minimum size to the main window.
10966 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10968 * text2.C (copySelection):
10970 * lyxfind.C (LyXReplace):
10971 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10972 LyXText::selectionAsString.
10974 * paragraph.C (asString): add "label" argument to the second form
10976 * text2.C (selectionAsString): add "label" argument and pass it to
10977 Paragraph::asString.
10979 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10981 * lyx_main.C (commandLineHelp): remove version information
10983 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10985 * lyx_main.C: add -version commandline option
10987 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10989 * paragraph.h: make the optional constructor arg required instead.
10990 some modifications to other files because of this.
10992 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10994 * lyxserver.C (C_LyXComm_callback): make it static
10996 * lyx_main.C (error_handler): make it static
10998 * lyx_gui.C (LyX_XErrHandler): make it static
11000 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11002 * WorkArea.C: make the extern "C" methods static.
11004 * Makefile.am (lyx_LDADD): simplify
11006 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11008 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11009 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11011 * LyXAction.C (init):
11012 * lyxfunc.C (dispatch): associated code removal.
11014 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11016 * lyxfont.h (isSymbolFont): shut off warning
11018 * text.C (setHeightOfRow):
11019 (getVisibleRow): fix crash with empty paragraphs which have a
11022 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11024 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11027 2001-09-04 José Matos <jamatos@fep.up.pt>
11030 * tabular.C (docbook): rename docBook method to docbook.
11032 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11034 * Makefile.am: add dependencies to main.o.
11036 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11038 * FontLoader.C (available): Return false if !lyxrc.use_gui
11040 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11042 * FontInfo.C (query):
11043 * converter.C (view):
11044 * importer.C (Import):
11045 * exporter.C (Export): Can not -> cannot.
11047 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11049 * BufferView_pimpl.C: allow to create index inset even if
11052 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11054 * buffer.C (getLists): replace boost::tie code with an explicit pair
11055 as boost::tie can break some compilers.
11057 * iterators.h: Added a std:: declaration to the return type of
11060 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11062 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11065 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11067 * iterators.[Ch]: New files. Provide paragraph iterators.
11069 * buffer.C (changeLanguage): Use paragraph iterators.
11070 (isMultiLingual): ditto
11072 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11074 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11076 * FontLoader.C: Support for cmr font.
11078 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11080 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11081 (available): New method.
11083 * FontInfo.C (getFontname): Use scalable fonts even when
11084 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11087 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11089 * converter.C (Formats::view): reverted! Incorrect fix.
11091 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11093 * converter.C (Formats::view): only output the -paper option
11094 if the dvi viewer is xdvi, thereby fixing bug #233429.
11096 2001-08-23 Herbert Voss <voss@perce>
11098 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11100 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11102 * Spacing.h (Spacing): Set space to Default on in the default
11105 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11107 * vc-backend.h (RCS::versionString): add RCS to version
11108 (CVS::versionString): add CVS to version
11110 * vc-backend.C (scanMaster): do not add CVS to version.
11111 (scanMaster): do not add RCS to version
11113 * lyxvc.C (versionString): new method
11115 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11117 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11119 * Spacing.C (set): initialize fval
11121 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11123 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11126 2001-08-16 Juergen Vigna <jug@sad.it>
11128 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11130 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11132 * BufferView_pimpl.C:
11135 * text2.C: setParagraph takes linespacing now
11137 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11139 * LyxAction.C: add internal LFUN_CITATION_INSERT
11141 * LyXView.C: actually apply fix
11143 * bufferlist.C: fix open non-existent file
11145 * lyxfind.C: fix indentation
11147 * lyxfunc.C: remove unneeded assert, fix typo
11149 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11151 * MenuBackend.C: use "Floatname List"
11153 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11155 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11156 when converting LaTeX layout to insetERT.
11157 Generate a non-collapsed float when reading old float
11159 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11161 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11164 2001-08-13 Juergen Vigna <jug@sad.it>
11166 * text.C (fill): return 0 instead of 20 as this seems to be the more
11169 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11171 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11174 2001-08-13 Juergen Vigna <jug@sad.it>
11176 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11178 (SearchBackward): comment out the unlocking of the inset_owner this
11179 should not be needed!
11181 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11183 * Many files: Remove inherit_language, and add latex_language
11185 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11186 collapsible insets.
11188 2001-08-10 Juergen Vigna <jug@sad.it>
11190 * text.C (prepareToPrint): fixed hfill-width in draw!
11192 * BufferView2.C (selectLastWord): save the selection cursor as this
11193 now is cleared in the function LyXText::clearSelection!
11195 2001-08-08 Juergen Vigna <jug@sad.it>
11197 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11198 BACKSPACE type functions.
11200 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11201 is only cutted from the document but not put in the cut-buffer, where
11202 still the old stuff should be.
11204 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11206 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11208 * tabular.C (SetWidthOfCell): fixed special case where the width
11210 (LeftLine): handle '|' in align_special.
11212 (LeftAlreadyDrawed): ditto
11213 (SetWidthOfCell): ditto
11215 2001-08-07 Juergen Vigna <jug@sad.it>
11217 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11219 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11221 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11222 * lyxlex.[hC]: ditto
11224 2001-08-06 Juergen Vigna <jug@sad.it>
11226 * text.C (getVisibleRow): fix up row clearing a bit.
11228 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11230 * minibuffer.C: make sure the X server sees the changes in the input.
11232 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11234 * paragraph.C (getFont): split into...
11235 (getLabelFont): this
11236 (getLayoutFont): and this
11237 * paragraph_pimpl.C (realizeFont): calling this
11239 * text2.C (getFont): split into...
11240 (getLayoutFont): this
11241 (getLabelFont): and this
11242 (realizeFont): all three calling this
11244 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11247 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11249 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11251 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11253 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11254 layouts from the Quote inset insertion.
11256 2001-08-03 Juergen Vigna <jug@sad.it>
11258 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11260 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11261 only if status not is already CHANGED_IN_DRAW (second level).
11263 * text.C (draw): don't set the need_break_row when inside an
11266 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11268 * buffer.C (parseSingleLyXformat2Token): handle more latex
11271 * bufferview_funcs.[hC]: change function names to
11272 begin with small char, adjust other files.
11274 2001-08-02 André Pönitz <poenitz@gmx.net>
11277 BufferView_pimpl.C: remove broken special code for math-greek
11279 2001-08-02 Juergen Vigna <jug@sad.it>
11281 * BufferView_pimpl.C (update): redone this function so that we
11282 update the text again if there was a CHANGE_IN_DRAW.
11284 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11285 (drawFromTo): added a new internal bool which is used by draw() and
11287 (general): some cursor drawing problems fixed.
11289 2001-08-01 Juergen Vigna <jug@sad.it>
11291 * lyxfind.C (LyXFind): fixed
11292 (SearchForward): ditto
11293 (SearchBackward): ditto
11295 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11296 spurius drawing of the cursor in the main area.
11298 * text2.C (status): small fix which could lead to a segfault!
11299 (clearSelection): remove unneeded BufferView param.
11301 2001-08-01 André Pönitz <poenitz@gmx.net>
11303 * lyxfunc.C: small change due to changed mathed interface
11305 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11307 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11309 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11311 * lyxfunc.c: fail gracefully if file doesn't exist
11316 * BufferView_pimpl.C: IsDirWriteable() proto changed
11318 * LyXView.C: fix updateWindowTitle() to store the last title
11320 2001-07-31 Juergen Vigna <jug@sad.it>
11322 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11323 the font (wrong since using of Paragraph::highestFontInRange).
11325 * paragraph.C (highestFontInRange): added a default_size parameter.
11327 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11328 (setHeightOfRow): reformat
11330 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11332 * converter.[hC] + affected files: move to (inital-char)lowercase
11335 * ParagraphParameters.C (ParagraphParameters): remove commented code
11337 * PainterBase.[Ch]: remove commented code
11339 * LaTeXFeatures.h: add "bool floats" for float.sty
11341 * LaTeXFeatures.C (LaTeXFeatures): init floats
11342 (require): handle float
11343 (getPackages): do it with floats
11345 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11347 * BufferView_pimpl.C (Dispatch): improve handling of
11348 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11350 * commandtags.h: #include lyxfont.h here temporarily to avoid
11353 * bufferlist.h: include LString.h here.
11355 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11357 * text2.C (getStringToIndex): new method.
11359 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11361 * *: Reduced header file dependencies all over.
11363 2001-07-30 Baruch Even <baruch@lyx.org>
11365 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11367 2001-07-29 Baruch Even <baruch@lyx.org>
11369 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11371 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11373 * ParameterStruct.h (endif): add a default constructor to make
11374 sure that all variables is initialized.
11376 * ParagraphParameters.C (ParagraphParameters): adjust
11378 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11380 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11381 index; also, check that there is something to index, and that it
11382 does not span over several paragraphs.
11383 (doubleClick): use WHOLE_WORD_STRICT for double click.
11385 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11387 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11390 2001-07-26 Baruch Even <baruch@lyx.org>
11392 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11393 an InsetFig figure, backwards compatible reading of old figure code.
11395 2001-07-27 Juergen Vigna <jug@sad.it>
11397 * text2.C: font.realize function adaption.
11399 * text.C (draw): add a warnings lyxerr text if needed.
11401 * layout.C: font.realize function adaption.
11403 * language.C: add inherit_language and implement it's handlings
11405 * bufferview_funcs.C (StyleReset): remove language parameter from
11406 font creation (should be language_inherit now).
11408 * bufferparams.C (writeFile): handle ignore_language.
11410 * paragraph.C (getFontSettings): the language has to be resolved
11411 otherwise we have problems in LyXFont!
11413 * lyxfont.C (lyxWriteChanges): added document_language parameter
11414 (update): removed unneeded language parameter
11416 * paragraph.C (validate): fixed wrong output of color-package when
11417 using interface colors for certain fonts in certain environments,
11418 which should not seen as that on the final output.
11420 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11422 * BufferView_pimpl.C:
11427 * LyXAction.C: add thesaurus support
11430 * lyxfind.C: add "once" parameter, for thesaurus, to not
11431 move to the next match
11433 2001-07-26 Juergen Vigna <jug@sad.it>
11435 * lyxfont.C (realize): honor ignore_language too!
11438 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11440 * text.C (draw): one place more for ignore_language to not draw
11443 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11445 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11447 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11449 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11450 the minipage conversion problem.
11452 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11454 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11457 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11459 * BufferView.h: don't forward declare WorkArea
11461 * BufferView.C: don't include WorkArea.h
11463 2001-07-25 André Pönitz <poenitz@gmx.net>
11467 * lyxfunc.C: new LFUN 'math-space'
11469 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11471 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11473 * text2.C (toggleInset): call open/close
11475 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11477 * lyxfunc.C (dispatch): add debug for the disabled case
11479 * font.C (buttonText): make similar to rectText
11481 * buffer.C (readInset): comment out parsing of insetlist and
11484 * PainterBase.C (rectText): small correction
11486 * BufferView_pimpl.C: comment out insettheorem and insetlist
11487 * LyXAction.C: ditto
11488 * commandtags.h: ditto
11490 2001-07-24 Juergen Vigna <jug@sad.it>
11492 * text.C (draw): honor the ignore_language.
11494 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11496 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11498 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11501 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11503 * lyxtext.h: remove unused (and unimplemented) methods
11505 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11507 * text.C (getVisibleRow): honor background color
11510 * Painter.h: remove default color argument for fillRectangle
11512 * text.C (backgroundColor): new method
11514 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11516 * text.C (getVisibleRow): adjust
11518 * font.[Ch] (rectText): new method, metrics
11519 (buttonText): new method, metrics
11521 * PainterBase.[hC]: make rectText and buttonText always draw and take
11524 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11526 * ToolbarDefaults.C (read):
11527 * MenuBackend.C (read): allow escaping in all strings
11529 * BufferView_pimpl.C (insertAndEditInset): new method.
11530 (Dispatch): use insertAndEditInset whenever appropriate.
11532 * BufferView_pimpl.C (insertNote): removed
11534 * BufferView_pimpl.C (smartQuote): new method, moved from
11535 BufferView; if an insetquote cannot be inserted, insert a '"'
11538 * BufferView2.C: remove insertCorrectQuote();
11540 * lyxfunc.C (getStatus): Add support for all remaingin
11541 inset-insert lfuns.
11543 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11545 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11546 command (necessary to pass " as parameter of self-insert.
11548 * text.C (selectWordWhenUnderCursor):
11549 (selectWord): add word_location parameter
11550 (selectWordWhenUnderCursor): same + remove special code for word
11552 (selectNextWord): use kind() to guess type of insetspecialchar,
11555 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11556 (insertErtContents): create ert insets as collapsed.
11557 (readInset): better compatibility code for Info inset.
11559 2001-07-20 Juergen Vigna <jug@sad.it>
11561 * lyxfunc.C (dispatch): use always LyXFind now!
11563 * text2.C (init): add a reinit flag so that the LyXText can be
11564 reinited instead of deleted and reallocated (used in InsetText).
11566 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11572 2001-07-18 Juergen Vigna <jug@sad.it>
11574 * text.C (selectNextWord): handle insets inside inset by calling
11575 always the bv->text functions so that we can go up the_locking_inset!
11577 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11578 in strange locations when inside an inset!
11580 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11581 handling to include insets.
11583 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11585 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11587 * LyXAction.C (init):
11589 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11590 LIGATURE_BREAK, since the name is so stupid.
11592 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11594 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11597 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11599 * sp_form.[Ch]: remove.
11601 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11603 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11606 * src/buffer.C (readInset): ditto.
11608 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11610 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11611 menuSeparator(), endOfSentenceDot(), ldots() and
11612 hyphenationPoint(), which are therefore removed.
11613 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11615 * LyXAction.C (init):
11616 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11618 * paragraph.C (getWord): removed.
11620 * BufferView_pimpl.C (Dispatch): use last word or selection for
11621 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11623 * lyx_main.C (queryUserLyXDir): do not ask before creating
11624 user_dir, except if it has been named explicitely.
11626 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11628 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11629 a document of zero size.
11631 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11633 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11634 approriately in the c-tor and in require().
11635 (getPackages): output the appropriate LaTeX for natbib support.
11637 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11638 variables "use_natbib" and "use_numerical_citations" when reading the
11640 (readInset): read the various natbib cite commands.
11641 (validate): white-space change.
11643 * bufferparams.[Ch]: new variables "bool use_natbib" and
11644 "bool use_numerical_citations".
11645 (writeFile): output them in the LyX file.
11647 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11649 * lyxfunc.C (getStatus): add support for all the inset insertion
11652 * text2.C (insertInset):
11653 * paragraph.C (insetAllowed):
11654 * BufferView_pimpl.C (insertInset): update to take in account the
11655 renaming of insertInsetAllowed
11657 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11659 * text2.C (getInset): new method. returns inset at cursor position.
11661 * BufferView_pimpl.C (Dispatch): changes because of this.
11663 * LyXAction.C (init): rename open-stuff to inset-toggle.
11665 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11667 * text2.C (toggleInset): renamed from openStuff; use
11670 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11672 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11674 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11676 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11678 * buffer.C (readLyXformat2): Add filename to the error dialog
11680 2001-07-18 Juergen Vigna <jug@sad.it>
11682 * tabular.C (GetCellNumber): put an assert here instead of the check!
11684 2001-07-17 Juergen Vigna <jug@sad.it>
11686 * BufferView_pimpl.C (toggleSelection): adapted too.
11688 * text.C (selectNextWord): adapted for use with insets.
11689 (selectSelectedWord): ditto
11691 2001-07-17 Juergen Vigna <jug@sad.it>
11693 * sp_spell.C (PSpell): fix initialitation order.
11695 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11697 * paragraph.C: spacing
11699 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11701 * sp_spell.C: repair language selection for pspell
11703 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11705 * lyxfunc.h: change more methods to begin with lower char.
11707 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11709 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11710 for unknown layouts.
11712 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11714 * buffer.C (readLyXformat2): Generate an error dialog if there are
11717 2001-07-16 Juergen Vigna <jug@sad.it>
11719 * sp_spell.C: always compile ISpell part.
11721 * lyxrc.C: added use_pspell entry and it's handling.
11723 2001-07-13 Juergen Vigna <jug@sad.it>
11725 * sp_spell.C: removed double includes.
11727 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11729 Consistent use of Lsstream.h:
11730 * Lsstream.h: added using std::stringstream for consistencies sake.
11732 * buffer.C: removed using std::stringstream
11734 * lyxfont.C (stateText):
11735 * paragraph.C (asString):
11736 * text.C (selectNextWord, selectSelectedWord):
11737 * text2.C (setCounter):
11738 * vspace.C (asString, asLatexString):
11739 std::ostringstream -> ostringstream.
11741 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11743 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11744 * commandtags.h: add LFUN_HELP_ABOUTLYX
11745 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11747 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11749 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11751 * lyx_gui_misc.C: remove spellchecker
11752 * lyxfunc.C: showSpellchecker
11754 * sp_ispell.h: added
11755 * sp_pspell.h: added
11756 * sp_spell.C: added
11757 * sp_form.[Ch]: removed
11758 * spellchecker.[Ch]: removed
11760 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11762 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11764 (simpleTeXSpecialChars): Simply print the input character without
11765 any special translation if pass_thru is set.
11767 * layout.h: Added bool pass_thru to layout class for being able to
11768 implement pass through of a paragraph for Literate Programming.
11770 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11771 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11772 * layout.C (Read): add "passthru" to list of layout tags and add
11773 code to set the pass_thru boolean when it is read.
11775 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11777 * trans_decl.h: remove allowed from KmodInfo
11779 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11780 remove allowed code
11783 * paragraph_pimpl.C (erase): use boost::prior
11785 * Painter.C (text): use data() instead of c_str() when length is
11787 * WorkArea.C (putClipboard): ditto
11788 * font.h (width): ditto
11790 * BufferView2.C: use it-> instead of (*it). for iterators
11792 * paragraph_pimpl.C: ditto
11793 * paragraph.C: ditto
11794 * minibuffer.C: ditto
11795 * language.C: ditto
11797 * encoding.C: ditto
11798 * counters.C: ditto
11799 * converter.C: ditto
11801 * Variables.C: ditto
11802 * TextCache.C: ditto
11803 * MenuBackend.C: ditto
11804 * LyXAction.C: ditto
11806 * FloatList.C: ditto
11807 * DepTable.C: ditto
11808 * ColorHandler.C (LyXColorHandler): ditto
11810 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11812 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11814 * text2.C (openStuff): reintroduce this method (which had been
11815 nuked in NEW_INSETS frenzy).
11817 * lyxfunc.C (Dispatch): when an action has not been handled, use
11818 its name in the error message, not its number.
11820 * paragraph.C (inInset): change method name to begin with lowercase.
11823 * text2.C: updates because of this.
11825 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11827 * ToolbarDefaults.C (add): add spaces in error message
11829 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11831 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11832 (readLyXformat2): rename return_par to first_par, use lyxlex's
11833 pushToken and remove the manual push handling.
11834 (parseSingleLyXformat2Token): add another ert comp. variable:
11835 in_tabular, rename return_par to first_par. handle newlines better
11837 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11839 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11841 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11843 * text2.C (getParFromID): removed
11845 * buffer.C (getParFromID): new method moved form lyxtext.
11846 * BufferView2.C (insertErrors): adjust
11847 (setCursorFromRow): adjust
11848 * BufferView_pimpl.C (restorePosition): adjust
11849 * lyxfunc.C (Dispatch): adjust
11850 * undo_funcs.C (textUndo): adjust
11852 (textHandleUndo): adjust
11853 (textHandleUndo): adjust
11855 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11857 * buffer.C: up' the LYX_FORMAT
11859 * lyxfont.h: turn NO_LATEX on as default
11861 * buffer.C (insertErtContents): new methods of tex style compability.
11862 (parseSingleLyXformat2Token): use it several places.
11863 * tabular.C (OldFormatRead): and here
11865 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11867 * text2.C: remove some commented code.
11870 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11871 * trans.C: changes because of the above.
11873 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11875 * text2.C (setCounter): Fix counters bug with bibliography layout.
11877 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11879 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11880 own member functions
11881 (simpleTeXSpecialChars): ditto
11883 2001-07-06 Juergen Vigna <jug@sad.it>
11885 * a lot of files: changed the access to LyXText::status and the
11886 call of undo-functions.
11888 * undo.[Ch]: added a inset_id to the undo informations.
11890 * undo_funcs.[Ch]: added and moved here all undo functions.
11892 * lyxtext.h: give the status enum a weight, made status_ a private
11893 variable and made accessor functions for it, removed the whole bunch
11894 of undo-functions as they are now in their own file, make some
11895 functions publically available. Added function ownerParagraph with
11898 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11899 made InInset() a const function, added getParFromID() function.
11901 * buffer.[Ch]: added const version for inset_iterator functions,
11902 added getInsetFromID() function.
11904 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11905 changed undo functions for new version.
11907 2001-07-05 Juergen Vigna <jug@sad.it>
11909 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11910 unknow mechanism does not call the proper constructor but only this
11911 one also if I request the other!?
11913 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11915 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11917 * text2.C (LyXText): use initialization lists.
11919 * lyxtext.h (Selection): initialize set_ and mark_
11920 (init): remove method
11922 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11924 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11926 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11928 * screen.[Ch]: change method names to begin with lowercase
11930 * BufferView_pimpl.C (updateScrollbar): simplify further and
11931 hopefully make it a bit faster.
11933 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11935 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11936 calling directly xforms functions.
11938 * Painter.C (Painter):
11939 * lyx_cb.C (MenuWrite):
11940 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11943 * lyx_gui.C: remove bogus guiruntime extern declaration.
11945 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11947 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11949 (redoDrawingOfParagraph): ditto
11950 (redoParagraphs): ditto
11951 (cutSelection): don't create a object for CutAndPaste use the
11952 static method directly
11953 (pasteSelection): ditto
11955 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11958 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11960 * modifications to some other files because of this.
11962 * Makefile.am (lyx_SOURCES): add XFormsView
11964 * XFormsView.[Ch]: new files
11966 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11967 the main window. Move the gui dependent stuff to XFormsView
11969 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11971 * tabular.C (GetCellInset): update cur_cell also in the row/col
11972 version of this function.
11974 * lyxfunc.C: no need to include figure_form.h here.
11980 * lyxvc.C: no need to include forms.h here.
11982 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11984 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11986 * lyxfunc.C (Dispatch):
11988 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11989 constructor argument.
11991 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11993 * paragraph.C (Paragraph): dont't clear, and just set layout.
11994 (makeSameLayout): use params's copy contructor.
11996 * ParagraphParameters.[Ch] (makeSame): delete method
11998 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12000 * Variables.[Ch]: fix indentation, rename set to isSet
12002 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12004 * lyxfunc.C (Dispatch): fix typo
12006 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12008 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12011 * bufferlist.C: include assert.h for emergencyWrite().
12013 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12015 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12016 give up at last (bug #425202) !
12018 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12024 * spellchecker.C: strip spellchecker options and bring up
12025 preferences tab instead
12027 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12029 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12030 the istringstream constructor
12032 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12034 * paragraph.C (getLayout): fix return value
12036 * paragraph.h: do not declare getLayout as inline.
12038 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12040 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12042 * lyxcursor.h (operator<): new func
12043 (operator>): new func
12044 (operator>=): new func
12045 (operator<=): new func
12047 * text.C (changeCase): use selection.start and selection.end
12048 (changeRegionCase): require from to be <= to. Require par to be a
12051 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12053 2001-06-27 Juergen Vigna <jug@sad.it>
12055 * text.C (cursorLeftOneWord): changed to return the cursor and added
12056 overlay with BufferView * parameter which calls this one.
12058 (selectWord): use new getWord function.
12059 (changeCase): renamed from changeWordCase as and extended to work
12060 also on selections.
12062 * lyxtext.h: added enum word_location
12064 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12065 changeCase as this operates now also on selections.
12067 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12069 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12071 * many files: send debug output to Debug::INFO instead of
12074 * converter.C (View):
12076 (Move): send debug output to Debug::FILES instead of console.
12078 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12080 * lyxfunc.C (getStatus): use func_status
12082 * func_status.h: new header, describing the results of
12083 LyXFunc::getStatus;
12085 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12088 2001-06-25 The LyX Project <jug@sad.it>
12090 * buffer.C (sgmlOpenTag):
12092 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12094 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12096 * text2.C: remove some dead code
12098 * tabular.C (GetCellInset): store the last cell checked (gotten)
12100 * tabular.h: add the helper for the speedup
12102 * lyxtext.h: remove some dead code
12104 2001-06-26 The LyX Project <Asger>
12106 * paragraph.C: Change export to LaTeX of alignment to
12107 \begin{center} and family for better roundtrip work with reLyX.
12109 * Tune the math drawing a bit.
12111 2001-06-25 The LyX Project <Asger>
12113 * LColor.C (LColor): New color for math background. New color
12116 2001-06-25 The LyX Project <jug@sad.it>
12118 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12120 * lyxfunc.C (Open):
12121 * bufferlist.C (newFile): do not restrict to files ending with
12124 * BufferView_pimpl.C (MenuInsertLyXFile):
12126 2001-06-24 The LyX Project <jug@sad.it>
12128 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12131 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12133 * lyxtext.h: rename most methods to begin with a small char.
12134 Lots of changes because of this.
12136 * paragraph.C (Paragraph): do not call fitToSize
12137 (erase): call Pimpl::erase
12138 (insertChar): call Pimpl::insertChar
12139 (insertInset): call Pipl::insertInset
12140 (breakParagraph): do not call fitToSize
12141 (breakParagraphConservative): do not call fitToSize
12142 (fitToSize): remove method
12144 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12146 2001-06-24 The LyX Project <Asger>
12148 * Fix Qt compilation^2
12150 2001-06-24 The LyX Project <jug@sad.it>
12152 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12153 depthHook(getDepth()-1).
12156 * ParagraphParameters.h:
12157 * ParameterStruct.h: change type of depth to unsigned int ==
12158 depth_type. Many adaptations to other files before of that.
12160 2001-06-24 The LyX Project <Asger>
12162 * Fix Qt compilation.
12164 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12166 * paragraph.h: renamed several methods to begin with small letter.
12167 several changes to many parts of the code because of this.
12169 2001-06-23 The LyX Project <jug@sad.it>
12171 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12172 rewritten to discard all double spaces when KeepEmpty is off
12173 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12174 to only handle newlines but not fiddle with spaces and friends.
12176 * lyxfunc.C (MenuNew): when doing 'new from template', use
12177 template_path as default directory
12179 2001-06-23 The LyX Project <Asger>
12181 * Clean-up of header file includes all over
12182 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12184 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12186 * paragraph.h: renamed from lyxparagraph.h
12188 2001-06-23 Asger <lyx@violet.home.sad.it>
12190 * Buffer.h: Removed Buffer::resize
12191 * BufferList.h: Removed BufferList::resize
12192 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12193 the document lazily when we change the width, or the font settings.
12195 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12197 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12199 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12201 * buffer.h: remove out of date comment
12203 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12206 * screen.C: fix "theoretical" GC leak
12208 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12210 * LaTeX.C (scanAuxFile):
12211 (deplog): remove trailing \r when reading stream (useful under
12214 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12216 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12217 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12218 and BufferView::theLockingInset(Inset*), so should use them and not
12219 access bv_->text->the_locking_inset directly.
12221 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12223 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12226 * tex-defs.h: remove old unused file
12228 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12230 * BufferView_pimpl.C: fix typo, remove minibuffer message
12231 when buffer has loaded
12233 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12235 * lyxfunc.C (Dispatch): use stringstream
12236 (MenuNew): use stringstream
12237 (Open): use stringstream
12239 * importer.C (Import): use stringstream
12241 * bufferview_funcs.C (CurrentState): use stringstream
12243 * LaTeX.C (run): use stringstream
12245 * BufferView_pimpl.C (savePosition): use stringstream
12246 (restorePosition): use stringstream
12247 (MenuInsertLyXFile): use stringstream
12249 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12262 * vspace.C: removed // -*- C++ -*- as first line.
12265 * version.h: added // -*- C++ -*- as first line.
12267 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12269 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12271 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12274 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12276 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12279 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12281 * gettext.C: include LString.h even when --disable-nls is on.
12283 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12285 * converter.h (Get): changed argument type from int to
12286 FormatList::size_type to avoid unnecessary conversion.
12288 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12291 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12293 * gettext.h: include LString.h even when --disable-nls is on.
12295 2001-06-07 Juergen Vigna <jug@sad.it>
12297 * text.C (BreakAgain): subst spaces with tabs.
12299 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12300 (resizeInsetsLyXText): set force on resizeLyXText.
12302 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12304 * gettext.h (gettext_init):
12305 (locale_init): use a real definition instead of a macro
12307 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12309 * Bufferview_pimpl.C:
12311 * LColor.C: further lcolor tidies
12313 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12315 * BufferView_pimpl.C (updateScrollbar): simplify.
12317 * BufferView2.C: don't include insets/insetinfo.h, change
12318 prototype for insertInset and call the Pimpl version. let
12319 updateInset call Pimpl version.
12321 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12322 gotoInset to BufferView::Pimpl
12324 2001-06-01 Juergen Vigna <jug@sad.it>
12326 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12327 inside a LockingInset (is the update needed at all?).
12329 2001-05-31 Juergen Vigna <jug@sad.it>
12331 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12332 here not the old one otherwise how should we compare it afterwards
12335 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12340 * FontInfo.C: bring C functions into global namespace when
12343 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12345 * LString.h: make sure config.h has been loaded before LString.h.
12347 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12348 (one for each char read by EatLine!).
12350 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12353 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12355 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12356 to the same as the par we break from
12358 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12360 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12362 * MenuBackend.C (expand): also create menu entries for wide
12363 versions of the floats.
12365 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12367 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12369 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12370 frontends/Makefile.am
12376 * tabular.C (getTokenValue): add std::
12378 * tabular-old.C (getTokenValue): add std::
12379 (getTokenValue): ditto
12380 (getTokenValue): ditto
12382 * screen.C (ToggleSelection): adjust
12384 * lyxtext.h: put selection cursors inside a Selection struct.
12386 * lyxfunc.C (moveCursorUpdate): adjust
12388 * lyxfont.C (latexWriteStartChanges): add std::
12390 * lyxfind.C: adjust
12392 * font.h: delete with(char const *, LyXFont const &)
12394 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12396 * FontInfo.C (getFontname): add std::
12398 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12399 (workAreaButtonPress): adjust
12400 (tripleClick): adjust
12402 (moveCursorUpdate): adjust
12405 * BufferView2.C (gotoInset): adjust
12407 2001-05-30 Juergen Vigna <jug@sad.it>
12409 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12410 to check pspell I add this as default as I now have new pspell
12411 libraries and they seem to use this.
12413 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12415 * text2.C (CutSelection): make the cursor valid before the call to
12418 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12420 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12421 relied on 0 terminated strings and other horrors. Bug found due to
12422 the new assert in lyxstring!
12424 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12427 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12429 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12432 * lyxfunc.C (processKeySym): change method of getting to the
12435 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12436 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12437 * BufferView_pimpl.[Ch]: here as private methods.
12439 2001-05-28 Juergen Vigna <jug@sad.it>
12441 * text.C (SetHeightOfRow): added the update() call again as it is
12442 needed to initialize inset dimensions!
12444 2001-05-16 Juergen Vigna <jug@sad.it>
12446 * text2.C (SetCharFont): Add new function with BufferView * and
12447 bool toggleall parameters for setting insets internal fonts.
12448 (SetFont): Freeze the undo as we may change fonts in Insets and
12449 all this change should be inside only one Undo!
12451 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12452 setting font's in insets as for them we have the SetFont function!
12454 2001-05-15 Juergen Vigna <jug@sad.it>
12456 * text2.C (ClearSelection): to be sure we REALLY don't have any
12459 * tabular.C (TeXCellPreamble): fixed the left border problem for
12462 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12464 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12467 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12469 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12470 LFUN_BREAKPARAGRAPH.
12472 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12473 help test to "internal only", similar for LFUN_INSERT_URL
12475 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12476 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12477 auto_region_delete and deadkeys.
12479 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12482 * LColor.C: remove some dead entries, tidy a little
12484 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12486 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12488 (Dispatch): implement LFUN_ESCAPE
12490 * commandtags.h: add LFUN_ESCAPE
12492 * LyXAction.C (init): add entry for LFUN_ESCAPE
12494 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12495 Remove commented code.
12496 (insertNote): moved here
12497 (open_new_inset): moved here
12499 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12502 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12504 * kbmap.C (findbinding): clean it up and make it work correctly.
12506 * lyx_main.C (init): do not pass argc and argv as parameters
12508 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12510 * buffer.C: fix path for OS/2 & Win32
12514 * lyx_main.C: Added os:: class.
12516 * os2_defines.h: update
12518 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12520 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12521 better by trying again with reduced state.
12523 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12525 * lyxrc.C (read): print error about invalid key sequence only when
12526 debugging (because not all latinX keysyms are known to some X
12529 * kbsequence.C (getiso): add a few std:: qualifiers
12530 (getiso): comment out extra return statement.
12532 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12534 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12536 (Dispatch): enhance the accent inset a bit. (not perfect)
12538 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12540 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12542 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12544 * bufferlist.C (emergencyWrite): fix assert() call
12546 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12548 * text.C (InsertChar): Added trivial patch to only send the "you
12549 can not do multiple spaces this way" message once during a
12552 2001-05-08 Baruch Even <baruch@lyx.org>
12554 * Makefile.am: Changed order of libraries to get LyX to link properly
12555 with the gnome frontend.
12557 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12559 * LaTeXFeatures.h: add a std:: qualifier
12561 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12563 * paragraph.C (String): use stringstream
12565 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12567 * paragraph.C (writeFile): remove footflag arg
12569 * buffer.C (makeLaTeXFile): use stringstream
12570 (latexParagraphs): remove footnot gurba
12572 * LaTeXFeatures.C (getPackages): use stringstream
12573 (getMacros): likewise
12574 (getTClassPreamble): likewise
12575 (getFloatDefinitions): new method
12577 * paragraph.C (writeFile): reindent
12580 * WorkArea.h: revert the xpos + etc changes.
12582 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12584 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12586 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12587 (pasteSelection): likewise
12588 * text2.C (CreateUndo): likewise
12590 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12592 * minibuffer.C (peek_event): temporarily reduce the functionality
12593 of the minibuffer (to allow args on lfuns)
12595 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12596 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12598 * buffer.C (readInset): add compability reading of old float
12599 lists, add reading of new style float list.
12600 (readInset): avoid reevaluation of inscmd.getCmdName()
12601 (getLists): reindent
12603 * MenuBackend.C (MenuItem): implement parsing of
12604 md_floatlistinsert and md_floatinsert.
12605 (expand::LastFiles): move initalizaton of iterators out of loop,
12606 avoid reevaluation.
12607 (expand::Documents): introduce typdedef vector<string> Strings,
12609 (expand::ExportFormats): introduce typedef vector<Format const *>
12610 Formats, and use it.
12611 (expand): implement FloatListInsert and FloatInsert.
12613 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12614 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12615 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12617 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12619 (Dispatch::LFUN_FLOAT_LIST): implement
12621 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12623 * LaTeX.C (run): Fix problem with --export code.
12625 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12627 * BufferView.[Ch] (workarea): removed.
12628 (getClipboard) new method; wrapper for workarea()->getClipboard()
12630 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12633 * WorkArea.h (width, height, xpos, ypos): These methods all
12634 returned the dimensions of the work_area sub-area of WorkArea,
12635 resulting in a position error if the WorkArea were resized. Now
12636 return the dimensions of the entire WorkArea.
12638 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12640 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12642 * LaTeX.C (deplog): correct the syntax of regex reg1
12644 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12646 * undo.C: remove !NEW_INSETS cruft
12648 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12650 * text2.C: remove !NEW_INSETS cruft
12652 * text.C: remove !NEW_INSETS cruft
12654 * tabular.C: remove !NEW_INSETS cruft
12656 * spellchecker.C: remove !NEW_INSETS cruft
12658 * lyxtext.h: remove !NEW_INSETS cruft
12660 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12662 * lyxfunc.C: remove !NEW_INSETS cruft
12664 * lyxfind.C: remove !NEW_INSETS cruft
12666 * lyx_cb.C: remove !NEW_INSETS cruft
12668 * figureForm.C: remove !NEW_INSETS cruft
12670 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12672 * buffer.[Ch]: remove !NEW_INSETS cruft
12674 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12676 * CutAndPaste.C: remove !NEW_INSETS cruft
12678 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12680 * BufferView2.C: remove !NEW_INSETS cruft
12682 * BufferView.h: remove !NEW_INSETS cruft
12684 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12686 * Lsstream.h: include LString.h before the sstream headers to
12687 fix problem with gcc 2.95.3 and lyxstring
12689 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12691 * lyx_main.C: add using directives when needed for C functions
12692 declared in std:: namespace.
12694 2001-04-27 Juergen Vigna <jug@sad.it>
12696 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12697 (SetHeightOfRow): comment out the update call should not be needed!
12699 2001-04-13 Juergen Vigna <jug@sad.it>
12701 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12702 (LyXTabular): tried to minimize operator= operations (and realized
12703 hopfully Lars wish).
12705 2001-04-27 Juergen Vigna <jug@sad.it>
12707 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12709 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12711 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12713 * buffer.C (readInset): hack to make listof algorithm work
12715 * BufferView_pimpl.C: hack to make listof algorithm work
12717 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12719 * LyXAction.C: removed all !NEW_INSETS cruft
12720 (init): moved lfun_item in method
12722 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12724 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12726 * BufferView2.C (theLockingInset): white space.
12728 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12730 * minibuffer.C: include <iostream>
12732 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12734 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12736 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12738 * text.[Ch] (TransposeChars): new method
12740 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12742 * call message directly through LyXView instead of through LyXFunc
12743 * BufferView2.C: adjust
12744 * BufferView_pimpl.C: adjust
12745 * FontLoader.C: adjust
12747 * bufferview_funcs.C: adjust
12748 * converter.C: adjust
12749 * figureForm.C: adjust
12750 * importer.C: adjust
12752 * lyx_gui_misc.C: adjust
12753 * lyxfunc.C: adjust
12756 + more files in subdirs
12758 * lyxparagraph.h (size): move up int file
12761 * adjust all uses of Assert to lyx::Assert.
12763 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12764 lyxfunctional in namespace lyx
12765 * layout.C (hasLayout): ditto
12768 (delete_layout): ditto
12769 (NumberOfClass): ditto
12770 * converter.C (GetFormat): ditto
12775 * bufferlist.C (getFileNames): ditto
12776 (emergencyWriteAll): ditto
12779 * MenuBackend.C (hasSubmenu): ditto
12782 * BufferView_pimpl.C (getInsetByCode): ditto
12784 2001-04-18 Juergen Vigna <jug@sad.it>
12786 * vspace.C (asLatexString): fixed the 100% problem.
12788 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12790 * lyxfunc.C (Dispatch):
12792 * minibuffer.h: add a few std:: qualifiers
12794 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12796 * minibuffer.[Ch]: reimplement so that commands is initiated and
12797 run from lyxfunc, simplified som handling, and made the completion
12798 and history code for complete. wip.
12800 * lyxfunc.C (processKeySym): call message
12801 (miniDispatch): new temporary method
12802 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12803 (LFUN_MESSAGE): implement
12804 (LFUN_MESSAGE_PUSH): implement
12805 (LFUN_MESSAGE_POP): implement
12806 (initMiniBuffer): the initial/defualt minibuffer message.
12808 * lyxfont.[Ch]: inline some more getters
12810 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12812 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12814 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12815 (AutoSave): use LFUN_MESSAGE
12816 (Reconfigure): ditto
12818 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12820 * figureForm.C: use LFUN_MESSAGE
12822 * converter.C (runLaTeX): use LFUN_MESSAGE
12824 * bufferview_funcs.C: use LFUN_MESSAGE
12826 (changeDepth): ditto
12828 * bufferparams.h: use boost::
12830 * bufferlist.h: inherit privately from noncopyable
12832 * bufferlist.C (loadLyXFile): remove some commented code.
12834 * buffer.C (runChktex): use LFUN_MESSAGE
12836 * ShareContainer.h: inherit privately from noncopyable
12838 * ParagraphParameters.[hC] (depth): inline it.
12840 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12842 (message): new method
12843 (messagePush): ditto
12844 (messagePop): ditto
12845 (show): init minibuffer
12846 (showState): direct call
12848 * LaTeX.[Ch]: inherit privately from noncopyable
12849 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12850 instead of WriteStatus.
12852 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12854 * BufferView_pimpl.C (buffer): don't init minibuffer
12855 (workAreaButtonPress): use LFUN_MESSAGE
12856 (workAreaButtonRelease): ditto
12857 (savePosition): ditto
12858 (restorePosition): ditto
12859 (MenuInsertLyXFile): ditto
12860 (workAreaExpose): don't init minibuffer
12861 (update): remove commented code, simplify
12863 * BufferView2.C (openStuff): use LFUN_MESSAGE
12864 (toggleFloat): ditto
12867 (copyEnvironment): ditto
12868 (pasteEnvironment): ditto
12873 (updateInset): remove some commented code
12875 * lastfiles.h: inherit privately from noncopyable
12878 * lyx_main.h: ditto
12880 * lyxlex_pimpl.h: ditto
12882 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12883 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12884 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12886 * LyXAction.h: inherit privately from noncopyable, add methods
12887 func_begin, func_end, returning iterators to the func map.
12889 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12890 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12891 (func_begin): new method
12892 (func_end): new method
12894 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12896 (copySelection): ditto
12897 (pasteSelection): ditto
12899 * BufferView.C: whitespace change
12900 * BufferView.h: inherit privately from noncopyable
12902 2001-04-16 Allan Rae <rae@lyx.org>
12904 * tabular-old.C (l_getline):
12905 * spellchecker.C (sc_check_word):
12906 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12907 an unrecognised preprocessor directive. So ensure they're wrapped.
12909 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12911 * src/exporter.C (Export): Give an error message when path to file
12914 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12916 * LaTeX.C (deplog): Always check that foundfile exists.
12918 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12921 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12923 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12925 * tabular.[Ch] (getLabelList): implement new method
12927 * minibuffer.h: comment ouf setTiimer
12929 * minibuffer.C (ExecutingCB): constify res
12930 (peek_event): constify s
12931 (Set): constify ntext
12932 (Init): constify nicename
12934 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12936 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12937 (savePosition): use two params to Minibuffer::Set
12938 (restorePosition): ditto
12940 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12942 * lyx_main.C: include language.h
12944 * Makefile.am (lyx_main.o): add language.h
12946 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12952 * CutAndPaste.C: include gettext.h
12954 * lyxfont.h: remove old hack with ON and OFF.
12957 * lyxfont.h: do not include language.h...
12962 * bufferview_funcs.C:
12968 * paragraph.C: ... but do it here instead
12970 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12972 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12974 * tabular.C: small reformat
12976 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12979 (BreakParagraph): ditto
12980 (SetOnlyLayout): ditto
12983 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12986 * lastfiles.C: removed most using decl, add std:: where needed
12988 * buffer.C: ws changes
12990 * MenuBackend.C (class compare_format): put into anon namespace
12991 (expand): constify label, names, action, action2
12994 * text.C (SingleWidth): constify font
12995 (IsBoundary): constify rtl2
12996 (GetVisibleRow): constify ww
12998 * LaTeX.C (deplog): constify logfile
13000 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13002 (workAreaExpose): constify widthChange, heightChange
13004 * lyxrow.C (par): moved
13007 * lyxrow.h: as inlines here
13009 * lyxfont.h (shape): moved from lyxfont.C
13010 (emph): moved from lyxfont.C
13012 * lyxfont.C (LyXFont): use initialization list for all
13014 (shape): move to lyxfont.h as inline
13015 (emph): move to lyxfont.h as inline
13018 2001-04-04 Juergen Vigna <jug@sad.it>
13020 * vspace.C: had to include stdio.h for use of sscanf
13022 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13025 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13026 independent of xforms.
13028 2001-04-02 Juergen Vigna <jug@sad.it>
13030 * spellchecker.C: fixed namespace placing!
13032 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13034 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13035 the LyXParagraph * is 0.
13037 2001-03-29 Juergen Vigna <jug@sad.it>
13039 * vspace.C: added support for %, c%, p%, l%.
13040 (stringFromUnit): added helper function.
13041 (asLatexString): changed to give right results for the %-values.
13043 * buffer.C: convert the widthp in a width%.
13045 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13047 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13050 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13051 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13053 * lyx_cb.[Ch]: see above.
13055 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13059 * lyx.[Ch]: replaced by figure_form.[Ch].
13063 * lyxfunc.C: changed headers associated with above changes.
13065 2001-03-27 Juergen Vigna <jug@sad.it>
13067 * BufferView_pimpl.C: set the temporary cursor right!
13069 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13071 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13073 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13075 * LString.h: removed "using std::getline"!
13077 * BufferView_pimpl.C (Dispatch): changes due to changes in
13078 InsetInclude::Params.
13080 * buffer.C (tag_name): removed redundant break statements as they were
13081 producing lots of warnings with my compiler.
13083 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13085 * LString.h: add "using std::getline" when using the real <string>.
13087 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13089 * buffer.C: removed bitset usage.
13090 PAR_TAG moved to an anonymous name space.
13091 (tag_name): new funtion, also in the anonymous namespace.
13092 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13093 (makeDocBookFile): clean code. Completed transition from string arrays
13095 (SimpleDocBookOnePar): code clean.
13097 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13099 * tabular.C: add some comments.
13101 2001-03-22 Juergen Vigna <jug@sad.it>
13103 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13104 compatibility read a bit and fixed bug with minipage in different
13107 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13109 * buffer.C (pop_tag): removed.
13110 (push_tag): removed.
13111 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13112 array replaced with vector. Added support for CDATA sections.
13113 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13115 (makeDocBookFile): XML conformant declaration of CDATA section,
13116 fixed bug related to <emphasis> in the first paragraph char.
13117 (sgmlOpenTag): exclude empty tags.
13118 (sgmlCloseTag): ditto.
13120 * buffer.h (pop_tag): removed.
13121 (push_tag): removed.
13123 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13125 * language.h (Languages): added size_type and size().
13127 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13129 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13130 response on compability reading of minipages. One probliem is that
13131 the old usage of minipages was «flertydig»
13133 * several files here and in subdirs: don't use static at file
13134 scope use anon namespaces instead.
13136 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13138 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13139 LaTeX output. This is necessary for Literate document
13142 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13144 * buffer.C: insert hfill when needed.
13146 * tabular.C (l_getline): use string::erase, small whitespace change.
13148 * BufferView_pimpl.C: try the anon namespace.
13149 * WorkArea.C: ditto
13151 2001-03-16 Juergen Vigna <jug@sad.it>
13153 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13154 otherwise it won't open options-dialogs.
13156 * buffer.C: honor pextraWidth(p) on converting minipages.
13158 * tabular.C (l_getline): changed the functions to strip trailing \r.
13160 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13162 * BufferView_pimpl.C:
13163 * minibuffer..C: added "using SigC::slot" declaration.
13165 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13167 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13173 * paragraph.C: ditto
13175 * lyxtext.h: NO_PEXTRA
13177 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13179 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13180 * ParameterStruct.h: ditto
13181 * ParagraphParameters.h: ditto
13182 * lyxparagraph.h: ditto
13184 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13186 * buffer.C: add compability for minipage alignment.
13187 (latexParagraphs): remove unwanted pextra check.
13189 * several files: remove CXX_WORKING_NAMESPACES
13191 * buffer.C (pop_tag): tie is in namespace boost
13193 * BufferView.h: noncopyable is in namespace boost
13195 * lyx_main.h: ditto
13198 * lastfiles.h: ditto
13199 * bufferlist.h: ditto
13200 * ShareContainer.h: ditto
13202 * LyXAction.h: ditto
13205 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13207 * Merging changes from BRANCH_MVC back into HEAD.
13209 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13211 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13213 * BufferView_pimpl.C: change from intl.C
13217 * Makefile.am: move combox.*
13223 * intl.C: remove dialog (covered by prefs)
13225 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13227 * lyxfunc.C (Dispatch): removed redundant break statement.
13229 2001-03-14 Juergen Vigna <jug@sad.it>
13231 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13233 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13235 * buffer.C: add hack to fix compability reading of minipages.
13237 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13239 * buffer.C (getLists): Cleanup.
13241 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13243 * lyxfont.C (update): don't honor toggleall on font size.
13245 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13249 * Makefile.am: moved to frontends/xforms/
13253 * BufferView_pimpl.C: changes for moved mathpanel
13255 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13257 * gettext.h: fix gettext_init() in --disable-nls
13259 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13261 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13263 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13266 * lyx.h: strip external form
13268 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13270 * BufferView_pimpl.C: add comment, destroySplash()
13272 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13274 * BufferView_pimpl.C:
13278 * lyxfunc.C: use re-worked insetinclude
13280 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13282 * buffer.C: add using std::stringstream.
13284 * lyx_cb.C: readd using std::ios.
13286 * buffer.C: add using std::map.
13288 * BufferView_pimpl.C: add using std::vector.
13290 * ShareContainer.h: add std:: to swap.
13292 * buffer.h: add some typedefs
13293 * buffer.C (getLists): use them
13294 (getLists): renamed from getTocList.
13295 add a counter for the different float types and use it in the
13297 (getLists): use the same counter for the NEW_INSETS and the "non"
13300 * lyx_cb.h: remove unused items, includes, using etc.
13302 * ShareContainer.h: remove some commented code, add more comments
13303 and "documentation".
13305 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13307 * buffer.C (getTocList): make the list also when NEW_INSETS is
13310 * buffer.h: remove TocType
13312 * buffer.C (getTocList): change to return a map<string,
13313 vector<TocItem> >, implement for dynamic number of list.
13315 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13316 * text2.C (PasteSelection): adjust
13317 * CutAndPaste.C (pasteSelection): adjust
13319 * FloatList.C (FloatList): update from the new_insets branch.
13320 * Floating.[Ch]: ditto
13321 * LaTeXFeatures.C: ditto
13323 * lyxlex_pimpl.C: ditto
13325 * paragraph.C (Last): remove when NEW_INSETS is defined.
13327 * other file: changes because of the above.
13329 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13331 * lyxparagraph.h: rename next to next_, previous to previous_,
13332 make them private for NEW_INSETS. Rename Next() to next(),
13333 Previous() to previous().
13335 * other files: changes because of the above.
13337 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13340 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13343 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13345 * main.C (main): pass lyx_localedir to gettext_init().
13347 * gettext.h: remove locale_init and gettext_init macros
13349 * gettext.C (locale_init): new function
13350 (gettext_init): new function
13352 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13355 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13357 * Moved credits to frontends:
13358 * credits.[Ch]: removed
13359 * credits_form.[Ch]: removed
13360 * lyx_gui_misc.C: remove credits stuff
13363 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13365 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13367 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13368 unneeded destructor.
13370 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13371 a standalone pointer again.
13373 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13375 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13381 * ToolbarDefaults.C:
13390 * BufferView_pimpl.C: use new file dialog in GUII
13393 * lyx_cb.C: remove LayoutsCB to Toolbar
13395 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13397 * ShareContainer.h (get): add std:: qualifier
13399 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13401 * ShareContainer.h: define a proper ShareContainer::value_type
13402 type (and use typename to please compaq cxx)
13404 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13406 * lyxparagraph.h: move serveral local vars to
13407 ParameterStruct/ParagraphParameters., use ShareContainer in
13408 FontTable., make vars in FontTable private and add getter and
13411 * paragraph.C: changes because of the above.
13413 * lyxfont.h: remove copy constructor and copy assignment. (the
13414 default ones is ok), move number inside FontBits. move inlines to
13417 * lyxfont.C: add number to initializaton of statics, move several
13418 inlines here. constify several local vars. some whitespace
13419 cleanup. Dont hide outerscope variables.
13421 * Spacing.h: add two new constructors to match the set methods.
13423 * ShareContainer.h: new file, will perhaps be moved to support
13425 * ParameterStruct.h: new file
13427 * ParagraphParameters.h: new file
13429 * ParagraphParameters.C: new file
13431 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13432 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13434 * BufferView_pimpl.C: ParagraphParameter changes.
13435 * buffer.C: Likewise.
13436 * bufferview_funcs.C: Likewise.
13437 * text.C: Likewise.
13438 * text2.C: Likewise.
13440 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13442 * lyxfind.C (LyXReplace): do not redefine default argument in
13444 (IsStringInText): ditto
13445 (SearchForward): ditto
13446 (SearchBackward): ditto
13448 2001-03-06 Juergen Vigna <jug@sad.it>
13450 * lyxfind.C (IsStringInText): put parentes around expressions.
13452 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13454 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13456 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13458 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13460 * stl_string_fwd.h: add comment
13462 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13465 * tabular.C: remove unused DocBook methods
13471 killed DO_USE_DEFAULT_LANGUAGE
13473 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13475 * lyx_gui.C: do not include language.h.
13477 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13478 arguments in function implementation.
13480 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13482 * BufferView_pimpl.C: add <ctime>
13484 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13486 * BufferView_pimpl.C: add using std::find_if
13488 2001-02-27 José Matos <jamatos@fep.up.pt>
13490 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13493 2001-02-11 José Matos <jamatos@fep.up.pt>
13495 * buffer.C (makeDocBookFile): command styles now have a parameter as
13496 "title" by default.
13498 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13500 * layout_forms.[Ch]: removed
13501 * lyx_cb.[Ch]: out character
13502 * lyx_gui.C: out character
13503 * lyx_gui_misc.C: out character
13504 * bufferview_funcs.C: : out character,
13505 added toggleall as parameter in ToggleAndShow
13507 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13509 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13511 * text2.C (SetCurrentFont): Disable number property at boundary.
13513 2001-02-26 Juergen Vigna <jug@sad.it>
13515 * lyxfunc.C (getStatus): added a string argument override function so
13516 that this is correctly called from LyXFunc::Dispatch if it contains a
13517 do_not_use_argument which is used!
13518 (Dispatch): added check for "custom" export and call appropriate func.
13520 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13522 * lyxrc.C: Add language_command_local, language_use_babel and
13523 language_global_options.
13525 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13527 * buffer.C (makeLaTeXFile): Use language_use_babel and
13528 language_global_options.
13530 2001-02-23 Juergen Vigna <jug@sad.it>
13532 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13533 which works with LyXText and putted it inside BufferView. Here now we
13534 only call for that part the BufferView::Dispatch() function.
13536 * BufferView.C (Dispatch): added.
13538 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13539 functions which needs to use a LyXText over from LyXFunc.
13540 (MenuInsertLyXFile): added
13541 (getInsetByCode): added
13542 (moveCursorUpdate): added
13543 (static TEXT): added
13545 2001-02-22 Juergen Vigna <jug@sad.it>
13547 * BufferView_pimpl.C (update): call a status update to see if LyXText
13550 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13552 * vc-backend.C (revert): implement for CVS
13553 (getLog): implement for CVS
13555 2001-02-20 Juergen Vigna <jug@sad.it>
13557 * text2.C (ClearSelection): added BufferView param for inset_owner call
13559 * lyxfunc.C (TEXT): added this function and use it instead of
13560 directly owner->view()-text of getLyXText().
13562 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13564 * src/layout_forms.C: out preamble
13565 * src/layout_forms.h: out preamble
13566 * src/lyx_cb.C: out preamble
13567 * src/lyx_cb.h: out preamble
13568 * src/lyx_gui.C: out preamble
13569 * src/lyx_gui_misc.C: out preamble
13570 * src/lyxfunc.C: connect with guii preamble
13572 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13574 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13576 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13578 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13579 whether to run bibtex.
13581 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13583 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13585 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13587 * Makefile.am (lyx_SOURCES): removed bibforms.h
13589 * vspace.h: doxygen
13591 * text.C (GetVisibleRow): make several local vars const
13593 * tabular.C: small cleanup.
13595 * lyxserver.C (callback): use compare instead of strncmp
13597 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13598 inlines to after class or to paragraph.C
13600 * lyxfont.h: remove friend operator!=
13602 * converter.h: move friend bool operator< to non friend and after
13605 * combox.h: small cleanup
13607 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13608 to inlines after class def.
13610 * buffer.C (pop_tag): use string operations instead of strcmp
13612 * bmtable.c: doxygen, small cleanup
13614 * LaTeX.h: remove friend operator==
13616 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13628 * BufferView_pimpl.C:
13629 * BufferView.[Ch]: remove cruft
13631 2001-02-14 Juergen Vigna <jug@sad.it>
13633 * lyxfunc.C: removed #if 0 unused code
13635 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13637 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13639 * text2.C (SetSelection): added a BufferView * parameter
13641 2001-02-13 Juergen Vigna <jug@sad.it>
13643 * lyxfunc.C (Dispatch): fixed protected blank problem.
13644 * BufferView2.C (protectedBlank): added LyxText * parameter.
13646 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13647 (AppendColumn): same as above for column_info.
13649 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13650 (moveCursorUpdate): use a LyXText param for support of InsetText.
13652 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13653 (tripleClick): ditto
13655 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13657 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13659 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13661 * text2.C (SetSelection): set correct update status if inset_owner
13662 (ToggleFree): ditto
13664 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13666 * tabular.C: remove some commented code.
13668 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13670 * BufferView_pimpl.C: call hideSplash()
13672 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13675 * bibforms.h: remove
13678 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13679 add LFUN_CHILD_CREATE
13681 * counters.h: fix tiny typo
13686 * lyx.C: move splash to frontends/xforms/
13688 * lyx_gui_misc.C: move Include and Bibform to frontends
13690 * lyxvc.h: clarify comment
13692 * vspace.C: tiny housekeeping
13694 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13696 * text.C (PrepareToPrint): RTL Fix.
13698 * paragraph.C (GetUChar): New method.
13699 (String): Use GetUChar.
13701 * buffer.C (asciiParagraph): Use GetUChar.
13703 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13705 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13707 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13710 * buffer.C: rename to getLogName(), handle
13711 build log / latex log nicely
13713 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13716 * MenuBackend.h: remove support for reference menuitem type.
13718 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13720 * BufferView_pimpl.C: housekeeping
13721 * BufferView_pimpl.h:
13726 * minibuffer.h: move Timeout GUI-I
13728 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13730 * lyxrc.C (read): Update converters data-structures.
13732 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13734 * LaTeX.h (operator!=): add operator != for Aux_Info
13736 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13738 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13740 * LaTeXLog.C: deleted, useful code moved to Buffer
13743 * buffer.C: new function getLatexLogName()
13749 * lyxfunc.C: use frontends for LaTeX and VC logs
13751 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13753 * LaTeX.h: yet another std:: that Allan forgot.
13755 * Variables.C (set): renamed from isset(), because this clashes
13756 with some HP-UX macros (grr).
13758 2001-02-06 Allan Rae <rae@lyx.org>
13760 * LaTeX.h: Another bug fix. Missing std:: this time.
13762 2001-02-04 Allan Rae <rae@lyx.org>
13764 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13765 floats problem. I've left it commented out because it's not quite
13766 correct. It should also test that the current object is a table or
13767 figure inset. But I haven't gotten around to figuring out how to do
13768 that. I *think* it'll be something like: "table" == inset.type()
13770 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13773 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13775 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13776 all the citation/databases/styles in the auxilary file.
13777 (run): Rerun latex if there was a babel language error.
13779 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13781 * text.C (Backspace): Preserve the font when changing newline char
13783 (BreakParagraph): If the cursor is before a space, delete the space.
13785 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13787 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13789 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13790 new argument (code).
13791 (ChangeCitationsIfUnique): New method.
13793 * paragraph.C (GetPositionOfInset): Handle bibkey.
13795 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13797 * BufferView_pimpl.h: change type of Position::par_pos to
13798 LyXParagraph::size_type.
13800 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13802 * BufferView_pimpl.C (savePosition, restorePosition): Write
13803 messages to minibuffer.
13805 2001-01-28 José Matos <jamatos@fep.up.pt>
13807 * buffer.C (makeDocBookFile): adds support for document language.
13808 A silly restriction on the name of LatexCommand types where removed.
13809 Added support for CDATA sections, allows to chars unescaped, used
13810 among others in code, to avoid escape < and >.
13812 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13814 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13815 saved positions instrad of a stack. Furthermore, a position is
13816 stored using paragraph id/paragraph position.
13818 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13819 Remove LFUN_REF_BACK.
13821 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13823 * converter.C (dvipdfm_options): New method.
13825 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13827 * vspace.C (isValidLength): Fix for empty input string.
13829 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13831 * LyXAction.C (init): change description of LFUN_FIGURE to
13834 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13836 * LaTeX.C: add using directive
13838 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13840 * MenuBackend.C (expand): Fix the sorting of the formats.
13842 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13844 * lyx_main.C: tiny error message fix
13846 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13848 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13849 calling fl_initialize(). This fixes the problem with ',' as
13850 decimal separator in text files.
13852 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13854 * trans.C (process): Fix the keymap bug.
13856 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13858 * LaTeX.C (scanAuxFiles): New method. Provides support for
13859 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13860 (scanLogFile) Scan for "run BibTeX" messages.
13862 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13863 OT1 font encoding. Also, load the aecompl package if the ae
13866 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13868 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13870 * texrow.C (increasePos): turn two error messages into debug
13873 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13875 * LaTeX.C (scanAux): Handle the \@input macro.
13876 (runBibTeX): Use scanAux().
13878 * language.C (latex_options_): New field.
13880 * LaTeXFeatures.C (getMacros): Add language macros.
13882 * buffer.C (makeLaTeXFile): Small fix.
13884 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13886 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13888 * text2.C: add a using directive.
13890 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13895 * lyxfunc.C: kill LyXBell.
13897 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13899 * text.C (IsBoundary): Remove the error message
13901 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13903 * lyxrc.C (setDefaults): Correct initialization value for
13906 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13908 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13911 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13912 and GotoNextNote().
13914 * src/LyXAction.C: Added reference-next.
13916 * text.C (InsertChar): Use contains instead of strchr.
13918 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13920 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13922 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13923 alignment commands (when needed).
13925 * text.C (InsertChar): Add ':' to number separator chars.