1 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4 iterators from different ParagraphList containers.
7 * text2.C (LyXText): change order of initialization slightly
8 (operator=): new function. copy all variables except cache_par_
9 (moveUp): make sure that we do not compare iterators from
10 different ParagraphList constainers.
13 * text.C (firstPar): new function
14 (lastPar): new function
15 (endPar): new function
17 * lyxtext.h: move things around and group public functions, public
18 variables, private functions, private variables
20 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
22 * factory.C: change call to InsetERT constructor to avoid
23 additional invocation of method status
24 * text2.C (toggleInset): remove redundant update() call
25 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
26 instead of a Bufferview pointer
28 2003-11-21 André Pönitz <poenitz@gmx.net>
30 * rowpainter.C: simplification
32 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
34 * text3.C (dispatch): make possible to extend a word/row selection
37 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
39 * lyxtext.h: x0_,y0_ -> xo_,yo_
40 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
41 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
42 * rowpainter.C (paintRows): paint full paragraphs
44 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
46 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
49 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
51 * lyxtext.h: add x0_, y0_
52 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
53 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
55 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
57 * text2.C (setCursorIntern): move the x_target update here *
58 * text3.C: change some bv() to true/false in calls to
59 cursorUp/Down/Right/Left
60 * cursor.C: use helper function.
62 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
64 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
65 * paragraph_funcs.[Ch]: correct comment
66 * rowpainter.C: do not paint selections away from bv->cursor()
67 Fix a long standing selection painting bug.
68 * text3.C: generalize mouse-selection code to LyXTexts other that
70 * textcursor.C: do not use y coords if we can use par offsets
72 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
74 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
75 cursor position after e.g. inset insert)
77 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
79 * lyxfind.C (replace): adjust to locking removal + some
82 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
84 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
87 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
90 * output_docbook.C: XML sanitation: new layout
91 parameters InnerTag and CommandDepth
93 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
97 * text3.C: Fix the insertion and modification of button-style
100 2003-11-13 André Pönitz <poenitz@gmx.net>
102 * InsetList.[Ch]: remove deleteLyXText
104 * paragraph.[Ch]: cache beginOfBody position
109 * text3.C: remove superfluous update() calls
113 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
115 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
116 * BufferView.C (fitLockedInsetCursor): remove
117 * cursor.[Ch] (getDim): add
118 * text.C (getRowNearY): add faster version
119 * text3.C: remove some update calls
121 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
133 * text3.C: The Character Style /XML short element patch.
135 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
138 * factory.C: Small step to solving 'unable to insert some insets'
141 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
143 * cursor.[Ch] (updatePos): new function for updating the y
144 position of the tip inset
145 * bufferview_funcs.C (put_selection_at):
146 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
148 2003-11-11 André Pönitz <poenitz@gmx.net>
150 * text.C: remove big comment on invalid Paragraph pointers as it is
153 2003-11-11 André Pönitz <poenitz@gmx.net>
155 * text_funcs.[Ch]: merge with ...
163 * Makefile.am: remove text_funcs.[Ch]
165 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
167 * cursor.C (getPos): return absolute cached y coord
169 * BufferView_pimpl.C (fitCursor): new simplistic code
170 (workAreaDispatch): add a fitCursor call
172 2003-11-10 André Pönitz <poenitz@gmx.net>
175 * BufferView_pimpl.[Ch]: merge update() and updateInset()
177 2003-11-10 André Pönitz <poenitz@gmx.net>
179 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
180 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
181 indicate that the cursor needs to leave an inset
183 * lyxtext.h: remove inset locking
185 * cursor.[Ch]: re-implement functionality provided by inset locking
188 * BufferView_pimpl.[Ch]:
190 * bufferview_funcs.[Ch]:
202 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
204 * PosIterator.[Ch]: replace the stack with a vector, add inset
206 * iterators.[C]: adjust
208 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
210 * lyxfind.C (replaceAll): mark the buffer dirty if something was
212 * paragraph_funcs.C (readParToken): put the correct id in the
213 error item, not the id of the top paragraph
215 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
217 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
218 * bufferview_funcs.C (put_selection_at): use the above
220 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
222 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
224 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
227 * output_plaintext.h:
229 * output_docbook.h: add #include statements
231 2003-11-05 José Matos <jamatos@lyx.org>
233 * output_docbook.[Ch]:
235 * output_linuxdoc.[Ch]:
236 * output_plaintext.[Ch]: New files for output formats.
237 * output.[Ch]: New file for helper functions.
240 * paragraph_funcs.[Ch]: output functions moved to new files.
242 * outputparams.h: rename of latexrunparams.h
250 * paragraph_funcs.[Ch]:
251 * paragraph_pimpl.[Ch]:
252 * tabular.[Ch]: rename ascii to plaintext
253 and LatexRunParams to OutputParams.
255 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
257 * iterators.[Ch] (text): require bv argument
258 * undo.C (recordUndo):
259 * lyxfunc.C (dispatch):
260 * bufferview_funcs.C (put_selection_at): adjust
262 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
264 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
266 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
268 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
271 2003-11-04 André Pönitz <poenitz@gmx.net>
273 * cursor.[Ch]: restructure
276 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
278 * iterators.[Ch] (asCursor): remove
280 * lfuns.h: remove LFUN_INSET_EDIT
286 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
288 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
290 * lyxfind.[Ch]: complete overhaul
291 * BufferView_pimpl.C:
293 * paragraph.[Ch] (insert): add
295 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
299 * text.C: remove dead spellcheck code
301 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
303 * dispatchresult.h: add a val setter
305 * cursor.C (dispatch): use a tempvar for data_[i]
307 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
309 * PosIterator.[Ch]: compile fix
311 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
313 * text.C (cursorPar): deactivate the cursor cache
315 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
317 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
319 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
321 * text3.C (dispatch): adjust for new DisptchResult semantics.
323 * lyxfunc.C (dispatch): handle update when return from
324 Cursor::dispatch, adjust for new DispatchResult semantics.
326 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
327 DispatchResult(true) mean to not update. Add class functions for
328 setting dispatched and update, as well as reading.
330 * cursor.C (dispatch): don't handle update here
332 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
334 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
335 * trans_mgr.C: adjust
337 * paragraph_funcs.C (readParToken): exception safety
339 * lyxvc.h: store the vcs pointer in a scoped_ptr
342 * lyxsocket.C (serverCallback): exception safety
344 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
346 * ispell.C (clone): make it return a auto_ptr
348 * factory.C (createInset): exception safety
349 (readInset): exception safety
351 * bufferlist.C (newBuffer): exception safety
353 * Thesaurus.C (Thesaurus): use initialization for aik_
355 * MenuBackend.C (expandToc): exception safety.
357 2003-11-03 André Pönitz <poenitz@gmx.net>
361 * bufferview_funcs.C: remove getInsetFromId()
364 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
370 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
372 * PosIterator.C (distance, advance): new
373 * bufferview_funcs.[Ch] (put_selection_at): new
374 * iterators.[Ch] (lockPath): new
376 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
378 * iterators.[Ch] (asPosIterator): added
379 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
380 * PosIterator.[Ch]: added
382 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
386 * cursor.C (dispatch):
387 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
389 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
390 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
391 contructor, add a class function dispatched. Remove operator>=
393 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
395 * debug.C: only use the default constructor for debugstream
398 * main.C (main): include debug.h and setup the lyxerr streambuf
401 2003-10-31 José Matos <jamatos@lyx.org>
403 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
405 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
406 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
407 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
408 * paragraph_pimpl.C (simpleTeXSpecialC):
409 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
410 add LatexRunParams argument.
412 * exporter.C (Export): change call accordingly.
414 * latexrunparams.h: add new member to take care of the other backends.
415 2003-10-30 José Matos <jamatos@lyx.org>
417 * buffer.C (makeLinuxDocFile, makeDocBookFile):
418 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
419 factorise code for paragraph output.
421 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
424 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
426 * text3.C (dispatch):
427 * lyxfunc.C (dispatch):
428 * cursor.C (dispatch):
429 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
431 * dispatchresult.h: make the dispatch_result_t ctor explicit
433 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
436 * buffer.C: small refactoring of docbook stuff
438 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
440 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
443 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
445 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
446 operator dispatch_result_t, and operators for == != and >=
448 * cursor.C (dispatch): adjust for operator dispatch_result_t
449 removal. comment out call to update
451 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
453 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
461 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
464 * dispatchresult.h: new file, DispatchResult broken out of
467 * Makefile.am (lyx_SOURCES): add dispatchresult.h
469 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
471 * text.C (rowBreakPoint): put a hack inside #if 0
473 2003-10-28 André Pönitz <poenitz@gmx.net>
480 * text2.C: general cleanup (lots of small stuff)
482 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
484 * text2.C (cursorEnd): simple fix to the "end key goes to one
485 before the end on last row" bug
487 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
489 * text.C (backspace): fix the "zombie characters"
491 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
493 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
495 2003-10-27 André Pönitz <poenitz@gmx.net>
497 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
499 * factory.C: handle new InsetPagebreak, InsetLine
501 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
502 and move handling into new InsetPagebreak, InsetLine
504 * BufferView_pimpl.C:
506 * ParagraphParameters.C:
519 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
528 * text3.C: remove lastPos uses in favour of Row::endpos
530 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
532 * undo.C (performUndoOrRedo): fix two crashes by setting a
533 cursor by hand and reordering some calls. Use bv->lockInset instead
534 of inset->edit because the latter loses cursor information
536 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
538 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
540 (rowBreakPoint): fix width. change point to point + 1.
543 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
546 * lyxfunc.C: fix (at least partly) the problems
547 with the Nav menu and headers inside branch insets
550 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
552 * paragraph.C (getChar): add strong asserts
554 * lyxrow_funcs.C (lastPos): remove hideous hack
556 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
557 (fill): adjust to that (avoid an infinite loop)
559 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
561 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
563 2003-10-23 André Pönitz <poenitz@gmx.net>
565 * RowList_fwd.h: change list<> to vector<> to gain speed
566 after suggestion from Alfredo
568 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
570 * lyxtext.h: move the bidi stuff from here...
573 * Bidi.[Ch]: ... to here
575 2003-10-23 André Pönitz <poenitz@gmx.net>
578 * text.C (isLastRow, isFirstRow): new functions
580 * paragraph.h: new width cache member
582 * rowpainter.C: replace RowList::iterator with Row & where possible
584 * lyxfunc.C: replace several view()->text with a single call
586 * toc.C: fix 'unused' warning
588 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
590 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
591 when woring with stream::pos_type
592 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
594 2003-10-22 André Pönitz <poenitz@gmx.net>
597 * text.C: use Row & instead of RowList::iterator
599 * lyxrow.h: rename end() to endpos()
605 2003-10-22 Angus Leeming <leeming@lyx.org>
607 * buffer.[Ch] (fully_loaded): new member function, returning true
608 only when the file has been loaded fully.
609 Used to prevent the premature generation of previews and by the
610 citation inset to prevent computation of the natbib-style label.
612 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
613 templates are all set up.
615 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
617 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
619 * text.C: fixed an "oops" in the "is a bit silly"
622 2003-10-21 André Pönitz <poenitz@gmx.net>
624 * FuncStatus.[Ch]: small stuff, whitespace
626 * lyxfont.[Ch]: operator<<() for debug reasons
630 * lyxtext.h: whitespace, spelling
632 * paragraph.C: naming of variables
635 * text2.C: small stuff
638 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
640 * text.C: (1) finish off the inset display() work;
641 (2) fix the "is a bit silly" bug (accessing char
644 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
646 * text.C: re-introduce display() for insets, fixing the
647 various bugs (stretch of line above, math inset
650 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
652 * text.C (rightMargin): remove spurious semicolon
654 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
657 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
659 * text3.C: fix one crash due to wrong cursor def
661 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
663 * vc-backend.C (scanMaster): make the regex static
665 * LaTeX.C (scanAuxFile): make the regexs static
667 * text3.C (doInsertInset, dispatch, dispatch):
668 * text2.C (cursorUp, cursorDown):
669 * text.C (selectNextWordToSpellcheck):
670 * BufferView_pimpl.C (dispatch):
671 * lyxfunc.C (dispatch): localDispatch -> dispatch
673 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
675 * lyxsocket.C: include <cerrno>
677 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
679 * lyxfunc.C (dispatch): remove textcache stuff
681 * bufferlist.C (release): remove textcache stuff
684 * TextCache.C: delete file
685 * TextCache.h: delete file
687 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
689 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
690 delete of the bv_->text.
691 (resizeCurrentBuffer): remove texcache stuff
692 (workAreaResize): ditto
694 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
696 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
699 2003-10-16 André Pönitz <poenitz@gmx.net>
706 * text3.C: speed up by storing y positions per paragraph plus per-row
707 offset instead of having a 'full' y position in the row.
709 2003-10-15 André Pönitz <poenitz@gmx.net>
713 * undo.[Ch]: make undo aware of inner insets
715 2003-10-14 Angus Leeming <leeming@lyx.org>
717 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
718 static member functions LyX::ref() and LyX::cref.
719 (lastfiles): new accessor functions for the new lastfiles_ member var.
720 (addLyXView, views_): add a new LyXView to the list of views_.
721 (updateInset): loop over all LyXViews to call their own updateInset
722 member function, returning a pointer to the Buffer owning the inset.
724 * BufferView_pimpl.C (loadLyXFile):
725 * MenuBackend.C (expandLastfiles):
726 * bufferlist.C (MenuWrite, QuitLyX):
727 lastfiles is no longer a global variable.
728 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
730 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
731 static function. Access through LyX::cref().emergencyCleanup().
733 2003-10-14 André Pönitz <poenitz@gmx.net>
735 * iterators.[Ch]: new direct access to innermost LyXText and Inset
737 * undo.[Ch]: restoring part of 'undo in insets'
740 * undo_funcs.[Ch]: merge with undo.[Ch]
742 * tabular.C: small cleansing stuff
744 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
746 * paragraph_funcs.C (readParToken): report unknown insets as error
747 boxes. Use the outer paragraph as location (also for unknown
750 * factory.C (readInset): do not abort on reading an unknown inset.
753 2003-10-13 Angus Leeming <leeming@lyx.org>
755 * lyx_main.C (LyX): remove call to setDisplayTranslator().
757 * lyxrc.C: displayTranslator is now a function,
758 declared in GraphicsTypes.h.
760 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
762 * format.C: new placeholder $$a to pass the socket address.
764 * bufferlist.[Ch]: new function getBufferFromTmp.
766 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
767 files in the temporary dir.
769 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
771 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
773 * Makefile.am: add lyxsocket.[Ch].
775 * lyx_main.C (error_handler): handle SIGPIPE.
777 2003-10-13 André Pönitz <poenitz@gmx.net>
779 * BufferView_pimpl.C:
784 * undo_funcs.[Ch]: use paroffset_type instead of
785 ParagraphList::iterators to prevent multiple conversion
786 (and get a more robust interface)
788 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
790 * lyxfunc.C (dispatch): RESULT -> dispatch_result
792 * text3.C (dispatch): ditto
794 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
796 * LaTeX.C (handleFoundFile): move the static to smaller scope,
797 move the onlyfile, use onlyfile instead of foundfile in a couple
800 * DepTable.C (update): flush the error stream a bit more
802 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
804 * lyxserver.C (callback): adjust
806 * lyxfunc.C (getStatus): add a missing brace in commented code
807 (ensureBufferClean): reindent
808 (dispatch): delete version taking a string
810 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
812 * LaTeX.C (deplog): move found file handlig from here...
813 (handleFoundFile): .. to new function here.
814 (deplog): make sure to discover several files mentioned on the
817 2003-10-10 André Pönitz <poenitz@gmx.net>
824 * text3.C: fix some of the tabular crashes
826 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
828 * MenuBackend.C (binding): put debug message into Debug::KBMAP
830 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
832 2003-10-09 André Pönitz <poenitz@gmx.net>
834 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
837 * BufferView_pimpl.C:
838 * bufferview_funcs.C:
849 * undo_funcs.C: adjust
851 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
853 * text2.C (incrementItemDepth): new function, use a backtracking
854 algorithm to discover the correct item depth.
855 (resetEnumCounterIfNeeded): new function, use a backtracking
856 algorithm to discover if counter reset is needed.
857 (setCounter): use them. Simplify a bit. Add different labels for
858 different item depths for itemize.
860 * paragraph.C (Paragraph): remove initialization of enumdepth
863 * paragraph.h: get rid of enumdepth, and use itemdepth both for
864 enumerate and itemize. Change the type of itemdepth to signed char.
866 2003-10-08 André Pönitz <poenitz@gmx.net>
868 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
873 * tabular.[Ch]: fix crash after 'row-insert'
875 2003-10-08 Angus Leeming <leeming@lyx.org>
877 Fix doxygen warnings.
879 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
880 Remove CutAndPaste:: prefix from header file declaration.
882 * LColor.h (fill): remove LColor:: prefix from declaration.
884 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
885 use lyx::depth_type rather than Paragraph::depth_type so that
886 header file and .C file match.
888 * converter.h (intToFormat): remove Converters:: prefix from declaration.
890 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
891 * aspell.C: \file aspell_local.C -> \file aspell.C
892 * gettext.C: \file gettext.C -> \file src/gettext.C
893 * gettext.h: \file gettext.h -> \file src/gettext.h
894 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
895 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
896 * text.C: \file text.C -> \file src/text.C
898 * toc.C: move comment so that doxygen is not confused.
900 2003-10-07 Angus Leeming <leeming@lyx.org>
902 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
904 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
907 * aspell_local.h: add forgotten std::string's.
909 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
916 * text3.C: The Box patch. Fancybox support, minipage, parbox
918 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
924 * ParagraphParameters.h:
934 * lyxtextclasslist.h:
938 * textcursor.h: add <string> and other small fixes to make Lars'
939 std::string patch compile with STLport.
941 2003-10-06 Angus Leeming <leeming@lyx.org>
943 * LColor.h: Add missing #include <string>.
945 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
947 * All most all file in all subdirs: Make <string> be the prefered
948 way of getting to std::string, add using declarations.
950 2003-10-06 André Pönitz <poenitz@gmx.net>
952 * metricsinfo.C: initialize LyXFont before changing attribute.
953 (fixes the 'math in \emph is upright' bug)
955 2003-10-06 André Pönitz <poenitz@gmx.net>
957 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
959 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
962 * paragraph_pimpl.C: Small fixes to build using STLport
964 2003-10-02 André Pönitz <poenitz@gmx.net>
967 * text3.C: move handling of LFUN_DEPTH *; fix #1360
969 2003-10-01 André Pönitz <poenitz@gmx.net>
971 * factory.C: assert early
973 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
975 * lyx_main.C: remove the global debug object
977 * debug.h: adjust for new debugstream
979 * debug.C: adjust for new debugstream and keep the global debug
982 2003-09-22 Angus Leeming <leeming@lyx.org>
984 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
985 of g++ which otherwise complain that the scoped_ptr destructor can't delete
986 an incomplete class LyXFont.
988 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
990 * factory.C: bug fix in branches
992 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
994 * lyxfunc.C (processKeySym): adjust
996 (dispatch): change arg name from ev to func, adjust
997 (sendDispatchMessage): ditto
999 * lyx_main.C (defaultKeyBindings): adjust keybindings
1000 (deadKeyBindings): ditto
1002 * kbsequence.C (addkey): return a FuncRequest
1004 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1006 * kbmap.C (bind): take a FuncRequest as arg, adjust
1009 (defkey): change to take a FuncRequest as arg, adjust
1010 (findbinding): take a FuncRequest as arg, adjust.
1012 * funcrequest.h (operator=): added
1014 * funcrequest.C (FuncRequest): default kb_action changed from
1015 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1017 * buffer.C (dispatch): simplify
1018 (dispatch): adjust to take a FuncRequest as arg, adjust
1020 * boost.C (assertion_failed): change assertion message slightly
1022 * ToolbarBackend.C (read): simplify
1024 * MenuBackend.C (binding): adjust call to findbinding, add a
1025 message if no binding is found.
1027 (expandToc): correct by adding a empty FuncRequest
1029 * LyXAction.C: include <boost/assert.hpp>
1030 (isPseudoAction): delete function
1031 (LookupFunc): change name to...
1032 (lookupFunc): this. change return type to FuncRequest.
1033 (getActionName): take kb_action as arg, simplify
1034 (funcHasFlag): add an assert, simplify.
1036 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1038 * toc.C (action): return a FuncRequest, simplify
1040 * lyxfunc.C (processKeySym): adjust
1041 (getStatus): delete version that takes an int.
1043 (dispatch): delete version that takes action as int
1045 (sendDispatchMessage): simplify and adjust
1047 * funcrequest.C (getArg): take unsigned int as arg
1049 * ToolbarBackend.C (read): adjust
1050 (add): delete version that takes func as a string.
1051 (getIton): take a FuncRequest as arg
1053 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1056 * MenuBackend.C (MenuItem): add a new construct that only takes a
1057 Kind, simplify the constructor use for submenus.
1059 (expandLastfiles): adjust
1060 (expandDocuments): adjust
1061 (expandFormats): adjust
1062 (expandFloatListInsert): adjust
1063 (expandFloatInsert): adjust
1064 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1066 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1067 Remove class variables lyx_pseudo_map and lyx_arg_map
1069 * LyXAction.C (searchActionArg): delete function
1070 (getPseudoAction): delete function
1071 (retrieveActionArg): delete function
1072 (LookupFunc): make it return kb_action, simplify.
1073 (getActionName): simplify
1075 * factory.C (createInset): fix new bug
1077 2003-09-19 Angus Leeming <leeming@lyx.org>
1079 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1080 masterFilename_ parameter in the include inset.
1082 * factory.C (createInset): changes due to the changes to InsetInclude.
1084 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1086 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1088 2003-09-18 Angus Leeming <leeming@lyx.org>
1091 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1092 Inset::fillWithBibKeys.
1093 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1095 2003-09-18 Angus Leeming <leeming@lyx.org>
1097 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1099 (ctor): pass and store a 'Buffer const &'
1100 (buffer): new member function.
1102 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1103 '*this' to the LaTeXFeatures ctor.
1105 2003-09-18 Angus Leeming <leeming@lyx.org>
1111 * text.C: rename EnumLColor as LColor_color.
1113 2003-09-18 Angus Leeming <leeming@lyx.org>
1115 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1116 remove #include "insets/insetbase.h" from cursor.h.
1118 2003-09-18 Angus Leeming <leeming@lyx.org>
1120 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1121 InsetOld_code to remove #include "inset.h".
1123 * iterators.C: add #include "insets/inset.h"
1125 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1127 * BufferView.C: remove more locking stuff that apparently doesn't
1128 do anything sensible.
1130 2003-09-16 André Pönitz <poenitz@gmx.net>
1133 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1136 2003-09-16 Angus Leeming <leeming@lyx.org>
1138 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1140 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1143 * paragraph.h: remove #include "lyxfont.h". Forward declare
1146 2003-09-16 Angus Leeming <leeming@lyx.org>
1148 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1149 of support/textutils.h.
1150 (isWord): move the contents of support/textutils.h's IsWordChar here.
1156 * text2.C: add #include "paragraph.h".
1159 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1161 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1167 * LaTeX.C: use namespace alias for lyx::support::os
1169 2003-09-16 Angus Leeming <leeming@lyx.org>
1172 * bufferview_funcs.C:
1175 * paragraph_pimpl.C:
1177 * text.C: add #include "LColor.h".
1179 2003-09-16 Angus Leeming <leeming@lyx.org>
1181 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1182 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1184 Store the FontBits::color variable as an int rather than as an
1185 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1188 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1189 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1190 string calls together.
1192 * lyxrc.C: add #include "LColor.h".
1194 2003-09-15 Angus Leeming <leeming@lyx.org>
1196 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1199 2003-09-15 Angus Leeming <leeming@lyx.org>
1201 * LColor.h: add an EnumLColor wrapper for LColor::color.
1203 * lyxfont.[Ch] (color, setColor, realColor):
1204 * lyxtext.h, text.C (backgroundColor):
1205 pass EnumLColor args to/from the functions, rather than LColor::color
1209 * lyxtext.h: forward declare EnumLColor.
1211 * lyx_main.C: add #include "LColor.h".
1213 2003-09-15 Angus Leeming <leeming@lyx.org>
1215 * .cvsignore: add lyx-gtk.
1217 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1222 * ParagraphParameters.C
1226 * bufferview_funcs.C
1236 * vc-backend.C: remove usage of STRCONV
1238 2003-09-15 Angus Leeming <leeming@lyx.org>
1240 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1241 explicitly define the color passed to the painter.
1243 2003-09-15 Angus Leeming <leeming@lyx.org>
1245 * bufferparams.C (BufferParams): reorder member initializers to avoid
1248 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1250 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1251 * text.C (updateRowPositions): remove an unusual nop
1253 2003-09-12 André Pönitz <poenitz@gmx.net>
1255 * BufferView_pimpl.C:
1264 * Counters.[Ch]: finish the 'automatic counters' job
1266 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1268 * aspell.C: include <boost/assert.cpp> (compile fix)
1270 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1272 * boost.C (assertion_failed): use lyx::support::abort instead of
1275 2003-09-10 Angus Leeming <leeming@lyx.org>
1277 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1278 with their _fwd progeny.
1280 2003-09-09 Angus Leeming <leeming@lyx.org>
1282 134 files throughtout the source tree: replace 'using namespace abc;'
1283 directives with the appropriate 'using abc::xyz;' declarations.
1285 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1287 * boost.C (emergencyCleanup): moved here from LAssert.c
1288 (assertion_failed): new function, called by BOOST_ASSERT
1290 * several files: change Assert to BOOST_ASSERT
1292 2003-09-09 Angus Leeming <leeming@lyx.org>
1294 * buffer.[Ch]: Add an Impl class and move Buffer's member
1295 variables into it. As a result move several header files out of
1298 Add header files to lots of .C files all over the tree as a result.
1300 2003-09-09 Angus Leeming <leeming@lyx.org>
1302 * buffer.[Ch]: make Buffer's member variables private. Add
1305 Lots of changes all over the tree as a result.
1307 2003-09-08 Angus Leeming <leeming@lyx.org>
1309 * graph.C: #include <config.h>.
1311 2003-09-08 Angus Leeming <leeming@lyx.org>
1315 * BufferView_pimpl.C:
1344 * toc.C: remove redundant using directives.
1346 2003-09-07 Angus Leeming <leeming@lyx.org>
1348 * LaTeXFeatures.h: remove #include "support/types.h".
1349 * ToolbarBackend.h: remove #include <algorithm>.
1350 * changes.h: remove #include <ctime>.
1351 * debug.h: remove #include <iosfwd>.
1352 * graph.h: remove #include "support/std_string.h".
1353 * lyx_main.h: remove #include <csignal>.
1354 * lyxlex_pimpl.h: remove #include <fstream>.
1355 * sgml.h: remove #include <algorithm>, <utility>.
1356 * toc.h: remove #include "support/std_ostream.h".
1357 Add #include <iosfwd>.
1359 2003-09-07 Angus Leeming <leeming@lyx.org>
1361 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1363 * converter.h: forward declare LatexRunParams.
1364 * encoding.h: remove #include "lyxrc.h".
1365 * lyxtext.h: remove #include "LColor.h".
1366 * lyxtextclass.h: remove #include "support/types.h".
1367 * trans.h: remove #include "tex-accent.h".
1368 * trans_mgr.h: remove #include "tex-accent.h".
1369 * insets/inset.h: remove #include "support/types.h", <vector>.
1370 * insets/insetcollapsable.h: remove #include "LColor.h".
1371 * insets/insetinclude.h: remove #include "dimension.h".
1372 * insets/insetlatexaccent.h: remove #include "dimension.h".
1373 * insets/insetoptarg.h:: remove #include "insettext.h".
1374 * insets/insettext.h: remove #include "dimension.h",
1375 <boost/shared_ptr.hpp>
1377 * insets/renderers.h: add #include "dimension.h".
1378 * insets/updatableinset.h: add #include "support/types.h".
1380 * many .C files: Associated changes.
1382 2003-09-06 Angus Leeming <leeming@lyx.org>
1384 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1385 one, inside testInvariant.
1387 * PrinterParams.C: new file.
1388 * PrinterParams.[Ch]: move the function bodies out of line.
1390 2003-09-06 Angus Leeming <leeming@lyx.org>
1392 * ParagraphParameters.h: forward declare ParameterStruct rather than
1393 including its header file.
1394 (depth): moved out-of-line.
1396 2003-09-06 Angus Leeming <leeming@lyx.org>
1398 * BufferView_pimpl.h:
1401 * lyxfunc.h: forward declare LyXKeySym rather than
1402 #include "frontends/LyXKeySym.h".
1404 * BufferView_pimpl.C:
1407 * lyxfunc.C: associated changes.
1409 2003-09-06 Angus Leeming <leeming@lyx.org>
1411 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1412 As a result, can remove the #include "insets/inset.h" from BufferView.h
1414 2003-09-06 Angus Leeming <leeming@lyx.org>
1416 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1417 As a result, can remove the #include "insets/inset.h" from BufferView.h
1419 2003-09-06 Angus Leeming <leeming@lyx.org>
1425 * bufferview_funcs.C:
1426 * BufferView_pimpl.C:
1431 * ParagraphParameters.C:
1436 * frontends/controllers/ControlDocument.C:
1437 * insets/insetcaption.C: rearrange the #includes into some sort of
1440 * buffer.h: remove #includes ErrorList.h, undo.h
1442 2003-09-06 Angus Leeming <leeming@lyx.org>
1444 * support/types.h: add a 'depth_type' typedef, used to store the
1445 nesting depth of a paragraph.
1448 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1449 defining explicitly.
1452 * paragraph_funcs.h:
1453 * ParagraphParameters.h:
1454 * sgml.h: use lyx::depth_type rather than Paragraph or
1455 ParameterStruct's depth_type.
1458 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1461 * BufferView_pimpl.C:
1463 * ParagraphParameters.C:
1466 * bufferview_funcs.C:
1473 * frontends/LyXView.C:
1474 * frontends/controllers/ControlDocument.C:
1475 * frontends/controllers/ControlErrorList.C:
1476 * insets/insetbibitem.C:
1477 * insets/insetbranch.C:
1478 * insets/insetcaption.C:
1479 * insets/insetcollapsable.C:
1480 * insets/insetenv.C:
1481 * insets/insetert.C:
1482 * insets/insetfloat.C:
1483 * insets/insetfoot.C:
1484 * insets/insetfootlike.C:
1485 * insets/insetnewline.C:
1486 * insets/insetquotes.C:
1487 * insets/insettabular.C:
1488 * insets/insettext.C:
1489 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1491 * frontends/controllers/ControlChanges.C: #include "changes.h".
1493 2003-09-06 Angus Leeming <leeming@lyx.org>
1495 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1496 than #including paragraph.h.
1499 * RowList.h: deleted. Superfluous.
1509 * insets/insettext.h: use ParagraphList_fwd.h rather than
1512 * paragraph.h: don't forward declare ParagraphList.
1515 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1516 rather than ParagraphList.h. paragraph.h is still needed for the
1517 Paragraph::depth_type parameters.
1519 * textcursor.h: enable it to compile stand-alone in light of the
1522 * bufferview_funcs.C:
1534 * frontends/controllers/ControlParagraph.C:
1535 * frontends/controllers/ControlTabular.C:
1536 * insets/insetmarginal.C:
1537 * insets/insetminipage.C:
1538 * insets/insetnote.C:
1539 * insets/insetoptarg.C: add header files needed to compile again.
1541 2003-09-06 Angus Leeming <leeming@lyx.org>
1543 * RowList_fwd.h: new file, forward-declaring Row rather than
1544 #including lyxrow.h.
1549 * insets/insettext.h: use it instead of RowList.h
1551 * bufferview_funcs.C:
1558 * text3.C: #include "RowList.h".
1560 2003-09-05 Angus Leeming <leeming@lyx.org>
1562 * factory.C (createInset):
1563 * vspace.C (c-tor): replace sscanf call with an istringstream.
1564 * ispell.C: re-add missing HP/UX headers.
1565 * lyxserver.C: re-add missing os2 headers.
1567 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1576 * text3.C: re-add missing system headers, needed for 2.95.2.
1578 2003-09-05 Angus Leeming <leeming@lyx.org>
1580 Changes most place everywhere due to the removal of using directives
1581 from support/std_sstream.h.
1583 2003-09-05 Angus Leeming <leeming@lyx.org>
1585 Replace LString.h with support/std_string.h,
1586 Lsstream.h with support/std_sstream.h,
1587 support/LIstream.h with support/std_istream.h,
1588 support/LOstream.h with support/std_ostream.h.
1590 Changes resulting throughout the tree.
1592 2003-09-05 Angus Leeming <leeming@lyx.org>
1594 * sgml.h: ensure that the header file can be compiled stand-alone.
1595 * *.C: strip out redundant #includes. (320 in total.)
1597 2003-09-04 Angus Leeming <leeming@lyx.org>
1599 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1600 here (from getPackages).
1602 * debug.[Ch]: add a new EXTERNAL tag.
1604 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1606 * text2.C (cursorEnd): simplify
1608 (getColumnNearX): adjust
1610 * text.C (computeBidiTables): adjust
1613 * rowpainter.C (paintChars): adjust
1614 (paintSelection): adjust
1615 (paintChangeBar): adjust
1618 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1620 (numberOfSeparators): adjust
1622 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1628 * text3.C: Restricts the mouse click functionality
1629 of insets like bibtex, include, toc and floatlist to the visible
1630 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1631 up the dialogs. Cursor has to be in front of the inset (i.e.
1632 start of row) for this to function.
1634 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1636 * bufferview_funcs.C (currentState): output row information
1638 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1640 * bufferview_funcs.C (currentState): output paragraph position
1642 2003-09-04 Angus Leeming <leeming@lyx.org>
1644 * FloatList.h: move out #include "Floating.h".
1645 * LaTeX.h: move out #include "DepTable.h".
1646 * LyXAction.h: move out #include "funcrequest.h".
1647 * buffer.h: move out #include "author.h", "iterators.h".
1648 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1649 * lyx_main.h: move out #include "errorlist.h".
1650 * lyxfunc.h: move out #include "FuncStatus.h".
1651 * lyxtext: move out #include "lyxcursor.h".
1652 * paragraph_pimpl.h: move out #include "counters.h".
1654 2003-09-03 Angus Leeming <leeming@lyx.org>
1656 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1657 preamble_snippets list, enabling us to add snippets to the preamble
1658 only if the snippet was not there already.
1660 2003-09-04 Angus Leeming <leeming@lyx.org>
1662 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1664 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1666 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1669 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1671 * BranchList.C: point fix, earlier forgotten
1673 2003-09-02 Angus Leeming <leeming@lyx.org>
1675 * box.C (contains): renamed from 'contained' after a fantastic
1678 2003-09-02 John Levon <levon@movementarian.org>
1684 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1686 2003-09-02 John Levon <levon@movementarian.org>
1688 * text2.C: simplification of cursorEnd(), including partial
1691 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1693 * buffer.C (readFile): add a space
1695 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1697 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1699 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1701 * buffer.C (readFile): new function, take a filename and a
1702 ParagraphList::iterator
1704 (readFile): adjust, make it private. don't use setStream, make
1705 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1706 always contain the filename.
1708 * BufferView.C (insertLyXFile): simplify and make it work for
1711 2003-08-30 John Levon <levon@movementarian.org>
1713 * Makefile.am: fix dist (from Kayvan)
1715 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1717 * most files: change to use const Buffer refs
1719 2003-08-27 André Pönitz <poenitz@gmx.net>
1721 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1722 on top of ownerPar().
1724 2003-08-27 John Levon <levon@movementarian.org>
1726 * funcrequest.C: properly initialise POD members
1728 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1730 * lyxtext.h (top_y): move top_y from here
1735 * BufferView_pimpl.[Ch]: to here
1736 * frontends/screen.C:
1737 * insets/insettabular.C:
1738 * insets/insettext.C: adjust
1739 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1741 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1744 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1746 2003-08-26 André Pönitz <poenitz@gmx.net>
1748 * paragraph_func.[Ch] (outerPar): new function
1751 * paragraph_funcs.C:
1752 * paragraph_funcs.h:
1753 * paragraph_pimpl.C:
1754 * text2.C: remove Inset::par_owner
1756 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1761 * text2.C: eliminates the needFullRow/display() stuff
1762 altogether, putting the logic in metrics/draw in the insets.
1764 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1766 * text2.C (redoParagraphInternal, redoParagraphs):
1767 * text.C (redoParagraph): add a call to updateRowPositions at the
1768 end of each 'metrics-like' call. Remove all others.
1769 (getRow): remove the 'y-computing' version.
1770 (getRowNearY): do not compute nor return the real y. Solve the
1771 'y < 0' problem and simplify.
1773 2003-08-22 Angus Leeming <leeming@lyx.org>
1775 * *.[Ch]: clean-up of licence and author blurbs.
1776 Also move config.h out of a few .h files and into a few .C files.
1778 2003-08-22 André Pönitz <poenitz@gmx.net>
1780 * lyxrow.[Ch]: add x_ and *fill_ members
1785 * text2.C: adjust/remove prepareToPrint() calls
1787 2003-08-22 André Pönitz <poenitz@gmx.net>
1789 * lyxrow.[Ch]: add end_ member
1791 * lyxrow_funcs.C: use LyXRow::end_
1793 * lyxtext.h (singleWidth): add LyXFont parameter
1796 * text2.C: adjust LyXText::singleWidth() calls
1798 * text.C (redoParagraph): simplify row breaking logic
1801 2003-08-19 André Pönitz <poenitz@gmx.net>
1803 * funcrequest.C: initialize button_ member
1806 * rowpainter.[Ch]: interface consolidation
1808 2003-08-18 André Pönitz <poenitz@gmx.net>
1811 * BufferView_pimpl.C:
1813 * paragraph_funcs.C:
1815 * text3.C: remove LyXScreen::draw() and fitCursor calls
1817 * BranchList.h: remove spurious semicolons
1819 * MenuBackend.C: fix branchlist related crash
1821 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1829 * bufferparams.[Ch]:
1833 * text3.C: implements the 'branch inset'
1834 idea. This allows the output of various versions of a document
1835 from a single source version, selectively outputing or suppressing
1836 output of parts of the text.
1837 This implementation contains a 'branch list editor' in a separate
1838 tab of the document settings dialog. Branches are user definable
1839 and have a "display colour" to distinguish them on-screen.
1841 ColorHandler was somewhat cleaned up.
1842 (1) make possible a dynamically growing LColor list by allowing
1843 the graphic context cache to grow along (vector);
1844 (2) eliminate an IMHO unnecessary step in colour allocation.
1846 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1848 * BufferView_pimpl.C: compile fix
1850 2003-08-15 André Pönitz <poenitz@gmx.net>
1852 * rowpainter.C: remove extra metrics calls
1854 * lyxtext.h: merge the two constructors into a single one,
1855 pass reference to owner's par list
1857 * BufferView_pimpl.C:
1861 2003-08-15 André Pönitz <poenitz@gmx.net>
1863 * lyxrow_funcs.[Ch]:
1866 * paragraph_funcs.C:
1871 * text_funcs.C: split LyXText::rowlist_ into individual
1872 Paragraph::rows_ chunks
1875 * BufferView_pimpl.[Ch]:
1878 * text3.C: remove toggleSelection()
1880 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1882 * bufferlist.C: beautify two alerts (shorter text of buttons)
1883 * buffer.C: Remove redundant ' ' from message
1885 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1886 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1887 rename VALIGN_CENTER to VALIGN_MIDDLE
1889 2003-08-11 André Pönitz <poenitz@gmx.net>
1891 * lyxtext.h (getPar):
1892 * text.C: new function
1894 2003-08-11 André Pönitz <poenitz@gmx.net>
1897 * tracer.[Ch]: remove unneeded files
1899 * InsetList.[Ch]: remove resizeInsetsLyXText()
1904 * text3.C: merge insertParagraphs() and appendParagraph()
1905 remove breakAgain(), update()
1907 * BufferView_pimpl.[Ch]:
1908 * bufferview_funcs.[Ch]:
1912 * tabular.C: adjust after text & InsetList changes.
1914 2003-08-08 André Pönitz <poenitz@gmx.net>
1916 * text.C (insertChar, backspace): replace rowlist fiddling
1917 with rebreak of full par
1920 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1921 checkParagraph, updateInset): removed
1923 2003-08-07 André Pönitz <poenitz@gmx.net>
1926 * text3.C: merge some LFUN handlers, remove dead code
1928 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1930 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1932 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1934 * text2.C (DEPM): fix part of bug 1255 and 1256
1936 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1938 * BufferView_pimpl.C (workAreaDispatch): change to use
1939 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1940 that are no mouse related.
1942 2003-08-05 André Pönitz <poenitz@gmx.net>
1945 * BufferView_pimpl.[Ch]:
1946 * bufferview_funcs.C:
1948 * text3.C: rip out "deep update"
1950 * textcursor.[Ch] (last_sel_cursor): remove unused member
1952 2003-08-04 André Pönitz <poenitz@gmx.net>
1955 * BufferView_pimpl.[Ch]:
1956 * ParagraphParameters.C:
1957 * bufferview_funcs.C:
1963 * text3.C: replace "complicated" BufferView::update(...) calls with
1966 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1968 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1970 * Makefile.am (lyx_SOURCES): add paper.h
1972 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1974 * Makefile.am: move things around so that both lyx-qt and
1975 lyx-xforms can be built (according to --with-frontend). Then lyx
1976 is a symbolic link to lyx-[firstfrontend]
1978 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1980 * Always use std::endl with lyxerr
1982 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1984 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1986 2003-08-01 André Pönitz <poenitz@gmx.net>
1989 * BufferView_pimpl.[Ch]:
1991 * text3.C: merge BufferView::repaint() and BufferView::update()
1993 2003-08-01 José Matos <jamatos@lyx.org>
1995 * buffer.[Ch]: file_format is no longer a buffer data element.
1997 2003-08-01 André Pönitz <poenitz@gmx.net>
2002 * text2.C: make redoParagraph more independent of current cursor
2004 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2006 * text2.C: remove unneeded members
2008 2003-07-30 André Pönitz <poenitz@gmx.net>
2010 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2012 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2013 create a single function...
2015 * paragraph_funcs.C (moveItem): ... here.
2018 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2020 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2022 * LColor.[Ch]: Add comment and greyedout logical colors.
2024 2003-07-30 André Pönitz <poenitz@gmx.net>
2026 * tabular.C: don't use Assert too heavily. This crashes where it
2029 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2031 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2032 is disabled (bug 1232)
2034 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2036 * factory.C: limited 'arg' scope
2038 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2040 * factory.C: fixed Note submenu issues
2042 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2044 * factory.C: submenu for Note/Comment/Greyedout
2046 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2049 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2051 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2054 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2055 greyedout. Patch provided by Jürgen Spitzmüller.
2057 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2059 * kbmap.C (read): fix error message when reading bind files
2061 2003-07-29 Angus Leeming <leeming@lyx.org>
2063 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2064 certainly does not do what it purports to do. I am doing it, and
2065 us, a favour by killing it.
2067 2003-07-28 José Matos <jamatos@lyx.org>
2069 * buffer.C (readBody, do_writeFile):
2070 * paragraph.C(readParagraph): \end_document replaces \the_end.
2072 2003-07-29 André Pönitz <poenitz@gmx.net>
2075 * BufferView_pimpl.[Ch]:
2079 * textcursor.[Ch]: remove toggleToggle & Co
2081 2003-07-28 José Matos <jamatos@fep.up.pt>
2083 * buffer.C (readParagraph):
2084 * params_func (readParToken, readParagraph):
2085 * paragraph.C (write): \layout -> \begin_layout.
2087 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2089 * lyxlex_pimpl.C (setFile): clean up slightly.
2091 * bufferparams.h: add compressed var
2093 * buffer_funcs.C (readFile): adjust for LyXLex change
2094 (newFile): ditto + simplify
2096 * buffer.C (writeFile): handle writing of compressed files
2098 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2099 Check if the file is compressed and set a bufferparm if so.
2101 * Makefile.am (lyx_LDADD): remove explicit -lz
2103 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2105 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2106 makeDocBookFile): put the real LyX version in the first line of
2110 * version.C.in: remove lyx_docversion
2112 * tabular.C (write_attribute): add a template-based version to
2113 write enums properly
2115 2003-07-28 André Pönitz <poenitz@gmx.net>
2120 * text3.C: use doubles again for x-coordinates. They are needed.
2122 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2124 * messages.C (getLocaleDir): use lyx_localedir()
2126 * lyxlex_pimpl.C (setFile): compress stuff
2128 * buffer.C (writeFile): add some compression stuff
2129 (do_writeFile): new func, dont call expliti close... will this
2132 * Makefile.am (lyx_LDADD): add -lz
2134 2003-07-28 José Matos <jamatos@fep.up.pt>
2136 * buffer.C: increment file format.
2137 * paragraph_funcs (readParagraph, readParToken):
2138 * paragraph.C (readParagraph): add \end_layout.
2140 2003-07-27 Angus Leeming <leeming@lyx.org>
2142 * Makefile.am: remove special casing for configure-time setting of
2143 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2145 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2146 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2148 2003-07-26 André Pönitz <poenitz@gmx.net>
2150 * paragraph_func.[Ch]:
2151 * paragraph.C (realizeFont): inline it whereever it is used
2156 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2159 2003-07-26 André Pönitz <poenitz@gmx.net>
2163 * text2.C: get rid of LyXText::need_break_row
2165 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2167 * toc.[Ch]: put namespace toc inside namespace lyx
2169 * MenuBackend.C (expandToc2): adjust for lyx::toc
2172 * lyxfunc.C (dispatch): adjust for lyx::find
2174 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2175 lyx::find instead. Reorganize a bit.
2176 (LyXReplace): rename to replace
2177 (LyXFind): rename to find
2179 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2182 2003-07-26 André Pönitz <poenitz@gmx.net>
2184 * text.C (setHeightOfRow): restrict scope of temporary variable
2186 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2187 code (never has been used?)
2189 2003-07-27 Asger Alstrup <alstrup@local>
2191 * text.C (fill): Optimise algorithm to exploit that we can reuse
2192 the LyXFont for many characters.
2193 (setHeightOfRow): Same thing.
2194 (rowBreakPoint): Same thing.
2196 2003-07-26 Asger Alstrup <alstrup@local>
2198 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2200 * text.C (singleWidth): Spurious font copying in hot-spot
2201 singleWidth avoided. Reorder tests for arabic for efficiency.
2203 * text.C (fill): handle empty paragraphs better.
2205 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2208 * encoding.h: add includes
2210 * lyxrc.C: remove reading of bind files
2212 * lyx_main.C (init): setup bindings and menus only if we have a
2215 * kbmap.C (read): new method. Do the actual reading of bind
2218 * converter.C (dvipdfm_options):
2221 (output): adapt PAPER_* enums.
2223 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2225 * bufferparams.h: remove paper-related enums from there
2227 * paper.h: New file. A trivial header file to hold paper-related
2228 enums. It should later expand to contain many paper-related
2231 * lyxrc.C: declare extern displayTranslator
2233 2003-07-27 José Matos <jamatos@fep.up.pt>
2235 * tabular.[Ch] (linuxdoc): add support for tables and figures
2238 2003-07-27 José Matos <jamatos@fep.up.pt>
2240 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2241 consistency in both functions.
2242 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2244 2003-07-26 Asger Alstrup <alstrup@local>
2246 * rowpainter.C (paintRows): Change algorithm to work directly on
2247 the insets rather than asking every character in the document
2248 whether its an inset.
2250 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2252 * buffer.C (openFileWrite): factorize some code
2254 2003-07-26 Angus Leeming <leeming@lyx.org>
2257 * lyx_main.[Ch]: replace occurances of system_tempdir with
2260 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2262 * rename Inset to InsetOld
2264 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2266 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2267 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2268 which I think is a bit clearer. EDIT is gone, since it was
2269 premature optimisation, and broken for mathed anyway.
2270 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2271 with cursor positioning in insets as well (math insets still do not
2272 work, but that's a different story anyway.) It mysteriously
2273 crashes sometimes with undo in the first paragraph, but I'm fairly
2274 confident that this is a compiler bug.
2276 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2278 * paragraph.C (Paragraph): adjust for new clone return type
2280 (copyIntoMinibuffer): ditto
2282 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2284 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2285 by not having a special case, and always doing a full rebreak of
2286 the document after undo.
2288 2003-07-23 Angus Leeming <leeming@lyx.org>
2290 * factory.C (createInset): InsetExternal::setParams now takes a
2293 2003-07-23 Angus Leeming <leeming@lyx.org>
2295 * factory.C (createInset): changed interface to the external and
2296 graphics mailers' string2params functions.
2298 2003-07-23 Angus Leeming <leeming@lyx.org>
2300 * factory.C (createInset): pass a
2301 Buffer const * parameter to InsetExternalMailer's string2params.
2303 2003-07-22 John Levon <levon@movementarian.org>
2305 * Thesaurus.h: include the right aiksaurus header
2307 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2309 * MenuBackend.C (expand): check menu shortcuts unconditionally
2311 2003-07-21 Angus Leeming <leeming@lyx.org>
2313 * factory.C (createInset): pass a
2314 buffer_path parameter to InsetGraphicsMailer's string2params.
2316 2003-07-21 Angus Leeming <leeming@lyx.org>
2318 * BufferView_pimpl.C (buffer):
2321 * lyxfunc.C (dispatch):
2322 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2323 rather than the grfx shortcut.
2325 2003-07-21 André Pönitz <poenitz@gmx.net>
2327 * rowpainter.C: remove unused variables
2330 * tabular_funcs.h: move to tabular.C
2331 * Makefile.am: adjust
2333 * tabular.[Ch]: basic optical cleaning
2335 * author.h: pass references, not values
2337 2003-07-18 André Pönitz <poenitz@gmx.net>
2345 * text3.C: two-phase drawing for InsetText and InsetTabular
2346 some float -> int changes.
2348 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2350 * lyx_main.C: fix the fix
2352 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2354 * lyx_main.C: fix a crash in batch mode if no files specified
2357 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2359 * format.[Ch] (papersize): moved to BufferParams
2360 * converter.[Ch] (dvips_options): moved to BufferParams
2361 (dvipdfm_options): moved to anon namespace
2362 * bufferparams.[Ch]: added above functions.
2364 2003-07-17 André Pönitz <poenitz@gmx.net>
2368 * text2.C: don't call inset->update() anymore
2370 * metricsinfo.[Ch]: add convenience constructor
2372 2003-07-16 André Pönitz <poenitz@gmx.net>
2377 * text2.C: replace the LyXCursor::irow_ member with
2378 on-demand computation of the value
2380 2003-07-16 John Levon <levon@movementarian.org>
2382 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2384 2003-07-15 André Pönitz <poenitz@gmx.net>
2387 * text2.C: remove no more needed refresh_row
2389 2003-07-15 André Pönitz <poenitz@gmx.net>
2394 * text3.C: refresh_status tristate -> need_update bool
2396 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2398 * lyxtext.h (init): remove reinit argument (act as if always true)
2399 * text2.C: adjust to that
2401 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2403 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2404 * text3.C: use it to delete selections in some cases
2405 (bugs 441, 673, 702, 954).
2407 2003-07-14 André Pönitz <poenitz@gmx.net>
2409 * rowpainter.[Ch]: reduce interface
2411 2003-07-14 André Pönitz <poenitz@gmx.net>
2413 * BufferView_pimpl.C:
2414 * text2.C: adjust after removing unused BufferView * argument
2416 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2418 * text2.C (init): fix a crash fired on resize
2420 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2422 * buffer.[Ch]: added new closing signal
2423 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2424 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2425 BufferView::Pimpl via the closing the signal
2427 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2429 * buffer.[Ch]: take out all bv-related from buffer
2431 * BufferView_pimpl.[Ch]: connect to new signals
2432 * CutAndPaste.C: removed useless asserts
2433 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2436 * lyxfunc.C: moved view-related funciontality from vc here
2437 * paragraph.C: removed outdated comments
2440 2003-07-10 André Pönitz <poenitz@gmx.net>
2442 * BufferView_pimpl.C:
2446 * text2.C: remove InsetText::InnerCache, clean up consequences
2448 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2450 * ispell.C: fix two typos in error messages
2452 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2454 * Extend Note inset to other forms of annotation like Comment
2455 and Greyedout. Right button click gives dialog.
2457 Files modified or added (+):
2461 * ControlNote.[Ch] +
2463 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2464 frontends/controllers
2468 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2470 * aspell.C: add missing namespace lyx::support
2472 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2474 * BufferView.[Ch] (newFile): Add
2475 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2476 * LaTeX.[Ch] (message): added this signal and use it
2477 * buffer.[Ch] (busy, message): added these signals and use them
2478 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2482 * importer.C: use buffer signals instead of direct bv calling
2483 * lyx_cb.[Ch] (ShowMessage): removed
2486 * paragraph_funcs.C:
2487 * text2.C: use buffer signals
2489 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2491 * introduce namespace lyx::graphics
2493 2003-07-02 André Pönitz <poenitz@gmx.net>
2495 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2497 2003-07-01 André Pönitz <poenitz@gmx.net>
2504 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2505 text*.C to text_func.C
2507 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2509 * introduce namespace lyx::support
2511 2003-06-30 André Pönitz <poenitz@gmx.net>
2516 * text.C: re-enable --with-included-string
2518 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2520 * textcursor.C: add <config.h>
2522 * text.C (getWord): remove const from word_location arg
2524 * lyxvc.C (getLogFile): fix const type order
2526 * lyxtext.h: remove const from word_location arg, add arg name
2528 * lyxlayout.h: currect type on labeltype.
2530 * importer.C: correct \file
2532 * converter.C (intToFormat): use std:: on ret val, ws changes
2534 * bufferlist.h: correct \file
2536 * buffer.C (makeLinuxDocFile): fix const type order
2537 (makeDocBookFile): ditto
2538 (fillWithBibKeys): use std:: on stdlib args.
2540 * CutAndPaste.C: fix authors.
2541 (availableSelections): use std:: on return vector
2543 2003-06-27 André Pönitz <poenitz@gmx.net>
2545 * BufferView_pimpl.C:
2546 * bufferview_funcs.C:
2554 * text3.C: remove LyXCursor::row_ member
2557 * text.C: rename fullRebreak() to partialRebreak() and implement
2558 a fullRebreak() that really bereks fully
2560 * textcursor.h: new struct for cursor-related data
2562 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2564 * lyx_main.C (LyX): get full path of document loaded on the
2567 2003-06-26 André Pönitz <poenitz@gmx.net>
2569 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2570 remove unused/broken operator>,<,>=.
2572 * text.C: remove only use of broken operator<= in an Assert().
2574 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2576 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2577 moved errorlist_.clear to showErrorList
2579 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2581 * converter.C (scanLog, runLaTeX):
2582 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2583 move the bv->showErrorList call to the callers
2584 * lyxfunc.C: i.e. here...
2586 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2587 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2588 namespace, the second to...
2589 * buffer_funcs (BufferFormat, parseErrors): added
2590 * errorlist.C (ErrorList(TeXErrors const &)): removed
2592 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2594 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2596 2003-06-24 "Garst R. Reese" <reese@isn.net>
2600 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2602 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2604 * version.C.in: change docversion to 1.4
2606 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2608 * buffer.C: fix a bug just introduced
2610 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2612 * buffer.[Ch]: added the parseError signal and use it, removed
2614 * BufferView.[Ch] (addError): moved to ...
2615 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2616 to the Buffer::parseError signal to catch (guess what) parse errors
2617 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2619 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2621 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2622 ability to create a buffer and to return an existing one from
2623 the list. Moved these functions to...
2624 * buffer_funcs.[Ch]: added
2625 * BufferView.[Ch] (loadLyXFile): added
2626 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2627 job removed from bufferlist::loadLyXFile.
2628 * buffer.C (setReadOnly): make it work without view
2629 (i.e added an if (users))
2631 2003-06-19 Angus Leeming <leeming@lyx.org>
2634 * LyXAction.C (init):
2635 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2636 with LFUN_DIALOG_SHOW <name> <data>.
2638 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2640 * CutAndPaste.C (availableSelections): small compilation fix for
2641 ancient (gcc 2.9x) compilers
2643 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2645 * text3.C (cursorNext): add tmp var
2647 * text2.C (updateCounters): for function calling out of for clause
2648 (replaceSelectionWithString): ditto
2649 (insertStringAsParagraphs): ditto
2650 (getColumnNearX): add tmp var
2651 (setCursorFromCoordinates): add tmp var
2652 (cursorDownParagraph): add tmp var
2653 (deleteEmptyParagraphMechanism): add tmp var
2655 * text.C (insertChar): add tmp var
2657 * rowpainter.C (paintDepthBar): add tmp var
2659 * CutAndPaste.C (availableSelections): potentially check all
2660 paragraphs in a cut to fill the shown strings.
2662 2003-06-18 André Pönitz <poenitz@gmx.net>
2664 * kbmap.[Ch]: use vector<> instead of list<>
2666 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2668 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2669 pasteSelection with index
2671 * text2.C (pasteSelection): modify, call pasteSelection with index
2673 * paragraph.C (asString): reimplement version with no interval to
2674 call the one with interval.
2676 * lyxtext.h: add index arg to pasteSelection
2678 * MenuBackend.C (MenuItem): handle PasteRecent
2679 (Menu::read::Menutags): add md_pasterecent
2681 (expandPasteRecent): new function
2684 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2686 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2688 (availableSelections): new function
2690 2003-06-17 Angus Leeming <leeming@lyx.org>
2692 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2694 2003-06-17 Angus Leeming <leeming@lyx.org>
2697 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2699 * lyxfunc.C (dispatch): invoke it.
2701 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2703 * iterators.C (operator++, ParPosition): reintroduce some
2704 const_cast for the benefit of older compilers.
2706 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2708 * text3.C (dispatch): do not modify clipboard when doing
2709 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2710 LFUN_DELETE_SKIP on a selection selection
2712 2003-06-16 André Pönitz <poenitz@gmx.net>
2718 * tabular.[Ch]: IU of clone() and getLabelList();
2720 2003-06-13 André Pönitz <poenitz@gmx.net>
2722 * tabular.h: compactification
2724 2003-06-12 André Pönitz <poenitz@gmx.net>
2728 * tabular_funcs.h: some renaming plus whitespace
2730 2003-06-12 André Pönitz <poenitz@gmx.net>
2733 * BufferView_pimpl.C:
2739 * toc.C: Return a Paragraph & for ParIterator::operator*()
2741 2003-06-11 John Levon <levon@movementarian.org>
2745 * ToolbarBackend.C: add "Toolbars" section and
2748 2003-06-10 Angus Leeming <leeming@lyx.org>
2751 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2753 * lyxfunc.C (dispatch): invoke it.
2755 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2757 * main.C: protect <ios> with HAVE_IOS
2758 (main): protect sync_with_stdio with HAVE_IOS
2760 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2762 * text2.C (cutSelection): adjust
2763 (pasteSelection): adjust
2765 * messages.C: handle get of empty string
2767 * main.C (main): use sync_with_stdio(false)
2769 * lyxfunc.C (dispatch): adjust
2771 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2772 (WriteAs): remove unneeded BufferView arg.
2774 * bufferparams.h: use correct types on papersize, papersize2 and
2777 * bufferparams.C (readToken): adjust for type
2778 (writeLaTeX): add missing cases to switch.
2780 * bufferlist.C (quitWriteBuffer): adjust
2783 * buffer.C (asciiParagraph): remove some commented code.
2785 * CutAndPaste.C: remove current_view extern variable.
2786 (cutSelection): add BufferParams arg.
2787 (eraseSelection): add BufferParams arg.
2788 (pasteSelection): add Buffer const & arg
2790 2003-06-07 John Levon <levon@movementarian.org>
2793 * paragraph_funcs.C:
2794 * paragraph_pimpl.C:
2798 * paragraph.C: allow InsetERT to freely space lines,
2799 and some consolidation of code
2801 2003-06-06 José Matos <jamatos@fep.up.pt>
2803 * buffer.C (makeDocBookFile): fix bug #821
2805 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2807 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2809 2003-06-04 Angus Leeming <leeming@lyx.org>
2811 * buffer.C: bump format to 224.
2813 2003-06-05 André Pönitz <poenitz@gmx.net>
2815 * text2.C (redoParagraphs): remove two const_cast<>
2817 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2819 * ParagraphList.h: remove last remnants of NO_STD_LIST
2821 2003-06-03 Angus Leeming <leeming@lyx.org>
2823 * factory.C (createInset): small change to the way InsetExternal's params
2826 2003-06-04 André Pönitz <poenitz@gmx.net>
2828 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2830 * paragraph_pimpl.h:
2831 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2833 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2835 * undo_funcs.C: make some simple cases of undo work again
2837 2003-06-03 John Levon <levon@movementarian.org>
2839 * ispell.C: HPUX doesn't have sys/select.h
2842 2003-06-03 John Levon <levon@movementarian.org>
2844 * CutAndPaste.C: update tabular and include inset
2849 * paragraph.C: remove owningBuffer(), don't pass Buffer
2852 * factory.C: insetGraphicsParams changed
2854 2003-06-02 John Levon <levon@movementarian.org>
2860 * text3.C: remove insetparent
2862 2003-06-02 John Levon <levon@movementarian.org>
2865 * buffer.C: fix inset_iterator.end(), move out of line
2868 2003-06-01 John Levon <levon@movementarian.org>
2870 * text3.C: use a proper cut/paste when doing inset
2871 insert (from Jürgen Spitzmüller)
2873 2003-06-01 John Levon <levon@movementarian.org>
2875 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2877 2003-05-30 André Pönitz <poenitz@gmx.net>
2879 * rowpainter.C: unify second drawing phase
2881 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2883 * trans_mgr.C: remove one case of current_view
2885 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2887 * paragraph_funcs.h: remove paragraph.h include
2889 * paragraph.h: delete NO_STD_LIST stuff
2891 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2893 * buffer.h: remove paragraph.h include
2895 * ParagraphList.C: delete file
2897 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2899 * toc.C (getTocList): adjust
2901 * paragraph_pimpl.C (validate): adjust
2903 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2905 * paragraph.C (Paragraph): adjust
2906 (getPositionOfInset): use const_iterator, adjust
2907 (bibitem): use const_iterator, adjust
2908 (setInsetOwner): adjust
2910 * iterators.C (operator++): adjust
2912 * InsetList.[Ch]: Replace selfmade iterator with standard
2913 vector::iterator also introduce const_iterator. Remove getPos,
2914 getInset and setInset from InsetTable. Adjust accordingly.
2916 * BufferView.C (lockInset): adjust
2917 (ChangeInsets): adjust
2919 * tabular.[Ch]: delete commented same_id functions
2921 2003-05-28 John Levon <levon@movementarian.org>
2923 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2925 2003-05-28 André Pönitz <poenitz@gmx.net>
2927 * metricsinfo.[Ch]: remove 'fullredraw' member
2929 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2931 * lyxtextclass.C (operator): remove caching.
2933 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2937 * text2.C (cursorBottom): adjust
2938 (setCounter): use ParagraphList::find, adjust
2940 * text.C (workWidth): use ParagraphList::find, adjust
2942 * lyxcursor.C (LyXCursor): adjust
2944 * buffer.C (inset_iterator): adjust
2946 * ParagraphList.h: make iterator(value_type) private, make
2947 ParagraphList a friend of iterator.
2949 * ParagraphList.C (find): new function
2951 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2953 2003-05-27 André Pönitz <poenitz@gmx.net>
2955 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2957 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2959 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2961 2003-05-26 John Levon <levon@movementarian.org>
2963 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2965 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2967 * remove same_id from function signatures, adjust.
2969 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2971 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2973 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2975 * paragraph.C (Paragraph): get rid of same_ids parameter
2977 * ParagraphList.C (insert): adjust
2980 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2982 * paragraph_funcs.C (breakParagraph): adjust
2983 (breakParagraphConservative): adjust
2985 * buffer.C (readParagraph): adjust
2987 * ParagraphList.C (insert): take a reference instead of a pointer
2990 * paragraph.[Ch] (id): new function
2992 * bufferlist.C (newFile): adjust
2994 * ParagraphList.C (ParagraphList): adjust
2996 (push_back): take a reference instead of a pointer.
2998 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3000 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3003 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3004 set else use old code.
3006 * ParagraphList.C: remove all NO_NEXT code and only compile this
3007 code of NO_STD_LIST is set.
3009 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3011 * BufferView_pimpl.C:
3021 * graphics/GraphicsConverter.C:
3022 * graphics/PreviewLoader.C: header adjustment
3024 2003-05-23 Angus Leeming <leeming@lyx.org>
3026 * LaTeXFeatures.[Ch] (useBabel): new method.
3027 * bufferparams.C (writeLaTeX): use it.
3029 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3031 * ParagraphList.h (set): remove unused function.
3033 2003-05-23 André Pönitz <poenitz@gmx.net>
3036 * BufferView_pimpl.C:
3040 * undo_funcs.C: setUndo reworked
3042 * iterators.[Ch]: add access to topmost ParagraphList
3044 * lyxtext.[Ch] (workWidth): add a const
3046 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3048 * texrow.[Ch] (increasePos): remove function
3049 * exporter.C (export): removed unused var and outdated comment
3051 2003-05-23 Angus Leeming <leeming@lyx.org>
3053 * latexrunparams.h: rename fragile as moving_arg.
3054 * paragraph.C (simpleTeXOnePar): ditto.
3055 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3057 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3059 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3061 (textUndoOrRedo): comment out a currently unused var.
3063 * paragraph.h (NO_NEXT): enable NO_NEXT
3065 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3067 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3069 * exporter.C (Export): adjust for removeAutoInsets removal.
3071 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3073 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3075 * BufferView.[Ch] (removeAutoInsets): delete function
3077 2003-05-22 Angus Leeming <leeming@lyx.org>
3079 * latexrunparams.h: add a free_spacing variable.
3081 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3082 to pass moving_arg, as the data is stored in runparams.fragile.
3084 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3085 to Inset::latexOptional or to simpleTeXOnePar.
3087 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3088 free_spacing arg to Inset::latexOptional.
3090 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3093 2003-05-22 Angus Leeming <leeming@lyx.org>
3095 * latexrunparams.h: add fragile and use_babel variables.
3097 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3098 * buffer.C (makeLaTeXFile): store this returned value in
3099 runparams.use_babel, thus passing it to the inset::latex methods.
3101 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3102 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3104 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3105 longer has a fragile arg, as it is stored in runparams.fragile.
3107 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3108 moving_arg parameter as the data is stored in runparams.fragile.
3110 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3111 a fragile parameter as the data is stored in runparams.fragile.
3113 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3115 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3117 2003-05-22 Angus Leeming <leeming@lyx.org>
3119 * latexrunparams.h: add a 'bool nice' which defaults to false.
3121 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3122 now encapsulated within runparams.
3124 * bufferlist.C (updateIncludedTeXfiles):
3125 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3127 2003-05-22 Angus Leeming <leeming@lyx.org>
3129 * latexrunparams.h: new file containing struct LatexRunParams.
3130 * Makefile.am: add new file.
3132 * LaTeX.[Ch] (c-tor, run):
3133 * buffer.[Ch] (makeLaTeXFile):
3134 * bufferlist.[Ch] (updateIncludedTeXfiles):
3135 * converter.C (convert, scanLog):
3136 * converter.[Ch] (runLaTeX):
3137 * exporter.C (Export):
3138 * paragraph.[Ch] (simpleTeXOnePar):
3139 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3140 * paragraph_funcs.[Ch] (latexParagraphs):
3141 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3142 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3143 pass around a LatexRunParams parameter.
3145 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3147 * paragraph.[Ch]: remove unused constructor
3149 * ParagraphList.C (erase): new function, taking two iterators
3151 2003-05-22 André Pönitz <poenitz@gmx.net>
3153 * undo_funcs.C: remove duplicated code
3155 * iterator.[Ch]: operator=
3157 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3159 * tabular.C (SetMultiColumn): ws changes
3161 * rowpainter.C (paintFirst): get rid of a ->previous
3163 * lyx_cb.C (getPossibleLabel): parlist simplification
3165 * BufferView.C (ChangeInsets): simplify slightly.
3167 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3169 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3170 * lfuns.h: new LFUN_SPACE
3171 * lyxfunc.C: protected space has a new lfun
3172 * paragraph_funcs.C: read new space insets
3174 * factory.C: handle new space insets
3176 2003-05-22 André Pönitz <poenitz@gmx.net>
3179 * BufferView_pimpl.C:
3182 * undo_funcs.C: return a ParIterator from getParFromID.
3184 * iterators.[Ch]: add two const's
3186 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3188 * toc.C (getTocList): adjust
3190 * iterators.[Ch]: rework for parlist
3192 * buffer.C (par_iterator_begin): adjust
3193 (par_iterator_end): adjust
3195 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3197 * BufferView.C (removeAutoInsets): adjust
3198 (ChangeInsets): adjust
3200 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3202 * text.C (top_y): fix bug 1110
3204 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3206 * errorlist.[Ch]: added
3209 * BufferView_pimpl.C:
3210 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3213 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3215 * Makefile.am: ensure that lyx is relinked upon changes to the
3216 various "convenience" libs.
3218 2003-05-20 Angus Leeming <leeming@lyx.org>
3220 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3221 files are compiled in alphabetical order again.
3223 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3225 2003-05-19 Angus Leeming <leeming@lyx.org>
3227 * gettext.[Ch]: remove "char const * _(char const *)".
3229 2003-05-19 André Pönitz <poenitz@gmx.net>
3231 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3240 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3242 2003-05-19 André Pönitz <poenitz@gmx.net>
3246 * lyxtextclass.[Ch]:
3248 * paragraph_funcs.[Ch]:
3250 * text3.C: more insetenv work
3252 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3254 * ParagraphParameters.C (params2string): small bug fixed
3256 2003-05-16 André Pönitz <poenitz@gmx.net>
3259 * bufferview_funcs.C: patch from Kornel Benko to prevent
3260 crash when _(...) is called twice in a statement
3262 2003-05-16 André Pönitz <poenitz@gmx.net>
3269 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3271 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3273 * lyx_main.C (init): remove spurious static_cast
3275 2003-05-14 André Pönitz <poenitz@gmx.net>
3277 * BufferView.C: fix format string
3279 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3281 * BufferView.[Ch] (insertErrors): removed
3282 * BufferView.[Ch] (showErrorList): added
3283 * buffer.C (runChkTeX):
3284 * converter.C (scanLog): call showErrorList instead of inserterrors
3286 2003-05-13 André Pönitz <poenitz@gmx.net>
3288 * BufferView_pimpl.C:
3290 * bufferview_func.C:
3297 * tabular_funcs.h: tostr() from its own header
3299 * ParagraphParameters.C:
3304 * text3.C: STRCONV()
3306 2003-05-12 André Pönitz <poenitz@gmx.net>
3309 * BufferView_pimpl.C:
3313 * ParagraphParameters.C:
3317 * bufferview_funcs.C:
3330 * paragraph_funcs.C:
3334 * text3.C: boost::format -> bformat all over the place
3337 2003-05-09 André Pönitz <poenitz@gmx.net>
3339 * LColor.[Ch]: Pimpl the #include <map> away
3341 2003-05-09 John Levon <levon@movementarian.org>
3343 * bufferlist.C: never remove emergency saves
3345 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3347 * Makefile.am: better lib building
3349 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3351 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3353 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3354 (simpleTeXSpecialChars): adjust
3355 (simpleTeXSpecialChars): adjust
3356 * paragraph.C (simpleTeXOnePar): adjust
3357 * buffer.C (makeLaTeXFile): adjust
3359 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3361 * text2.C (changeDepth): parlist cleanup
3362 (getColumnNearX): ditto
3364 * rowpainter.C (getLabelFont): parlist cleanup
3366 * bufferlist.C (newFile): parlist cleanup
3368 * CutAndPaste.C (eraseSelection): parlist cleanup
3370 * BufferView_pimpl.C (trackChanges): parlist cleanup
3373 * BufferView.C (lockInset): parlist cleanup.
3374 (ChangeInsets): ditto
3376 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3378 * CutAndPaste.h: Update file header.
3380 * CutAndPaste.C: Update file header.
3381 Store the parts cut out of the Document in a limited_stack.
3382 (copySelection): adjust
3383 (pasteSelection): new function, takes the index in the limited stack.
3384 (nrOfParagraphs): adjust
3385 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3386 simplify error inset insertion.
3387 (checkPastePossible): adjust
3389 2003-05-06 John Levon <levon@movementarian.org>
3391 * text2.C: don't cast wrap inset to float
3393 2003-05-05 André Pönitz <poenitz@gmx.net>
3396 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3398 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3399 few naked Paragraph *.
3401 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3403 * bufferparams.C: Output warning if a document with missing
3404 TeX document class is loaded
3405 * exporter.C: Disable TeX exports if the document class is missing
3408 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3409 isTeXClassAvailable()
3411 2003-05-03 John Levon <levon@movementarian.org>
3414 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3415 explicit cursor show/hide
3417 * BufferView_pimpl.h:
3418 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3419 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3421 * lyxfunc.C: hide cursor before dispatching.
3426 * text3.C: remove explicit cursor hides
3428 2003-05-02 André Pönitz <poenitz@gmx.net>
3430 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3433 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3436 * text2.C: tiny whitespace
3438 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3440 * undo_funcs.C: almost only ws changes.
3442 * ParagraphList.C (splice): just return if pl is empty.
3444 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3446 * ParagraphList.C (splice): new function.
3448 * CutAndPaste.C (pasteSelection): use it
3450 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3452 * CutAndPaste.C (pasteSelection): remove the last next and
3453 previous from this file.
3455 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3457 * CutAndPaste.C (pasteSelection): more clean up, user proper
3458 ParagraphList functions for pasteing.
3460 * ParagraphList.C (insert): new function, three arg insert
3462 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3464 * ParagraphList.C (insert): new function, three arg insert
3466 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3469 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3471 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3473 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3475 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3477 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3479 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3480 (copySelection): clean up a bit.
3481 (pasteSelection): use make_pair
3483 * ParagraphList.C (ParagraphList): implement copy constructor
3484 (operator=): implement, base on copy constructor.
3487 * paragraph.C (erase): return a bool
3489 * paragraph_pimpl.C (erasePos): remove function, move contents...
3490 (erase): ... here. Return a bool.
3491 (erase): call erase instead of erasePos.
3493 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3495 * ParagraphList.h: define PitPosPair
3496 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3497 ParagraphList, fix a bug on pasting multiple pars
3498 * text2.C: change interface to C&P
3500 2003-04-30 André Pönitz <poenitz@gmx.net>
3502 * undo_func.C: revert part of yesterday's patch 2
3504 2003-04-30 John Levon <levon@movementarian.org>
3506 * LColor.C: s/tabular/table/
3508 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3510 * text3.C (dispatch): do not convert iterator -> pointer
3511 * undo_funcs.C (setCursorParUndo): ditto
3512 * text_funcs.C (transposeChars): ditto
3514 * text2.C (setLayout): ws changes only
3516 * text.C (breakParagraph): do not convert iterator -> pointer
3518 (acceptChange): ditto
3519 (rejectChange): ditto
3524 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3527 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3529 * text3.C (gotoInset): YABG (yet another bad getChar)
3531 2003-04-29 André Pönitz <poenitz@gmx.net>
3533 * paragraph.h: make operator= private unimplemented as long as
3536 * ParagraphList.C: whitespace
3539 * paragraph_pimpl.[Ch]:
3540 * paragraph_funcs.C:
3542 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3545 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3547 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3549 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3550 * paragraph.[Ch] (erase):
3551 * paragraph_pimpl.[Ch] (erase): change return type and value
3552 * text2.C (cutSelection): some rework
3554 2003-04-28 John Levon <levon@movementarian.org>
3556 * bufferlist.C: changes for unsaved changes dialog
3558 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3560 * bufferlist.C (newFile): set language (messages_) for new
3563 * buffer.C (readFile): ws changes only.
3565 2003-04-28 André Pönitz <poenitz@gmx.net>
3570 * BufferView_pimpl.C:
3571 * BufferView.C: getParFromID related ParagraphList::iterator changes
3573 2003-04-28 André Pönitz <poenitz@gmx.net>
3575 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3578 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3580 * messages.C: remove one more localedir class variable.
3582 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3584 * messages.C (getLocaleDir): singleton generation function
3586 (Messages): add a default constructor.
3588 * main.C (main): do not setup localedir here, do not call
3591 * gettext.C (_): use it.
3592 (gettext_init): delete funciton
3594 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3596 * gettext.C (getLyXMessages): new singleton generating function.
3598 * buffer.C (updateDocLang): adjust
3600 * Makefile.am (messages.o): add target
3601 (main.o): remove target
3603 2003-04-27 John Levon <levon@movementarian.org>
3608 * lyxvc.C: specify cancel button in Alert::prompt
3610 2003-04-26 John Levon <levon@movementarian.org>
3615 * LyXAction.C: add LFUN_INSET_SETTINGS
3617 * lyxfunc.C: don't enable tabular-feature when there's
3618 just any locking inset
3620 2003-04-26 John Levon <levon@movementarian.org>
3622 * bufferlist.C: re-add Cancel to buffer close question
3624 * lyxfunc.C: fix import UI a bit
3626 2003-04-25 John Levon <levon@movementarian.org>
3628 * gettext.C: remove the broken asserts for now
3630 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3632 * messages.C: make case where setlocale cannot comply work better.
3634 * buffer.C (updateDocLang): new function
3635 (changeLanguage): use it
3638 * text2.C (setCounter): use B_ a bit.
3640 * lyxlayout.C (Read): be sure to trim the label strings.
3642 * messages.C (Messages): fix typo in comment
3644 * buffer.C (readFile): set message_ after file is loaded.
3645 (makeDocBookFile): remove double return
3646 (changeLanguage): reset message_ upon language change.
3647 (B_): new func, use this to get translated buffer strings.
3649 * main.C: add myself and Jean Marc as authors.
3651 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3653 * messages.[hC]: pimplify Messages, and three different pimpls to be
3654 used in different circumstances.
3656 * gettext.[Ch]: change for use with new message code.
3658 2003-04-24 André Pönitz <poenitz@gmx.net>
3660 * factory.C: support for eqref
3662 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3664 * messages.[Ch]: add missing char
3666 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3668 * messages.[Ch]: New files
3670 2003-04-18 John Levon <levon@movementarian.org>
3674 * BufferView_pimpl.C:
3678 * text2.C: remove layout-copy/paste (bug 778)
3680 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3682 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3684 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3686 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3687 if they succeed. Act accordingly.
3689 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3691 * text2.C (setCharFont): adjust
3692 (setCounter): adjust
3693 (insertStringAsLines): adjust
3695 * text.C (leftMargin): adjust
3696 (setHeightOfRow): adjust
3698 * rowpainter.C (paintFirst): adjust
3701 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3703 (isFirstInSequence): ditto
3704 (getEndLabel): ditto
3707 * paragraph.C (getParLanguage): comment out some hard stuff.
3709 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3711 (simpleDocBookOnePar): ditto
3712 (makeDocBookFile): use ParagraphList::iterator
3714 * CutAndPaste.C (pasteSelection): adjust
3716 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3718 * text2.C (getFont): adjust
3719 (getLayoutFont): adjust
3720 (getLabelFont): adjust
3722 * paragraph_funcs.C (TeXOnePar): adjust
3724 * buffer.C (simpleLinuxDocOnePar): adjust
3725 (simpleDocBookOnePar): adjust
3727 * CutAndPaste.C (pasteSelection): adjust
3729 * BufferView.C (getEncoding): adjust
3731 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3733 2003-04-16 John Levon <levon@movementarian.org>
3735 * lyxfind.C: use parlist stuff for search/changes
3737 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3739 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3741 * text2.C (deleteEmptyParagraphMechanism): adjust
3743 * text2.[Ch] (ownerParagraph): delete func (both of them
3745 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3747 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3749 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3751 * ParagraphList.C: prepare for NO_NEXT
3753 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3755 * text2.C (getFont): adjust
3756 (getLayoutFont): adjust
3757 (getLabelFont): adjust
3759 * paragraph.C (getFont): adjust
3760 (getLabelFont): adjust
3761 (getLayoutFont): adjust
3763 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3765 2003-04-15 John Levon <levon@movementarian.org>
3769 * lyx_main.C: handle Include in .ui files
3771 2003-04-15 John Levon <levon@movementarian.org>
3773 * MenuBackend.C: make the doc files length shorter
3776 * ToolbarBackend.C: handle toolbar placement flags,
3779 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3781 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3784 * paragraph_funcs.C (TeXOnePar): adjust
3786 * paragraph.C (getLabelFont): add outerfont arg, adjust
3787 (getLayoutFont): ditto
3788 (simpleTeXOnePar): adjust
3790 * paragraph_pimpl.C (realizeFont): delete func
3792 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3794 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3795 row argument, constify cur argument.
3797 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3799 * text2.C (getFont): adjust
3800 (getLayoutFont): adjust
3801 (getLabelFont): adjust
3803 * paragraph_funcs.C (TeXOnePar): adjust
3804 (outerFont): new func...
3805 (realizeFont): ...moved out from here, changed this to facilitate
3808 * paragraph.C (getFont): take outerfont as arg, adjust
3809 (simpleTeXOnePar): add outerfont arg, adjust
3811 * buffer.C (simpleLinuxDocOnePar): adjust
3812 (simpleDocBookOnePar): adjust
3814 * CutAndPaste.C (pasteSelection): adjust
3816 * BufferView.C (getEncoding): adjust
3818 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3820 * text2.C (setCharFont): adjust
3821 (setCounter): adjust
3823 * text.C (leftMargin): adjust
3824 (setHeightOfRow): adjust
3826 * rowpainter.C (paintFirst): adjust
3829 * paragraph_pimpl.C (realizeFont): adjust
3831 * paragraph.C (isFirstInSequence): move from here...
3832 * paragraph_funcs.C (isFirstInSequence): ...to here
3834 * paragraph.C (outerHook): move from here...
3835 * paragraph_funcs.C (outerHook): ...to here
3837 * paragraph.C (depthHook): move from here...
3838 * paragraph_funcs.C (depthHook): ...to here
3840 * paragraph.C (getEndLabel): move from here...
3841 * paragraph_funcs.C (getEndLabel): ...to here
3843 * text2.C (realizeFont): move from here...
3844 * paragraph_funcs.C (realizeFont): ...to here
3846 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3848 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3850 2003-04-14 Angus Leeming <leeming@lyx.org>
3852 * LColor.[Ch]: scrap LColor mathcursor.
3854 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3856 * lyxlex.[Ch] (text): delete function
3857 * trans.C (Load): adjust
3858 * paragraph_funcs.C (readParToken): adjust
3860 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3862 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3863 vector<char> instead of a char[].
3865 * lyxlex_pimpl.C (getString): adjust
3867 (lex): use getString
3871 * lyxlex.C (text): use pimpl_->getString()
3875 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3877 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3878 (makeFontEntriesLayoutSpecific): temp var for par.size()
3879 (setLayout): temp var for ownerParagraphs().end()
3880 (fullRebreak): temp var for rows().end()
3881 (selectionAsString): temp var for boost::next(startpit), realize
3882 that the while really is a regular for loop.
3883 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3884 setCursor in one place.
3885 (setParagraph): temp vr for ownerParagraphs().end()
3886 (updateCounters): make the while loop a for loop
3887 (cutSelection): temp var for ownerParagraphs().end()
3888 (updateInset): make the do {} while() a regular for loop
3889 (getCursorX): use temp vars
3890 (setCurrentFont): use temp vars
3891 (getColumnNearX): use temp vars
3893 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3895 * text.C (transformChar): use temp var for getChar
3896 (computeBidiTables): use temp var for row->par()
3897 (fill): move temp vars for row->par() and pit->layout() earlier in
3899 (labelFill): use temp var for row->par()
3900 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3901 asc and desc, realize that pit never changes and that firstpit is
3902 just a duplicate and not needed. Exchange rit->par() with pit in a
3904 (breakAgain): use a temp var for boost::next(rit)
3905 (breakAgainOneRow): ditto
3906 (breakParagraph): use a temp var for rows().begin()
3907 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3908 (cursorRightOneWord): use temp var for cursor.par() and
3909 cursor.pos(), remove usage of tmpcursor.
3910 (cursorLeftOneWord): use temp var for cursor.par() and
3911 cursor.pos() only set cur at end of function.
3913 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3915 * text.C, text2.C: exchange all usage of Paragraph::next with
3916 boost::next(ParagraphList::iterator)
3918 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3920 * text2.C (cursorTop): simplify implementation
3921 (cursorBottom): ditto
3922 (setParagraph): use ParagraphList::iterator
3923 (setCurrentFont): adjust
3924 (getColumnNearX): adjust
3925 (cursorRight): adjust
3926 (cursorLeft): remove usage of Paragraph::previous
3927 (cursorUpParagraph): ditto
3928 (deleteEmptyParagraphMechanism): slight cleanup
3930 * text.C (isBoundary): take a Paragraph const & instead of a
3932 (addressBreakPoint): ditto
3933 (leftMargin): remove usage of Paragraph::previous.
3934 (setHeightOfRow): ditto
3935 (cursorLeftOneWord): ditto
3936 (selectNextWordToSpellcheck): ditto
3939 (breakParagraph): remove one usage of Paragraph::next
3940 (redoParagraph): ditto
3941 (acceptChange): ditto
3942 (insertChar): adjust
3943 (rowBreakPoint): adjust
3945 * bufferview_funcs.C (toggleAndShow): adjust
3947 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3949 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3950 methods to access it.
3952 * text.C: Added updateRowPositions to compute all row positions.
3953 Make top_y and getRowNearY() to use the cached y position
3955 2003-04-11 John Levon <levon@movementarian.org>
3957 * text.C (rowBreakPoint): reintroduce the labelEnd
3958 checks, code copied from the row fill stuff. Deep voodoo.
3960 * text.C (fill): add a comment and debugging for the
3963 2003-04-11 John Levon <levon@movementarian.org>
3965 * text.C: make sure fullrow insets get wrapped to the next line,
3966 even when they're in a manual label
3968 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3970 * text2.C (insertParagraph): make it take ParagraphList::iterator
3972 (setLayout): make it return ParagraphList::iterator
3973 (redoParagraphs): ditto
3975 (checkParagraph): ditto
3977 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3979 * text2.C: adjust several funcs.
3980 (realizeFont): take a ParagraphList::iterator as arg.
3981 (getLayoutFont): ditto
3982 (getLabelFont): ditto
3983 (setCharFont): ditto
3985 * text.C: adjust several funcs.
3987 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3989 * text.C (selectNextWordToSpellcheck): don't accidentally
3992 2003-04-10 John Levon <levon@movementarian.org>
3994 * ToolbarBackend.C (getIcon): special handling for
3997 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3999 * text2.C (cursorRight): a getChar assert fixed
4001 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4003 * text2.C (getFont): change to take a ParagraphList::iterator
4004 instead of Paragraph*
4005 Adjust several functions.
4007 * text.C (transformChar): change to take a ParagraphList::iterator
4008 instead of Paragraph*
4009 (singleWidth): ditto
4010 Adjust several functions.
4012 * rowpainter.C: adjust several functions
4013 * rowpainter.h:store a ParagraphList::iterator and not a
4017 2003-04-09 John Levon <levon@movementarian.org>
4022 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4023 and the "help" bits as well
4025 2003-04-09 John Levon <levon@movementarian.org>
4028 * ToolbarBackend.C: allow multiple toolbars
4030 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4032 * undo_funcs.C (setCursorParUndo): adjust
4034 * text_funcs.C (transposeChars): adjust
4036 * text3.C (gotoNextInset): adjust
4039 * text2.C (setLayout): adjust
4040 (changeDepth): adjust
4042 (redoParagraphs): adjust
4043 (selectionAsString): adjust
4044 (setParagraph): adjust
4045 (insertInset): adjust
4046 (cutSelection): adjust
4047 (copySelection): adjust
4048 (pasteSelection): adjust
4049 (insertStringAsLines): adjust
4050 (updateInset): adjust
4051 (setCursor): change to take a ParagraphList::iterator parameter
4052 (setCursorIntern): change to take a ParagraphList::iterator parameter
4053 (setCurrentFont): adjust
4054 (cursorLeft): adjust
4055 (cursorRight): adjust
4056 (deleteEmptyParagraphMechanism): adjust
4058 * text.C (breakParagraph): adjust
4059 (insertChar): adjust
4060 (acceptChange): adjust
4061 (rejectChange): adjust
4062 (selectNextWordToSpellcheck): adjust
4063 (changeCase): adjust
4067 * lyxfind.C (SearchForward): adjust
4068 (SearchBackward): adjust
4069 (nextChange): adjust
4071 * lyxcursor.C (par): adjust
4073 * lyxcursor.h: store a ParagraphList::iterator instead of a
4076 * lyx_cb.C (getPossibleLabel): adjust
4078 * bufferview_funcs.C (toggleAndShow): adjust
4080 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4083 * BufferView.C (removeAutoInsets): adjust
4084 (lockedInsetStoreUndo): adjust
4086 2003-04-09 John Levon <levon@movementarian.org>
4088 * ToolbarBackend.C: try icon without argument
4089 if with argument fails
4091 2003-04-08 John Levon <levon@movementarian.org>
4094 * ToolbarBackend.C: add getIcon(), handle tooltip,
4095 and change from "Icon" to "Item".
4097 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4099 * BufferView.C (lockInset): another bad getchar crunched
4101 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4103 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4106 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4108 * lyxfind.C (searchForward, searchBackwards): bug 782
4110 2003-04-07 John Levon <levon@movementarian.org>
4112 * paragraph.C: remove dead comment
4114 * text.C: remove troublesome depth-fiddling code
4115 in leftMargin() and rightMargin() (bug 1017)
4117 * text.C: fix breaking of rows in nested lists
4120 * text2.C (updateCounters): fix up depth values
4123 2003-04-07 John Levon <levon@movementarian.org>
4125 * BufferView_pimpl.C: clear message when doc finishes resizing,
4126 and after a mouse event
4128 * lyxfunc.C: clear message after exiting inset
4130 2003-04-07 John Levon <levon@movementarian.org>
4132 * bufferview_funcs.C: show math status not outside
4133 status in the statusbar
4135 2003-04-07 John Levon <levon@movementarian.org>
4137 * lyxfunc.C: note status changed after a depth change
4139 2003-04-04 Angus Leeming <leeming@lyx.org>
4141 * LaTeX.h: move AuxInfo operator==, != out of line.
4142 Remove LaTeX virtual destructor; nothing derives from it.
4143 Move operator()() out of public area and rename it startscript().
4144 Change protected for private.
4146 2003-04-04 Angus Leeming <leeming@lyx.org>
4149 * text2.C: remove unneeded #includes.
4151 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4153 * text2.C (dEPM): fix the heigth of the next row
4155 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4157 * text.C: squashed an invalid getChar requester + some ws changes
4159 2003-04-03 John Levon <levon@movementarian.org>
4161 * bufferview_funcs.h:
4162 * bufferview_funcs.C:
4165 * text2.C: make getStatus work for the env depth lfuns
4167 2003-04-03 John Levon <levon@movementarian.org>
4169 * bufferview_funcs.h:
4170 * bufferview_funcs.C:
4173 * text2.C: parlistize decDepth(), by merging it with incDepth()
4175 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4177 * lyxrow.h: store a ParagraphList::iterator instead of a
4178 Paragraph* and adjust other class functions to suit.
4180 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4183 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4185 * text2.C (setCursor): do not anchor to cursor row for the time being
4187 2003-04-02 John Levon <levon@movementarian.org>
4194 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4196 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4198 * paragraph.h: make ParagraphList and ParagraphList::iterator
4199 friends of Paragraph.
4201 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4203 * ParagraphList.C: Use the private next_ and previous_ from
4206 2003-04-01 John Levon <levon@movementarian.org>
4210 * Makefile.am: rename, remove defaults gunk
4213 * MenuBackend.C: remove defaults gunk
4216 * Languages.C: remove defaults gunk
4219 * lyx_main.C: error out if files couldn't be found.
4221 2003-04-02 John Levon <levon@movementarian.org>
4223 * text2.C: make incDepth() use parlist
4225 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4227 * undo_funcs.C (firstUndoParagraph): adjust
4229 * text3.C (gotoInset): adjust
4230 (dispatch): adjust, and rewrite loop.
4232 * text2.C (init): adjust, and rewrite loop.
4233 (redoParagraphs): adjust
4234 (updateInset): adjust, and rewrite loop.
4235 (deleteEmptyParagraphMechanism): adjust
4237 * tabular.C (LyXTabular): adjust
4238 (SetMultiColumn): adjust
4241 * lyxtext.[Ch] (ownerParagraph): delete function
4242 (ownerParagraphs): new function returns a ParagraphList.
4244 * BufferView.C (removeAutoInsets): adjust
4245 (insertErrors): adjust
4246 (setCursorFromRow): adjust
4248 2003-04-01 Angus Leeming <leeming@lyx.org>
4250 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4253 2003-04-02 John Levon <levon@movementarian.org>
4259 * text_funcs.C: make transposeChars a free function
4261 * lyxrow_funcs.C: remove wrong comment
4263 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4266 * rowpainter.C: adjust
4271 * lyxrow_funcs. [Ch]: new files
4273 * lyxrow.[Ch]: remove next and previous pointers
4274 (next,previous): remove accessor functions
4275 (isParEnd): move to lyxrow_funcs
4276 (lastPos): move to lyxrow_funcs
4277 (nextRowIsAllInset): move to lyxrow_funcs
4278 (lastPrintablePos): move to lyxrow_funcs
4279 (numberOfSeparators): move to lyxrow_funcs
4280 (numberOfHfills): move to lyxrow_funcs
4281 (numberOfLabelHfills): move to lyxrow_funcs
4282 (hfillExpansion): move to lyxrow_funcs
4286 * bufferview_funcs.C (toggleAndShow): adjust
4288 * RowList.h: Remove class RowList from file leave just a
4291 * RowList.C: delete file
4293 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4296 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4298 * text3.C (cursorPrevious): adjust
4299 (cursorNext): adjust
4302 * text2.C (redoHeightOfParagraph): adjust
4303 (redoDrawingOfParagraph): adjust
4306 * text.C (breakParagraph): adjust
4307 (insertChar): adjust
4310 * rowpainter.C (RowPainter): adjust
4311 (leftMargin): simplify and adjust
4312 (most rowpainter functions): adjust.
4314 * rowpainter.h: store the row as RowList::iterator not as Row*
4316 * lyxcursor.C (row): taka RowList::iterator as arg
4319 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4322 2003-04-01 Angus Leeming <leeming@lyx.org>
4324 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4325 stuff like bool Bool.
4327 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4329 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4332 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4334 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4337 * lyxtext.h (rows): drop one version and leve a const variant that
4338 returns a RowList::iterator.
4340 2003-03-31 Angus Leeming <leeming@lyx.org>
4342 * text.C (fill): ensure that the signature is the same as that in the
4345 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4347 * text2.C (redoParagraphs): adjust
4348 (updateCounters): adjust
4349 (checkParagraph): adjust
4350 (getColumnNearX): adjust and reformat a bit.
4352 * text.C (top_y): adjust
4354 (leftMargin): adjust
4355 (prepareToPrint): adjust
4357 (getRowNearY): adjust
4359 * lyxtext.h: make rowlist_ mutable.
4361 * RowList.h: add const_iterator
4362 * RowList.C: adjust for RowList::const_iterator.
4364 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4367 2003-03-31 John Levon <levon@movementarian.org>
4370 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4372 * lyx_main.C: set default fonts from using lyx_gui funcs
4374 * exporter.C: pdf_mode moved from lyxrc
4377 * lyxfunc.C: changes from above
4379 2003-03-31 John Levon <levon@movementarian.org>
4381 * lyx_main.C: fix to the last fix
4383 2003-03-31 John Levon <levon@movementarian.org>
4385 * bufferlist.C: "Load original" -> "Load Original"
4391 * format.C: more Alert cleanups
4393 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4395 * text2.C (removeParagraph): make it take a RowList::iterator as
4397 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4398 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4400 * text.C (anchor_row): make it take a RowList::iterator as arg,
4402 (computeBidiTables): make it take a const reference to Row instead
4403 of Row pointer, adjust.
4404 (leftMargin): make it take a RowList::iterator as arg, adjust.
4405 (rowBreakPoint): adjust
4406 (breakAgainOneRow): make it take a RowList::iterator as arg,
4408 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4410 * bufferview_funcs.C (toggleAndShow): adjust
4412 2003-03-30 John Levon <levon@movementarian.org>
4416 * boost-inst.C: moved to support
4418 * several files: changes as a result
4420 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4422 * text2.C (LyXText): adjust.
4424 (removeRow): make it take a RowList::iterator as arg, adjust.
4425 (fullRebreak): adjust
4426 (deleteEmptyParagraphMechanism): adjust
4427 (clearPaint): adjust
4430 * text.C (top_y): adjust
4431 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4432 (breakAgain): make it take a RowList::iterator as arg, adjust.
4433 (breakParagraph): adjust
4434 (insertChar): adjust
4437 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4438 need_break_row, and refresh_row.
4440 * text3.C (dispatch): adjust
4442 * text2.C (checkParagraph): adjust
4444 (setCursorFromCoordinates): adjust
4446 * text.C (top_y): adjust
4448 (getRow): make it return a RowList::iterator, adjust
4449 (getRowNearY): make it return a RowList::iterator, adjust
4451 * text2.C (init): adjust
4452 (insertRow): remove function
4453 (insertParagraph): adjust
4454 (redoParagraphs): adjust
4455 (fullRebreak): adjust
4456 (updateCounters): adjust
4458 * text.C (top_y): rewrite to use RowList iterators.
4460 (setHeightOfRow): rewrite to sue RowList iterators.
4461 (appendParagraph): adjust
4462 (breakAgain): adjust
4463 (breakAgainOneRow): adjust
4464 (breakParagraph): adjust
4466 (getRowNearY): adjust, and remove commented code.
4468 * lyxtext.h (firstRow): delete function
4469 (lastRow): delete function
4470 (rows): new function (const and non-const versions.)
4471 (insertRow): delete function
4473 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4475 2003-03-29 John Levon <levon@movementarian.org>
4477 * BufferView_pimpl.C: always update scrollbar top
4478 because pasting text when we're anchored could mean we
4479 miss an update altogether
4481 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4483 * text2.C (init): use rowlist_.end() and not 0.
4484 (insertRow): change to take a RowList::iterator as arg, adjust
4486 (insertParagraph): change to take a RowList::iterator as arg,
4488 (redoParagraphs): remove some debug msgs.
4490 * text.C (appendParagraph): change to take a RowList::iterator
4491 arg, adjust for this.
4492 (breakAgain): add an assert
4493 (breakAgainOneRow): ditto
4495 2003-03-29 John Levon <levon@movementarian.org>
4497 * text2.C: do not clear selection after inc/decDepth
4500 2003-03-29 John Levon <levon@movementarian.org>
4503 * buffer.C: fix broken strerrors according to Lars
4505 2003-03-29 John Levon <levon@movementarian.org>
4507 * converters.C: more Alert cleanups
4509 2003-03-29 John Levon <levon@movementarian.org>
4511 * bufferview_funcs.C: remove pointless Alert
4513 * buffer.C: fix confusing error message when
4514 a template is chmoded 000
4516 2003-03-29 John Levon <levon@movementarian.org>
4520 * BufferView_pimpl.C: Alert fixes
4524 * tabular-old.C: remove unused table compat reading
4526 2003-03-29 John Levon <levon@movementarian.org>
4531 * lyx_cb.C: more Alert cleanups
4533 * lyxfunc.C: don't allow chktex if not latex document
4535 2003-03-29 John Levon <levon@movementarian.org>
4539 * buffer.C: warnings pushed down from support/,
4542 2003-03-29 John Levon <levon@movementarian.org>
4544 * lyxfunc.C: safety check for C-r (revert)
4546 2003-03-29 John Levon <levon@movementarian.org>
4549 * bufferlist.C: several UI fixes using Alert::prompt.
4550 Fix the pointless looping quit code. Fix stupid revert
4555 * lyx_cb.C: use Alert::prompt
4557 * lyx_main.C: remove a silly question
4559 * lyxfunc.C: remove a couple of silly questions,
4562 2003-03-28 John Levon <levon@movementarian.org>
4564 * text2.C: fix bug 974 (End on empty par)
4566 2003-03-28 John Levon <levon@movementarian.org>
4568 * BufferView_pimpl.C:
4570 * lfuns.h: remove do-nothing math greek lfuns
4572 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4574 * lyxgluelength.h (isValidGlueLength): add default arg on
4575 parameter 2. Remove default arg from friend in class.
4577 * lyxlength.h (isValidLength): add default arg on parameter 2.
4578 Remove default arg from friend in class.
4580 * text2.C (LyXText): adjust, initialize refresh_row.
4584 (insertParagraph): adjst
4585 (redoParagraphs): adjust
4586 (fullRebreak): adjust
4587 (updateCounters): adjust
4588 (deleteEmptyParagraphMechanism): first attempt at fixing a
4591 * text.C (top_y): adjust
4592 (setHeightOfRow): adjust
4594 (getRowNearY): adjust
4596 * lyxtext.h: include RowList.h
4597 (~LyXText): not needed anymore, deleted.
4598 (firstRow): modify for RowList
4599 (lastRow): new function
4600 Delete firstrow and lastrow class variables, add a Rowlist
4601 rowlist_ class variable.
4603 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4606 * RowList.C (insert): fix case where it == begin().
4608 2003-03-26 Angus Leeming <leeming@lyx.org>
4610 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4611 the thesaurus dialog.
4613 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4615 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4617 * RowList.[Ch]: new files
4619 * ParagraphList.C (erase): handle the case where it == begin
4622 2003-03-25 John Levon <levon@movementarian.org>
4626 * aspell.C: add new aspell support
4629 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4632 2003-03-25 Angus Leeming <leeming@lyx.org>
4635 * LyXAction.C (init): new LFUN_INSET_INSERT.
4637 * BufferView_pimpl.C (dispatch): split out part of the
4638 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4640 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4643 2003-03-25 Angus Leeming <leeming@lyx.org>
4645 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4647 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4650 * text3.C: remove useless row->height(0)
4652 2003-03-25 John Levon <levon@movementarian.org>
4656 * text3.C: rename the refreshing stuff to better names
4658 2003-03-24 John Levon <levon@movementarian.org>
4660 * BufferView_pimpl.h:
4661 * BufferView_pimpl.C: update layout choice on a mouse
4664 2003-03-23 John Levon <levon@movementarian.org>
4666 * Makefile.am: fix commandtags.h reference
4668 2003-03-22 John Levon <levon@movementarian.org>
4670 * BufferView_pimpl.C:
4675 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4677 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4680 * text.C: take the rtl methods out of line
4682 2003-03-21 André Pönitz <poenitz@gmx.net>
4684 * metricsinfo.[Ch]: new files containing structures to be passed around
4685 during the two-phase-drawing...
4687 2003-03-21 André Pönitz <poenitz@gmx.net>
4689 * lyxtextclass.C: read 'environment' tag.
4691 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4693 * text2.C (removeRow): fix bug 964
4695 2003-03-20 John Levon <levon@movementarian.org>
4699 * text2.C: paint cleanups. Inset::update() dropped font
4702 2003-03-19 John Levon <levon@movementarian.org>
4704 * lyxfunc.C: only fitcursor/markDirty if available()
4706 2003-03-19 John Levon <levon@movementarian.org>
4708 * commandtags.h: rename to ...
4710 * lfuns.h: ... this, and renumber / cleanup
4712 2003-03-19 John Levon <levon@movementarian.org>
4714 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4715 fit the cursor after an lfun
4719 * BufferView_pimpl.h:
4720 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4722 * LyXAction.C: layout-character should have ReadOnly
4724 * ParagraphParameters.C:
4726 * bufferview_funcs.C:
4733 * undo_funcs.C: changes from above
4735 2003-03-18 John Levon <levon@movementarian.org>
4737 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4738 remove it from update()
4740 * lyxfunc.C: update layout choice after an lfun
4742 * text3.C: remove extra updateLayoutChoice()s
4744 2003-03-18 John Levon <levon@movementarian.org>
4746 * text.C: top_y change means full repaint, fix
4747 a drawing bug with cursor movement
4749 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4753 * text2.C: anchor row on setCursor
4755 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4757 * lyxtext.h: remove almost all mutable keywords
4760 * text3.C: remove const keywords accordingly
4762 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4764 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4766 (TeXEnvironment): ditto
4769 2003-03-17 John Levon <levon@movementarian.org>
4771 * text.C (rowBreakPoint): remove attempt to fix displayed
4772 math insets inside a manual label
4774 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4776 * lyxtext.h: remove BufferView* as first arg from almost all class
4778 * other files: adjust.
4780 2003-03-17 John Levon <levon@movementarian.org>
4784 * text2.C: more paint cleanups
4786 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4789 * rowpainter.C: remove "smart" background painting code
4791 2003-03-16 John Levon <levon@movementarian.org>
4796 * text3.C: add helper functions for setting refresh_row/y
4798 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4800 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4801 newline inset which *can* get inserted in the pass_thru layouts.
4802 This is primarily for literate documents.
4804 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4806 * buffer.C: increment LYX_FORMAT to 223
4808 2003-03-14 André Pönitz <poenitz@gmx.net>
4810 * textclass.h: prepare for environment handling, ws changes
4811 * lyxlayout.C: read latexheader and latexfooter tags
4813 2003-03-14 John Levon <levon@movementarian.org>
4815 * text2.C: rewrite ::status() a bit
4817 2003-03-13 John Levon <levon@movementarian.org>
4819 * lyxtext.h: add some docs
4821 2003-03-13 John Levon <levon@movementarian.org>
4826 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4828 2003-03-13 John Levon <levon@movementarian.org>
4830 * text3.C: fix appendix redrawing
4832 2003-03-13 John Levon <levon@movementarian.org>
4834 * text.C (setHeightOfRow):
4836 * rowpainter.C: make appendix mark have the text
4837 "Appendix" so the user knows what it is
4840 * LColor.C: s/appendixline/appendix/ from above
4842 2003-03-13 John Levon <levon@movementarian.org>
4844 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4846 * text.C: fix a getChar(pos) bug properly
4848 2003-03-13 Angus Leeming <leeming@lyx.org>
4851 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4852 Probably only temporary. Let's see how things pan out.
4854 * BufferView.C (unlockInset):
4855 * BufferView_pimpl.C (fitCursor):
4856 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4858 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4859 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4861 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4862 new functions that convert ParagraphParameters to and from a string.
4864 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4865 BufferView::Pimpl's dispatch.
4866 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4868 2003-03-13 André Pönitz <poenitz@gmx.net>
4872 * factory.C: make it aware of InsetEnv
4874 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4876 * text2.C (setCursor): never ask for one past last
4877 (setCursor): add some debugging messages.
4879 * text.C (singleWidth): never ask for one past last
4880 (singleWidth): ditto
4882 (rightMargin): ditto
4883 (rowBreakPoint): ditto
4884 (setHeightOfRow): ditto
4885 (prepareToPrint): ditto
4887 * rowpainter.C (paintBackground): never ask for one past last
4888 (paintText): never ask for one past last
4890 * paragraph_pimpl.C (getChar): make the assert stricter, never
4891 allow the one past last pos to be taken
4893 * paragraph.C (getChar): ws changes only
4895 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4896 (numberOfSeparators): ditto
4897 (numberOfHfills): ditto
4899 2003-03-12 John Levon <levon@movementarian.org>
4905 * paragraph_funcs.C: fix per-buffer authorlists
4907 2003-03-12 John Levon <levon@movementarian.org>
4909 * text.C: fix newline in right address
4911 2003-03-12 Angus Leeming <leeming@lyx.org>
4913 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4914 duplicate those in LyXFunc::dispatch.
4918 * ToolbarDefaults.C:
4919 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4920 Add LFUN_FONTFREE_UPDATE.
4922 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4923 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4925 * bufferview_func.[Ch]: several new functions to facilliate
4926 transfer of data to and from the character dialog.
4928 2003-03-12 John Levon <levon@movementarian.org>
4933 * paragraph_funcs.C:
4934 * paragraph_pimpl.C:
4938 * text3.C: remove META_NEWLINE in favour of an inset
4941 * rowpainter.C: remove paintNewline (done by inset)
4943 2003-03-12 John Levon <levon@movementarian.org>
4945 * paragraph_pimpl.C: complain about bad getChar()s
4946 for a while at least
4948 2003-03-12 John Levon <levon@movementarian.org>
4951 * buffer.C: move paragraph read into a separate function,
4952 a little renaming to reflect that.
4955 * bufferparams.C: remove the author_ids map, not necessary now
4958 * factory.C: moved Buffer::readInset to here
4960 * paragraph_funcs.h:
4961 * paragraph_funcs.C: readParagraph free function moved from
4964 * tabular.C: name change
4966 2003-03-12 John Levon <levon@movementarian.org>
4969 * ParagraphParameters.C: move par params input to
4972 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4973 behave like a normal read from the stream wrt reading
4974 a line vs. a \\token
4976 2003-03-12 John Levon <levon@movementarian.org>
4979 * ParagraphParameters.h:
4980 * ParagraphParameters.C: move output code to a
4983 2003-03-12 John Levon <levon@movementarian.org>
4985 * BufferView.C (insertLyXFile):
4988 * tabular.C: use a parlist iterator for creating the
4991 2003-03-12 John Levon <levon@movementarian.org>
4993 * buffer.C: make current_change static local not
4996 2003-03-12 John Levon <levon@movementarian.org>
4998 * buffer.C: fix insertStringAsLines for change tracking
5000 2003-03-12 John Levon <levon@movementarian.org>
5007 * bufferparams.C: move author list into params. Rename some
5008 functions. Move the header reading into a separate token
5009 loop. Move the header token reading into BufferParams.
5011 2003-03-12 John Levon <levon@movementarian.org>
5013 * changes.C: put debug inside lyxerr.debugging() checks
5015 2003-03-11 André Pönitz <poenitz@gmx.net>
5017 * factory.C: make it aware of InsetHFill
5019 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5021 * buffer.C (latexParagraphs): move function from here...
5022 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5025 2003-03-10 Angus Leeming <leeming@lyx.org>
5027 * LyXAction.C (init): fix bug in poplating array with multiple entries
5028 with the same LFUN (spotted by JMarc).
5030 2003-03-10 John Levon <levon@movementarian.org>
5033 * text2.C: move getColumnNearX() near its
5036 2003-03-10 John Levon <levon@movementarian.org>
5038 * text.C: fix break before a minipage
5040 2003-03-10 John Levon <levon@movementarian.org>
5042 * text.C: fix the last commit
5044 2003-03-09 John Levon <levon@movementarian.org>
5048 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5049 bug 365 (don't break before insets unless needed). Don't
5050 return a value > last under any circumstances.
5052 2003-03-09 Angus Leeming <leeming@lyx.org>
5054 * BufferView_pimpl.C (trackChanges, dispatch): call
5055 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5057 2003-03-09 Angus Leeming <leeming@lyx.org>
5059 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5060 than Dialogs::showAboutlyx().
5062 2003-03-09 Angus Leeming <leeming@lyx.org>
5064 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5065 than Dialogs::showTabularCreate().
5067 2003-03-09 John Levon <levon@movementarian.org>
5071 * text2.C: 3rd arg to nextBreakPoint was always the same.
5074 2003-03-08 John Levon <levon@movementarian.org>
5081 * text2.C: Remove the "main" bit from the "main body"
5084 2003-03-08 John Levon <levon@movementarian.org>
5086 * text.C (leftMargin): The left margin of an empty
5087 manual label paragraph should not include the label width
5090 * text.C (prepareToPrint): don't attempt to measure hfills
5091 for empty manual label paragraphs - the answer should be 0
5093 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5095 * CutAndPaste.C: remove commented code and reindent.
5097 2003-03-08 John Levon <levon@movementarian.org>
5100 * lyxfunc.C: move reloadBuffer()
5103 * BufferView.C: to here
5105 * lyxvc.C: add comment
5108 * vc-backend.C: call bv->reload() to avoid
5109 getStatus() check on MENURELOAD
5111 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5113 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5114 to an old format .dep file.
5116 2003-03-07 Angus Leeming <leeming@lyx.org>
5118 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5119 when the LFUN_MOUSE_RELEASE should have been handled by
5120 inset->localDispatch.
5122 2003-03-07 Angus Leeming <leeming@lyx.org>
5124 * BufferView_pimpl.C (dispatch):
5125 * LyXAction.C (init):
5126 * ToolbarDefaults.C (init):
5128 * lyxfunc.C (getStatus):
5129 remove LFUN_INSET_GRAPHICS.
5131 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5133 2003-03-07 Angus Leeming <leeming@lyx.org>
5136 * LyXAction.C (init):
5137 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5139 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5142 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5144 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5145 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5147 2003-03-07 Angus Leeming <leeming@lyx.org>
5149 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5152 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5154 * ParagraphList.C (front): new function
5157 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5159 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5160 and top_row_offset_. removed var first_y.
5162 * text2.C (LyXText, removeRow):
5164 * BufferView_pimpl.C:
5165 use these methods instead of using first_y
5167 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5169 * text2.C (pasteSelection): adjust for checkPastePossible
5171 * CutAndPaste.C: remove Paragraph * buf and replace with
5172 ParagraphList paragraphs.
5173 (DeleteBuffer): delete
5174 (cutSelection): change the tc type to textclass_type
5175 (copySelection): change the tc type to textclass_type
5176 (copySelection): adjust for ParagraphList
5177 (pasteSelection): change the tc type to textclass_type
5178 (pasteSelection): adjust for Paragraphlist
5179 (nrOfParagraphs): simplify for ParagraphList
5180 (checkPastePossible): simplify for ParagraphList
5181 (checkPastePossible): remove unused arg
5183 * ParagraphList.C (insert): handle the case where there are no
5186 * CutAndPaste.h: make CutAndPaste a namespace.
5188 * text3.C (dispatch): adjust
5190 * text.C (breakParagraph): add a ParagraphList as arg
5192 * paragraph_funcs.C (breakParagraph): change to take a
5193 BufferParams and a ParagraphList as args.
5194 (breakParagraphConservative): ditto
5195 (mergeParagraph): ditto
5196 (TeXDeeper): add a ParagraphList arg
5197 (TeXEnvironment): ditto
5200 * buffer.C (readLyXformat2): adjust
5201 (insertStringAsLines): adjust
5202 (latexParagraphs): adjust
5204 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5205 (cutSelection): adjust
5206 (pasteSelection): adjust
5208 * BufferView_pimpl.C (insertInset): adjust
5210 2003-03-05 Angus Leeming <leeming@lyx.org>
5213 * LyXAction.C (init):
5214 * BufferView_pimpl.C (dispatch):
5215 * lyxfunc.C (getStatus):
5216 remove LFUN_CHILD_INSERT.
5218 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5220 2003-03-05 Angus Leeming <leeming@lyx.org>
5223 * LyXAction.C (init):
5224 * src/factory.C (createInset):
5225 * lyxfunc.C (getStatus):
5226 * text3.C (dispatch):
5227 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5229 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5231 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5233 * ParagraphList.C (insert): handle insert right before end()
5234 (erase): fix cases where it can be first or last paragraph.
5236 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5238 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5239 Paragraph::next and Paragraph::previous
5242 * text.C (breakParagraph): adjust
5244 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5245 BufferParams& as arg.
5246 (breakParagraph): use ParagraphList::insert
5247 (breakParagraphConservative): take a Buffer* instead of a
5248 BufferParams& as arg.
5249 (breakParagraphConservative): use ParagraphList::insert.
5251 * buffer.C (insertStringAsLines): un-const it
5252 (insertStringAsLines): adjust
5254 * ParagraphList.C (insert): new function
5256 * CutAndPaste.C (pasteSelection): adjust
5258 * text.C (backspace): adjust
5260 * tabular.C (SetMultiColumn): adjust
5262 * CutAndPaste.C (cutSelection): adjust
5263 (pasteSelection): adjust
5265 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5266 Buffer const * as arg
5268 * ParagraphList.C (erase): new function
5269 * paragraph_funcs.C (mergeParagraph): use it
5270 (mergeParagraph): make it take a Buffer* instead of a
5271 BufferParams* as arg
5273 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5275 (breakParagraphConservative): ditto
5277 * paragraph.h: remove the breakParagraph friend
5279 * paragraph.C (eraseIntern): new function
5280 (setChange): new function
5282 * paragraph_funcs.C (mergeParagraph): make it take a
5283 ParagraphList::iterator instead of a Paragraph *, adjust
5286 * paragraph.h: move an #endif so that the change tracking stuff
5287 also works in the NO_NEXT case.
5289 2003-03-04 Angus Leeming <leeming@lyx.org>
5292 * LyXAction.C: new LFUN_INSET_MODIFY.
5294 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5295 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5297 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5299 * several files: ws changes only
5301 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5302 (TeXEnvironment): ditto
5305 * buffer.C (makeLaTeXFile): adjust
5306 (latexParagraphs): make it take ParagraphList::iterator as args
5308 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5310 * buffer.C (latexParagraphs): adjust
5312 * paragraph.C (TeXOnePar): move function...
5313 (optArgInset): move function...
5314 (TeXEnvironment): move function...
5315 * paragraph_pimpl.C (TeXDeeper): move function...
5316 * paragraph_funcs.C: ...here
5318 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5320 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5322 * buffer.C (readInset): remove compability code for old Figure and
5325 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5327 * buffer.C: ws changes
5330 * BufferView_pimpl.C: ditto
5333 * bufferlist.h: ditto
5337 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5339 * converter.[Ch]: split into itself +
5342 * Makefile.am: += graph.[Ch] + format.[Ch]
5349 * lyxrc.C: added #include "format.h"
5351 2003-02-27 Angus Leeming <leeming@lyx.org>
5353 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5356 * factory.C (createInset): add "label" to the factory.
5358 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5359 string and do no more.
5361 2003-02-27 Angus Leeming <leeming@lyx.org>
5364 * LyXAction.C (init):
5365 * factory.C (createInset):
5366 * BufferView_pimpl.C (dispatch):
5367 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5369 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5371 * lyxfunc.C (dispatch):
5372 * text3.C (dispatch): pass name to params2string.
5374 2003-02-26 Angus Leeming <leeming@lyx.org>
5376 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5378 Rearrange the ~includes. Strip out the unnecessary ones.
5380 * factory.C (createInset): reformat.
5381 create new insets for the various LFUN_XYZ_APPLY lfuns.
5383 2003-02-26 John Levon <levon@movementarian.org>
5386 * lyxrow.C: add isParStart,isParEnd helpers
5388 * paragraph.h: make isInserted/DeletedText take refs
5390 * paragraph_funcs.h:
5391 * paragraph_funcs.C: remove #if 0'd code
5396 * text.C: use lyxrow helpers above.
5397 Move draw and paint routines to RowPainter.
5398 Make several methods use refs not pointers.
5399 Make backgroundColor() const.
5400 Add markChangeInDraw(), isInInset().
5401 Merge changeRegionCase into changeCase.
5402 Make workWidth() shouldn't-happen code into an Assert.
5405 * rowpainter.C: new class for painting a row.
5408 * vspace.C: make inPixels take a ref
5410 2003-02-26 Angus Leeming <leeming@lyx.org>
5412 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5415 2003-02-25 John Levon <levon@movementarian.org>
5417 * ispell.C: give the forked command a more accurate name
5419 2003-02-22 John Levon <levon@movementarian.org>
5422 * toc.C: make TocItem store an id not a Paragraph *
5425 2003-02-21 Angus Leeming <leeming@lyx.org>
5427 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5428 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5429 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5430 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5431 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5432 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5434 * BufferView_pimpl.C (dispatch):
5435 * LyXAction.C (init):
5436 * factory.C (createInset):
5437 * lyxfunc.C (getStatus, dispatch):
5438 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5440 2003-02-21 Angus Leeming <leeming@lyx.org>
5442 * BufferView_pimpl.C (MenuInsertLyXFile):
5443 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5444 * lyxfunc.C (menuNew, open, doImport):
5445 no longer pass a LyXView & to fileDlg.
5447 2003-02-21 Angus Leeming <leeming@lyx.org>
5449 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5450 * LyXAction.C: change, BIBKEY to BIBITEM.
5451 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5452 Change InsetBibKey to InsetBibitem.
5453 Change BIBKEY_CODE to BIBITEM_CODE.
5454 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5455 * factory.C: replace insetbib.h with insetbibitem.h.
5456 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5457 * paragraph.C: replace insetbib.h with insetbibitem.h.
5458 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5459 Change bibkey() to bibitem().
5460 * text.C: remove insetbib.h.
5461 * text2.C: replace insetbib.h with insetbibitem.h.
5462 change bibkey() to bibitem().
5463 * text3.C: remove insetbib.h.
5464 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5466 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5468 * lyxrc.C (output): enclose user email in quotes (in case there are
5471 2003-02-18 John Levon <levon@movementarian.org>
5473 * buffer.h: add std::
5475 2003-02-17 John Levon <levon@movementarian.org>
5481 * pspell.C: reworking. Especially in ispell, a large
5482 number of clean ups and bug fixes.
5484 * lyxfunc.C: fix revert to behave sensibly
5486 2003-02-17 André Pönitz <poenitz@gmx.net>
5489 * commandtags.h: new LFUN_INSERT_BIBKEY
5499 * paragraph_func.C: remove special bibkey handling
5501 2003-02-17 John Levon <levon@movementarian.org>
5503 * text.C (Delete): fix case where delete at the end of
5504 the very first paragraph would not merge the pars
5506 2003-02-17 John Levon <levon@movementarian.org>
5508 * lyxrow.C: fix lastPrintablePos()
5510 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5512 * bufferparams.C (writeLaTeX): add a std:here
5514 * buffer.C: and remove a using directive there
5516 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5518 * buffer.C (makeLaTeXFile): move the code that generates the
5521 * bufferparams.C (writeLaTeX): ... in this new method
5523 * LaTeXFeatures.C (getEncodingSet): make const
5524 (getLanguages): make const
5526 * MenuBackend.C (binding): returns the binding associated to this
5528 (add): sets the status of each item by calling getStatus. Adds
5530 (read): add support for OptSubMenu
5531 (expand): remove extra separator at the end of expanded menu
5533 2003-02-15 John Levon <levon@movementarian.org>
5536 * BufferView_pimpl.C:
5538 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5539 inset code that had no actual effect. Remove unneeded status
5542 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5544 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5547 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5549 * text.C (drawLengthMarker): also draw an arrow marker for
5550 symbolic lengths (medskip...)
5552 2003-02-14 John Levon <levon@movementarian.org>
5555 * tabular.C: better method names
5557 2003-02-14 John Levon <levon@movementarian.org>
5559 * BufferView_pimpl.C:
5564 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5565 it's a more accurate name. Remove some pointless uses.
5567 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5569 * text2.C (LyXText): change order of initilizers to shut off
5572 2003-02-14 John Levon <levon@movementarian.org>
5574 * buffer.C: use ParIterator for getParFromID()
5578 * paragraph_pimpl.h:
5579 * paragraph_pimpl.C: remove unused getParFromID()
5581 2003-02-14 John Levon <levon@movementarian.org>
5583 * buffer.C: remove some very old #if 0'd parse code
5585 2003-02-13 John Levon <levon@movementarian.org>
5589 * text2.C: move hfillExpansion(), numberOfSeparators(),
5590 rowLast(), rowLastPrintable(), numberofHfills(),
5591 numberOfLabelHfills() ...
5594 * lyxrow.C: ... to member functions here.
5599 * text.C: remove LyXText::beginningOfMainBody(), and call
5600 p->beginningOfMainBody() directly. Move the check for
5601 LABEL_MANUAL into the latter.
5608 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5614 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5615 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5617 2003-02-13 John Levon <levon@movementarian.org>
5619 * CutAndPaste.C: remove debug
5621 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5623 * paragraph.C (asString): remove two unused variables
5625 * lyxtextclass.C (readTitleType):
5627 (LyXTextClass): handle new members titletype_ and titlename_
5629 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5631 2003-02-09 John Levon <levon@movementarian.org>
5634 * buffer.C: replace hand-coded list with a map for the dep clean
5636 2003-02-08 John Levon <levon@movementarian.org>
5638 * LaTeX.C: consolidate code into showRunMessage() helper
5640 2003-02-08 John Levon <levon@movementarian.org>
5645 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5646 and pass the size in explicitly
5648 * BufferView_pimpl.h:
5649 * BufferView_pimpl.C:
5651 * BufferView.C: add getCurrentChange()
5653 * BufferView_pimpl.h:
5654 * BufferView_pimpl.C: handle change lfuns
5656 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5657 for changes. Mark pasted paragraphs as new.
5659 * support/lyxtime.h:
5660 * support/lyxtime.C:
5661 * DepTable.C: abstract time_t as lyx::time_type
5664 * LColor.C: add colours for new text, deleted text, changebars
5666 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5667 package use "usenames" option.
5671 * LyXAction.C: add change lfuns
5675 * author.C: author handling
5678 * buffer.C: add a per-buffer author list, with first entry as
5679 current author. Handle new .lyx tokens for change tracking. Output
5680 author list to .lyx file. Output dvipost stuff to .tex preamble.
5681 Bump lyx format to 222.
5684 * bufferlist.C: add setCurrentAuthor() to reset current author details
5688 * bufferparams.C: add param for tracking
5690 * bufferview_funcs.C: output change info in minibuffer
5694 * changes.C: add change-tracking structure
5697 * debug.C: add CHANGES debug flag
5700 * lyxfind.C: add code for finding the next change piece
5703 * lyxrc.C: add user_name and user_email
5706 * lyxrow.C: add a metric for the top of the text line
5709 * text.C: implement accept/rejectChange()
5712 * text.C: paint changebars. Paint new/deleted text in the chosen
5713 colours. Strike through deleted text.
5717 * paragraph_pimpl.h:
5718 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5719 in the current change to the insert functions. Rework erase to
5720 mark text as deleted, adding an eraseIntern() and a range-based
5721 erase(). Implement per-paragraph change lookup and
5724 * paragraph_funcs.C: Fixup paste for change tracking.
5726 * tabular.C: mark added row/columns as new.
5728 * text.C: fix rowLast() to never return -1. Don't allow
5729 spellchecking of deleted text. Track transpose changes. Don't
5730 allow paragraph break or merge where appropriate.
5732 * text2.C: leave cursor at end of selection after a cut.
5734 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5736 * text.C (getLengthMarkerHeight):
5737 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5738 visible on screen too.
5740 2003-02-07 John Levon <levon@movementarian.org>
5742 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5744 2003-02-05 Angus Leeming <leeming@lyx.org>
5746 * lyxserver.C (read_ready): revert my patch of 11 September last year
5747 as it sends PC cpu through the roof. Presumably this means that
5748 the lyxserver will no longer run on an Alpha...
5750 2003-01-30 Angus Leeming <leeming@lyx.org>
5752 * factory.C (createInset): create an InsetCommandParam of type "index"
5753 and use it to 'do the right thing'.
5755 * text2.C (getStringToIndex): ensure that cursor position is always
5756 reset to the reset_cursor position.
5758 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5760 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5763 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5767 * lyxfunc.C: Output messages with identical spelling, punctuation,
5770 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5772 * MenuBackend.C (expandFormats): List only viewable export formats
5775 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5778 * lyxfunc.C (getStatus): Make sure that formats other than
5779 "fax" can also be disabled
5781 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5783 * text3.C (dispatch): put the lfuns that insert insets in 3
5784 groups, and call doInsertInset with appropriate arguments.
5785 (doInsertInset): new function, that creates an inset and inserts
5786 it according to some boolean parameters.
5788 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5790 * buffer.C (readFile): remember to pass on 'par' when calling
5791 readFile recursively.
5793 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5795 * MenuBackend.C (expandFormats): add "..." to import formats.
5797 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5799 * paragraph.C (asString): Remove XForms RTL hacks.
5801 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5802 * buffer.C: fix typo
5804 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5806 * Makefile.am (LIBS): delete var
5807 (lyx_LDADD): add @LIBS@ here instead.
5809 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5811 * Clarify the meaning of "wheel mouse jump"
5813 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5815 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5818 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5820 * importer.C (Loaders): do not preallocate 3 elements in the
5821 vector, since one ends up with 6 elements otherwise
5823 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5825 * DepTable.C (write): write the file name as last element of the
5826 .dep file (because it may contain spaces)
5827 (read): read info in the right order
5829 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5831 * paragraph_pimpl.C (simpleTeXBlanks):
5832 (simpleTeXSpecialChars):
5833 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5835 * tabular.C (latex): add some missing case statements. Reindent.
5837 * MenuBackend.C (expandToc): remove unused variable.
5839 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5848 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5851 2003-01-05 John Levon <levon@movementarian.org>
5854 * BufferView.C: add getEncoding()
5857 * kbsequence.C: do not store last keypress
5860 * lyxfunc.C: store last keypress here instead. Pass encoding
5863 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5865 * lyx_main.C (init): remove annoying error message when following
5866 symbolic links (bug #780)
5868 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5870 * text.C (insertChar):
5871 * lyxrc.C (getDescription): remove extra spaces
5873 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5875 * lyxrc.C (getDescription): remove extra spaces
5877 2002-12-20 John Levon <levon@movementarian.org>
5879 * text3.C: hack fix for page up/down across tall rows
5881 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5883 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5886 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5888 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5889 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5890 thesaurus is not compiled in
5892 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5894 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5896 2002-12-16 Angus Leeming <leeming@lyx.org>
5899 * lyx_main.C (init): remove override_x_deadkeys stuff.
5901 2002-12-12 John Levon <levon@movementarian.org>
5903 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5904 insert. Only remove shift modifier under strict
5907 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5909 * MenuBackend.C (expandToc): fix crash.
5911 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5913 * MenuBackend.C (expandToc): gettext on float names.
5915 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5917 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5918 implement bool empty() [bug 490]
5920 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5922 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5924 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5926 * several files: ws changes
5928 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5930 * text2.C (setCounter): clean up a bit, use boost.format.
5931 (updateCounters): initialize par upon declaration.
5933 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5934 if the layout exists. We do not just store the layout any more.
5935 (SwitchLayoutsBetweenClasses): use boost.format
5937 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5939 * converter.C (convert): if from and to files are the same, use a
5940 temporary files as intermediary
5942 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5945 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5947 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5949 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5951 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5953 * tabular.C (asciiPrintCell): use string(size, char) instead of
5956 * sgml.C (openTag): fix order of arguments to string constructor
5959 * lyxfunc.C (dispatch): use boost.format
5961 * lots of files: change "c" -> 'c'
5963 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5965 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5967 2002-11-25 Angus Leeming <leeming@lyx.org>
5969 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5971 * lyx_main.C (init): compile fix.
5973 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5975 * lyx_cb.C (start): boost.formatify
5976 do not include <iostream>
5978 * lengthcommon.C: ws only
5980 * boost-inst.C,BoostFormat.h: add more explict instantations
5982 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5984 * lots of files: handle USE_BOOST_FORMAT
5986 2002-11-21 John Levon <levon@movementarian.org>
5988 * pspell.C: fix compile
5990 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5992 * lyxfunc.C (dispatch): use boost::format
5996 * lyxfont.C (stateText): use boost::format
5998 * lyx_main.C (LyX): use boost::format
6000 (queryUserLyXDir): ditto
6003 (typedef boost::function): use the recommened syntax.
6005 * importer.C (Import): use boost::format
6007 * debug.C (showLevel): use boost::format
6009 * converter.C (view): use boost::format
6014 * bufferview_funcs.C (currentState): use boost::format
6016 * bufferlist.C (emergencyWrite): use boost::format
6018 * buffer.C (readLyXformat2): use boost::format
6019 (parseSingleLyXformat2Token): ditto
6021 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6023 * LaTeX.C (run): use boost::format
6025 * Chktex.C (scanLogFile): use boost::format
6027 * BufferView_pimpl.C (savePosition): use boost::format
6028 (restorePosition): ditto
6029 (MenuInsertLyXFile): ditto
6031 * BoostFormat.h: help file for explicit instation.
6033 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6035 * tabular.C (latex): Support for block alignment in fixed width
6038 2002-11-17 John Levon <levon@movementarian.org>
6040 * BufferView_pimpl.C:
6042 * lyxfunc.C: split filedialog into open/save
6044 2002-11-08 Juergen Vigna <jug@sad.it>
6046 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6047 by my last patch (hopefully).
6049 2002-11-08 John Levon <levon@movementarian.org>
6058 * toc.C: ParConstIterator, and use it (from Lars)
6060 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6062 * lyxtextclass.[Ch]: revise and add doxygen comments
6064 2002-11-07 John Levon <levon@movementarian.org>
6066 * text.C: fix progress value for spellchecker
6068 * toc.C: fix navigate menu for insetwrap inside minipage
6070 * paragraph_funcs.C: added FIXME for suspect code
6072 2002-11-07 John Levon <levon@movementarian.org>
6074 * BufferView_pimpl.C: fix redrawing of insets
6077 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6079 * text2.C (updateCounters): fix bug 668
6081 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6083 * text3.C (dispatch): Do not make the buffer dirty when moving the
6086 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6088 * vc-backend.C: STRCONV
6091 * text2.C (setCounter): STRCONV
6093 * paragraph.C (asString): STRCONV
6095 * lyxlength.C (asString): STRCONV
6096 (asLatexString): ditto
6098 * lyxgluelength.C (asString): STRCONV
6099 (asLatexString): ditto
6101 * lyxfunc.C (dispatch): STRCONV
6104 * lyxfont.C (stateText): STRCONV
6106 * importer.C (Import): STRCONV
6108 * counters.C (labelItem): STRCONV
6109 (numberLabel): ditto
6110 (numberLabel): remove unused ostringstream o
6115 * bufferview_funcs.C (currentState): STRCONV
6117 * buffer.C (readFile): STRCONV
6118 (asciiParagraph): ditto
6119 (makeLaTeXFile): ditto
6121 * Spacing.C (writeEnvirBegin): STRCONV
6123 * LaTeXFeatures.C (getLanguages): STRCONV
6124 (getPackages): ditto
6126 (getBabelOptions): ditto
6127 (getTClassPreamble): ditto
6128 (getLyXSGMLEntities): ditto
6129 (getIncludedFiles): ditto
6133 (scanAuxFile): ditto
6136 * LString.h: add the STRCONV macros
6138 * BufferView_pimpl.C (savePosition): STRCONV
6139 (restorePosition): ditto
6140 (MenuInsertLyXFile): ditto
6142 * vc-backend.C (scanMaster): change from submatch[...] to
6145 * funcrequest.C: include config.h
6147 * factory.C: include config.h
6149 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6151 * box.C: include config.h
6153 * LaTeX.C (scanAuxFile): change from submatch[...] to
6157 2002-10-25 Angus Leeming <leeming@lyx.org>
6159 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6161 * ispell.[Ch] (setError): new method.
6162 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6163 Use setError() insetead of goto END.
6165 * lyx_cb.C (AutoSave): move out child process into new class
6168 2002-10-30 John Levon <levon@movementarian.org>
6170 * text3.C: make start appendix undoable
6172 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6174 * lyxlength.C (inPixels): Fix returned value.
6176 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6179 2002-10-24 Angus Leeming <leeming@lyx.org>
6181 * lyxgluelength.h: no need to forward declare BufferParams
6182 or BufferView, so don't.
6184 2002-10-21 John Levon <levon@movementarian.org>
6186 * BufferView.C: menuUndo ->undo, redo
6188 * BufferView.h: document, remove dead, make some methods private
6190 * paragraph_funcs.h:
6191 * paragraph_funcs.C:
6192 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6197 * sgml.C: move sgml open/close tag into sgml.C
6199 * bufferview_funcs.h: unused prototype
6202 * lyxfunc.C: remove unused
6205 * text.C: remove unused
6207 2002-10-21 John Levon <levon@movementarian.org>
6211 * BufferView_pimpl.h:
6212 * BufferView_pimpl.C: fix mouse wheel handling based on
6213 patch from Darren Freeman
6215 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6217 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6219 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6221 * lyxlength.C (inPixels): Fix hanfling of negative length.
6222 Fix LyXLength::MU case.
6224 2002-10-16 John Levon <levon@movementarian.org>
6226 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6228 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6230 * converter.C (view): add support for $$i (file name) and $$p
6231 (file path) for the viewer command. If $$i is not specified, then
6232 it is appended to the command (for compatibility with old syntax)
6234 2002-10-14 Juergen Vigna <jug@sad.it>
6236 * undo_funcs.C (textHandleUndo): alter the order in which the
6237 new undopar is added to the LyXText, as we have to set first
6238 the right prev/next and then add it as otherwise the rebuild of
6239 LyXText is not correct. Also reset the cursor to the right paragraph,
6240 with this IMO we could remove the hack in "redoParagraphs()".
6242 2002-10-09 Angus Leeming <leeming@lyx.org>
6244 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6245 to turn off an optimisation if a new inset is to be inserted.
6247 2002-10-11 André Pönitz <poenitz@gmx.net>
6249 * lyxtext.h: make some functions public to allow access
6250 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6252 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6254 * text3.C (dispatch): when changing layout, avoid an infinite loop
6257 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6259 * lyxrc.C (read): treat a viewer or converter command of "none" as
6262 * MenuBackend.C (expandFormats): for an update, also allow the
6263 formats that are not viewable
6265 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6266 script if it is newer than the lyxrc.defaults in user directory
6268 2002-10-07 André Pönitz <poenitz@gmx.net>
6270 * text.C: Vitaly Lipatov's small i18n fix
6272 2002-09-25 Angus Leeming <leeming@lyx.org>
6274 * ispell.h: doxygen fix.
6276 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6278 * buffer.h (readFile): Add a new argument to the method, to allow
6279 reading of old-format templates.
6281 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6283 * toc.C (getTocList): Get TOC from InsetWrap.
6285 2002-09-16 John Levon <levon@movementarian.org>
6287 * lyxfunc.C: check tabular for cut/copy too
6289 2002-09-12 John Levon <levon@movementarian.org>
6294 * factory.C: add header
6296 * paragraph_funcs.h:
6297 * paragraph_funcs.C: cleanup
6299 2002-09-11 John Levon <levon@movementarian.org>
6301 * PrinterParams.h: odd/even default to true
6303 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6305 * PrinterParams.h: update printer parameters for new xforms dialog
6307 2002-09-11 Angus Leeming <leeming@lyx.org>
6309 * lyxserver.C (read_ready): re-write to make it more transparent
6310 and to make it work in coherent fashion under Tru64 Unix.
6312 2002-09-11 André Pönitz <poenitz@gmx.net>
6316 * text3.C: implement LFUN_WORDSEL
6318 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6320 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6321 make floatlist_ a boost::shared_ptr<FloatList>
6323 * lyxtextclass.C: include FloatList.h
6324 (LyXTextClass): initialize floatlist_
6325 (TextClassTags): add TC_NOFLOAT
6326 (Read): match "nofloat" to TC_NOFLOAT and use it.
6327 (readFloat): modify call to floatlist_
6331 * FloatList.[Ch] (FloatList): remove commented out float
6333 (erase): new function
6335 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6337 * MenuBackend.C (expandToc): fix crash when there is no document
6340 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6342 * many files: Add insetwrap.
6344 2002-09-09 John Levon <levon@movementarian.org>
6346 * text2.C: remove confusing and awkward depth wraparound
6348 2002-09-09 John Levon <levon@movementarian.org>
6350 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6353 * buffer.C: remove getIncludeonlyList()
6356 * lyxfunc.C: remove headers
6358 2002-09-09 Juergen Vigna <jug@sad.it>
6360 * text.C (getColumnNearX): fix form Michael this is most
6361 probably a cut&paste bug.
6363 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6365 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6367 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6368 references, ws changes.
6370 * text2.C (init): update counters after init
6371 (insertParagraph): no need to set counter on idividual paragraphs.
6372 (setCounter): access the counters object in the textclass object
6373 on in the buffer object.
6374 (updateCounters): ditto
6376 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6377 shared_ptr<Counters> to avoid loading counters.h in all
6379 (LyXTextClass): initialize ctrs_
6380 (TextClassTags): add TC_COUNTER, and ...
6381 (Read): use it here.
6382 (CounterTags): new tags
6383 (readCounter): new function
6384 (counters): new funtion
6385 (defaultLayoutName): return a const reference
6387 * counters.C (Counters): remove contructor
6388 (newCounter): remove a couple of unneeded statements.
6389 (newCounter): simplify a bit.
6390 (numberLabel): some small formatting changes.
6392 * buffer.[Ch]: remove all traces of counters, move the Counters
6393 object to the LyXTextClass.
6395 2002-09-06 Alain Castera <castera@in2p3.fr>
6397 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6398 package to set the horizontal alignment on fixed width columns.
6401 * lyx_sty.h: added tabularnewline macro def.
6403 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6405 2002-09-06 John Levon <levon@movementarian.org>
6407 * LyXAction.C: tooltips for sub/superscript
6409 * MenuBackend.C: a bit more verbose
6411 * lyxfunc.C: tiny clean
6413 * undo_funcs.C: document undo_frozen
6415 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6417 * counters.C (Counters): add missing algorithm counter.
6419 * text2.C (setCounter): lookup the counter with layouts latexname
6420 instead of by section number.
6421 (setCounter): use a hackish way to lookup the correct enum
6423 a float name->type change
6424 reset enum couners with counter name directly instead of depth value.
6426 * counters.C (Counters): remove the push_backs, change to use the
6427 float type not the float name.
6428 (labelItem): remove unused string, float name->type change
6430 * counters.h: don't include vector, loose the enums and sects vectors
6432 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6434 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6435 (Read): add float->TC_FLOAT to textclassTags
6436 (Read): and handle it in the switch
6437 (readFloat): new function
6439 * FloatList.C (FloatList): comment out the hardcoded float
6442 * lyxlayout.h: ws change.
6444 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6446 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6448 2002-09-03 Angus Leeming <leeming@lyx.org>
6450 * BufferView_pimpl.h: qualified name is not allowed in member
6451 declaration: WorkArea & Pimpl::workarea() const;
6453 * factory.C: added using std::endl directive.
6455 * text3.C: added using std::find and std::vector directives.
6457 2002-08-29 André Pönitz <poenitz@gmx.net>
6460 * text2.C: remove unused member number_of_rows
6463 * BufferView2.C: remove file, move contents to...
6464 * BufferView.C: ... here
6466 * BufferView_pimpl.C:
6467 * factory.C: move more inset creation to factory
6469 * vspace.C: avoid direct usage of LyXText, ws changes
6472 don't provide direct access to WorkArea, use two simple
6473 acessors haveSelction() and workHeight() instead
6476 2002-08-29 John Levon <levon@movementarian.org>
6478 * BufferView_pimpl.C (dispatch): do not continue when
6481 2002-08-28 André Pönitz <poenitz@gmx.net>
6483 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6486 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6488 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6490 * buffer.C: increment LYX_FORMAT to 221
6492 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6493 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6495 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6497 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6499 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6501 * factory.C (createInset): use LyXTextClass::floats
6503 * MenuBackend.C (expandFloatListInsert):
6504 (expandFloatInsert):
6507 * text2.C (setCounter):
6509 * LaTeXFeatures.C (useFloat):
6510 (getFloatDefinitions):
6512 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6514 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6515 floatlist_, with accessor floats().
6517 * FloatList.h: remove global FloatList
6519 2002-08-26 André Pönitz <poenitz@gmx.net>
6521 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6525 * BufferView_pimpl.C:
6526 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6528 2002-08-25 John Levon <levon@movementarian.org>
6530 * LyXAction.C: fix margin note description
6532 2002-08-24 John Levon <levon@movementarian.org>
6536 * bufferview_funcs.C:
6538 * undo_funcs.C: cleanups
6540 * lyxfunc.C: disable CUT/COPY when no selection
6542 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6544 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6545 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6547 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6548 Add backward compatibility to "mono", "gray" and "no".
6550 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6552 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6553 (and file_format >= 200).
6555 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6557 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6559 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6561 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6563 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6565 * BufferView_pimpl.C:
6572 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6573 inset and code to make it work with the paragraph code. The inset
6574 can be anywhere in the paragraph, but will only do the expected
6575 thing in LaTeX if the layout file contains the parameter line
6577 (or more generally, a nonzero value) for that layout.
6579 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6581 * paragraph.h: remove the declaration of undefined counters class
6584 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6586 * text2.C (setCounter): fixed enumeration mis-count as reported by
6587 Dr. Richard Hawkins.
6589 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6591 * paragraph_funcs.h: remove some unneeded includes
6593 * text.C (backspace): pasteParagraph now in global scipe
6595 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6596 (pasteSelection): ditto
6598 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6599 * paragraph_funcs.C (pasteParagraph): ... here
6601 2002-08-20 André Pönitz <poenitz@gmx.net>
6603 * commandtags.h: new LFUNs for swapping/copying table row/colums
6606 * lyxfunc.C: support for new lfuns
6608 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6611 * buffer.[Ch]: remove NO_COMPABILITY stuff
6613 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6615 * boost.C (throw_exception): new file, with helper function for
6616 boost compiled without exceptions.
6621 * ParameterStruct.h:
6622 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6624 * bufferlist.C (emergencyWriteAll): use boost bind
6626 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6628 * text.C: include paragraph_funcs.h
6629 (breakParagraph): breakParagraph is now in global scope
6631 * paragraph_funcs.[Ch]: new files
6633 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6636 * buffer.C: include paragraph_funcs.h
6637 (insertStringAsLines): breakParagraph is now in global scope
6639 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6642 * CutAndPaste.C: include paragraph_funcs.h
6643 (cutSelection): breakParagraphConservative is now in global scope
6644 (pasteSelection): ditto
6646 * buffer.h: declare oprator== and operator!= for
6647 Buffer::inset_iterator
6649 * bufferlist.C (emergencyWrite): don't use fmt(...)
6651 * text3.C: add using std::endl
6653 * BufferView.C (moveCursorUpdate): remove default arg
6655 2002-08-20 André Pönitz <poenitz@gmx.net>
6657 * buffer.[Ch]: move inline functions to .C
6660 * BufferView_pimpl.C:
6662 * buffer.[Ch]: use improved inset_iterator
6665 * paragraph.[Ch]: write one paragraph at a time
6667 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6669 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6670 style if style is not specified.
6672 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6674 * text2.C (setCounter): when searching for right label for a
6675 caption, make sure to recurse to parent insets (so that a caption
6676 in a minipage in a figure float works) (bug #568)
6678 2002-08-20 André Pönitz <poenitz@gmx.net>
6680 * text3.C: new file for LyXText::dispatch() and helpers
6682 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6684 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6686 2002-08-19 André Pönitz <poenitz@gmx.net>
6689 * text.C: new LyXText::dispatch()
6691 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6693 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6695 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6697 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6700 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6702 * Makefile.am: use $(variables) instead of @substitutions@
6704 2002-08-15 André Pönitz <poenitz@gmx.net>
6707 * BufferView_pimpl.C: streamlining mathed <-> outer world
6711 * LyXAction.C: remove unused LFUN_MATH
6713 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6715 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6717 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6719 * paragraph.C (Paragraph): reformat a bit
6720 (cutIntoMinibuffer): use builtin InsetList function instad of
6724 * buffer.C: include boost/bind.hpp, add using std::for_each
6725 (writeFileAscii): use ParagraphList iterators
6726 (validate): use for_each for validate traversal of paragraphs
6727 (getBibkeyList): use ParagraphList iterators
6728 (resizeInsets): use for_each to resizeInsetsLyXText for all
6730 (getParFromID): use ParagraphList iterators
6732 * BufferView2.C (lockInset): use paragraph list and iterators
6734 2002-08-14 John Levon <levon@movementarian.org>
6736 * lyxserver.C: remove spurious xforms include
6738 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6740 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6742 2002-08-13 André Pönitz <poenitz@gmx.net>
6745 * lyxfunc.C: further cleaning
6747 2002-08-13 André Pönitz <poenitz@gmx.net>
6749 * funcrequest.h: new constructor
6751 * funcrequest.C: move stuff here from .h
6754 * BufferView_pimpl.C:
6757 * lyxfunc.C: subsequent changes
6759 * lyxfunc.h: new view() member function
6761 * lyxfunc.C: subsequent changes
6763 2002-08-13 Angus Leeming <leeming@lyx.org>
6766 * BufferView_pimpl.C:
6774 changes due to the changed LyXView interface that now returns references
6775 to member variables not pointers.
6777 2002-08-13 Angus Leeming <leeming@lyx.org>
6779 * WordLangTuple (word, lang_code): return references to strings,
6784 * lyxtext.h: forward-declare WordLangTuple.
6789 * text.C: #include "WordLangTuple.h".
6792 * text.C: (selectNextWordToSpellcheck): constify return type.
6794 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6800 * paragraph_pimpl.h:
6803 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6805 Made updateCounter always count from start of buffer, and removed
6806 second argument (par).
6807 Reverted floats number display to '#'. Perhaps I'll try again when the
6808 code base is sanitized a bit.
6810 2002-08-12 Angus Leeming <leeming@lyx.org>
6812 * buffer.[Ch] (getLabelList): constify.
6814 2002-08-07 André Pönitz <poenitz@gmx.net>
6816 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6818 * funcrequest.h: extension to keep mouse (x,y) position
6820 2002-08-12 Juergen Vigna <jug@sad.it>
6822 * BufferView2.C (insertErrors): forbid undo when inserting error
6825 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6827 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6829 * ParagraphList.[Ch]: new files
6831 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6833 * BufferView2.C (lockInset): ParagraphList changes
6836 * bufferlist.C: ditto
6840 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6842 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6843 unused class variable counter_,
6845 * paragraph.[Ch] (getFirstCounter): delete unused function
6847 * counters.C: include LAssert.h
6848 (reset): add a new function with no arg, change other version to
6849 not have def. arg and to not allow empty arg.
6851 * text2.C (setCounter): remove empty arg from call to Counters::reset
6853 2002-08-11 John Levon <levon@movementarian.org>
6855 * Makefile.am: add WordLangTuple.h
6857 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6859 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6860 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6862 * insets/insettext.C: InsetList changes
6864 * graphics/GraphicsSupport.C (operator()): InsetList changes
6866 * toc.C (getTocList): InsetList changes
6868 * paragraph_pimpl.[Ch]: InsetList changes
6870 * paragraph.[Ch]: InsetList changes
6872 * buffer.C (inset_iterator): InsetList changes
6873 (setParagraph): ditto
6874 * buffer.h (inset_iterator): ditto
6875 * iterators.C (operator++): ditto
6876 * iterators.h: ditto
6878 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6880 * InsetList.[Ch]: new files, most InsetList handling moved out of
6883 * BufferView2.C (removeAutoInsets): InsetList changes
6885 (ChangeInsets): ditto
6887 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6889 * paragraph_pimpl.h (empty): new function
6891 * paragraph.[Ch] (empty): new function
6893 * other files: use the new Paragraph::empty function
6895 2002-08-09 John Levon <levon@movementarian.org>
6897 * lyxtext.h: remove unused refresh_height
6899 2002-08-09 John Levon <levon@movementarian.org>
6906 * paragraph.C: move sgml char escaping out of paragraph
6909 * paragraph.C: remove id setter
6913 * paragraph_pimpl.C: remove dead tex_code_break_column
6915 * bufferview_funcs.C: small cleanup
6917 * lyxfunc.C: remove dead proto
6919 * lyxtext.h: make some stuff private. Remove some dead stuff.
6921 * lyxgluelength.C: make as[LyX]String() readable
6923 2002-08-08 John Levon <levon@movementarian.org>
6928 * ToolbarDefaults.C:
6931 * toc.C: lyxaction cleanup
6933 2002-08-08 John Levon <levon@movementarian.org>
6935 * BufferView2.C: small cleanup
6938 * lyxfind.C: move unnecessary header into the .C
6940 2002-08-08 John Levon <levon@movementarian.org>
6942 * funcrequest.h: just tedious nonsense
6945 * lyx_main.C: cleanups
6948 * vspace.C: remove dead header lyx_main.h
6950 2002-08-07 Angus Leeming <leeming@lyx.org>
6953 * paragraph_pimpl.h:
6954 Forward declare class Counters in paragraph.h by moving the ctrs member
6955 variable into Paragraph::Pimpl.
6956 (counters): new method, returning a reference to pimpl_->ctrs.
6958 * text2.C: ensuing changes.
6960 2002-08-07 John Levon <levon@movementarian.org>
6962 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6964 * BufferView_pimpl.C: announce X selection on double/triple
6967 * lyx_main.C: use correct bool in batch dispatch
6969 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6971 2002-08-07 André Pönitz <poenitz@gmx.net>
6973 * funcrequest.h: new class to wrap a kb_action and its argument
6976 * BufferView_pimpl[Ch]:
6980 * lyxrc.C: subsequent changes
6983 2002-08-07 John Levon <levon@movementarian.org>
6985 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6986 document options change.
6988 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6993 * makefile.am: move counters functionality over from
6994 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6996 2002-08-06 John Levon <levon@movementarian.org>
6998 * WordLangTuple.h: new file for word + language code tuple
7009 * BufferView2.C: use WordLangTuple
7012 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7014 2002-08-06 John Levon <levon@movementarian.org>
7016 * lyx_main.C: fix cmdline batch handling
7018 2002-08-06 André Pönitz <poenitz@gmx.net>
7020 * lyxrc.C: set default for show_banner to true
7022 2002-08-06 John Levon <levon@movementarian.org>
7024 * pspell.C: fix a crash, and allow new aspell to work
7026 2002-08-06 John Levon <levon@movementarian.org>
7029 * kbmap.C: small cleanup
7032 * vspace.C: add const
7034 2002-08-05 John Levon <levon@movementarian.org>
7036 * LyXAction.C: back to tabular-insert
7038 2002-08-04 John Levon <levon@movementarian.org>
7041 * BufferView.C: cosmetic change
7043 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7053 * BufferView2.C: purge all "Lyx" not "LyX" strings
7056 * lyxcursor.C: attempt to add some documentation
7061 * ToolbarDefaults.C:
7062 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7063 merge with LFUN_TABULAR_INSERT
7070 * pspell.C: split up i/pspell implementations into separate
7071 files, many cleanups
7073 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7075 * text2.C: some cleanup
7077 * lyxfunc.C: don't check for isp_command == "none" any more, it
7078 didn't make any sense
7080 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7085 * makefile.am: move counters functionality over
7086 from text2.C/paragraph.[Ch] to counters.[Ch], and
7088 2002-08-02 John Levon <levon@movementarian.org>
7090 * buffer.C: s/lyxconvert/lyx2lyx/
7092 2002-08-02 Angus Leeming <leeming@lyx.org>
7094 * lyxlex.C: revert John's change as it breaks reading of the user
7097 2002-08-02 Angus Leeming <leeming@lyx.org>
7099 * importer.C (Import):
7100 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7101 changes due to LyXView::view() now returning a boost::shared_ptr.
7103 2002-08-02 John Levon <levon@movementarian.org>
7105 * lyxlex.C: small cleanup
7107 2002-08-02 John Levon <levon@movementarian.org>
7109 * text2.C (status): small cleanup, no logic change
7111 2002-08-01 John Levon <levon@movementarian.org>
7114 * buffer.C (writeFile): don't output alerts, caller
7118 * lyx_cb.C: from above
7120 * lyxfunc.C: allow to open non-existent files
7122 2002-07-31 John Levon <levon@movementarian.org>
7124 * lyxserver.C: don't let incidental errors get
7127 2002-07-30 John Levon <levon@movementarian.org>
7129 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7131 2002-07-30 John Levon <levon@movementarian.org>
7134 * lyxserver.C: remove I/O callback too
7136 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7138 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7141 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7143 * many files: strip,frontStrip -> trim,ltrim,rtrim
7145 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7147 * PrinterParams.h: remove extern containsOnly, and include
7148 support/lstrings.h instead.
7150 * LaTeX.C (scanAuxFile): modify because of strip changes
7152 * buffer.C (makeLaTeXFile): ditto
7153 * bufferparams.C (writeFile): ditt
7154 * lyxfont.C (stateText): ditto
7155 * lyxserver.C (read_ready): ditto
7156 * vc-backend.C (scanMaster): ditto
7158 * BufferView_pimpl.h: ws changes
7160 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7162 2002-07-26 André Pönitz <poenitz@gmx.net>
7164 * kb_sequence.C: remove unnedred usings
7166 2002-07-26 Juergen Vigna <jug@sad.it>
7168 * lyxfind.C (LyXReplace): we have to check better if the returned
7169 text is not of theLockingInset()->getLockingInset().
7171 2002-07-25 Juergen Vigna <jug@sad.it>
7173 * lyxfind.C (LyXReplace): don't replace if we don't get the
7176 * undo_funcs.C (createUndo): remove debugging code.
7178 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7180 * buffer.C (parseSingleLyXformat2Token): Use default placement
7181 when reading old floats.
7183 * FloatList.C (FloatList): Change the default placement of figure
7184 and tables to "tbp".
7186 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7188 * MenuBackend.C: using std::max
7190 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7192 * MenuBackend.C (expandToc):
7193 (expandToc2): code moved from xforms menu frontend. It is now
7194 generic and TOCs are transparent to menu frontends.
7196 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7198 * toc.C (getTocList): protect against buf=0
7200 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7201 Menu as first parameter. Now, this calls itself recursively to
7202 expand a whole tree (this will be useful for TOC handling)
7203 (expandFloatInsert): remove 'wide' version of floats
7205 * MenuBackend.h (submenuname): returns the name of the submenu.
7206 (submenu): returns the submenu itself, provided it has been
7207 created by MenuBackend::expand
7209 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7211 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7212 insets which have noFontChange == true. (bug #172)
7214 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7216 * BufferView_pimpl.C: add connection objects and use them...
7219 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7221 * MenuBackend.C (expandLastfiles):
7224 (expandFloatListInsert):
7225 (expandFloatInsert):
7226 (expand): split expand in parts
7228 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7230 * lyx_gui.C: use lyx_gui::exit()
7232 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7234 * LyXAction.C: show the failing pseudo action
7236 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7238 * buffer.C (readFile): Run the lyxconvert script in order to read
7241 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7245 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7247 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7251 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7253 2002-07-22 Herbert Voss <voss@lyx.org>
7256 * lyxlength.[Ch]: add support for the vertical lengths
7258 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7260 * toc.[Ch]: std:: fixes
7262 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7264 * lyxrc.C: do not include lyx_main.h
7266 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7272 * BufferView2.C: include "lyxlex.h"
7275 * bufferparams.h: do not #include "lyxlex.h"
7277 * lyxtextclasslist.C (Add): remove method
7278 (classlist): renamed to classlist_
7280 * paragraph_pimpl.C:
7284 * bufferview_funcs.C:
7289 * toc.C (getTocList): use BufferParams::getLyXTextClass
7291 * toc.C (getTocList): use InsetFloat::addToToc
7293 * toc.[Ch]: new files, containing helper functions to handle table
7296 * lyxfunc.C (dispatch): no need to remove spaces around command
7298 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7299 first command of the sequence; it is not very clever, but I do not
7300 have a better idea, actually
7302 * LyXAction.C (LookupFunc): make sure to remove space at the
7303 beginning and end of the command
7305 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7307 * MenuBackend.C (getMenubar): new method: return the menubar of
7309 (read): treat differently reading of menu and menubar (in
7310 particular, the menubar has no name now)
7311 (Menu::menubar): remove
7313 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7316 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7318 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7319 a bibitem inset in a RTL paragraph.
7321 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7323 * paragraph_pimpl.C: constify
7325 * BufferView_pimpl.C:
7327 * lyxfunc.C: fix dispatch in a nicer way
7329 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7331 * lyxfunc.C (dispatch):
7332 * BufferView_pimpl.C:
7333 * BufferView_pimpl.h:
7335 * BufferView.h: rename Dispatch() to dispatch()
7337 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7339 * lyxlayout.C (Read): honor DependsOn tag
7341 * lyxlayout.[Ch] (depends_on): new method
7343 * version.C.in: update lyx_docversion
7345 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7347 * paragraph.C (validate): remove from here...
7348 * paragraph_pimpl.C (validate): ... and move here
7349 (isTextAt): make it const
7351 * buffer.C (getLists): ws cleanup
7353 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7355 * language.C (read): Use iso8859-1 encoding in latex_lang
7356 (this prevents LyX from crashing when using iso10646-1 encoding).
7358 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7360 * text2.C (toggleInset): if cursor is inside an inset, close the
7361 inset and leave cursor _after_ it
7363 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7365 * lyxfunc.C: move minibuffer completion handling out of here
7367 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7369 * BufferView_pimpl.C:
7370 * LaTeX.C: fix dispatch calls
7372 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7374 * text.C (drawChars): Fix Arabic text rendering.
7376 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7380 * lyxfunc.C: remove message-push/pop
7384 * lyxfunc.C: rationalise some code by removing verboseDispatch
7385 in favour of a bool argument to dispatch()
7387 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7389 * lyx_main.C (init): make sure to read symlinks as absolute paths
7391 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7394 * lyxfunc.C: no need for commandshortcut to be a member
7396 2002-07-15 André Pönitz <poenitz@gmx.net>
7398 * converter.C: add support for $$s (scripts from lib/scripts dir)
7399 * lyx_main.C: white space
7401 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7405 * lyxrc.C: remove second exit confirmation
7407 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7412 * BufferView_pimpl.h:
7413 * BufferView_pimpl.C:
7414 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7416 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7418 * MenuBackend.C (expand): add numeric shortcuts to document menu
7420 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7422 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7424 * lyxfont.C (setLyXFamily):
7431 * buffer.C (asciiParagraph): use ascii_lowercase
7433 2002-07-15 Mike Fabian <mfabian@suse.de>
7435 * lyxlex_pimpl.C (search_kw):
7436 * lyxlex.C (getLongString):
7437 * converter.h (operator<):
7438 * converter.C (operator<):
7439 * buffer.C (parseSingleLyXformat2Token):
7441 * ToolbarDefaults.C (read):
7442 * MenuBackend.C (checkShortcuts):
7444 * LColor.C (getFromGUIName):
7445 (getFromLyXName): use the compare_ascii_no_case instead of
7446 compare_no_case, because in turkish, 'i' is not the lowercase
7447 version of 'I', and thus turkish locale breaks parsing of tags.
7449 2002-07-16 Angus Leeming <leeming@lyx.org>
7451 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7452 now takes a Buffer const & argument.
7454 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7456 * BufferView.C (resize): check there's a buffer to resize
7458 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7460 * lyxfunc.C: remove dead code
7463 * lyxserver.C: use lyx_guii::set_read_callback
7465 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7467 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7468 an inset in a RTL paragraph.
7470 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7472 * lyxfunc.C: repaint after a font size update
7474 2002-07-15 André Pönitz <poenitz@gmx.net>
7476 * lyxlength.C: inBP should be able to return negative values
7478 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7480 * lyxfunc.C: use lyx_gui::update_fonts()
7482 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7484 * lyxfunc.C: use lyx_gui::update_color()
7486 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7492 * lyxrc.C: remove file->new asks for name option, and let
7493 buffer-new take an argument
7495 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7497 * BufferView_pimpl.C: remove unneeded extra repaint()
7499 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7501 * LyXAction.C: allow command-sequence with NoBuffer
7503 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7505 2002-07-10 Angus Leeming <leeming@lyx.org>
7507 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7509 2002-07-09 Angus Leeming <leeming@lyx.org>
7511 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7513 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7515 * lengthcommon.h: whitespace
7517 * lyxfunc.C: update scrollbar after goto paragraph
7519 * lyxtext.h: factor out page break drawing, and fix it so
7520 page break/added space paints as selected nicely
7522 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7524 * BufferView_pimpl.C: add FIXMEs, clean up a little
7526 2002-07-09 André Pönitz <poenitz@gmx.net>
7528 * lyxfont.[Ch]: support for wasy symbols
7530 2002-07-08 André Pönitz <poenitz@gmx.net>
7532 * BufferView_pimpl.C: apply John's patch for #93.
7534 2002-07-05 Angus Leeming <leeming@lyx.org>
7536 * BufferView_pimpl.C (buffer): generate previews if desired.
7538 * LColor.h: add "preview" to the color enum.
7540 * LColor.C (LColor): add a corresponding entry to the items array.
7542 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7545 2002-07-05 Angus Leeming <leeming@lyx.org>
7547 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7548 The body of the code is now in the method that is passed an ostream &
7549 rather than a file name.
7550 Pass an additional only_preamble parameter, useful for the forthcoming
7553 2002-07-03 André Pönitz <poenitz@gmx.net>
7555 * lyxfunc.C: simplify getStatus() a bit for math stuff
7557 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7559 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7561 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7563 * text.C (changeRegionCase): do not change case of all the
7564 document when region ends at paragraph end (bug #461)
7566 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7568 * paragraph.C (startTeXParParams):
7569 (endTeXParParams): add \protect when necessary
7571 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7573 * BufferView_pimpl.C (workAreaExpose): remove warning
7575 2002-06-27 Angus Leeming <leeming@lyx.org>
7577 * Makefile.am: add lyxlayout_ptr_fwd.h.
7579 2002-06-26 André Pönitz <poenitz@gmx.net>
7581 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7583 2002-06-25 Angus Leeming <leeming@lyx.org>
7585 * lyxfunc.C (dispatch): Comment out the call to
7586 grfx::GCache::changeDisplay. The method no longer exists now that the
7587 pixmap generation part of the graphics loader has been moved into
7590 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7592 * text2.C: layout as layout
7594 * text.C: layout as layout
7596 * tabular.C (OldFormatRead): layout as layout
7598 * paragraph_pimpl.C (TeXDeeper): layout as layout
7599 (realizeFont): layout as layout
7601 * paragraph.C (writeFile): layout as layout
7602 (validate): layout as layout
7603 (getFont): layout as layout
7604 (getLabelFont): layout as layout
7605 (getLayoutFont): layout as layout
7606 (breakParagraph): layout as layout
7607 (stripLeadingSpaces): layout as layout
7608 (getEndLabel): layout as layout
7609 (getMaxDepthAfter): layout as layout
7610 (applyLayout): layout as layout
7611 (TeXOnePar): layout as layout
7612 (simpleTeXOnePar): layout as layout
7613 (TeXEnvironment): layout as layout
7614 (layout): layout as layout
7615 (layout): layout as layout
7617 * lyxtextclass.C (compare_name): new functor to work with
7618 shared_ptr, layout as layout
7619 (Read): layout as layout
7620 (hasLayout): layout as layout
7621 (operator): layout as layout
7622 (delete_layout): layout as layout
7623 (defaultLayout): layout as layout
7625 * lyxlayout_ptr_fwd.h: new file
7627 * lyxlayout.C (Read): layout as layout
7629 * lyx_cb.C (MenuInsertLabel): layout as layout
7631 * bufferlist.C (newFile): layout as layout
7633 * buffer.C (readLyXformat2): layout as layout
7634 (parseSingleLyXformat2Token): layout as layout
7635 (insertStringAsLines): layout as layout
7636 (asciiParagraph): layout as layout
7637 (latexParagraphs): layout as layout
7638 (makeLinuxDocFile): layout as layout
7639 (simpleLinuxDocOnePar): layout as layout
7640 (makeDocBookFile): layout as layout
7641 (simpleDocBookOnePar): layout as layout
7642 (getLists): layout as layout
7644 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7646 * CutAndPaste.C (cutSelection): layout as layout
7647 (pasteSelection): layout as layout
7648 (SwitchLayoutsBetweenClasses): layout as layout
7650 * BufferView_pimpl.C (Dispatch): layout as layout
7651 (smartQuote): layout as layout
7653 * BufferView2.C (unlockInset): layout as layout
7655 2002-06-24 André Pönitz <poenitz@gmx.net>
7657 * lyxfunc.C: fix #487
7659 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7663 * lyxfunc.C: remove display_shortcuts, show_banner
7665 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7667 * Buffer_pimpl.C: oops, update on resize
7669 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7676 * BufferView.C: use repaint()
7678 * BufferView_pimpl.h:
7679 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7680 as it's a clearer description. Remove superfluous
7683 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7685 * text.C: fix bug 488. Not ideal, but getting
7686 getWord() to work properly for the insets that
7687 matter is more difficult ...
7689 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7691 * BufferView_pimpl.C:
7694 * lyxfunc.C: remove the six million index lyxfuncs to just
7695 one, and DTRT (bug 458)
7697 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7701 * BufferView_pimpl.h:
7702 * BufferView_pimpl.C: clean up resize() stuff,
7703 and unnecessary updateScreen()s
7705 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7709 * BufferView_pimpl.h:
7710 * BufferView_pimpl.C:
7713 * minibuffer.C: remove focus management of workarea,
7714 not needed. Use screen's greyOut()
7716 2002-06-17 Herbert Voss <voss@lyx.org>
7718 * converter.C: (convert) do not post a message, when converting
7719 fails, let the calling function decide what to do in this case
7721 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7723 * lyxfunc.C: tidy up a little
7725 2002-06-16 <alstrup@diku.dk>
7727 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7728 Got rid of FORMS_H_LOCATION include. Now we are
7731 2002-06-15 LyX Development team <lyx@rilke>
7733 * buffer.[Ch] (sgmlOpenTag):
7734 (sgmlCloseTag): Added support for avoiding pernicious mixed
7735 content. Return number of lines written.
7738 (makeDocBookFile): Fixed calls to sgml*Tag.
7739 Simple white space clean.
7741 (simpleDocBookOnePar): Simple white space clean.
7743 * tabular.[Ch] (docBook): Renamed to docbook and got another
7744 argument to related with the pernicious mixed content.
7746 (docbookRow): Fixed calls for docbook inset method.
7748 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7750 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7751 so it's X11 independent.
7755 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7757 2002-06-15 Lyx Development team <lyx@electronia>
7759 * intl.h: Renamed getTrans to getTransManager.
7761 2002-06-14 Angus Leeming <leeming@lyx.org>
7763 * Makefile.am: nuke forgotten stl_string_fwd.h.
7765 2002-06-12 Angus Leeming <leeming@lyx.org>
7767 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7769 2002-06-13 Angus Leeming <leeming@lyx.org>
7772 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7774 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7776 * kbmap.C (getiso): add support for cyrillic and greek
7778 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7782 * BufferView_pimpl.h:
7783 * BufferView_pimpl.C: move bogus scrolling logic
7786 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7789 * BufferView_pimpl.C: view->resize() change
7791 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7793 * BufferView_pimpl.C: topCursorVisible
7796 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7800 * lyx_gui.C: move to frontends/
7804 * lyx_main.C: changes from above
7806 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7813 * lyx_main.C: minor tidy
7815 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7817 * BufferView_pimpl.h:
7818 * BufferView_pimpl.C:
7820 * BufferView.C: make painter() const,
7823 * BufferView2.C: use screen() accessor
7826 * lyx_main.C: some minor cleanup
7828 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7830 * BufferView_pimpl.h:
7831 * BufferView_pimpl.C: remove enter/leaveView,
7834 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7839 * BufferView_pimpl.h:
7840 * BufferView_pimpl.C: only construct screen once,
7843 * lyxrc.C: remove pointless comment
7845 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7848 * BufferView.C: remove active() and belowMouse()
7850 * BufferView_pimpl.h:
7851 * BufferView_pimpl.C: use workarea() not workarea_,
7852 and make it use a scoped_ptr instead
7854 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7856 * lyx_gui.C: add debug message on BadWindow
7858 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7860 * sp_spell.C: fdopen is not part of the C++ standard.
7862 * paragraph.C (InsetIterator): use >= instead of ==
7864 2002-06-07 Angus Leeming <leeming@lyx.org>
7866 Fixes needed to compile with Compaq cxx 6.5.
7867 * BufferView_pimpl.C:
7874 * lyxtextclasslist.C:
7879 all c-library variables have been moved into namespace std. Wrap
7880 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7885 Add a using std::abs declaration.
7887 * kbmap.h (modifier_pair):
7888 * paragraph.h (InsetTable, InsetList):
7889 * lyxfont.h (FontBits):
7890 type definition made public.
7892 * bufferlist.C (emergencyWriteAll): the compiler complains that
7893 there is more than one possible lyx::class_fun template to choose from.
7894 I re-named the void specialisation as lyx::void_class_fun.
7896 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7898 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7899 the compiler is is unable to find tostr in write_attribute.
7901 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7903 * buffer.C (sgmlError): hide #warning
7905 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7907 * xtl/*: get rid of xtl, which is not in use anyway
7909 * LyXAction.C (init):
7910 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7911 were unimplemented xtl experimentation
7913 2002-06-04 André Pönitz <poenitz@gmx.net>
7915 * lyxfunc.C: disable array operation on simple formulae
7917 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7919 * converter.C: constify a bit
7921 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7923 * lyx_gui.C: check xforms version correctly
7925 2002-04-30 Herbert Voss <voss@lyx.org>
7927 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7930 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7932 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7933 attempt to register it with a VCS)
7935 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7937 * lyx_main.C (init): honor variables LYX_DIR_13x and
7940 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7944 * lyx_main.C: fix a crash on bad command line,
7945 and give a useful exit status on error
7947 * lyxfunc.C (doImport): allow -i lyx to work
7949 2002-03-30 André Pönitz <poenitz@gmx.net>
7951 * lyxfunc.C: mathed font changes
7953 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7968 * trans_mgr.h: srcdocs, and some minor cleanups
7970 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7972 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7973 call getFont all the time)
7975 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7977 * switch from SigC signals to boost::signals
7979 2002-05-29 André Pönitz <poenitz@gmx.net>
7981 * paragraph_pimpl.C (getChar): don't call size() too often...
7983 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7985 * paragraph_pimpl.C (insertChar): do not try to update tables when
7986 appending (pos == size())
7988 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7989 in order to reduce drastically the number of comparisons needed to
7990 parse a large document
7992 2002-05-29 André Pönitz <poenitz@gmx.net>
7998 * textclasslist.[Ch]:
7999 * sp_ispell.h: whitespace change
8001 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8003 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8004 lyxaction directly now.
8006 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8010 * lyxvc.C: remove unused headers
8012 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8019 * undo_funcs.C: some cleanups. Use shared_ptr
8020 and a template for the undo stacks.
8022 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8024 * BufferView_pimpl.h:
8025 * BufferView_pimpl.C:
8032 * text2.C: use key_state/mouse_state
8034 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8036 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8039 * chset.C: change include order
8040 (loadFile): use boost regex and get rid of LRegex and LSubstring
8042 * Makefile.am (BOOST_LIBS): new variable
8045 * LaTeX.C: change include order.
8046 (scanAuxFile): use boost regex and get rid of LRegex and
8050 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8055 * FontInfo.C: moved to frontends/xforms/
8058 * FontLoader.C: moved into frontends for GUIIzation
8063 * lyxfunc.C: changes from above
8065 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8067 * LColor.C: remove spurious X include
8069 * BufferView_pimpl.C:
8074 * text2.C: move font metrics to frontends/
8076 2002-05-24 Juergen Vigna <jug@sad.it>
8078 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8079 setting the undo_cursor.
8081 * ParagraphParameters.h: include local includes first.
8083 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8085 * BufferView_pimpl.C:
8086 * BufferView_pimpl.h:
8090 * screen.C: move WorkArea into frontends/
8096 * BufferView2.C: move LyXScreen into frontends/
8100 * lyx_gui.C: move lyxlookup into frontends/xforms/
8102 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8105 * BufferView_pimpl.C:
8115 * bufferview_funcs.C:
8128 * vc-backend.C: move LyX/XFormsView into frontends/
8130 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8142 * text2.C: move Painter to frontends/
8144 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8146 * buffer.C: comment out some some code that depend upon lyx_format
8149 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8150 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8152 * buffer.h (NO_COMPABILITY): turn off compability
8154 * ColorHandler.C: include scoped_array.hpp
8156 * font.C: Use more specific smart_ptr header.
8159 * ShareContainer.h: ditto
8163 * BufferView_pimpl.h: ditto
8164 * ColorHandler.h: ditto
8166 * kbmap.C (defkey): change call to shared_ptr::reset
8168 2002-05-21 Juergen Vigna <jug@sad.it>
8170 * buffer.C (insertErtContents): fix to insert ert asis if it is
8171 non empty. Skip it completely if it contains only whitespaces.
8173 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8175 * BufferView_pimpl.C:
8176 * BufferView2.C: clear selection on paste (bug 393)
8178 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8180 * DepTable.C: include ctime
8182 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8184 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8186 2002-05-14 Juergen Vigna <jug@sad.it>
8188 * text.C (breakParagraph): fixed function to honor the keepempty
8189 layout in the right maner and also to permit the right breaking
8190 algorithm on empty or non empyt keepempty paragraphs.
8192 * paragraph.C (breakParagraph): we have to check also if the par
8193 is really empty (!size()) for isempty otherwise we do the wrong
8196 2002-05-10 Juergen Vigna <jug@sad.it>
8198 * buffer.[Ch] : The following are only changes to the ert
8199 compatibility read reading old LaTeX layout and font stuff and
8200 convert it to ERTInsets.
8202 * buffer.h: added isErtInset().
8204 * buffer.C (struct ErtComp): add a fromlayout bool to check
8205 if we're inside a LaTeX layout.
8206 (isErtInset): new helper function.
8207 (insertErtContents): look for other ert insets before this one
8208 and insert the contents there, so that we don't have subsequent
8209 ERT insets with nothing between them. This way we create only one
8210 inset with multiple paragraphs. Also check if we don't insert only
8211 spaces ' ' as they are ignored anyway afterwards in the .tex file
8212 so if we have only spaces we will ignore this latex part in the
8214 (parseSingleLyXformat2Token \\layout): better compatibility when
8215 reading layout-latex stuff.
8216 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8218 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8219 stuff after reading the inset only get the information back from
8222 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8224 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8226 * LaTeXFeatures.C (getBabelOptions): New method.
8228 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8230 * BufferView_pimpl.C (Dispatch): work around missing argument for
8233 2002-05-08 Juergen Vigna <jug@sad.it>
8235 * text.C (leftMargin): handle paragraph leftindent.
8237 * paragraph.C (writeFile): write the new \\leftindent tag.
8238 (validate): handle leftindent code.
8239 (TeXEnvironment): handle paragraphleftindent code again.
8241 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8243 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8244 for paragrap_extra indent code and new token \\leftindent.
8245 (latexParagraphs): handle the leftindent as environment.
8247 * ParameterStruct.h: added leftindent support.
8249 * ParagraphParameters.C (leftIndent): added support functions for
8250 the paragraph left indent.
8252 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8255 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8257 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8260 * text.C (computeBidiTables): No bidi in insetERT.
8262 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8265 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8267 * version.C.in: pre 5
8269 2002-05-02 José Matos <jamatos@fep.up.pt>
8270 * buffer.C (makeDocBookFile): white space changes, add newline to
8272 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8274 * tabular.C (docBook): fix typo.
8276 2002-05-03 Juergen Vigna <jug@sad.it>
8278 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8279 change in LyXText as we can not be sure it was not freed.
8280 (drawOneRow): remove unused code.
8282 * text.C (drawInset): redo the calculation of the need_break_row as
8283 it could have a row which was already freed.
8284 (draw): look at the return value of drawInset and return false if
8285 it also returned false.
8286 (paintRowText): look at the return value of draw and return false if
8287 it also returned false.
8289 * lyxtext.h: added bool return type to drawInset() and draw() so that
8290 if we have a change in the row so that the rowbreak has to be redone
8291 we abort drawing as it will be called again.
8293 2002-05-02 Juergen Vigna <jug@sad.it>
8295 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8296 a change in the maintext also if we're inside an inset.
8297 (Dispatch): set the cursor again after a break line and after the
8298 screen has been updated as it could be we're in a different row.
8300 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8301 to set the cursor behind the pargraph with > size().
8302 (setCursor): check also for the same paragraph when checking where
8303 to put the cursor if we have a NFR inset.
8305 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8306 parts of layout read further up as it still was in the wrong
8309 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8311 * screen.C (drawFromTo): change sine fullRebreak always return
8314 * buffer.C (parseSingleLyXformat2Token): reindent some
8316 * BufferView_pimpl.C (update): change since fullRebreak always
8318 (Dispatch): git rid of the last hardcoded "Standard"s.
8320 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8322 * text2.[Ch] (fullRebreak): make it return void now that we always
8325 2002-04-30 Juergen Vigna <jug@sad.it>
8327 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8328 ert compatibility check for "latex" layout.
8330 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8332 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8333 minipages: use col% instead of p%, and also use the current font.
8334 (makeLaTeXFile): Fix use babel condition.
8335 (parseSingleLyXformat2Token): Correct font when reading old floats.
8337 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8339 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8340 inserting list of floats.
8342 2002-04-25 Herbert Voss <voss@lyx.org>
8344 * MenuBackend.C (expand): don't add the graphics extensions to the
8347 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8349 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8350 non-existing layout, do not complain if it was the default layout
8351 of the original class (bug #342)
8353 2002-04-24 Juergen Vigna <jug@sad.it>
8355 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8356 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8358 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8360 * buffer.C (getBibkeyList): If using \bibliography, return the
8361 option field with the reference itself. Enables us to provide natbib
8362 support when using \bibliography.
8364 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8366 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8368 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8369 natbib is provided by the LaTeX class.
8371 2002-04-23 Juergen Vigna <jug@sad.it>
8373 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8376 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8378 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8380 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8382 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8383 ensuremath around textordmasculine, textordfeminine and
8386 2002-04-19 Juergen Vigna <jug@sad.it>
8388 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8389 reinitializing the buffer otherwise row-dimensions may be wrong.
8390 (update): reset also the selection cursors if they do exits otherwise
8391 their x/y positions may be wrong.
8393 * text2.C (cursorDown): don't enter the inset if we came from a row
8394 above and are one row over the inset.
8396 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8397 really leaving an inset.
8399 2002-04-18 Juergen Vigna <jug@sad.it>
8401 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8402 of the selected paragraph does not have the selected layout also if
8405 * text2.C (setLayout): fixed bug which did not change last selected
8408 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8409 changed the read and substituted \\end_float with \\end_inset!
8411 * BufferView_pimpl.C (cursorPrevious):
8412 (cursorNext): fixed to make it work with rows heigher than the work
8413 area without moving the cursor only the draw of the row.
8414 (workAreaMotionNotify): fix jumping over high rows.
8416 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8418 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8421 2002-04-16 Juergen Vigna <jug@sad.it>
8423 * text2.C (setCursor): set also the irow().
8424 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8426 (cursorDown): support for locking an inset if the x_fix value goes
8427 inside it. That way I can transverse insets too with cursor up/down.
8429 * lyxrow.h: added irow helper function same as other (i) functions.
8431 * BufferView_pimpl.C (cursorPrevious):
8432 (cursorNext): fixed for insets!
8434 2002-04-15 Juergen Vigna <jug@sad.it>
8436 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8437 position otherwise it is wrong in some cases.
8439 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8440 inside the inset before the call.
8442 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8444 * buffer.[Ch] (getBibkeyList): make it const.
8446 2002-04-12 Juergen Vigna <jug@sad.it>
8448 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8450 * text2.C (getCursorX): new helper function
8451 (setCursor): compute also ix_
8452 (setCursorFromCoordinates): set also ix.
8454 * lyxcursor.h: added ix_ and helper functions.
8456 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8458 * buffer.C (insertStringAsLines): dont break paragraph if the this
8459 paragraph is inside an inset which does not permit it!
8461 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8462 also with no chars on this paragraph.
8463 (paintRowText): only paint stuff if it's inside the workarea!
8465 * paragraph.C (breakParagraph): honor keepempty flag and break the
8466 paragraph always below not above.
8468 * BufferView2.C (unlockInset): update the paragraph layout on inset
8469 unlock as we changed paragraph in such a case.
8471 * lyxfind.C (LyXFind): clear the former selection if not found!
8473 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8474 again called in insertChar().
8476 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8477 an inset which uses the whole row!
8478 (rightMargin): ditto.
8479 (insertChar): force a rebreak if we inserted an inset!
8481 2002-03-28 Herbert Voss <voss@lyx.org>
8483 * lyxlength.[Ch]: add inBP() to get the right PS-point
8484 units (BigPoint). With inPixels we have rounding errors
8486 2002-04-11 Juergen Vigna <jug@sad.it>
8488 * text2.C (setCursorFromCoordinates): set iy to the right value.
8489 (setCursor): add check if row->previous exists!
8491 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8492 an old float_type as this was the case in the old code!
8494 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8496 * BufferView2.C (showLockedInsetCursor): use iy
8497 (fitLockedInsetCursor): ditto
8499 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8500 locked insets as there we have the right value now.
8502 * lyxcursor.C: added iy_ variable and iy functions to set to the
8503 baseline of cursor-y of the locked inset.
8505 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8506 (setCursor): fixed for insets which need a full row.
8508 * text.C (rowLastPrintable): don't ignore the last space when before
8509 an inset which needs a full row.
8510 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8511 as last character of a row when before a inset which needs a full row.
8513 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8515 * version.C.in: update date
8517 * text2.C (fullRebreak): try to always return true and see what
8520 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8522 * MenuBackend.C (expand): use Floating::listName
8524 * FloatList.C (FloatList): add listName argument to the built-in
8527 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8528 text associated with the float.
8530 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8532 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8534 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8536 * ShareContainer.h: add a couple of missing typenames.
8538 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8540 * lyxrc.C (getDescription): use _() correctly rather than N_().
8542 2002-03-28 Herbert Voss <voss@lyx.org>
8544 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8545 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8547 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8549 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8550 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8552 2002-03-29 Juergen Vigna <jug@sad.it>
8554 * lyxfunc.C (dispatch): add a missing fitCursor call.
8556 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8557 it was scrolled by a cursor move, so return the bool status.
8559 * BufferView.C (fitCursor): return the bool flag also to the outside
8560 world as this is needed.
8562 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8564 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8565 call the edit() as it is not needed (and wrong) IMO.
8566 (workAreaButtonPress): set the screen_first variable before evt.
8567 unlock the inset as this may change screen_first and then we have
8568 a wrong y position for the click!
8570 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8572 * MenuBackend.C (expand): another translation that I missed
8574 2002-03-28 Juergen Vigna <jug@sad.it>
8576 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8578 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8580 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8582 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8584 * MenuBackend.C (expand): fix export/view/update when there is no
8587 2002-03-27 Herbert Voss <voss@lyx.org>
8589 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8592 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8594 * bufferview_funcs.C (currentState): only show paragraph number
8595 for is DEVEL_VERSION is set.
8597 * lyxfunc.C (dispatch): put warning in INFO channel
8599 * MenuBackend.C (expand): translate the name of floats
8601 * FloatList.C (FloatList): mark the float names for translation
8603 * converter.C (convert): use LibScriptSearch
8605 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8607 * MenuBackend.C (defaults): fix default menu (we might as well get
8610 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8612 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8615 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8617 * lyxvc.C: reorder includes.
8619 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8621 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8624 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8626 * CutAndPaste.C: change layouts earlier on paste
8627 to avoid crashing when calling getFont()
8629 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8631 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8634 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8636 * WorkArea.C: remove 'Pending' debug message.
8638 * most files: ws cleanup
8640 * buffer.[Ch]: ws changes
8642 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8644 2002-03-21 Juergen Vigna <jug@sad.it>
8646 * tabular.C (SetMultiColumn): collapse also the contents of the
8647 cells and set the last border right. Added a Buffer const * param.
8649 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8651 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8654 2002-03-19 Juergen Vigna <jug@sad.it>
8656 * text2.C (clearSelection): reset also xsel_cache.
8658 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8659 where it needs to be called (John tells us to do so too :)
8660 (selectionLost): reset sel_cache.
8662 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8664 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8666 * text2.C (setCursorIntern): put debuging code in INSETS channel
8668 2002-03-19 André Pönitz <poenitz@gmx.net>
8670 * lyxfunc.C: tiny whitespace change
8672 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8674 * ToolbarDefaults.C (init):
8675 * LyXAction.C (init):
8677 * BufferView_pimpl.C (Dispatch):
8678 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8680 2002-03-19 Allan Rae <rae@lyx.org>
8682 * exporter.C (Export): removeAutoInsets before doing anything else.
8683 While I've just introduced a dependency on BufferView this really is
8684 the best place to clean the buffer otherwise you need to cleanup in
8685 a dozen places before calling export or cleanup in a dozen functions
8688 * converter.C (runLaTeX):
8689 (scanLog): Better handling of removeAutoInsets and screen updates.
8691 * lyxfunc.C (dispatch): small whitespace changes
8693 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8695 * WorkArea.C (C_WorkAreaEvent): return a value.
8696 (event_cb): return 1 if we handled the event, 0 otherwise.
8698 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8700 2002-03-18 Juergen Vigna <jug@sad.it>
8702 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8703 (GetAdditionalWidth): ditto.
8707 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8708 inset if we're there actually (probably not used right now but this
8709 is the direction to go for unifying code).
8710 (paste): disable code to clear the selection.
8712 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8713 inside an InsetText and move the check further up as it is in the
8716 * text2.C (pasteSelection): set a selection over the pasted text.
8718 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8720 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8721 and libgraphics to build on Cygwin.
8723 2002-03-15 Juergen Vigna <jug@sad.it>
8725 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8726 inserting an Inset into the paragraph. I know this is not the best
8727 fix but we already use current_view in CutAndPaste so we will remove
8728 all of it's using at the same time.
8730 * buffer.C (sgmlError): deactivated function till it is rewritten in
8731 the right mode, now it can create problems.
8733 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8734 before accessing it.
8736 2002-03-14 Juergen Vigna <jug@sad.it>
8738 * undo_funcs.C (textHandleUndo): do the right thing when updating
8739 the inset after the undo/redo.
8741 * text2.C (setCursor): just some testcode for #44 not ready yet.
8743 * undo_funcs.C (textHandleUndo): set the next() and previous()
8744 pointers of the paragraph to 0 before deleting otherwise we have
8745 problems with the Paragraph::[destructor].
8747 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8748 on a paragraph insertion.
8750 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8752 * buffer.C (asciiParagraph): use += operator for char append to
8755 * paragraph.C (getFontSettings): compare >= not just >
8756 (highestFontInRange): ditto
8759 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8761 * paragraph.C: change several algorithm to be more appripriate for
8762 the problem domain. This is lookip in FontList and in the InsetList.
8764 2002-03-13 André Pönitz <poenitz@gmx.net>
8767 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8769 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8774 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8776 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8778 * Painter.C (display): anon helper function, adjust code for this
8780 (pixmap): remove function.
8782 * Painter.h: remove private display variable.
8784 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8786 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8788 * WorkArea.[Ch]: remove figinset_canvas cruft.
8790 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8792 * lyxtextclass.C (operator): add one item cache optimization.
8794 * bufferlist.h: doxy changes
8796 * bufferlist.C: ws changes
8798 * DepTable.[Ch] (ext_exist): place const in the right spot.
8800 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8802 (workAreaExpose): call resizeInsets when the with BufferView changes.
8803 (Dispatch): adjust for protectedBlank removal
8804 (specialChar): call updateInset if the insert went ok.
8806 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8807 specialChar instead.
8809 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8811 * BufferView.h: doxy change
8813 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8815 * lyxtextclass.C (operator[]): remove non-const version
8816 (defaultLayout): remove non-const version
8818 2002-03-12 Juergen Vigna <jug@sad.it>
8820 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8821 did resize the LyXText too.
8823 * buffer.C (readLyXformat2): set layout information on newly allocated
8826 * tabular.C (OldFormatRead): set layout information on the paragraph.
8828 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8830 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8832 2002-03-11 Juergen Vigna <jug@sad.it>
8834 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8836 (resizeCurrentBuffer): force also the insets to resize themselfes.
8837 (moveCursorUpdate): fixed up for InsetText.
8839 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8842 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8843 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8844 value of Dialogs::tooltipsEnabled().
8845 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8847 2002-03-08 Juergen Vigna <jug@sad.it>
8849 * BufferView_pimpl.C (updateInset): update inset inside inset also
8850 if it isn't inside theLockingInset().
8852 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8854 * buffer.C (asciiParagraph): redo some of the word and line length
8856 (getLists): look for Caption instead of caption.
8858 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8860 * buffer.C (Buffer): initialize niceFile to true
8863 (makeDocBookFile): make sure niceFile is true on exit
8865 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8867 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8869 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8871 * LyXSendto.C: remove.
8872 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8873 * lyx_gui.C: remove now-redundant comment.
8874 * ColorHandler.h: remove forward declaration of class WorkArea.
8875 * lyxfunc.C: remove #include "WorkArea.h".
8877 2002-03-07 Juergen Vigna <jug@sad.it>
8879 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8880 got moved away with the DEPM and also set the inset_owner always
8881 right which before could have been omitted.
8883 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8885 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8886 wanted layout is not found.
8888 2002-03-07 Juergen Vigna <jug@sad.it>
8890 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8892 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8894 * paragraph.C (breakParagraph): use default layout not layout of
8896 (Paragraph): clear ParagraphParameters.
8898 2002-03-06 Juergen Vigna <jug@sad.it>
8900 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8901 otherwise it would not be a valid lenght. Fixed a special case in
8902 the minipage compatibility read where we end the document with a
8905 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8906 was set as it could be 0 for InsetTexts first entry.
8908 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8910 * paragraph.C (writeFile): if layout is empty write out
8911 defaultLayoutName().
8913 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8914 file without named layout we set layout to defaultLayoutName().
8916 2002-03-06 Juergen Vigna <jug@sad.it>
8918 * CutAndPaste.C (copySelection): set layout for new paragraph.
8920 * text.C (prepareToPrint): leave ERT inset left aligned
8921 (leftMargin): don't indent paragraphs inside ERT insets
8923 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8925 * paragraph.C (breakParagraph): dont call clear do the work manually
8927 * paragraph.[Ch] (clear): remove function
8929 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8931 * paragraph.C (Paragraph): dont call clear, the work has already
8934 * lyxtextclass.C (operator): assert if n is empty
8936 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8937 work manually instead.
8939 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8941 * BufferView_pimpl.C: protect selectionLost against text == 0
8943 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8945 * text.C (breakParagraph): fix a setting layout to '0' problem.
8947 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8949 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8950 final location of file, for the included files, and graphics.
8952 2002-03-05 Juergen Vigna <jug@sad.it>
8954 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8956 2002-03-04 Juergen Vigna <jug@sad.it>
8958 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8960 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8961 last column of multicolumn cells.
8962 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8964 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8966 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8967 file if it doesn't go to a temporary file.
8969 * buffer.C (sgmlOpenTag):
8970 (sgmlCloseTag): remove extra newline insertion.
8972 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8974 * text.C (getRowNearY): comment out debug msg
8976 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8978 * text2.C: first -> first_y
8980 * text.C (getRowNearY): add some attemts at a possible
8981 optimization, not working.
8983 * tabular.[Ch]: add BufferParams to several function so that newly
8984 created paragraph can be initialized to he default layotu for the
8987 * tabular-old.C (ReadOld): add buf->params to call of Init
8989 * screen.C: rename text->first to text->first_y
8991 * paragraph.C (breakParagraph): always set layout in the broken
8994 * lyxtextclass.C (Read): remove lowercase
8997 (delete_layout): ditto
8999 * lyxtext.h: rename first -> first_y
9001 * lyxlayout.C (Read): remove lowercase
9004 (obsoleted_by): ditto
9006 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9008 * buffer.C (insertErtContents): add params are to InsetERT
9009 (parseSingleLyXformat2Token): add code to check if a paragraphs
9010 layout really exist.
9011 (parseSingleLyXformat2Token): add params to several inset
9013 (asciiParagraph): remove lowercase, do the layout comparisons with
9016 * BufferView_pimpl.C (cursorNext): first -> first_y
9017 (resizeCurrentBuffer): first -> first_y
9018 (updateScrollbar): first -> first_y
9019 (scrollCB): first -> first_y
9020 (workAreaMotionNotify): first -> first_y
9021 (workAreaButtonPress): first -> first_y
9022 (checkInsetHit): first -> first_y
9023 (cursorPrevious): first -> first_y
9024 (cursorNext): first -> first_y
9025 (Dispatch): add buffer_->params to severl inset contructors
9027 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9029 * lyxlayout.C (Read): remove some debug info that I forgot.
9031 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9032 clean up the code slightly.
9033 (makeLinuxDocFile): ditto
9034 (makeDocBookFile): ditto
9036 * text2.C: layout as string
9038 * text.C: layout as string
9040 * paragraph_pimpl.C: layout as string
9042 * paragraph.[Ch]: layout as string
9044 * lyxtextclasslist.[Ch]: layout as string
9046 * lyxtextclass.[Ch]: layout as string
9048 * lyxtext.h: layout as string
9050 * lyxlayout.[Ch]: layout as string
9052 * lyx_cb.C: layout as string
9054 * bufferview_funcs.C: layout as string
9056 * bufferparams.C: layout as string
9058 * buffer.C: layout as string
9060 * LyXView.[Ch]: layout as string
9062 * LaTeXFeatures.[Ch]: layout as string
9064 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9066 * BufferView_pimpl.C: change current_layout to string, remove
9071 (workAreaButtonRelease): layout as string
9073 * BufferView2.C (unlockInset): adjust
9075 * vspace.C (asLatexCommand): use an explict temp variable.
9077 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9079 * Makefile.am: use FRONTEND_*
9081 2002-03-01 Juergen Vigna <jug@sad.it>
9083 * tabular.C (SetWidthOfMulticolCell): changed to something better
9084 I hope but still work in progress.
9085 (recalculateMulticolumnsOfColumn): renamed function from
9086 recalculateMulticolCells as it is more appropriate now.
9087 (SetWidthOfCell): calculate multicols better.
9089 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9091 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9093 * lyxfunc.C (processKeySym): print sequence also if it is
9094 `deleted' (complete)
9096 * kbsequence.C (print): print sequence even if it is deleted
9097 (complete would be a better word, actually).
9099 * lyxfunc.C (dispatch): print complete options after a prefix key
9101 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9103 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9105 * text2.C (setCharFont): eliminate setCharFont code duplication.
9107 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9109 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9110 LFUN_TABULAR_FEATURE (bug #177)
9112 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9114 * Makefile.am: remove figure.h
9116 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9118 * Bufferview_pimpl.C:
9130 * text2.C: remove #include "lyx_gui_misc.h".
9132 * LaTeX.C: added #include <cstdio>
9134 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9136 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9137 that the paragraph following this one can have.
9139 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9141 * vspace.C (asLatexCommand): fix bogus gcc warning
9143 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9145 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9147 * text2.C (setLayout): get rid of redundant code
9149 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9151 * text2.C (incDepth): make sure depth cannot be increased beyond
9154 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9156 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9157 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9159 * PainterBase.h (image):
9160 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9163 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9167 * BufferView_pimpl.C:
9168 * BufferView_pimpl.h:
9188 * sp_spell.C: remove fig inset, and the crap house of
9189 cards that follows it
9191 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9197 * nt_defines.h: move .h into support/
9199 * vms_defines.h: remove
9201 * WorkArea.C: add space in debug output
9205 * buffer.C: add WITH_WARNINGS
9209 * bufferlist.C: s/retrive/retrieve/, add docs
9220 * lyxgui.C: add ID to X error handler
9222 * lyxtestclass.c: fix typo
9224 2002-02-26 Juergen Vigna <jug@sad.it>
9226 * tabular_funcs.C (write_attribute): changed so that some default
9227 attributes are not written at all.
9228 (getTokenValue): set default values before trying to read the
9229 value so we have the return value always set as default if we don't
9230 find the token we search for.
9232 * tabular.C (Write): write bools as bools not as strings!
9234 2002-02-22 Juergen Vigna <jug@sad.it>
9236 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9237 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9239 * text.C (leftMargin): don't add an indent for paragraphs inside
9240 tabular cells (fix #208).
9242 2002-02-21 José Matos <jamatos@fep.up.pt>
9244 * tabular.C (docBook): fixed support for long tables.
9246 2002-02-20 Juergen Vigna <jug@sad.it>
9248 * text2.C (getFont): get the drawing font of the Inset if this
9249 paragraph is inside an inset (only important for InsetERT for now).
9251 * buffer.C (insertErtContents): use new lanugage params in ERT
9254 * CutAndPaste.C: commenting out seemingly uneeded code.
9256 2002-02-19 Allan Rae <rae@lyx.org>
9258 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9259 Iterators might be simple to use but they also get invalidated.
9260 (removeAutoInsets): renamed saved cursor tracking variables and added
9261 some comments to clarify what everything does.
9263 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9270 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9271 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9274 * vc-backend.h: remove #include "support/syscall.h"
9278 * converter.C: rearrange #includes in Lars' approved fashion.
9280 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9281 forward declare class Timeout in the header file.
9283 * XFormsView.C: changes due to the above.
9285 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9288 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9289 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9291 2002-02-18 José Matos <jamatos@fep.up.pt>
9293 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9296 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9298 * a lot of small ws changes
9299 * add a lot of using std::XXX
9300 * use std construcs some places where approp.
9301 * use some exisint stuff from lyxfunctional where approp.
9302 * Make file changes to use partial linking (lets test this now...)
9304 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9308 remove #include "support/syscontr.h" as it's redundant. Always has been.
9316 change Systemcalls::System to Systemcalls::Wait and
9317 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9318 No change of functionality, just reflects the stripped down Systemcalls
9321 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9323 * debug.[Ch]: add a GRAPHICS type to the enum.
9325 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9327 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9329 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9332 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9334 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9335 match the changes below.
9337 * text2.C (toggleInset): if there is not editable inset at cursor
9338 position, try to see if cursor is _inside_ a collapsable inset
9341 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9343 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9344 document menu has a nice checkbox
9346 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9348 * lyxlength.C (asLatexString): change PW to output as percent of
9351 * lengthcommon.C: change '%' to 't%'
9353 * lyxfunc.C (dispatch): a few comments from Martin
9355 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9359 * BufferView_pimpl.h:
9360 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9363 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9365 * vspace.C (inPixels): fix compiler warning
9367 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9369 * lyxfunc.C (getStatus): fix status message for disabled commands.
9371 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9373 * BufferView_pimpl.C: fix crash on close buffer
9374 during selection (#227)
9376 2002-01-27 Herbert Voss <voss@lyx.org>
9378 * buffer.C: link old Figure to new graphic inset
9380 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9382 * FontLoader.C (getFontinfo): Change the latex font names in order
9383 to match the names of type1inst.
9385 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9387 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9389 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9392 (remove_files_with_extension): ditto
9393 (remove_file): ditto
9396 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9397 document is smaller than the work area height. Do not initialize
9398 static variables to 0.
9400 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9402 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9404 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9405 LFUN_LAYOUT_PARAGRAPHS.
9407 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9408 tabular. It is possible to provide a possible cell, which will
9409 typically be the actcell from the corresponding insettabular
9411 * lyxfunc.C (getStatus): small cleanup; disable
9412 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9415 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9417 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9419 * paragraph.C (startTeXParParams):
9420 (endTeXParParams): new methods. The LaTeX code to
9421 start/end paragraph formatting
9422 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9423 empty (fixes bug #200)
9425 * vspace.C (inPixels): adapt to the change below
9426 (inPixels): [later] more cleanups (remove unused variables)
9428 * lyxlength.C (inPixels): change to use a width and a height as
9431 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9433 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9434 Replaced with \paperwidth
9436 * DepTable.C (insert): add std:: qualifier
9438 2002-01-18 Allan Rae <rae@lyx.org>
9440 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9443 * text.C (drawInset): Turned out I didn't know enough about how
9444 rebreaking worked. This fixes most of the redraw problems. I see
9445 an occasional cursor trail when a line is broken now and the cursor
9446 placement can seem out by a few pixels also after a rebreak.
9448 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9450 * buffer.C (parseSingleLyXformat2Token): update because minipage
9451 width is now a LyXLength
9453 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9455 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9458 2002-01-17 Juergen Vigna <jug@sad.it>
9460 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9462 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9463 is set correctly and the inset is updated correctly.
9465 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9467 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9468 the beginning of the loop.
9470 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9472 * lyxrc.C: improve help for use_scalable_fonts
9474 2002-01-17 Allan Rae <rae@lyx.org>
9476 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9478 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9480 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9481 make sure to set their inset_owner to the right value (bug #171)
9483 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9486 * DepTable.C: Implement mtime checking to reduce time spent doing
9489 2002-01-16 Juergen Vigna <jug@sad.it>
9491 * tabular.C (GetAdditionalHeight): one of error fixed.
9493 * lyxrc.C (output): small fix in writing use_pspell.
9495 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9497 * sp_base.h: #include LString.h
9499 2002-01-16 Allan Rae <rae@lyx.org>
9501 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9502 Can someone check this please?
9504 * text.C (drawInset): It was possible that p.row would be removed by
9505 breakAgainOneRow upsetting a few other settings. There may be another
9506 small tweak possible by setting need_break_row = 0 when p.row has been
9507 removed but I don't know enough about the logic here.
9509 2002-01-15 Allan Rae <rae@lyx.org>
9511 * text.C (insertChar): removed conditional truism.
9513 * BufferView2.C (removeAutoInsets): More tweaks.
9514 cur_par_prev could be a stray pointer. Check for trailing empty line
9515 in case last line was cur_par and only had an error inset on it.
9517 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9519 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9522 * vc-backend.C (most methods):
9523 * exporter.C (Export):
9524 * converter.C (convert):
9526 * LyXSendto.C (SendtoApplyCB):
9527 * lyxfunc.C (dispatch):
9531 * lyx_cb.C (AutoSave):
9533 * BufferView_pimpl.C (MenuInsertLyXFile):
9534 * buffer.C (runChktex): use Buffer::filePath().
9536 * buffer.h: rename filename to filename_; rename filepath to
9537 filepath_ and make it private
9538 (filePath): new method
9540 * buffer.C (writeFile): use fileName()
9543 * lyx_main.C (init): fix starting of LyX when the binary is a
9544 link from so,ewhere else.
9546 * minibuffer.C: include <cctype> for isprint
9548 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9550 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9551 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9552 name clash with InsetCollapsable's width function.
9554 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9556 * lastfiles.C: include <iterator>
9558 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9560 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9563 * buffer.C (makeLaTeXFile): ditto.
9564 Also make loop operation more transparent.
9566 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9568 * ToolbarDefaults.C: remove trailing comma closing namespace.
9570 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9572 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9575 * trans.C (Load): comment out unused variable, allowed.
9577 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9579 * minibuffer.[Ch] (append_char): new method to recieve input from the
9580 drop-down completion browser. If a key was pressed, then recieve this
9581 char and append it to the existing string.
9582 (peek_event): modify the positioning data passed to the completion
9583 browser so that it can be placed above the minibuffer rather than below.
9584 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9586 * LyXAction.C (init): alloe error-next for readonly documents.
9588 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9591 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9593 * bufferlist.C (readFile): create the buffer _after_ checking that
9596 * lyxfunc.C (verboseDispatch): fix handling of arguments
9598 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9600 * lyxrc.C: use string::erase() instead of initializing to "".
9603 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9605 * BufferView_pimpl.h:
9606 * BufferView_pimpl.C:
9609 * text2.C: tell X when we have made a selection for copying
9611 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9613 * BufferView_pimpl.C (MenuInsertLyXFile):
9614 * lyxfunc.C (menuNew):
9616 (doImport): add shortcuts to directory buttons
9618 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9621 * lyxfunc.C (setStatusMessage):
9622 (getStatusMessage): new methods
9623 (getStatus):use setStatusMessage instead of setErrorMessage
9624 (dispatch): when function is disabled, set error message here
9625 [instead of in getStatus previously]
9627 * BufferView_pimpl.C (workAreaButtonRelease): update
9628 toolbar/menubar here too.
9630 2002-01-13 Allan Rae <rae@lyx.org>
9632 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9633 Now seems indestructible. Remaining task is to audit all other
9634 code affected by deleteEmptyParagraphMechanism. One small quirk
9635 left is that an empty document with an error in the preamble can
9636 be made to report an error but no error box appears. I don't know
9638 (removeAutoInsets): Improved comments.
9640 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9643 * Thesaurus.C: update for Aiksaurus 0.14
9645 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9647 * text2.C (firstParagraph): removed member function, all uses
9648 replaces with ownerParagraph
9649 (redoParagraphs): here
9651 (toggleAppendix): here
9652 * BufferView2.C (insertErrors): here
9653 (setCursorFromRow): here
9655 2002-01-13 Allan Rae <rae@lyx.org>
9657 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9658 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9659 There is still a way to segfault this although you may have to do this
9660 multiple times: Have an InsetERT with an unknown command in it.
9661 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9662 <down-arrow>, <Enter> again, View->DVI, BANG!
9664 * text2.C (setCursor):
9665 (deleteEmptyParagraphMechanism):
9666 * lyxtext.h (setCursor):
9667 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9668 Making use of the return value may help fix other bugs.
9670 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9672 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9674 * LyXView.C (updateMenubar): call MenuBar::update here
9675 (updateToolbar): but not here
9676 (showState): do not update toolbar/menubar
9678 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9679 should need to care about that.
9681 * lyxfunc.C (verboseDispatch): simplify a bit
9682 (getStatus): have a version which takes a pseudoaction, and
9683 another which requires a (kb_action,string).
9685 * LyXAction.C (retrieveActionArg): make it work also when action
9686 is not a pseudo-action.
9687 (getActionName): simplify a bit
9690 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9692 * lyxfunc.C (verboseDispatch): new families of methods with
9693 several ways to specify a command and a bool to indicate whether
9694 the command name and shortcut should be displayed in minibuffer
9695 (eventually, we could extend that to a finer bitmask like
9696 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9697 (dispatch): the pristine dispatch command which just, well,
9698 dispatchs! Note it still sets its result to minibuffer; I'm not
9701 * lyxfunc.h: remove setHintMessage
9703 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9705 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9707 * BufferView_pimpl.C (specialChar): delete new inset if we have
9708 not been able to insert it.
9710 * kbmap.C: revert to using int instead of kb_action, since all we
9711 are dealing with is pseudo-actions.
9713 * LyXAction.C (searchActionArg): change to return int instead of
9714 kb_action, since the result is a pseudoaction.
9716 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9718 * buffer.C (insertErtContents): Fix (partially) the font bug.
9720 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9722 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9723 as the other one is broken on my machine!
9725 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9728 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9730 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9732 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9733 reflect their actual use. Provide compatibility code for older lyxrc
9736 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9738 change names of popup font variables in line with the changes to lyxrc.C
9740 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9742 * buffer.C (asciiParagraph): avoid outputing a word twice after
9745 * lyxrc.C (getDescription): document that document_path and
9746 template_path can be empty.
9748 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9750 * LaTeXFeatures.C (getMacros):
9751 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9753 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9755 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9757 (getPackages): rename feature "floats" to "float". Use an array to
9758 iterate over 'simple' features (i.e. just a \usepackage). Add
9759 handling of "amsmath" (renamed from "amsstyle").
9761 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9763 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9766 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9768 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9769 FuncStaus::FuncStatus & FuncStaus::some_method().
9771 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9773 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9774 of the func_satus stuff. Edited and massaged in various ways by
9777 * lyxfunc.C (getStatus): use FuncStatus
9779 2002-01-08 Juergen Vigna <jug@sad.it>
9781 * text.C (nextBreakPoint): use function Inset::isChar().
9783 * paragraph.C (TeXOnePar): use function
9784 Inset::forceDefaultParagraphs.
9786 * buffer.C (latexParagraphs): use function
9787 Inset::forceDefaultParagraphs.
9789 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9791 * lyx_gui.C (init): set the style of the menu popups to
9792 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9794 2002-01-07 Juergen Vigna <jug@sad.it>
9796 * text.C (setHeightOfRow): small fix
9797 (prepareToPrint): don't look at alignment if we don't have the place
9800 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9802 * box.C: New file. Move the Box methods and functions out of box.h,
9803 following Lars' suggestion.
9805 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9807 * box.h: #include "support/LOstream.h", needed for inlined function.
9810 * lyxtextclasslist.C: added some using std declarations.
9812 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9814 * box.h: make signed dimensions to allow insets wider than
9815 the screen (bug #162)
9817 * BufferView_pimpl.C: add some insetHit debug
9819 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9821 * vc-backend.C: add FIXME
9823 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9825 * lyxfunc.C (getStatus): enable code for showing math font status
9828 2002-01-07 Juergen Vigna <jug@sad.it>
9830 * text.C (nextBreakPoint): removed debug output not needed anymore.
9832 2002-01-06 Juergen Vigna <jug@sad.it>
9834 * text.C (nextBreakPoint): fixed up this function we had this bug
9835 since ever but now hopefully we break row better.
9836 (insertChar): we have to check if an inset is the next char as it
9837 could now happen that a large inset is causing a break.
9839 2002-01-05 Juergen Vigna <jug@sad.it>
9841 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9842 if it doesn't like to be drawed.
9844 2002-01-04 Juergen Vigna <jug@sad.it>
9846 * BufferView2.C (lockInset): forgot to set a cursor.
9848 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9850 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9855 * form_maths_panel.C:
9856 * form_maths_panel.h:
9857 * form_maths_panel.fd: implemented sub- and super- buttons in math
9860 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9861 (or ^ space) to be used as in TeX (req'd by André).
9863 * lyxfunc.C: Allow ^ and _ again to be used both as
9864 super/subscript (mathed) and as themselves (in text).
9866 2002-01-03 Allan Rae <rae@lyx.org>
9868 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9869 "LyX" or the filename of the current buffer if it has one. This is a
9870 modified form of John Levon's patch.
9872 * XFormsView.C (setWindowTitle): also set icon title.
9874 * LyXView.h (setWindowTitle): signature changed.
9875 * XFormsView.h (setWindowTitle): ditto.
9877 2002-01-02 Juergen Vigna <jug@sad.it>
9879 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9881 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9883 * screen.C (topCursorVisible): introduce a temp var for
9884 text->cursor.row(), handle the case where this row is null. (kindo
9887 * text2.C (setCursor): add a couple of asserts.
9889 * paragraph.h (inset_iterator): add -> operator
9891 * paragraph.[Ch] (autoDeleteInsets): remove member function
9893 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9894 cursor pos correctly and handle inset deletion by itself.
9895 (insertErrors): move iterator declaration out of for expression
9897 * lyxtextclass.C: add <algorithm>
9899 * Makefile.am: added the new files to sources, removed layout.C
9901 * layout.C: removed file
9903 * layout.h: remove LYX_DUMMY_LAYOUT
9905 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9909 * lyxtextclass.[Ch]:
9910 * lyxtextclasslist.[Ch]: new files
9912 * include order changes to a lot of files, also changes because of
9915 2001-12-27 Juergen Vigna <jug@sad.it>
9917 * buffer.C (asciiParagraph): more fixes.
9919 * tabular.C (ascii): make ascii export support export of only the
9920 data separated by a column-delimiter.
9921 (ascii): better support for ascii export.
9923 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9925 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9927 * tabular_funcs.C: use a "using std::getline" instead of the
9928 previous fix from Angus (necessary for cxx + lyxstring)
9930 2001-12-24 Juergen Vigna <jug@sad.it>
9932 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9934 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9935 problems. First check a minipage also if we have some ert-contents
9936 (not only on par->size(), second set the right depth of the paragraph
9937 on the relink to the root-paragraph-list!
9939 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9940 which then did not anymore update the main paragraphs on undo/redo!
9942 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9944 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9945 code. Support all font-changing funcs (even those which are not in
9946 menu currently). Support for reporting font settings in
9947 mathed (disabled until Andre provides a function on mathed's side).
9949 * func_status.h (toggle): small helper function to set toggle
9952 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9954 * tabular_funcs.C: getline -> std::getline
9956 2001-12-21 Juergen Vigna <jug@sad.it>
9958 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9959 accessed and could be 0 (I couldn't generate this but it seems
9962 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9964 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9965 * tabular_funcs.h: here and include iosfwd
9967 2001-12-20 Juergen Vigna <jug@sad.it>
9969 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9970 inside inset but undo_par was.
9972 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9974 * Thesaurus.C: always include <config.h> in sources.
9978 * box.h: do not include <config.h> in header files
9980 * text.C (paintLastRow): remove unused variable
9982 * text.C (transformChar):
9984 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9987 * font.C (width): rewrite to use uppercase() instead of
9990 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9992 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9994 * lyxfind.C: clean up of find failure position change
9996 2001-12-20 Juergen Vigna <jug@sad.it>
9998 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10000 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10001 (TeXRow): added to LaTeX a single tabular row.
10002 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10003 (Latex): simplified and finally good LT-h/f support.
10004 (various_functions): just small adaptions for LT-h/f support.
10006 * tabular_funcs.[hC]: added and moved here all not classfunctions
10009 2001-12-19 Juergen Vigna <jug@sad.it>
10011 * tabular.[Ch]: better support for longtabular options (not finished
10014 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10016 * text.C (paintLastRow): use the label font instead of the font of
10017 the last character to compute the size of *_BOX. This makes more
10018 sense and avoids a crash with empty paragraphs.
10019 Use Painter::rectangle to draw EMPTY_BOX.
10021 2001-12-19 Juergen Vigna <jug@sad.it>
10023 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10024 the paragraphs if the replaced paragraph is not the first one!
10025 Tried to delete not used paragraphs but does not work yet so for
10026 now it's inside #ifdef's and by default off!
10028 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10030 * MenuBackend.C: include "lyx_main.h" instead of declaring
10031 lastfiles (actually was declared as LastFiles* instead of a
10034 2001-12-17 Juergen Vigna <jug@sad.it>
10036 * tabular.C (AppendColumn): applied John's fix
10038 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10042 * BufferView_pimpl.h:
10043 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10046 * box.h: new start of class for above
10048 * lyxfunc.C: ignore space-only minibuffer dispatches.
10049 Show the command name when it doesn't exist
10051 * minibuffer.C: don't add empty lines to the history
10053 * minibuffer.C: add a space on dropdown completion
10055 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10057 * text.C: fix line above/below drawing in insets
10059 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10061 * lyxlength.C (LyXLength): Initialize private variables.
10063 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10065 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10066 when inserting error insets.
10068 2001-12-13 Juergen Vigna <jug@sad.it>
10070 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10071 actually sometimes the before-paragraph.
10072 (setUndo): don't clear the redostack if we're not actually undoing!
10074 2001-12-06 Juergen Vigna <jug@sad.it>
10076 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10077 and fixed redoing of main paragraph, so we can use it now ;)
10079 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10081 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10083 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10086 2001-12-13 André Pönitz <poenitz@gmx.net>
10089 * undo_func.C: minor cleanup
10091 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10093 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10094 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10095 font in urw-fonts package which is marked as -urw-fontspecific and
10096 does not work (incidentally, changing the encoding in the
10097 fonts.dir of this package to -adobe-fontspecific fixes the
10100 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10101 is a crash when undoing first paragraph (Juergen, please take a
10102 look). THis does not mean the undo fix is wrong, just that it
10105 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10106 the (Paragraph*) version when needed instead of duplicating the
10109 * text.C (workWidth): use Inset::parOwner to find out where the
10110 inset has been inserted. This is a huge performance gain for large
10111 documents with lots of insets. If Inset::parOwner is not set, fall
10112 back on the brute force method
10114 * paragraph_pimpl.C (insertInset):
10115 * paragraph.C (Paragraph):
10116 (cutIntoMinibuffer): set parOwner of insets when
10117 inserting/removing them
10119 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10121 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10127 * mathed/formulabase.C:
10128 * mathed/math_cursor.[Ch]:
10129 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10132 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10134 * lyxlength.[Ch] (operator!=): new function
10136 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10138 * text.C (workWidth): use Inset::parOwner to find out where the
10139 inset has been inserted. This is a huge performance gain for large
10140 documents with lots of insets. If Inset::parOwner is not set, fall
10141 back on the brute force method
10143 * paragraph_pimpl.C (insertInset):
10144 * paragraph.C (Paragraph):
10145 (cutIntoMinibuffer): set parOwner of insets when
10146 inserting/removing them
10148 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10150 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10152 * tabular-old.C (getTokenValue):
10153 * tabular.C (getTokenValue):
10154 (write_attribute): new versions for LyXLength
10155 (everywhere): adjust the use of widths
10157 * tabular.h: change the type of widths from string to LyXLength
10159 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10161 * paragraph.C: fixed missing line number count when exporting
10162 Environments to LaTeX file
10164 * buffer.C: added informational message for checking line numbers.
10166 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10168 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10169 paragraph, do the 'double space' part, but not the 'empty
10172 * text.C (workWidth): small optimization
10173 (getLengthMarkerHeight): use minimal size for negative lengths.
10175 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10177 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10179 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10181 2001-12-11 André Pönitz <poenitz@gmx.net>
10184 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10186 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10188 * text2.C: keep selection on a setFont()
10190 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10192 * lyx_cb.C: another bv->text misuse, from insert label
10194 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10197 * kbsequence.C: re-instate nmodifier mask
10199 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10201 * lyx_main.h: make lyxGUI private.
10203 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10205 * lyxfind.C: place the cursor correctly on failed search
10207 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10209 * text.C (getLengthMarkerHeight): for small heights, the arrows
10210 are not always on top/bottom of the text
10211 (drawLengthMarker): smaller arrows; take the left margin in
10212 account; draw also vfills.
10214 (paintLastRow): remove special code for vfill and standard spaces,
10215 since everything is handled in drawLengthMarker now.
10217 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10219 * buffer.C (insertErtContents): try to handle font and language
10220 interaction a bit better.g
10222 * ColorHandler.C (updateColor): change the hash to cover the whole
10223 LColor enum, ws cleanup
10224 (getGCLinepars): ditto
10225 (getGCLinepars): only lookup in the linecache once.
10227 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10229 * iterators.C (operator++): Make the iterator more robust
10231 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10233 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10235 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10238 * text.C: better added space drawing
10240 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10243 * BufferView2.C: fix layout combo update on inset unlock
10245 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10247 * Makefile.am: don't compile unused files
10249 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10253 * LyXAction.C: remove old LFUN_LAYOUTNO
10255 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10257 * paragraph_pimpl.h:
10258 * paragraph_pimpl.C: isTextAt() doesn't need font param
10260 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10263 * lyxlex.C: little cleanup
10265 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10267 * BufferView_pimpl.C: fix insertAscii for insets
10269 2001-12-05 Juergen Vigna <jug@sad.it>
10271 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10272 set the right font on the "multi" paragraph paste!
10274 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10280 * lyxlength.C: remove out-commented code.
10282 * BufferView_pimpl:
10296 * vc-backend.C: change "while(" to "while ("
10298 * lyxlength.[Ch]: add zero function to check if length is zero or
10300 * lyxgluelength.C: use it
10302 2001-12-05 Allan Rae <rae@lyx.org>
10304 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10305 Works for 2.95.3, from what I understand of Garst's reports this should
10306 work for other g++ versions. We're screwed if the abs(int) definition
10307 changed between bugfix releases of gcc.
10309 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10311 * text.C: fix chapter label offset !
10313 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10316 * text.C: fix hfill at end of line, clean up
10318 2001-12-04 Juergen Vigna <jug@sad.it>
10320 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10321 that we force an update of the inset and it's owners if neccessary.
10323 2001-12-03 Juergen Vigna <jug@sad.it>
10325 * text.C (rowLast): simplified code
10327 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10329 * lyxfunc.C: fix show options on timeout
10331 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10333 * screen.C (topCursorVisible): scroll half a page when the cursor
10334 reached top of bottom of screen
10336 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10338 * minibuffer.C: deactivate on loss of focus
10340 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10342 * vspace.[Ch] (operator!=): add operator.
10344 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10346 * BufferView_pimpl.C: refuse to open an inset when
10347 there's a selection.
10349 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10351 * BufferView_pimpl.C: allow to click on RHS of full row insets
10353 2001-11-30 Juergen Vigna <jug@sad.it>
10355 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10356 insets for undo reasons.
10358 2001-11-28 André Pönitz <poenitz@gmx.net>
10360 * vspace.[Ch]: cosmetical changes
10362 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10372 * kbsequence.C: part re-write of old kb code
10375 * WorkArea.C: remove Lgb_bug_find_hack
10377 2001-11-30 José Matos <jamatos@fep.up.pt>
10379 * buffer.C (makeDocBookFile): add a comment to point a hack.
10380 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10381 Fixed a double write of labels.
10383 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10386 * LaTeX.h Fixed bug in LaTeX class where it would not
10387 re-run latex if no depfiles were changed, but the .dvi was removed.
10389 2001-11-28 André Pönitz <poenitz@gmx.net>
10391 * all the files from the change on 2001/11/26:
10392 use lyx::layout_type instead of LyXTextClass::size_type
10393 use lyx::textclass_type instead of LyXTextClassList::size_type
10395 2001-11-29 Juergen Vigna <jug@sad.it>
10397 * text.C: added support for paragraph::isFreeSpacing()
10399 * buffer.C: same as above
10401 * paragraph.h: inserted isFreeSpacing() function to enable
10402 FreeSpacing inside InsetERT.
10404 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10405 of the paragraph's in the cut/copy buffer to 0!
10407 * text2.C (removeRow): remove the assert as it can!
10409 * lyxtext.h: added helper function firstRow returning firstrow and
10410 made firstrow private again.
10412 * BufferView2.C (lockInset): don't relock if we're already locked!
10414 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10415 the only paragraph.
10416 (removeRow): added Assert::(firstrow)
10418 * debug.C: forgot to add INSETTEXT here.
10420 2001-11-28 Juergen Vigna <jug@sad.it>
10422 * sp_spell.C (initialize): changed error text to more general
10423 spellchecker command use (not only ispell!)
10425 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10427 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10429 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10431 * vspace.C: initialise lyxgluelength on failure
10433 2001-11-28 Allan Rae <rae@lyx.org>
10435 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10436 declaration & definition that looks like a function declaration.
10438 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10440 * BufferView2.C (copy):
10441 (copyEnvironment): do not clear the selection when doing a copy.
10443 * text.C (paintFirstRow): compilation fix
10445 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10447 * tabular.C (Latex): correct line count when writing latex.
10449 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10451 * paragraph_pimpl.h:
10452 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10455 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10459 * LColor.C: change vfillline->added_space
10461 * text.C: add markers and text for added space
10463 * vspace.C: fix comment
10465 2001-11-28 André Pönitz <poenitz@gmx.net>
10467 * paragraph.C: whitespace changes
10468 * all the other files from the change on 2001/11/26:
10469 change *::pos_type into lyx::pos_type
10471 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10473 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10474 language of the document when inserting error insets.
10476 2001-11-26 André Pönitz <poenitz@gmx.net>
10478 * BufferView_pimpl.[Ch]:
10486 * paragraph_pimpl.[Ch]:
10489 * text2.C: reduce header dependencies, introduce type for positions
10491 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10493 * <various>: change to use Alert.h
10495 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10497 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10498 when encountering an unknown token.
10499 (readLyXformat2): Show an error message if there were unknown tokens.
10501 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10504 * BufferView_pimpl.C:
10508 * text2.C: use par->isInset()
10510 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10512 * paragraph_pimpl.h:
10513 * paragraph_pimpl.C: cleanup
10515 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10517 * text2.C (removeRow):
10518 * text.C (setHeightOfRow): remove useless (and costly) call to
10521 2001-11-20 Allan Rae <rae@lyx.org>
10523 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10524 Now need Inset*::checkInsertChar() to return true for appropriate
10525 cases so that the characters in the minibuffer will actually be
10528 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10530 * text.C: change the order of the includes.
10531 (workWidth): initialize it at once.
10532 (workWidth): make maxw unsigned
10533 (setHeightOfRow): remove unused variable (inset)
10534 (selectSelectedWord): remove unused variable (inset)
10535 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10537 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10539 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10540 server is not running.
10542 (closeConnection): add debug info when server is disabled.
10544 * ColorHandler.C (getGCForeground): send debug message to GUI
10547 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10549 * kbmap.C (bind): modify because return conventions of
10550 kb_sequence::parse have changed.
10552 * kbsequence.C (parse): only ignore spaces and not any stupid
10553 control character. This avoids tests like s[i] <= ' ', which are
10554 guaranteed to fail with 8bit characters and signed chars.
10555 Change return code to string::npos when there have been no error
10556 (0 was a bad idea when error is at first character)
10558 2001-11-14 José Matos <jamatos@fep.up.pt>
10561 * buffer.C (simpleDocBookOnePar): removed unused argument.
10563 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10565 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10566 insets which are part of a word. Paragraph::isLetter takes care of
10567 that now. Use Paragraph::isInset to identify insets.
10568 (selectSelectedWord): do not test for hyphenation break.
10570 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10571 that protected spaces are considered as spaces.
10573 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10576 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10579 * lyxserver.C: fix it. and small cleanup.
10581 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10583 * BufferView_pimpl.C: use inline helpers
10586 * LaTeXFeatures.C: fix typos
10589 * Spacing.C: move spacing_string into class
10591 * ToolbarDefaults.C: move stuff into namespace anon
10593 * layout.h: update enum
10595 * lyxfunc.C: use better debug
10597 * minibuffer.h: fix typo
10601 * WorkArea.C: add and use Debug::WORKAREA
10605 * text2.C: code re-organisation, inline helpers
10607 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10609 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10610 std::vector.empty().
10612 2001-11-09 Allan Rae <rae@lyx.org>
10614 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10615 '\n's after tables. Tabular and ERT inset work now makes this no
10618 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10621 * minibuffer.C: fix crash, improve drop-down completion
10623 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10626 * lyxserver.C: invalidate fd's when doing endPipe()
10628 2001-11-08 José Matos <jamatos@fep.up.pt>
10630 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10631 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10634 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10636 2001-11-07 José Matos <jamatos@fep.up.pt>
10639 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10642 * buffer.C (sgmlOpenTag):
10643 * buffer.C (sgmlCloseTag): removed debug info.
10645 * buffer.h (sgmlOpenTag):
10646 * buffer.h (sgmlCloseTag): made public.
10648 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10650 * buffer.C (saveParamsAsDefaults):
10651 * lyx_cb.C (MenuLayoutSave): remove
10653 * LyXAction.C (init):
10655 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10657 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10659 * buffer.C (setPaperStuff): removed from here...
10661 * bufferparams.C (setPaperStuff): ... and moved there.
10663 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10667 * XFormsView.C: add support for drop-down completion
10669 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10671 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10674 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10676 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10679 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10681 * lyx_main.C: change ref to known bugs
10683 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10685 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10686 to work around older babel problems.
10688 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10690 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10692 2001-10-24 Juergen Vigna <jug@sad.it>
10694 * tabular-old.C (ReadOld): below variable changes reflected.
10696 * tabular.[Ch]: added ltType struct for longtable header/footer
10697 defines and changed all instances where they are used. Added
10698 future support for double top/bottom rows.
10700 2001-10-24 José Matos <jamatos@fep.up.pt>
10702 * buffer.h (docbookHandleCaption):
10703 * buffer.C (docbookHandleCaption): removed unused function.
10704 (makeDocBookFile): moved docbook supported version to v4.1.
10706 2001-10-24 José Matos <jamatos@fep.up.pt>
10709 * tabular.C (docbookRow): new function to export docbook code of a row.
10710 (DocBook): now honors the longtable flags.
10712 2001-10-23 José Matos <jamatos@fep.up.pt>
10715 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10716 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10718 * buffer.C (makeLinuxDocFile):
10719 (makeDocBookFile): reworked the preamble, more clean, and with
10720 support for lyx defined entities. Changed the document declaration
10721 to be more XML friendly.
10723 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10724 if we need to output XML that should be done with a filter.
10726 2001-10-22 Juergen Vigna <jug@sad.it>
10728 * sp_pspell.h (class PSpell): add alive function needed in the
10729 controller to see if the spellchecker could be started.
10731 2001-10-22 Juergen Vigna <jug@sad.it>
10733 * buffer.C (insertStringAsLines): modify the font for inserting
10734 chars in certain conditions by calling checkInsertChar(font).
10736 2001-10-19 Juergen Vigna <jug@sad.it>
10738 * text.C (workWidth): use getRow instead of wrong algorithm.
10739 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10741 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10746 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10748 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10750 * text.C (workWidth): do not search for the exact row when
10751 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10752 optimization for big documents.
10754 2001-10-18 Juergen Vigna <jug@sad.it>
10756 * text.C (workWidth): new function with added Inset * parameter.
10758 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10760 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10762 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10763 change return type of getColumnNearX.
10766 * text.C (changeRegionCase): use uppercase/lowercase instead of
10769 (rightMargin): simplify code by factoring out the uses of
10774 (appendParagraph): use Paragraph::size_type
10776 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10778 * vspace.C (asLatexString): add a missing break
10780 2001-10-15 Herbert Voss <voss@perce.de>
10782 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10784 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10786 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10789 2001-10-10 André Pönitz <poenitz@gmx.net>
10791 * lyxfunc.C: removed greek_kb_flag.
10793 2001-10-10 Herbert Voss <voss@perce.de>
10795 * lyx_main.C: delete global string help_lyxdir.
10797 2001-10-09 Herbert Voss <voss@perce.de>
10799 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10801 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10803 * lyx_main.C: added global string help_lyxdir.
10805 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10807 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10809 * lyxrc.C (set_font_norm_type): support iso8859-4
10811 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10813 * LaTeX.C (deplog): add another regex for MikTeX
10815 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10817 * lyxrc.C (set_font_norm_type): support iso8859-3
10819 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10821 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10823 * LaTeXFeatures.C: remove special case of french and index
10825 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10826 before \begin{document}). This solves several incompatibilities.
10828 2001-10-03 Garst Reese <reese@isn.net>
10830 * lyx_cb.C: change CheckTex error msg.
10832 2001-10-03 José Matos <jamatos@fep.up.pt>
10834 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10836 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10838 * .cvsignore: update
10840 * lyx_main.C (commandLineVersionInfo): use new style version info.
10842 * buffer.C (writeFile):
10844 (makeLinuxDocFile):
10845 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10847 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10849 * version.h: update to use stuff in version.C
10851 * version.C.in: new file. Contains version information determined
10852 at compile time. This is a merging of version.h and
10855 2001-10-03 Juergen Vigna <jug@sad.it>
10857 * BufferView_pimpl.C (update): don't change "dirty" status in
10860 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10862 * WorkArea.C (c-tor): re-position version string slightly.
10864 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10866 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10867 revert to previous code.
10869 WorkArea.[Ch]: (show, destroySplash): methods removed.
10871 WorkArea.C: rework code so that it's an amalgam of the codes before and
10872 after the splash screen was moved to WorkArea.
10874 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10877 * vspace.C (inPixels):
10880 * buffer.C (insertStringAsLines):
10881 (asciiParagraph): fix types to be large enough
10883 * lyxlex_pimpl.h: change member status from short to int
10885 * layout.h: fix type of endlabeltype
10888 * kbsequence.C (parse): change return type to string::size_type
10890 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10893 * Bullet.C (bulletSize):
10894 (bulletEntry): do not use short ints as parameters
10896 * BufferView2.C (insertLyXFile): change a char to an int.
10898 * WorkArea.C (WorkArea): remove unneeded floats in computation
10900 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10902 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10904 * paragraph.C (asString): Do not ignore newline/hfill chars when
10905 copying to the clipboard.
10907 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10909 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10910 after a multi-line inset.
10912 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10914 * paragraph.C (validate): Set NeedLyXFootnoteCode
10916 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10918 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10919 and decrease-error to decrease.
10921 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10923 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10924 it more readable (should be equivalent)
10926 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10928 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10930 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10932 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10933 of a cursor (row, etc.) after a character has been deleted
10934 (deleteEmptyParagraphMechanism): call the method above on _all_
10935 cursors held by the LyXText when a double space has been
10938 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10940 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10942 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10944 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10945 background. Use greyOut() and the new show() methods to toggle between
10946 the foreground and background. Add code to remove the splash after
10947 its initial showing.
10949 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10950 (create_forms): no longer call Dialogs::showSplash.
10952 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10954 * .cvsignore: add version_info.h
10956 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10958 * version_info.h.in: new file
10960 * Makefile.am: add version_info.h.in
10962 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10963 version_info.h instead of VERSION_INFO
10965 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10967 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10968 The ERT inset now returns string().
10970 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10972 * lyxtext.h, text.C (selectNextWord): renamed as
10973 selectNextWordToSpellcheck.
10975 * text.C (selectNextWordToSpellcheck): Modified to not select
10976 words inside an ERT inset.
10978 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10980 * lyx_cb.C (MenuLayoutSave): change a bit the question
10982 * sp_base.h: include <sys/types.h>
10984 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10986 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10988 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10990 * several files: fix typos in user-visible strings
10992 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10994 * text2.C (pasteSelection): do not set the selection, since it
10995 will be cleared later. Actually, the intent was to fix the way the
10996 selection was set, but I figured rmoving the code was just as good.
10998 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11000 * FontLoader.C (available): Check if font is available without
11003 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11005 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11007 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11009 * lyxrc.[Ch]: added display_graphics variable and associated code.
11011 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11013 * bufferparams.C (hasClassDefaults): new method. Returns true if
11014 the buffer parameters correspond to known class defaults
11016 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11018 * XFormsView.C (show): set minimum size to the main window.
11020 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11022 * text2.C (copySelection):
11024 * lyxfind.C (LyXReplace):
11025 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11026 LyXText::selectionAsString.
11028 * paragraph.C (asString): add "label" argument to the second form
11030 * text2.C (selectionAsString): add "label" argument and pass it to
11031 Paragraph::asString.
11033 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11035 * lyx_main.C (commandLineHelp): remove version information
11037 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11039 * lyx_main.C: add -version commandline option
11041 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11043 * paragraph.h: make the optional constructor arg required instead.
11044 some modifications to other files because of this.
11046 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11048 * lyxserver.C (C_LyXComm_callback): make it static
11050 * lyx_main.C (error_handler): make it static
11052 * lyx_gui.C (LyX_XErrHandler): make it static
11054 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11056 * WorkArea.C: make the extern "C" methods static.
11058 * Makefile.am (lyx_LDADD): simplify
11060 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11062 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11063 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11065 * LyXAction.C (init):
11066 * lyxfunc.C (dispatch): associated code removal.
11068 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11070 * lyxfont.h (isSymbolFont): shut off warning
11072 * text.C (setHeightOfRow):
11073 (getVisibleRow): fix crash with empty paragraphs which have a
11076 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11078 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11081 2001-09-04 José Matos <jamatos@fep.up.pt>
11084 * tabular.C (docbook): rename docBook method to docbook.
11086 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11088 * Makefile.am: add dependencies to main.o.
11090 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11092 * FontLoader.C (available): Return false if !lyxrc.use_gui
11094 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11096 * FontInfo.C (query):
11097 * converter.C (view):
11098 * importer.C (Import):
11099 * exporter.C (Export): Can not -> cannot.
11101 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11103 * BufferView_pimpl.C: allow to create index inset even if
11106 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11108 * buffer.C (getLists): replace boost::tie code with an explicit pair
11109 as boost::tie can break some compilers.
11111 * iterators.h: Added a std:: declaration to the return type of
11114 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11116 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11119 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11121 * iterators.[Ch]: New files. Provide paragraph iterators.
11123 * buffer.C (changeLanguage): Use paragraph iterators.
11124 (isMultiLingual): ditto
11126 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11128 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11130 * FontLoader.C: Support for cmr font.
11132 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11134 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11135 (available): New method.
11137 * FontInfo.C (getFontname): Use scalable fonts even when
11138 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11141 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11143 * converter.C (Formats::view): reverted! Incorrect fix.
11145 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11147 * converter.C (Formats::view): only output the -paper option
11148 if the dvi viewer is xdvi, thereby fixing bug #233429.
11150 2001-08-23 Herbert Voss <voss@perce>
11152 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11154 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11156 * Spacing.h (Spacing): Set space to Default on in the default
11159 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11161 * vc-backend.h (RCS::versionString): add RCS to version
11162 (CVS::versionString): add CVS to version
11164 * vc-backend.C (scanMaster): do not add CVS to version.
11165 (scanMaster): do not add RCS to version
11167 * lyxvc.C (versionString): new method
11169 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11171 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11173 * Spacing.C (set): initialize fval
11175 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11177 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11180 2001-08-16 Juergen Vigna <jug@sad.it>
11182 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11184 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11186 * BufferView_pimpl.C:
11189 * text2.C: setParagraph takes linespacing now
11191 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11193 * LyxAction.C: add internal LFUN_CITATION_INSERT
11195 * LyXView.C: actually apply fix
11197 * bufferlist.C: fix open non-existent file
11199 * lyxfind.C: fix indentation
11201 * lyxfunc.C: remove unneeded assert, fix typo
11203 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11205 * MenuBackend.C: use "Floatname List"
11207 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11209 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11210 when converting LaTeX layout to insetERT.
11211 Generate a non-collapsed float when reading old float
11213 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11215 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11218 2001-08-13 Juergen Vigna <jug@sad.it>
11220 * text.C (fill): return 0 instead of 20 as this seems to be the more
11223 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11225 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11228 2001-08-13 Juergen Vigna <jug@sad.it>
11230 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11232 (SearchBackward): comment out the unlocking of the inset_owner this
11233 should not be needed!
11235 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11237 * Many files: Remove inherit_language, and add latex_language
11239 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11240 collapsible insets.
11242 2001-08-10 Juergen Vigna <jug@sad.it>
11244 * text.C (prepareToPrint): fixed hfill-width in draw!
11246 * BufferView2.C (selectLastWord): save the selection cursor as this
11247 now is cleared in the function LyXText::clearSelection!
11249 2001-08-08 Juergen Vigna <jug@sad.it>
11251 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11252 BACKSPACE type functions.
11254 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11255 is only cutted from the document but not put in the cut-buffer, where
11256 still the old stuff should be.
11258 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11260 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11262 * tabular.C (SetWidthOfCell): fixed special case where the width
11264 (LeftLine): handle '|' in align_special.
11266 (LeftAlreadyDrawed): ditto
11267 (SetWidthOfCell): ditto
11269 2001-08-07 Juergen Vigna <jug@sad.it>
11271 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11273 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11275 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11276 * lyxlex.[hC]: ditto
11278 2001-08-06 Juergen Vigna <jug@sad.it>
11280 * text.C (getVisibleRow): fix up row clearing a bit.
11282 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11284 * minibuffer.C: make sure the X server sees the changes in the input.
11286 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11288 * paragraph.C (getFont): split into...
11289 (getLabelFont): this
11290 (getLayoutFont): and this
11291 * paragraph_pimpl.C (realizeFont): calling this
11293 * text2.C (getFont): split into...
11294 (getLayoutFont): this
11295 (getLabelFont): and this
11296 (realizeFont): all three calling this
11298 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11301 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11303 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11305 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11307 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11308 layouts from the Quote inset insertion.
11310 2001-08-03 Juergen Vigna <jug@sad.it>
11312 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11314 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11315 only if status not is already CHANGED_IN_DRAW (second level).
11317 * text.C (draw): don't set the need_break_row when inside an
11320 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11322 * buffer.C (parseSingleLyXformat2Token): handle more latex
11325 * bufferview_funcs.[hC]: change function names to
11326 begin with small char, adjust other files.
11328 2001-08-02 André Pönitz <poenitz@gmx.net>
11331 BufferView_pimpl.C: remove broken special code for math-greek
11333 2001-08-02 Juergen Vigna <jug@sad.it>
11335 * BufferView_pimpl.C (update): redone this function so that we
11336 update the text again if there was a CHANGE_IN_DRAW.
11338 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11339 (drawFromTo): added a new internal bool which is used by draw() and
11341 (general): some cursor drawing problems fixed.
11343 2001-08-01 Juergen Vigna <jug@sad.it>
11345 * lyxfind.C (LyXFind): fixed
11346 (SearchForward): ditto
11347 (SearchBackward): ditto
11349 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11350 spurius drawing of the cursor in the main area.
11352 * text2.C (status): small fix which could lead to a segfault!
11353 (clearSelection): remove unneeded BufferView param.
11355 2001-08-01 André Pönitz <poenitz@gmx.net>
11357 * lyxfunc.C: small change due to changed mathed interface
11359 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11361 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11363 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11365 * lyxfunc.c: fail gracefully if file doesn't exist
11370 * BufferView_pimpl.C: IsDirWriteable() proto changed
11372 * LyXView.C: fix updateWindowTitle() to store the last title
11374 2001-07-31 Juergen Vigna <jug@sad.it>
11376 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11377 the font (wrong since using of Paragraph::highestFontInRange).
11379 * paragraph.C (highestFontInRange): added a default_size parameter.
11381 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11382 (setHeightOfRow): reformat
11384 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11386 * converter.[hC] + affected files: move to (inital-char)lowercase
11389 * ParagraphParameters.C (ParagraphParameters): remove commented code
11391 * PainterBase.[Ch]: remove commented code
11393 * LaTeXFeatures.h: add "bool floats" for float.sty
11395 * LaTeXFeatures.C (LaTeXFeatures): init floats
11396 (require): handle float
11397 (getPackages): do it with floats
11399 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11401 * BufferView_pimpl.C (Dispatch): improve handling of
11402 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11404 * commandtags.h: #include lyxfont.h here temporarily to avoid
11407 * bufferlist.h: include LString.h here.
11409 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11411 * text2.C (getStringToIndex): new method.
11413 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11415 * *: Reduced header file dependencies all over.
11417 2001-07-30 Baruch Even <baruch@lyx.org>
11419 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11421 2001-07-29 Baruch Even <baruch@lyx.org>
11423 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11425 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11427 * ParameterStruct.h (endif): add a default constructor to make
11428 sure that all variables is initialized.
11430 * ParagraphParameters.C (ParagraphParameters): adjust
11432 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11434 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11435 index; also, check that there is something to index, and that it
11436 does not span over several paragraphs.
11437 (doubleClick): use WHOLE_WORD_STRICT for double click.
11439 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11441 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11444 2001-07-26 Baruch Even <baruch@lyx.org>
11446 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11447 an InsetFig figure, backwards compatible reading of old figure code.
11449 2001-07-27 Juergen Vigna <jug@sad.it>
11451 * text2.C: font.realize function adaption.
11453 * text.C (draw): add a warnings lyxerr text if needed.
11455 * layout.C: font.realize function adaption.
11457 * language.C: add inherit_language and implement it's handlings
11459 * bufferview_funcs.C (StyleReset): remove language parameter from
11460 font creation (should be language_inherit now).
11462 * bufferparams.C (writeFile): handle ignore_language.
11464 * paragraph.C (getFontSettings): the language has to be resolved
11465 otherwise we have problems in LyXFont!
11467 * lyxfont.C (lyxWriteChanges): added document_language parameter
11468 (update): removed unneeded language parameter
11470 * paragraph.C (validate): fixed wrong output of color-package when
11471 using interface colors for certain fonts in certain environments,
11472 which should not seen as that on the final output.
11474 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11476 * BufferView_pimpl.C:
11481 * LyXAction.C: add thesaurus support
11484 * lyxfind.C: add "once" parameter, for thesaurus, to not
11485 move to the next match
11487 2001-07-26 Juergen Vigna <jug@sad.it>
11489 * lyxfont.C (realize): honor ignore_language too!
11492 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11494 * text.C (draw): one place more for ignore_language to not draw
11497 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11499 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11501 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11503 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11504 the minipage conversion problem.
11506 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11508 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11511 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11513 * BufferView.h: don't forward declare WorkArea
11515 * BufferView.C: don't include WorkArea.h
11517 2001-07-25 André Pönitz <poenitz@gmx.net>
11521 * lyxfunc.C: new LFUN 'math-space'
11523 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11525 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11527 * text2.C (toggleInset): call open/close
11529 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11531 * lyxfunc.C (dispatch): add debug for the disabled case
11533 * font.C (buttonText): make similar to rectText
11535 * buffer.C (readInset): comment out parsing of insetlist and
11538 * PainterBase.C (rectText): small correction
11540 * BufferView_pimpl.C: comment out insettheorem and insetlist
11541 * LyXAction.C: ditto
11542 * commandtags.h: ditto
11544 2001-07-24 Juergen Vigna <jug@sad.it>
11546 * text.C (draw): honor the ignore_language.
11548 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11550 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11552 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11555 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11557 * lyxtext.h: remove unused (and unimplemented) methods
11559 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11561 * text.C (getVisibleRow): honor background color
11564 * Painter.h: remove default color argument for fillRectangle
11566 * text.C (backgroundColor): new method
11568 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11570 * text.C (getVisibleRow): adjust
11572 * font.[Ch] (rectText): new method, metrics
11573 (buttonText): new method, metrics
11575 * PainterBase.[hC]: make rectText and buttonText always draw and take
11578 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11580 * ToolbarDefaults.C (read):
11581 * MenuBackend.C (read): allow escaping in all strings
11583 * BufferView_pimpl.C (insertAndEditInset): new method.
11584 (Dispatch): use insertAndEditInset whenever appropriate.
11586 * BufferView_pimpl.C (insertNote): removed
11588 * BufferView_pimpl.C (smartQuote): new method, moved from
11589 BufferView; if an insetquote cannot be inserted, insert a '"'
11592 * BufferView2.C: remove insertCorrectQuote();
11594 * lyxfunc.C (getStatus): Add support for all remaingin
11595 inset-insert lfuns.
11597 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11599 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11600 command (necessary to pass " as parameter of self-insert.
11602 * text.C (selectWordWhenUnderCursor):
11603 (selectWord): add word_location parameter
11604 (selectWordWhenUnderCursor): same + remove special code for word
11606 (selectNextWord): use kind() to guess type of insetspecialchar,
11609 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11610 (insertErtContents): create ert insets as collapsed.
11611 (readInset): better compatibility code for Info inset.
11613 2001-07-20 Juergen Vigna <jug@sad.it>
11615 * lyxfunc.C (dispatch): use always LyXFind now!
11617 * text2.C (init): add a reinit flag so that the LyXText can be
11618 reinited instead of deleted and reallocated (used in InsetText).
11620 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11626 2001-07-18 Juergen Vigna <jug@sad.it>
11628 * text.C (selectNextWord): handle insets inside inset by calling
11629 always the bv->text functions so that we can go up the_locking_inset!
11631 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11632 in strange locations when inside an inset!
11634 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11635 handling to include insets.
11637 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11639 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11641 * LyXAction.C (init):
11643 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11644 LIGATURE_BREAK, since the name is so stupid.
11646 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11648 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11651 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11653 * sp_form.[Ch]: remove.
11655 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11657 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11660 * src/buffer.C (readInset): ditto.
11662 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11664 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11665 menuSeparator(), endOfSentenceDot(), ldots() and
11666 hyphenationPoint(), which are therefore removed.
11667 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11669 * LyXAction.C (init):
11670 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11672 * paragraph.C (getWord): removed.
11674 * BufferView_pimpl.C (Dispatch): use last word or selection for
11675 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11677 * lyx_main.C (queryUserLyXDir): do not ask before creating
11678 user_dir, except if it has been named explicitely.
11680 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11682 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11683 a document of zero size.
11685 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11687 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11688 approriately in the c-tor and in require().
11689 (getPackages): output the appropriate LaTeX for natbib support.
11691 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11692 variables "use_natbib" and "use_numerical_citations" when reading the
11694 (readInset): read the various natbib cite commands.
11695 (validate): white-space change.
11697 * bufferparams.[Ch]: new variables "bool use_natbib" and
11698 "bool use_numerical_citations".
11699 (writeFile): output them in the LyX file.
11701 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11703 * lyxfunc.C (getStatus): add support for all the inset insertion
11706 * text2.C (insertInset):
11707 * paragraph.C (insetAllowed):
11708 * BufferView_pimpl.C (insertInset): update to take in account the
11709 renaming of insertInsetAllowed
11711 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11713 * text2.C (getInset): new method. returns inset at cursor position.
11715 * BufferView_pimpl.C (Dispatch): changes because of this.
11717 * LyXAction.C (init): rename open-stuff to inset-toggle.
11719 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11721 * text2.C (toggleInset): renamed from openStuff; use
11724 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11726 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11728 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11730 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11732 * buffer.C (readLyXformat2): Add filename to the error dialog
11734 2001-07-18 Juergen Vigna <jug@sad.it>
11736 * tabular.C (GetCellNumber): put an assert here instead of the check!
11738 2001-07-17 Juergen Vigna <jug@sad.it>
11740 * BufferView_pimpl.C (toggleSelection): adapted too.
11742 * text.C (selectNextWord): adapted for use with insets.
11743 (selectSelectedWord): ditto
11745 2001-07-17 Juergen Vigna <jug@sad.it>
11747 * sp_spell.C (PSpell): fix initialitation order.
11749 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11751 * paragraph.C: spacing
11753 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11755 * sp_spell.C: repair language selection for pspell
11757 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11759 * lyxfunc.h: change more methods to begin with lower char.
11761 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11763 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11764 for unknown layouts.
11766 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11768 * buffer.C (readLyXformat2): Generate an error dialog if there are
11771 2001-07-16 Juergen Vigna <jug@sad.it>
11773 * sp_spell.C: always compile ISpell part.
11775 * lyxrc.C: added use_pspell entry and it's handling.
11777 2001-07-13 Juergen Vigna <jug@sad.it>
11779 * sp_spell.C: removed double includes.
11781 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11783 Consistent use of Lsstream.h:
11784 * Lsstream.h: added using std::stringstream for consistencies sake.
11786 * buffer.C: removed using std::stringstream
11788 * lyxfont.C (stateText):
11789 * paragraph.C (asString):
11790 * text.C (selectNextWord, selectSelectedWord):
11791 * text2.C (setCounter):
11792 * vspace.C (asString, asLatexString):
11793 std::ostringstream -> ostringstream.
11795 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11797 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11798 * commandtags.h: add LFUN_HELP_ABOUTLYX
11799 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11801 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11803 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11805 * lyx_gui_misc.C: remove spellchecker
11806 * lyxfunc.C: showSpellchecker
11808 * sp_ispell.h: added
11809 * sp_pspell.h: added
11810 * sp_spell.C: added
11811 * sp_form.[Ch]: removed
11812 * spellchecker.[Ch]: removed
11814 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11816 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11818 (simpleTeXSpecialChars): Simply print the input character without
11819 any special translation if pass_thru is set.
11821 * layout.h: Added bool pass_thru to layout class for being able to
11822 implement pass through of a paragraph for Literate Programming.
11824 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11825 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11826 * layout.C (Read): add "passthru" to list of layout tags and add
11827 code to set the pass_thru boolean when it is read.
11829 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11831 * trans_decl.h: remove allowed from KmodInfo
11833 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11834 remove allowed code
11837 * paragraph_pimpl.C (erase): use boost::prior
11839 * Painter.C (text): use data() instead of c_str() when length is
11841 * WorkArea.C (putClipboard): ditto
11842 * font.h (width): ditto
11844 * BufferView2.C: use it-> instead of (*it). for iterators
11846 * paragraph_pimpl.C: ditto
11847 * paragraph.C: ditto
11848 * minibuffer.C: ditto
11849 * language.C: ditto
11851 * encoding.C: ditto
11852 * counters.C: ditto
11853 * converter.C: ditto
11855 * Variables.C: ditto
11856 * TextCache.C: ditto
11857 * MenuBackend.C: ditto
11858 * LyXAction.C: ditto
11860 * FloatList.C: ditto
11861 * DepTable.C: ditto
11862 * ColorHandler.C (LyXColorHandler): ditto
11864 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11866 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11868 * text2.C (openStuff): reintroduce this method (which had been
11869 nuked in NEW_INSETS frenzy).
11871 * lyxfunc.C (Dispatch): when an action has not been handled, use
11872 its name in the error message, not its number.
11874 * paragraph.C (inInset): change method name to begin with lowercase.
11877 * text2.C: updates because of this.
11879 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11881 * ToolbarDefaults.C (add): add spaces in error message
11883 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11885 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11886 (readLyXformat2): rename return_par to first_par, use lyxlex's
11887 pushToken and remove the manual push handling.
11888 (parseSingleLyXformat2Token): add another ert comp. variable:
11889 in_tabular, rename return_par to first_par. handle newlines better
11891 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11893 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11895 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11897 * text2.C (getParFromID): removed
11899 * buffer.C (getParFromID): new method moved form lyxtext.
11900 * BufferView2.C (insertErrors): adjust
11901 (setCursorFromRow): adjust
11902 * BufferView_pimpl.C (restorePosition): adjust
11903 * lyxfunc.C (Dispatch): adjust
11904 * undo_funcs.C (textUndo): adjust
11906 (textHandleUndo): adjust
11907 (textHandleUndo): adjust
11909 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11911 * buffer.C: up' the LYX_FORMAT
11913 * lyxfont.h: turn NO_LATEX on as default
11915 * buffer.C (insertErtContents): new methods of tex style compability.
11916 (parseSingleLyXformat2Token): use it several places.
11917 * tabular.C (OldFormatRead): and here
11919 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11921 * text2.C: remove some commented code.
11924 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11925 * trans.C: changes because of the above.
11927 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11929 * text2.C (setCounter): Fix counters bug with bibliography layout.
11931 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11933 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11934 own member functions
11935 (simpleTeXSpecialChars): ditto
11937 2001-07-06 Juergen Vigna <jug@sad.it>
11939 * a lot of files: changed the access to LyXText::status and the
11940 call of undo-functions.
11942 * undo.[Ch]: added a inset_id to the undo informations.
11944 * undo_funcs.[Ch]: added and moved here all undo functions.
11946 * lyxtext.h: give the status enum a weight, made status_ a private
11947 variable and made accessor functions for it, removed the whole bunch
11948 of undo-functions as they are now in their own file, make some
11949 functions publically available. Added function ownerParagraph with
11952 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11953 made InInset() a const function, added getParFromID() function.
11955 * buffer.[Ch]: added const version for inset_iterator functions,
11956 added getInsetFromID() function.
11958 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11959 changed undo functions for new version.
11961 2001-07-05 Juergen Vigna <jug@sad.it>
11963 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11964 unknow mechanism does not call the proper constructor but only this
11965 one also if I request the other!?
11967 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11969 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11971 * text2.C (LyXText): use initialization lists.
11973 * lyxtext.h (Selection): initialize set_ and mark_
11974 (init): remove method
11976 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11978 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11980 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11982 * screen.[Ch]: change method names to begin with lowercase
11984 * BufferView_pimpl.C (updateScrollbar): simplify further and
11985 hopefully make it a bit faster.
11987 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11989 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11990 calling directly xforms functions.
11992 * Painter.C (Painter):
11993 * lyx_cb.C (MenuWrite):
11994 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11997 * lyx_gui.C: remove bogus guiruntime extern declaration.
11999 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12001 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12003 (redoDrawingOfParagraph): ditto
12004 (redoParagraphs): ditto
12005 (cutSelection): don't create a object for CutAndPaste use the
12006 static method directly
12007 (pasteSelection): ditto
12009 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12012 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12014 * modifications to some other files because of this.
12016 * Makefile.am (lyx_SOURCES): add XFormsView
12018 * XFormsView.[Ch]: new files
12020 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12021 the main window. Move the gui dependent stuff to XFormsView
12023 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12025 * tabular.C (GetCellInset): update cur_cell also in the row/col
12026 version of this function.
12028 * lyxfunc.C: no need to include figure_form.h here.
12034 * lyxvc.C: no need to include forms.h here.
12036 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12038 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12040 * lyxfunc.C (Dispatch):
12042 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12043 constructor argument.
12045 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12047 * paragraph.C (Paragraph): dont't clear, and just set layout.
12048 (makeSameLayout): use params's copy contructor.
12050 * ParagraphParameters.[Ch] (makeSame): delete method
12052 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12054 * Variables.[Ch]: fix indentation, rename set to isSet
12056 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12058 * lyxfunc.C (Dispatch): fix typo
12060 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12062 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12065 * bufferlist.C: include assert.h for emergencyWrite().
12067 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12069 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12070 give up at last (bug #425202) !
12072 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12078 * spellchecker.C: strip spellchecker options and bring up
12079 preferences tab instead
12081 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12083 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12084 the istringstream constructor
12086 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12088 * paragraph.C (getLayout): fix return value
12090 * paragraph.h: do not declare getLayout as inline.
12092 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12094 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12096 * lyxcursor.h (operator<): new func
12097 (operator>): new func
12098 (operator>=): new func
12099 (operator<=): new func
12101 * text.C (changeCase): use selection.start and selection.end
12102 (changeRegionCase): require from to be <= to. Require par to be a
12105 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12107 2001-06-27 Juergen Vigna <jug@sad.it>
12109 * text.C (cursorLeftOneWord): changed to return the cursor and added
12110 overlay with BufferView * parameter which calls this one.
12112 (selectWord): use new getWord function.
12113 (changeCase): renamed from changeWordCase as and extended to work
12114 also on selections.
12116 * lyxtext.h: added enum word_location
12118 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12119 changeCase as this operates now also on selections.
12121 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12123 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12125 * many files: send debug output to Debug::INFO instead of
12128 * converter.C (View):
12130 (Move): send debug output to Debug::FILES instead of console.
12132 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12134 * lyxfunc.C (getStatus): use func_status
12136 * func_status.h: new header, describing the results of
12137 LyXFunc::getStatus;
12139 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12142 2001-06-25 The LyX Project <jug@sad.it>
12144 * buffer.C (sgmlOpenTag):
12146 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12148 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12150 * text2.C: remove some dead code
12152 * tabular.C (GetCellInset): store the last cell checked (gotten)
12154 * tabular.h: add the helper for the speedup
12156 * lyxtext.h: remove some dead code
12158 2001-06-26 The LyX Project <Asger>
12160 * paragraph.C: Change export to LaTeX of alignment to
12161 \begin{center} and family for better roundtrip work with reLyX.
12163 * Tune the math drawing a bit.
12165 2001-06-25 The LyX Project <Asger>
12167 * LColor.C (LColor): New color for math background. New color
12170 2001-06-25 The LyX Project <jug@sad.it>
12172 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12174 * lyxfunc.C (Open):
12175 * bufferlist.C (newFile): do not restrict to files ending with
12178 * BufferView_pimpl.C (MenuInsertLyXFile):
12180 2001-06-24 The LyX Project <jug@sad.it>
12182 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12185 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12187 * lyxtext.h: rename most methods to begin with a small char.
12188 Lots of changes because of this.
12190 * paragraph.C (Paragraph): do not call fitToSize
12191 (erase): call Pimpl::erase
12192 (insertChar): call Pimpl::insertChar
12193 (insertInset): call Pipl::insertInset
12194 (breakParagraph): do not call fitToSize
12195 (breakParagraphConservative): do not call fitToSize
12196 (fitToSize): remove method
12198 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12200 2001-06-24 The LyX Project <Asger>
12202 * Fix Qt compilation^2
12204 2001-06-24 The LyX Project <jug@sad.it>
12206 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12207 depthHook(getDepth()-1).
12210 * ParagraphParameters.h:
12211 * ParameterStruct.h: change type of depth to unsigned int ==
12212 depth_type. Many adaptations to other files before of that.
12214 2001-06-24 The LyX Project <Asger>
12216 * Fix Qt compilation.
12218 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12220 * paragraph.h: renamed several methods to begin with small letter.
12221 several changes to many parts of the code because of this.
12223 2001-06-23 The LyX Project <jug@sad.it>
12225 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12226 rewritten to discard all double spaces when KeepEmpty is off
12227 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12228 to only handle newlines but not fiddle with spaces and friends.
12230 * lyxfunc.C (MenuNew): when doing 'new from template', use
12231 template_path as default directory
12233 2001-06-23 The LyX Project <Asger>
12235 * Clean-up of header file includes all over
12236 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12238 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12240 * paragraph.h: renamed from lyxparagraph.h
12242 2001-06-23 Asger <lyx@violet.home.sad.it>
12244 * Buffer.h: Removed Buffer::resize
12245 * BufferList.h: Removed BufferList::resize
12246 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12247 the document lazily when we change the width, or the font settings.
12249 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12251 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12253 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12255 * buffer.h: remove out of date comment
12257 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12260 * screen.C: fix "theoretical" GC leak
12262 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12264 * LaTeX.C (scanAuxFile):
12265 (deplog): remove trailing \r when reading stream (useful under
12268 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12270 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12271 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12272 and BufferView::theLockingInset(Inset*), so should use them and not
12273 access bv_->text->the_locking_inset directly.
12275 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12277 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12280 * tex-defs.h: remove old unused file
12282 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12284 * BufferView_pimpl.C: fix typo, remove minibuffer message
12285 when buffer has loaded
12287 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12289 * lyxfunc.C (Dispatch): use stringstream
12290 (MenuNew): use stringstream
12291 (Open): use stringstream
12293 * importer.C (Import): use stringstream
12295 * bufferview_funcs.C (CurrentState): use stringstream
12297 * LaTeX.C (run): use stringstream
12299 * BufferView_pimpl.C (savePosition): use stringstream
12300 (restorePosition): use stringstream
12301 (MenuInsertLyXFile): use stringstream
12303 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12316 * vspace.C: removed // -*- C++ -*- as first line.
12319 * version.h: added // -*- C++ -*- as first line.
12321 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12323 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12325 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12328 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12330 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12333 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12335 * gettext.C: include LString.h even when --disable-nls is on.
12337 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12339 * converter.h (Get): changed argument type from int to
12340 FormatList::size_type to avoid unnecessary conversion.
12342 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12345 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12347 * gettext.h: include LString.h even when --disable-nls is on.
12349 2001-06-07 Juergen Vigna <jug@sad.it>
12351 * text.C (BreakAgain): subst spaces with tabs.
12353 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12354 (resizeInsetsLyXText): set force on resizeLyXText.
12356 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12358 * gettext.h (gettext_init):
12359 (locale_init): use a real definition instead of a macro
12361 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12363 * Bufferview_pimpl.C:
12365 * LColor.C: further lcolor tidies
12367 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12369 * BufferView_pimpl.C (updateScrollbar): simplify.
12371 * BufferView2.C: don't include insets/insetinfo.h, change
12372 prototype for insertInset and call the Pimpl version. let
12373 updateInset call Pimpl version.
12375 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12376 gotoInset to BufferView::Pimpl
12378 2001-06-01 Juergen Vigna <jug@sad.it>
12380 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12381 inside a LockingInset (is the update needed at all?).
12383 2001-05-31 Juergen Vigna <jug@sad.it>
12385 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12386 here not the old one otherwise how should we compare it afterwards
12389 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12394 * FontInfo.C: bring C functions into global namespace when
12397 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12399 * LString.h: make sure config.h has been loaded before LString.h.
12401 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12402 (one for each char read by EatLine!).
12404 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12407 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12409 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12410 to the same as the par we break from
12412 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12414 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12416 * MenuBackend.C (expand): also create menu entries for wide
12417 versions of the floats.
12419 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12421 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12423 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12424 frontends/Makefile.am
12430 * tabular.C (getTokenValue): add std::
12432 * tabular-old.C (getTokenValue): add std::
12433 (getTokenValue): ditto
12434 (getTokenValue): ditto
12436 * screen.C (ToggleSelection): adjust
12438 * lyxtext.h: put selection cursors inside a Selection struct.
12440 * lyxfunc.C (moveCursorUpdate): adjust
12442 * lyxfont.C (latexWriteStartChanges): add std::
12444 * lyxfind.C: adjust
12446 * font.h: delete with(char const *, LyXFont const &)
12448 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12450 * FontInfo.C (getFontname): add std::
12452 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12453 (workAreaButtonPress): adjust
12454 (tripleClick): adjust
12456 (moveCursorUpdate): adjust
12459 * BufferView2.C (gotoInset): adjust
12461 2001-05-30 Juergen Vigna <jug@sad.it>
12463 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12464 to check pspell I add this as default as I now have new pspell
12465 libraries and they seem to use this.
12467 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12469 * text2.C (CutSelection): make the cursor valid before the call to
12472 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12474 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12475 relied on 0 terminated strings and other horrors. Bug found due to
12476 the new assert in lyxstring!
12478 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12481 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12483 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12486 * lyxfunc.C (processKeySym): change method of getting to the
12489 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12490 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12491 * BufferView_pimpl.[Ch]: here as private methods.
12493 2001-05-28 Juergen Vigna <jug@sad.it>
12495 * text.C (SetHeightOfRow): added the update() call again as it is
12496 needed to initialize inset dimensions!
12498 2001-05-16 Juergen Vigna <jug@sad.it>
12500 * text2.C (SetCharFont): Add new function with BufferView * and
12501 bool toggleall parameters for setting insets internal fonts.
12502 (SetFont): Freeze the undo as we may change fonts in Insets and
12503 all this change should be inside only one Undo!
12505 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12506 setting font's in insets as for them we have the SetFont function!
12508 2001-05-15 Juergen Vigna <jug@sad.it>
12510 * text2.C (ClearSelection): to be sure we REALLY don't have any
12513 * tabular.C (TeXCellPreamble): fixed the left border problem for
12516 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12518 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12521 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12523 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12524 LFUN_BREAKPARAGRAPH.
12526 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12527 help test to "internal only", similar for LFUN_INSERT_URL
12529 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12530 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12531 auto_region_delete and deadkeys.
12533 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12536 * LColor.C: remove some dead entries, tidy a little
12538 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12540 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12542 (Dispatch): implement LFUN_ESCAPE
12544 * commandtags.h: add LFUN_ESCAPE
12546 * LyXAction.C (init): add entry for LFUN_ESCAPE
12548 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12549 Remove commented code.
12550 (insertNote): moved here
12551 (open_new_inset): moved here
12553 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12556 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12558 * kbmap.C (findbinding): clean it up and make it work correctly.
12560 * lyx_main.C (init): do not pass argc and argv as parameters
12562 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12564 * buffer.C: fix path for OS/2 & Win32
12568 * lyx_main.C: Added os:: class.
12570 * os2_defines.h: update
12572 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12574 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12575 better by trying again with reduced state.
12577 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12579 * lyxrc.C (read): print error about invalid key sequence only when
12580 debugging (because not all latinX keysyms are known to some X
12583 * kbsequence.C (getiso): add a few std:: qualifiers
12584 (getiso): comment out extra return statement.
12586 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12588 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12590 (Dispatch): enhance the accent inset a bit. (not perfect)
12592 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12594 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12596 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12598 * bufferlist.C (emergencyWrite): fix assert() call
12600 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12602 * text.C (InsertChar): Added trivial patch to only send the "you
12603 can not do multiple spaces this way" message once during a
12606 2001-05-08 Baruch Even <baruch@lyx.org>
12608 * Makefile.am: Changed order of libraries to get LyX to link properly
12609 with the gnome frontend.
12611 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12613 * LaTeXFeatures.h: add a std:: qualifier
12615 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12617 * paragraph.C (String): use stringstream
12619 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12621 * paragraph.C (writeFile): remove footflag arg
12623 * buffer.C (makeLaTeXFile): use stringstream
12624 (latexParagraphs): remove footnot gurba
12626 * LaTeXFeatures.C (getPackages): use stringstream
12627 (getMacros): likewise
12628 (getTClassPreamble): likewise
12629 (getFloatDefinitions): new method
12631 * paragraph.C (writeFile): reindent
12634 * WorkArea.h: revert the xpos + etc changes.
12636 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12638 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12640 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12641 (pasteSelection): likewise
12642 * text2.C (CreateUndo): likewise
12644 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12646 * minibuffer.C (peek_event): temporarily reduce the functionality
12647 of the minibuffer (to allow args on lfuns)
12649 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12650 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12652 * buffer.C (readInset): add compability reading of old float
12653 lists, add reading of new style float list.
12654 (readInset): avoid reevaluation of inscmd.getCmdName()
12655 (getLists): reindent
12657 * MenuBackend.C (MenuItem): implement parsing of
12658 md_floatlistinsert and md_floatinsert.
12659 (expand::LastFiles): move initalizaton of iterators out of loop,
12660 avoid reevaluation.
12661 (expand::Documents): introduce typdedef vector<string> Strings,
12663 (expand::ExportFormats): introduce typedef vector<Format const *>
12664 Formats, and use it.
12665 (expand): implement FloatListInsert and FloatInsert.
12667 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12668 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12669 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12671 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12673 (Dispatch::LFUN_FLOAT_LIST): implement
12675 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12677 * LaTeX.C (run): Fix problem with --export code.
12679 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12681 * BufferView.[Ch] (workarea): removed.
12682 (getClipboard) new method; wrapper for workarea()->getClipboard()
12684 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12687 * WorkArea.h (width, height, xpos, ypos): These methods all
12688 returned the dimensions of the work_area sub-area of WorkArea,
12689 resulting in a position error if the WorkArea were resized. Now
12690 return the dimensions of the entire WorkArea.
12692 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12694 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12696 * LaTeX.C (deplog): correct the syntax of regex reg1
12698 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12700 * undo.C: remove !NEW_INSETS cruft
12702 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12704 * text2.C: remove !NEW_INSETS cruft
12706 * text.C: remove !NEW_INSETS cruft
12708 * tabular.C: remove !NEW_INSETS cruft
12710 * spellchecker.C: remove !NEW_INSETS cruft
12712 * lyxtext.h: remove !NEW_INSETS cruft
12714 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12716 * lyxfunc.C: remove !NEW_INSETS cruft
12718 * lyxfind.C: remove !NEW_INSETS cruft
12720 * lyx_cb.C: remove !NEW_INSETS cruft
12722 * figureForm.C: remove !NEW_INSETS cruft
12724 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12726 * buffer.[Ch]: remove !NEW_INSETS cruft
12728 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12730 * CutAndPaste.C: remove !NEW_INSETS cruft
12732 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12734 * BufferView2.C: remove !NEW_INSETS cruft
12736 * BufferView.h: remove !NEW_INSETS cruft
12738 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12740 * Lsstream.h: include LString.h before the sstream headers to
12741 fix problem with gcc 2.95.3 and lyxstring
12743 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12745 * lyx_main.C: add using directives when needed for C functions
12746 declared in std:: namespace.
12748 2001-04-27 Juergen Vigna <jug@sad.it>
12750 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12751 (SetHeightOfRow): comment out the update call should not be needed!
12753 2001-04-13 Juergen Vigna <jug@sad.it>
12755 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12756 (LyXTabular): tried to minimize operator= operations (and realized
12757 hopfully Lars wish).
12759 2001-04-27 Juergen Vigna <jug@sad.it>
12761 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12763 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12765 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12767 * buffer.C (readInset): hack to make listof algorithm work
12769 * BufferView_pimpl.C: hack to make listof algorithm work
12771 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12773 * LyXAction.C: removed all !NEW_INSETS cruft
12774 (init): moved lfun_item in method
12776 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12778 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12780 * BufferView2.C (theLockingInset): white space.
12782 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12784 * minibuffer.C: include <iostream>
12786 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12788 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12790 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12792 * text.[Ch] (TransposeChars): new method
12794 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12796 * call message directly through LyXView instead of through LyXFunc
12797 * BufferView2.C: adjust
12798 * BufferView_pimpl.C: adjust
12799 * FontLoader.C: adjust
12801 * bufferview_funcs.C: adjust
12802 * converter.C: adjust
12803 * figureForm.C: adjust
12804 * importer.C: adjust
12806 * lyx_gui_misc.C: adjust
12807 * lyxfunc.C: adjust
12810 + more files in subdirs
12812 * lyxparagraph.h (size): move up int file
12815 * adjust all uses of Assert to lyx::Assert.
12817 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12818 lyxfunctional in namespace lyx
12819 * layout.C (hasLayout): ditto
12822 (delete_layout): ditto
12823 (NumberOfClass): ditto
12824 * converter.C (GetFormat): ditto
12829 * bufferlist.C (getFileNames): ditto
12830 (emergencyWriteAll): ditto
12833 * MenuBackend.C (hasSubmenu): ditto
12836 * BufferView_pimpl.C (getInsetByCode): ditto
12838 2001-04-18 Juergen Vigna <jug@sad.it>
12840 * vspace.C (asLatexString): fixed the 100% problem.
12842 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12844 * lyxfunc.C (Dispatch):
12846 * minibuffer.h: add a few std:: qualifiers
12848 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12850 * minibuffer.[Ch]: reimplement so that commands is initiated and
12851 run from lyxfunc, simplified som handling, and made the completion
12852 and history code for complete. wip.
12854 * lyxfunc.C (processKeySym): call message
12855 (miniDispatch): new temporary method
12856 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12857 (LFUN_MESSAGE): implement
12858 (LFUN_MESSAGE_PUSH): implement
12859 (LFUN_MESSAGE_POP): implement
12860 (initMiniBuffer): the initial/defualt minibuffer message.
12862 * lyxfont.[Ch]: inline some more getters
12864 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12866 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12868 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12869 (AutoSave): use LFUN_MESSAGE
12870 (Reconfigure): ditto
12872 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12874 * figureForm.C: use LFUN_MESSAGE
12876 * converter.C (runLaTeX): use LFUN_MESSAGE
12878 * bufferview_funcs.C: use LFUN_MESSAGE
12880 (changeDepth): ditto
12882 * bufferparams.h: use boost::
12884 * bufferlist.h: inherit privately from noncopyable
12886 * bufferlist.C (loadLyXFile): remove some commented code.
12888 * buffer.C (runChktex): use LFUN_MESSAGE
12890 * ShareContainer.h: inherit privately from noncopyable
12892 * ParagraphParameters.[hC] (depth): inline it.
12894 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12896 (message): new method
12897 (messagePush): ditto
12898 (messagePop): ditto
12899 (show): init minibuffer
12900 (showState): direct call
12902 * LaTeX.[Ch]: inherit privately from noncopyable
12903 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12904 instead of WriteStatus.
12906 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12908 * BufferView_pimpl.C (buffer): don't init minibuffer
12909 (workAreaButtonPress): use LFUN_MESSAGE
12910 (workAreaButtonRelease): ditto
12911 (savePosition): ditto
12912 (restorePosition): ditto
12913 (MenuInsertLyXFile): ditto
12914 (workAreaExpose): don't init minibuffer
12915 (update): remove commented code, simplify
12917 * BufferView2.C (openStuff): use LFUN_MESSAGE
12918 (toggleFloat): ditto
12921 (copyEnvironment): ditto
12922 (pasteEnvironment): ditto
12927 (updateInset): remove some commented code
12929 * lastfiles.h: inherit privately from noncopyable
12932 * lyx_main.h: ditto
12934 * lyxlex_pimpl.h: ditto
12936 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12937 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12938 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12940 * LyXAction.h: inherit privately from noncopyable, add methods
12941 func_begin, func_end, returning iterators to the func map.
12943 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12944 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12945 (func_begin): new method
12946 (func_end): new method
12948 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12950 (copySelection): ditto
12951 (pasteSelection): ditto
12953 * BufferView.C: whitespace change
12954 * BufferView.h: inherit privately from noncopyable
12956 2001-04-16 Allan Rae <rae@lyx.org>
12958 * tabular-old.C (l_getline):
12959 * spellchecker.C (sc_check_word):
12960 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12961 an unrecognised preprocessor directive. So ensure they're wrapped.
12963 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12965 * src/exporter.C (Export): Give an error message when path to file
12968 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12970 * LaTeX.C (deplog): Always check that foundfile exists.
12972 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12975 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12977 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12979 * tabular.[Ch] (getLabelList): implement new method
12981 * minibuffer.h: comment ouf setTiimer
12983 * minibuffer.C (ExecutingCB): constify res
12984 (peek_event): constify s
12985 (Set): constify ntext
12986 (Init): constify nicename
12988 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12990 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12991 (savePosition): use two params to Minibuffer::Set
12992 (restorePosition): ditto
12994 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12996 * lyx_main.C: include language.h
12998 * Makefile.am (lyx_main.o): add language.h
13000 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13006 * CutAndPaste.C: include gettext.h
13008 * lyxfont.h: remove old hack with ON and OFF.
13011 * lyxfont.h: do not include language.h...
13016 * bufferview_funcs.C:
13022 * paragraph.C: ... but do it here instead
13024 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13026 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13028 * tabular.C: small reformat
13030 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13033 (BreakParagraph): ditto
13034 (SetOnlyLayout): ditto
13037 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13040 * lastfiles.C: removed most using decl, add std:: where needed
13042 * buffer.C: ws changes
13044 * MenuBackend.C (class compare_format): put into anon namespace
13045 (expand): constify label, names, action, action2
13048 * text.C (SingleWidth): constify font
13049 (IsBoundary): constify rtl2
13050 (GetVisibleRow): constify ww
13052 * LaTeX.C (deplog): constify logfile
13054 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13056 (workAreaExpose): constify widthChange, heightChange
13058 * lyxrow.C (par): moved
13061 * lyxrow.h: as inlines here
13063 * lyxfont.h (shape): moved from lyxfont.C
13064 (emph): moved from lyxfont.C
13066 * lyxfont.C (LyXFont): use initialization list for all
13068 (shape): move to lyxfont.h as inline
13069 (emph): move to lyxfont.h as inline
13072 2001-04-04 Juergen Vigna <jug@sad.it>
13074 * vspace.C: had to include stdio.h for use of sscanf
13076 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13079 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13080 independent of xforms.
13082 2001-04-02 Juergen Vigna <jug@sad.it>
13084 * spellchecker.C: fixed namespace placing!
13086 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13088 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13089 the LyXParagraph * is 0.
13091 2001-03-29 Juergen Vigna <jug@sad.it>
13093 * vspace.C: added support for %, c%, p%, l%.
13094 (stringFromUnit): added helper function.
13095 (asLatexString): changed to give right results for the %-values.
13097 * buffer.C: convert the widthp in a width%.
13099 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13101 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13104 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13105 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13107 * lyx_cb.[Ch]: see above.
13109 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13113 * lyx.[Ch]: replaced by figure_form.[Ch].
13117 * lyxfunc.C: changed headers associated with above changes.
13119 2001-03-27 Juergen Vigna <jug@sad.it>
13121 * BufferView_pimpl.C: set the temporary cursor right!
13123 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13125 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13127 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13129 * LString.h: removed "using std::getline"!
13131 * BufferView_pimpl.C (Dispatch): changes due to changes in
13132 InsetInclude::Params.
13134 * buffer.C (tag_name): removed redundant break statements as they were
13135 producing lots of warnings with my compiler.
13137 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13139 * LString.h: add "using std::getline" when using the real <string>.
13141 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13143 * buffer.C: removed bitset usage.
13144 PAR_TAG moved to an anonymous name space.
13145 (tag_name): new funtion, also in the anonymous namespace.
13146 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13147 (makeDocBookFile): clean code. Completed transition from string arrays
13149 (SimpleDocBookOnePar): code clean.
13151 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13153 * tabular.C: add some comments.
13155 2001-03-22 Juergen Vigna <jug@sad.it>
13157 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13158 compatibility read a bit and fixed bug with minipage in different
13161 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13163 * buffer.C (pop_tag): removed.
13164 (push_tag): removed.
13165 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13166 array replaced with vector. Added support for CDATA sections.
13167 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13169 (makeDocBookFile): XML conformant declaration of CDATA section,
13170 fixed bug related to <emphasis> in the first paragraph char.
13171 (sgmlOpenTag): exclude empty tags.
13172 (sgmlCloseTag): ditto.
13174 * buffer.h (pop_tag): removed.
13175 (push_tag): removed.
13177 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13179 * language.h (Languages): added size_type and size().
13181 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13183 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13184 response on compability reading of minipages. One probliem is that
13185 the old usage of minipages was «flertydig»
13187 * several files here and in subdirs: don't use static at file
13188 scope use anon namespaces instead.
13190 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13192 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13193 LaTeX output. This is necessary for Literate document
13196 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13198 * buffer.C: insert hfill when needed.
13200 * tabular.C (l_getline): use string::erase, small whitespace change.
13202 * BufferView_pimpl.C: try the anon namespace.
13203 * WorkArea.C: ditto
13205 2001-03-16 Juergen Vigna <jug@sad.it>
13207 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13208 otherwise it won't open options-dialogs.
13210 * buffer.C: honor pextraWidth(p) on converting minipages.
13212 * tabular.C (l_getline): changed the functions to strip trailing \r.
13214 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13216 * BufferView_pimpl.C:
13217 * minibuffer..C: added "using SigC::slot" declaration.
13219 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13221 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13227 * paragraph.C: ditto
13229 * lyxtext.h: NO_PEXTRA
13231 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13233 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13234 * ParameterStruct.h: ditto
13235 * ParagraphParameters.h: ditto
13236 * lyxparagraph.h: ditto
13238 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13240 * buffer.C: add compability for minipage alignment.
13241 (latexParagraphs): remove unwanted pextra check.
13243 * several files: remove CXX_WORKING_NAMESPACES
13245 * buffer.C (pop_tag): tie is in namespace boost
13247 * BufferView.h: noncopyable is in namespace boost
13249 * lyx_main.h: ditto
13252 * lastfiles.h: ditto
13253 * bufferlist.h: ditto
13254 * ShareContainer.h: ditto
13256 * LyXAction.h: ditto
13259 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13261 * Merging changes from BRANCH_MVC back into HEAD.
13263 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13265 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13267 * BufferView_pimpl.C: change from intl.C
13271 * Makefile.am: move combox.*
13277 * intl.C: remove dialog (covered by prefs)
13279 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13281 * lyxfunc.C (Dispatch): removed redundant break statement.
13283 2001-03-14 Juergen Vigna <jug@sad.it>
13285 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13287 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13289 * buffer.C: add hack to fix compability reading of minipages.
13291 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13293 * buffer.C (getLists): Cleanup.
13295 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13297 * lyxfont.C (update): don't honor toggleall on font size.
13299 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13303 * Makefile.am: moved to frontends/xforms/
13307 * BufferView_pimpl.C: changes for moved mathpanel
13309 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13311 * gettext.h: fix gettext_init() in --disable-nls
13313 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13315 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13317 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13320 * lyx.h: strip external form
13322 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13324 * BufferView_pimpl.C: add comment, destroySplash()
13326 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13328 * BufferView_pimpl.C:
13332 * lyxfunc.C: use re-worked insetinclude
13334 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13336 * buffer.C: add using std::stringstream.
13338 * lyx_cb.C: readd using std::ios.
13340 * buffer.C: add using std::map.
13342 * BufferView_pimpl.C: add using std::vector.
13344 * ShareContainer.h: add std:: to swap.
13346 * buffer.h: add some typedefs
13347 * buffer.C (getLists): use them
13348 (getLists): renamed from getTocList.
13349 add a counter for the different float types and use it in the
13351 (getLists): use the same counter for the NEW_INSETS and the "non"
13354 * lyx_cb.h: remove unused items, includes, using etc.
13356 * ShareContainer.h: remove some commented code, add more comments
13357 and "documentation".
13359 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13361 * buffer.C (getTocList): make the list also when NEW_INSETS is
13364 * buffer.h: remove TocType
13366 * buffer.C (getTocList): change to return a map<string,
13367 vector<TocItem> >, implement for dynamic number of list.
13369 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13370 * text2.C (PasteSelection): adjust
13371 * CutAndPaste.C (pasteSelection): adjust
13373 * FloatList.C (FloatList): update from the new_insets branch.
13374 * Floating.[Ch]: ditto
13375 * LaTeXFeatures.C: ditto
13377 * lyxlex_pimpl.C: ditto
13379 * paragraph.C (Last): remove when NEW_INSETS is defined.
13381 * other file: changes because of the above.
13383 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13385 * lyxparagraph.h: rename next to next_, previous to previous_,
13386 make them private for NEW_INSETS. Rename Next() to next(),
13387 Previous() to previous().
13389 * other files: changes because of the above.
13391 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13394 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13397 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13399 * main.C (main): pass lyx_localedir to gettext_init().
13401 * gettext.h: remove locale_init and gettext_init macros
13403 * gettext.C (locale_init): new function
13404 (gettext_init): new function
13406 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13409 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13411 * Moved credits to frontends:
13412 * credits.[Ch]: removed
13413 * credits_form.[Ch]: removed
13414 * lyx_gui_misc.C: remove credits stuff
13417 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13419 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13421 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13422 unneeded destructor.
13424 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13425 a standalone pointer again.
13427 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13429 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13435 * ToolbarDefaults.C:
13444 * BufferView_pimpl.C: use new file dialog in GUII
13447 * lyx_cb.C: remove LayoutsCB to Toolbar
13449 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13451 * ShareContainer.h (get): add std:: qualifier
13453 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13455 * ShareContainer.h: define a proper ShareContainer::value_type
13456 type (and use typename to please compaq cxx)
13458 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13460 * lyxparagraph.h: move serveral local vars to
13461 ParameterStruct/ParagraphParameters., use ShareContainer in
13462 FontTable., make vars in FontTable private and add getter and
13465 * paragraph.C: changes because of the above.
13467 * lyxfont.h: remove copy constructor and copy assignment. (the
13468 default ones is ok), move number inside FontBits. move inlines to
13471 * lyxfont.C: add number to initializaton of statics, move several
13472 inlines here. constify several local vars. some whitespace
13473 cleanup. Dont hide outerscope variables.
13475 * Spacing.h: add two new constructors to match the set methods.
13477 * ShareContainer.h: new file, will perhaps be moved to support
13479 * ParameterStruct.h: new file
13481 * ParagraphParameters.h: new file
13483 * ParagraphParameters.C: new file
13485 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13486 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13488 * BufferView_pimpl.C: ParagraphParameter changes.
13489 * buffer.C: Likewise.
13490 * bufferview_funcs.C: Likewise.
13491 * text.C: Likewise.
13492 * text2.C: Likewise.
13494 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13496 * lyxfind.C (LyXReplace): do not redefine default argument in
13498 (IsStringInText): ditto
13499 (SearchForward): ditto
13500 (SearchBackward): ditto
13502 2001-03-06 Juergen Vigna <jug@sad.it>
13504 * lyxfind.C (IsStringInText): put parentes around expressions.
13506 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13508 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13510 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13512 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13514 * stl_string_fwd.h: add comment
13516 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13519 * tabular.C: remove unused DocBook methods
13525 killed DO_USE_DEFAULT_LANGUAGE
13527 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13529 * lyx_gui.C: do not include language.h.
13531 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13532 arguments in function implementation.
13534 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13536 * BufferView_pimpl.C: add <ctime>
13538 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13540 * BufferView_pimpl.C: add using std::find_if
13542 2001-02-27 José Matos <jamatos@fep.up.pt>
13544 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13547 2001-02-11 José Matos <jamatos@fep.up.pt>
13549 * buffer.C (makeDocBookFile): command styles now have a parameter as
13550 "title" by default.
13552 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13554 * layout_forms.[Ch]: removed
13555 * lyx_cb.[Ch]: out character
13556 * lyx_gui.C: out character
13557 * lyx_gui_misc.C: out character
13558 * bufferview_funcs.C: : out character,
13559 added toggleall as parameter in ToggleAndShow
13561 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13563 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13565 * text2.C (SetCurrentFont): Disable number property at boundary.
13567 2001-02-26 Juergen Vigna <jug@sad.it>
13569 * lyxfunc.C (getStatus): added a string argument override function so
13570 that this is correctly called from LyXFunc::Dispatch if it contains a
13571 do_not_use_argument which is used!
13572 (Dispatch): added check for "custom" export and call appropriate func.
13574 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13576 * lyxrc.C: Add language_command_local, language_use_babel and
13577 language_global_options.
13579 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13581 * buffer.C (makeLaTeXFile): Use language_use_babel and
13582 language_global_options.
13584 2001-02-23 Juergen Vigna <jug@sad.it>
13586 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13587 which works with LyXText and putted it inside BufferView. Here now we
13588 only call for that part the BufferView::Dispatch() function.
13590 * BufferView.C (Dispatch): added.
13592 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13593 functions which needs to use a LyXText over from LyXFunc.
13594 (MenuInsertLyXFile): added
13595 (getInsetByCode): added
13596 (moveCursorUpdate): added
13597 (static TEXT): added
13599 2001-02-22 Juergen Vigna <jug@sad.it>
13601 * BufferView_pimpl.C (update): call a status update to see if LyXText
13604 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13606 * vc-backend.C (revert): implement for CVS
13607 (getLog): implement for CVS
13609 2001-02-20 Juergen Vigna <jug@sad.it>
13611 * text2.C (ClearSelection): added BufferView param for inset_owner call
13613 * lyxfunc.C (TEXT): added this function and use it instead of
13614 directly owner->view()-text of getLyXText().
13616 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13618 * src/layout_forms.C: out preamble
13619 * src/layout_forms.h: out preamble
13620 * src/lyx_cb.C: out preamble
13621 * src/lyx_cb.h: out preamble
13622 * src/lyx_gui.C: out preamble
13623 * src/lyx_gui_misc.C: out preamble
13624 * src/lyxfunc.C: connect with guii preamble
13626 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13628 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13630 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13632 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13633 whether to run bibtex.
13635 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13637 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13639 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13641 * Makefile.am (lyx_SOURCES): removed bibforms.h
13643 * vspace.h: doxygen
13645 * text.C (GetVisibleRow): make several local vars const
13647 * tabular.C: small cleanup.
13649 * lyxserver.C (callback): use compare instead of strncmp
13651 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13652 inlines to after class or to paragraph.C
13654 * lyxfont.h: remove friend operator!=
13656 * converter.h: move friend bool operator< to non friend and after
13659 * combox.h: small cleanup
13661 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13662 to inlines after class def.
13664 * buffer.C (pop_tag): use string operations instead of strcmp
13666 * bmtable.c: doxygen, small cleanup
13668 * LaTeX.h: remove friend operator==
13670 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13682 * BufferView_pimpl.C:
13683 * BufferView.[Ch]: remove cruft
13685 2001-02-14 Juergen Vigna <jug@sad.it>
13687 * lyxfunc.C: removed #if 0 unused code
13689 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13691 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13693 * text2.C (SetSelection): added a BufferView * parameter
13695 2001-02-13 Juergen Vigna <jug@sad.it>
13697 * lyxfunc.C (Dispatch): fixed protected blank problem.
13698 * BufferView2.C (protectedBlank): added LyxText * parameter.
13700 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13701 (AppendColumn): same as above for column_info.
13703 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13704 (moveCursorUpdate): use a LyXText param for support of InsetText.
13706 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13707 (tripleClick): ditto
13709 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13711 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13713 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13715 * text2.C (SetSelection): set correct update status if inset_owner
13716 (ToggleFree): ditto
13718 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13720 * tabular.C: remove some commented code.
13722 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13724 * BufferView_pimpl.C: call hideSplash()
13726 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13729 * bibforms.h: remove
13732 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13733 add LFUN_CHILD_CREATE
13735 * counters.h: fix tiny typo
13740 * lyx.C: move splash to frontends/xforms/
13742 * lyx_gui_misc.C: move Include and Bibform to frontends
13744 * lyxvc.h: clarify comment
13746 * vspace.C: tiny housekeeping
13748 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13750 * text.C (PrepareToPrint): RTL Fix.
13752 * paragraph.C (GetUChar): New method.
13753 (String): Use GetUChar.
13755 * buffer.C (asciiParagraph): Use GetUChar.
13757 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13759 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13761 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13764 * buffer.C: rename to getLogName(), handle
13765 build log / latex log nicely
13767 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13770 * MenuBackend.h: remove support for reference menuitem type.
13772 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13774 * BufferView_pimpl.C: housekeeping
13775 * BufferView_pimpl.h:
13780 * minibuffer.h: move Timeout GUI-I
13782 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13784 * lyxrc.C (read): Update converters data-structures.
13786 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13788 * LaTeX.h (operator!=): add operator != for Aux_Info
13790 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13792 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13794 * LaTeXLog.C: deleted, useful code moved to Buffer
13797 * buffer.C: new function getLatexLogName()
13803 * lyxfunc.C: use frontends for LaTeX and VC logs
13805 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13807 * LaTeX.h: yet another std:: that Allan forgot.
13809 * Variables.C (set): renamed from isset(), because this clashes
13810 with some HP-UX macros (grr).
13812 2001-02-06 Allan Rae <rae@lyx.org>
13814 * LaTeX.h: Another bug fix. Missing std:: this time.
13816 2001-02-04 Allan Rae <rae@lyx.org>
13818 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13819 floats problem. I've left it commented out because it's not quite
13820 correct. It should also test that the current object is a table or
13821 figure inset. But I haven't gotten around to figuring out how to do
13822 that. I *think* it'll be something like: "table" == inset.type()
13824 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13827 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13829 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13830 all the citation/databases/styles in the auxilary file.
13831 (run): Rerun latex if there was a babel language error.
13833 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13835 * text.C (Backspace): Preserve the font when changing newline char
13837 (BreakParagraph): If the cursor is before a space, delete the space.
13839 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13841 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13843 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13844 new argument (code).
13845 (ChangeCitationsIfUnique): New method.
13847 * paragraph.C (GetPositionOfInset): Handle bibkey.
13849 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13851 * BufferView_pimpl.h: change type of Position::par_pos to
13852 LyXParagraph::size_type.
13854 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13856 * BufferView_pimpl.C (savePosition, restorePosition): Write
13857 messages to minibuffer.
13859 2001-01-28 José Matos <jamatos@fep.up.pt>
13861 * buffer.C (makeDocBookFile): adds support for document language.
13862 A silly restriction on the name of LatexCommand types where removed.
13863 Added support for CDATA sections, allows to chars unescaped, used
13864 among others in code, to avoid escape < and >.
13866 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13868 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13869 saved positions instrad of a stack. Furthermore, a position is
13870 stored using paragraph id/paragraph position.
13872 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13873 Remove LFUN_REF_BACK.
13875 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13877 * converter.C (dvipdfm_options): New method.
13879 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13881 * vspace.C (isValidLength): Fix for empty input string.
13883 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13885 * LyXAction.C (init): change description of LFUN_FIGURE to
13888 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13890 * LaTeX.C: add using directive
13892 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13894 * MenuBackend.C (expand): Fix the sorting of the formats.
13896 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13898 * lyx_main.C: tiny error message fix
13900 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13902 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13903 calling fl_initialize(). This fixes the problem with ',' as
13904 decimal separator in text files.
13906 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13908 * trans.C (process): Fix the keymap bug.
13910 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13912 * LaTeX.C (scanAuxFiles): New method. Provides support for
13913 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13914 (scanLogFile) Scan for "run BibTeX" messages.
13916 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13917 OT1 font encoding. Also, load the aecompl package if the ae
13920 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13922 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13924 * texrow.C (increasePos): turn two error messages into debug
13927 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13929 * LaTeX.C (scanAux): Handle the \@input macro.
13930 (runBibTeX): Use scanAux().
13932 * language.C (latex_options_): New field.
13934 * LaTeXFeatures.C (getMacros): Add language macros.
13936 * buffer.C (makeLaTeXFile): Small fix.
13938 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13940 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13942 * text2.C: add a using directive.
13944 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13949 * lyxfunc.C: kill LyXBell.
13951 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13953 * text.C (IsBoundary): Remove the error message
13955 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13957 * lyxrc.C (setDefaults): Correct initialization value for
13960 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13962 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13965 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13966 and GotoNextNote().
13968 * src/LyXAction.C: Added reference-next.
13970 * text.C (InsertChar): Use contains instead of strchr.
13972 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13974 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13976 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13977 alignment commands (when needed).
13979 * text.C (InsertChar): Add ':' to number separator chars.