1 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * text3.C (cursorPrevious): make sure that we do not compare
4 iterators form different containers.
7 * rowpainter.C (paintSelection): make sure that we do not compare
8 iterators from different containers.
10 * text3.C (dispatch): [PRIOR] make sure that we do not compare
11 iterators from different ParagraphList containers.
14 * text2.C (LyXText): change order of initialization slightly
15 (operator=): new function. copy all variables except cache_par_
16 (moveUp): make sure that we do not compare iterators from
17 different ParagraphList constainers.
20 * text.C (firstPar): new function
21 (lastPar): new function
22 (endPar): new function
24 * lyxtext.h: move things around and group public functions, public
25 variables, private functions, private variables
27 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
29 * factory.C: change call to InsetERT constructor to avoid
30 additional invocation of method status
31 * text2.C (toggleInset): remove redundant update() call
32 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
33 instead of a Bufferview pointer
35 2003-11-21 André Pönitz <poenitz@gmx.net>
37 * rowpainter.C: simplification
39 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
41 * text3.C (dispatch): make possible to extend a word/row selection
44 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
46 * lyxtext.h: x0_,y0_ -> xo_,yo_
47 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
48 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
49 * rowpainter.C (paintRows): paint full paragraphs
51 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
53 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
56 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
58 * lyxtext.h: add x0_, y0_
59 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
60 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
62 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
64 * text2.C (setCursorIntern): move the x_target update here *
65 * text3.C: change some bv() to true/false in calls to
66 cursorUp/Down/Right/Left
67 * cursor.C: use helper function.
69 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
71 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
72 * paragraph_funcs.[Ch]: correct comment
73 * rowpainter.C: do not paint selections away from bv->cursor()
74 Fix a long standing selection painting bug.
75 * text3.C: generalize mouse-selection code to LyXTexts other that
77 * textcursor.C: do not use y coords if we can use par offsets
79 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
81 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
82 cursor position after e.g. inset insert)
84 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
86 * lyxfind.C (replace): adjust to locking removal + some
89 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
91 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
94 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
97 * output_docbook.C: XML sanitation: new layout
98 parameters InnerTag and CommandDepth
100 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
102 * BufferView_pimpl.C:
104 * text3.C: Fix the insertion and modification of button-style
107 2003-11-13 André Pönitz <poenitz@gmx.net>
109 * InsetList.[Ch]: remove deleteLyXText
111 * paragraph.[Ch]: cache beginOfBody position
116 * text3.C: remove superfluous update() calls
120 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
122 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
123 * BufferView.C (fitLockedInsetCursor): remove
124 * cursor.[Ch] (getDim): add
125 * text.C (getRowNearY): add faster version
126 * text3.C: remove some update calls
128 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
140 * text3.C: The Character Style /XML short element patch.
142 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
145 * factory.C: Small step to solving 'unable to insert some insets'
148 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
150 * cursor.[Ch] (updatePos): new function for updating the y
151 position of the tip inset
152 * bufferview_funcs.C (put_selection_at):
153 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
155 2003-11-11 André Pönitz <poenitz@gmx.net>
157 * text.C: remove big comment on invalid Paragraph pointers as it is
160 2003-11-11 André Pönitz <poenitz@gmx.net>
162 * text_funcs.[Ch]: merge with ...
170 * Makefile.am: remove text_funcs.[Ch]
172 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
174 * cursor.C (getPos): return absolute cached y coord
176 * BufferView_pimpl.C (fitCursor): new simplistic code
177 (workAreaDispatch): add a fitCursor call
179 2003-11-10 André Pönitz <poenitz@gmx.net>
182 * BufferView_pimpl.[Ch]: merge update() and updateInset()
184 2003-11-10 André Pönitz <poenitz@gmx.net>
186 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
187 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
188 indicate that the cursor needs to leave an inset
190 * lyxtext.h: remove inset locking
192 * cursor.[Ch]: re-implement functionality provided by inset locking
195 * BufferView_pimpl.[Ch]:
197 * bufferview_funcs.[Ch]:
209 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
211 * PosIterator.[Ch]: replace the stack with a vector, add inset
213 * iterators.[C]: adjust
215 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
217 * lyxfind.C (replaceAll): mark the buffer dirty if something was
219 * paragraph_funcs.C (readParToken): put the correct id in the
220 error item, not the id of the top paragraph
222 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
224 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
225 * bufferview_funcs.C (put_selection_at): use the above
227 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
229 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
231 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
234 * output_plaintext.h:
236 * output_docbook.h: add #include statements
238 2003-11-05 José Matos <jamatos@lyx.org>
240 * output_docbook.[Ch]:
242 * output_linuxdoc.[Ch]:
243 * output_plaintext.[Ch]: New files for output formats.
244 * output.[Ch]: New file for helper functions.
247 * paragraph_funcs.[Ch]: output functions moved to new files.
249 * outputparams.h: rename of latexrunparams.h
257 * paragraph_funcs.[Ch]:
258 * paragraph_pimpl.[Ch]:
259 * tabular.[Ch]: rename ascii to plaintext
260 and LatexRunParams to OutputParams.
262 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
264 * iterators.[Ch] (text): require bv argument
265 * undo.C (recordUndo):
266 * lyxfunc.C (dispatch):
267 * bufferview_funcs.C (put_selection_at): adjust
269 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
271 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
273 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
275 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
278 2003-11-04 André Pönitz <poenitz@gmx.net>
280 * cursor.[Ch]: restructure
283 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
285 * iterators.[Ch] (asCursor): remove
287 * lfuns.h: remove LFUN_INSET_EDIT
293 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
295 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
297 * lyxfind.[Ch]: complete overhaul
298 * BufferView_pimpl.C:
300 * paragraph.[Ch] (insert): add
302 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
306 * text.C: remove dead spellcheck code
308 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
310 * dispatchresult.h: add a val setter
312 * cursor.C (dispatch): use a tempvar for data_[i]
314 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
316 * PosIterator.[Ch]: compile fix
318 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
320 * text.C (cursorPar): deactivate the cursor cache
322 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
324 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
326 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
328 * text3.C (dispatch): adjust for new DisptchResult semantics.
330 * lyxfunc.C (dispatch): handle update when return from
331 Cursor::dispatch, adjust for new DispatchResult semantics.
333 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
334 DispatchResult(true) mean to not update. Add class functions for
335 setting dispatched and update, as well as reading.
337 * cursor.C (dispatch): don't handle update here
339 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
341 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
342 * trans_mgr.C: adjust
344 * paragraph_funcs.C (readParToken): exception safety
346 * lyxvc.h: store the vcs pointer in a scoped_ptr
349 * lyxsocket.C (serverCallback): exception safety
351 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
353 * ispell.C (clone): make it return a auto_ptr
355 * factory.C (createInset): exception safety
356 (readInset): exception safety
358 * bufferlist.C (newBuffer): exception safety
360 * Thesaurus.C (Thesaurus): use initialization for aik_
362 * MenuBackend.C (expandToc): exception safety.
364 2003-11-03 André Pönitz <poenitz@gmx.net>
368 * bufferview_funcs.C: remove getInsetFromId()
371 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
377 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
379 * PosIterator.C (distance, advance): new
380 * bufferview_funcs.[Ch] (put_selection_at): new
381 * iterators.[Ch] (lockPath): new
383 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
385 * iterators.[Ch] (asPosIterator): added
386 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
387 * PosIterator.[Ch]: added
389 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
393 * cursor.C (dispatch):
394 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
396 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
397 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
398 contructor, add a class function dispatched. Remove operator>=
400 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
402 * debug.C: only use the default constructor for debugstream
405 * main.C (main): include debug.h and setup the lyxerr streambuf
408 2003-10-31 José Matos <jamatos@lyx.org>
410 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
412 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
413 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
414 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
415 * paragraph_pimpl.C (simpleTeXSpecialC):
416 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
417 add LatexRunParams argument.
419 * exporter.C (Export): change call accordingly.
421 * latexrunparams.h: add new member to take care of the other backends.
422 2003-10-30 José Matos <jamatos@lyx.org>
424 * buffer.C (makeLinuxDocFile, makeDocBookFile):
425 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
426 factorise code for paragraph output.
428 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
431 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
433 * text3.C (dispatch):
434 * lyxfunc.C (dispatch):
435 * cursor.C (dispatch):
436 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
438 * dispatchresult.h: make the dispatch_result_t ctor explicit
440 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
443 * buffer.C: small refactoring of docbook stuff
445 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
447 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
450 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
452 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
453 operator dispatch_result_t, and operators for == != and >=
455 * cursor.C (dispatch): adjust for operator dispatch_result_t
456 removal. comment out call to update
458 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
460 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
468 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
471 * dispatchresult.h: new file, DispatchResult broken out of
474 * Makefile.am (lyx_SOURCES): add dispatchresult.h
476 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
478 * text.C (rowBreakPoint): put a hack inside #if 0
480 2003-10-28 André Pönitz <poenitz@gmx.net>
487 * text2.C: general cleanup (lots of small stuff)
489 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
491 * text2.C (cursorEnd): simple fix to the "end key goes to one
492 before the end on last row" bug
494 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
496 * text.C (backspace): fix the "zombie characters"
498 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
500 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
502 2003-10-27 André Pönitz <poenitz@gmx.net>
504 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
506 * factory.C: handle new InsetPagebreak, InsetLine
508 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
509 and move handling into new InsetPagebreak, InsetLine
511 * BufferView_pimpl.C:
513 * ParagraphParameters.C:
526 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
535 * text3.C: remove lastPos uses in favour of Row::endpos
537 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
539 * undo.C (performUndoOrRedo): fix two crashes by setting a
540 cursor by hand and reordering some calls. Use bv->lockInset instead
541 of inset->edit because the latter loses cursor information
543 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
545 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
547 (rowBreakPoint): fix width. change point to point + 1.
550 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
553 * lyxfunc.C: fix (at least partly) the problems
554 with the Nav menu and headers inside branch insets
557 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
559 * paragraph.C (getChar): add strong asserts
561 * lyxrow_funcs.C (lastPos): remove hideous hack
563 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
564 (fill): adjust to that (avoid an infinite loop)
566 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
568 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
570 2003-10-23 André Pönitz <poenitz@gmx.net>
572 * RowList_fwd.h: change list<> to vector<> to gain speed
573 after suggestion from Alfredo
575 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
577 * lyxtext.h: move the bidi stuff from here...
580 * Bidi.[Ch]: ... to here
582 2003-10-23 André Pönitz <poenitz@gmx.net>
585 * text.C (isLastRow, isFirstRow): new functions
587 * paragraph.h: new width cache member
589 * rowpainter.C: replace RowList::iterator with Row & where possible
591 * lyxfunc.C: replace several view()->text with a single call
593 * toc.C: fix 'unused' warning
595 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
597 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
598 when woring with stream::pos_type
599 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
601 2003-10-22 André Pönitz <poenitz@gmx.net>
604 * text.C: use Row & instead of RowList::iterator
606 * lyxrow.h: rename end() to endpos()
612 2003-10-22 Angus Leeming <leeming@lyx.org>
614 * buffer.[Ch] (fully_loaded): new member function, returning true
615 only when the file has been loaded fully.
616 Used to prevent the premature generation of previews and by the
617 citation inset to prevent computation of the natbib-style label.
619 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
620 templates are all set up.
622 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
624 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
626 * text.C: fixed an "oops" in the "is a bit silly"
629 2003-10-21 André Pönitz <poenitz@gmx.net>
631 * FuncStatus.[Ch]: small stuff, whitespace
633 * lyxfont.[Ch]: operator<<() for debug reasons
637 * lyxtext.h: whitespace, spelling
639 * paragraph.C: naming of variables
642 * text2.C: small stuff
645 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
647 * text.C: (1) finish off the inset display() work;
648 (2) fix the "is a bit silly" bug (accessing char
651 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
653 * text.C: re-introduce display() for insets, fixing the
654 various bugs (stretch of line above, math inset
657 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
659 * text.C (rightMargin): remove spurious semicolon
661 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
664 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
666 * text3.C: fix one crash due to wrong cursor def
668 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
670 * vc-backend.C (scanMaster): make the regex static
672 * LaTeX.C (scanAuxFile): make the regexs static
674 * text3.C (doInsertInset, dispatch, dispatch):
675 * text2.C (cursorUp, cursorDown):
676 * text.C (selectNextWordToSpellcheck):
677 * BufferView_pimpl.C (dispatch):
678 * lyxfunc.C (dispatch): localDispatch -> dispatch
680 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
682 * lyxsocket.C: include <cerrno>
684 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
686 * lyxfunc.C (dispatch): remove textcache stuff
688 * bufferlist.C (release): remove textcache stuff
691 * TextCache.C: delete file
692 * TextCache.h: delete file
694 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
696 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
697 delete of the bv_->text.
698 (resizeCurrentBuffer): remove texcache stuff
699 (workAreaResize): ditto
701 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
703 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
706 2003-10-16 André Pönitz <poenitz@gmx.net>
713 * text3.C: speed up by storing y positions per paragraph plus per-row
714 offset instead of having a 'full' y position in the row.
716 2003-10-15 André Pönitz <poenitz@gmx.net>
720 * undo.[Ch]: make undo aware of inner insets
722 2003-10-14 Angus Leeming <leeming@lyx.org>
724 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
725 static member functions LyX::ref() and LyX::cref.
726 (lastfiles): new accessor functions for the new lastfiles_ member var.
727 (addLyXView, views_): add a new LyXView to the list of views_.
728 (updateInset): loop over all LyXViews to call their own updateInset
729 member function, returning a pointer to the Buffer owning the inset.
731 * BufferView_pimpl.C (loadLyXFile):
732 * MenuBackend.C (expandLastfiles):
733 * bufferlist.C (MenuWrite, QuitLyX):
734 lastfiles is no longer a global variable.
735 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
737 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
738 static function. Access through LyX::cref().emergencyCleanup().
740 2003-10-14 André Pönitz <poenitz@gmx.net>
742 * iterators.[Ch]: new direct access to innermost LyXText and Inset
744 * undo.[Ch]: restoring part of 'undo in insets'
747 * undo_funcs.[Ch]: merge with undo.[Ch]
749 * tabular.C: small cleansing stuff
751 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
753 * paragraph_funcs.C (readParToken): report unknown insets as error
754 boxes. Use the outer paragraph as location (also for unknown
757 * factory.C (readInset): do not abort on reading an unknown inset.
760 2003-10-13 Angus Leeming <leeming@lyx.org>
762 * lyx_main.C (LyX): remove call to setDisplayTranslator().
764 * lyxrc.C: displayTranslator is now a function,
765 declared in GraphicsTypes.h.
767 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
769 * format.C: new placeholder $$a to pass the socket address.
771 * bufferlist.[Ch]: new function getBufferFromTmp.
773 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
774 files in the temporary dir.
776 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
778 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
780 * Makefile.am: add lyxsocket.[Ch].
782 * lyx_main.C (error_handler): handle SIGPIPE.
784 2003-10-13 André Pönitz <poenitz@gmx.net>
786 * BufferView_pimpl.C:
791 * undo_funcs.[Ch]: use paroffset_type instead of
792 ParagraphList::iterators to prevent multiple conversion
793 (and get a more robust interface)
795 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
797 * lyxfunc.C (dispatch): RESULT -> dispatch_result
799 * text3.C (dispatch): ditto
801 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
803 * LaTeX.C (handleFoundFile): move the static to smaller scope,
804 move the onlyfile, use onlyfile instead of foundfile in a couple
807 * DepTable.C (update): flush the error stream a bit more
809 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
811 * lyxserver.C (callback): adjust
813 * lyxfunc.C (getStatus): add a missing brace in commented code
814 (ensureBufferClean): reindent
815 (dispatch): delete version taking a string
817 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
819 * LaTeX.C (deplog): move found file handlig from here...
820 (handleFoundFile): .. to new function here.
821 (deplog): make sure to discover several files mentioned on the
824 2003-10-10 André Pönitz <poenitz@gmx.net>
831 * text3.C: fix some of the tabular crashes
833 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
835 * MenuBackend.C (binding): put debug message into Debug::KBMAP
837 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
839 2003-10-09 André Pönitz <poenitz@gmx.net>
841 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
844 * BufferView_pimpl.C:
845 * bufferview_funcs.C:
856 * undo_funcs.C: adjust
858 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
860 * text2.C (incrementItemDepth): new function, use a backtracking
861 algorithm to discover the correct item depth.
862 (resetEnumCounterIfNeeded): new function, use a backtracking
863 algorithm to discover if counter reset is needed.
864 (setCounter): use them. Simplify a bit. Add different labels for
865 different item depths for itemize.
867 * paragraph.C (Paragraph): remove initialization of enumdepth
870 * paragraph.h: get rid of enumdepth, and use itemdepth both for
871 enumerate and itemize. Change the type of itemdepth to signed char.
873 2003-10-08 André Pönitz <poenitz@gmx.net>
875 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
880 * tabular.[Ch]: fix crash after 'row-insert'
882 2003-10-08 Angus Leeming <leeming@lyx.org>
884 Fix doxygen warnings.
886 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
887 Remove CutAndPaste:: prefix from header file declaration.
889 * LColor.h (fill): remove LColor:: prefix from declaration.
891 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
892 use lyx::depth_type rather than Paragraph::depth_type so that
893 header file and .C file match.
895 * converter.h (intToFormat): remove Converters:: prefix from declaration.
897 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
898 * aspell.C: \file aspell_local.C -> \file aspell.C
899 * gettext.C: \file gettext.C -> \file src/gettext.C
900 * gettext.h: \file gettext.h -> \file src/gettext.h
901 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
902 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
903 * text.C: \file text.C -> \file src/text.C
905 * toc.C: move comment so that doxygen is not confused.
907 2003-10-07 Angus Leeming <leeming@lyx.org>
909 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
911 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
914 * aspell_local.h: add forgotten std::string's.
916 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
923 * text3.C: The Box patch. Fancybox support, minipage, parbox
925 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
931 * ParagraphParameters.h:
941 * lyxtextclasslist.h:
945 * textcursor.h: add <string> and other small fixes to make Lars'
946 std::string patch compile with STLport.
948 2003-10-06 Angus Leeming <leeming@lyx.org>
950 * LColor.h: Add missing #include <string>.
952 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
954 * All most all file in all subdirs: Make <string> be the prefered
955 way of getting to std::string, add using declarations.
957 2003-10-06 André Pönitz <poenitz@gmx.net>
959 * metricsinfo.C: initialize LyXFont before changing attribute.
960 (fixes the 'math in \emph is upright' bug)
962 2003-10-06 André Pönitz <poenitz@gmx.net>
964 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
966 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
969 * paragraph_pimpl.C: Small fixes to build using STLport
971 2003-10-02 André Pönitz <poenitz@gmx.net>
974 * text3.C: move handling of LFUN_DEPTH *; fix #1360
976 2003-10-01 André Pönitz <poenitz@gmx.net>
978 * factory.C: assert early
980 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
982 * lyx_main.C: remove the global debug object
984 * debug.h: adjust for new debugstream
986 * debug.C: adjust for new debugstream and keep the global debug
989 2003-09-22 Angus Leeming <leeming@lyx.org>
991 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
992 of g++ which otherwise complain that the scoped_ptr destructor can't delete
993 an incomplete class LyXFont.
995 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
997 * factory.C: bug fix in branches
999 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1001 * lyxfunc.C (processKeySym): adjust
1003 (dispatch): change arg name from ev to func, adjust
1004 (sendDispatchMessage): ditto
1006 * lyx_main.C (defaultKeyBindings): adjust keybindings
1007 (deadKeyBindings): ditto
1009 * kbsequence.C (addkey): return a FuncRequest
1011 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1013 * kbmap.C (bind): take a FuncRequest as arg, adjust
1016 (defkey): change to take a FuncRequest as arg, adjust
1017 (findbinding): take a FuncRequest as arg, adjust.
1019 * funcrequest.h (operator=): added
1021 * funcrequest.C (FuncRequest): default kb_action changed from
1022 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1024 * buffer.C (dispatch): simplify
1025 (dispatch): adjust to take a FuncRequest as arg, adjust
1027 * boost.C (assertion_failed): change assertion message slightly
1029 * ToolbarBackend.C (read): simplify
1031 * MenuBackend.C (binding): adjust call to findbinding, add a
1032 message if no binding is found.
1034 (expandToc): correct by adding a empty FuncRequest
1036 * LyXAction.C: include <boost/assert.hpp>
1037 (isPseudoAction): delete function
1038 (LookupFunc): change name to...
1039 (lookupFunc): this. change return type to FuncRequest.
1040 (getActionName): take kb_action as arg, simplify
1041 (funcHasFlag): add an assert, simplify.
1043 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1045 * toc.C (action): return a FuncRequest, simplify
1047 * lyxfunc.C (processKeySym): adjust
1048 (getStatus): delete version that takes an int.
1050 (dispatch): delete version that takes action as int
1052 (sendDispatchMessage): simplify and adjust
1054 * funcrequest.C (getArg): take unsigned int as arg
1056 * ToolbarBackend.C (read): adjust
1057 (add): delete version that takes func as a string.
1058 (getIton): take a FuncRequest as arg
1060 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1063 * MenuBackend.C (MenuItem): add a new construct that only takes a
1064 Kind, simplify the constructor use for submenus.
1066 (expandLastfiles): adjust
1067 (expandDocuments): adjust
1068 (expandFormats): adjust
1069 (expandFloatListInsert): adjust
1070 (expandFloatInsert): adjust
1071 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1073 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1074 Remove class variables lyx_pseudo_map and lyx_arg_map
1076 * LyXAction.C (searchActionArg): delete function
1077 (getPseudoAction): delete function
1078 (retrieveActionArg): delete function
1079 (LookupFunc): make it return kb_action, simplify.
1080 (getActionName): simplify
1082 * factory.C (createInset): fix new bug
1084 2003-09-19 Angus Leeming <leeming@lyx.org>
1086 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1087 masterFilename_ parameter in the include inset.
1089 * factory.C (createInset): changes due to the changes to InsetInclude.
1091 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1093 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1095 2003-09-18 Angus Leeming <leeming@lyx.org>
1098 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1099 Inset::fillWithBibKeys.
1100 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1102 2003-09-18 Angus Leeming <leeming@lyx.org>
1104 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1106 (ctor): pass and store a 'Buffer const &'
1107 (buffer): new member function.
1109 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1110 '*this' to the LaTeXFeatures ctor.
1112 2003-09-18 Angus Leeming <leeming@lyx.org>
1118 * text.C: rename EnumLColor as LColor_color.
1120 2003-09-18 Angus Leeming <leeming@lyx.org>
1122 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1123 remove #include "insets/insetbase.h" from cursor.h.
1125 2003-09-18 Angus Leeming <leeming@lyx.org>
1127 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1128 InsetOld_code to remove #include "inset.h".
1130 * iterators.C: add #include "insets/inset.h"
1132 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1134 * BufferView.C: remove more locking stuff that apparently doesn't
1135 do anything sensible.
1137 2003-09-16 André Pönitz <poenitz@gmx.net>
1140 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1143 2003-09-16 Angus Leeming <leeming@lyx.org>
1145 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1147 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1150 * paragraph.h: remove #include "lyxfont.h". Forward declare
1153 2003-09-16 Angus Leeming <leeming@lyx.org>
1155 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1156 of support/textutils.h.
1157 (isWord): move the contents of support/textutils.h's IsWordChar here.
1163 * text2.C: add #include "paragraph.h".
1166 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1168 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1174 * LaTeX.C: use namespace alias for lyx::support::os
1176 2003-09-16 Angus Leeming <leeming@lyx.org>
1179 * bufferview_funcs.C:
1182 * paragraph_pimpl.C:
1184 * text.C: add #include "LColor.h".
1186 2003-09-16 Angus Leeming <leeming@lyx.org>
1188 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1189 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1191 Store the FontBits::color variable as an int rather than as an
1192 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1195 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1196 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1197 string calls together.
1199 * lyxrc.C: add #include "LColor.h".
1201 2003-09-15 Angus Leeming <leeming@lyx.org>
1203 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1206 2003-09-15 Angus Leeming <leeming@lyx.org>
1208 * LColor.h: add an EnumLColor wrapper for LColor::color.
1210 * lyxfont.[Ch] (color, setColor, realColor):
1211 * lyxtext.h, text.C (backgroundColor):
1212 pass EnumLColor args to/from the functions, rather than LColor::color
1216 * lyxtext.h: forward declare EnumLColor.
1218 * lyx_main.C: add #include "LColor.h".
1220 2003-09-15 Angus Leeming <leeming@lyx.org>
1222 * .cvsignore: add lyx-gtk.
1224 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1229 * ParagraphParameters.C
1233 * bufferview_funcs.C
1243 * vc-backend.C: remove usage of STRCONV
1245 2003-09-15 Angus Leeming <leeming@lyx.org>
1247 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1248 explicitly define the color passed to the painter.
1250 2003-09-15 Angus Leeming <leeming@lyx.org>
1252 * bufferparams.C (BufferParams): reorder member initializers to avoid
1255 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1257 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1258 * text.C (updateRowPositions): remove an unusual nop
1260 2003-09-12 André Pönitz <poenitz@gmx.net>
1262 * BufferView_pimpl.C:
1271 * Counters.[Ch]: finish the 'automatic counters' job
1273 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1275 * aspell.C: include <boost/assert.cpp> (compile fix)
1277 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1279 * boost.C (assertion_failed): use lyx::support::abort instead of
1282 2003-09-10 Angus Leeming <leeming@lyx.org>
1284 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1285 with their _fwd progeny.
1287 2003-09-09 Angus Leeming <leeming@lyx.org>
1289 134 files throughtout the source tree: replace 'using namespace abc;'
1290 directives with the appropriate 'using abc::xyz;' declarations.
1292 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1294 * boost.C (emergencyCleanup): moved here from LAssert.c
1295 (assertion_failed): new function, called by BOOST_ASSERT
1297 * several files: change Assert to BOOST_ASSERT
1299 2003-09-09 Angus Leeming <leeming@lyx.org>
1301 * buffer.[Ch]: Add an Impl class and move Buffer's member
1302 variables into it. As a result move several header files out of
1305 Add header files to lots of .C files all over the tree as a result.
1307 2003-09-09 Angus Leeming <leeming@lyx.org>
1309 * buffer.[Ch]: make Buffer's member variables private. Add
1312 Lots of changes all over the tree as a result.
1314 2003-09-08 Angus Leeming <leeming@lyx.org>
1316 * graph.C: #include <config.h>.
1318 2003-09-08 Angus Leeming <leeming@lyx.org>
1322 * BufferView_pimpl.C:
1351 * toc.C: remove redundant using directives.
1353 2003-09-07 Angus Leeming <leeming@lyx.org>
1355 * LaTeXFeatures.h: remove #include "support/types.h".
1356 * ToolbarBackend.h: remove #include <algorithm>.
1357 * changes.h: remove #include <ctime>.
1358 * debug.h: remove #include <iosfwd>.
1359 * graph.h: remove #include "support/std_string.h".
1360 * lyx_main.h: remove #include <csignal>.
1361 * lyxlex_pimpl.h: remove #include <fstream>.
1362 * sgml.h: remove #include <algorithm>, <utility>.
1363 * toc.h: remove #include "support/std_ostream.h".
1364 Add #include <iosfwd>.
1366 2003-09-07 Angus Leeming <leeming@lyx.org>
1368 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1370 * converter.h: forward declare LatexRunParams.
1371 * encoding.h: remove #include "lyxrc.h".
1372 * lyxtext.h: remove #include "LColor.h".
1373 * lyxtextclass.h: remove #include "support/types.h".
1374 * trans.h: remove #include "tex-accent.h".
1375 * trans_mgr.h: remove #include "tex-accent.h".
1376 * insets/inset.h: remove #include "support/types.h", <vector>.
1377 * insets/insetcollapsable.h: remove #include "LColor.h".
1378 * insets/insetinclude.h: remove #include "dimension.h".
1379 * insets/insetlatexaccent.h: remove #include "dimension.h".
1380 * insets/insetoptarg.h:: remove #include "insettext.h".
1381 * insets/insettext.h: remove #include "dimension.h",
1382 <boost/shared_ptr.hpp>
1384 * insets/renderers.h: add #include "dimension.h".
1385 * insets/updatableinset.h: add #include "support/types.h".
1387 * many .C files: Associated changes.
1389 2003-09-06 Angus Leeming <leeming@lyx.org>
1391 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1392 one, inside testInvariant.
1394 * PrinterParams.C: new file.
1395 * PrinterParams.[Ch]: move the function bodies out of line.
1397 2003-09-06 Angus Leeming <leeming@lyx.org>
1399 * ParagraphParameters.h: forward declare ParameterStruct rather than
1400 including its header file.
1401 (depth): moved out-of-line.
1403 2003-09-06 Angus Leeming <leeming@lyx.org>
1405 * BufferView_pimpl.h:
1408 * lyxfunc.h: forward declare LyXKeySym rather than
1409 #include "frontends/LyXKeySym.h".
1411 * BufferView_pimpl.C:
1414 * lyxfunc.C: associated changes.
1416 2003-09-06 Angus Leeming <leeming@lyx.org>
1418 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1419 As a result, can remove the #include "insets/inset.h" from BufferView.h
1421 2003-09-06 Angus Leeming <leeming@lyx.org>
1423 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1424 As a result, can remove the #include "insets/inset.h" from BufferView.h
1426 2003-09-06 Angus Leeming <leeming@lyx.org>
1432 * bufferview_funcs.C:
1433 * BufferView_pimpl.C:
1438 * ParagraphParameters.C:
1443 * frontends/controllers/ControlDocument.C:
1444 * insets/insetcaption.C: rearrange the #includes into some sort of
1447 * buffer.h: remove #includes ErrorList.h, undo.h
1449 2003-09-06 Angus Leeming <leeming@lyx.org>
1451 * support/types.h: add a 'depth_type' typedef, used to store the
1452 nesting depth of a paragraph.
1455 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1456 defining explicitly.
1459 * paragraph_funcs.h:
1460 * ParagraphParameters.h:
1461 * sgml.h: use lyx::depth_type rather than Paragraph or
1462 ParameterStruct's depth_type.
1465 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1468 * BufferView_pimpl.C:
1470 * ParagraphParameters.C:
1473 * bufferview_funcs.C:
1480 * frontends/LyXView.C:
1481 * frontends/controllers/ControlDocument.C:
1482 * frontends/controllers/ControlErrorList.C:
1483 * insets/insetbibitem.C:
1484 * insets/insetbranch.C:
1485 * insets/insetcaption.C:
1486 * insets/insetcollapsable.C:
1487 * insets/insetenv.C:
1488 * insets/insetert.C:
1489 * insets/insetfloat.C:
1490 * insets/insetfoot.C:
1491 * insets/insetfootlike.C:
1492 * insets/insetnewline.C:
1493 * insets/insetquotes.C:
1494 * insets/insettabular.C:
1495 * insets/insettext.C:
1496 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1498 * frontends/controllers/ControlChanges.C: #include "changes.h".
1500 2003-09-06 Angus Leeming <leeming@lyx.org>
1502 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1503 than #including paragraph.h.
1506 * RowList.h: deleted. Superfluous.
1516 * insets/insettext.h: use ParagraphList_fwd.h rather than
1519 * paragraph.h: don't forward declare ParagraphList.
1522 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1523 rather than ParagraphList.h. paragraph.h is still needed for the
1524 Paragraph::depth_type parameters.
1526 * textcursor.h: enable it to compile stand-alone in light of the
1529 * bufferview_funcs.C:
1541 * frontends/controllers/ControlParagraph.C:
1542 * frontends/controllers/ControlTabular.C:
1543 * insets/insetmarginal.C:
1544 * insets/insetminipage.C:
1545 * insets/insetnote.C:
1546 * insets/insetoptarg.C: add header files needed to compile again.
1548 2003-09-06 Angus Leeming <leeming@lyx.org>
1550 * RowList_fwd.h: new file, forward-declaring Row rather than
1551 #including lyxrow.h.
1556 * insets/insettext.h: use it instead of RowList.h
1558 * bufferview_funcs.C:
1565 * text3.C: #include "RowList.h".
1567 2003-09-05 Angus Leeming <leeming@lyx.org>
1569 * factory.C (createInset):
1570 * vspace.C (c-tor): replace sscanf call with an istringstream.
1571 * ispell.C: re-add missing HP/UX headers.
1572 * lyxserver.C: re-add missing os2 headers.
1574 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1583 * text3.C: re-add missing system headers, needed for 2.95.2.
1585 2003-09-05 Angus Leeming <leeming@lyx.org>
1587 Changes most place everywhere due to the removal of using directives
1588 from support/std_sstream.h.
1590 2003-09-05 Angus Leeming <leeming@lyx.org>
1592 Replace LString.h with support/std_string.h,
1593 Lsstream.h with support/std_sstream.h,
1594 support/LIstream.h with support/std_istream.h,
1595 support/LOstream.h with support/std_ostream.h.
1597 Changes resulting throughout the tree.
1599 2003-09-05 Angus Leeming <leeming@lyx.org>
1601 * sgml.h: ensure that the header file can be compiled stand-alone.
1602 * *.C: strip out redundant #includes. (320 in total.)
1604 2003-09-04 Angus Leeming <leeming@lyx.org>
1606 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1607 here (from getPackages).
1609 * debug.[Ch]: add a new EXTERNAL tag.
1611 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1613 * text2.C (cursorEnd): simplify
1615 (getColumnNearX): adjust
1617 * text.C (computeBidiTables): adjust
1620 * rowpainter.C (paintChars): adjust
1621 (paintSelection): adjust
1622 (paintChangeBar): adjust
1625 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1627 (numberOfSeparators): adjust
1629 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1635 * text3.C: Restricts the mouse click functionality
1636 of insets like bibtex, include, toc and floatlist to the visible
1637 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1638 up the dialogs. Cursor has to be in front of the inset (i.e.
1639 start of row) for this to function.
1641 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1643 * bufferview_funcs.C (currentState): output row information
1645 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1647 * bufferview_funcs.C (currentState): output paragraph position
1649 2003-09-04 Angus Leeming <leeming@lyx.org>
1651 * FloatList.h: move out #include "Floating.h".
1652 * LaTeX.h: move out #include "DepTable.h".
1653 * LyXAction.h: move out #include "funcrequest.h".
1654 * buffer.h: move out #include "author.h", "iterators.h".
1655 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1656 * lyx_main.h: move out #include "errorlist.h".
1657 * lyxfunc.h: move out #include "FuncStatus.h".
1658 * lyxtext: move out #include "lyxcursor.h".
1659 * paragraph_pimpl.h: move out #include "counters.h".
1661 2003-09-03 Angus Leeming <leeming@lyx.org>
1663 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1664 preamble_snippets list, enabling us to add snippets to the preamble
1665 only if the snippet was not there already.
1667 2003-09-04 Angus Leeming <leeming@lyx.org>
1669 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1671 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1673 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1676 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1678 * BranchList.C: point fix, earlier forgotten
1680 2003-09-02 Angus Leeming <leeming@lyx.org>
1682 * box.C (contains): renamed from 'contained' after a fantastic
1685 2003-09-02 John Levon <levon@movementarian.org>
1691 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1693 2003-09-02 John Levon <levon@movementarian.org>
1695 * text2.C: simplification of cursorEnd(), including partial
1698 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1700 * buffer.C (readFile): add a space
1702 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1704 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1706 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1708 * buffer.C (readFile): new function, take a filename and a
1709 ParagraphList::iterator
1711 (readFile): adjust, make it private. don't use setStream, make
1712 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1713 always contain the filename.
1715 * BufferView.C (insertLyXFile): simplify and make it work for
1718 2003-08-30 John Levon <levon@movementarian.org>
1720 * Makefile.am: fix dist (from Kayvan)
1722 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1724 * most files: change to use const Buffer refs
1726 2003-08-27 André Pönitz <poenitz@gmx.net>
1728 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1729 on top of ownerPar().
1731 2003-08-27 John Levon <levon@movementarian.org>
1733 * funcrequest.C: properly initialise POD members
1735 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1737 * lyxtext.h (top_y): move top_y from here
1742 * BufferView_pimpl.[Ch]: to here
1743 * frontends/screen.C:
1744 * insets/insettabular.C:
1745 * insets/insettext.C: adjust
1746 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1748 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1751 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1753 2003-08-26 André Pönitz <poenitz@gmx.net>
1755 * paragraph_func.[Ch] (outerPar): new function
1758 * paragraph_funcs.C:
1759 * paragraph_funcs.h:
1760 * paragraph_pimpl.C:
1761 * text2.C: remove Inset::par_owner
1763 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1768 * text2.C: eliminates the needFullRow/display() stuff
1769 altogether, putting the logic in metrics/draw in the insets.
1771 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1773 * text2.C (redoParagraphInternal, redoParagraphs):
1774 * text.C (redoParagraph): add a call to updateRowPositions at the
1775 end of each 'metrics-like' call. Remove all others.
1776 (getRow): remove the 'y-computing' version.
1777 (getRowNearY): do not compute nor return the real y. Solve the
1778 'y < 0' problem and simplify.
1780 2003-08-22 Angus Leeming <leeming@lyx.org>
1782 * *.[Ch]: clean-up of licence and author blurbs.
1783 Also move config.h out of a few .h files and into a few .C files.
1785 2003-08-22 André Pönitz <poenitz@gmx.net>
1787 * lyxrow.[Ch]: add x_ and *fill_ members
1792 * text2.C: adjust/remove prepareToPrint() calls
1794 2003-08-22 André Pönitz <poenitz@gmx.net>
1796 * lyxrow.[Ch]: add end_ member
1798 * lyxrow_funcs.C: use LyXRow::end_
1800 * lyxtext.h (singleWidth): add LyXFont parameter
1803 * text2.C: adjust LyXText::singleWidth() calls
1805 * text.C (redoParagraph): simplify row breaking logic
1808 2003-08-19 André Pönitz <poenitz@gmx.net>
1810 * funcrequest.C: initialize button_ member
1813 * rowpainter.[Ch]: interface consolidation
1815 2003-08-18 André Pönitz <poenitz@gmx.net>
1818 * BufferView_pimpl.C:
1820 * paragraph_funcs.C:
1822 * text3.C: remove LyXScreen::draw() and fitCursor calls
1824 * BranchList.h: remove spurious semicolons
1826 * MenuBackend.C: fix branchlist related crash
1828 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1836 * bufferparams.[Ch]:
1840 * text3.C: implements the 'branch inset'
1841 idea. This allows the output of various versions of a document
1842 from a single source version, selectively outputing or suppressing
1843 output of parts of the text.
1844 This implementation contains a 'branch list editor' in a separate
1845 tab of the document settings dialog. Branches are user definable
1846 and have a "display colour" to distinguish them on-screen.
1848 ColorHandler was somewhat cleaned up.
1849 (1) make possible a dynamically growing LColor list by allowing
1850 the graphic context cache to grow along (vector);
1851 (2) eliminate an IMHO unnecessary step in colour allocation.
1853 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1855 * BufferView_pimpl.C: compile fix
1857 2003-08-15 André Pönitz <poenitz@gmx.net>
1859 * rowpainter.C: remove extra metrics calls
1861 * lyxtext.h: merge the two constructors into a single one,
1862 pass reference to owner's par list
1864 * BufferView_pimpl.C:
1868 2003-08-15 André Pönitz <poenitz@gmx.net>
1870 * lyxrow_funcs.[Ch]:
1873 * paragraph_funcs.C:
1878 * text_funcs.C: split LyXText::rowlist_ into individual
1879 Paragraph::rows_ chunks
1882 * BufferView_pimpl.[Ch]:
1885 * text3.C: remove toggleSelection()
1887 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1889 * bufferlist.C: beautify two alerts (shorter text of buttons)
1890 * buffer.C: Remove redundant ' ' from message
1892 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1893 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1894 rename VALIGN_CENTER to VALIGN_MIDDLE
1896 2003-08-11 André Pönitz <poenitz@gmx.net>
1898 * lyxtext.h (getPar):
1899 * text.C: new function
1901 2003-08-11 André Pönitz <poenitz@gmx.net>
1904 * tracer.[Ch]: remove unneeded files
1906 * InsetList.[Ch]: remove resizeInsetsLyXText()
1911 * text3.C: merge insertParagraphs() and appendParagraph()
1912 remove breakAgain(), update()
1914 * BufferView_pimpl.[Ch]:
1915 * bufferview_funcs.[Ch]:
1919 * tabular.C: adjust after text & InsetList changes.
1921 2003-08-08 André Pönitz <poenitz@gmx.net>
1923 * text.C (insertChar, backspace): replace rowlist fiddling
1924 with rebreak of full par
1927 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1928 checkParagraph, updateInset): removed
1930 2003-08-07 André Pönitz <poenitz@gmx.net>
1933 * text3.C: merge some LFUN handlers, remove dead code
1935 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1937 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1939 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1941 * text2.C (DEPM): fix part of bug 1255 and 1256
1943 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1945 * BufferView_pimpl.C (workAreaDispatch): change to use
1946 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1947 that are no mouse related.
1949 2003-08-05 André Pönitz <poenitz@gmx.net>
1952 * BufferView_pimpl.[Ch]:
1953 * bufferview_funcs.C:
1955 * text3.C: rip out "deep update"
1957 * textcursor.[Ch] (last_sel_cursor): remove unused member
1959 2003-08-04 André Pönitz <poenitz@gmx.net>
1962 * BufferView_pimpl.[Ch]:
1963 * ParagraphParameters.C:
1964 * bufferview_funcs.C:
1970 * text3.C: replace "complicated" BufferView::update(...) calls with
1973 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1975 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1977 * Makefile.am (lyx_SOURCES): add paper.h
1979 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1981 * Makefile.am: move things around so that both lyx-qt and
1982 lyx-xforms can be built (according to --with-frontend). Then lyx
1983 is a symbolic link to lyx-[firstfrontend]
1985 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1987 * Always use std::endl with lyxerr
1989 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1991 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1993 2003-08-01 André Pönitz <poenitz@gmx.net>
1996 * BufferView_pimpl.[Ch]:
1998 * text3.C: merge BufferView::repaint() and BufferView::update()
2000 2003-08-01 José Matos <jamatos@lyx.org>
2002 * buffer.[Ch]: file_format is no longer a buffer data element.
2004 2003-08-01 André Pönitz <poenitz@gmx.net>
2009 * text2.C: make redoParagraph more independent of current cursor
2011 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2013 * text2.C: remove unneeded members
2015 2003-07-30 André Pönitz <poenitz@gmx.net>
2017 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2019 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2020 create a single function...
2022 * paragraph_funcs.C (moveItem): ... here.
2025 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2027 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2029 * LColor.[Ch]: Add comment and greyedout logical colors.
2031 2003-07-30 André Pönitz <poenitz@gmx.net>
2033 * tabular.C: don't use Assert too heavily. This crashes where it
2036 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2038 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2039 is disabled (bug 1232)
2041 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2043 * factory.C: limited 'arg' scope
2045 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2047 * factory.C: fixed Note submenu issues
2049 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2051 * factory.C: submenu for Note/Comment/Greyedout
2053 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2056 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2058 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2061 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2062 greyedout. Patch provided by Jürgen Spitzmüller.
2064 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2066 * kbmap.C (read): fix error message when reading bind files
2068 2003-07-29 Angus Leeming <leeming@lyx.org>
2070 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2071 certainly does not do what it purports to do. I am doing it, and
2072 us, a favour by killing it.
2074 2003-07-28 José Matos <jamatos@lyx.org>
2076 * buffer.C (readBody, do_writeFile):
2077 * paragraph.C(readParagraph): \end_document replaces \the_end.
2079 2003-07-29 André Pönitz <poenitz@gmx.net>
2082 * BufferView_pimpl.[Ch]:
2086 * textcursor.[Ch]: remove toggleToggle & Co
2088 2003-07-28 José Matos <jamatos@fep.up.pt>
2090 * buffer.C (readParagraph):
2091 * params_func (readParToken, readParagraph):
2092 * paragraph.C (write): \layout -> \begin_layout.
2094 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2096 * lyxlex_pimpl.C (setFile): clean up slightly.
2098 * bufferparams.h: add compressed var
2100 * buffer_funcs.C (readFile): adjust for LyXLex change
2101 (newFile): ditto + simplify
2103 * buffer.C (writeFile): handle writing of compressed files
2105 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2106 Check if the file is compressed and set a bufferparm if so.
2108 * Makefile.am (lyx_LDADD): remove explicit -lz
2110 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2112 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2113 makeDocBookFile): put the real LyX version in the first line of
2117 * version.C.in: remove lyx_docversion
2119 * tabular.C (write_attribute): add a template-based version to
2120 write enums properly
2122 2003-07-28 André Pönitz <poenitz@gmx.net>
2127 * text3.C: use doubles again for x-coordinates. They are needed.
2129 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2131 * messages.C (getLocaleDir): use lyx_localedir()
2133 * lyxlex_pimpl.C (setFile): compress stuff
2135 * buffer.C (writeFile): add some compression stuff
2136 (do_writeFile): new func, dont call expliti close... will this
2139 * Makefile.am (lyx_LDADD): add -lz
2141 2003-07-28 José Matos <jamatos@fep.up.pt>
2143 * buffer.C: increment file format.
2144 * paragraph_funcs (readParagraph, readParToken):
2145 * paragraph.C (readParagraph): add \end_layout.
2147 2003-07-27 Angus Leeming <leeming@lyx.org>
2149 * Makefile.am: remove special casing for configure-time setting of
2150 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2152 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2153 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2155 2003-07-26 André Pönitz <poenitz@gmx.net>
2157 * paragraph_func.[Ch]:
2158 * paragraph.C (realizeFont): inline it whereever it is used
2163 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2166 2003-07-26 André Pönitz <poenitz@gmx.net>
2170 * text2.C: get rid of LyXText::need_break_row
2172 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2174 * toc.[Ch]: put namespace toc inside namespace lyx
2176 * MenuBackend.C (expandToc2): adjust for lyx::toc
2179 * lyxfunc.C (dispatch): adjust for lyx::find
2181 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2182 lyx::find instead. Reorganize a bit.
2183 (LyXReplace): rename to replace
2184 (LyXFind): rename to find
2186 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2189 2003-07-26 André Pönitz <poenitz@gmx.net>
2191 * text.C (setHeightOfRow): restrict scope of temporary variable
2193 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2194 code (never has been used?)
2196 2003-07-27 Asger Alstrup <alstrup@local>
2198 * text.C (fill): Optimise algorithm to exploit that we can reuse
2199 the LyXFont for many characters.
2200 (setHeightOfRow): Same thing.
2201 (rowBreakPoint): Same thing.
2203 2003-07-26 Asger Alstrup <alstrup@local>
2205 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2207 * text.C (singleWidth): Spurious font copying in hot-spot
2208 singleWidth avoided. Reorder tests for arabic for efficiency.
2210 * text.C (fill): handle empty paragraphs better.
2212 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2215 * encoding.h: add includes
2217 * lyxrc.C: remove reading of bind files
2219 * lyx_main.C (init): setup bindings and menus only if we have a
2222 * kbmap.C (read): new method. Do the actual reading of bind
2225 * converter.C (dvipdfm_options):
2228 (output): adapt PAPER_* enums.
2230 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2232 * bufferparams.h: remove paper-related enums from there
2234 * paper.h: New file. A trivial header file to hold paper-related
2235 enums. It should later expand to contain many paper-related
2238 * lyxrc.C: declare extern displayTranslator
2240 2003-07-27 José Matos <jamatos@fep.up.pt>
2242 * tabular.[Ch] (linuxdoc): add support for tables and figures
2245 2003-07-27 José Matos <jamatos@fep.up.pt>
2247 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2248 consistency in both functions.
2249 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2251 2003-07-26 Asger Alstrup <alstrup@local>
2253 * rowpainter.C (paintRows): Change algorithm to work directly on
2254 the insets rather than asking every character in the document
2255 whether its an inset.
2257 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2259 * buffer.C (openFileWrite): factorize some code
2261 2003-07-26 Angus Leeming <leeming@lyx.org>
2264 * lyx_main.[Ch]: replace occurances of system_tempdir with
2267 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2269 * rename Inset to InsetOld
2271 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2273 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2274 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2275 which I think is a bit clearer. EDIT is gone, since it was
2276 premature optimisation, and broken for mathed anyway.
2277 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2278 with cursor positioning in insets as well (math insets still do not
2279 work, but that's a different story anyway.) It mysteriously
2280 crashes sometimes with undo in the first paragraph, but I'm fairly
2281 confident that this is a compiler bug.
2283 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2285 * paragraph.C (Paragraph): adjust for new clone return type
2287 (copyIntoMinibuffer): ditto
2289 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2291 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2292 by not having a special case, and always doing a full rebreak of
2293 the document after undo.
2295 2003-07-23 Angus Leeming <leeming@lyx.org>
2297 * factory.C (createInset): InsetExternal::setParams now takes a
2300 2003-07-23 Angus Leeming <leeming@lyx.org>
2302 * factory.C (createInset): changed interface to the external and
2303 graphics mailers' string2params functions.
2305 2003-07-23 Angus Leeming <leeming@lyx.org>
2307 * factory.C (createInset): pass a
2308 Buffer const * parameter to InsetExternalMailer's string2params.
2310 2003-07-22 John Levon <levon@movementarian.org>
2312 * Thesaurus.h: include the right aiksaurus header
2314 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2316 * MenuBackend.C (expand): check menu shortcuts unconditionally
2318 2003-07-21 Angus Leeming <leeming@lyx.org>
2320 * factory.C (createInset): pass a
2321 buffer_path parameter to InsetGraphicsMailer's string2params.
2323 2003-07-21 Angus Leeming <leeming@lyx.org>
2325 * BufferView_pimpl.C (buffer):
2328 * lyxfunc.C (dispatch):
2329 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2330 rather than the grfx shortcut.
2332 2003-07-21 André Pönitz <poenitz@gmx.net>
2334 * rowpainter.C: remove unused variables
2337 * tabular_funcs.h: move to tabular.C
2338 * Makefile.am: adjust
2340 * tabular.[Ch]: basic optical cleaning
2342 * author.h: pass references, not values
2344 2003-07-18 André Pönitz <poenitz@gmx.net>
2352 * text3.C: two-phase drawing for InsetText and InsetTabular
2353 some float -> int changes.
2355 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2357 * lyx_main.C: fix the fix
2359 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2361 * lyx_main.C: fix a crash in batch mode if no files specified
2364 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2366 * format.[Ch] (papersize): moved to BufferParams
2367 * converter.[Ch] (dvips_options): moved to BufferParams
2368 (dvipdfm_options): moved to anon namespace
2369 * bufferparams.[Ch]: added above functions.
2371 2003-07-17 André Pönitz <poenitz@gmx.net>
2375 * text2.C: don't call inset->update() anymore
2377 * metricsinfo.[Ch]: add convenience constructor
2379 2003-07-16 André Pönitz <poenitz@gmx.net>
2384 * text2.C: replace the LyXCursor::irow_ member with
2385 on-demand computation of the value
2387 2003-07-16 John Levon <levon@movementarian.org>
2389 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2391 2003-07-15 André Pönitz <poenitz@gmx.net>
2394 * text2.C: remove no more needed refresh_row
2396 2003-07-15 André Pönitz <poenitz@gmx.net>
2401 * text3.C: refresh_status tristate -> need_update bool
2403 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2405 * lyxtext.h (init): remove reinit argument (act as if always true)
2406 * text2.C: adjust to that
2408 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2410 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2411 * text3.C: use it to delete selections in some cases
2412 (bugs 441, 673, 702, 954).
2414 2003-07-14 André Pönitz <poenitz@gmx.net>
2416 * rowpainter.[Ch]: reduce interface
2418 2003-07-14 André Pönitz <poenitz@gmx.net>
2420 * BufferView_pimpl.C:
2421 * text2.C: adjust after removing unused BufferView * argument
2423 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2425 * text2.C (init): fix a crash fired on resize
2427 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2429 * buffer.[Ch]: added new closing signal
2430 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2431 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2432 BufferView::Pimpl via the closing the signal
2434 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2436 * buffer.[Ch]: take out all bv-related from buffer
2438 * BufferView_pimpl.[Ch]: connect to new signals
2439 * CutAndPaste.C: removed useless asserts
2440 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2443 * lyxfunc.C: moved view-related funciontality from vc here
2444 * paragraph.C: removed outdated comments
2447 2003-07-10 André Pönitz <poenitz@gmx.net>
2449 * BufferView_pimpl.C:
2453 * text2.C: remove InsetText::InnerCache, clean up consequences
2455 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2457 * ispell.C: fix two typos in error messages
2459 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2461 * Extend Note inset to other forms of annotation like Comment
2462 and Greyedout. Right button click gives dialog.
2464 Files modified or added (+):
2468 * ControlNote.[Ch] +
2470 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2471 frontends/controllers
2475 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2477 * aspell.C: add missing namespace lyx::support
2479 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2481 * BufferView.[Ch] (newFile): Add
2482 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2483 * LaTeX.[Ch] (message): added this signal and use it
2484 * buffer.[Ch] (busy, message): added these signals and use them
2485 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2489 * importer.C: use buffer signals instead of direct bv calling
2490 * lyx_cb.[Ch] (ShowMessage): removed
2493 * paragraph_funcs.C:
2494 * text2.C: use buffer signals
2496 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2498 * introduce namespace lyx::graphics
2500 2003-07-02 André Pönitz <poenitz@gmx.net>
2502 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2504 2003-07-01 André Pönitz <poenitz@gmx.net>
2511 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2512 text*.C to text_func.C
2514 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2516 * introduce namespace lyx::support
2518 2003-06-30 André Pönitz <poenitz@gmx.net>
2523 * text.C: re-enable --with-included-string
2525 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2527 * textcursor.C: add <config.h>
2529 * text.C (getWord): remove const from word_location arg
2531 * lyxvc.C (getLogFile): fix const type order
2533 * lyxtext.h: remove const from word_location arg, add arg name
2535 * lyxlayout.h: currect type on labeltype.
2537 * importer.C: correct \file
2539 * converter.C (intToFormat): use std:: on ret val, ws changes
2541 * bufferlist.h: correct \file
2543 * buffer.C (makeLinuxDocFile): fix const type order
2544 (makeDocBookFile): ditto
2545 (fillWithBibKeys): use std:: on stdlib args.
2547 * CutAndPaste.C: fix authors.
2548 (availableSelections): use std:: on return vector
2550 2003-06-27 André Pönitz <poenitz@gmx.net>
2552 * BufferView_pimpl.C:
2553 * bufferview_funcs.C:
2561 * text3.C: remove LyXCursor::row_ member
2564 * text.C: rename fullRebreak() to partialRebreak() and implement
2565 a fullRebreak() that really bereks fully
2567 * textcursor.h: new struct for cursor-related data
2569 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2571 * lyx_main.C (LyX): get full path of document loaded on the
2574 2003-06-26 André Pönitz <poenitz@gmx.net>
2576 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2577 remove unused/broken operator>,<,>=.
2579 * text.C: remove only use of broken operator<= in an Assert().
2581 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2583 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2584 moved errorlist_.clear to showErrorList
2586 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2588 * converter.C (scanLog, runLaTeX):
2589 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2590 move the bv->showErrorList call to the callers
2591 * lyxfunc.C: i.e. here...
2593 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2594 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2595 namespace, the second to...
2596 * buffer_funcs (BufferFormat, parseErrors): added
2597 * errorlist.C (ErrorList(TeXErrors const &)): removed
2599 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2601 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2603 2003-06-24 "Garst R. Reese" <reese@isn.net>
2607 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2609 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2611 * version.C.in: change docversion to 1.4
2613 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2615 * buffer.C: fix a bug just introduced
2617 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2619 * buffer.[Ch]: added the parseError signal and use it, removed
2621 * BufferView.[Ch] (addError): moved to ...
2622 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2623 to the Buffer::parseError signal to catch (guess what) parse errors
2624 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2626 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2628 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2629 ability to create a buffer and to return an existing one from
2630 the list. Moved these functions to...
2631 * buffer_funcs.[Ch]: added
2632 * BufferView.[Ch] (loadLyXFile): added
2633 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2634 job removed from bufferlist::loadLyXFile.
2635 * buffer.C (setReadOnly): make it work without view
2636 (i.e added an if (users))
2638 2003-06-19 Angus Leeming <leeming@lyx.org>
2641 * LyXAction.C (init):
2642 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2643 with LFUN_DIALOG_SHOW <name> <data>.
2645 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2647 * CutAndPaste.C (availableSelections): small compilation fix for
2648 ancient (gcc 2.9x) compilers
2650 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2652 * text3.C (cursorNext): add tmp var
2654 * text2.C (updateCounters): for function calling out of for clause
2655 (replaceSelectionWithString): ditto
2656 (insertStringAsParagraphs): ditto
2657 (getColumnNearX): add tmp var
2658 (setCursorFromCoordinates): add tmp var
2659 (cursorDownParagraph): add tmp var
2660 (deleteEmptyParagraphMechanism): add tmp var
2662 * text.C (insertChar): add tmp var
2664 * rowpainter.C (paintDepthBar): add tmp var
2666 * CutAndPaste.C (availableSelections): potentially check all
2667 paragraphs in a cut to fill the shown strings.
2669 2003-06-18 André Pönitz <poenitz@gmx.net>
2671 * kbmap.[Ch]: use vector<> instead of list<>
2673 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2675 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2676 pasteSelection with index
2678 * text2.C (pasteSelection): modify, call pasteSelection with index
2680 * paragraph.C (asString): reimplement version with no interval to
2681 call the one with interval.
2683 * lyxtext.h: add index arg to pasteSelection
2685 * MenuBackend.C (MenuItem): handle PasteRecent
2686 (Menu::read::Menutags): add md_pasterecent
2688 (expandPasteRecent): new function
2691 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2693 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2695 (availableSelections): new function
2697 2003-06-17 Angus Leeming <leeming@lyx.org>
2699 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2701 2003-06-17 Angus Leeming <leeming@lyx.org>
2704 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2706 * lyxfunc.C (dispatch): invoke it.
2708 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2710 * iterators.C (operator++, ParPosition): reintroduce some
2711 const_cast for the benefit of older compilers.
2713 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2715 * text3.C (dispatch): do not modify clipboard when doing
2716 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2717 LFUN_DELETE_SKIP on a selection selection
2719 2003-06-16 André Pönitz <poenitz@gmx.net>
2725 * tabular.[Ch]: IU of clone() and getLabelList();
2727 2003-06-13 André Pönitz <poenitz@gmx.net>
2729 * tabular.h: compactification
2731 2003-06-12 André Pönitz <poenitz@gmx.net>
2735 * tabular_funcs.h: some renaming plus whitespace
2737 2003-06-12 André Pönitz <poenitz@gmx.net>
2740 * BufferView_pimpl.C:
2746 * toc.C: Return a Paragraph & for ParIterator::operator*()
2748 2003-06-11 John Levon <levon@movementarian.org>
2752 * ToolbarBackend.C: add "Toolbars" section and
2755 2003-06-10 Angus Leeming <leeming@lyx.org>
2758 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2760 * lyxfunc.C (dispatch): invoke it.
2762 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2764 * main.C: protect <ios> with HAVE_IOS
2765 (main): protect sync_with_stdio with HAVE_IOS
2767 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2769 * text2.C (cutSelection): adjust
2770 (pasteSelection): adjust
2772 * messages.C: handle get of empty string
2774 * main.C (main): use sync_with_stdio(false)
2776 * lyxfunc.C (dispatch): adjust
2778 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2779 (WriteAs): remove unneeded BufferView arg.
2781 * bufferparams.h: use correct types on papersize, papersize2 and
2784 * bufferparams.C (readToken): adjust for type
2785 (writeLaTeX): add missing cases to switch.
2787 * bufferlist.C (quitWriteBuffer): adjust
2790 * buffer.C (asciiParagraph): remove some commented code.
2792 * CutAndPaste.C: remove current_view extern variable.
2793 (cutSelection): add BufferParams arg.
2794 (eraseSelection): add BufferParams arg.
2795 (pasteSelection): add Buffer const & arg
2797 2003-06-07 John Levon <levon@movementarian.org>
2800 * paragraph_funcs.C:
2801 * paragraph_pimpl.C:
2805 * paragraph.C: allow InsetERT to freely space lines,
2806 and some consolidation of code
2808 2003-06-06 José Matos <jamatos@fep.up.pt>
2810 * buffer.C (makeDocBookFile): fix bug #821
2812 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2814 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2816 2003-06-04 Angus Leeming <leeming@lyx.org>
2818 * buffer.C: bump format to 224.
2820 2003-06-05 André Pönitz <poenitz@gmx.net>
2822 * text2.C (redoParagraphs): remove two const_cast<>
2824 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2826 * ParagraphList.h: remove last remnants of NO_STD_LIST
2828 2003-06-03 Angus Leeming <leeming@lyx.org>
2830 * factory.C (createInset): small change to the way InsetExternal's params
2833 2003-06-04 André Pönitz <poenitz@gmx.net>
2835 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2837 * paragraph_pimpl.h:
2838 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2840 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2842 * undo_funcs.C: make some simple cases of undo work again
2844 2003-06-03 John Levon <levon@movementarian.org>
2846 * ispell.C: HPUX doesn't have sys/select.h
2849 2003-06-03 John Levon <levon@movementarian.org>
2851 * CutAndPaste.C: update tabular and include inset
2856 * paragraph.C: remove owningBuffer(), don't pass Buffer
2859 * factory.C: insetGraphicsParams changed
2861 2003-06-02 John Levon <levon@movementarian.org>
2867 * text3.C: remove insetparent
2869 2003-06-02 John Levon <levon@movementarian.org>
2872 * buffer.C: fix inset_iterator.end(), move out of line
2875 2003-06-01 John Levon <levon@movementarian.org>
2877 * text3.C: use a proper cut/paste when doing inset
2878 insert (from Jürgen Spitzmüller)
2880 2003-06-01 John Levon <levon@movementarian.org>
2882 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2884 2003-05-30 André Pönitz <poenitz@gmx.net>
2886 * rowpainter.C: unify second drawing phase
2888 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2890 * trans_mgr.C: remove one case of current_view
2892 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2894 * paragraph_funcs.h: remove paragraph.h include
2896 * paragraph.h: delete NO_STD_LIST stuff
2898 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2900 * buffer.h: remove paragraph.h include
2902 * ParagraphList.C: delete file
2904 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2906 * toc.C (getTocList): adjust
2908 * paragraph_pimpl.C (validate): adjust
2910 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2912 * paragraph.C (Paragraph): adjust
2913 (getPositionOfInset): use const_iterator, adjust
2914 (bibitem): use const_iterator, adjust
2915 (setInsetOwner): adjust
2917 * iterators.C (operator++): adjust
2919 * InsetList.[Ch]: Replace selfmade iterator with standard
2920 vector::iterator also introduce const_iterator. Remove getPos,
2921 getInset and setInset from InsetTable. Adjust accordingly.
2923 * BufferView.C (lockInset): adjust
2924 (ChangeInsets): adjust
2926 * tabular.[Ch]: delete commented same_id functions
2928 2003-05-28 John Levon <levon@movementarian.org>
2930 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2932 2003-05-28 André Pönitz <poenitz@gmx.net>
2934 * metricsinfo.[Ch]: remove 'fullredraw' member
2936 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2938 * lyxtextclass.C (operator): remove caching.
2940 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2944 * text2.C (cursorBottom): adjust
2945 (setCounter): use ParagraphList::find, adjust
2947 * text.C (workWidth): use ParagraphList::find, adjust
2949 * lyxcursor.C (LyXCursor): adjust
2951 * buffer.C (inset_iterator): adjust
2953 * ParagraphList.h: make iterator(value_type) private, make
2954 ParagraphList a friend of iterator.
2956 * ParagraphList.C (find): new function
2958 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2960 2003-05-27 André Pönitz <poenitz@gmx.net>
2962 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2964 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2966 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2968 2003-05-26 John Levon <levon@movementarian.org>
2970 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2972 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2974 * remove same_id from function signatures, adjust.
2976 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2978 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2980 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2982 * paragraph.C (Paragraph): get rid of same_ids parameter
2984 * ParagraphList.C (insert): adjust
2987 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2989 * paragraph_funcs.C (breakParagraph): adjust
2990 (breakParagraphConservative): adjust
2992 * buffer.C (readParagraph): adjust
2994 * ParagraphList.C (insert): take a reference instead of a pointer
2997 * paragraph.[Ch] (id): new function
2999 * bufferlist.C (newFile): adjust
3001 * ParagraphList.C (ParagraphList): adjust
3003 (push_back): take a reference instead of a pointer.
3005 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3007 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3010 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3011 set else use old code.
3013 * ParagraphList.C: remove all NO_NEXT code and only compile this
3014 code of NO_STD_LIST is set.
3016 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3018 * BufferView_pimpl.C:
3028 * graphics/GraphicsConverter.C:
3029 * graphics/PreviewLoader.C: header adjustment
3031 2003-05-23 Angus Leeming <leeming@lyx.org>
3033 * LaTeXFeatures.[Ch] (useBabel): new method.
3034 * bufferparams.C (writeLaTeX): use it.
3036 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3038 * ParagraphList.h (set): remove unused function.
3040 2003-05-23 André Pönitz <poenitz@gmx.net>
3043 * BufferView_pimpl.C:
3047 * undo_funcs.C: setUndo reworked
3049 * iterators.[Ch]: add access to topmost ParagraphList
3051 * lyxtext.[Ch] (workWidth): add a const
3053 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3055 * texrow.[Ch] (increasePos): remove function
3056 * exporter.C (export): removed unused var and outdated comment
3058 2003-05-23 Angus Leeming <leeming@lyx.org>
3060 * latexrunparams.h: rename fragile as moving_arg.
3061 * paragraph.C (simpleTeXOnePar): ditto.
3062 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3064 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3066 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3068 (textUndoOrRedo): comment out a currently unused var.
3070 * paragraph.h (NO_NEXT): enable NO_NEXT
3072 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3074 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3076 * exporter.C (Export): adjust for removeAutoInsets removal.
3078 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3080 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3082 * BufferView.[Ch] (removeAutoInsets): delete function
3084 2003-05-22 Angus Leeming <leeming@lyx.org>
3086 * latexrunparams.h: add a free_spacing variable.
3088 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3089 to pass moving_arg, as the data is stored in runparams.fragile.
3091 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3092 to Inset::latexOptional or to simpleTeXOnePar.
3094 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3095 free_spacing arg to Inset::latexOptional.
3097 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3100 2003-05-22 Angus Leeming <leeming@lyx.org>
3102 * latexrunparams.h: add fragile and use_babel variables.
3104 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3105 * buffer.C (makeLaTeXFile): store this returned value in
3106 runparams.use_babel, thus passing it to the inset::latex methods.
3108 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3109 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3111 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3112 longer has a fragile arg, as it is stored in runparams.fragile.
3114 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3115 moving_arg parameter as the data is stored in runparams.fragile.
3117 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3118 a fragile parameter as the data is stored in runparams.fragile.
3120 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3122 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3124 2003-05-22 Angus Leeming <leeming@lyx.org>
3126 * latexrunparams.h: add a 'bool nice' which defaults to false.
3128 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3129 now encapsulated within runparams.
3131 * bufferlist.C (updateIncludedTeXfiles):
3132 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3134 2003-05-22 Angus Leeming <leeming@lyx.org>
3136 * latexrunparams.h: new file containing struct LatexRunParams.
3137 * Makefile.am: add new file.
3139 * LaTeX.[Ch] (c-tor, run):
3140 * buffer.[Ch] (makeLaTeXFile):
3141 * bufferlist.[Ch] (updateIncludedTeXfiles):
3142 * converter.C (convert, scanLog):
3143 * converter.[Ch] (runLaTeX):
3144 * exporter.C (Export):
3145 * paragraph.[Ch] (simpleTeXOnePar):
3146 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3147 * paragraph_funcs.[Ch] (latexParagraphs):
3148 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3149 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3150 pass around a LatexRunParams parameter.
3152 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3154 * paragraph.[Ch]: remove unused constructor
3156 * ParagraphList.C (erase): new function, taking two iterators
3158 2003-05-22 André Pönitz <poenitz@gmx.net>
3160 * undo_funcs.C: remove duplicated code
3162 * iterator.[Ch]: operator=
3164 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3166 * tabular.C (SetMultiColumn): ws changes
3168 * rowpainter.C (paintFirst): get rid of a ->previous
3170 * lyx_cb.C (getPossibleLabel): parlist simplification
3172 * BufferView.C (ChangeInsets): simplify slightly.
3174 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3176 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3177 * lfuns.h: new LFUN_SPACE
3178 * lyxfunc.C: protected space has a new lfun
3179 * paragraph_funcs.C: read new space insets
3181 * factory.C: handle new space insets
3183 2003-05-22 André Pönitz <poenitz@gmx.net>
3186 * BufferView_pimpl.C:
3189 * undo_funcs.C: return a ParIterator from getParFromID.
3191 * iterators.[Ch]: add two const's
3193 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3195 * toc.C (getTocList): adjust
3197 * iterators.[Ch]: rework for parlist
3199 * buffer.C (par_iterator_begin): adjust
3200 (par_iterator_end): adjust
3202 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3204 * BufferView.C (removeAutoInsets): adjust
3205 (ChangeInsets): adjust
3207 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3209 * text.C (top_y): fix bug 1110
3211 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3213 * errorlist.[Ch]: added
3216 * BufferView_pimpl.C:
3217 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3220 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3222 * Makefile.am: ensure that lyx is relinked upon changes to the
3223 various "convenience" libs.
3225 2003-05-20 Angus Leeming <leeming@lyx.org>
3227 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3228 files are compiled in alphabetical order again.
3230 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3232 2003-05-19 Angus Leeming <leeming@lyx.org>
3234 * gettext.[Ch]: remove "char const * _(char const *)".
3236 2003-05-19 André Pönitz <poenitz@gmx.net>
3238 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3247 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3249 2003-05-19 André Pönitz <poenitz@gmx.net>
3253 * lyxtextclass.[Ch]:
3255 * paragraph_funcs.[Ch]:
3257 * text3.C: more insetenv work
3259 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3261 * ParagraphParameters.C (params2string): small bug fixed
3263 2003-05-16 André Pönitz <poenitz@gmx.net>
3266 * bufferview_funcs.C: patch from Kornel Benko to prevent
3267 crash when _(...) is called twice in a statement
3269 2003-05-16 André Pönitz <poenitz@gmx.net>
3276 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3278 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3280 * lyx_main.C (init): remove spurious static_cast
3282 2003-05-14 André Pönitz <poenitz@gmx.net>
3284 * BufferView.C: fix format string
3286 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3288 * BufferView.[Ch] (insertErrors): removed
3289 * BufferView.[Ch] (showErrorList): added
3290 * buffer.C (runChkTeX):
3291 * converter.C (scanLog): call showErrorList instead of inserterrors
3293 2003-05-13 André Pönitz <poenitz@gmx.net>
3295 * BufferView_pimpl.C:
3297 * bufferview_func.C:
3304 * tabular_funcs.h: tostr() from its own header
3306 * ParagraphParameters.C:
3311 * text3.C: STRCONV()
3313 2003-05-12 André Pönitz <poenitz@gmx.net>
3316 * BufferView_pimpl.C:
3320 * ParagraphParameters.C:
3324 * bufferview_funcs.C:
3337 * paragraph_funcs.C:
3341 * text3.C: boost::format -> bformat all over the place
3344 2003-05-09 André Pönitz <poenitz@gmx.net>
3346 * LColor.[Ch]: Pimpl the #include <map> away
3348 2003-05-09 John Levon <levon@movementarian.org>
3350 * bufferlist.C: never remove emergency saves
3352 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3354 * Makefile.am: better lib building
3356 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3358 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3360 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3361 (simpleTeXSpecialChars): adjust
3362 (simpleTeXSpecialChars): adjust
3363 * paragraph.C (simpleTeXOnePar): adjust
3364 * buffer.C (makeLaTeXFile): adjust
3366 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3368 * text2.C (changeDepth): parlist cleanup
3369 (getColumnNearX): ditto
3371 * rowpainter.C (getLabelFont): parlist cleanup
3373 * bufferlist.C (newFile): parlist cleanup
3375 * CutAndPaste.C (eraseSelection): parlist cleanup
3377 * BufferView_pimpl.C (trackChanges): parlist cleanup
3380 * BufferView.C (lockInset): parlist cleanup.
3381 (ChangeInsets): ditto
3383 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3385 * CutAndPaste.h: Update file header.
3387 * CutAndPaste.C: Update file header.
3388 Store the parts cut out of the Document in a limited_stack.
3389 (copySelection): adjust
3390 (pasteSelection): new function, takes the index in the limited stack.
3391 (nrOfParagraphs): adjust
3392 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3393 simplify error inset insertion.
3394 (checkPastePossible): adjust
3396 2003-05-06 John Levon <levon@movementarian.org>
3398 * text2.C: don't cast wrap inset to float
3400 2003-05-05 André Pönitz <poenitz@gmx.net>
3403 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3405 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3406 few naked Paragraph *.
3408 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3410 * bufferparams.C: Output warning if a document with missing
3411 TeX document class is loaded
3412 * exporter.C: Disable TeX exports if the document class is missing
3415 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3416 isTeXClassAvailable()
3418 2003-05-03 John Levon <levon@movementarian.org>
3421 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3422 explicit cursor show/hide
3424 * BufferView_pimpl.h:
3425 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3426 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3428 * lyxfunc.C: hide cursor before dispatching.
3433 * text3.C: remove explicit cursor hides
3435 2003-05-02 André Pönitz <poenitz@gmx.net>
3437 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3440 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3443 * text2.C: tiny whitespace
3445 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3447 * undo_funcs.C: almost only ws changes.
3449 * ParagraphList.C (splice): just return if pl is empty.
3451 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3453 * ParagraphList.C (splice): new function.
3455 * CutAndPaste.C (pasteSelection): use it
3457 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3459 * CutAndPaste.C (pasteSelection): remove the last next and
3460 previous from this file.
3462 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3464 * CutAndPaste.C (pasteSelection): more clean up, user proper
3465 ParagraphList functions for pasteing.
3467 * ParagraphList.C (insert): new function, three arg insert
3469 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3471 * ParagraphList.C (insert): new function, three arg insert
3473 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3476 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3478 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3480 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3482 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3484 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3486 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3487 (copySelection): clean up a bit.
3488 (pasteSelection): use make_pair
3490 * ParagraphList.C (ParagraphList): implement copy constructor
3491 (operator=): implement, base on copy constructor.
3494 * paragraph.C (erase): return a bool
3496 * paragraph_pimpl.C (erasePos): remove function, move contents...
3497 (erase): ... here. Return a bool.
3498 (erase): call erase instead of erasePos.
3500 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3502 * ParagraphList.h: define PitPosPair
3503 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3504 ParagraphList, fix a bug on pasting multiple pars
3505 * text2.C: change interface to C&P
3507 2003-04-30 André Pönitz <poenitz@gmx.net>
3509 * undo_func.C: revert part of yesterday's patch 2
3511 2003-04-30 John Levon <levon@movementarian.org>
3513 * LColor.C: s/tabular/table/
3515 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3517 * text3.C (dispatch): do not convert iterator -> pointer
3518 * undo_funcs.C (setCursorParUndo): ditto
3519 * text_funcs.C (transposeChars): ditto
3521 * text2.C (setLayout): ws changes only
3523 * text.C (breakParagraph): do not convert iterator -> pointer
3525 (acceptChange): ditto
3526 (rejectChange): ditto
3531 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3534 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3536 * text3.C (gotoInset): YABG (yet another bad getChar)
3538 2003-04-29 André Pönitz <poenitz@gmx.net>
3540 * paragraph.h: make operator= private unimplemented as long as
3543 * ParagraphList.C: whitespace
3546 * paragraph_pimpl.[Ch]:
3547 * paragraph_funcs.C:
3549 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3552 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3554 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3556 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3557 * paragraph.[Ch] (erase):
3558 * paragraph_pimpl.[Ch] (erase): change return type and value
3559 * text2.C (cutSelection): some rework
3561 2003-04-28 John Levon <levon@movementarian.org>
3563 * bufferlist.C: changes for unsaved changes dialog
3565 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3567 * bufferlist.C (newFile): set language (messages_) for new
3570 * buffer.C (readFile): ws changes only.
3572 2003-04-28 André Pönitz <poenitz@gmx.net>
3577 * BufferView_pimpl.C:
3578 * BufferView.C: getParFromID related ParagraphList::iterator changes
3580 2003-04-28 André Pönitz <poenitz@gmx.net>
3582 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3585 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3587 * messages.C: remove one more localedir class variable.
3589 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3591 * messages.C (getLocaleDir): singleton generation function
3593 (Messages): add a default constructor.
3595 * main.C (main): do not setup localedir here, do not call
3598 * gettext.C (_): use it.
3599 (gettext_init): delete funciton
3601 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3603 * gettext.C (getLyXMessages): new singleton generating function.
3605 * buffer.C (updateDocLang): adjust
3607 * Makefile.am (messages.o): add target
3608 (main.o): remove target
3610 2003-04-27 John Levon <levon@movementarian.org>
3615 * lyxvc.C: specify cancel button in Alert::prompt
3617 2003-04-26 John Levon <levon@movementarian.org>
3622 * LyXAction.C: add LFUN_INSET_SETTINGS
3624 * lyxfunc.C: don't enable tabular-feature when there's
3625 just any locking inset
3627 2003-04-26 John Levon <levon@movementarian.org>
3629 * bufferlist.C: re-add Cancel to buffer close question
3631 * lyxfunc.C: fix import UI a bit
3633 2003-04-25 John Levon <levon@movementarian.org>
3635 * gettext.C: remove the broken asserts for now
3637 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3639 * messages.C: make case where setlocale cannot comply work better.
3641 * buffer.C (updateDocLang): new function
3642 (changeLanguage): use it
3645 * text2.C (setCounter): use B_ a bit.
3647 * lyxlayout.C (Read): be sure to trim the label strings.
3649 * messages.C (Messages): fix typo in comment
3651 * buffer.C (readFile): set message_ after file is loaded.
3652 (makeDocBookFile): remove double return
3653 (changeLanguage): reset message_ upon language change.
3654 (B_): new func, use this to get translated buffer strings.
3656 * main.C: add myself and Jean Marc as authors.
3658 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3660 * messages.[hC]: pimplify Messages, and three different pimpls to be
3661 used in different circumstances.
3663 * gettext.[Ch]: change for use with new message code.
3665 2003-04-24 André Pönitz <poenitz@gmx.net>
3667 * factory.C: support for eqref
3669 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3671 * messages.[Ch]: add missing char
3673 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3675 * messages.[Ch]: New files
3677 2003-04-18 John Levon <levon@movementarian.org>
3681 * BufferView_pimpl.C:
3685 * text2.C: remove layout-copy/paste (bug 778)
3687 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3689 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3691 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3693 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3694 if they succeed. Act accordingly.
3696 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3698 * text2.C (setCharFont): adjust
3699 (setCounter): adjust
3700 (insertStringAsLines): adjust
3702 * text.C (leftMargin): adjust
3703 (setHeightOfRow): adjust
3705 * rowpainter.C (paintFirst): adjust
3708 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3710 (isFirstInSequence): ditto
3711 (getEndLabel): ditto
3714 * paragraph.C (getParLanguage): comment out some hard stuff.
3716 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3718 (simpleDocBookOnePar): ditto
3719 (makeDocBookFile): use ParagraphList::iterator
3721 * CutAndPaste.C (pasteSelection): adjust
3723 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3725 * text2.C (getFont): adjust
3726 (getLayoutFont): adjust
3727 (getLabelFont): adjust
3729 * paragraph_funcs.C (TeXOnePar): adjust
3731 * buffer.C (simpleLinuxDocOnePar): adjust
3732 (simpleDocBookOnePar): adjust
3734 * CutAndPaste.C (pasteSelection): adjust
3736 * BufferView.C (getEncoding): adjust
3738 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3740 2003-04-16 John Levon <levon@movementarian.org>
3742 * lyxfind.C: use parlist stuff for search/changes
3744 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3746 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3748 * text2.C (deleteEmptyParagraphMechanism): adjust
3750 * text2.[Ch] (ownerParagraph): delete func (both of them
3752 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3754 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3756 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3758 * ParagraphList.C: prepare for NO_NEXT
3760 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3762 * text2.C (getFont): adjust
3763 (getLayoutFont): adjust
3764 (getLabelFont): adjust
3766 * paragraph.C (getFont): adjust
3767 (getLabelFont): adjust
3768 (getLayoutFont): adjust
3770 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3772 2003-04-15 John Levon <levon@movementarian.org>
3776 * lyx_main.C: handle Include in .ui files
3778 2003-04-15 John Levon <levon@movementarian.org>
3780 * MenuBackend.C: make the doc files length shorter
3783 * ToolbarBackend.C: handle toolbar placement flags,
3786 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3788 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3791 * paragraph_funcs.C (TeXOnePar): adjust
3793 * paragraph.C (getLabelFont): add outerfont arg, adjust
3794 (getLayoutFont): ditto
3795 (simpleTeXOnePar): adjust
3797 * paragraph_pimpl.C (realizeFont): delete func
3799 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3801 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3802 row argument, constify cur argument.
3804 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3806 * text2.C (getFont): adjust
3807 (getLayoutFont): adjust
3808 (getLabelFont): adjust
3810 * paragraph_funcs.C (TeXOnePar): adjust
3811 (outerFont): new func...
3812 (realizeFont): ...moved out from here, changed this to facilitate
3815 * paragraph.C (getFont): take outerfont as arg, adjust
3816 (simpleTeXOnePar): add outerfont arg, adjust
3818 * buffer.C (simpleLinuxDocOnePar): adjust
3819 (simpleDocBookOnePar): adjust
3821 * CutAndPaste.C (pasteSelection): adjust
3823 * BufferView.C (getEncoding): adjust
3825 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3827 * text2.C (setCharFont): adjust
3828 (setCounter): adjust
3830 * text.C (leftMargin): adjust
3831 (setHeightOfRow): adjust
3833 * rowpainter.C (paintFirst): adjust
3836 * paragraph_pimpl.C (realizeFont): adjust
3838 * paragraph.C (isFirstInSequence): move from here...
3839 * paragraph_funcs.C (isFirstInSequence): ...to here
3841 * paragraph.C (outerHook): move from here...
3842 * paragraph_funcs.C (outerHook): ...to here
3844 * paragraph.C (depthHook): move from here...
3845 * paragraph_funcs.C (depthHook): ...to here
3847 * paragraph.C (getEndLabel): move from here...
3848 * paragraph_funcs.C (getEndLabel): ...to here
3850 * text2.C (realizeFont): move from here...
3851 * paragraph_funcs.C (realizeFont): ...to here
3853 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3855 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3857 2003-04-14 Angus Leeming <leeming@lyx.org>
3859 * LColor.[Ch]: scrap LColor mathcursor.
3861 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3863 * lyxlex.[Ch] (text): delete function
3864 * trans.C (Load): adjust
3865 * paragraph_funcs.C (readParToken): adjust
3867 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3869 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3870 vector<char> instead of a char[].
3872 * lyxlex_pimpl.C (getString): adjust
3874 (lex): use getString
3878 * lyxlex.C (text): use pimpl_->getString()
3882 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3884 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3885 (makeFontEntriesLayoutSpecific): temp var for par.size()
3886 (setLayout): temp var for ownerParagraphs().end()
3887 (fullRebreak): temp var for rows().end()
3888 (selectionAsString): temp var for boost::next(startpit), realize
3889 that the while really is a regular for loop.
3890 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3891 setCursor in one place.
3892 (setParagraph): temp vr for ownerParagraphs().end()
3893 (updateCounters): make the while loop a for loop
3894 (cutSelection): temp var for ownerParagraphs().end()
3895 (updateInset): make the do {} while() a regular for loop
3896 (getCursorX): use temp vars
3897 (setCurrentFont): use temp vars
3898 (getColumnNearX): use temp vars
3900 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3902 * text.C (transformChar): use temp var for getChar
3903 (computeBidiTables): use temp var for row->par()
3904 (fill): move temp vars for row->par() and pit->layout() earlier in
3906 (labelFill): use temp var for row->par()
3907 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3908 asc and desc, realize that pit never changes and that firstpit is
3909 just a duplicate and not needed. Exchange rit->par() with pit in a
3911 (breakAgain): use a temp var for boost::next(rit)
3912 (breakAgainOneRow): ditto
3913 (breakParagraph): use a temp var for rows().begin()
3914 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3915 (cursorRightOneWord): use temp var for cursor.par() and
3916 cursor.pos(), remove usage of tmpcursor.
3917 (cursorLeftOneWord): use temp var for cursor.par() and
3918 cursor.pos() only set cur at end of function.
3920 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3922 * text.C, text2.C: exchange all usage of Paragraph::next with
3923 boost::next(ParagraphList::iterator)
3925 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3927 * text2.C (cursorTop): simplify implementation
3928 (cursorBottom): ditto
3929 (setParagraph): use ParagraphList::iterator
3930 (setCurrentFont): adjust
3931 (getColumnNearX): adjust
3932 (cursorRight): adjust
3933 (cursorLeft): remove usage of Paragraph::previous
3934 (cursorUpParagraph): ditto
3935 (deleteEmptyParagraphMechanism): slight cleanup
3937 * text.C (isBoundary): take a Paragraph const & instead of a
3939 (addressBreakPoint): ditto
3940 (leftMargin): remove usage of Paragraph::previous.
3941 (setHeightOfRow): ditto
3942 (cursorLeftOneWord): ditto
3943 (selectNextWordToSpellcheck): ditto
3946 (breakParagraph): remove one usage of Paragraph::next
3947 (redoParagraph): ditto
3948 (acceptChange): ditto
3949 (insertChar): adjust
3950 (rowBreakPoint): adjust
3952 * bufferview_funcs.C (toggleAndShow): adjust
3954 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3956 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3957 methods to access it.
3959 * text.C: Added updateRowPositions to compute all row positions.
3960 Make top_y and getRowNearY() to use the cached y position
3962 2003-04-11 John Levon <levon@movementarian.org>
3964 * text.C (rowBreakPoint): reintroduce the labelEnd
3965 checks, code copied from the row fill stuff. Deep voodoo.
3967 * text.C (fill): add a comment and debugging for the
3970 2003-04-11 John Levon <levon@movementarian.org>
3972 * text.C: make sure fullrow insets get wrapped to the next line,
3973 even when they're in a manual label
3975 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3977 * text2.C (insertParagraph): make it take ParagraphList::iterator
3979 (setLayout): make it return ParagraphList::iterator
3980 (redoParagraphs): ditto
3982 (checkParagraph): ditto
3984 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3986 * text2.C: adjust several funcs.
3987 (realizeFont): take a ParagraphList::iterator as arg.
3988 (getLayoutFont): ditto
3989 (getLabelFont): ditto
3990 (setCharFont): ditto
3992 * text.C: adjust several funcs.
3994 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3996 * text.C (selectNextWordToSpellcheck): don't accidentally
3999 2003-04-10 John Levon <levon@movementarian.org>
4001 * ToolbarBackend.C (getIcon): special handling for
4004 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4006 * text2.C (cursorRight): a getChar assert fixed
4008 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4010 * text2.C (getFont): change to take a ParagraphList::iterator
4011 instead of Paragraph*
4012 Adjust several functions.
4014 * text.C (transformChar): change to take a ParagraphList::iterator
4015 instead of Paragraph*
4016 (singleWidth): ditto
4017 Adjust several functions.
4019 * rowpainter.C: adjust several functions
4020 * rowpainter.h:store a ParagraphList::iterator and not a
4024 2003-04-09 John Levon <levon@movementarian.org>
4029 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4030 and the "help" bits as well
4032 2003-04-09 John Levon <levon@movementarian.org>
4035 * ToolbarBackend.C: allow multiple toolbars
4037 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4039 * undo_funcs.C (setCursorParUndo): adjust
4041 * text_funcs.C (transposeChars): adjust
4043 * text3.C (gotoNextInset): adjust
4046 * text2.C (setLayout): adjust
4047 (changeDepth): adjust
4049 (redoParagraphs): adjust
4050 (selectionAsString): adjust
4051 (setParagraph): adjust
4052 (insertInset): adjust
4053 (cutSelection): adjust
4054 (copySelection): adjust
4055 (pasteSelection): adjust
4056 (insertStringAsLines): adjust
4057 (updateInset): adjust
4058 (setCursor): change to take a ParagraphList::iterator parameter
4059 (setCursorIntern): change to take a ParagraphList::iterator parameter
4060 (setCurrentFont): adjust
4061 (cursorLeft): adjust
4062 (cursorRight): adjust
4063 (deleteEmptyParagraphMechanism): adjust
4065 * text.C (breakParagraph): adjust
4066 (insertChar): adjust
4067 (acceptChange): adjust
4068 (rejectChange): adjust
4069 (selectNextWordToSpellcheck): adjust
4070 (changeCase): adjust
4074 * lyxfind.C (SearchForward): adjust
4075 (SearchBackward): adjust
4076 (nextChange): adjust
4078 * lyxcursor.C (par): adjust
4080 * lyxcursor.h: store a ParagraphList::iterator instead of a
4083 * lyx_cb.C (getPossibleLabel): adjust
4085 * bufferview_funcs.C (toggleAndShow): adjust
4087 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4090 * BufferView.C (removeAutoInsets): adjust
4091 (lockedInsetStoreUndo): adjust
4093 2003-04-09 John Levon <levon@movementarian.org>
4095 * ToolbarBackend.C: try icon without argument
4096 if with argument fails
4098 2003-04-08 John Levon <levon@movementarian.org>
4101 * ToolbarBackend.C: add getIcon(), handle tooltip,
4102 and change from "Icon" to "Item".
4104 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4106 * BufferView.C (lockInset): another bad getchar crunched
4108 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4110 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4113 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4115 * lyxfind.C (searchForward, searchBackwards): bug 782
4117 2003-04-07 John Levon <levon@movementarian.org>
4119 * paragraph.C: remove dead comment
4121 * text.C: remove troublesome depth-fiddling code
4122 in leftMargin() and rightMargin() (bug 1017)
4124 * text.C: fix breaking of rows in nested lists
4127 * text2.C (updateCounters): fix up depth values
4130 2003-04-07 John Levon <levon@movementarian.org>
4132 * BufferView_pimpl.C: clear message when doc finishes resizing,
4133 and after a mouse event
4135 * lyxfunc.C: clear message after exiting inset
4137 2003-04-07 John Levon <levon@movementarian.org>
4139 * bufferview_funcs.C: show math status not outside
4140 status in the statusbar
4142 2003-04-07 John Levon <levon@movementarian.org>
4144 * lyxfunc.C: note status changed after a depth change
4146 2003-04-04 Angus Leeming <leeming@lyx.org>
4148 * LaTeX.h: move AuxInfo operator==, != out of line.
4149 Remove LaTeX virtual destructor; nothing derives from it.
4150 Move operator()() out of public area and rename it startscript().
4151 Change protected for private.
4153 2003-04-04 Angus Leeming <leeming@lyx.org>
4156 * text2.C: remove unneeded #includes.
4158 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4160 * text2.C (dEPM): fix the heigth of the next row
4162 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4164 * text.C: squashed an invalid getChar requester + some ws changes
4166 2003-04-03 John Levon <levon@movementarian.org>
4168 * bufferview_funcs.h:
4169 * bufferview_funcs.C:
4172 * text2.C: make getStatus work for the env depth lfuns
4174 2003-04-03 John Levon <levon@movementarian.org>
4176 * bufferview_funcs.h:
4177 * bufferview_funcs.C:
4180 * text2.C: parlistize decDepth(), by merging it with incDepth()
4182 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4184 * lyxrow.h: store a ParagraphList::iterator instead of a
4185 Paragraph* and adjust other class functions to suit.
4187 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4190 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4192 * text2.C (setCursor): do not anchor to cursor row for the time being
4194 2003-04-02 John Levon <levon@movementarian.org>
4201 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4203 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4205 * paragraph.h: make ParagraphList and ParagraphList::iterator
4206 friends of Paragraph.
4208 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4210 * ParagraphList.C: Use the private next_ and previous_ from
4213 2003-04-01 John Levon <levon@movementarian.org>
4217 * Makefile.am: rename, remove defaults gunk
4220 * MenuBackend.C: remove defaults gunk
4223 * Languages.C: remove defaults gunk
4226 * lyx_main.C: error out if files couldn't be found.
4228 2003-04-02 John Levon <levon@movementarian.org>
4230 * text2.C: make incDepth() use parlist
4232 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4234 * undo_funcs.C (firstUndoParagraph): adjust
4236 * text3.C (gotoInset): adjust
4237 (dispatch): adjust, and rewrite loop.
4239 * text2.C (init): adjust, and rewrite loop.
4240 (redoParagraphs): adjust
4241 (updateInset): adjust, and rewrite loop.
4242 (deleteEmptyParagraphMechanism): adjust
4244 * tabular.C (LyXTabular): adjust
4245 (SetMultiColumn): adjust
4248 * lyxtext.[Ch] (ownerParagraph): delete function
4249 (ownerParagraphs): new function returns a ParagraphList.
4251 * BufferView.C (removeAutoInsets): adjust
4252 (insertErrors): adjust
4253 (setCursorFromRow): adjust
4255 2003-04-01 Angus Leeming <leeming@lyx.org>
4257 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4260 2003-04-02 John Levon <levon@movementarian.org>
4266 * text_funcs.C: make transposeChars a free function
4268 * lyxrow_funcs.C: remove wrong comment
4270 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4273 * rowpainter.C: adjust
4278 * lyxrow_funcs. [Ch]: new files
4280 * lyxrow.[Ch]: remove next and previous pointers
4281 (next,previous): remove accessor functions
4282 (isParEnd): move to lyxrow_funcs
4283 (lastPos): move to lyxrow_funcs
4284 (nextRowIsAllInset): move to lyxrow_funcs
4285 (lastPrintablePos): move to lyxrow_funcs
4286 (numberOfSeparators): move to lyxrow_funcs
4287 (numberOfHfills): move to lyxrow_funcs
4288 (numberOfLabelHfills): move to lyxrow_funcs
4289 (hfillExpansion): move to lyxrow_funcs
4293 * bufferview_funcs.C (toggleAndShow): adjust
4295 * RowList.h: Remove class RowList from file leave just a
4298 * RowList.C: delete file
4300 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4303 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4305 * text3.C (cursorPrevious): adjust
4306 (cursorNext): adjust
4309 * text2.C (redoHeightOfParagraph): adjust
4310 (redoDrawingOfParagraph): adjust
4313 * text.C (breakParagraph): adjust
4314 (insertChar): adjust
4317 * rowpainter.C (RowPainter): adjust
4318 (leftMargin): simplify and adjust
4319 (most rowpainter functions): adjust.
4321 * rowpainter.h: store the row as RowList::iterator not as Row*
4323 * lyxcursor.C (row): taka RowList::iterator as arg
4326 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4329 2003-04-01 Angus Leeming <leeming@lyx.org>
4331 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4332 stuff like bool Bool.
4334 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4336 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4339 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4341 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4344 * lyxtext.h (rows): drop one version and leve a const variant that
4345 returns a RowList::iterator.
4347 2003-03-31 Angus Leeming <leeming@lyx.org>
4349 * text.C (fill): ensure that the signature is the same as that in the
4352 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4354 * text2.C (redoParagraphs): adjust
4355 (updateCounters): adjust
4356 (checkParagraph): adjust
4357 (getColumnNearX): adjust and reformat a bit.
4359 * text.C (top_y): adjust
4361 (leftMargin): adjust
4362 (prepareToPrint): adjust
4364 (getRowNearY): adjust
4366 * lyxtext.h: make rowlist_ mutable.
4368 * RowList.h: add const_iterator
4369 * RowList.C: adjust for RowList::const_iterator.
4371 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4374 2003-03-31 John Levon <levon@movementarian.org>
4377 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4379 * lyx_main.C: set default fonts from using lyx_gui funcs
4381 * exporter.C: pdf_mode moved from lyxrc
4384 * lyxfunc.C: changes from above
4386 2003-03-31 John Levon <levon@movementarian.org>
4388 * lyx_main.C: fix to the last fix
4390 2003-03-31 John Levon <levon@movementarian.org>
4392 * bufferlist.C: "Load original" -> "Load Original"
4398 * format.C: more Alert cleanups
4400 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4402 * text2.C (removeParagraph): make it take a RowList::iterator as
4404 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4405 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4407 * text.C (anchor_row): make it take a RowList::iterator as arg,
4409 (computeBidiTables): make it take a const reference to Row instead
4410 of Row pointer, adjust.
4411 (leftMargin): make it take a RowList::iterator as arg, adjust.
4412 (rowBreakPoint): adjust
4413 (breakAgainOneRow): make it take a RowList::iterator as arg,
4415 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4417 * bufferview_funcs.C (toggleAndShow): adjust
4419 2003-03-30 John Levon <levon@movementarian.org>
4423 * boost-inst.C: moved to support
4425 * several files: changes as a result
4427 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4429 * text2.C (LyXText): adjust.
4431 (removeRow): make it take a RowList::iterator as arg, adjust.
4432 (fullRebreak): adjust
4433 (deleteEmptyParagraphMechanism): adjust
4434 (clearPaint): adjust
4437 * text.C (top_y): adjust
4438 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4439 (breakAgain): make it take a RowList::iterator as arg, adjust.
4440 (breakParagraph): adjust
4441 (insertChar): adjust
4444 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4445 need_break_row, and refresh_row.
4447 * text3.C (dispatch): adjust
4449 * text2.C (checkParagraph): adjust
4451 (setCursorFromCoordinates): adjust
4453 * text.C (top_y): adjust
4455 (getRow): make it return a RowList::iterator, adjust
4456 (getRowNearY): make it return a RowList::iterator, adjust
4458 * text2.C (init): adjust
4459 (insertRow): remove function
4460 (insertParagraph): adjust
4461 (redoParagraphs): adjust
4462 (fullRebreak): adjust
4463 (updateCounters): adjust
4465 * text.C (top_y): rewrite to use RowList iterators.
4467 (setHeightOfRow): rewrite to sue RowList iterators.
4468 (appendParagraph): adjust
4469 (breakAgain): adjust
4470 (breakAgainOneRow): adjust
4471 (breakParagraph): adjust
4473 (getRowNearY): adjust, and remove commented code.
4475 * lyxtext.h (firstRow): delete function
4476 (lastRow): delete function
4477 (rows): new function (const and non-const versions.)
4478 (insertRow): delete function
4480 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4482 2003-03-29 John Levon <levon@movementarian.org>
4484 * BufferView_pimpl.C: always update scrollbar top
4485 because pasting text when we're anchored could mean we
4486 miss an update altogether
4488 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4490 * text2.C (init): use rowlist_.end() and not 0.
4491 (insertRow): change to take a RowList::iterator as arg, adjust
4493 (insertParagraph): change to take a RowList::iterator as arg,
4495 (redoParagraphs): remove some debug msgs.
4497 * text.C (appendParagraph): change to take a RowList::iterator
4498 arg, adjust for this.
4499 (breakAgain): add an assert
4500 (breakAgainOneRow): ditto
4502 2003-03-29 John Levon <levon@movementarian.org>
4504 * text2.C: do not clear selection after inc/decDepth
4507 2003-03-29 John Levon <levon@movementarian.org>
4510 * buffer.C: fix broken strerrors according to Lars
4512 2003-03-29 John Levon <levon@movementarian.org>
4514 * converters.C: more Alert cleanups
4516 2003-03-29 John Levon <levon@movementarian.org>
4518 * bufferview_funcs.C: remove pointless Alert
4520 * buffer.C: fix confusing error message when
4521 a template is chmoded 000
4523 2003-03-29 John Levon <levon@movementarian.org>
4527 * BufferView_pimpl.C: Alert fixes
4531 * tabular-old.C: remove unused table compat reading
4533 2003-03-29 John Levon <levon@movementarian.org>
4538 * lyx_cb.C: more Alert cleanups
4540 * lyxfunc.C: don't allow chktex if not latex document
4542 2003-03-29 John Levon <levon@movementarian.org>
4546 * buffer.C: warnings pushed down from support/,
4549 2003-03-29 John Levon <levon@movementarian.org>
4551 * lyxfunc.C: safety check for C-r (revert)
4553 2003-03-29 John Levon <levon@movementarian.org>
4556 * bufferlist.C: several UI fixes using Alert::prompt.
4557 Fix the pointless looping quit code. Fix stupid revert
4562 * lyx_cb.C: use Alert::prompt
4564 * lyx_main.C: remove a silly question
4566 * lyxfunc.C: remove a couple of silly questions,
4569 2003-03-28 John Levon <levon@movementarian.org>
4571 * text2.C: fix bug 974 (End on empty par)
4573 2003-03-28 John Levon <levon@movementarian.org>
4575 * BufferView_pimpl.C:
4577 * lfuns.h: remove do-nothing math greek lfuns
4579 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4581 * lyxgluelength.h (isValidGlueLength): add default arg on
4582 parameter 2. Remove default arg from friend in class.
4584 * lyxlength.h (isValidLength): add default arg on parameter 2.
4585 Remove default arg from friend in class.
4587 * text2.C (LyXText): adjust, initialize refresh_row.
4591 (insertParagraph): adjst
4592 (redoParagraphs): adjust
4593 (fullRebreak): adjust
4594 (updateCounters): adjust
4595 (deleteEmptyParagraphMechanism): first attempt at fixing a
4598 * text.C (top_y): adjust
4599 (setHeightOfRow): adjust
4601 (getRowNearY): adjust
4603 * lyxtext.h: include RowList.h
4604 (~LyXText): not needed anymore, deleted.
4605 (firstRow): modify for RowList
4606 (lastRow): new function
4607 Delete firstrow and lastrow class variables, add a Rowlist
4608 rowlist_ class variable.
4610 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4613 * RowList.C (insert): fix case where it == begin().
4615 2003-03-26 Angus Leeming <leeming@lyx.org>
4617 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4618 the thesaurus dialog.
4620 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4622 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4624 * RowList.[Ch]: new files
4626 * ParagraphList.C (erase): handle the case where it == begin
4629 2003-03-25 John Levon <levon@movementarian.org>
4633 * aspell.C: add new aspell support
4636 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4639 2003-03-25 Angus Leeming <leeming@lyx.org>
4642 * LyXAction.C (init): new LFUN_INSET_INSERT.
4644 * BufferView_pimpl.C (dispatch): split out part of the
4645 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4647 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4650 2003-03-25 Angus Leeming <leeming@lyx.org>
4652 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4654 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4657 * text3.C: remove useless row->height(0)
4659 2003-03-25 John Levon <levon@movementarian.org>
4663 * text3.C: rename the refreshing stuff to better names
4665 2003-03-24 John Levon <levon@movementarian.org>
4667 * BufferView_pimpl.h:
4668 * BufferView_pimpl.C: update layout choice on a mouse
4671 2003-03-23 John Levon <levon@movementarian.org>
4673 * Makefile.am: fix commandtags.h reference
4675 2003-03-22 John Levon <levon@movementarian.org>
4677 * BufferView_pimpl.C:
4682 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4684 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4687 * text.C: take the rtl methods out of line
4689 2003-03-21 André Pönitz <poenitz@gmx.net>
4691 * metricsinfo.[Ch]: new files containing structures to be passed around
4692 during the two-phase-drawing...
4694 2003-03-21 André Pönitz <poenitz@gmx.net>
4696 * lyxtextclass.C: read 'environment' tag.
4698 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4700 * text2.C (removeRow): fix bug 964
4702 2003-03-20 John Levon <levon@movementarian.org>
4706 * text2.C: paint cleanups. Inset::update() dropped font
4709 2003-03-19 John Levon <levon@movementarian.org>
4711 * lyxfunc.C: only fitcursor/markDirty if available()
4713 2003-03-19 John Levon <levon@movementarian.org>
4715 * commandtags.h: rename to ...
4717 * lfuns.h: ... this, and renumber / cleanup
4719 2003-03-19 John Levon <levon@movementarian.org>
4721 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4722 fit the cursor after an lfun
4726 * BufferView_pimpl.h:
4727 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4729 * LyXAction.C: layout-character should have ReadOnly
4731 * ParagraphParameters.C:
4733 * bufferview_funcs.C:
4740 * undo_funcs.C: changes from above
4742 2003-03-18 John Levon <levon@movementarian.org>
4744 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4745 remove it from update()
4747 * lyxfunc.C: update layout choice after an lfun
4749 * text3.C: remove extra updateLayoutChoice()s
4751 2003-03-18 John Levon <levon@movementarian.org>
4753 * text.C: top_y change means full repaint, fix
4754 a drawing bug with cursor movement
4756 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4760 * text2.C: anchor row on setCursor
4762 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4764 * lyxtext.h: remove almost all mutable keywords
4767 * text3.C: remove const keywords accordingly
4769 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4771 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4773 (TeXEnvironment): ditto
4776 2003-03-17 John Levon <levon@movementarian.org>
4778 * text.C (rowBreakPoint): remove attempt to fix displayed
4779 math insets inside a manual label
4781 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4783 * lyxtext.h: remove BufferView* as first arg from almost all class
4785 * other files: adjust.
4787 2003-03-17 John Levon <levon@movementarian.org>
4791 * text2.C: more paint cleanups
4793 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4796 * rowpainter.C: remove "smart" background painting code
4798 2003-03-16 John Levon <levon@movementarian.org>
4803 * text3.C: add helper functions for setting refresh_row/y
4805 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4807 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4808 newline inset which *can* get inserted in the pass_thru layouts.
4809 This is primarily for literate documents.
4811 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4813 * buffer.C: increment LYX_FORMAT to 223
4815 2003-03-14 André Pönitz <poenitz@gmx.net>
4817 * textclass.h: prepare for environment handling, ws changes
4818 * lyxlayout.C: read latexheader and latexfooter tags
4820 2003-03-14 John Levon <levon@movementarian.org>
4822 * text2.C: rewrite ::status() a bit
4824 2003-03-13 John Levon <levon@movementarian.org>
4826 * lyxtext.h: add some docs
4828 2003-03-13 John Levon <levon@movementarian.org>
4833 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4835 2003-03-13 John Levon <levon@movementarian.org>
4837 * text3.C: fix appendix redrawing
4839 2003-03-13 John Levon <levon@movementarian.org>
4841 * text.C (setHeightOfRow):
4843 * rowpainter.C: make appendix mark have the text
4844 "Appendix" so the user knows what it is
4847 * LColor.C: s/appendixline/appendix/ from above
4849 2003-03-13 John Levon <levon@movementarian.org>
4851 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4853 * text.C: fix a getChar(pos) bug properly
4855 2003-03-13 Angus Leeming <leeming@lyx.org>
4858 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4859 Probably only temporary. Let's see how things pan out.
4861 * BufferView.C (unlockInset):
4862 * BufferView_pimpl.C (fitCursor):
4863 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4865 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4866 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4868 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4869 new functions that convert ParagraphParameters to and from a string.
4871 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4872 BufferView::Pimpl's dispatch.
4873 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4875 2003-03-13 André Pönitz <poenitz@gmx.net>
4879 * factory.C: make it aware of InsetEnv
4881 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4883 * text2.C (setCursor): never ask for one past last
4884 (setCursor): add some debugging messages.
4886 * text.C (singleWidth): never ask for one past last
4887 (singleWidth): ditto
4889 (rightMargin): ditto
4890 (rowBreakPoint): ditto
4891 (setHeightOfRow): ditto
4892 (prepareToPrint): ditto
4894 * rowpainter.C (paintBackground): never ask for one past last
4895 (paintText): never ask for one past last
4897 * paragraph_pimpl.C (getChar): make the assert stricter, never
4898 allow the one past last pos to be taken
4900 * paragraph.C (getChar): ws changes only
4902 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4903 (numberOfSeparators): ditto
4904 (numberOfHfills): ditto
4906 2003-03-12 John Levon <levon@movementarian.org>
4912 * paragraph_funcs.C: fix per-buffer authorlists
4914 2003-03-12 John Levon <levon@movementarian.org>
4916 * text.C: fix newline in right address
4918 2003-03-12 Angus Leeming <leeming@lyx.org>
4920 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4921 duplicate those in LyXFunc::dispatch.
4925 * ToolbarDefaults.C:
4926 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4927 Add LFUN_FONTFREE_UPDATE.
4929 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4930 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4932 * bufferview_func.[Ch]: several new functions to facilliate
4933 transfer of data to and from the character dialog.
4935 2003-03-12 John Levon <levon@movementarian.org>
4940 * paragraph_funcs.C:
4941 * paragraph_pimpl.C:
4945 * text3.C: remove META_NEWLINE in favour of an inset
4948 * rowpainter.C: remove paintNewline (done by inset)
4950 2003-03-12 John Levon <levon@movementarian.org>
4952 * paragraph_pimpl.C: complain about bad getChar()s
4953 for a while at least
4955 2003-03-12 John Levon <levon@movementarian.org>
4958 * buffer.C: move paragraph read into a separate function,
4959 a little renaming to reflect that.
4962 * bufferparams.C: remove the author_ids map, not necessary now
4965 * factory.C: moved Buffer::readInset to here
4967 * paragraph_funcs.h:
4968 * paragraph_funcs.C: readParagraph free function moved from
4971 * tabular.C: name change
4973 2003-03-12 John Levon <levon@movementarian.org>
4976 * ParagraphParameters.C: move par params input to
4979 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4980 behave like a normal read from the stream wrt reading
4981 a line vs. a \\token
4983 2003-03-12 John Levon <levon@movementarian.org>
4986 * ParagraphParameters.h:
4987 * ParagraphParameters.C: move output code to a
4990 2003-03-12 John Levon <levon@movementarian.org>
4992 * BufferView.C (insertLyXFile):
4995 * tabular.C: use a parlist iterator for creating the
4998 2003-03-12 John Levon <levon@movementarian.org>
5000 * buffer.C: make current_change static local not
5003 2003-03-12 John Levon <levon@movementarian.org>
5005 * buffer.C: fix insertStringAsLines for change tracking
5007 2003-03-12 John Levon <levon@movementarian.org>
5014 * bufferparams.C: move author list into params. Rename some
5015 functions. Move the header reading into a separate token
5016 loop. Move the header token reading into BufferParams.
5018 2003-03-12 John Levon <levon@movementarian.org>
5020 * changes.C: put debug inside lyxerr.debugging() checks
5022 2003-03-11 André Pönitz <poenitz@gmx.net>
5024 * factory.C: make it aware of InsetHFill
5026 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5028 * buffer.C (latexParagraphs): move function from here...
5029 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5032 2003-03-10 Angus Leeming <leeming@lyx.org>
5034 * LyXAction.C (init): fix bug in poplating array with multiple entries
5035 with the same LFUN (spotted by JMarc).
5037 2003-03-10 John Levon <levon@movementarian.org>
5040 * text2.C: move getColumnNearX() near its
5043 2003-03-10 John Levon <levon@movementarian.org>
5045 * text.C: fix break before a minipage
5047 2003-03-10 John Levon <levon@movementarian.org>
5049 * text.C: fix the last commit
5051 2003-03-09 John Levon <levon@movementarian.org>
5055 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5056 bug 365 (don't break before insets unless needed). Don't
5057 return a value > last under any circumstances.
5059 2003-03-09 Angus Leeming <leeming@lyx.org>
5061 * BufferView_pimpl.C (trackChanges, dispatch): call
5062 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5064 2003-03-09 Angus Leeming <leeming@lyx.org>
5066 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5067 than Dialogs::showAboutlyx().
5069 2003-03-09 Angus Leeming <leeming@lyx.org>
5071 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5072 than Dialogs::showTabularCreate().
5074 2003-03-09 John Levon <levon@movementarian.org>
5078 * text2.C: 3rd arg to nextBreakPoint was always the same.
5081 2003-03-08 John Levon <levon@movementarian.org>
5088 * text2.C: Remove the "main" bit from the "main body"
5091 2003-03-08 John Levon <levon@movementarian.org>
5093 * text.C (leftMargin): The left margin of an empty
5094 manual label paragraph should not include the label width
5097 * text.C (prepareToPrint): don't attempt to measure hfills
5098 for empty manual label paragraphs - the answer should be 0
5100 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5102 * CutAndPaste.C: remove commented code and reindent.
5104 2003-03-08 John Levon <levon@movementarian.org>
5107 * lyxfunc.C: move reloadBuffer()
5110 * BufferView.C: to here
5112 * lyxvc.C: add comment
5115 * vc-backend.C: call bv->reload() to avoid
5116 getStatus() check on MENURELOAD
5118 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5120 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5121 to an old format .dep file.
5123 2003-03-07 Angus Leeming <leeming@lyx.org>
5125 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5126 when the LFUN_MOUSE_RELEASE should have been handled by
5127 inset->localDispatch.
5129 2003-03-07 Angus Leeming <leeming@lyx.org>
5131 * BufferView_pimpl.C (dispatch):
5132 * LyXAction.C (init):
5133 * ToolbarDefaults.C (init):
5135 * lyxfunc.C (getStatus):
5136 remove LFUN_INSET_GRAPHICS.
5138 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5140 2003-03-07 Angus Leeming <leeming@lyx.org>
5143 * LyXAction.C (init):
5144 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5146 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5149 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5151 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5152 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5154 2003-03-07 Angus Leeming <leeming@lyx.org>
5156 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5159 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5161 * ParagraphList.C (front): new function
5164 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5166 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5167 and top_row_offset_. removed var first_y.
5169 * text2.C (LyXText, removeRow):
5171 * BufferView_pimpl.C:
5172 use these methods instead of using first_y
5174 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5176 * text2.C (pasteSelection): adjust for checkPastePossible
5178 * CutAndPaste.C: remove Paragraph * buf and replace with
5179 ParagraphList paragraphs.
5180 (DeleteBuffer): delete
5181 (cutSelection): change the tc type to textclass_type
5182 (copySelection): change the tc type to textclass_type
5183 (copySelection): adjust for ParagraphList
5184 (pasteSelection): change the tc type to textclass_type
5185 (pasteSelection): adjust for Paragraphlist
5186 (nrOfParagraphs): simplify for ParagraphList
5187 (checkPastePossible): simplify for ParagraphList
5188 (checkPastePossible): remove unused arg
5190 * ParagraphList.C (insert): handle the case where there are no
5193 * CutAndPaste.h: make CutAndPaste a namespace.
5195 * text3.C (dispatch): adjust
5197 * text.C (breakParagraph): add a ParagraphList as arg
5199 * paragraph_funcs.C (breakParagraph): change to take a
5200 BufferParams and a ParagraphList as args.
5201 (breakParagraphConservative): ditto
5202 (mergeParagraph): ditto
5203 (TeXDeeper): add a ParagraphList arg
5204 (TeXEnvironment): ditto
5207 * buffer.C (readLyXformat2): adjust
5208 (insertStringAsLines): adjust
5209 (latexParagraphs): adjust
5211 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5212 (cutSelection): adjust
5213 (pasteSelection): adjust
5215 * BufferView_pimpl.C (insertInset): adjust
5217 2003-03-05 Angus Leeming <leeming@lyx.org>
5220 * LyXAction.C (init):
5221 * BufferView_pimpl.C (dispatch):
5222 * lyxfunc.C (getStatus):
5223 remove LFUN_CHILD_INSERT.
5225 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5227 2003-03-05 Angus Leeming <leeming@lyx.org>
5230 * LyXAction.C (init):
5231 * src/factory.C (createInset):
5232 * lyxfunc.C (getStatus):
5233 * text3.C (dispatch):
5234 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5236 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5238 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5240 * ParagraphList.C (insert): handle insert right before end()
5241 (erase): fix cases where it can be first or last paragraph.
5243 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5245 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5246 Paragraph::next and Paragraph::previous
5249 * text.C (breakParagraph): adjust
5251 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5252 BufferParams& as arg.
5253 (breakParagraph): use ParagraphList::insert
5254 (breakParagraphConservative): take a Buffer* instead of a
5255 BufferParams& as arg.
5256 (breakParagraphConservative): use ParagraphList::insert.
5258 * buffer.C (insertStringAsLines): un-const it
5259 (insertStringAsLines): adjust
5261 * ParagraphList.C (insert): new function
5263 * CutAndPaste.C (pasteSelection): adjust
5265 * text.C (backspace): adjust
5267 * tabular.C (SetMultiColumn): adjust
5269 * CutAndPaste.C (cutSelection): adjust
5270 (pasteSelection): adjust
5272 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5273 Buffer const * as arg
5275 * ParagraphList.C (erase): new function
5276 * paragraph_funcs.C (mergeParagraph): use it
5277 (mergeParagraph): make it take a Buffer* instead of a
5278 BufferParams* as arg
5280 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5282 (breakParagraphConservative): ditto
5284 * paragraph.h: remove the breakParagraph friend
5286 * paragraph.C (eraseIntern): new function
5287 (setChange): new function
5289 * paragraph_funcs.C (mergeParagraph): make it take a
5290 ParagraphList::iterator instead of a Paragraph *, adjust
5293 * paragraph.h: move an #endif so that the change tracking stuff
5294 also works in the NO_NEXT case.
5296 2003-03-04 Angus Leeming <leeming@lyx.org>
5299 * LyXAction.C: new LFUN_INSET_MODIFY.
5301 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5302 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5304 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5306 * several files: ws changes only
5308 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5309 (TeXEnvironment): ditto
5312 * buffer.C (makeLaTeXFile): adjust
5313 (latexParagraphs): make it take ParagraphList::iterator as args
5315 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5317 * buffer.C (latexParagraphs): adjust
5319 * paragraph.C (TeXOnePar): move function...
5320 (optArgInset): move function...
5321 (TeXEnvironment): move function...
5322 * paragraph_pimpl.C (TeXDeeper): move function...
5323 * paragraph_funcs.C: ...here
5325 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5327 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5329 * buffer.C (readInset): remove compability code for old Figure and
5332 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5334 * buffer.C: ws changes
5337 * BufferView_pimpl.C: ditto
5340 * bufferlist.h: ditto
5344 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5346 * converter.[Ch]: split into itself +
5349 * Makefile.am: += graph.[Ch] + format.[Ch]
5356 * lyxrc.C: added #include "format.h"
5358 2003-02-27 Angus Leeming <leeming@lyx.org>
5360 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5363 * factory.C (createInset): add "label" to the factory.
5365 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5366 string and do no more.
5368 2003-02-27 Angus Leeming <leeming@lyx.org>
5371 * LyXAction.C (init):
5372 * factory.C (createInset):
5373 * BufferView_pimpl.C (dispatch):
5374 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5376 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5378 * lyxfunc.C (dispatch):
5379 * text3.C (dispatch): pass name to params2string.
5381 2003-02-26 Angus Leeming <leeming@lyx.org>
5383 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5385 Rearrange the ~includes. Strip out the unnecessary ones.
5387 * factory.C (createInset): reformat.
5388 create new insets for the various LFUN_XYZ_APPLY lfuns.
5390 2003-02-26 John Levon <levon@movementarian.org>
5393 * lyxrow.C: add isParStart,isParEnd helpers
5395 * paragraph.h: make isInserted/DeletedText take refs
5397 * paragraph_funcs.h:
5398 * paragraph_funcs.C: remove #if 0'd code
5403 * text.C: use lyxrow helpers above.
5404 Move draw and paint routines to RowPainter.
5405 Make several methods use refs not pointers.
5406 Make backgroundColor() const.
5407 Add markChangeInDraw(), isInInset().
5408 Merge changeRegionCase into changeCase.
5409 Make workWidth() shouldn't-happen code into an Assert.
5412 * rowpainter.C: new class for painting a row.
5415 * vspace.C: make inPixels take a ref
5417 2003-02-26 Angus Leeming <leeming@lyx.org>
5419 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5422 2003-02-25 John Levon <levon@movementarian.org>
5424 * ispell.C: give the forked command a more accurate name
5426 2003-02-22 John Levon <levon@movementarian.org>
5429 * toc.C: make TocItem store an id not a Paragraph *
5432 2003-02-21 Angus Leeming <leeming@lyx.org>
5434 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5435 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5436 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5437 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5438 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5439 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5441 * BufferView_pimpl.C (dispatch):
5442 * LyXAction.C (init):
5443 * factory.C (createInset):
5444 * lyxfunc.C (getStatus, dispatch):
5445 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5447 2003-02-21 Angus Leeming <leeming@lyx.org>
5449 * BufferView_pimpl.C (MenuInsertLyXFile):
5450 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5451 * lyxfunc.C (menuNew, open, doImport):
5452 no longer pass a LyXView & to fileDlg.
5454 2003-02-21 Angus Leeming <leeming@lyx.org>
5456 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5457 * LyXAction.C: change, BIBKEY to BIBITEM.
5458 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5459 Change InsetBibKey to InsetBibitem.
5460 Change BIBKEY_CODE to BIBITEM_CODE.
5461 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5462 * factory.C: replace insetbib.h with insetbibitem.h.
5463 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5464 * paragraph.C: replace insetbib.h with insetbibitem.h.
5465 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5466 Change bibkey() to bibitem().
5467 * text.C: remove insetbib.h.
5468 * text2.C: replace insetbib.h with insetbibitem.h.
5469 change bibkey() to bibitem().
5470 * text3.C: remove insetbib.h.
5471 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5473 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5475 * lyxrc.C (output): enclose user email in quotes (in case there are
5478 2003-02-18 John Levon <levon@movementarian.org>
5480 * buffer.h: add std::
5482 2003-02-17 John Levon <levon@movementarian.org>
5488 * pspell.C: reworking. Especially in ispell, a large
5489 number of clean ups and bug fixes.
5491 * lyxfunc.C: fix revert to behave sensibly
5493 2003-02-17 André Pönitz <poenitz@gmx.net>
5496 * commandtags.h: new LFUN_INSERT_BIBKEY
5506 * paragraph_func.C: remove special bibkey handling
5508 2003-02-17 John Levon <levon@movementarian.org>
5510 * text.C (Delete): fix case where delete at the end of
5511 the very first paragraph would not merge the pars
5513 2003-02-17 John Levon <levon@movementarian.org>
5515 * lyxrow.C: fix lastPrintablePos()
5517 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5519 * bufferparams.C (writeLaTeX): add a std:here
5521 * buffer.C: and remove a using directive there
5523 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5525 * buffer.C (makeLaTeXFile): move the code that generates the
5528 * bufferparams.C (writeLaTeX): ... in this new method
5530 * LaTeXFeatures.C (getEncodingSet): make const
5531 (getLanguages): make const
5533 * MenuBackend.C (binding): returns the binding associated to this
5535 (add): sets the status of each item by calling getStatus. Adds
5537 (read): add support for OptSubMenu
5538 (expand): remove extra separator at the end of expanded menu
5540 2003-02-15 John Levon <levon@movementarian.org>
5543 * BufferView_pimpl.C:
5545 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5546 inset code that had no actual effect. Remove unneeded status
5549 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5551 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5554 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5556 * text.C (drawLengthMarker): also draw an arrow marker for
5557 symbolic lengths (medskip...)
5559 2003-02-14 John Levon <levon@movementarian.org>
5562 * tabular.C: better method names
5564 2003-02-14 John Levon <levon@movementarian.org>
5566 * BufferView_pimpl.C:
5571 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5572 it's a more accurate name. Remove some pointless uses.
5574 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5576 * text2.C (LyXText): change order of initilizers to shut off
5579 2003-02-14 John Levon <levon@movementarian.org>
5581 * buffer.C: use ParIterator for getParFromID()
5585 * paragraph_pimpl.h:
5586 * paragraph_pimpl.C: remove unused getParFromID()
5588 2003-02-14 John Levon <levon@movementarian.org>
5590 * buffer.C: remove some very old #if 0'd parse code
5592 2003-02-13 John Levon <levon@movementarian.org>
5596 * text2.C: move hfillExpansion(), numberOfSeparators(),
5597 rowLast(), rowLastPrintable(), numberofHfills(),
5598 numberOfLabelHfills() ...
5601 * lyxrow.C: ... to member functions here.
5606 * text.C: remove LyXText::beginningOfMainBody(), and call
5607 p->beginningOfMainBody() directly. Move the check for
5608 LABEL_MANUAL into the latter.
5615 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5621 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5622 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5624 2003-02-13 John Levon <levon@movementarian.org>
5626 * CutAndPaste.C: remove debug
5628 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5630 * paragraph.C (asString): remove two unused variables
5632 * lyxtextclass.C (readTitleType):
5634 (LyXTextClass): handle new members titletype_ and titlename_
5636 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5638 2003-02-09 John Levon <levon@movementarian.org>
5641 * buffer.C: replace hand-coded list with a map for the dep clean
5643 2003-02-08 John Levon <levon@movementarian.org>
5645 * LaTeX.C: consolidate code into showRunMessage() helper
5647 2003-02-08 John Levon <levon@movementarian.org>
5652 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5653 and pass the size in explicitly
5655 * BufferView_pimpl.h:
5656 * BufferView_pimpl.C:
5658 * BufferView.C: add getCurrentChange()
5660 * BufferView_pimpl.h:
5661 * BufferView_pimpl.C: handle change lfuns
5663 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5664 for changes. Mark pasted paragraphs as new.
5666 * support/lyxtime.h:
5667 * support/lyxtime.C:
5668 * DepTable.C: abstract time_t as lyx::time_type
5671 * LColor.C: add colours for new text, deleted text, changebars
5673 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5674 package use "usenames" option.
5678 * LyXAction.C: add change lfuns
5682 * author.C: author handling
5685 * buffer.C: add a per-buffer author list, with first entry as
5686 current author. Handle new .lyx tokens for change tracking. Output
5687 author list to .lyx file. Output dvipost stuff to .tex preamble.
5688 Bump lyx format to 222.
5691 * bufferlist.C: add setCurrentAuthor() to reset current author details
5695 * bufferparams.C: add param for tracking
5697 * bufferview_funcs.C: output change info in minibuffer
5701 * changes.C: add change-tracking structure
5704 * debug.C: add CHANGES debug flag
5707 * lyxfind.C: add code for finding the next change piece
5710 * lyxrc.C: add user_name and user_email
5713 * lyxrow.C: add a metric for the top of the text line
5716 * text.C: implement accept/rejectChange()
5719 * text.C: paint changebars. Paint new/deleted text in the chosen
5720 colours. Strike through deleted text.
5724 * paragraph_pimpl.h:
5725 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5726 in the current change to the insert functions. Rework erase to
5727 mark text as deleted, adding an eraseIntern() and a range-based
5728 erase(). Implement per-paragraph change lookup and
5731 * paragraph_funcs.C: Fixup paste for change tracking.
5733 * tabular.C: mark added row/columns as new.
5735 * text.C: fix rowLast() to never return -1. Don't allow
5736 spellchecking of deleted text. Track transpose changes. Don't
5737 allow paragraph break or merge where appropriate.
5739 * text2.C: leave cursor at end of selection after a cut.
5741 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5743 * text.C (getLengthMarkerHeight):
5744 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5745 visible on screen too.
5747 2003-02-07 John Levon <levon@movementarian.org>
5749 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5751 2003-02-05 Angus Leeming <leeming@lyx.org>
5753 * lyxserver.C (read_ready): revert my patch of 11 September last year
5754 as it sends PC cpu through the roof. Presumably this means that
5755 the lyxserver will no longer run on an Alpha...
5757 2003-01-30 Angus Leeming <leeming@lyx.org>
5759 * factory.C (createInset): create an InsetCommandParam of type "index"
5760 and use it to 'do the right thing'.
5762 * text2.C (getStringToIndex): ensure that cursor position is always
5763 reset to the reset_cursor position.
5765 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5767 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5770 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5774 * lyxfunc.C: Output messages with identical spelling, punctuation,
5777 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5779 * MenuBackend.C (expandFormats): List only viewable export formats
5782 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5785 * lyxfunc.C (getStatus): Make sure that formats other than
5786 "fax" can also be disabled
5788 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5790 * text3.C (dispatch): put the lfuns that insert insets in 3
5791 groups, and call doInsertInset with appropriate arguments.
5792 (doInsertInset): new function, that creates an inset and inserts
5793 it according to some boolean parameters.
5795 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5797 * buffer.C (readFile): remember to pass on 'par' when calling
5798 readFile recursively.
5800 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5802 * MenuBackend.C (expandFormats): add "..." to import formats.
5804 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5806 * paragraph.C (asString): Remove XForms RTL hacks.
5808 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5809 * buffer.C: fix typo
5811 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5813 * Makefile.am (LIBS): delete var
5814 (lyx_LDADD): add @LIBS@ here instead.
5816 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5818 * Clarify the meaning of "wheel mouse jump"
5820 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5822 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5825 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5827 * importer.C (Loaders): do not preallocate 3 elements in the
5828 vector, since one ends up with 6 elements otherwise
5830 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5832 * DepTable.C (write): write the file name as last element of the
5833 .dep file (because it may contain spaces)
5834 (read): read info in the right order
5836 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5838 * paragraph_pimpl.C (simpleTeXBlanks):
5839 (simpleTeXSpecialChars):
5840 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5842 * tabular.C (latex): add some missing case statements. Reindent.
5844 * MenuBackend.C (expandToc): remove unused variable.
5846 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5855 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5858 2003-01-05 John Levon <levon@movementarian.org>
5861 * BufferView.C: add getEncoding()
5864 * kbsequence.C: do not store last keypress
5867 * lyxfunc.C: store last keypress here instead. Pass encoding
5870 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5872 * lyx_main.C (init): remove annoying error message when following
5873 symbolic links (bug #780)
5875 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5877 * text.C (insertChar):
5878 * lyxrc.C (getDescription): remove extra spaces
5880 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5882 * lyxrc.C (getDescription): remove extra spaces
5884 2002-12-20 John Levon <levon@movementarian.org>
5886 * text3.C: hack fix for page up/down across tall rows
5888 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5890 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5893 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5895 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5896 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5897 thesaurus is not compiled in
5899 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5901 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5903 2002-12-16 Angus Leeming <leeming@lyx.org>
5906 * lyx_main.C (init): remove override_x_deadkeys stuff.
5908 2002-12-12 John Levon <levon@movementarian.org>
5910 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5911 insert. Only remove shift modifier under strict
5914 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5916 * MenuBackend.C (expandToc): fix crash.
5918 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5920 * MenuBackend.C (expandToc): gettext on float names.
5922 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5924 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5925 implement bool empty() [bug 490]
5927 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5929 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5931 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5933 * several files: ws changes
5935 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5937 * text2.C (setCounter): clean up a bit, use boost.format.
5938 (updateCounters): initialize par upon declaration.
5940 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5941 if the layout exists. We do not just store the layout any more.
5942 (SwitchLayoutsBetweenClasses): use boost.format
5944 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5946 * converter.C (convert): if from and to files are the same, use a
5947 temporary files as intermediary
5949 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5952 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5954 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5956 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5958 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5960 * tabular.C (asciiPrintCell): use string(size, char) instead of
5963 * sgml.C (openTag): fix order of arguments to string constructor
5966 * lyxfunc.C (dispatch): use boost.format
5968 * lots of files: change "c" -> 'c'
5970 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5972 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5974 2002-11-25 Angus Leeming <leeming@lyx.org>
5976 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5978 * lyx_main.C (init): compile fix.
5980 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5982 * lyx_cb.C (start): boost.formatify
5983 do not include <iostream>
5985 * lengthcommon.C: ws only
5987 * boost-inst.C,BoostFormat.h: add more explict instantations
5989 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5991 * lots of files: handle USE_BOOST_FORMAT
5993 2002-11-21 John Levon <levon@movementarian.org>
5995 * pspell.C: fix compile
5997 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5999 * lyxfunc.C (dispatch): use boost::format
6003 * lyxfont.C (stateText): use boost::format
6005 * lyx_main.C (LyX): use boost::format
6007 (queryUserLyXDir): ditto
6010 (typedef boost::function): use the recommened syntax.
6012 * importer.C (Import): use boost::format
6014 * debug.C (showLevel): use boost::format
6016 * converter.C (view): use boost::format
6021 * bufferview_funcs.C (currentState): use boost::format
6023 * bufferlist.C (emergencyWrite): use boost::format
6025 * buffer.C (readLyXformat2): use boost::format
6026 (parseSingleLyXformat2Token): ditto
6028 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6030 * LaTeX.C (run): use boost::format
6032 * Chktex.C (scanLogFile): use boost::format
6034 * BufferView_pimpl.C (savePosition): use boost::format
6035 (restorePosition): ditto
6036 (MenuInsertLyXFile): ditto
6038 * BoostFormat.h: help file for explicit instation.
6040 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6042 * tabular.C (latex): Support for block alignment in fixed width
6045 2002-11-17 John Levon <levon@movementarian.org>
6047 * BufferView_pimpl.C:
6049 * lyxfunc.C: split filedialog into open/save
6051 2002-11-08 Juergen Vigna <jug@sad.it>
6053 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6054 by my last patch (hopefully).
6056 2002-11-08 John Levon <levon@movementarian.org>
6065 * toc.C: ParConstIterator, and use it (from Lars)
6067 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6069 * lyxtextclass.[Ch]: revise and add doxygen comments
6071 2002-11-07 John Levon <levon@movementarian.org>
6073 * text.C: fix progress value for spellchecker
6075 * toc.C: fix navigate menu for insetwrap inside minipage
6077 * paragraph_funcs.C: added FIXME for suspect code
6079 2002-11-07 John Levon <levon@movementarian.org>
6081 * BufferView_pimpl.C: fix redrawing of insets
6084 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6086 * text2.C (updateCounters): fix bug 668
6088 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6090 * text3.C (dispatch): Do not make the buffer dirty when moving the
6093 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6095 * vc-backend.C: STRCONV
6098 * text2.C (setCounter): STRCONV
6100 * paragraph.C (asString): STRCONV
6102 * lyxlength.C (asString): STRCONV
6103 (asLatexString): ditto
6105 * lyxgluelength.C (asString): STRCONV
6106 (asLatexString): ditto
6108 * lyxfunc.C (dispatch): STRCONV
6111 * lyxfont.C (stateText): STRCONV
6113 * importer.C (Import): STRCONV
6115 * counters.C (labelItem): STRCONV
6116 (numberLabel): ditto
6117 (numberLabel): remove unused ostringstream o
6122 * bufferview_funcs.C (currentState): STRCONV
6124 * buffer.C (readFile): STRCONV
6125 (asciiParagraph): ditto
6126 (makeLaTeXFile): ditto
6128 * Spacing.C (writeEnvirBegin): STRCONV
6130 * LaTeXFeatures.C (getLanguages): STRCONV
6131 (getPackages): ditto
6133 (getBabelOptions): ditto
6134 (getTClassPreamble): ditto
6135 (getLyXSGMLEntities): ditto
6136 (getIncludedFiles): ditto
6140 (scanAuxFile): ditto
6143 * LString.h: add the STRCONV macros
6145 * BufferView_pimpl.C (savePosition): STRCONV
6146 (restorePosition): ditto
6147 (MenuInsertLyXFile): ditto
6149 * vc-backend.C (scanMaster): change from submatch[...] to
6152 * funcrequest.C: include config.h
6154 * factory.C: include config.h
6156 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6158 * box.C: include config.h
6160 * LaTeX.C (scanAuxFile): change from submatch[...] to
6164 2002-10-25 Angus Leeming <leeming@lyx.org>
6166 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6168 * ispell.[Ch] (setError): new method.
6169 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6170 Use setError() insetead of goto END.
6172 * lyx_cb.C (AutoSave): move out child process into new class
6175 2002-10-30 John Levon <levon@movementarian.org>
6177 * text3.C: make start appendix undoable
6179 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6181 * lyxlength.C (inPixels): Fix returned value.
6183 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6186 2002-10-24 Angus Leeming <leeming@lyx.org>
6188 * lyxgluelength.h: no need to forward declare BufferParams
6189 or BufferView, so don't.
6191 2002-10-21 John Levon <levon@movementarian.org>
6193 * BufferView.C: menuUndo ->undo, redo
6195 * BufferView.h: document, remove dead, make some methods private
6197 * paragraph_funcs.h:
6198 * paragraph_funcs.C:
6199 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6204 * sgml.C: move sgml open/close tag into sgml.C
6206 * bufferview_funcs.h: unused prototype
6209 * lyxfunc.C: remove unused
6212 * text.C: remove unused
6214 2002-10-21 John Levon <levon@movementarian.org>
6218 * BufferView_pimpl.h:
6219 * BufferView_pimpl.C: fix mouse wheel handling based on
6220 patch from Darren Freeman
6222 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6224 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6226 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6228 * lyxlength.C (inPixels): Fix hanfling of negative length.
6229 Fix LyXLength::MU case.
6231 2002-10-16 John Levon <levon@movementarian.org>
6233 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6235 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6237 * converter.C (view): add support for $$i (file name) and $$p
6238 (file path) for the viewer command. If $$i is not specified, then
6239 it is appended to the command (for compatibility with old syntax)
6241 2002-10-14 Juergen Vigna <jug@sad.it>
6243 * undo_funcs.C (textHandleUndo): alter the order in which the
6244 new undopar is added to the LyXText, as we have to set first
6245 the right prev/next and then add it as otherwise the rebuild of
6246 LyXText is not correct. Also reset the cursor to the right paragraph,
6247 with this IMO we could remove the hack in "redoParagraphs()".
6249 2002-10-09 Angus Leeming <leeming@lyx.org>
6251 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6252 to turn off an optimisation if a new inset is to be inserted.
6254 2002-10-11 André Pönitz <poenitz@gmx.net>
6256 * lyxtext.h: make some functions public to allow access
6257 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6259 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6261 * text3.C (dispatch): when changing layout, avoid an infinite loop
6264 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6266 * lyxrc.C (read): treat a viewer or converter command of "none" as
6269 * MenuBackend.C (expandFormats): for an update, also allow the
6270 formats that are not viewable
6272 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6273 script if it is newer than the lyxrc.defaults in user directory
6275 2002-10-07 André Pönitz <poenitz@gmx.net>
6277 * text.C: Vitaly Lipatov's small i18n fix
6279 2002-09-25 Angus Leeming <leeming@lyx.org>
6281 * ispell.h: doxygen fix.
6283 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6285 * buffer.h (readFile): Add a new argument to the method, to allow
6286 reading of old-format templates.
6288 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6290 * toc.C (getTocList): Get TOC from InsetWrap.
6292 2002-09-16 John Levon <levon@movementarian.org>
6294 * lyxfunc.C: check tabular for cut/copy too
6296 2002-09-12 John Levon <levon@movementarian.org>
6301 * factory.C: add header
6303 * paragraph_funcs.h:
6304 * paragraph_funcs.C: cleanup
6306 2002-09-11 John Levon <levon@movementarian.org>
6308 * PrinterParams.h: odd/even default to true
6310 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6312 * PrinterParams.h: update printer parameters for new xforms dialog
6314 2002-09-11 Angus Leeming <leeming@lyx.org>
6316 * lyxserver.C (read_ready): re-write to make it more transparent
6317 and to make it work in coherent fashion under Tru64 Unix.
6319 2002-09-11 André Pönitz <poenitz@gmx.net>
6323 * text3.C: implement LFUN_WORDSEL
6325 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6327 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6328 make floatlist_ a boost::shared_ptr<FloatList>
6330 * lyxtextclass.C: include FloatList.h
6331 (LyXTextClass): initialize floatlist_
6332 (TextClassTags): add TC_NOFLOAT
6333 (Read): match "nofloat" to TC_NOFLOAT and use it.
6334 (readFloat): modify call to floatlist_
6338 * FloatList.[Ch] (FloatList): remove commented out float
6340 (erase): new function
6342 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6344 * MenuBackend.C (expandToc): fix crash when there is no document
6347 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6349 * many files: Add insetwrap.
6351 2002-09-09 John Levon <levon@movementarian.org>
6353 * text2.C: remove confusing and awkward depth wraparound
6355 2002-09-09 John Levon <levon@movementarian.org>
6357 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6360 * buffer.C: remove getIncludeonlyList()
6363 * lyxfunc.C: remove headers
6365 2002-09-09 Juergen Vigna <jug@sad.it>
6367 * text.C (getColumnNearX): fix form Michael this is most
6368 probably a cut&paste bug.
6370 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6372 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6374 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6375 references, ws changes.
6377 * text2.C (init): update counters after init
6378 (insertParagraph): no need to set counter on idividual paragraphs.
6379 (setCounter): access the counters object in the textclass object
6380 on in the buffer object.
6381 (updateCounters): ditto
6383 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6384 shared_ptr<Counters> to avoid loading counters.h in all
6386 (LyXTextClass): initialize ctrs_
6387 (TextClassTags): add TC_COUNTER, and ...
6388 (Read): use it here.
6389 (CounterTags): new tags
6390 (readCounter): new function
6391 (counters): new funtion
6392 (defaultLayoutName): return a const reference
6394 * counters.C (Counters): remove contructor
6395 (newCounter): remove a couple of unneeded statements.
6396 (newCounter): simplify a bit.
6397 (numberLabel): some small formatting changes.
6399 * buffer.[Ch]: remove all traces of counters, move the Counters
6400 object to the LyXTextClass.
6402 2002-09-06 Alain Castera <castera@in2p3.fr>
6404 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6405 package to set the horizontal alignment on fixed width columns.
6408 * lyx_sty.h: added tabularnewline macro def.
6410 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6412 2002-09-06 John Levon <levon@movementarian.org>
6414 * LyXAction.C: tooltips for sub/superscript
6416 * MenuBackend.C: a bit more verbose
6418 * lyxfunc.C: tiny clean
6420 * undo_funcs.C: document undo_frozen
6422 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6424 * counters.C (Counters): add missing algorithm counter.
6426 * text2.C (setCounter): lookup the counter with layouts latexname
6427 instead of by section number.
6428 (setCounter): use a hackish way to lookup the correct enum
6430 a float name->type change
6431 reset enum couners with counter name directly instead of depth value.
6433 * counters.C (Counters): remove the push_backs, change to use the
6434 float type not the float name.
6435 (labelItem): remove unused string, float name->type change
6437 * counters.h: don't include vector, loose the enums and sects vectors
6439 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6441 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6442 (Read): add float->TC_FLOAT to textclassTags
6443 (Read): and handle it in the switch
6444 (readFloat): new function
6446 * FloatList.C (FloatList): comment out the hardcoded float
6449 * lyxlayout.h: ws change.
6451 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6453 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6455 2002-09-03 Angus Leeming <leeming@lyx.org>
6457 * BufferView_pimpl.h: qualified name is not allowed in member
6458 declaration: WorkArea & Pimpl::workarea() const;
6460 * factory.C: added using std::endl directive.
6462 * text3.C: added using std::find and std::vector directives.
6464 2002-08-29 André Pönitz <poenitz@gmx.net>
6467 * text2.C: remove unused member number_of_rows
6470 * BufferView2.C: remove file, move contents to...
6471 * BufferView.C: ... here
6473 * BufferView_pimpl.C:
6474 * factory.C: move more inset creation to factory
6476 * vspace.C: avoid direct usage of LyXText, ws changes
6479 don't provide direct access to WorkArea, use two simple
6480 acessors haveSelction() and workHeight() instead
6483 2002-08-29 John Levon <levon@movementarian.org>
6485 * BufferView_pimpl.C (dispatch): do not continue when
6488 2002-08-28 André Pönitz <poenitz@gmx.net>
6490 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6493 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6495 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6497 * buffer.C: increment LYX_FORMAT to 221
6499 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6500 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6502 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6504 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6506 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6508 * factory.C (createInset): use LyXTextClass::floats
6510 * MenuBackend.C (expandFloatListInsert):
6511 (expandFloatInsert):
6514 * text2.C (setCounter):
6516 * LaTeXFeatures.C (useFloat):
6517 (getFloatDefinitions):
6519 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6521 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6522 floatlist_, with accessor floats().
6524 * FloatList.h: remove global FloatList
6526 2002-08-26 André Pönitz <poenitz@gmx.net>
6528 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6532 * BufferView_pimpl.C:
6533 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6535 2002-08-25 John Levon <levon@movementarian.org>
6537 * LyXAction.C: fix margin note description
6539 2002-08-24 John Levon <levon@movementarian.org>
6543 * bufferview_funcs.C:
6545 * undo_funcs.C: cleanups
6547 * lyxfunc.C: disable CUT/COPY when no selection
6549 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6551 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6552 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6554 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6555 Add backward compatibility to "mono", "gray" and "no".
6557 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6559 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6560 (and file_format >= 200).
6562 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6564 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6566 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6568 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6570 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6572 * BufferView_pimpl.C:
6579 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6580 inset and code to make it work with the paragraph code. The inset
6581 can be anywhere in the paragraph, but will only do the expected
6582 thing in LaTeX if the layout file contains the parameter line
6584 (or more generally, a nonzero value) for that layout.
6586 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6588 * paragraph.h: remove the declaration of undefined counters class
6591 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6593 * text2.C (setCounter): fixed enumeration mis-count as reported by
6594 Dr. Richard Hawkins.
6596 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6598 * paragraph_funcs.h: remove some unneeded includes
6600 * text.C (backspace): pasteParagraph now in global scipe
6602 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6603 (pasteSelection): ditto
6605 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6606 * paragraph_funcs.C (pasteParagraph): ... here
6608 2002-08-20 André Pönitz <poenitz@gmx.net>
6610 * commandtags.h: new LFUNs for swapping/copying table row/colums
6613 * lyxfunc.C: support for new lfuns
6615 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6618 * buffer.[Ch]: remove NO_COMPABILITY stuff
6620 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6622 * boost.C (throw_exception): new file, with helper function for
6623 boost compiled without exceptions.
6628 * ParameterStruct.h:
6629 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6631 * bufferlist.C (emergencyWriteAll): use boost bind
6633 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6635 * text.C: include paragraph_funcs.h
6636 (breakParagraph): breakParagraph is now in global scope
6638 * paragraph_funcs.[Ch]: new files
6640 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6643 * buffer.C: include paragraph_funcs.h
6644 (insertStringAsLines): breakParagraph is now in global scope
6646 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6649 * CutAndPaste.C: include paragraph_funcs.h
6650 (cutSelection): breakParagraphConservative is now in global scope
6651 (pasteSelection): ditto
6653 * buffer.h: declare oprator== and operator!= for
6654 Buffer::inset_iterator
6656 * bufferlist.C (emergencyWrite): don't use fmt(...)
6658 * text3.C: add using std::endl
6660 * BufferView.C (moveCursorUpdate): remove default arg
6662 2002-08-20 André Pönitz <poenitz@gmx.net>
6664 * buffer.[Ch]: move inline functions to .C
6667 * BufferView_pimpl.C:
6669 * buffer.[Ch]: use improved inset_iterator
6672 * paragraph.[Ch]: write one paragraph at a time
6674 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6676 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6677 style if style is not specified.
6679 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6681 * text2.C (setCounter): when searching for right label for a
6682 caption, make sure to recurse to parent insets (so that a caption
6683 in a minipage in a figure float works) (bug #568)
6685 2002-08-20 André Pönitz <poenitz@gmx.net>
6687 * text3.C: new file for LyXText::dispatch() and helpers
6689 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6691 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6693 2002-08-19 André Pönitz <poenitz@gmx.net>
6696 * text.C: new LyXText::dispatch()
6698 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6700 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6702 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6704 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6707 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6709 * Makefile.am: use $(variables) instead of @substitutions@
6711 2002-08-15 André Pönitz <poenitz@gmx.net>
6714 * BufferView_pimpl.C: streamlining mathed <-> outer world
6718 * LyXAction.C: remove unused LFUN_MATH
6720 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6722 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6724 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6726 * paragraph.C (Paragraph): reformat a bit
6727 (cutIntoMinibuffer): use builtin InsetList function instad of
6731 * buffer.C: include boost/bind.hpp, add using std::for_each
6732 (writeFileAscii): use ParagraphList iterators
6733 (validate): use for_each for validate traversal of paragraphs
6734 (getBibkeyList): use ParagraphList iterators
6735 (resizeInsets): use for_each to resizeInsetsLyXText for all
6737 (getParFromID): use ParagraphList iterators
6739 * BufferView2.C (lockInset): use paragraph list and iterators
6741 2002-08-14 John Levon <levon@movementarian.org>
6743 * lyxserver.C: remove spurious xforms include
6745 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6747 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6749 2002-08-13 André Pönitz <poenitz@gmx.net>
6752 * lyxfunc.C: further cleaning
6754 2002-08-13 André Pönitz <poenitz@gmx.net>
6756 * funcrequest.h: new constructor
6758 * funcrequest.C: move stuff here from .h
6761 * BufferView_pimpl.C:
6764 * lyxfunc.C: subsequent changes
6766 * lyxfunc.h: new view() member function
6768 * lyxfunc.C: subsequent changes
6770 2002-08-13 Angus Leeming <leeming@lyx.org>
6773 * BufferView_pimpl.C:
6781 changes due to the changed LyXView interface that now returns references
6782 to member variables not pointers.
6784 2002-08-13 Angus Leeming <leeming@lyx.org>
6786 * WordLangTuple (word, lang_code): return references to strings,
6791 * lyxtext.h: forward-declare WordLangTuple.
6796 * text.C: #include "WordLangTuple.h".
6799 * text.C: (selectNextWordToSpellcheck): constify return type.
6801 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6807 * paragraph_pimpl.h:
6810 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6812 Made updateCounter always count from start of buffer, and removed
6813 second argument (par).
6814 Reverted floats number display to '#'. Perhaps I'll try again when the
6815 code base is sanitized a bit.
6817 2002-08-12 Angus Leeming <leeming@lyx.org>
6819 * buffer.[Ch] (getLabelList): constify.
6821 2002-08-07 André Pönitz <poenitz@gmx.net>
6823 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6825 * funcrequest.h: extension to keep mouse (x,y) position
6827 2002-08-12 Juergen Vigna <jug@sad.it>
6829 * BufferView2.C (insertErrors): forbid undo when inserting error
6832 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6834 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6836 * ParagraphList.[Ch]: new files
6838 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6840 * BufferView2.C (lockInset): ParagraphList changes
6843 * bufferlist.C: ditto
6847 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6849 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6850 unused class variable counter_,
6852 * paragraph.[Ch] (getFirstCounter): delete unused function
6854 * counters.C: include LAssert.h
6855 (reset): add a new function with no arg, change other version to
6856 not have def. arg and to not allow empty arg.
6858 * text2.C (setCounter): remove empty arg from call to Counters::reset
6860 2002-08-11 John Levon <levon@movementarian.org>
6862 * Makefile.am: add WordLangTuple.h
6864 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6866 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6867 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6869 * insets/insettext.C: InsetList changes
6871 * graphics/GraphicsSupport.C (operator()): InsetList changes
6873 * toc.C (getTocList): InsetList changes
6875 * paragraph_pimpl.[Ch]: InsetList changes
6877 * paragraph.[Ch]: InsetList changes
6879 * buffer.C (inset_iterator): InsetList changes
6880 (setParagraph): ditto
6881 * buffer.h (inset_iterator): ditto
6882 * iterators.C (operator++): ditto
6883 * iterators.h: ditto
6885 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6887 * InsetList.[Ch]: new files, most InsetList handling moved out of
6890 * BufferView2.C (removeAutoInsets): InsetList changes
6892 (ChangeInsets): ditto
6894 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6896 * paragraph_pimpl.h (empty): new function
6898 * paragraph.[Ch] (empty): new function
6900 * other files: use the new Paragraph::empty function
6902 2002-08-09 John Levon <levon@movementarian.org>
6904 * lyxtext.h: remove unused refresh_height
6906 2002-08-09 John Levon <levon@movementarian.org>
6913 * paragraph.C: move sgml char escaping out of paragraph
6916 * paragraph.C: remove id setter
6920 * paragraph_pimpl.C: remove dead tex_code_break_column
6922 * bufferview_funcs.C: small cleanup
6924 * lyxfunc.C: remove dead proto
6926 * lyxtext.h: make some stuff private. Remove some dead stuff.
6928 * lyxgluelength.C: make as[LyX]String() readable
6930 2002-08-08 John Levon <levon@movementarian.org>
6935 * ToolbarDefaults.C:
6938 * toc.C: lyxaction cleanup
6940 2002-08-08 John Levon <levon@movementarian.org>
6942 * BufferView2.C: small cleanup
6945 * lyxfind.C: move unnecessary header into the .C
6947 2002-08-08 John Levon <levon@movementarian.org>
6949 * funcrequest.h: just tedious nonsense
6952 * lyx_main.C: cleanups
6955 * vspace.C: remove dead header lyx_main.h
6957 2002-08-07 Angus Leeming <leeming@lyx.org>
6960 * paragraph_pimpl.h:
6961 Forward declare class Counters in paragraph.h by moving the ctrs member
6962 variable into Paragraph::Pimpl.
6963 (counters): new method, returning a reference to pimpl_->ctrs.
6965 * text2.C: ensuing changes.
6967 2002-08-07 John Levon <levon@movementarian.org>
6969 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6971 * BufferView_pimpl.C: announce X selection on double/triple
6974 * lyx_main.C: use correct bool in batch dispatch
6976 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6978 2002-08-07 André Pönitz <poenitz@gmx.net>
6980 * funcrequest.h: new class to wrap a kb_action and its argument
6983 * BufferView_pimpl[Ch]:
6987 * lyxrc.C: subsequent changes
6990 2002-08-07 John Levon <levon@movementarian.org>
6992 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6993 document options change.
6995 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7000 * makefile.am: move counters functionality over from
7001 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7003 2002-08-06 John Levon <levon@movementarian.org>
7005 * WordLangTuple.h: new file for word + language code tuple
7016 * BufferView2.C: use WordLangTuple
7019 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7021 2002-08-06 John Levon <levon@movementarian.org>
7023 * lyx_main.C: fix cmdline batch handling
7025 2002-08-06 André Pönitz <poenitz@gmx.net>
7027 * lyxrc.C: set default for show_banner to true
7029 2002-08-06 John Levon <levon@movementarian.org>
7031 * pspell.C: fix a crash, and allow new aspell to work
7033 2002-08-06 John Levon <levon@movementarian.org>
7036 * kbmap.C: small cleanup
7039 * vspace.C: add const
7041 2002-08-05 John Levon <levon@movementarian.org>
7043 * LyXAction.C: back to tabular-insert
7045 2002-08-04 John Levon <levon@movementarian.org>
7048 * BufferView.C: cosmetic change
7050 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7060 * BufferView2.C: purge all "Lyx" not "LyX" strings
7063 * lyxcursor.C: attempt to add some documentation
7068 * ToolbarDefaults.C:
7069 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7070 merge with LFUN_TABULAR_INSERT
7077 * pspell.C: split up i/pspell implementations into separate
7078 files, many cleanups
7080 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7082 * text2.C: some cleanup
7084 * lyxfunc.C: don't check for isp_command == "none" any more, it
7085 didn't make any sense
7087 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7092 * makefile.am: move counters functionality over
7093 from text2.C/paragraph.[Ch] to counters.[Ch], and
7095 2002-08-02 John Levon <levon@movementarian.org>
7097 * buffer.C: s/lyxconvert/lyx2lyx/
7099 2002-08-02 Angus Leeming <leeming@lyx.org>
7101 * lyxlex.C: revert John's change as it breaks reading of the user
7104 2002-08-02 Angus Leeming <leeming@lyx.org>
7106 * importer.C (Import):
7107 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7108 changes due to LyXView::view() now returning a boost::shared_ptr.
7110 2002-08-02 John Levon <levon@movementarian.org>
7112 * lyxlex.C: small cleanup
7114 2002-08-02 John Levon <levon@movementarian.org>
7116 * text2.C (status): small cleanup, no logic change
7118 2002-08-01 John Levon <levon@movementarian.org>
7121 * buffer.C (writeFile): don't output alerts, caller
7125 * lyx_cb.C: from above
7127 * lyxfunc.C: allow to open non-existent files
7129 2002-07-31 John Levon <levon@movementarian.org>
7131 * lyxserver.C: don't let incidental errors get
7134 2002-07-30 John Levon <levon@movementarian.org>
7136 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7138 2002-07-30 John Levon <levon@movementarian.org>
7141 * lyxserver.C: remove I/O callback too
7143 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7145 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7148 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7150 * many files: strip,frontStrip -> trim,ltrim,rtrim
7152 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7154 * PrinterParams.h: remove extern containsOnly, and include
7155 support/lstrings.h instead.
7157 * LaTeX.C (scanAuxFile): modify because of strip changes
7159 * buffer.C (makeLaTeXFile): ditto
7160 * bufferparams.C (writeFile): ditt
7161 * lyxfont.C (stateText): ditto
7162 * lyxserver.C (read_ready): ditto
7163 * vc-backend.C (scanMaster): ditto
7165 * BufferView_pimpl.h: ws changes
7167 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7169 2002-07-26 André Pönitz <poenitz@gmx.net>
7171 * kb_sequence.C: remove unnedred usings
7173 2002-07-26 Juergen Vigna <jug@sad.it>
7175 * lyxfind.C (LyXReplace): we have to check better if the returned
7176 text is not of theLockingInset()->getLockingInset().
7178 2002-07-25 Juergen Vigna <jug@sad.it>
7180 * lyxfind.C (LyXReplace): don't replace if we don't get the
7183 * undo_funcs.C (createUndo): remove debugging code.
7185 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7187 * buffer.C (parseSingleLyXformat2Token): Use default placement
7188 when reading old floats.
7190 * FloatList.C (FloatList): Change the default placement of figure
7191 and tables to "tbp".
7193 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7195 * MenuBackend.C: using std::max
7197 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7199 * MenuBackend.C (expandToc):
7200 (expandToc2): code moved from xforms menu frontend. It is now
7201 generic and TOCs are transparent to menu frontends.
7203 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7205 * toc.C (getTocList): protect against buf=0
7207 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7208 Menu as first parameter. Now, this calls itself recursively to
7209 expand a whole tree (this will be useful for TOC handling)
7210 (expandFloatInsert): remove 'wide' version of floats
7212 * MenuBackend.h (submenuname): returns the name of the submenu.
7213 (submenu): returns the submenu itself, provided it has been
7214 created by MenuBackend::expand
7216 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7218 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7219 insets which have noFontChange == true. (bug #172)
7221 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7223 * BufferView_pimpl.C: add connection objects and use them...
7226 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7228 * MenuBackend.C (expandLastfiles):
7231 (expandFloatListInsert):
7232 (expandFloatInsert):
7233 (expand): split expand in parts
7235 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7237 * lyx_gui.C: use lyx_gui::exit()
7239 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7241 * LyXAction.C: show the failing pseudo action
7243 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7245 * buffer.C (readFile): Run the lyxconvert script in order to read
7248 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7252 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7254 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7258 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7260 2002-07-22 Herbert Voss <voss@lyx.org>
7263 * lyxlength.[Ch]: add support for the vertical lengths
7265 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7267 * toc.[Ch]: std:: fixes
7269 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7271 * lyxrc.C: do not include lyx_main.h
7273 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7279 * BufferView2.C: include "lyxlex.h"
7282 * bufferparams.h: do not #include "lyxlex.h"
7284 * lyxtextclasslist.C (Add): remove method
7285 (classlist): renamed to classlist_
7287 * paragraph_pimpl.C:
7291 * bufferview_funcs.C:
7296 * toc.C (getTocList): use BufferParams::getLyXTextClass
7298 * toc.C (getTocList): use InsetFloat::addToToc
7300 * toc.[Ch]: new files, containing helper functions to handle table
7303 * lyxfunc.C (dispatch): no need to remove spaces around command
7305 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7306 first command of the sequence; it is not very clever, but I do not
7307 have a better idea, actually
7309 * LyXAction.C (LookupFunc): make sure to remove space at the
7310 beginning and end of the command
7312 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7314 * MenuBackend.C (getMenubar): new method: return the menubar of
7316 (read): treat differently reading of menu and menubar (in
7317 particular, the menubar has no name now)
7318 (Menu::menubar): remove
7320 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7323 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7325 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7326 a bibitem inset in a RTL paragraph.
7328 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7330 * paragraph_pimpl.C: constify
7332 * BufferView_pimpl.C:
7334 * lyxfunc.C: fix dispatch in a nicer way
7336 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7338 * lyxfunc.C (dispatch):
7339 * BufferView_pimpl.C:
7340 * BufferView_pimpl.h:
7342 * BufferView.h: rename Dispatch() to dispatch()
7344 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7346 * lyxlayout.C (Read): honor DependsOn tag
7348 * lyxlayout.[Ch] (depends_on): new method
7350 * version.C.in: update lyx_docversion
7352 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7354 * paragraph.C (validate): remove from here...
7355 * paragraph_pimpl.C (validate): ... and move here
7356 (isTextAt): make it const
7358 * buffer.C (getLists): ws cleanup
7360 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7362 * language.C (read): Use iso8859-1 encoding in latex_lang
7363 (this prevents LyX from crashing when using iso10646-1 encoding).
7365 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7367 * text2.C (toggleInset): if cursor is inside an inset, close the
7368 inset and leave cursor _after_ it
7370 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7372 * lyxfunc.C: move minibuffer completion handling out of here
7374 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7376 * BufferView_pimpl.C:
7377 * LaTeX.C: fix dispatch calls
7379 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7381 * text.C (drawChars): Fix Arabic text rendering.
7383 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7387 * lyxfunc.C: remove message-push/pop
7391 * lyxfunc.C: rationalise some code by removing verboseDispatch
7392 in favour of a bool argument to dispatch()
7394 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7396 * lyx_main.C (init): make sure to read symlinks as absolute paths
7398 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7401 * lyxfunc.C: no need for commandshortcut to be a member
7403 2002-07-15 André Pönitz <poenitz@gmx.net>
7405 * converter.C: add support for $$s (scripts from lib/scripts dir)
7406 * lyx_main.C: white space
7408 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7412 * lyxrc.C: remove second exit confirmation
7414 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7419 * BufferView_pimpl.h:
7420 * BufferView_pimpl.C:
7421 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7423 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7425 * MenuBackend.C (expand): add numeric shortcuts to document menu
7427 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7429 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7431 * lyxfont.C (setLyXFamily):
7438 * buffer.C (asciiParagraph): use ascii_lowercase
7440 2002-07-15 Mike Fabian <mfabian@suse.de>
7442 * lyxlex_pimpl.C (search_kw):
7443 * lyxlex.C (getLongString):
7444 * converter.h (operator<):
7445 * converter.C (operator<):
7446 * buffer.C (parseSingleLyXformat2Token):
7448 * ToolbarDefaults.C (read):
7449 * MenuBackend.C (checkShortcuts):
7451 * LColor.C (getFromGUIName):
7452 (getFromLyXName): use the compare_ascii_no_case instead of
7453 compare_no_case, because in turkish, 'i' is not the lowercase
7454 version of 'I', and thus turkish locale breaks parsing of tags.
7456 2002-07-16 Angus Leeming <leeming@lyx.org>
7458 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7459 now takes a Buffer const & argument.
7461 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7463 * BufferView.C (resize): check there's a buffer to resize
7465 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7467 * lyxfunc.C: remove dead code
7470 * lyxserver.C: use lyx_guii::set_read_callback
7472 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7474 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7475 an inset in a RTL paragraph.
7477 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7479 * lyxfunc.C: repaint after a font size update
7481 2002-07-15 André Pönitz <poenitz@gmx.net>
7483 * lyxlength.C: inBP should be able to return negative values
7485 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7487 * lyxfunc.C: use lyx_gui::update_fonts()
7489 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7491 * lyxfunc.C: use lyx_gui::update_color()
7493 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7499 * lyxrc.C: remove file->new asks for name option, and let
7500 buffer-new take an argument
7502 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7504 * BufferView_pimpl.C: remove unneeded extra repaint()
7506 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7508 * LyXAction.C: allow command-sequence with NoBuffer
7510 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7512 2002-07-10 Angus Leeming <leeming@lyx.org>
7514 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7516 2002-07-09 Angus Leeming <leeming@lyx.org>
7518 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7520 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7522 * lengthcommon.h: whitespace
7524 * lyxfunc.C: update scrollbar after goto paragraph
7526 * lyxtext.h: factor out page break drawing, and fix it so
7527 page break/added space paints as selected nicely
7529 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7531 * BufferView_pimpl.C: add FIXMEs, clean up a little
7533 2002-07-09 André Pönitz <poenitz@gmx.net>
7535 * lyxfont.[Ch]: support for wasy symbols
7537 2002-07-08 André Pönitz <poenitz@gmx.net>
7539 * BufferView_pimpl.C: apply John's patch for #93.
7541 2002-07-05 Angus Leeming <leeming@lyx.org>
7543 * BufferView_pimpl.C (buffer): generate previews if desired.
7545 * LColor.h: add "preview" to the color enum.
7547 * LColor.C (LColor): add a corresponding entry to the items array.
7549 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7552 2002-07-05 Angus Leeming <leeming@lyx.org>
7554 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7555 The body of the code is now in the method that is passed an ostream &
7556 rather than a file name.
7557 Pass an additional only_preamble parameter, useful for the forthcoming
7560 2002-07-03 André Pönitz <poenitz@gmx.net>
7562 * lyxfunc.C: simplify getStatus() a bit for math stuff
7564 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7566 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7568 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7570 * text.C (changeRegionCase): do not change case of all the
7571 document when region ends at paragraph end (bug #461)
7573 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7575 * paragraph.C (startTeXParParams):
7576 (endTeXParParams): add \protect when necessary
7578 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7580 * BufferView_pimpl.C (workAreaExpose): remove warning
7582 2002-06-27 Angus Leeming <leeming@lyx.org>
7584 * Makefile.am: add lyxlayout_ptr_fwd.h.
7586 2002-06-26 André Pönitz <poenitz@gmx.net>
7588 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7590 2002-06-25 Angus Leeming <leeming@lyx.org>
7592 * lyxfunc.C (dispatch): Comment out the call to
7593 grfx::GCache::changeDisplay. The method no longer exists now that the
7594 pixmap generation part of the graphics loader has been moved into
7597 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7599 * text2.C: layout as layout
7601 * text.C: layout as layout
7603 * tabular.C (OldFormatRead): layout as layout
7605 * paragraph_pimpl.C (TeXDeeper): layout as layout
7606 (realizeFont): layout as layout
7608 * paragraph.C (writeFile): layout as layout
7609 (validate): layout as layout
7610 (getFont): layout as layout
7611 (getLabelFont): layout as layout
7612 (getLayoutFont): layout as layout
7613 (breakParagraph): layout as layout
7614 (stripLeadingSpaces): layout as layout
7615 (getEndLabel): layout as layout
7616 (getMaxDepthAfter): layout as layout
7617 (applyLayout): layout as layout
7618 (TeXOnePar): layout as layout
7619 (simpleTeXOnePar): layout as layout
7620 (TeXEnvironment): layout as layout
7621 (layout): layout as layout
7622 (layout): layout as layout
7624 * lyxtextclass.C (compare_name): new functor to work with
7625 shared_ptr, layout as layout
7626 (Read): layout as layout
7627 (hasLayout): layout as layout
7628 (operator): layout as layout
7629 (delete_layout): layout as layout
7630 (defaultLayout): layout as layout
7632 * lyxlayout_ptr_fwd.h: new file
7634 * lyxlayout.C (Read): layout as layout
7636 * lyx_cb.C (MenuInsertLabel): layout as layout
7638 * bufferlist.C (newFile): layout as layout
7640 * buffer.C (readLyXformat2): layout as layout
7641 (parseSingleLyXformat2Token): layout as layout
7642 (insertStringAsLines): layout as layout
7643 (asciiParagraph): layout as layout
7644 (latexParagraphs): layout as layout
7645 (makeLinuxDocFile): layout as layout
7646 (simpleLinuxDocOnePar): layout as layout
7647 (makeDocBookFile): layout as layout
7648 (simpleDocBookOnePar): layout as layout
7649 (getLists): layout as layout
7651 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7653 * CutAndPaste.C (cutSelection): layout as layout
7654 (pasteSelection): layout as layout
7655 (SwitchLayoutsBetweenClasses): layout as layout
7657 * BufferView_pimpl.C (Dispatch): layout as layout
7658 (smartQuote): layout as layout
7660 * BufferView2.C (unlockInset): layout as layout
7662 2002-06-24 André Pönitz <poenitz@gmx.net>
7664 * lyxfunc.C: fix #487
7666 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7670 * lyxfunc.C: remove display_shortcuts, show_banner
7672 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7674 * Buffer_pimpl.C: oops, update on resize
7676 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7683 * BufferView.C: use repaint()
7685 * BufferView_pimpl.h:
7686 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7687 as it's a clearer description. Remove superfluous
7690 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7692 * text.C: fix bug 488. Not ideal, but getting
7693 getWord() to work properly for the insets that
7694 matter is more difficult ...
7696 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7698 * BufferView_pimpl.C:
7701 * lyxfunc.C: remove the six million index lyxfuncs to just
7702 one, and DTRT (bug 458)
7704 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7708 * BufferView_pimpl.h:
7709 * BufferView_pimpl.C: clean up resize() stuff,
7710 and unnecessary updateScreen()s
7712 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7716 * BufferView_pimpl.h:
7717 * BufferView_pimpl.C:
7720 * minibuffer.C: remove focus management of workarea,
7721 not needed. Use screen's greyOut()
7723 2002-06-17 Herbert Voss <voss@lyx.org>
7725 * converter.C: (convert) do not post a message, when converting
7726 fails, let the calling function decide what to do in this case
7728 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7730 * lyxfunc.C: tidy up a little
7732 2002-06-16 <alstrup@diku.dk>
7734 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7735 Got rid of FORMS_H_LOCATION include. Now we are
7738 2002-06-15 LyX Development team <lyx@rilke>
7740 * buffer.[Ch] (sgmlOpenTag):
7741 (sgmlCloseTag): Added support for avoiding pernicious mixed
7742 content. Return number of lines written.
7745 (makeDocBookFile): Fixed calls to sgml*Tag.
7746 Simple white space clean.
7748 (simpleDocBookOnePar): Simple white space clean.
7750 * tabular.[Ch] (docBook): Renamed to docbook and got another
7751 argument to related with the pernicious mixed content.
7753 (docbookRow): Fixed calls for docbook inset method.
7755 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7757 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7758 so it's X11 independent.
7762 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7764 2002-06-15 Lyx Development team <lyx@electronia>
7766 * intl.h: Renamed getTrans to getTransManager.
7768 2002-06-14 Angus Leeming <leeming@lyx.org>
7770 * Makefile.am: nuke forgotten stl_string_fwd.h.
7772 2002-06-12 Angus Leeming <leeming@lyx.org>
7774 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7776 2002-06-13 Angus Leeming <leeming@lyx.org>
7779 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7781 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7783 * kbmap.C (getiso): add support for cyrillic and greek
7785 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7789 * BufferView_pimpl.h:
7790 * BufferView_pimpl.C: move bogus scrolling logic
7793 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7796 * BufferView_pimpl.C: view->resize() change
7798 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7800 * BufferView_pimpl.C: topCursorVisible
7803 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7807 * lyx_gui.C: move to frontends/
7811 * lyx_main.C: changes from above
7813 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7820 * lyx_main.C: minor tidy
7822 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7824 * BufferView_pimpl.h:
7825 * BufferView_pimpl.C:
7827 * BufferView.C: make painter() const,
7830 * BufferView2.C: use screen() accessor
7833 * lyx_main.C: some minor cleanup
7835 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7837 * BufferView_pimpl.h:
7838 * BufferView_pimpl.C: remove enter/leaveView,
7841 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7846 * BufferView_pimpl.h:
7847 * BufferView_pimpl.C: only construct screen once,
7850 * lyxrc.C: remove pointless comment
7852 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7855 * BufferView.C: remove active() and belowMouse()
7857 * BufferView_pimpl.h:
7858 * BufferView_pimpl.C: use workarea() not workarea_,
7859 and make it use a scoped_ptr instead
7861 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7863 * lyx_gui.C: add debug message on BadWindow
7865 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7867 * sp_spell.C: fdopen is not part of the C++ standard.
7869 * paragraph.C (InsetIterator): use >= instead of ==
7871 2002-06-07 Angus Leeming <leeming@lyx.org>
7873 Fixes needed to compile with Compaq cxx 6.5.
7874 * BufferView_pimpl.C:
7881 * lyxtextclasslist.C:
7886 all c-library variables have been moved into namespace std. Wrap
7887 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7892 Add a using std::abs declaration.
7894 * kbmap.h (modifier_pair):
7895 * paragraph.h (InsetTable, InsetList):
7896 * lyxfont.h (FontBits):
7897 type definition made public.
7899 * bufferlist.C (emergencyWriteAll): the compiler complains that
7900 there is more than one possible lyx::class_fun template to choose from.
7901 I re-named the void specialisation as lyx::void_class_fun.
7903 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7905 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7906 the compiler is is unable to find tostr in write_attribute.
7908 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7910 * buffer.C (sgmlError): hide #warning
7912 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7914 * xtl/*: get rid of xtl, which is not in use anyway
7916 * LyXAction.C (init):
7917 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7918 were unimplemented xtl experimentation
7920 2002-06-04 André Pönitz <poenitz@gmx.net>
7922 * lyxfunc.C: disable array operation on simple formulae
7924 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7926 * converter.C: constify a bit
7928 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7930 * lyx_gui.C: check xforms version correctly
7932 2002-04-30 Herbert Voss <voss@lyx.org>
7934 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7937 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7939 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7940 attempt to register it with a VCS)
7942 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7944 * lyx_main.C (init): honor variables LYX_DIR_13x and
7947 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7951 * lyx_main.C: fix a crash on bad command line,
7952 and give a useful exit status on error
7954 * lyxfunc.C (doImport): allow -i lyx to work
7956 2002-03-30 André Pönitz <poenitz@gmx.net>
7958 * lyxfunc.C: mathed font changes
7960 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7975 * trans_mgr.h: srcdocs, and some minor cleanups
7977 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7979 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7980 call getFont all the time)
7982 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7984 * switch from SigC signals to boost::signals
7986 2002-05-29 André Pönitz <poenitz@gmx.net>
7988 * paragraph_pimpl.C (getChar): don't call size() too often...
7990 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7992 * paragraph_pimpl.C (insertChar): do not try to update tables when
7993 appending (pos == size())
7995 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7996 in order to reduce drastically the number of comparisons needed to
7997 parse a large document
7999 2002-05-29 André Pönitz <poenitz@gmx.net>
8005 * textclasslist.[Ch]:
8006 * sp_ispell.h: whitespace change
8008 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8010 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8011 lyxaction directly now.
8013 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8017 * lyxvc.C: remove unused headers
8019 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8026 * undo_funcs.C: some cleanups. Use shared_ptr
8027 and a template for the undo stacks.
8029 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8031 * BufferView_pimpl.h:
8032 * BufferView_pimpl.C:
8039 * text2.C: use key_state/mouse_state
8041 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8043 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8046 * chset.C: change include order
8047 (loadFile): use boost regex and get rid of LRegex and LSubstring
8049 * Makefile.am (BOOST_LIBS): new variable
8052 * LaTeX.C: change include order.
8053 (scanAuxFile): use boost regex and get rid of LRegex and
8057 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8062 * FontInfo.C: moved to frontends/xforms/
8065 * FontLoader.C: moved into frontends for GUIIzation
8070 * lyxfunc.C: changes from above
8072 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8074 * LColor.C: remove spurious X include
8076 * BufferView_pimpl.C:
8081 * text2.C: move font metrics to frontends/
8083 2002-05-24 Juergen Vigna <jug@sad.it>
8085 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8086 setting the undo_cursor.
8088 * ParagraphParameters.h: include local includes first.
8090 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8092 * BufferView_pimpl.C:
8093 * BufferView_pimpl.h:
8097 * screen.C: move WorkArea into frontends/
8103 * BufferView2.C: move LyXScreen into frontends/
8107 * lyx_gui.C: move lyxlookup into frontends/xforms/
8109 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8112 * BufferView_pimpl.C:
8122 * bufferview_funcs.C:
8135 * vc-backend.C: move LyX/XFormsView into frontends/
8137 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8149 * text2.C: move Painter to frontends/
8151 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8153 * buffer.C: comment out some some code that depend upon lyx_format
8156 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8157 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8159 * buffer.h (NO_COMPABILITY): turn off compability
8161 * ColorHandler.C: include scoped_array.hpp
8163 * font.C: Use more specific smart_ptr header.
8166 * ShareContainer.h: ditto
8170 * BufferView_pimpl.h: ditto
8171 * ColorHandler.h: ditto
8173 * kbmap.C (defkey): change call to shared_ptr::reset
8175 2002-05-21 Juergen Vigna <jug@sad.it>
8177 * buffer.C (insertErtContents): fix to insert ert asis if it is
8178 non empty. Skip it completely if it contains only whitespaces.
8180 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8182 * BufferView_pimpl.C:
8183 * BufferView2.C: clear selection on paste (bug 393)
8185 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8187 * DepTable.C: include ctime
8189 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8191 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8193 2002-05-14 Juergen Vigna <jug@sad.it>
8195 * text.C (breakParagraph): fixed function to honor the keepempty
8196 layout in the right maner and also to permit the right breaking
8197 algorithm on empty or non empyt keepempty paragraphs.
8199 * paragraph.C (breakParagraph): we have to check also if the par
8200 is really empty (!size()) for isempty otherwise we do the wrong
8203 2002-05-10 Juergen Vigna <jug@sad.it>
8205 * buffer.[Ch] : The following are only changes to the ert
8206 compatibility read reading old LaTeX layout and font stuff and
8207 convert it to ERTInsets.
8209 * buffer.h: added isErtInset().
8211 * buffer.C (struct ErtComp): add a fromlayout bool to check
8212 if we're inside a LaTeX layout.
8213 (isErtInset): new helper function.
8214 (insertErtContents): look for other ert insets before this one
8215 and insert the contents there, so that we don't have subsequent
8216 ERT insets with nothing between them. This way we create only one
8217 inset with multiple paragraphs. Also check if we don't insert only
8218 spaces ' ' as they are ignored anyway afterwards in the .tex file
8219 so if we have only spaces we will ignore this latex part in the
8221 (parseSingleLyXformat2Token \\layout): better compatibility when
8222 reading layout-latex stuff.
8223 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8225 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8226 stuff after reading the inset only get the information back from
8229 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8231 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8233 * LaTeXFeatures.C (getBabelOptions): New method.
8235 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8237 * BufferView_pimpl.C (Dispatch): work around missing argument for
8240 2002-05-08 Juergen Vigna <jug@sad.it>
8242 * text.C (leftMargin): handle paragraph leftindent.
8244 * paragraph.C (writeFile): write the new \\leftindent tag.
8245 (validate): handle leftindent code.
8246 (TeXEnvironment): handle paragraphleftindent code again.
8248 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8250 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8251 for paragrap_extra indent code and new token \\leftindent.
8252 (latexParagraphs): handle the leftindent as environment.
8254 * ParameterStruct.h: added leftindent support.
8256 * ParagraphParameters.C (leftIndent): added support functions for
8257 the paragraph left indent.
8259 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8262 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8264 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8267 * text.C (computeBidiTables): No bidi in insetERT.
8269 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8272 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8274 * version.C.in: pre 5
8276 2002-05-02 José Matos <jamatos@fep.up.pt>
8277 * buffer.C (makeDocBookFile): white space changes, add newline to
8279 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8281 * tabular.C (docBook): fix typo.
8283 2002-05-03 Juergen Vigna <jug@sad.it>
8285 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8286 change in LyXText as we can not be sure it was not freed.
8287 (drawOneRow): remove unused code.
8289 * text.C (drawInset): redo the calculation of the need_break_row as
8290 it could have a row which was already freed.
8291 (draw): look at the return value of drawInset and return false if
8292 it also returned false.
8293 (paintRowText): look at the return value of draw and return false if
8294 it also returned false.
8296 * lyxtext.h: added bool return type to drawInset() and draw() so that
8297 if we have a change in the row so that the rowbreak has to be redone
8298 we abort drawing as it will be called again.
8300 2002-05-02 Juergen Vigna <jug@sad.it>
8302 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8303 a change in the maintext also if we're inside an inset.
8304 (Dispatch): set the cursor again after a break line and after the
8305 screen has been updated as it could be we're in a different row.
8307 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8308 to set the cursor behind the pargraph with > size().
8309 (setCursor): check also for the same paragraph when checking where
8310 to put the cursor if we have a NFR inset.
8312 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8313 parts of layout read further up as it still was in the wrong
8316 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8318 * screen.C (drawFromTo): change sine fullRebreak always return
8321 * buffer.C (parseSingleLyXformat2Token): reindent some
8323 * BufferView_pimpl.C (update): change since fullRebreak always
8325 (Dispatch): git rid of the last hardcoded "Standard"s.
8327 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8329 * text2.[Ch] (fullRebreak): make it return void now that we always
8332 2002-04-30 Juergen Vigna <jug@sad.it>
8334 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8335 ert compatibility check for "latex" layout.
8337 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8339 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8340 minipages: use col% instead of p%, and also use the current font.
8341 (makeLaTeXFile): Fix use babel condition.
8342 (parseSingleLyXformat2Token): Correct font when reading old floats.
8344 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8346 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8347 inserting list of floats.
8349 2002-04-25 Herbert Voss <voss@lyx.org>
8351 * MenuBackend.C (expand): don't add the graphics extensions to the
8354 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8356 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8357 non-existing layout, do not complain if it was the default layout
8358 of the original class (bug #342)
8360 2002-04-24 Juergen Vigna <jug@sad.it>
8362 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8363 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8365 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8367 * buffer.C (getBibkeyList): If using \bibliography, return the
8368 option field with the reference itself. Enables us to provide natbib
8369 support when using \bibliography.
8371 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8373 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8375 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8376 natbib is provided by the LaTeX class.
8378 2002-04-23 Juergen Vigna <jug@sad.it>
8380 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8383 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8385 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8387 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8389 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8390 ensuremath around textordmasculine, textordfeminine and
8393 2002-04-19 Juergen Vigna <jug@sad.it>
8395 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8396 reinitializing the buffer otherwise row-dimensions may be wrong.
8397 (update): reset also the selection cursors if they do exits otherwise
8398 their x/y positions may be wrong.
8400 * text2.C (cursorDown): don't enter the inset if we came from a row
8401 above and are one row over the inset.
8403 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8404 really leaving an inset.
8406 2002-04-18 Juergen Vigna <jug@sad.it>
8408 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8409 of the selected paragraph does not have the selected layout also if
8412 * text2.C (setLayout): fixed bug which did not change last selected
8415 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8416 changed the read and substituted \\end_float with \\end_inset!
8418 * BufferView_pimpl.C (cursorPrevious):
8419 (cursorNext): fixed to make it work with rows heigher than the work
8420 area without moving the cursor only the draw of the row.
8421 (workAreaMotionNotify): fix jumping over high rows.
8423 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8425 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8428 2002-04-16 Juergen Vigna <jug@sad.it>
8430 * text2.C (setCursor): set also the irow().
8431 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8433 (cursorDown): support for locking an inset if the x_fix value goes
8434 inside it. That way I can transverse insets too with cursor up/down.
8436 * lyxrow.h: added irow helper function same as other (i) functions.
8438 * BufferView_pimpl.C (cursorPrevious):
8439 (cursorNext): fixed for insets!
8441 2002-04-15 Juergen Vigna <jug@sad.it>
8443 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8444 position otherwise it is wrong in some cases.
8446 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8447 inside the inset before the call.
8449 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8451 * buffer.[Ch] (getBibkeyList): make it const.
8453 2002-04-12 Juergen Vigna <jug@sad.it>
8455 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8457 * text2.C (getCursorX): new helper function
8458 (setCursor): compute also ix_
8459 (setCursorFromCoordinates): set also ix.
8461 * lyxcursor.h: added ix_ and helper functions.
8463 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8465 * buffer.C (insertStringAsLines): dont break paragraph if the this
8466 paragraph is inside an inset which does not permit it!
8468 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8469 also with no chars on this paragraph.
8470 (paintRowText): only paint stuff if it's inside the workarea!
8472 * paragraph.C (breakParagraph): honor keepempty flag and break the
8473 paragraph always below not above.
8475 * BufferView2.C (unlockInset): update the paragraph layout on inset
8476 unlock as we changed paragraph in such a case.
8478 * lyxfind.C (LyXFind): clear the former selection if not found!
8480 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8481 again called in insertChar().
8483 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8484 an inset which uses the whole row!
8485 (rightMargin): ditto.
8486 (insertChar): force a rebreak if we inserted an inset!
8488 2002-03-28 Herbert Voss <voss@lyx.org>
8490 * lyxlength.[Ch]: add inBP() to get the right PS-point
8491 units (BigPoint). With inPixels we have rounding errors
8493 2002-04-11 Juergen Vigna <jug@sad.it>
8495 * text2.C (setCursorFromCoordinates): set iy to the right value.
8496 (setCursor): add check if row->previous exists!
8498 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8499 an old float_type as this was the case in the old code!
8501 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8503 * BufferView2.C (showLockedInsetCursor): use iy
8504 (fitLockedInsetCursor): ditto
8506 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8507 locked insets as there we have the right value now.
8509 * lyxcursor.C: added iy_ variable and iy functions to set to the
8510 baseline of cursor-y of the locked inset.
8512 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8513 (setCursor): fixed for insets which need a full row.
8515 * text.C (rowLastPrintable): don't ignore the last space when before
8516 an inset which needs a full row.
8517 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8518 as last character of a row when before a inset which needs a full row.
8520 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8522 * version.C.in: update date
8524 * text2.C (fullRebreak): try to always return true and see what
8527 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8529 * MenuBackend.C (expand): use Floating::listName
8531 * FloatList.C (FloatList): add listName argument to the built-in
8534 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8535 text associated with the float.
8537 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8539 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8541 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8543 * ShareContainer.h: add a couple of missing typenames.
8545 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8547 * lyxrc.C (getDescription): use _() correctly rather than N_().
8549 2002-03-28 Herbert Voss <voss@lyx.org>
8551 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8552 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8554 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8556 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8557 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8559 2002-03-29 Juergen Vigna <jug@sad.it>
8561 * lyxfunc.C (dispatch): add a missing fitCursor call.
8563 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8564 it was scrolled by a cursor move, so return the bool status.
8566 * BufferView.C (fitCursor): return the bool flag also to the outside
8567 world as this is needed.
8569 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8571 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8572 call the edit() as it is not needed (and wrong) IMO.
8573 (workAreaButtonPress): set the screen_first variable before evt.
8574 unlock the inset as this may change screen_first and then we have
8575 a wrong y position for the click!
8577 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8579 * MenuBackend.C (expand): another translation that I missed
8581 2002-03-28 Juergen Vigna <jug@sad.it>
8583 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8585 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8587 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8589 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8591 * MenuBackend.C (expand): fix export/view/update when there is no
8594 2002-03-27 Herbert Voss <voss@lyx.org>
8596 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8599 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8601 * bufferview_funcs.C (currentState): only show paragraph number
8602 for is DEVEL_VERSION is set.
8604 * lyxfunc.C (dispatch): put warning in INFO channel
8606 * MenuBackend.C (expand): translate the name of floats
8608 * FloatList.C (FloatList): mark the float names for translation
8610 * converter.C (convert): use LibScriptSearch
8612 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8614 * MenuBackend.C (defaults): fix default menu (we might as well get
8617 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8619 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8622 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8624 * lyxvc.C: reorder includes.
8626 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8628 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8631 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8633 * CutAndPaste.C: change layouts earlier on paste
8634 to avoid crashing when calling getFont()
8636 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8638 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8641 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8643 * WorkArea.C: remove 'Pending' debug message.
8645 * most files: ws cleanup
8647 * buffer.[Ch]: ws changes
8649 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8651 2002-03-21 Juergen Vigna <jug@sad.it>
8653 * tabular.C (SetMultiColumn): collapse also the contents of the
8654 cells and set the last border right. Added a Buffer const * param.
8656 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8658 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8661 2002-03-19 Juergen Vigna <jug@sad.it>
8663 * text2.C (clearSelection): reset also xsel_cache.
8665 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8666 where it needs to be called (John tells us to do so too :)
8667 (selectionLost): reset sel_cache.
8669 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8671 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8673 * text2.C (setCursorIntern): put debuging code in INSETS channel
8675 2002-03-19 André Pönitz <poenitz@gmx.net>
8677 * lyxfunc.C: tiny whitespace change
8679 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8681 * ToolbarDefaults.C (init):
8682 * LyXAction.C (init):
8684 * BufferView_pimpl.C (Dispatch):
8685 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8687 2002-03-19 Allan Rae <rae@lyx.org>
8689 * exporter.C (Export): removeAutoInsets before doing anything else.
8690 While I've just introduced a dependency on BufferView this really is
8691 the best place to clean the buffer otherwise you need to cleanup in
8692 a dozen places before calling export or cleanup in a dozen functions
8695 * converter.C (runLaTeX):
8696 (scanLog): Better handling of removeAutoInsets and screen updates.
8698 * lyxfunc.C (dispatch): small whitespace changes
8700 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8702 * WorkArea.C (C_WorkAreaEvent): return a value.
8703 (event_cb): return 1 if we handled the event, 0 otherwise.
8705 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8707 2002-03-18 Juergen Vigna <jug@sad.it>
8709 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8710 (GetAdditionalWidth): ditto.
8714 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8715 inset if we're there actually (probably not used right now but this
8716 is the direction to go for unifying code).
8717 (paste): disable code to clear the selection.
8719 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8720 inside an InsetText and move the check further up as it is in the
8723 * text2.C (pasteSelection): set a selection over the pasted text.
8725 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8727 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8728 and libgraphics to build on Cygwin.
8730 2002-03-15 Juergen Vigna <jug@sad.it>
8732 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8733 inserting an Inset into the paragraph. I know this is not the best
8734 fix but we already use current_view in CutAndPaste so we will remove
8735 all of it's using at the same time.
8737 * buffer.C (sgmlError): deactivated function till it is rewritten in
8738 the right mode, now it can create problems.
8740 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8741 before accessing it.
8743 2002-03-14 Juergen Vigna <jug@sad.it>
8745 * undo_funcs.C (textHandleUndo): do the right thing when updating
8746 the inset after the undo/redo.
8748 * text2.C (setCursor): just some testcode for #44 not ready yet.
8750 * undo_funcs.C (textHandleUndo): set the next() and previous()
8751 pointers of the paragraph to 0 before deleting otherwise we have
8752 problems with the Paragraph::[destructor].
8754 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8755 on a paragraph insertion.
8757 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8759 * buffer.C (asciiParagraph): use += operator for char append to
8762 * paragraph.C (getFontSettings): compare >= not just >
8763 (highestFontInRange): ditto
8766 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8768 * paragraph.C: change several algorithm to be more appripriate for
8769 the problem domain. This is lookip in FontList and in the InsetList.
8771 2002-03-13 André Pönitz <poenitz@gmx.net>
8774 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8776 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8781 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8783 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8785 * Painter.C (display): anon helper function, adjust code for this
8787 (pixmap): remove function.
8789 * Painter.h: remove private display variable.
8791 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8793 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8795 * WorkArea.[Ch]: remove figinset_canvas cruft.
8797 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8799 * lyxtextclass.C (operator): add one item cache optimization.
8801 * bufferlist.h: doxy changes
8803 * bufferlist.C: ws changes
8805 * DepTable.[Ch] (ext_exist): place const in the right spot.
8807 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8809 (workAreaExpose): call resizeInsets when the with BufferView changes.
8810 (Dispatch): adjust for protectedBlank removal
8811 (specialChar): call updateInset if the insert went ok.
8813 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8814 specialChar instead.
8816 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8818 * BufferView.h: doxy change
8820 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8822 * lyxtextclass.C (operator[]): remove non-const version
8823 (defaultLayout): remove non-const version
8825 2002-03-12 Juergen Vigna <jug@sad.it>
8827 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8828 did resize the LyXText too.
8830 * buffer.C (readLyXformat2): set layout information on newly allocated
8833 * tabular.C (OldFormatRead): set layout information on the paragraph.
8835 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8837 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8839 2002-03-11 Juergen Vigna <jug@sad.it>
8841 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8843 (resizeCurrentBuffer): force also the insets to resize themselfes.
8844 (moveCursorUpdate): fixed up for InsetText.
8846 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8849 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8850 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8851 value of Dialogs::tooltipsEnabled().
8852 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8854 2002-03-08 Juergen Vigna <jug@sad.it>
8856 * BufferView_pimpl.C (updateInset): update inset inside inset also
8857 if it isn't inside theLockingInset().
8859 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8861 * buffer.C (asciiParagraph): redo some of the word and line length
8863 (getLists): look for Caption instead of caption.
8865 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8867 * buffer.C (Buffer): initialize niceFile to true
8870 (makeDocBookFile): make sure niceFile is true on exit
8872 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8874 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8876 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8878 * LyXSendto.C: remove.
8879 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8880 * lyx_gui.C: remove now-redundant comment.
8881 * ColorHandler.h: remove forward declaration of class WorkArea.
8882 * lyxfunc.C: remove #include "WorkArea.h".
8884 2002-03-07 Juergen Vigna <jug@sad.it>
8886 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8887 got moved away with the DEPM and also set the inset_owner always
8888 right which before could have been omitted.
8890 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8892 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8893 wanted layout is not found.
8895 2002-03-07 Juergen Vigna <jug@sad.it>
8897 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8899 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8901 * paragraph.C (breakParagraph): use default layout not layout of
8903 (Paragraph): clear ParagraphParameters.
8905 2002-03-06 Juergen Vigna <jug@sad.it>
8907 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8908 otherwise it would not be a valid lenght. Fixed a special case in
8909 the minipage compatibility read where we end the document with a
8912 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8913 was set as it could be 0 for InsetTexts first entry.
8915 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8917 * paragraph.C (writeFile): if layout is empty write out
8918 defaultLayoutName().
8920 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8921 file without named layout we set layout to defaultLayoutName().
8923 2002-03-06 Juergen Vigna <jug@sad.it>
8925 * CutAndPaste.C (copySelection): set layout for new paragraph.
8927 * text.C (prepareToPrint): leave ERT inset left aligned
8928 (leftMargin): don't indent paragraphs inside ERT insets
8930 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8932 * paragraph.C (breakParagraph): dont call clear do the work manually
8934 * paragraph.[Ch] (clear): remove function
8936 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8938 * paragraph.C (Paragraph): dont call clear, the work has already
8941 * lyxtextclass.C (operator): assert if n is empty
8943 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8944 work manually instead.
8946 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8948 * BufferView_pimpl.C: protect selectionLost against text == 0
8950 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8952 * text.C (breakParagraph): fix a setting layout to '0' problem.
8954 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8956 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8957 final location of file, for the included files, and graphics.
8959 2002-03-05 Juergen Vigna <jug@sad.it>
8961 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8963 2002-03-04 Juergen Vigna <jug@sad.it>
8965 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8967 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8968 last column of multicolumn cells.
8969 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8971 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8973 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8974 file if it doesn't go to a temporary file.
8976 * buffer.C (sgmlOpenTag):
8977 (sgmlCloseTag): remove extra newline insertion.
8979 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8981 * text.C (getRowNearY): comment out debug msg
8983 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8985 * text2.C: first -> first_y
8987 * text.C (getRowNearY): add some attemts at a possible
8988 optimization, not working.
8990 * tabular.[Ch]: add BufferParams to several function so that newly
8991 created paragraph can be initialized to he default layotu for the
8994 * tabular-old.C (ReadOld): add buf->params to call of Init
8996 * screen.C: rename text->first to text->first_y
8998 * paragraph.C (breakParagraph): always set layout in the broken
9001 * lyxtextclass.C (Read): remove lowercase
9004 (delete_layout): ditto
9006 * lyxtext.h: rename first -> first_y
9008 * lyxlayout.C (Read): remove lowercase
9011 (obsoleted_by): ditto
9013 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9015 * buffer.C (insertErtContents): add params are to InsetERT
9016 (parseSingleLyXformat2Token): add code to check if a paragraphs
9017 layout really exist.
9018 (parseSingleLyXformat2Token): add params to several inset
9020 (asciiParagraph): remove lowercase, do the layout comparisons with
9023 * BufferView_pimpl.C (cursorNext): first -> first_y
9024 (resizeCurrentBuffer): first -> first_y
9025 (updateScrollbar): first -> first_y
9026 (scrollCB): first -> first_y
9027 (workAreaMotionNotify): first -> first_y
9028 (workAreaButtonPress): first -> first_y
9029 (checkInsetHit): first -> first_y
9030 (cursorPrevious): first -> first_y
9031 (cursorNext): first -> first_y
9032 (Dispatch): add buffer_->params to severl inset contructors
9034 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9036 * lyxlayout.C (Read): remove some debug info that I forgot.
9038 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9039 clean up the code slightly.
9040 (makeLinuxDocFile): ditto
9041 (makeDocBookFile): ditto
9043 * text2.C: layout as string
9045 * text.C: layout as string
9047 * paragraph_pimpl.C: layout as string
9049 * paragraph.[Ch]: layout as string
9051 * lyxtextclasslist.[Ch]: layout as string
9053 * lyxtextclass.[Ch]: layout as string
9055 * lyxtext.h: layout as string
9057 * lyxlayout.[Ch]: layout as string
9059 * lyx_cb.C: layout as string
9061 * bufferview_funcs.C: layout as string
9063 * bufferparams.C: layout as string
9065 * buffer.C: layout as string
9067 * LyXView.[Ch]: layout as string
9069 * LaTeXFeatures.[Ch]: layout as string
9071 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9073 * BufferView_pimpl.C: change current_layout to string, remove
9078 (workAreaButtonRelease): layout as string
9080 * BufferView2.C (unlockInset): adjust
9082 * vspace.C (asLatexCommand): use an explict temp variable.
9084 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9086 * Makefile.am: use FRONTEND_*
9088 2002-03-01 Juergen Vigna <jug@sad.it>
9090 * tabular.C (SetWidthOfMulticolCell): changed to something better
9091 I hope but still work in progress.
9092 (recalculateMulticolumnsOfColumn): renamed function from
9093 recalculateMulticolCells as it is more appropriate now.
9094 (SetWidthOfCell): calculate multicols better.
9096 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9098 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9100 * lyxfunc.C (processKeySym): print sequence also if it is
9101 `deleted' (complete)
9103 * kbsequence.C (print): print sequence even if it is deleted
9104 (complete would be a better word, actually).
9106 * lyxfunc.C (dispatch): print complete options after a prefix key
9108 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9110 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9112 * text2.C (setCharFont): eliminate setCharFont code duplication.
9114 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9116 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9117 LFUN_TABULAR_FEATURE (bug #177)
9119 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9121 * Makefile.am: remove figure.h
9123 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9125 * Bufferview_pimpl.C:
9137 * text2.C: remove #include "lyx_gui_misc.h".
9139 * LaTeX.C: added #include <cstdio>
9141 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9143 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9144 that the paragraph following this one can have.
9146 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9148 * vspace.C (asLatexCommand): fix bogus gcc warning
9150 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9152 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9154 * text2.C (setLayout): get rid of redundant code
9156 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9158 * text2.C (incDepth): make sure depth cannot be increased beyond
9161 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9163 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9164 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9166 * PainterBase.h (image):
9167 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9170 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9174 * BufferView_pimpl.C:
9175 * BufferView_pimpl.h:
9195 * sp_spell.C: remove fig inset, and the crap house of
9196 cards that follows it
9198 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9204 * nt_defines.h: move .h into support/
9206 * vms_defines.h: remove
9208 * WorkArea.C: add space in debug output
9212 * buffer.C: add WITH_WARNINGS
9216 * bufferlist.C: s/retrive/retrieve/, add docs
9227 * lyxgui.C: add ID to X error handler
9229 * lyxtestclass.c: fix typo
9231 2002-02-26 Juergen Vigna <jug@sad.it>
9233 * tabular_funcs.C (write_attribute): changed so that some default
9234 attributes are not written at all.
9235 (getTokenValue): set default values before trying to read the
9236 value so we have the return value always set as default if we don't
9237 find the token we search for.
9239 * tabular.C (Write): write bools as bools not as strings!
9241 2002-02-22 Juergen Vigna <jug@sad.it>
9243 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9244 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9246 * text.C (leftMargin): don't add an indent for paragraphs inside
9247 tabular cells (fix #208).
9249 2002-02-21 José Matos <jamatos@fep.up.pt>
9251 * tabular.C (docBook): fixed support for long tables.
9253 2002-02-20 Juergen Vigna <jug@sad.it>
9255 * text2.C (getFont): get the drawing font of the Inset if this
9256 paragraph is inside an inset (only important for InsetERT for now).
9258 * buffer.C (insertErtContents): use new lanugage params in ERT
9261 * CutAndPaste.C: commenting out seemingly uneeded code.
9263 2002-02-19 Allan Rae <rae@lyx.org>
9265 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9266 Iterators might be simple to use but they also get invalidated.
9267 (removeAutoInsets): renamed saved cursor tracking variables and added
9268 some comments to clarify what everything does.
9270 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9277 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9278 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9281 * vc-backend.h: remove #include "support/syscall.h"
9285 * converter.C: rearrange #includes in Lars' approved fashion.
9287 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9288 forward declare class Timeout in the header file.
9290 * XFormsView.C: changes due to the above.
9292 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9295 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9296 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9298 2002-02-18 José Matos <jamatos@fep.up.pt>
9300 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9303 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9305 * a lot of small ws changes
9306 * add a lot of using std::XXX
9307 * use std construcs some places where approp.
9308 * use some exisint stuff from lyxfunctional where approp.
9309 * Make file changes to use partial linking (lets test this now...)
9311 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9315 remove #include "support/syscontr.h" as it's redundant. Always has been.
9323 change Systemcalls::System to Systemcalls::Wait and
9324 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9325 No change of functionality, just reflects the stripped down Systemcalls
9328 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9330 * debug.[Ch]: add a GRAPHICS type to the enum.
9332 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9334 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9336 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9339 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9341 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9342 match the changes below.
9344 * text2.C (toggleInset): if there is not editable inset at cursor
9345 position, try to see if cursor is _inside_ a collapsable inset
9348 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9350 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9351 document menu has a nice checkbox
9353 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9355 * lyxlength.C (asLatexString): change PW to output as percent of
9358 * lengthcommon.C: change '%' to 't%'
9360 * lyxfunc.C (dispatch): a few comments from Martin
9362 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9366 * BufferView_pimpl.h:
9367 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9370 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9372 * vspace.C (inPixels): fix compiler warning
9374 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9376 * lyxfunc.C (getStatus): fix status message for disabled commands.
9378 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9380 * BufferView_pimpl.C: fix crash on close buffer
9381 during selection (#227)
9383 2002-01-27 Herbert Voss <voss@lyx.org>
9385 * buffer.C: link old Figure to new graphic inset
9387 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9389 * FontLoader.C (getFontinfo): Change the latex font names in order
9390 to match the names of type1inst.
9392 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9394 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9396 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9399 (remove_files_with_extension): ditto
9400 (remove_file): ditto
9403 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9404 document is smaller than the work area height. Do not initialize
9405 static variables to 0.
9407 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9409 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9411 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9412 LFUN_LAYOUT_PARAGRAPHS.
9414 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9415 tabular. It is possible to provide a possible cell, which will
9416 typically be the actcell from the corresponding insettabular
9418 * lyxfunc.C (getStatus): small cleanup; disable
9419 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9422 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9424 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9426 * paragraph.C (startTeXParParams):
9427 (endTeXParParams): new methods. The LaTeX code to
9428 start/end paragraph formatting
9429 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9430 empty (fixes bug #200)
9432 * vspace.C (inPixels): adapt to the change below
9433 (inPixels): [later] more cleanups (remove unused variables)
9435 * lyxlength.C (inPixels): change to use a width and a height as
9438 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9440 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9441 Replaced with \paperwidth
9443 * DepTable.C (insert): add std:: qualifier
9445 2002-01-18 Allan Rae <rae@lyx.org>
9447 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9450 * text.C (drawInset): Turned out I didn't know enough about how
9451 rebreaking worked. This fixes most of the redraw problems. I see
9452 an occasional cursor trail when a line is broken now and the cursor
9453 placement can seem out by a few pixels also after a rebreak.
9455 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9457 * buffer.C (parseSingleLyXformat2Token): update because minipage
9458 width is now a LyXLength
9460 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9462 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9465 2002-01-17 Juergen Vigna <jug@sad.it>
9467 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9469 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9470 is set correctly and the inset is updated correctly.
9472 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9474 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9475 the beginning of the loop.
9477 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9479 * lyxrc.C: improve help for use_scalable_fonts
9481 2002-01-17 Allan Rae <rae@lyx.org>
9483 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9485 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9487 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9488 make sure to set their inset_owner to the right value (bug #171)
9490 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9493 * DepTable.C: Implement mtime checking to reduce time spent doing
9496 2002-01-16 Juergen Vigna <jug@sad.it>
9498 * tabular.C (GetAdditionalHeight): one of error fixed.
9500 * lyxrc.C (output): small fix in writing use_pspell.
9502 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9504 * sp_base.h: #include LString.h
9506 2002-01-16 Allan Rae <rae@lyx.org>
9508 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9509 Can someone check this please?
9511 * text.C (drawInset): It was possible that p.row would be removed by
9512 breakAgainOneRow upsetting a few other settings. There may be another
9513 small tweak possible by setting need_break_row = 0 when p.row has been
9514 removed but I don't know enough about the logic here.
9516 2002-01-15 Allan Rae <rae@lyx.org>
9518 * text.C (insertChar): removed conditional truism.
9520 * BufferView2.C (removeAutoInsets): More tweaks.
9521 cur_par_prev could be a stray pointer. Check for trailing empty line
9522 in case last line was cur_par and only had an error inset on it.
9524 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9526 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9529 * vc-backend.C (most methods):
9530 * exporter.C (Export):
9531 * converter.C (convert):
9533 * LyXSendto.C (SendtoApplyCB):
9534 * lyxfunc.C (dispatch):
9538 * lyx_cb.C (AutoSave):
9540 * BufferView_pimpl.C (MenuInsertLyXFile):
9541 * buffer.C (runChktex): use Buffer::filePath().
9543 * buffer.h: rename filename to filename_; rename filepath to
9544 filepath_ and make it private
9545 (filePath): new method
9547 * buffer.C (writeFile): use fileName()
9550 * lyx_main.C (init): fix starting of LyX when the binary is a
9551 link from so,ewhere else.
9553 * minibuffer.C: include <cctype> for isprint
9555 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9557 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9558 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9559 name clash with InsetCollapsable's width function.
9561 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9563 * lastfiles.C: include <iterator>
9565 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9567 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9570 * buffer.C (makeLaTeXFile): ditto.
9571 Also make loop operation more transparent.
9573 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9575 * ToolbarDefaults.C: remove trailing comma closing namespace.
9577 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9579 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9582 * trans.C (Load): comment out unused variable, allowed.
9584 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9586 * minibuffer.[Ch] (append_char): new method to recieve input from the
9587 drop-down completion browser. If a key was pressed, then recieve this
9588 char and append it to the existing string.
9589 (peek_event): modify the positioning data passed to the completion
9590 browser so that it can be placed above the minibuffer rather than below.
9591 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9593 * LyXAction.C (init): alloe error-next for readonly documents.
9595 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9598 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9600 * bufferlist.C (readFile): create the buffer _after_ checking that
9603 * lyxfunc.C (verboseDispatch): fix handling of arguments
9605 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9607 * lyxrc.C: use string::erase() instead of initializing to "".
9610 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9612 * BufferView_pimpl.h:
9613 * BufferView_pimpl.C:
9616 * text2.C: tell X when we have made a selection for copying
9618 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9620 * BufferView_pimpl.C (MenuInsertLyXFile):
9621 * lyxfunc.C (menuNew):
9623 (doImport): add shortcuts to directory buttons
9625 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9628 * lyxfunc.C (setStatusMessage):
9629 (getStatusMessage): new methods
9630 (getStatus):use setStatusMessage instead of setErrorMessage
9631 (dispatch): when function is disabled, set error message here
9632 [instead of in getStatus previously]
9634 * BufferView_pimpl.C (workAreaButtonRelease): update
9635 toolbar/menubar here too.
9637 2002-01-13 Allan Rae <rae@lyx.org>
9639 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9640 Now seems indestructible. Remaining task is to audit all other
9641 code affected by deleteEmptyParagraphMechanism. One small quirk
9642 left is that an empty document with an error in the preamble can
9643 be made to report an error but no error box appears. I don't know
9645 (removeAutoInsets): Improved comments.
9647 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9650 * Thesaurus.C: update for Aiksaurus 0.14
9652 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9654 * text2.C (firstParagraph): removed member function, all uses
9655 replaces with ownerParagraph
9656 (redoParagraphs): here
9658 (toggleAppendix): here
9659 * BufferView2.C (insertErrors): here
9660 (setCursorFromRow): here
9662 2002-01-13 Allan Rae <rae@lyx.org>
9664 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9665 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9666 There is still a way to segfault this although you may have to do this
9667 multiple times: Have an InsetERT with an unknown command in it.
9668 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9669 <down-arrow>, <Enter> again, View->DVI, BANG!
9671 * text2.C (setCursor):
9672 (deleteEmptyParagraphMechanism):
9673 * lyxtext.h (setCursor):
9674 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9675 Making use of the return value may help fix other bugs.
9677 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9679 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9681 * LyXView.C (updateMenubar): call MenuBar::update here
9682 (updateToolbar): but not here
9683 (showState): do not update toolbar/menubar
9685 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9686 should need to care about that.
9688 * lyxfunc.C (verboseDispatch): simplify a bit
9689 (getStatus): have a version which takes a pseudoaction, and
9690 another which requires a (kb_action,string).
9692 * LyXAction.C (retrieveActionArg): make it work also when action
9693 is not a pseudo-action.
9694 (getActionName): simplify a bit
9697 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9699 * lyxfunc.C (verboseDispatch): new families of methods with
9700 several ways to specify a command and a bool to indicate whether
9701 the command name and shortcut should be displayed in minibuffer
9702 (eventually, we could extend that to a finer bitmask like
9703 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9704 (dispatch): the pristine dispatch command which just, well,
9705 dispatchs! Note it still sets its result to minibuffer; I'm not
9708 * lyxfunc.h: remove setHintMessage
9710 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9712 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9714 * BufferView_pimpl.C (specialChar): delete new inset if we have
9715 not been able to insert it.
9717 * kbmap.C: revert to using int instead of kb_action, since all we
9718 are dealing with is pseudo-actions.
9720 * LyXAction.C (searchActionArg): change to return int instead of
9721 kb_action, since the result is a pseudoaction.
9723 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9725 * buffer.C (insertErtContents): Fix (partially) the font bug.
9727 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9729 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9730 as the other one is broken on my machine!
9732 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9735 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9737 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9739 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9740 reflect their actual use. Provide compatibility code for older lyxrc
9743 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9745 change names of popup font variables in line with the changes to lyxrc.C
9747 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9749 * buffer.C (asciiParagraph): avoid outputing a word twice after
9752 * lyxrc.C (getDescription): document that document_path and
9753 template_path can be empty.
9755 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9757 * LaTeXFeatures.C (getMacros):
9758 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9760 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9762 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9764 (getPackages): rename feature "floats" to "float". Use an array to
9765 iterate over 'simple' features (i.e. just a \usepackage). Add
9766 handling of "amsmath" (renamed from "amsstyle").
9768 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9770 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9773 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9775 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9776 FuncStaus::FuncStatus & FuncStaus::some_method().
9778 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9780 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9781 of the func_satus stuff. Edited and massaged in various ways by
9784 * lyxfunc.C (getStatus): use FuncStatus
9786 2002-01-08 Juergen Vigna <jug@sad.it>
9788 * text.C (nextBreakPoint): use function Inset::isChar().
9790 * paragraph.C (TeXOnePar): use function
9791 Inset::forceDefaultParagraphs.
9793 * buffer.C (latexParagraphs): use function
9794 Inset::forceDefaultParagraphs.
9796 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9798 * lyx_gui.C (init): set the style of the menu popups to
9799 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9801 2002-01-07 Juergen Vigna <jug@sad.it>
9803 * text.C (setHeightOfRow): small fix
9804 (prepareToPrint): don't look at alignment if we don't have the place
9807 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9809 * box.C: New file. Move the Box methods and functions out of box.h,
9810 following Lars' suggestion.
9812 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9814 * box.h: #include "support/LOstream.h", needed for inlined function.
9817 * lyxtextclasslist.C: added some using std declarations.
9819 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9821 * box.h: make signed dimensions to allow insets wider than
9822 the screen (bug #162)
9824 * BufferView_pimpl.C: add some insetHit debug
9826 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9828 * vc-backend.C: add FIXME
9830 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9832 * lyxfunc.C (getStatus): enable code for showing math font status
9835 2002-01-07 Juergen Vigna <jug@sad.it>
9837 * text.C (nextBreakPoint): removed debug output not needed anymore.
9839 2002-01-06 Juergen Vigna <jug@sad.it>
9841 * text.C (nextBreakPoint): fixed up this function we had this bug
9842 since ever but now hopefully we break row better.
9843 (insertChar): we have to check if an inset is the next char as it
9844 could now happen that a large inset is causing a break.
9846 2002-01-05 Juergen Vigna <jug@sad.it>
9848 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9849 if it doesn't like to be drawed.
9851 2002-01-04 Juergen Vigna <jug@sad.it>
9853 * BufferView2.C (lockInset): forgot to set a cursor.
9855 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9857 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9862 * form_maths_panel.C:
9863 * form_maths_panel.h:
9864 * form_maths_panel.fd: implemented sub- and super- buttons in math
9867 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9868 (or ^ space) to be used as in TeX (req'd by André).
9870 * lyxfunc.C: Allow ^ and _ again to be used both as
9871 super/subscript (mathed) and as themselves (in text).
9873 2002-01-03 Allan Rae <rae@lyx.org>
9875 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9876 "LyX" or the filename of the current buffer if it has one. This is a
9877 modified form of John Levon's patch.
9879 * XFormsView.C (setWindowTitle): also set icon title.
9881 * LyXView.h (setWindowTitle): signature changed.
9882 * XFormsView.h (setWindowTitle): ditto.
9884 2002-01-02 Juergen Vigna <jug@sad.it>
9886 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9888 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9890 * screen.C (topCursorVisible): introduce a temp var for
9891 text->cursor.row(), handle the case where this row is null. (kindo
9894 * text2.C (setCursor): add a couple of asserts.
9896 * paragraph.h (inset_iterator): add -> operator
9898 * paragraph.[Ch] (autoDeleteInsets): remove member function
9900 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9901 cursor pos correctly and handle inset deletion by itself.
9902 (insertErrors): move iterator declaration out of for expression
9904 * lyxtextclass.C: add <algorithm>
9906 * Makefile.am: added the new files to sources, removed layout.C
9908 * layout.C: removed file
9910 * layout.h: remove LYX_DUMMY_LAYOUT
9912 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9916 * lyxtextclass.[Ch]:
9917 * lyxtextclasslist.[Ch]: new files
9919 * include order changes to a lot of files, also changes because of
9922 2001-12-27 Juergen Vigna <jug@sad.it>
9924 * buffer.C (asciiParagraph): more fixes.
9926 * tabular.C (ascii): make ascii export support export of only the
9927 data separated by a column-delimiter.
9928 (ascii): better support for ascii export.
9930 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9932 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9934 * tabular_funcs.C: use a "using std::getline" instead of the
9935 previous fix from Angus (necessary for cxx + lyxstring)
9937 2001-12-24 Juergen Vigna <jug@sad.it>
9939 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9941 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9942 problems. First check a minipage also if we have some ert-contents
9943 (not only on par->size(), second set the right depth of the paragraph
9944 on the relink to the root-paragraph-list!
9946 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9947 which then did not anymore update the main paragraphs on undo/redo!
9949 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9951 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9952 code. Support all font-changing funcs (even those which are not in
9953 menu currently). Support for reporting font settings in
9954 mathed (disabled until Andre provides a function on mathed's side).
9956 * func_status.h (toggle): small helper function to set toggle
9959 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9961 * tabular_funcs.C: getline -> std::getline
9963 2001-12-21 Juergen Vigna <jug@sad.it>
9965 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9966 accessed and could be 0 (I couldn't generate this but it seems
9969 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9971 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9972 * tabular_funcs.h: here and include iosfwd
9974 2001-12-20 Juergen Vigna <jug@sad.it>
9976 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9977 inside inset but undo_par was.
9979 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9981 * Thesaurus.C: always include <config.h> in sources.
9985 * box.h: do not include <config.h> in header files
9987 * text.C (paintLastRow): remove unused variable
9989 * text.C (transformChar):
9991 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9994 * font.C (width): rewrite to use uppercase() instead of
9997 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9999 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10001 * lyxfind.C: clean up of find failure position change
10003 2001-12-20 Juergen Vigna <jug@sad.it>
10005 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10007 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10008 (TeXRow): added to LaTeX a single tabular row.
10009 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10010 (Latex): simplified and finally good LT-h/f support.
10011 (various_functions): just small adaptions for LT-h/f support.
10013 * tabular_funcs.[hC]: added and moved here all not classfunctions
10016 2001-12-19 Juergen Vigna <jug@sad.it>
10018 * tabular.[Ch]: better support for longtabular options (not finished
10021 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10023 * text.C (paintLastRow): use the label font instead of the font of
10024 the last character to compute the size of *_BOX. This makes more
10025 sense and avoids a crash with empty paragraphs.
10026 Use Painter::rectangle to draw EMPTY_BOX.
10028 2001-12-19 Juergen Vigna <jug@sad.it>
10030 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10031 the paragraphs if the replaced paragraph is not the first one!
10032 Tried to delete not used paragraphs but does not work yet so for
10033 now it's inside #ifdef's and by default off!
10035 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10037 * MenuBackend.C: include "lyx_main.h" instead of declaring
10038 lastfiles (actually was declared as LastFiles* instead of a
10041 2001-12-17 Juergen Vigna <jug@sad.it>
10043 * tabular.C (AppendColumn): applied John's fix
10045 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10049 * BufferView_pimpl.h:
10050 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10053 * box.h: new start of class for above
10055 * lyxfunc.C: ignore space-only minibuffer dispatches.
10056 Show the command name when it doesn't exist
10058 * minibuffer.C: don't add empty lines to the history
10060 * minibuffer.C: add a space on dropdown completion
10062 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10064 * text.C: fix line above/below drawing in insets
10066 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10068 * lyxlength.C (LyXLength): Initialize private variables.
10070 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10072 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10073 when inserting error insets.
10075 2001-12-13 Juergen Vigna <jug@sad.it>
10077 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10078 actually sometimes the before-paragraph.
10079 (setUndo): don't clear the redostack if we're not actually undoing!
10081 2001-12-06 Juergen Vigna <jug@sad.it>
10083 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10084 and fixed redoing of main paragraph, so we can use it now ;)
10086 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10088 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10090 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10093 2001-12-13 André Pönitz <poenitz@gmx.net>
10096 * undo_func.C: minor cleanup
10098 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10100 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10101 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10102 font in urw-fonts package which is marked as -urw-fontspecific and
10103 does not work (incidentally, changing the encoding in the
10104 fonts.dir of this package to -adobe-fontspecific fixes the
10107 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10108 is a crash when undoing first paragraph (Juergen, please take a
10109 look). THis does not mean the undo fix is wrong, just that it
10112 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10113 the (Paragraph*) version when needed instead of duplicating the
10116 * text.C (workWidth): use Inset::parOwner to find out where the
10117 inset has been inserted. This is a huge performance gain for large
10118 documents with lots of insets. If Inset::parOwner is not set, fall
10119 back on the brute force method
10121 * paragraph_pimpl.C (insertInset):
10122 * paragraph.C (Paragraph):
10123 (cutIntoMinibuffer): set parOwner of insets when
10124 inserting/removing them
10126 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10128 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10134 * mathed/formulabase.C:
10135 * mathed/math_cursor.[Ch]:
10136 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10139 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10141 * lyxlength.[Ch] (operator!=): new function
10143 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10145 * text.C (workWidth): use Inset::parOwner to find out where the
10146 inset has been inserted. This is a huge performance gain for large
10147 documents with lots of insets. If Inset::parOwner is not set, fall
10148 back on the brute force method
10150 * paragraph_pimpl.C (insertInset):
10151 * paragraph.C (Paragraph):
10152 (cutIntoMinibuffer): set parOwner of insets when
10153 inserting/removing them
10155 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10157 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10159 * tabular-old.C (getTokenValue):
10160 * tabular.C (getTokenValue):
10161 (write_attribute): new versions for LyXLength
10162 (everywhere): adjust the use of widths
10164 * tabular.h: change the type of widths from string to LyXLength
10166 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10168 * paragraph.C: fixed missing line number count when exporting
10169 Environments to LaTeX file
10171 * buffer.C: added informational message for checking line numbers.
10173 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10175 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10176 paragraph, do the 'double space' part, but not the 'empty
10179 * text.C (workWidth): small optimization
10180 (getLengthMarkerHeight): use minimal size for negative lengths.
10182 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10184 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10186 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10188 2001-12-11 André Pönitz <poenitz@gmx.net>
10191 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10193 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10195 * text2.C: keep selection on a setFont()
10197 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10199 * lyx_cb.C: another bv->text misuse, from insert label
10201 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10204 * kbsequence.C: re-instate nmodifier mask
10206 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10208 * lyx_main.h: make lyxGUI private.
10210 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10212 * lyxfind.C: place the cursor correctly on failed search
10214 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10216 * text.C (getLengthMarkerHeight): for small heights, the arrows
10217 are not always on top/bottom of the text
10218 (drawLengthMarker): smaller arrows; take the left margin in
10219 account; draw also vfills.
10221 (paintLastRow): remove special code for vfill and standard spaces,
10222 since everything is handled in drawLengthMarker now.
10224 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10226 * buffer.C (insertErtContents): try to handle font and language
10227 interaction a bit better.g
10229 * ColorHandler.C (updateColor): change the hash to cover the whole
10230 LColor enum, ws cleanup
10231 (getGCLinepars): ditto
10232 (getGCLinepars): only lookup in the linecache once.
10234 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10236 * iterators.C (operator++): Make the iterator more robust
10238 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10240 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10242 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10245 * text.C: better added space drawing
10247 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10250 * BufferView2.C: fix layout combo update on inset unlock
10252 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10254 * Makefile.am: don't compile unused files
10256 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10260 * LyXAction.C: remove old LFUN_LAYOUTNO
10262 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10264 * paragraph_pimpl.h:
10265 * paragraph_pimpl.C: isTextAt() doesn't need font param
10267 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10270 * lyxlex.C: little cleanup
10272 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10274 * BufferView_pimpl.C: fix insertAscii for insets
10276 2001-12-05 Juergen Vigna <jug@sad.it>
10278 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10279 set the right font on the "multi" paragraph paste!
10281 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10287 * lyxlength.C: remove out-commented code.
10289 * BufferView_pimpl:
10303 * vc-backend.C: change "while(" to "while ("
10305 * lyxlength.[Ch]: add zero function to check if length is zero or
10307 * lyxgluelength.C: use it
10309 2001-12-05 Allan Rae <rae@lyx.org>
10311 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10312 Works for 2.95.3, from what I understand of Garst's reports this should
10313 work for other g++ versions. We're screwed if the abs(int) definition
10314 changed between bugfix releases of gcc.
10316 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10318 * text.C: fix chapter label offset !
10320 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10323 * text.C: fix hfill at end of line, clean up
10325 2001-12-04 Juergen Vigna <jug@sad.it>
10327 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10328 that we force an update of the inset and it's owners if neccessary.
10330 2001-12-03 Juergen Vigna <jug@sad.it>
10332 * text.C (rowLast): simplified code
10334 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10336 * lyxfunc.C: fix show options on timeout
10338 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10340 * screen.C (topCursorVisible): scroll half a page when the cursor
10341 reached top of bottom of screen
10343 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10345 * minibuffer.C: deactivate on loss of focus
10347 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10349 * vspace.[Ch] (operator!=): add operator.
10351 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10353 * BufferView_pimpl.C: refuse to open an inset when
10354 there's a selection.
10356 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10358 * BufferView_pimpl.C: allow to click on RHS of full row insets
10360 2001-11-30 Juergen Vigna <jug@sad.it>
10362 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10363 insets for undo reasons.
10365 2001-11-28 André Pönitz <poenitz@gmx.net>
10367 * vspace.[Ch]: cosmetical changes
10369 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10379 * kbsequence.C: part re-write of old kb code
10382 * WorkArea.C: remove Lgb_bug_find_hack
10384 2001-11-30 José Matos <jamatos@fep.up.pt>
10386 * buffer.C (makeDocBookFile): add a comment to point a hack.
10387 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10388 Fixed a double write of labels.
10390 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10393 * LaTeX.h Fixed bug in LaTeX class where it would not
10394 re-run latex if no depfiles were changed, but the .dvi was removed.
10396 2001-11-28 André Pönitz <poenitz@gmx.net>
10398 * all the files from the change on 2001/11/26:
10399 use lyx::layout_type instead of LyXTextClass::size_type
10400 use lyx::textclass_type instead of LyXTextClassList::size_type
10402 2001-11-29 Juergen Vigna <jug@sad.it>
10404 * text.C: added support for paragraph::isFreeSpacing()
10406 * buffer.C: same as above
10408 * paragraph.h: inserted isFreeSpacing() function to enable
10409 FreeSpacing inside InsetERT.
10411 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10412 of the paragraph's in the cut/copy buffer to 0!
10414 * text2.C (removeRow): remove the assert as it can!
10416 * lyxtext.h: added helper function firstRow returning firstrow and
10417 made firstrow private again.
10419 * BufferView2.C (lockInset): don't relock if we're already locked!
10421 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10422 the only paragraph.
10423 (removeRow): added Assert::(firstrow)
10425 * debug.C: forgot to add INSETTEXT here.
10427 2001-11-28 Juergen Vigna <jug@sad.it>
10429 * sp_spell.C (initialize): changed error text to more general
10430 spellchecker command use (not only ispell!)
10432 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10434 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10436 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10438 * vspace.C: initialise lyxgluelength on failure
10440 2001-11-28 Allan Rae <rae@lyx.org>
10442 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10443 declaration & definition that looks like a function declaration.
10445 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10447 * BufferView2.C (copy):
10448 (copyEnvironment): do not clear the selection when doing a copy.
10450 * text.C (paintFirstRow): compilation fix
10452 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10454 * tabular.C (Latex): correct line count when writing latex.
10456 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10458 * paragraph_pimpl.h:
10459 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10462 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10466 * LColor.C: change vfillline->added_space
10468 * text.C: add markers and text for added space
10470 * vspace.C: fix comment
10472 2001-11-28 André Pönitz <poenitz@gmx.net>
10474 * paragraph.C: whitespace changes
10475 * all the other files from the change on 2001/11/26:
10476 change *::pos_type into lyx::pos_type
10478 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10480 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10481 language of the document when inserting error insets.
10483 2001-11-26 André Pönitz <poenitz@gmx.net>
10485 * BufferView_pimpl.[Ch]:
10493 * paragraph_pimpl.[Ch]:
10496 * text2.C: reduce header dependencies, introduce type for positions
10498 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10500 * <various>: change to use Alert.h
10502 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10504 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10505 when encountering an unknown token.
10506 (readLyXformat2): Show an error message if there were unknown tokens.
10508 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10511 * BufferView_pimpl.C:
10515 * text2.C: use par->isInset()
10517 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10519 * paragraph_pimpl.h:
10520 * paragraph_pimpl.C: cleanup
10522 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10524 * text2.C (removeRow):
10525 * text.C (setHeightOfRow): remove useless (and costly) call to
10528 2001-11-20 Allan Rae <rae@lyx.org>
10530 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10531 Now need Inset*::checkInsertChar() to return true for appropriate
10532 cases so that the characters in the minibuffer will actually be
10535 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10537 * text.C: change the order of the includes.
10538 (workWidth): initialize it at once.
10539 (workWidth): make maxw unsigned
10540 (setHeightOfRow): remove unused variable (inset)
10541 (selectSelectedWord): remove unused variable (inset)
10542 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10544 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10546 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10547 server is not running.
10549 (closeConnection): add debug info when server is disabled.
10551 * ColorHandler.C (getGCForeground): send debug message to GUI
10554 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10556 * kbmap.C (bind): modify because return conventions of
10557 kb_sequence::parse have changed.
10559 * kbsequence.C (parse): only ignore spaces and not any stupid
10560 control character. This avoids tests like s[i] <= ' ', which are
10561 guaranteed to fail with 8bit characters and signed chars.
10562 Change return code to string::npos when there have been no error
10563 (0 was a bad idea when error is at first character)
10565 2001-11-14 José Matos <jamatos@fep.up.pt>
10568 * buffer.C (simpleDocBookOnePar): removed unused argument.
10570 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10572 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10573 insets which are part of a word. Paragraph::isLetter takes care of
10574 that now. Use Paragraph::isInset to identify insets.
10575 (selectSelectedWord): do not test for hyphenation break.
10577 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10578 that protected spaces are considered as spaces.
10580 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10583 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10586 * lyxserver.C: fix it. and small cleanup.
10588 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10590 * BufferView_pimpl.C: use inline helpers
10593 * LaTeXFeatures.C: fix typos
10596 * Spacing.C: move spacing_string into class
10598 * ToolbarDefaults.C: move stuff into namespace anon
10600 * layout.h: update enum
10602 * lyxfunc.C: use better debug
10604 * minibuffer.h: fix typo
10608 * WorkArea.C: add and use Debug::WORKAREA
10612 * text2.C: code re-organisation, inline helpers
10614 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10616 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10617 std::vector.empty().
10619 2001-11-09 Allan Rae <rae@lyx.org>
10621 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10622 '\n's after tables. Tabular and ERT inset work now makes this no
10625 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10628 * minibuffer.C: fix crash, improve drop-down completion
10630 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10633 * lyxserver.C: invalidate fd's when doing endPipe()
10635 2001-11-08 José Matos <jamatos@fep.up.pt>
10637 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10638 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10641 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10643 2001-11-07 José Matos <jamatos@fep.up.pt>
10646 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10649 * buffer.C (sgmlOpenTag):
10650 * buffer.C (sgmlCloseTag): removed debug info.
10652 * buffer.h (sgmlOpenTag):
10653 * buffer.h (sgmlCloseTag): made public.
10655 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10657 * buffer.C (saveParamsAsDefaults):
10658 * lyx_cb.C (MenuLayoutSave): remove
10660 * LyXAction.C (init):
10662 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10664 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10666 * buffer.C (setPaperStuff): removed from here...
10668 * bufferparams.C (setPaperStuff): ... and moved there.
10670 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10674 * XFormsView.C: add support for drop-down completion
10676 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10678 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10681 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10683 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10686 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10688 * lyx_main.C: change ref to known bugs
10690 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10692 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10693 to work around older babel problems.
10695 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10697 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10699 2001-10-24 Juergen Vigna <jug@sad.it>
10701 * tabular-old.C (ReadOld): below variable changes reflected.
10703 * tabular.[Ch]: added ltType struct for longtable header/footer
10704 defines and changed all instances where they are used. Added
10705 future support for double top/bottom rows.
10707 2001-10-24 José Matos <jamatos@fep.up.pt>
10709 * buffer.h (docbookHandleCaption):
10710 * buffer.C (docbookHandleCaption): removed unused function.
10711 (makeDocBookFile): moved docbook supported version to v4.1.
10713 2001-10-24 José Matos <jamatos@fep.up.pt>
10716 * tabular.C (docbookRow): new function to export docbook code of a row.
10717 (DocBook): now honors the longtable flags.
10719 2001-10-23 José Matos <jamatos@fep.up.pt>
10722 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10723 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10725 * buffer.C (makeLinuxDocFile):
10726 (makeDocBookFile): reworked the preamble, more clean, and with
10727 support for lyx defined entities. Changed the document declaration
10728 to be more XML friendly.
10730 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10731 if we need to output XML that should be done with a filter.
10733 2001-10-22 Juergen Vigna <jug@sad.it>
10735 * sp_pspell.h (class PSpell): add alive function needed in the
10736 controller to see if the spellchecker could be started.
10738 2001-10-22 Juergen Vigna <jug@sad.it>
10740 * buffer.C (insertStringAsLines): modify the font for inserting
10741 chars in certain conditions by calling checkInsertChar(font).
10743 2001-10-19 Juergen Vigna <jug@sad.it>
10745 * text.C (workWidth): use getRow instead of wrong algorithm.
10746 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10748 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10753 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10755 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10757 * text.C (workWidth): do not search for the exact row when
10758 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10759 optimization for big documents.
10761 2001-10-18 Juergen Vigna <jug@sad.it>
10763 * text.C (workWidth): new function with added Inset * parameter.
10765 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10767 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10769 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10770 change return type of getColumnNearX.
10773 * text.C (changeRegionCase): use uppercase/lowercase instead of
10776 (rightMargin): simplify code by factoring out the uses of
10781 (appendParagraph): use Paragraph::size_type
10783 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10785 * vspace.C (asLatexString): add a missing break
10787 2001-10-15 Herbert Voss <voss@perce.de>
10789 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10791 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10793 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10796 2001-10-10 André Pönitz <poenitz@gmx.net>
10798 * lyxfunc.C: removed greek_kb_flag.
10800 2001-10-10 Herbert Voss <voss@perce.de>
10802 * lyx_main.C: delete global string help_lyxdir.
10804 2001-10-09 Herbert Voss <voss@perce.de>
10806 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10808 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10810 * lyx_main.C: added global string help_lyxdir.
10812 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10814 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10816 * lyxrc.C (set_font_norm_type): support iso8859-4
10818 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10820 * LaTeX.C (deplog): add another regex for MikTeX
10822 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10824 * lyxrc.C (set_font_norm_type): support iso8859-3
10826 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10828 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10830 * LaTeXFeatures.C: remove special case of french and index
10832 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10833 before \begin{document}). This solves several incompatibilities.
10835 2001-10-03 Garst Reese <reese@isn.net>
10837 * lyx_cb.C: change CheckTex error msg.
10839 2001-10-03 José Matos <jamatos@fep.up.pt>
10841 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10843 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10845 * .cvsignore: update
10847 * lyx_main.C (commandLineVersionInfo): use new style version info.
10849 * buffer.C (writeFile):
10851 (makeLinuxDocFile):
10852 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10854 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10856 * version.h: update to use stuff in version.C
10858 * version.C.in: new file. Contains version information determined
10859 at compile time. This is a merging of version.h and
10862 2001-10-03 Juergen Vigna <jug@sad.it>
10864 * BufferView_pimpl.C (update): don't change "dirty" status in
10867 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10869 * WorkArea.C (c-tor): re-position version string slightly.
10871 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10873 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10874 revert to previous code.
10876 WorkArea.[Ch]: (show, destroySplash): methods removed.
10878 WorkArea.C: rework code so that it's an amalgam of the codes before and
10879 after the splash screen was moved to WorkArea.
10881 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10884 * vspace.C (inPixels):
10887 * buffer.C (insertStringAsLines):
10888 (asciiParagraph): fix types to be large enough
10890 * lyxlex_pimpl.h: change member status from short to int
10892 * layout.h: fix type of endlabeltype
10895 * kbsequence.C (parse): change return type to string::size_type
10897 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10900 * Bullet.C (bulletSize):
10901 (bulletEntry): do not use short ints as parameters
10903 * BufferView2.C (insertLyXFile): change a char to an int.
10905 * WorkArea.C (WorkArea): remove unneeded floats in computation
10907 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10909 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10911 * paragraph.C (asString): Do not ignore newline/hfill chars when
10912 copying to the clipboard.
10914 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10916 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10917 after a multi-line inset.
10919 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10921 * paragraph.C (validate): Set NeedLyXFootnoteCode
10923 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10925 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10926 and decrease-error to decrease.
10928 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10930 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10931 it more readable (should be equivalent)
10933 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10935 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10937 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10939 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10940 of a cursor (row, etc.) after a character has been deleted
10941 (deleteEmptyParagraphMechanism): call the method above on _all_
10942 cursors held by the LyXText when a double space has been
10945 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10947 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10949 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10951 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10952 background. Use greyOut() and the new show() methods to toggle between
10953 the foreground and background. Add code to remove the splash after
10954 its initial showing.
10956 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10957 (create_forms): no longer call Dialogs::showSplash.
10959 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10961 * .cvsignore: add version_info.h
10963 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10965 * version_info.h.in: new file
10967 * Makefile.am: add version_info.h.in
10969 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10970 version_info.h instead of VERSION_INFO
10972 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10974 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10975 The ERT inset now returns string().
10977 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10979 * lyxtext.h, text.C (selectNextWord): renamed as
10980 selectNextWordToSpellcheck.
10982 * text.C (selectNextWordToSpellcheck): Modified to not select
10983 words inside an ERT inset.
10985 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10987 * lyx_cb.C (MenuLayoutSave): change a bit the question
10989 * sp_base.h: include <sys/types.h>
10991 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10993 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10995 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10997 * several files: fix typos in user-visible strings
10999 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11001 * text2.C (pasteSelection): do not set the selection, since it
11002 will be cleared later. Actually, the intent was to fix the way the
11003 selection was set, but I figured rmoving the code was just as good.
11005 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11007 * FontLoader.C (available): Check if font is available without
11010 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11012 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11014 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11016 * lyxrc.[Ch]: added display_graphics variable and associated code.
11018 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11020 * bufferparams.C (hasClassDefaults): new method. Returns true if
11021 the buffer parameters correspond to known class defaults
11023 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11025 * XFormsView.C (show): set minimum size to the main window.
11027 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11029 * text2.C (copySelection):
11031 * lyxfind.C (LyXReplace):
11032 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11033 LyXText::selectionAsString.
11035 * paragraph.C (asString): add "label" argument to the second form
11037 * text2.C (selectionAsString): add "label" argument and pass it to
11038 Paragraph::asString.
11040 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11042 * lyx_main.C (commandLineHelp): remove version information
11044 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11046 * lyx_main.C: add -version commandline option
11048 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11050 * paragraph.h: make the optional constructor arg required instead.
11051 some modifications to other files because of this.
11053 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11055 * lyxserver.C (C_LyXComm_callback): make it static
11057 * lyx_main.C (error_handler): make it static
11059 * lyx_gui.C (LyX_XErrHandler): make it static
11061 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11063 * WorkArea.C: make the extern "C" methods static.
11065 * Makefile.am (lyx_LDADD): simplify
11067 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11069 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11070 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11072 * LyXAction.C (init):
11073 * lyxfunc.C (dispatch): associated code removal.
11075 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11077 * lyxfont.h (isSymbolFont): shut off warning
11079 * text.C (setHeightOfRow):
11080 (getVisibleRow): fix crash with empty paragraphs which have a
11083 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11085 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11088 2001-09-04 José Matos <jamatos@fep.up.pt>
11091 * tabular.C (docbook): rename docBook method to docbook.
11093 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11095 * Makefile.am: add dependencies to main.o.
11097 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11099 * FontLoader.C (available): Return false if !lyxrc.use_gui
11101 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11103 * FontInfo.C (query):
11104 * converter.C (view):
11105 * importer.C (Import):
11106 * exporter.C (Export): Can not -> cannot.
11108 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11110 * BufferView_pimpl.C: allow to create index inset even if
11113 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11115 * buffer.C (getLists): replace boost::tie code with an explicit pair
11116 as boost::tie can break some compilers.
11118 * iterators.h: Added a std:: declaration to the return type of
11121 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11123 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11126 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11128 * iterators.[Ch]: New files. Provide paragraph iterators.
11130 * buffer.C (changeLanguage): Use paragraph iterators.
11131 (isMultiLingual): ditto
11133 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11135 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11137 * FontLoader.C: Support for cmr font.
11139 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11141 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11142 (available): New method.
11144 * FontInfo.C (getFontname): Use scalable fonts even when
11145 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11148 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11150 * converter.C (Formats::view): reverted! Incorrect fix.
11152 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11154 * converter.C (Formats::view): only output the -paper option
11155 if the dvi viewer is xdvi, thereby fixing bug #233429.
11157 2001-08-23 Herbert Voss <voss@perce>
11159 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11161 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11163 * Spacing.h (Spacing): Set space to Default on in the default
11166 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11168 * vc-backend.h (RCS::versionString): add RCS to version
11169 (CVS::versionString): add CVS to version
11171 * vc-backend.C (scanMaster): do not add CVS to version.
11172 (scanMaster): do not add RCS to version
11174 * lyxvc.C (versionString): new method
11176 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11178 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11180 * Spacing.C (set): initialize fval
11182 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11184 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11187 2001-08-16 Juergen Vigna <jug@sad.it>
11189 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11191 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11193 * BufferView_pimpl.C:
11196 * text2.C: setParagraph takes linespacing now
11198 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11200 * LyxAction.C: add internal LFUN_CITATION_INSERT
11202 * LyXView.C: actually apply fix
11204 * bufferlist.C: fix open non-existent file
11206 * lyxfind.C: fix indentation
11208 * lyxfunc.C: remove unneeded assert, fix typo
11210 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11212 * MenuBackend.C: use "Floatname List"
11214 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11216 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11217 when converting LaTeX layout to insetERT.
11218 Generate a non-collapsed float when reading old float
11220 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11222 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11225 2001-08-13 Juergen Vigna <jug@sad.it>
11227 * text.C (fill): return 0 instead of 20 as this seems to be the more
11230 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11232 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11235 2001-08-13 Juergen Vigna <jug@sad.it>
11237 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11239 (SearchBackward): comment out the unlocking of the inset_owner this
11240 should not be needed!
11242 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11244 * Many files: Remove inherit_language, and add latex_language
11246 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11247 collapsible insets.
11249 2001-08-10 Juergen Vigna <jug@sad.it>
11251 * text.C (prepareToPrint): fixed hfill-width in draw!
11253 * BufferView2.C (selectLastWord): save the selection cursor as this
11254 now is cleared in the function LyXText::clearSelection!
11256 2001-08-08 Juergen Vigna <jug@sad.it>
11258 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11259 BACKSPACE type functions.
11261 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11262 is only cutted from the document but not put in the cut-buffer, where
11263 still the old stuff should be.
11265 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11267 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11269 * tabular.C (SetWidthOfCell): fixed special case where the width
11271 (LeftLine): handle '|' in align_special.
11273 (LeftAlreadyDrawed): ditto
11274 (SetWidthOfCell): ditto
11276 2001-08-07 Juergen Vigna <jug@sad.it>
11278 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11280 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11282 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11283 * lyxlex.[hC]: ditto
11285 2001-08-06 Juergen Vigna <jug@sad.it>
11287 * text.C (getVisibleRow): fix up row clearing a bit.
11289 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11291 * minibuffer.C: make sure the X server sees the changes in the input.
11293 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11295 * paragraph.C (getFont): split into...
11296 (getLabelFont): this
11297 (getLayoutFont): and this
11298 * paragraph_pimpl.C (realizeFont): calling this
11300 * text2.C (getFont): split into...
11301 (getLayoutFont): this
11302 (getLabelFont): and this
11303 (realizeFont): all three calling this
11305 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11308 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11310 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11312 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11314 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11315 layouts from the Quote inset insertion.
11317 2001-08-03 Juergen Vigna <jug@sad.it>
11319 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11321 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11322 only if status not is already CHANGED_IN_DRAW (second level).
11324 * text.C (draw): don't set the need_break_row when inside an
11327 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11329 * buffer.C (parseSingleLyXformat2Token): handle more latex
11332 * bufferview_funcs.[hC]: change function names to
11333 begin with small char, adjust other files.
11335 2001-08-02 André Pönitz <poenitz@gmx.net>
11338 BufferView_pimpl.C: remove broken special code for math-greek
11340 2001-08-02 Juergen Vigna <jug@sad.it>
11342 * BufferView_pimpl.C (update): redone this function so that we
11343 update the text again if there was a CHANGE_IN_DRAW.
11345 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11346 (drawFromTo): added a new internal bool which is used by draw() and
11348 (general): some cursor drawing problems fixed.
11350 2001-08-01 Juergen Vigna <jug@sad.it>
11352 * lyxfind.C (LyXFind): fixed
11353 (SearchForward): ditto
11354 (SearchBackward): ditto
11356 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11357 spurius drawing of the cursor in the main area.
11359 * text2.C (status): small fix which could lead to a segfault!
11360 (clearSelection): remove unneeded BufferView param.
11362 2001-08-01 André Pönitz <poenitz@gmx.net>
11364 * lyxfunc.C: small change due to changed mathed interface
11366 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11368 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11370 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11372 * lyxfunc.c: fail gracefully if file doesn't exist
11377 * BufferView_pimpl.C: IsDirWriteable() proto changed
11379 * LyXView.C: fix updateWindowTitle() to store the last title
11381 2001-07-31 Juergen Vigna <jug@sad.it>
11383 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11384 the font (wrong since using of Paragraph::highestFontInRange).
11386 * paragraph.C (highestFontInRange): added a default_size parameter.
11388 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11389 (setHeightOfRow): reformat
11391 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11393 * converter.[hC] + affected files: move to (inital-char)lowercase
11396 * ParagraphParameters.C (ParagraphParameters): remove commented code
11398 * PainterBase.[Ch]: remove commented code
11400 * LaTeXFeatures.h: add "bool floats" for float.sty
11402 * LaTeXFeatures.C (LaTeXFeatures): init floats
11403 (require): handle float
11404 (getPackages): do it with floats
11406 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11408 * BufferView_pimpl.C (Dispatch): improve handling of
11409 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11411 * commandtags.h: #include lyxfont.h here temporarily to avoid
11414 * bufferlist.h: include LString.h here.
11416 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11418 * text2.C (getStringToIndex): new method.
11420 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11422 * *: Reduced header file dependencies all over.
11424 2001-07-30 Baruch Even <baruch@lyx.org>
11426 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11428 2001-07-29 Baruch Even <baruch@lyx.org>
11430 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11432 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11434 * ParameterStruct.h (endif): add a default constructor to make
11435 sure that all variables is initialized.
11437 * ParagraphParameters.C (ParagraphParameters): adjust
11439 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11441 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11442 index; also, check that there is something to index, and that it
11443 does not span over several paragraphs.
11444 (doubleClick): use WHOLE_WORD_STRICT for double click.
11446 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11448 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11451 2001-07-26 Baruch Even <baruch@lyx.org>
11453 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11454 an InsetFig figure, backwards compatible reading of old figure code.
11456 2001-07-27 Juergen Vigna <jug@sad.it>
11458 * text2.C: font.realize function adaption.
11460 * text.C (draw): add a warnings lyxerr text if needed.
11462 * layout.C: font.realize function adaption.
11464 * language.C: add inherit_language and implement it's handlings
11466 * bufferview_funcs.C (StyleReset): remove language parameter from
11467 font creation (should be language_inherit now).
11469 * bufferparams.C (writeFile): handle ignore_language.
11471 * paragraph.C (getFontSettings): the language has to be resolved
11472 otherwise we have problems in LyXFont!
11474 * lyxfont.C (lyxWriteChanges): added document_language parameter
11475 (update): removed unneeded language parameter
11477 * paragraph.C (validate): fixed wrong output of color-package when
11478 using interface colors for certain fonts in certain environments,
11479 which should not seen as that on the final output.
11481 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11483 * BufferView_pimpl.C:
11488 * LyXAction.C: add thesaurus support
11491 * lyxfind.C: add "once" parameter, for thesaurus, to not
11492 move to the next match
11494 2001-07-26 Juergen Vigna <jug@sad.it>
11496 * lyxfont.C (realize): honor ignore_language too!
11499 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11501 * text.C (draw): one place more for ignore_language to not draw
11504 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11506 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11508 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11510 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11511 the minipage conversion problem.
11513 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11515 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11518 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11520 * BufferView.h: don't forward declare WorkArea
11522 * BufferView.C: don't include WorkArea.h
11524 2001-07-25 André Pönitz <poenitz@gmx.net>
11528 * lyxfunc.C: new LFUN 'math-space'
11530 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11532 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11534 * text2.C (toggleInset): call open/close
11536 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11538 * lyxfunc.C (dispatch): add debug for the disabled case
11540 * font.C (buttonText): make similar to rectText
11542 * buffer.C (readInset): comment out parsing of insetlist and
11545 * PainterBase.C (rectText): small correction
11547 * BufferView_pimpl.C: comment out insettheorem and insetlist
11548 * LyXAction.C: ditto
11549 * commandtags.h: ditto
11551 2001-07-24 Juergen Vigna <jug@sad.it>
11553 * text.C (draw): honor the ignore_language.
11555 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11557 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11559 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11562 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11564 * lyxtext.h: remove unused (and unimplemented) methods
11566 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11568 * text.C (getVisibleRow): honor background color
11571 * Painter.h: remove default color argument for fillRectangle
11573 * text.C (backgroundColor): new method
11575 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11577 * text.C (getVisibleRow): adjust
11579 * font.[Ch] (rectText): new method, metrics
11580 (buttonText): new method, metrics
11582 * PainterBase.[hC]: make rectText and buttonText always draw and take
11585 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11587 * ToolbarDefaults.C (read):
11588 * MenuBackend.C (read): allow escaping in all strings
11590 * BufferView_pimpl.C (insertAndEditInset): new method.
11591 (Dispatch): use insertAndEditInset whenever appropriate.
11593 * BufferView_pimpl.C (insertNote): removed
11595 * BufferView_pimpl.C (smartQuote): new method, moved from
11596 BufferView; if an insetquote cannot be inserted, insert a '"'
11599 * BufferView2.C: remove insertCorrectQuote();
11601 * lyxfunc.C (getStatus): Add support for all remaingin
11602 inset-insert lfuns.
11604 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11606 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11607 command (necessary to pass " as parameter of self-insert.
11609 * text.C (selectWordWhenUnderCursor):
11610 (selectWord): add word_location parameter
11611 (selectWordWhenUnderCursor): same + remove special code for word
11613 (selectNextWord): use kind() to guess type of insetspecialchar,
11616 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11617 (insertErtContents): create ert insets as collapsed.
11618 (readInset): better compatibility code for Info inset.
11620 2001-07-20 Juergen Vigna <jug@sad.it>
11622 * lyxfunc.C (dispatch): use always LyXFind now!
11624 * text2.C (init): add a reinit flag so that the LyXText can be
11625 reinited instead of deleted and reallocated (used in InsetText).
11627 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11633 2001-07-18 Juergen Vigna <jug@sad.it>
11635 * text.C (selectNextWord): handle insets inside inset by calling
11636 always the bv->text functions so that we can go up the_locking_inset!
11638 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11639 in strange locations when inside an inset!
11641 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11642 handling to include insets.
11644 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11646 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11648 * LyXAction.C (init):
11650 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11651 LIGATURE_BREAK, since the name is so stupid.
11653 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11655 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11658 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11660 * sp_form.[Ch]: remove.
11662 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11664 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11667 * src/buffer.C (readInset): ditto.
11669 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11671 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11672 menuSeparator(), endOfSentenceDot(), ldots() and
11673 hyphenationPoint(), which are therefore removed.
11674 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11676 * LyXAction.C (init):
11677 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11679 * paragraph.C (getWord): removed.
11681 * BufferView_pimpl.C (Dispatch): use last word or selection for
11682 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11684 * lyx_main.C (queryUserLyXDir): do not ask before creating
11685 user_dir, except if it has been named explicitely.
11687 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11689 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11690 a document of zero size.
11692 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11694 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11695 approriately in the c-tor and in require().
11696 (getPackages): output the appropriate LaTeX for natbib support.
11698 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11699 variables "use_natbib" and "use_numerical_citations" when reading the
11701 (readInset): read the various natbib cite commands.
11702 (validate): white-space change.
11704 * bufferparams.[Ch]: new variables "bool use_natbib" and
11705 "bool use_numerical_citations".
11706 (writeFile): output them in the LyX file.
11708 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11710 * lyxfunc.C (getStatus): add support for all the inset insertion
11713 * text2.C (insertInset):
11714 * paragraph.C (insetAllowed):
11715 * BufferView_pimpl.C (insertInset): update to take in account the
11716 renaming of insertInsetAllowed
11718 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11720 * text2.C (getInset): new method. returns inset at cursor position.
11722 * BufferView_pimpl.C (Dispatch): changes because of this.
11724 * LyXAction.C (init): rename open-stuff to inset-toggle.
11726 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11728 * text2.C (toggleInset): renamed from openStuff; use
11731 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11733 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11735 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11737 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11739 * buffer.C (readLyXformat2): Add filename to the error dialog
11741 2001-07-18 Juergen Vigna <jug@sad.it>
11743 * tabular.C (GetCellNumber): put an assert here instead of the check!
11745 2001-07-17 Juergen Vigna <jug@sad.it>
11747 * BufferView_pimpl.C (toggleSelection): adapted too.
11749 * text.C (selectNextWord): adapted for use with insets.
11750 (selectSelectedWord): ditto
11752 2001-07-17 Juergen Vigna <jug@sad.it>
11754 * sp_spell.C (PSpell): fix initialitation order.
11756 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11758 * paragraph.C: spacing
11760 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11762 * sp_spell.C: repair language selection for pspell
11764 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11766 * lyxfunc.h: change more methods to begin with lower char.
11768 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11770 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11771 for unknown layouts.
11773 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11775 * buffer.C (readLyXformat2): Generate an error dialog if there are
11778 2001-07-16 Juergen Vigna <jug@sad.it>
11780 * sp_spell.C: always compile ISpell part.
11782 * lyxrc.C: added use_pspell entry and it's handling.
11784 2001-07-13 Juergen Vigna <jug@sad.it>
11786 * sp_spell.C: removed double includes.
11788 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11790 Consistent use of Lsstream.h:
11791 * Lsstream.h: added using std::stringstream for consistencies sake.
11793 * buffer.C: removed using std::stringstream
11795 * lyxfont.C (stateText):
11796 * paragraph.C (asString):
11797 * text.C (selectNextWord, selectSelectedWord):
11798 * text2.C (setCounter):
11799 * vspace.C (asString, asLatexString):
11800 std::ostringstream -> ostringstream.
11802 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11804 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11805 * commandtags.h: add LFUN_HELP_ABOUTLYX
11806 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11808 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11810 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11812 * lyx_gui_misc.C: remove spellchecker
11813 * lyxfunc.C: showSpellchecker
11815 * sp_ispell.h: added
11816 * sp_pspell.h: added
11817 * sp_spell.C: added
11818 * sp_form.[Ch]: removed
11819 * spellchecker.[Ch]: removed
11821 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11823 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11825 (simpleTeXSpecialChars): Simply print the input character without
11826 any special translation if pass_thru is set.
11828 * layout.h: Added bool pass_thru to layout class for being able to
11829 implement pass through of a paragraph for Literate Programming.
11831 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11832 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11833 * layout.C (Read): add "passthru" to list of layout tags and add
11834 code to set the pass_thru boolean when it is read.
11836 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11838 * trans_decl.h: remove allowed from KmodInfo
11840 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11841 remove allowed code
11844 * paragraph_pimpl.C (erase): use boost::prior
11846 * Painter.C (text): use data() instead of c_str() when length is
11848 * WorkArea.C (putClipboard): ditto
11849 * font.h (width): ditto
11851 * BufferView2.C: use it-> instead of (*it). for iterators
11853 * paragraph_pimpl.C: ditto
11854 * paragraph.C: ditto
11855 * minibuffer.C: ditto
11856 * language.C: ditto
11858 * encoding.C: ditto
11859 * counters.C: ditto
11860 * converter.C: ditto
11862 * Variables.C: ditto
11863 * TextCache.C: ditto
11864 * MenuBackend.C: ditto
11865 * LyXAction.C: ditto
11867 * FloatList.C: ditto
11868 * DepTable.C: ditto
11869 * ColorHandler.C (LyXColorHandler): ditto
11871 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11873 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11875 * text2.C (openStuff): reintroduce this method (which had been
11876 nuked in NEW_INSETS frenzy).
11878 * lyxfunc.C (Dispatch): when an action has not been handled, use
11879 its name in the error message, not its number.
11881 * paragraph.C (inInset): change method name to begin with lowercase.
11884 * text2.C: updates because of this.
11886 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11888 * ToolbarDefaults.C (add): add spaces in error message
11890 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11892 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11893 (readLyXformat2): rename return_par to first_par, use lyxlex's
11894 pushToken and remove the manual push handling.
11895 (parseSingleLyXformat2Token): add another ert comp. variable:
11896 in_tabular, rename return_par to first_par. handle newlines better
11898 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11900 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11902 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11904 * text2.C (getParFromID): removed
11906 * buffer.C (getParFromID): new method moved form lyxtext.
11907 * BufferView2.C (insertErrors): adjust
11908 (setCursorFromRow): adjust
11909 * BufferView_pimpl.C (restorePosition): adjust
11910 * lyxfunc.C (Dispatch): adjust
11911 * undo_funcs.C (textUndo): adjust
11913 (textHandleUndo): adjust
11914 (textHandleUndo): adjust
11916 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11918 * buffer.C: up' the LYX_FORMAT
11920 * lyxfont.h: turn NO_LATEX on as default
11922 * buffer.C (insertErtContents): new methods of tex style compability.
11923 (parseSingleLyXformat2Token): use it several places.
11924 * tabular.C (OldFormatRead): and here
11926 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11928 * text2.C: remove some commented code.
11931 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11932 * trans.C: changes because of the above.
11934 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11936 * text2.C (setCounter): Fix counters bug with bibliography layout.
11938 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11940 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11941 own member functions
11942 (simpleTeXSpecialChars): ditto
11944 2001-07-06 Juergen Vigna <jug@sad.it>
11946 * a lot of files: changed the access to LyXText::status and the
11947 call of undo-functions.
11949 * undo.[Ch]: added a inset_id to the undo informations.
11951 * undo_funcs.[Ch]: added and moved here all undo functions.
11953 * lyxtext.h: give the status enum a weight, made status_ a private
11954 variable and made accessor functions for it, removed the whole bunch
11955 of undo-functions as they are now in their own file, make some
11956 functions publically available. Added function ownerParagraph with
11959 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11960 made InInset() a const function, added getParFromID() function.
11962 * buffer.[Ch]: added const version for inset_iterator functions,
11963 added getInsetFromID() function.
11965 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11966 changed undo functions for new version.
11968 2001-07-05 Juergen Vigna <jug@sad.it>
11970 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11971 unknow mechanism does not call the proper constructor but only this
11972 one also if I request the other!?
11974 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11976 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11978 * text2.C (LyXText): use initialization lists.
11980 * lyxtext.h (Selection): initialize set_ and mark_
11981 (init): remove method
11983 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11985 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11987 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11989 * screen.[Ch]: change method names to begin with lowercase
11991 * BufferView_pimpl.C (updateScrollbar): simplify further and
11992 hopefully make it a bit faster.
11994 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11996 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11997 calling directly xforms functions.
11999 * Painter.C (Painter):
12000 * lyx_cb.C (MenuWrite):
12001 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12004 * lyx_gui.C: remove bogus guiruntime extern declaration.
12006 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12008 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12010 (redoDrawingOfParagraph): ditto
12011 (redoParagraphs): ditto
12012 (cutSelection): don't create a object for CutAndPaste use the
12013 static method directly
12014 (pasteSelection): ditto
12016 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12019 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12021 * modifications to some other files because of this.
12023 * Makefile.am (lyx_SOURCES): add XFormsView
12025 * XFormsView.[Ch]: new files
12027 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12028 the main window. Move the gui dependent stuff to XFormsView
12030 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12032 * tabular.C (GetCellInset): update cur_cell also in the row/col
12033 version of this function.
12035 * lyxfunc.C: no need to include figure_form.h here.
12041 * lyxvc.C: no need to include forms.h here.
12043 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12045 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12047 * lyxfunc.C (Dispatch):
12049 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12050 constructor argument.
12052 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12054 * paragraph.C (Paragraph): dont't clear, and just set layout.
12055 (makeSameLayout): use params's copy contructor.
12057 * ParagraphParameters.[Ch] (makeSame): delete method
12059 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12061 * Variables.[Ch]: fix indentation, rename set to isSet
12063 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12065 * lyxfunc.C (Dispatch): fix typo
12067 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12069 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12072 * bufferlist.C: include assert.h for emergencyWrite().
12074 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12076 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12077 give up at last (bug #425202) !
12079 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12085 * spellchecker.C: strip spellchecker options and bring up
12086 preferences tab instead
12088 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12090 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12091 the istringstream constructor
12093 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12095 * paragraph.C (getLayout): fix return value
12097 * paragraph.h: do not declare getLayout as inline.
12099 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12101 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12103 * lyxcursor.h (operator<): new func
12104 (operator>): new func
12105 (operator>=): new func
12106 (operator<=): new func
12108 * text.C (changeCase): use selection.start and selection.end
12109 (changeRegionCase): require from to be <= to. Require par to be a
12112 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12114 2001-06-27 Juergen Vigna <jug@sad.it>
12116 * text.C (cursorLeftOneWord): changed to return the cursor and added
12117 overlay with BufferView * parameter which calls this one.
12119 (selectWord): use new getWord function.
12120 (changeCase): renamed from changeWordCase as and extended to work
12121 also on selections.
12123 * lyxtext.h: added enum word_location
12125 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12126 changeCase as this operates now also on selections.
12128 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12130 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12132 * many files: send debug output to Debug::INFO instead of
12135 * converter.C (View):
12137 (Move): send debug output to Debug::FILES instead of console.
12139 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12141 * lyxfunc.C (getStatus): use func_status
12143 * func_status.h: new header, describing the results of
12144 LyXFunc::getStatus;
12146 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12149 2001-06-25 The LyX Project <jug@sad.it>
12151 * buffer.C (sgmlOpenTag):
12153 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12155 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12157 * text2.C: remove some dead code
12159 * tabular.C (GetCellInset): store the last cell checked (gotten)
12161 * tabular.h: add the helper for the speedup
12163 * lyxtext.h: remove some dead code
12165 2001-06-26 The LyX Project <Asger>
12167 * paragraph.C: Change export to LaTeX of alignment to
12168 \begin{center} and family for better roundtrip work with reLyX.
12170 * Tune the math drawing a bit.
12172 2001-06-25 The LyX Project <Asger>
12174 * LColor.C (LColor): New color for math background. New color
12177 2001-06-25 The LyX Project <jug@sad.it>
12179 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12181 * lyxfunc.C (Open):
12182 * bufferlist.C (newFile): do not restrict to files ending with
12185 * BufferView_pimpl.C (MenuInsertLyXFile):
12187 2001-06-24 The LyX Project <jug@sad.it>
12189 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12192 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12194 * lyxtext.h: rename most methods to begin with a small char.
12195 Lots of changes because of this.
12197 * paragraph.C (Paragraph): do not call fitToSize
12198 (erase): call Pimpl::erase
12199 (insertChar): call Pimpl::insertChar
12200 (insertInset): call Pipl::insertInset
12201 (breakParagraph): do not call fitToSize
12202 (breakParagraphConservative): do not call fitToSize
12203 (fitToSize): remove method
12205 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12207 2001-06-24 The LyX Project <Asger>
12209 * Fix Qt compilation^2
12211 2001-06-24 The LyX Project <jug@sad.it>
12213 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12214 depthHook(getDepth()-1).
12217 * ParagraphParameters.h:
12218 * ParameterStruct.h: change type of depth to unsigned int ==
12219 depth_type. Many adaptations to other files before of that.
12221 2001-06-24 The LyX Project <Asger>
12223 * Fix Qt compilation.
12225 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12227 * paragraph.h: renamed several methods to begin with small letter.
12228 several changes to many parts of the code because of this.
12230 2001-06-23 The LyX Project <jug@sad.it>
12232 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12233 rewritten to discard all double spaces when KeepEmpty is off
12234 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12235 to only handle newlines but not fiddle with spaces and friends.
12237 * lyxfunc.C (MenuNew): when doing 'new from template', use
12238 template_path as default directory
12240 2001-06-23 The LyX Project <Asger>
12242 * Clean-up of header file includes all over
12243 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12245 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12247 * paragraph.h: renamed from lyxparagraph.h
12249 2001-06-23 Asger <lyx@violet.home.sad.it>
12251 * Buffer.h: Removed Buffer::resize
12252 * BufferList.h: Removed BufferList::resize
12253 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12254 the document lazily when we change the width, or the font settings.
12256 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12258 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12260 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12262 * buffer.h: remove out of date comment
12264 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12267 * screen.C: fix "theoretical" GC leak
12269 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12271 * LaTeX.C (scanAuxFile):
12272 (deplog): remove trailing \r when reading stream (useful under
12275 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12277 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12278 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12279 and BufferView::theLockingInset(Inset*), so should use them and not
12280 access bv_->text->the_locking_inset directly.
12282 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12284 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12287 * tex-defs.h: remove old unused file
12289 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12291 * BufferView_pimpl.C: fix typo, remove minibuffer message
12292 when buffer has loaded
12294 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12296 * lyxfunc.C (Dispatch): use stringstream
12297 (MenuNew): use stringstream
12298 (Open): use stringstream
12300 * importer.C (Import): use stringstream
12302 * bufferview_funcs.C (CurrentState): use stringstream
12304 * LaTeX.C (run): use stringstream
12306 * BufferView_pimpl.C (savePosition): use stringstream
12307 (restorePosition): use stringstream
12308 (MenuInsertLyXFile): use stringstream
12310 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12323 * vspace.C: removed // -*- C++ -*- as first line.
12326 * version.h: added // -*- C++ -*- as first line.
12328 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12330 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12332 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12335 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12337 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12340 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12342 * gettext.C: include LString.h even when --disable-nls is on.
12344 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12346 * converter.h (Get): changed argument type from int to
12347 FormatList::size_type to avoid unnecessary conversion.
12349 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12352 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12354 * gettext.h: include LString.h even when --disable-nls is on.
12356 2001-06-07 Juergen Vigna <jug@sad.it>
12358 * text.C (BreakAgain): subst spaces with tabs.
12360 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12361 (resizeInsetsLyXText): set force on resizeLyXText.
12363 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12365 * gettext.h (gettext_init):
12366 (locale_init): use a real definition instead of a macro
12368 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12370 * Bufferview_pimpl.C:
12372 * LColor.C: further lcolor tidies
12374 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12376 * BufferView_pimpl.C (updateScrollbar): simplify.
12378 * BufferView2.C: don't include insets/insetinfo.h, change
12379 prototype for insertInset and call the Pimpl version. let
12380 updateInset call Pimpl version.
12382 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12383 gotoInset to BufferView::Pimpl
12385 2001-06-01 Juergen Vigna <jug@sad.it>
12387 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12388 inside a LockingInset (is the update needed at all?).
12390 2001-05-31 Juergen Vigna <jug@sad.it>
12392 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12393 here not the old one otherwise how should we compare it afterwards
12396 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12401 * FontInfo.C: bring C functions into global namespace when
12404 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12406 * LString.h: make sure config.h has been loaded before LString.h.
12408 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12409 (one for each char read by EatLine!).
12411 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12414 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12416 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12417 to the same as the par we break from
12419 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12421 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12423 * MenuBackend.C (expand): also create menu entries for wide
12424 versions of the floats.
12426 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12428 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12430 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12431 frontends/Makefile.am
12437 * tabular.C (getTokenValue): add std::
12439 * tabular-old.C (getTokenValue): add std::
12440 (getTokenValue): ditto
12441 (getTokenValue): ditto
12443 * screen.C (ToggleSelection): adjust
12445 * lyxtext.h: put selection cursors inside a Selection struct.
12447 * lyxfunc.C (moveCursorUpdate): adjust
12449 * lyxfont.C (latexWriteStartChanges): add std::
12451 * lyxfind.C: adjust
12453 * font.h: delete with(char const *, LyXFont const &)
12455 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12457 * FontInfo.C (getFontname): add std::
12459 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12460 (workAreaButtonPress): adjust
12461 (tripleClick): adjust
12463 (moveCursorUpdate): adjust
12466 * BufferView2.C (gotoInset): adjust
12468 2001-05-30 Juergen Vigna <jug@sad.it>
12470 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12471 to check pspell I add this as default as I now have new pspell
12472 libraries and they seem to use this.
12474 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12476 * text2.C (CutSelection): make the cursor valid before the call to
12479 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12481 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12482 relied on 0 terminated strings and other horrors. Bug found due to
12483 the new assert in lyxstring!
12485 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12488 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12490 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12493 * lyxfunc.C (processKeySym): change method of getting to the
12496 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12497 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12498 * BufferView_pimpl.[Ch]: here as private methods.
12500 2001-05-28 Juergen Vigna <jug@sad.it>
12502 * text.C (SetHeightOfRow): added the update() call again as it is
12503 needed to initialize inset dimensions!
12505 2001-05-16 Juergen Vigna <jug@sad.it>
12507 * text2.C (SetCharFont): Add new function with BufferView * and
12508 bool toggleall parameters for setting insets internal fonts.
12509 (SetFont): Freeze the undo as we may change fonts in Insets and
12510 all this change should be inside only one Undo!
12512 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12513 setting font's in insets as for them we have the SetFont function!
12515 2001-05-15 Juergen Vigna <jug@sad.it>
12517 * text2.C (ClearSelection): to be sure we REALLY don't have any
12520 * tabular.C (TeXCellPreamble): fixed the left border problem for
12523 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12525 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12528 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12530 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12531 LFUN_BREAKPARAGRAPH.
12533 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12534 help test to "internal only", similar for LFUN_INSERT_URL
12536 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12537 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12538 auto_region_delete and deadkeys.
12540 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12543 * LColor.C: remove some dead entries, tidy a little
12545 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12547 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12549 (Dispatch): implement LFUN_ESCAPE
12551 * commandtags.h: add LFUN_ESCAPE
12553 * LyXAction.C (init): add entry for LFUN_ESCAPE
12555 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12556 Remove commented code.
12557 (insertNote): moved here
12558 (open_new_inset): moved here
12560 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12563 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12565 * kbmap.C (findbinding): clean it up and make it work correctly.
12567 * lyx_main.C (init): do not pass argc and argv as parameters
12569 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12571 * buffer.C: fix path for OS/2 & Win32
12575 * lyx_main.C: Added os:: class.
12577 * os2_defines.h: update
12579 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12581 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12582 better by trying again with reduced state.
12584 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12586 * lyxrc.C (read): print error about invalid key sequence only when
12587 debugging (because not all latinX keysyms are known to some X
12590 * kbsequence.C (getiso): add a few std:: qualifiers
12591 (getiso): comment out extra return statement.
12593 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12595 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12597 (Dispatch): enhance the accent inset a bit. (not perfect)
12599 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12601 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12603 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12605 * bufferlist.C (emergencyWrite): fix assert() call
12607 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12609 * text.C (InsertChar): Added trivial patch to only send the "you
12610 can not do multiple spaces this way" message once during a
12613 2001-05-08 Baruch Even <baruch@lyx.org>
12615 * Makefile.am: Changed order of libraries to get LyX to link properly
12616 with the gnome frontend.
12618 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12620 * LaTeXFeatures.h: add a std:: qualifier
12622 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12624 * paragraph.C (String): use stringstream
12626 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12628 * paragraph.C (writeFile): remove footflag arg
12630 * buffer.C (makeLaTeXFile): use stringstream
12631 (latexParagraphs): remove footnot gurba
12633 * LaTeXFeatures.C (getPackages): use stringstream
12634 (getMacros): likewise
12635 (getTClassPreamble): likewise
12636 (getFloatDefinitions): new method
12638 * paragraph.C (writeFile): reindent
12641 * WorkArea.h: revert the xpos + etc changes.
12643 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12645 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12647 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12648 (pasteSelection): likewise
12649 * text2.C (CreateUndo): likewise
12651 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12653 * minibuffer.C (peek_event): temporarily reduce the functionality
12654 of the minibuffer (to allow args on lfuns)
12656 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12657 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12659 * buffer.C (readInset): add compability reading of old float
12660 lists, add reading of new style float list.
12661 (readInset): avoid reevaluation of inscmd.getCmdName()
12662 (getLists): reindent
12664 * MenuBackend.C (MenuItem): implement parsing of
12665 md_floatlistinsert and md_floatinsert.
12666 (expand::LastFiles): move initalizaton of iterators out of loop,
12667 avoid reevaluation.
12668 (expand::Documents): introduce typdedef vector<string> Strings,
12670 (expand::ExportFormats): introduce typedef vector<Format const *>
12671 Formats, and use it.
12672 (expand): implement FloatListInsert and FloatInsert.
12674 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12675 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12676 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12678 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12680 (Dispatch::LFUN_FLOAT_LIST): implement
12682 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12684 * LaTeX.C (run): Fix problem with --export code.
12686 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12688 * BufferView.[Ch] (workarea): removed.
12689 (getClipboard) new method; wrapper for workarea()->getClipboard()
12691 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12694 * WorkArea.h (width, height, xpos, ypos): These methods all
12695 returned the dimensions of the work_area sub-area of WorkArea,
12696 resulting in a position error if the WorkArea were resized. Now
12697 return the dimensions of the entire WorkArea.
12699 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12701 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12703 * LaTeX.C (deplog): correct the syntax of regex reg1
12705 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12707 * undo.C: remove !NEW_INSETS cruft
12709 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12711 * text2.C: remove !NEW_INSETS cruft
12713 * text.C: remove !NEW_INSETS cruft
12715 * tabular.C: remove !NEW_INSETS cruft
12717 * spellchecker.C: remove !NEW_INSETS cruft
12719 * lyxtext.h: remove !NEW_INSETS cruft
12721 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12723 * lyxfunc.C: remove !NEW_INSETS cruft
12725 * lyxfind.C: remove !NEW_INSETS cruft
12727 * lyx_cb.C: remove !NEW_INSETS cruft
12729 * figureForm.C: remove !NEW_INSETS cruft
12731 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12733 * buffer.[Ch]: remove !NEW_INSETS cruft
12735 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12737 * CutAndPaste.C: remove !NEW_INSETS cruft
12739 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12741 * BufferView2.C: remove !NEW_INSETS cruft
12743 * BufferView.h: remove !NEW_INSETS cruft
12745 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12747 * Lsstream.h: include LString.h before the sstream headers to
12748 fix problem with gcc 2.95.3 and lyxstring
12750 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12752 * lyx_main.C: add using directives when needed for C functions
12753 declared in std:: namespace.
12755 2001-04-27 Juergen Vigna <jug@sad.it>
12757 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12758 (SetHeightOfRow): comment out the update call should not be needed!
12760 2001-04-13 Juergen Vigna <jug@sad.it>
12762 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12763 (LyXTabular): tried to minimize operator= operations (and realized
12764 hopfully Lars wish).
12766 2001-04-27 Juergen Vigna <jug@sad.it>
12768 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12770 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12772 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12774 * buffer.C (readInset): hack to make listof algorithm work
12776 * BufferView_pimpl.C: hack to make listof algorithm work
12778 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12780 * LyXAction.C: removed all !NEW_INSETS cruft
12781 (init): moved lfun_item in method
12783 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12785 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12787 * BufferView2.C (theLockingInset): white space.
12789 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12791 * minibuffer.C: include <iostream>
12793 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12795 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12797 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12799 * text.[Ch] (TransposeChars): new method
12801 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12803 * call message directly through LyXView instead of through LyXFunc
12804 * BufferView2.C: adjust
12805 * BufferView_pimpl.C: adjust
12806 * FontLoader.C: adjust
12808 * bufferview_funcs.C: adjust
12809 * converter.C: adjust
12810 * figureForm.C: adjust
12811 * importer.C: adjust
12813 * lyx_gui_misc.C: adjust
12814 * lyxfunc.C: adjust
12817 + more files in subdirs
12819 * lyxparagraph.h (size): move up int file
12822 * adjust all uses of Assert to lyx::Assert.
12824 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12825 lyxfunctional in namespace lyx
12826 * layout.C (hasLayout): ditto
12829 (delete_layout): ditto
12830 (NumberOfClass): ditto
12831 * converter.C (GetFormat): ditto
12836 * bufferlist.C (getFileNames): ditto
12837 (emergencyWriteAll): ditto
12840 * MenuBackend.C (hasSubmenu): ditto
12843 * BufferView_pimpl.C (getInsetByCode): ditto
12845 2001-04-18 Juergen Vigna <jug@sad.it>
12847 * vspace.C (asLatexString): fixed the 100% problem.
12849 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12851 * lyxfunc.C (Dispatch):
12853 * minibuffer.h: add a few std:: qualifiers
12855 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12857 * minibuffer.[Ch]: reimplement so that commands is initiated and
12858 run from lyxfunc, simplified som handling, and made the completion
12859 and history code for complete. wip.
12861 * lyxfunc.C (processKeySym): call message
12862 (miniDispatch): new temporary method
12863 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12864 (LFUN_MESSAGE): implement
12865 (LFUN_MESSAGE_PUSH): implement
12866 (LFUN_MESSAGE_POP): implement
12867 (initMiniBuffer): the initial/defualt minibuffer message.
12869 * lyxfont.[Ch]: inline some more getters
12871 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12873 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12875 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12876 (AutoSave): use LFUN_MESSAGE
12877 (Reconfigure): ditto
12879 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12881 * figureForm.C: use LFUN_MESSAGE
12883 * converter.C (runLaTeX): use LFUN_MESSAGE
12885 * bufferview_funcs.C: use LFUN_MESSAGE
12887 (changeDepth): ditto
12889 * bufferparams.h: use boost::
12891 * bufferlist.h: inherit privately from noncopyable
12893 * bufferlist.C (loadLyXFile): remove some commented code.
12895 * buffer.C (runChktex): use LFUN_MESSAGE
12897 * ShareContainer.h: inherit privately from noncopyable
12899 * ParagraphParameters.[hC] (depth): inline it.
12901 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12903 (message): new method
12904 (messagePush): ditto
12905 (messagePop): ditto
12906 (show): init minibuffer
12907 (showState): direct call
12909 * LaTeX.[Ch]: inherit privately from noncopyable
12910 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12911 instead of WriteStatus.
12913 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12915 * BufferView_pimpl.C (buffer): don't init minibuffer
12916 (workAreaButtonPress): use LFUN_MESSAGE
12917 (workAreaButtonRelease): ditto
12918 (savePosition): ditto
12919 (restorePosition): ditto
12920 (MenuInsertLyXFile): ditto
12921 (workAreaExpose): don't init minibuffer
12922 (update): remove commented code, simplify
12924 * BufferView2.C (openStuff): use LFUN_MESSAGE
12925 (toggleFloat): ditto
12928 (copyEnvironment): ditto
12929 (pasteEnvironment): ditto
12934 (updateInset): remove some commented code
12936 * lastfiles.h: inherit privately from noncopyable
12939 * lyx_main.h: ditto
12941 * lyxlex_pimpl.h: ditto
12943 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12944 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12945 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12947 * LyXAction.h: inherit privately from noncopyable, add methods
12948 func_begin, func_end, returning iterators to the func map.
12950 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12951 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12952 (func_begin): new method
12953 (func_end): new method
12955 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12957 (copySelection): ditto
12958 (pasteSelection): ditto
12960 * BufferView.C: whitespace change
12961 * BufferView.h: inherit privately from noncopyable
12963 2001-04-16 Allan Rae <rae@lyx.org>
12965 * tabular-old.C (l_getline):
12966 * spellchecker.C (sc_check_word):
12967 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12968 an unrecognised preprocessor directive. So ensure they're wrapped.
12970 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12972 * src/exporter.C (Export): Give an error message when path to file
12975 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12977 * LaTeX.C (deplog): Always check that foundfile exists.
12979 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12982 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12984 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12986 * tabular.[Ch] (getLabelList): implement new method
12988 * minibuffer.h: comment ouf setTiimer
12990 * minibuffer.C (ExecutingCB): constify res
12991 (peek_event): constify s
12992 (Set): constify ntext
12993 (Init): constify nicename
12995 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12997 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12998 (savePosition): use two params to Minibuffer::Set
12999 (restorePosition): ditto
13001 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13003 * lyx_main.C: include language.h
13005 * Makefile.am (lyx_main.o): add language.h
13007 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13013 * CutAndPaste.C: include gettext.h
13015 * lyxfont.h: remove old hack with ON and OFF.
13018 * lyxfont.h: do not include language.h...
13023 * bufferview_funcs.C:
13029 * paragraph.C: ... but do it here instead
13031 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13033 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13035 * tabular.C: small reformat
13037 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13040 (BreakParagraph): ditto
13041 (SetOnlyLayout): ditto
13044 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13047 * lastfiles.C: removed most using decl, add std:: where needed
13049 * buffer.C: ws changes
13051 * MenuBackend.C (class compare_format): put into anon namespace
13052 (expand): constify label, names, action, action2
13055 * text.C (SingleWidth): constify font
13056 (IsBoundary): constify rtl2
13057 (GetVisibleRow): constify ww
13059 * LaTeX.C (deplog): constify logfile
13061 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13063 (workAreaExpose): constify widthChange, heightChange
13065 * lyxrow.C (par): moved
13068 * lyxrow.h: as inlines here
13070 * lyxfont.h (shape): moved from lyxfont.C
13071 (emph): moved from lyxfont.C
13073 * lyxfont.C (LyXFont): use initialization list for all
13075 (shape): move to lyxfont.h as inline
13076 (emph): move to lyxfont.h as inline
13079 2001-04-04 Juergen Vigna <jug@sad.it>
13081 * vspace.C: had to include stdio.h for use of sscanf
13083 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13086 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13087 independent of xforms.
13089 2001-04-02 Juergen Vigna <jug@sad.it>
13091 * spellchecker.C: fixed namespace placing!
13093 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13095 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13096 the LyXParagraph * is 0.
13098 2001-03-29 Juergen Vigna <jug@sad.it>
13100 * vspace.C: added support for %, c%, p%, l%.
13101 (stringFromUnit): added helper function.
13102 (asLatexString): changed to give right results for the %-values.
13104 * buffer.C: convert the widthp in a width%.
13106 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13108 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13111 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13112 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13114 * lyx_cb.[Ch]: see above.
13116 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13120 * lyx.[Ch]: replaced by figure_form.[Ch].
13124 * lyxfunc.C: changed headers associated with above changes.
13126 2001-03-27 Juergen Vigna <jug@sad.it>
13128 * BufferView_pimpl.C: set the temporary cursor right!
13130 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13132 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13134 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13136 * LString.h: removed "using std::getline"!
13138 * BufferView_pimpl.C (Dispatch): changes due to changes in
13139 InsetInclude::Params.
13141 * buffer.C (tag_name): removed redundant break statements as they were
13142 producing lots of warnings with my compiler.
13144 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13146 * LString.h: add "using std::getline" when using the real <string>.
13148 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13150 * buffer.C: removed bitset usage.
13151 PAR_TAG moved to an anonymous name space.
13152 (tag_name): new funtion, also in the anonymous namespace.
13153 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13154 (makeDocBookFile): clean code. Completed transition from string arrays
13156 (SimpleDocBookOnePar): code clean.
13158 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13160 * tabular.C: add some comments.
13162 2001-03-22 Juergen Vigna <jug@sad.it>
13164 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13165 compatibility read a bit and fixed bug with minipage in different
13168 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13170 * buffer.C (pop_tag): removed.
13171 (push_tag): removed.
13172 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13173 array replaced with vector. Added support for CDATA sections.
13174 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13176 (makeDocBookFile): XML conformant declaration of CDATA section,
13177 fixed bug related to <emphasis> in the first paragraph char.
13178 (sgmlOpenTag): exclude empty tags.
13179 (sgmlCloseTag): ditto.
13181 * buffer.h (pop_tag): removed.
13182 (push_tag): removed.
13184 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13186 * language.h (Languages): added size_type and size().
13188 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13190 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13191 response on compability reading of minipages. One probliem is that
13192 the old usage of minipages was «flertydig»
13194 * several files here and in subdirs: don't use static at file
13195 scope use anon namespaces instead.
13197 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13199 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13200 LaTeX output. This is necessary for Literate document
13203 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13205 * buffer.C: insert hfill when needed.
13207 * tabular.C (l_getline): use string::erase, small whitespace change.
13209 * BufferView_pimpl.C: try the anon namespace.
13210 * WorkArea.C: ditto
13212 2001-03-16 Juergen Vigna <jug@sad.it>
13214 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13215 otherwise it won't open options-dialogs.
13217 * buffer.C: honor pextraWidth(p) on converting minipages.
13219 * tabular.C (l_getline): changed the functions to strip trailing \r.
13221 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13223 * BufferView_pimpl.C:
13224 * minibuffer..C: added "using SigC::slot" declaration.
13226 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13228 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13234 * paragraph.C: ditto
13236 * lyxtext.h: NO_PEXTRA
13238 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13240 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13241 * ParameterStruct.h: ditto
13242 * ParagraphParameters.h: ditto
13243 * lyxparagraph.h: ditto
13245 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13247 * buffer.C: add compability for minipage alignment.
13248 (latexParagraphs): remove unwanted pextra check.
13250 * several files: remove CXX_WORKING_NAMESPACES
13252 * buffer.C (pop_tag): tie is in namespace boost
13254 * BufferView.h: noncopyable is in namespace boost
13256 * lyx_main.h: ditto
13259 * lastfiles.h: ditto
13260 * bufferlist.h: ditto
13261 * ShareContainer.h: ditto
13263 * LyXAction.h: ditto
13266 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13268 * Merging changes from BRANCH_MVC back into HEAD.
13270 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13272 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13274 * BufferView_pimpl.C: change from intl.C
13278 * Makefile.am: move combox.*
13284 * intl.C: remove dialog (covered by prefs)
13286 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13288 * lyxfunc.C (Dispatch): removed redundant break statement.
13290 2001-03-14 Juergen Vigna <jug@sad.it>
13292 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13294 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13296 * buffer.C: add hack to fix compability reading of minipages.
13298 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13300 * buffer.C (getLists): Cleanup.
13302 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13304 * lyxfont.C (update): don't honor toggleall on font size.
13306 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13310 * Makefile.am: moved to frontends/xforms/
13314 * BufferView_pimpl.C: changes for moved mathpanel
13316 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13318 * gettext.h: fix gettext_init() in --disable-nls
13320 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13322 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13324 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13327 * lyx.h: strip external form
13329 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13331 * BufferView_pimpl.C: add comment, destroySplash()
13333 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13335 * BufferView_pimpl.C:
13339 * lyxfunc.C: use re-worked insetinclude
13341 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13343 * buffer.C: add using std::stringstream.
13345 * lyx_cb.C: readd using std::ios.
13347 * buffer.C: add using std::map.
13349 * BufferView_pimpl.C: add using std::vector.
13351 * ShareContainer.h: add std:: to swap.
13353 * buffer.h: add some typedefs
13354 * buffer.C (getLists): use them
13355 (getLists): renamed from getTocList.
13356 add a counter for the different float types and use it in the
13358 (getLists): use the same counter for the NEW_INSETS and the "non"
13361 * lyx_cb.h: remove unused items, includes, using etc.
13363 * ShareContainer.h: remove some commented code, add more comments
13364 and "documentation".
13366 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13368 * buffer.C (getTocList): make the list also when NEW_INSETS is
13371 * buffer.h: remove TocType
13373 * buffer.C (getTocList): change to return a map<string,
13374 vector<TocItem> >, implement for dynamic number of list.
13376 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13377 * text2.C (PasteSelection): adjust
13378 * CutAndPaste.C (pasteSelection): adjust
13380 * FloatList.C (FloatList): update from the new_insets branch.
13381 * Floating.[Ch]: ditto
13382 * LaTeXFeatures.C: ditto
13384 * lyxlex_pimpl.C: ditto
13386 * paragraph.C (Last): remove when NEW_INSETS is defined.
13388 * other file: changes because of the above.
13390 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13392 * lyxparagraph.h: rename next to next_, previous to previous_,
13393 make them private for NEW_INSETS. Rename Next() to next(),
13394 Previous() to previous().
13396 * other files: changes because of the above.
13398 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13401 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13404 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13406 * main.C (main): pass lyx_localedir to gettext_init().
13408 * gettext.h: remove locale_init and gettext_init macros
13410 * gettext.C (locale_init): new function
13411 (gettext_init): new function
13413 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13416 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13418 * Moved credits to frontends:
13419 * credits.[Ch]: removed
13420 * credits_form.[Ch]: removed
13421 * lyx_gui_misc.C: remove credits stuff
13424 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13426 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13428 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13429 unneeded destructor.
13431 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13432 a standalone pointer again.
13434 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13436 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13442 * ToolbarDefaults.C:
13451 * BufferView_pimpl.C: use new file dialog in GUII
13454 * lyx_cb.C: remove LayoutsCB to Toolbar
13456 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13458 * ShareContainer.h (get): add std:: qualifier
13460 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13462 * ShareContainer.h: define a proper ShareContainer::value_type
13463 type (and use typename to please compaq cxx)
13465 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13467 * lyxparagraph.h: move serveral local vars to
13468 ParameterStruct/ParagraphParameters., use ShareContainer in
13469 FontTable., make vars in FontTable private and add getter and
13472 * paragraph.C: changes because of the above.
13474 * lyxfont.h: remove copy constructor and copy assignment. (the
13475 default ones is ok), move number inside FontBits. move inlines to
13478 * lyxfont.C: add number to initializaton of statics, move several
13479 inlines here. constify several local vars. some whitespace
13480 cleanup. Dont hide outerscope variables.
13482 * Spacing.h: add two new constructors to match the set methods.
13484 * ShareContainer.h: new file, will perhaps be moved to support
13486 * ParameterStruct.h: new file
13488 * ParagraphParameters.h: new file
13490 * ParagraphParameters.C: new file
13492 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13493 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13495 * BufferView_pimpl.C: ParagraphParameter changes.
13496 * buffer.C: Likewise.
13497 * bufferview_funcs.C: Likewise.
13498 * text.C: Likewise.
13499 * text2.C: Likewise.
13501 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13503 * lyxfind.C (LyXReplace): do not redefine default argument in
13505 (IsStringInText): ditto
13506 (SearchForward): ditto
13507 (SearchBackward): ditto
13509 2001-03-06 Juergen Vigna <jug@sad.it>
13511 * lyxfind.C (IsStringInText): put parentes around expressions.
13513 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13515 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13517 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13519 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13521 * stl_string_fwd.h: add comment
13523 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13526 * tabular.C: remove unused DocBook methods
13532 killed DO_USE_DEFAULT_LANGUAGE
13534 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13536 * lyx_gui.C: do not include language.h.
13538 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13539 arguments in function implementation.
13541 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13543 * BufferView_pimpl.C: add <ctime>
13545 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13547 * BufferView_pimpl.C: add using std::find_if
13549 2001-02-27 José Matos <jamatos@fep.up.pt>
13551 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13554 2001-02-11 José Matos <jamatos@fep.up.pt>
13556 * buffer.C (makeDocBookFile): command styles now have a parameter as
13557 "title" by default.
13559 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13561 * layout_forms.[Ch]: removed
13562 * lyx_cb.[Ch]: out character
13563 * lyx_gui.C: out character
13564 * lyx_gui_misc.C: out character
13565 * bufferview_funcs.C: : out character,
13566 added toggleall as parameter in ToggleAndShow
13568 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13570 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13572 * text2.C (SetCurrentFont): Disable number property at boundary.
13574 2001-02-26 Juergen Vigna <jug@sad.it>
13576 * lyxfunc.C (getStatus): added a string argument override function so
13577 that this is correctly called from LyXFunc::Dispatch if it contains a
13578 do_not_use_argument which is used!
13579 (Dispatch): added check for "custom" export and call appropriate func.
13581 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13583 * lyxrc.C: Add language_command_local, language_use_babel and
13584 language_global_options.
13586 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13588 * buffer.C (makeLaTeXFile): Use language_use_babel and
13589 language_global_options.
13591 2001-02-23 Juergen Vigna <jug@sad.it>
13593 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13594 which works with LyXText and putted it inside BufferView. Here now we
13595 only call for that part the BufferView::Dispatch() function.
13597 * BufferView.C (Dispatch): added.
13599 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13600 functions which needs to use a LyXText over from LyXFunc.
13601 (MenuInsertLyXFile): added
13602 (getInsetByCode): added
13603 (moveCursorUpdate): added
13604 (static TEXT): added
13606 2001-02-22 Juergen Vigna <jug@sad.it>
13608 * BufferView_pimpl.C (update): call a status update to see if LyXText
13611 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13613 * vc-backend.C (revert): implement for CVS
13614 (getLog): implement for CVS
13616 2001-02-20 Juergen Vigna <jug@sad.it>
13618 * text2.C (ClearSelection): added BufferView param for inset_owner call
13620 * lyxfunc.C (TEXT): added this function and use it instead of
13621 directly owner->view()-text of getLyXText().
13623 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13625 * src/layout_forms.C: out preamble
13626 * src/layout_forms.h: out preamble
13627 * src/lyx_cb.C: out preamble
13628 * src/lyx_cb.h: out preamble
13629 * src/lyx_gui.C: out preamble
13630 * src/lyx_gui_misc.C: out preamble
13631 * src/lyxfunc.C: connect with guii preamble
13633 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13635 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13637 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13639 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13640 whether to run bibtex.
13642 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13644 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13646 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13648 * Makefile.am (lyx_SOURCES): removed bibforms.h
13650 * vspace.h: doxygen
13652 * text.C (GetVisibleRow): make several local vars const
13654 * tabular.C: small cleanup.
13656 * lyxserver.C (callback): use compare instead of strncmp
13658 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13659 inlines to after class or to paragraph.C
13661 * lyxfont.h: remove friend operator!=
13663 * converter.h: move friend bool operator< to non friend and after
13666 * combox.h: small cleanup
13668 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13669 to inlines after class def.
13671 * buffer.C (pop_tag): use string operations instead of strcmp
13673 * bmtable.c: doxygen, small cleanup
13675 * LaTeX.h: remove friend operator==
13677 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13689 * BufferView_pimpl.C:
13690 * BufferView.[Ch]: remove cruft
13692 2001-02-14 Juergen Vigna <jug@sad.it>
13694 * lyxfunc.C: removed #if 0 unused code
13696 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13698 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13700 * text2.C (SetSelection): added a BufferView * parameter
13702 2001-02-13 Juergen Vigna <jug@sad.it>
13704 * lyxfunc.C (Dispatch): fixed protected blank problem.
13705 * BufferView2.C (protectedBlank): added LyxText * parameter.
13707 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13708 (AppendColumn): same as above for column_info.
13710 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13711 (moveCursorUpdate): use a LyXText param for support of InsetText.
13713 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13714 (tripleClick): ditto
13716 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13718 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13720 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13722 * text2.C (SetSelection): set correct update status if inset_owner
13723 (ToggleFree): ditto
13725 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13727 * tabular.C: remove some commented code.
13729 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13731 * BufferView_pimpl.C: call hideSplash()
13733 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13736 * bibforms.h: remove
13739 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13740 add LFUN_CHILD_CREATE
13742 * counters.h: fix tiny typo
13747 * lyx.C: move splash to frontends/xforms/
13749 * lyx_gui_misc.C: move Include and Bibform to frontends
13751 * lyxvc.h: clarify comment
13753 * vspace.C: tiny housekeeping
13755 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13757 * text.C (PrepareToPrint): RTL Fix.
13759 * paragraph.C (GetUChar): New method.
13760 (String): Use GetUChar.
13762 * buffer.C (asciiParagraph): Use GetUChar.
13764 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13766 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13768 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13771 * buffer.C: rename to getLogName(), handle
13772 build log / latex log nicely
13774 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13777 * MenuBackend.h: remove support for reference menuitem type.
13779 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13781 * BufferView_pimpl.C: housekeeping
13782 * BufferView_pimpl.h:
13787 * minibuffer.h: move Timeout GUI-I
13789 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13791 * lyxrc.C (read): Update converters data-structures.
13793 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13795 * LaTeX.h (operator!=): add operator != for Aux_Info
13797 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13799 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13801 * LaTeXLog.C: deleted, useful code moved to Buffer
13804 * buffer.C: new function getLatexLogName()
13810 * lyxfunc.C: use frontends for LaTeX and VC logs
13812 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13814 * LaTeX.h: yet another std:: that Allan forgot.
13816 * Variables.C (set): renamed from isset(), because this clashes
13817 with some HP-UX macros (grr).
13819 2001-02-06 Allan Rae <rae@lyx.org>
13821 * LaTeX.h: Another bug fix. Missing std:: this time.
13823 2001-02-04 Allan Rae <rae@lyx.org>
13825 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13826 floats problem. I've left it commented out because it's not quite
13827 correct. It should also test that the current object is a table or
13828 figure inset. But I haven't gotten around to figuring out how to do
13829 that. I *think* it'll be something like: "table" == inset.type()
13831 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13834 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13836 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13837 all the citation/databases/styles in the auxilary file.
13838 (run): Rerun latex if there was a babel language error.
13840 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13842 * text.C (Backspace): Preserve the font when changing newline char
13844 (BreakParagraph): If the cursor is before a space, delete the space.
13846 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13848 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13850 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13851 new argument (code).
13852 (ChangeCitationsIfUnique): New method.
13854 * paragraph.C (GetPositionOfInset): Handle bibkey.
13856 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13858 * BufferView_pimpl.h: change type of Position::par_pos to
13859 LyXParagraph::size_type.
13861 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13863 * BufferView_pimpl.C (savePosition, restorePosition): Write
13864 messages to minibuffer.
13866 2001-01-28 José Matos <jamatos@fep.up.pt>
13868 * buffer.C (makeDocBookFile): adds support for document language.
13869 A silly restriction on the name of LatexCommand types where removed.
13870 Added support for CDATA sections, allows to chars unescaped, used
13871 among others in code, to avoid escape < and >.
13873 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13875 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13876 saved positions instrad of a stack. Furthermore, a position is
13877 stored using paragraph id/paragraph position.
13879 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13880 Remove LFUN_REF_BACK.
13882 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13884 * converter.C (dvipdfm_options): New method.
13886 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13888 * vspace.C (isValidLength): Fix for empty input string.
13890 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13892 * LyXAction.C (init): change description of LFUN_FIGURE to
13895 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13897 * LaTeX.C: add using directive
13899 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13901 * MenuBackend.C (expand): Fix the sorting of the formats.
13903 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13905 * lyx_main.C: tiny error message fix
13907 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13909 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13910 calling fl_initialize(). This fixes the problem with ',' as
13911 decimal separator in text files.
13913 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13915 * trans.C (process): Fix the keymap bug.
13917 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13919 * LaTeX.C (scanAuxFiles): New method. Provides support for
13920 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13921 (scanLogFile) Scan for "run BibTeX" messages.
13923 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13924 OT1 font encoding. Also, load the aecompl package if the ae
13927 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13929 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13931 * texrow.C (increasePos): turn two error messages into debug
13934 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13936 * LaTeX.C (scanAux): Handle the \@input macro.
13937 (runBibTeX): Use scanAux().
13939 * language.C (latex_options_): New field.
13941 * LaTeXFeatures.C (getMacros): Add language macros.
13943 * buffer.C (makeLaTeXFile): Small fix.
13945 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13947 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13949 * text2.C: add a using directive.
13951 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13956 * lyxfunc.C: kill LyXBell.
13958 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13960 * text.C (IsBoundary): Remove the error message
13962 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13964 * lyxrc.C (setDefaults): Correct initialization value for
13967 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13969 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13972 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13973 and GotoNextNote().
13975 * src/LyXAction.C: Added reference-next.
13977 * text.C (InsertChar): Use contains instead of strchr.
13979 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13981 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13983 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13984 alignment commands (when needed).
13986 * text.C (InsertChar): Add ':' to number separator chars.